Files
CHIEFSOFT\ameye eeb11f842e first commit
2025-01-11 10:07:36 -05:00

1 line
4.1 MiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
!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 i=[],n=t.document,r=Object.getPrototypeOf,o=i.slice,a=i.concat,s=i.push,l=i.indexOf,c={},u=c.toString,h=c.hasOwnProperty,d=h.toString,f=d.call(Object),p={},g=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},m=function(t){return null!=t&&t===t.window},v={type:!0,src:!0,nonce:!0,noModule:!0};function y(t,e,i){var r,o,a=(i=i||n).createElement("script");if(a.text=t,e)for(r in v)(o=e[r]||e.getAttribute&&e.getAttribute(r))&&a.setAttribute(r,o);i.head.appendChild(a).parentNode.removeChild(a)}function b(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?c[u.call(t)]||"object":typeof t}var L="3.4.1",x=function(t,e){return new x.fn.init(t,e)},w=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function _(t){var e=!!t&&"length"in t&&t.length,i=b(t);return!g(t)&&!m(t)&&("array"===i||0===e||"number"==typeof e&&0<e&&e-1 in t)}x.fn=x.prototype={jquery:L,constructor:x,length:0,toArray:function(){return o.call(this)},get:function(t){return null==t?o.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=x.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return x.each(this,t)},map:function(t){return this.pushStack(x.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:i.sort,splice:i.splice},x.extend=x.fn.extend=function(){var t,e,i,n,r,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)n=t[e],"__proto__"!==e&&a!==n&&(c&&n&&(x.isPlainObject(n)||(r=Array.isArray(n)))?(i=a[e],o=r&&!Array.isArray(i)?[]:r||x.isPlainObject(i)?i:{},r=!1,a[e]=x.extend(c,o,n)):void 0!==n&&(a[e]=n));return a},x.extend({expando:"jQuery"+(L+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,i;return!(!t||"[object Object]"!==u.call(t)||(e=r(t))&&("function"!=typeof(i=h.call(e,"constructor")&&e.constructor)||d.call(i)!==f))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e){y(t,{nonce:e&&e.nonce})},each:function(t,e){var i,n=0;if(_(t))for(i=t.length;n<i&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:function(t){return null==t?"":(t+"").replace(w,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(_(Object(t))?x.merge(i,"string"==typeof t?[t]:t):s.call(i,t)),i},inArray:function(t,e,i){return null==e?-1:l.call(e,t,i)},merge:function(t,e){for(var i=+e.length,n=0,r=t.length;n<i;n++)t[r++]=e[n];return t.length=r,t},grep:function(t,e,i){for(var n=[],r=0,o=t.length,a=!i;r<o;r++)!e(t[r],r)!==a&&n.push(t[r]);return n},map:function(t,e,i){var n,r,o=0,s=[];if(_(t))for(n=t.length;o<n;o++)null!=(r=e(t[o],o,i))&&s.push(r);else for(o in t)null!=(r=e(t[o],o,i))&&s.push(r);return a.apply([],s)},guid:1,support:p}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=i[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){c["[object "+e+"]"]=e.toLowerCase()});var S=function(t){var e,i,n,r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L="sizzle"+1*new Date,x=t.document,w=0,_=0,S=lt(),C=lt(),k=lt(),T=lt(),E=function(t,e){return t===e&&(h=!0),0},A={}.hasOwnProperty,M=[],D=M.pop,P=M.push,O=M.push,I=M.slice,N=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",B="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",z="\\["+F+"*("+B+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+F+"*\\]",H=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",V=new RegExp(F+"+","g"),j=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),W=new RegExp("^"+F+"*,"+F+"*"),U=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),Y=new RegExp(F+"|>"),G=new RegExp(H),X=new RegExp("^"+B+"$"),q={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+H),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("^(?:"+R+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},$=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\([\\da-f]{1,6}"+F+"?|("+F+")|.)","ig"),it=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},nt=/([\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(){d()},at=Lt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{O.apply(M=I.call(x.childNodes),x.childNodes),M[x.childNodes.length].nodeType}catch(e){O={apply:M.length?function(t,e){P.apply(t,I.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function st(t,e,n,r){var o,s,c,u,h,p,v,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return n;if(!r&&((e?e.ownerDocument||e:x)!==f&&d(e),e=e||f,g)){if(11!==w&&(h=J.exec(t)))if(o=h[1]){if(9===w){if(!(c=e.getElementById(o)))return n;if(c.id===o)return n.push(c),n}else if(y&&(c=y.getElementById(o))&&b(e,c)&&c.id===o)return n.push(c),n}else{if(h[2])return O.apply(n,e.getElementsByTagName(t)),n;if((o=h[3])&&i.getElementsByClassName&&e.getElementsByClassName)return O.apply(n,e.getElementsByClassName(o)),n}if(i.qsa&&!T[t+" "]&&(!m||!m.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===w&&Y.test(t)){for((u=e.getAttribute("id"))?u=u.replace(nt,rt):e.setAttribute("id",u=L),s=(p=a(t)).length;s--;)p[s]="#"+u+" "+bt(p[s]);v=p.join(","),y=tt.test(t)&&vt(e.parentNode)||e}try{return O.apply(n,y.querySelectorAll(v)),n}catch(e){T(t,!0)}finally{u===L&&e.removeAttribute("id")}}}return l(t.replace(j,"$1"),e,n,r)}function lt(){var t=[];return function e(i,r){return t.push(i+" ")>n.cacheLength&&delete e[t.shift()],e[i+" "]=r}}function ct(t){return t[L]=!0,t}function ut(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){for(var i=t.split("|"),r=i.length;r--;)n.attrHandle[i[r]]=e}function dt(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&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 ct(function(e){return e=+e,ct(function(i,n){for(var r,o=t([],i.length,e),a=o.length;a--;)i[r=o[a]]&&(i[r]=!(n[r]=i[r]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in i=st.support={},o=st.isXML=function(t){var e=t.namespaceURI,i=(t.ownerDocument||t).documentElement;return!$.test(e||i&&i.nodeName||"HTML")},d=st.setDocument=function(t){var e,r,a=t?t.ownerDocument||t:x;return a!==f&&9===a.nodeType&&a.documentElement&&(p=(f=a).documentElement,g=!o(f),x!==f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ot,!1):r.attachEvent&&r.attachEvent("onunload",ot)),i.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),i.getElementsByTagName=ut(function(t){return t.appendChild(f.createComment("")),!t.getElementsByTagName("*").length}),i.getElementsByClassName=Q.test(f.getElementsByClassName),i.getById=ut(function(t){return p.appendChild(t).id=L,!f.getElementsByName||!f.getElementsByName(L).length}),i.getById?(n.filter.ID=function(t){var e=t.replace(et,it);return function(t){return t.getAttribute("id")===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i=e.getElementById(t);return i?[i]:[]}}):(n.filter.ID=function(t){var e=t.replace(et,it);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},n.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i,n,r,o=e.getElementById(t);if(o){if((i=o.getAttributeNode("id"))&&i.value===t)return[o];for(r=e.getElementsByName(t),n=0;o=r[n++];)if((i=o.getAttributeNode("id"))&&i.value===t)return[o]}return[]}}),n.find.TAG=i.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):i.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},n.find.CLASS=i.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(i.qsa=Q.test(f.querySelectorAll))&&(ut(function(t){p.appendChild(t).innerHTML="<a id='"+L+"'></a><select id='"+L+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+F+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+L+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+L+"+*").length||m.push(".#.+[+~]")}),ut(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=f.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(",.*:")})),(i.matchesSelector=Q.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ut(function(t){i.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",H)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),e=Q.test(p.compareDocumentPosition),b=e||Q.test(p.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},E=e?function(t,e){if(t===e)return h=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!i.sortDetached&&e.compareDocumentPosition(t)===n?t===f||t.ownerDocument===x&&b(x,t)?-1:e===f||e.ownerDocument===x&&b(x,e)?1:u?N(u,t)-N(u,e):0:4&n?-1:1)}:function(t,e){if(t===e)return h=!0,0;var i,n=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t===f?-1:e===f?1:r?-1:o?1:u?N(u,t)-N(u,e):0;if(r===o)return dt(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)s.unshift(i);for(;a[n]===s[n];)n++;return n?dt(a[n],s[n]):a[n]===x?-1:s[n]===x?1:0}),f},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if((t.ownerDocument||t)!==f&&d(t),i.matchesSelector&&g&&!T[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var n=y.call(t,e);if(n||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){T(e,!0)}return 0<st(e,f,null,[t]).length},st.contains=function(t,e){return(t.ownerDocument||t)!==f&&d(t),b(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!==f&&d(t);var r=n.attrHandle[e.toLowerCase()],o=r&&A.call(n.attrHandle,e.toLowerCase())?r(t,e,!g):void 0;return void 0!==o?o:i.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},st.escape=function(t){return(t+"").replace(nt,rt)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,n=[],r=0,o=0;if(h=!i.detectDuplicates,u=!i.sortStable&&t.slice(0),t.sort(E),h){for(;e=t[o++];)e===t[o]&&(r=n.push(o));for(;r--;)t.splice(n[r],1)}return u=null,t},r=st.getText=function(t){var e,i="",n=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)i+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=r(e);return i},(n=st.selectors={cacheLength:50,createPseudo:ct,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,it),t[3]=(t[3]||t[4]||t[5]||"").replace(et,it),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||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,i=!t[6]&&t[2];return q.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&G.test(i)&&(e=a(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&S(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(n){var r=st.attr(n,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&-1<r.indexOf(i):"$="===e?i&&r.slice(-i.length)===i:"~="===e?-1<(" "+r.replace(V," ")+" ").indexOf(i):"|="===e&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var c,u,h,d,f,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(d=e;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(b=(f=(c=(u=(h=(d=m)[L]||(d[L]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===w&&c[1])&&c[2],d=f&&m.childNodes[f];d=++f&&d&&d[g]||(b=f=0)||p.pop();)if(1===d.nodeType&&++b&&d===e){u[t]=[w,f,b];break}}else if(y&&(b=f=(c=(u=(h=(d=e)[L]||(d[L]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===w&&c[1]),!1===b)for(;(d=++f&&d&&d[g]||(b=f=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(y&&((u=(h=d[L]||(d[L]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]=[w,b]),d!==e)););return(b-=r)===n||b%n==0&&0<=b/n}}},PSEUDO:function(t,e){var i,r=n.pseudos[t]||n.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return r[L]?r(e):1<r.length?(i=[t,t,"",e],n.setFilters.hasOwnProperty(t.toLowerCase())?ct(function(t,i){for(var n,o=r(t,e),a=o.length;a--;)t[n=N(t,o[a])]=!(i[n]=o[a])}):function(t){return r(t,0,i)}):r}},pseudos:{not:ct(function(t){var e=[],i=[],n=s(t.replace(j,"$1"));return n[L]?ct(function(t,e,i,r){for(var o,a=n(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,n(e,null,o,i),e[0]=null,!i.pop()}}),has:ct(function(t){return function(e){return 0<st(t,e).length}}),contains:ct(function(t){return t=t.replace(et,it),function(e){return-1<(e.textContent||r(e)).indexOf(t)}}),lang:ct(function(t){return X.test(t||"")||st.error("unsupported lang: "+t),t=t.replace(et,it).toLowerCase(),function(e){var i;do{if(i=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===f.activeElement&&(!f.hasFocus||f.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 t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!n.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return Z.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,i){return[i<0?i+e:i]}),even:mt(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:mt(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:mt(function(t,e,i){for(var n=i<0?i+e:e<i?e:i;0<=--n;)t.push(n);return t}),gt:mt(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[e]=ft(e);for(e in{submit:!0,reset:!0})n.pseudos[e]=pt(e);function yt(){}function bt(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function Lt(t,e,i){var n=e.dir,r=e.next,o=r||n,a=i&&"parentNode"===o,s=_++;return e.first?function(e,i,r){for(;e=e[n];)if(1===e.nodeType||a)return t(e,i,r);return!1}:function(e,i,l){var c,u,h,d=[w,s];if(l){for(;e=e[n];)if((1===e.nodeType||a)&&t(e,i,l))return!0}else for(;e=e[n];)if(1===e.nodeType||a)if(u=(h=e[L]||(e[L]={}))[e.uniqueID]||(h[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[n]||e;else{if((c=u[o])&&c[0]===w&&c[1]===s)return d[2]=c[2];if((u[o]=d)[2]=t(e,i,l))return!0}return!1}}function xt(t){return 1<t.length?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function wt(t,e,i,n,r){for(var o,a=[],s=0,l=t.length,c=null!=e;s<l;s++)(o=t[s])&&(i&&!i(o,n,r)||(a.push(o),c&&e.push(s)));return a}function _t(t,e,i,n,r,o){return n&&!n[L]&&(n=_t(n)),r&&!r[L]&&(r=_t(r,o)),ct(function(o,a,s,l){var c,u,h,d=[],f=[],p=a.length,g=o||function(t,e,i){for(var n=0,r=e.length;n<r;n++)st(t,e[n],i);return i}(e||"*",s.nodeType?[s]:s,[]),m=!t||!o&&e?g:wt(g,d,t,s,l),v=i?r||(o?t:p||n)?[]:a:m;if(i&&i(m,v,s,l),n)for(c=wt(v,f),n(c,[],s,l),u=c.length;u--;)(h=c[u])&&(v[f[u]]=!(m[f[u]]=h));if(o){if(r||t){if(r){for(c=[],u=v.length;u--;)(h=v[u])&&c.push(m[u]=h);r(null,v=[],c,l)}for(u=v.length;u--;)(h=v[u])&&-1<(c=r?N(o,h):d[u])&&(o[c]=!(a[c]=h))}}else v=wt(v===a?v.splice(p,v.length):v),r?r(null,a,v,l):O.apply(a,v)})}function St(t){for(var e,i,r,o=t.length,a=n.relative[t[0].type],s=a||n.relative[" "],l=a?1:0,u=Lt(function(t){return t===e},s,!0),h=Lt(function(t){return-1<N(e,t)},s,!0),d=[function(t,i,n){var r=!a&&(n||i!==c)||((e=i).nodeType?u(t,i,n):h(t,i,n));return e=null,r}];l<o;l++)if(i=n.relative[t[l].type])d=[Lt(xt(d),i)];else{if((i=n.filter[t[l].type].apply(null,t[l].matches))[L]){for(r=++l;r<o&&!n.relative[t[r].type];r++);return _t(1<l&&xt(d),1<l&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(j,"$1"),i,l<r&&St(t.slice(l,r)),r<o&&St(t=t.slice(r)),r<o&&bt(t))}d.push(i)}return xt(d)}return yt.prototype=n.filters=n.pseudos,n.setFilters=new yt,a=st.tokenize=function(t,e){var i,r,o,a,s,l,c,u=C[t+" "];if(u)return e?0:u.slice(0);for(s=t,l=[],c=n.preFilter;s;){for(a in i&&!(r=W.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=U.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(j," ")}),s=s.slice(i.length)),n.filter)!(r=q[a].exec(s))||c[a]&&!(r=c[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return e?s.length:s?st.error(t):C(t,l).slice(0)},s=st.compile=function(t,e){var i,r,o,s,l,u,h=[],p=[],m=k[t+" "];if(!m){for(e||(e=a(t)),i=e.length;i--;)(m=St(e[i]))[L]?h.push(m):p.push(m);(m=k(t,(r=p,s=0<(o=h).length,l=0<r.length,u=function(t,e,i,a,u){var h,p,m,v=0,y="0",b=t&&[],L=[],x=c,_=t||l&&n.find.TAG("*",u),S=w+=null==x?1:Math.random()||.1,C=_.length;for(u&&(c=e===f||e||u);y!==C&&null!=(h=_[y]);y++){if(l&&h){for(p=0,e||h.ownerDocument===f||(d(h),i=!g);m=r[p++];)if(m(h,e||f,i)){a.push(h);break}u&&(w=S)}s&&((h=!m&&h)&&v--,t&&b.push(h))}if(v+=y,s&&y!==v){for(p=0;m=o[p++];)m(b,L,e,i);if(t){if(0<v)for(;y--;)b[y]||L[y]||(L[y]=D.call(a));L=wt(L)}O.apply(a,L),u&&!t&&0<L.length&&1<v+o.length&&st.uniqueSort(a)}return u&&(w=S,c=x),b},s?ct(u):u))).selector=t}return m},l=st.select=function(t,e,i,r){var o,l,c,u,h,d="function"==typeof t&&t,f=!r&&a(t=d.selector||t);if(i=i||[],1===f.length){if(2<(l=f[0]=f[0].slice(0)).length&&"ID"===(c=l[0]).type&&9===e.nodeType&&g&&n.relative[l[1].type]){if(!(e=(n.find.ID(c.matches[0].replace(et,it),e)||[])[0]))return i;d&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=q.needsContext.test(t)?0:l.length;o--&&(c=l[o],!n.relative[u=c.type]);)if((h=n.find[u])&&(r=h(c.matches[0].replace(et,it),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(o,1),!(t=r.length&&bt(l)))return O.apply(i,r),i;break}}return(d||s(t,f))(r,e,!g,i,!e||tt.test(t)&&vt(e.parentNode)||e),i},i.sortStable=L.split("").sort(E).join("")===L,i.detectDuplicates=!!h,d(),i.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(f.createElement("fieldset"))}),ut(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ht("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),i.attributes&&ut(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ht("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||ht(R,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),st}(t);x.find=S,x.expr=S.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=S.uniqueSort,x.text=S.getText,x.isXMLDoc=S.isXML,x.contains=S.contains,x.escapeSelector=S.escape;var C=function(t,e,i){for(var n=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&x(t).is(i))break;n.push(t)}return n},k=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},T=x.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 M(t,e,i){return g(e)?x.grep(t,function(t,n){return!!e.call(t,n,t)!==i}):e.nodeType?x.grep(t,function(t){return t===e!==i}):"string"!=typeof e?x.grep(t,function(t){return-1<l.call(e,t)!==i}):x.filter(e,t,i)}x.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?x.find.matchesSelector(n,t)?[n]:[]:x.find.matches(t,x.grep(e,function(t){return 1===t.nodeType}))},x.fn.extend({find:function(t){var e,i,n=this.length,r=this;if("string"!=typeof t)return this.pushStack(x(t).filter(function(){for(e=0;e<n;e++)if(x.contains(r[e],this))return!0}));for(i=this.pushStack([]),e=0;e<n;e++)x.find(t,r[e],i);return 1<n?x.uniqueSort(i):i},filter:function(t){return this.pushStack(M(this,t||[],!1))},not:function(t){return this.pushStack(M(this,t||[],!0))},is:function(t){return!!M(this,"string"==typeof t&&T.test(t)?x(t):t||[],!1).length}});var D,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(t,e,i){var r,o;if(!t)return this;if(i=i||D,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:P.exec(t))||!r[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof x?e[0]:e,x.merge(this,x.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:n,!0)),A.test(r[1])&&x.isPlainObject(e))for(r in e)g(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(o=n.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):g(t)?void 0!==i.ready?i.ready(t):t(x):x.makeArray(t,this)}).prototype=x.fn,D=x(n);var O=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function N(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}x.fn.extend({has:function(t){var e=x(t,this),i=e.length;return this.filter(function(){for(var t=0;t<i;t++)if(x.contains(this,e[t]))return!0})},closest:function(t,e){var i,n=0,r=this.length,o=[],a="string"!=typeof t&&x(t);if(!T.test(t))for(;n<r;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(a?-1<a.index(i):1===i.nodeType&&x.find.matchesSelector(i,t))){o.push(i);break}return this.pushStack(1<o.length?x.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?l.call(x(t),this[0]):l.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),x.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return C(t,"parentNode")},parentsUntil:function(t,e,i){return C(t,"parentNode",i)},next:function(t){return N(t,"nextSibling")},prev:function(t){return N(t,"previousSibling")},nextAll:function(t){return C(t,"nextSibling")},prevAll:function(t){return C(t,"previousSibling")},nextUntil:function(t,e,i){return C(t,"nextSibling",i)},prevUntil:function(t,e,i){return C(t,"previousSibling",i)},siblings:function(t){return k((t.parentNode||{}).firstChild,t)},children:function(t){return k(t.firstChild)},contents:function(t){return void 0!==t.contentDocument?t.contentDocument:(E(t,"template")&&(t=t.content||t),x.merge([],t.childNodes))}},function(t,e){x.fn[t]=function(i,n){var r=x.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=x.filter(n,r)),1<this.length&&(I[t]||x.uniqueSort(r),O.test(t)&&r.reverse()),this.pushStack(r)}});var R=/[^\x20\t\r\n\f]+/g;function F(t){return t}function B(t){throw t}function z(t,e,i,n){var r;try{t&&g(r=t.promise)?r.call(t).done(e).fail(i):t&&g(r=t.then)?r.call(t,e,i):e.apply(void 0,[t].slice(n))}catch(t){i.apply(void 0,[t])}}x.Callbacks=function(t){var e,i;t="string"==typeof t?(e=t,i={},x.each(e.match(R)||[],function(t,e){i[e]=!0}),i):x.extend({},t);var n,r,o,a,s=[],l=[],c=-1,u=function(){for(a=a||t.once,o=n=!0;l.length;c=-1)for(r=l.shift();++c<s.length;)!1===s[c].apply(r[0],r[1])&&t.stopOnFalse&&(c=s.length,r=!1);t.memory||(r=!1),n=!1,a&&(s=r?[]:"")},h={add:function(){return s&&(r&&!n&&(c=s.length-1,l.push(r)),function e(i){x.each(i,function(i,n){g(n)?t.unique&&h.has(n)||s.push(n):n&&n.length&&"string"!==b(n)&&e(n)})}(arguments),r&&!n&&u()),this},remove:function(){return x.each(arguments,function(t,e){for(var i;-1<(i=x.inArray(e,s,i));)s.splice(i,1),i<=c&&c--}),this},has:function(t){return t?-1<x.inArray(t,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=l=[],s=r="",this},disabled:function(){return!s},lock:function(){return a=l=[],r||n||(s=r=""),this},locked:function(){return!!a},fireWith:function(t,e){return a||(e=[t,(e=e||[]).slice?e.slice():e],l.push(e),n||u()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!o}};return h},x.extend({Deferred:function(e){var i=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return x.Deferred(function(e){x.each(i,function(i,n){var r=g(t[n[4]])&&t[n[4]];o[n[1]](function(){var t=r&&r.apply(this,arguments);t&&g(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[n[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(e,n,r){var o=0;function a(e,i,n,r){return function(){var s=this,l=arguments,c=function(){var t,c;if(!(e<o)){if((t=n.apply(s,l))===i.promise())throw new TypeError("Thenable self-resolution");c=t&&("object"==typeof t||"function"==typeof t)&&t.then,g(c)?r?c.call(t,a(o,i,F,r),a(o,i,B,r)):(o++,c.call(t,a(o,i,F,r),a(o,i,B,r),a(o,i,F,i.notifyWith))):(n!==F&&(s=void 0,l=[t]),(r||i.resolveWith)(s,l))}},u=r?c:function(){try{c()}catch(t){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(t,u.stackTrace),o<=e+1&&(n!==B&&(s=void 0,l=[t]),i.rejectWith(s,l))}};e?u():(x.Deferred.getStackHook&&(u.stackTrace=x.Deferred.getStackHook()),t.setTimeout(u))}}return x.Deferred(function(t){i[0][3].add(a(0,t,g(r)?r:F,t.notifyWith)),i[1][3].add(a(0,t,g(e)?e:F)),i[2][3].add(a(0,t,g(n)?n:B))}).promise()},promise:function(t){return null!=t?x.extend(t,r):r}},o={};return x.each(i,function(t,e){var a=e[2],s=e[5];r[e[1]]=a.add,s&&a.add(function(){n=s},i[3-t][2].disable,i[3-t][3].disable,i[0][2].lock,i[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,i=e,n=Array(i),r=o.call(arguments),a=x.Deferred(),s=function(t){return function(i){n[t]=this,r[t]=1<arguments.length?o.call(arguments):i,--e||a.resolveWith(n,r)}};if(e<=1&&(z(t,a.done(s(i)).resolve,a.reject,!e),"pending"===a.state()||g(r[i]&&r[i].then)))return a.then();for(;i--;)z(r[i],s(i),a.reject);return a.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,i){t.console&&t.console.warn&&e&&H.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,i)},x.readyException=function(e){t.setTimeout(function(){throw e})};var V=x.Deferred();function j(){n.removeEventListener("DOMContentLoaded",j),t.removeEventListener("load",j),x.ready()}x.fn.ready=function(t){return V.then(t).catch(function(t){x.readyException(t)}),this},x.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--x.readyWait:x.isReady)||(x.isReady=!0)!==t&&0<--x.readyWait||V.resolveWith(n,[x])}}),x.ready.then=V.then,"complete"===n.readyState||"loading"!==n.readyState&&!n.documentElement.doScroll?t.setTimeout(x.ready):(n.addEventListener("DOMContentLoaded",j),t.addEventListener("load",j));var W=function(t,e,i,n,r,o,a){var s=0,l=t.length,c=null==i;if("object"===b(i))for(s in r=!0,i)W(t,e,s,i[s],!0,o,a);else if(void 0!==n&&(r=!0,g(n)||(a=!0),c&&(a?(e.call(t,n),e=null):(c=e,e=function(t,e,i){return c.call(x(t),i)})),e))for(;s<l;s++)e(t[s],i,a?n:n.call(t[s],s,e(t[s],i)));return r?t:c?e.call(t):l?e(t[0],i):o},U=/^-ms-/,Y=/-([a-z])/g;function G(t,e){return e.toUpperCase()}function X(t){return t.replace(U,"ms-").replace(Y,G)}var q=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function $(){this.expando=x.expando+$.uid++}$.uid=1,$.prototype={cache:function(t){var e=t[this.expando];return e||(e={},q(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,i){var n,r=this.cache(t);if("string"==typeof e)r[X(e)]=i;else for(n in e)r[X(n)]=e[n];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][X(e)]},access:function(t,e,i){return void 0===e||e&&"string"==typeof e&&void 0===i?this.get(t,e):(this.set(t,e,i),void 0!==i?i:e)},remove:function(t,e){var i,n=t[this.expando];if(void 0!==n){if(void 0!==e){i=(e=Array.isArray(e)?e.map(X):(e=X(e))in n?[e]:e.match(R)||[]).length;for(;i--;)delete n[e[i]]}(void 0===e||x.isEmptyObject(n))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!x.isEmptyObject(e)}};var Z=new $,K=new $,Q=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function tt(t,e,i){var n,r;if(void 0===i&&1===t.nodeType)if(n="data-"+e.replace(J,"-$&").toLowerCase(),"string"==typeof(i=t.getAttribute(n))){try{i="true"===(r=i)||"false"!==r&&("null"===r?null:r===+r+""?+r:Q.test(r)?JSON.parse(r):r)}catch(t){}K.set(t,e,i)}else i=void 0;return i}x.extend({hasData:function(t){return K.hasData(t)||Z.hasData(t)},data:function(t,e,i){return K.access(t,e,i)},removeData:function(t,e){K.remove(t,e)},_data:function(t,e,i){return Z.access(t,e,i)},_removeData:function(t,e){Z.remove(t,e)}}),x.fn.extend({data:function(t,e){var i,n,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=K.get(o),1===o.nodeType&&!Z.get(o,"hasDataAttrs"))){for(i=a.length;i--;)a[i]&&0===(n=a[i].name).indexOf("data-")&&(n=X(n.slice(5)),tt(o,n,r[n]));Z.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){K.set(this,t)}):W(this,function(e){var i;if(o&&void 0===e)return void 0!==(i=K.get(o,t))?i:void 0!==(i=tt(o,t))?i:void 0;this.each(function(){K.set(this,t,e)})},null,e,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){K.remove(this,t)})}}),x.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=Z.get(t,e),i&&(!n||Array.isArray(i)?n=Z.access(t,e,x.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=x.queue(t,e),n=i.length,r=i.shift(),o=x._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete o.stop,r.call(t,function(){x.dequeue(t,e)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return Z.get(t,i)||Z.access(t,i,{empty:x.Callbacks("once memory").add(function(){Z.remove(t,[e+"queue",i])})})}}),x.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?x.queue(this[0],t):void 0===e?this:this.each(function(){var i=x.queue(this,t,e);x._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&x.dequeue(this,t)})},dequeue:function(t){return this.each(function(){x.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,r=x.Deferred(),o=this,a=this.length,s=function(){--n||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(i=Z.get(o[a],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(s));return s(),r.promise(e)}});var et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+et+")([a-z%]*)$","i"),nt=["Top","Right","Bottom","Left"],rt=n.documentElement,ot=function(t){return x.contains(t.ownerDocument,t)},at={composed:!0};rt.getRootNode&&(ot=function(t){return x.contains(t.ownerDocument,t)||t.getRootNode(at)===t.ownerDocument});var st=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&ot(t)&&"none"===x.css(t,"display")},lt=function(t,e,i,n){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in r=i.apply(t,n||[]),e)t.style[o]=a[o];return r};function ct(t,e,i,n){var r,o,a=20,s=n?function(){return n.cur()}:function(){return x.css(t,e,"")},l=s(),c=i&&i[3]||(x.cssNumber[e]?"":"px"),u=t.nodeType&&(x.cssNumber[e]||"px"!==c&&+l)&&it.exec(x.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)x.style(t,e,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,x.style(t,e,u+c),i=i||[]}return i&&(u=+u||+l||0,r=i[1]?u+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=u,n.end=r)),r}var ut={};function ht(t,e){for(var i,n,r,o,a,s,l,c=[],u=0,h=t.length;u<h;u++)(n=t[u]).style&&(i=n.style.display,e?("none"===i&&(c[u]=Z.get(n,"display")||null,c[u]||(n.style.display="")),""===n.style.display&&st(n)&&(c[u]=(l=a=o=void 0,a=(r=n).ownerDocument,s=r.nodeName,(l=ut[s])||(o=a.body.appendChild(a.createElement(s)),l=x.css(o,"display"),o.parentNode.removeChild(o),"none"===l&&(l="block"),ut[s]=l)))):"none"!==i&&(c[u]="none",Z.set(n,"display",i)));for(u=0;u<h;u++)null!=c[u]&&(t[u].style.display=c[u]);return t}x.fn.extend({show:function(){return ht(this,!0)},hide:function(){return ht(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){st(this)?x(this).show():x(this).hide()})}});var dt=/^(?:checkbox|radio)$/i,ft=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pt=/^$|^module$|\/(?:java|ecma)script/i,gt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function mt(t,e){var i;return i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&E(t,e)?x.merge([t],i):i}function vt(t,e){for(var i=0,n=t.length;i<n;i++)Z.set(t[i],"globalEval",!e||Z.get(e[i],"globalEval"))}gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td;var yt,bt,Lt=/<|&#?\w+;/;function xt(t,e,i,n,r){for(var o,a,s,l,c,u,h=e.createDocumentFragment(),d=[],f=0,p=t.length;f<p;f++)if((o=t[f])||0===o)if("object"===b(o))x.merge(d,o.nodeType?[o]:o);else if(Lt.test(o)){for(a=a||h.appendChild(e.createElement("div")),s=(ft.exec(o)||["",""])[1].toLowerCase(),l=gt[s]||gt._default,a.innerHTML=l[1]+x.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;x.merge(d,a.childNodes),(a=h.firstChild).textContent=""}else d.push(e.createTextNode(o));for(h.textContent="",f=0;o=d[f++];)if(n&&-1<x.inArray(o,n))r&&r.push(o);else if(c=ot(o),a=mt(h.appendChild(o),"script"),c&&vt(a),i)for(u=0;o=a[u++];)pt.test(o.type||"")&&i.push(o);return h}yt=n.createDocumentFragment().appendChild(n.createElement("div")),(bt=n.createElement("input")).setAttribute("type","radio"),bt.setAttribute("checked","checked"),bt.setAttribute("name","t"),yt.appendChild(bt),p.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="<textarea>x</textarea>",p.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var wt=/^key/,_t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,St=/^([^.]*)(?:\.(.+)|)/;function Ct(){return!0}function kt(){return!1}function Tt(t,e){return t===function(){try{return n.activeElement}catch(t){}}()==("focus"===e)}function Et(t,e,i,n,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof i&&(n=n||i,i=void 0),e)Et(t,s,i,n,e[s],o);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=kt;else if(!r)return t;return 1===o&&(a=r,(r=function(t){return x().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),t.each(function(){x.event.add(this,e,r,n,i)})}function At(t,e,i){i?(Z.set(t,e,!1),x.event.add(t,e,{namespace:!1,handler:function(t){var n,r,a=Z.get(this,e);if(1&t.isTrigger&&this[e]){if(a.length)(x.event.special[e]||{}).delegateType&&t.stopPropagation();else if(a=o.call(arguments),Z.set(this,e,a),n=i(this,e),this[e](),a!==(r=Z.get(this,e))||n?Z.set(this,e,!1):r={},a!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else a.length&&(Z.set(this,e,{value:x.event.trigger(x.extend(a[0],x.Event.prototype),a.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Z.get(t,e)&&x.event.add(t,e,Ct)}x.event={global:{},add:function(t,e,i,n,r){var o,a,s,l,c,u,h,d,f,p,g,m=Z.get(t);if(m)for(i.handler&&(i=(o=i).handler,r=o.selector),r&&x.find.matchesSelector(rt,r),i.guid||(i.guid=x.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==x&&x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(R)||[""]).length;c--;)f=g=(s=St.exec(e[c])||[])[1],p=(s[2]||"").split(".").sort(),f&&(h=x.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,h=x.event.special[f]||{},u=x.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&x.expr.match.needsContext.test(r),namespace:p.join(".")},o),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,a)||t.addEventListener&&t.addEventListener(f,a)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),r?d.splice(d.delegateCount++,0,u):d.push(u),x.event.global[f]=!0)},remove:function(t,e,i,n,r){var o,a,s,l,c,u,h,d,f,p,g,m=Z.hasData(t)&&Z.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(R)||[""]).length;c--;)if(f=g=(s=St.exec(e[c])||[])[1],p=(s[2]||"").split(".").sort(),f){for(h=x.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)u=d[o],!r&&g!==u.origType||i&&i.guid!==u.guid||s&&!s.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(o,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));a&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||x.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)x.event.remove(t,f+e[c],i,n,!0);x.isEmptyObject(l)&&Z.remove(t,"handle events")}},dispatch:function(t){var e,i,n,r,o,a,s=x.event.fix(t),l=new Array(arguments.length),c=(Z.get(this,"events")||{})[s.type]||[],u=x.event.special[s.type]||{};for(l[0]=s,e=1;e<arguments.length;e++)l[e]=arguments[e];if(s.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,s)){for(a=x.event.handlers.call(this,s,c),e=0;(r=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=r.elem,i=0;(o=r.handlers[i++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==o.namespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(n=((x.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,l))&&!1===(s.result=n)&&(s.preventDefault(),s.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,s),s.result}},handlers:function(t,e){var i,n,r,o,a,s=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&1<=t.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],a={},i=0;i<l;i++)void 0===a[r=(n=e[i]).selector+" "]&&(a[r]=n.needsContext?-1<x(r,this).index(c):x.find(r,this,null,[c]).length),a[r]&&o.push(n);o.length&&s.push({elem:c,handlers:o})}return c=this,l<e.length&&s.push({elem:c,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(x.Event.prototype,t,{enumerable:!0,configurable:!0,get:g(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[x.expando]?t:new x.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return dt.test(e.type)&&e.click&&E(e,"input")&&At(e,"click",Ct),!1},trigger:function(t){var e=this||t;return dt.test(e.type)&&e.click&&E(e,"input")&&At(e,"click"),!0},_default:function(t){var e=t.target;return dt.test(e.type)&&e.click&&E(e,"input")&&Z.get(e,"click")||E(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},x.removeEvent=function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)},x.Event=function(t,e){if(!(this instanceof x.Event))return new x.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&&x.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.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()}},x.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&&wt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&_t.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},function(t,e){x.event.special[t]={setup:function(){return At(this,t,Tt),!1},trigger:function(){return At(this,t),!0},delegateType:e}}),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){x.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=t.relatedTarget,r=t.handleObj;return n&&(n===this||x.contains(this,n))||(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}}),x.fn.extend({on:function(t,e,i,n){return Et(this,t,e,i,n)},one:function(t,e,i,n){return Et(this,t,e,i,n,1)},off:function(t,e,i){var n,r;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,x(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=void 0),!1===i&&(i=kt),this.each(function(){x.event.remove(this,t,i,e)})}});var Mt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Dt=/<script|<style|<link/i,Pt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function It(t,e){return E(t,"table")&&E(11!==e.nodeType?e:e.firstChild,"tr")&&x(t).children("tbody")[0]||t}function Nt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Rt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Ft(t,e){var i,n,r,o,a,s,l,c;if(1===e.nodeType){if(Z.hasData(t)&&(o=Z.access(t),a=Z.set(e,o),c=o.events))for(r in delete a.handle,a.events={},c)for(i=0,n=c[r].length;i<n;i++)x.event.add(e,r,c[r][i]);K.hasData(t)&&(s=K.access(t),l=x.extend({},s),K.set(e,l))}}function Bt(t,e,i,n){e=a.apply([],e);var r,o,s,l,c,u,h=0,d=t.length,f=d-1,m=e[0],v=g(m);if(v||1<d&&"string"==typeof m&&!p.checkClone&&Pt.test(m))return t.each(function(r){var o=t.eq(r);v&&(e[0]=m.call(this,r,o.html())),Bt(o,e,i,n)});if(d&&(o=(r=xt(e,t[0].ownerDocument,!1,t,n)).firstChild,1===r.childNodes.length&&(r=o),o||n)){for(l=(s=x.map(mt(r,"script"),Nt)).length;h<d;h++)c=r,h!==f&&(c=x.clone(c,!0,!0),l&&x.merge(s,mt(c,"script"))),i.call(t[h],c,h);if(l)for(u=s[s.length-1].ownerDocument,x.map(s,Rt),h=0;h<l;h++)c=s[h],pt.test(c.type||"")&&!Z.access(c,"globalEval")&&x.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?x._evalUrl&&!c.noModule&&x._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")}):y(c.textContent.replace(Ot,""),c,u))}return t}function zt(t,e,i){for(var n,r=e?x.filter(e,t):t,o=0;null!=(n=r[o]);o++)i||1!==n.nodeType||x.cleanData(mt(n)),n.parentNode&&(i&&ot(n)&&vt(mt(n,"script")),n.parentNode.removeChild(n));return t}x.extend({htmlPrefilter:function(t){return t.replace(Mt,"<$1></$2>")},clone:function(t,e,i){var n,r,o,a,s,l,c,u=t.cloneNode(!0),h=ot(t);if(!(p.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||x.isXMLDoc(t)))for(a=mt(u),n=0,r=(o=mt(t)).length;n<r;n++)s=o[n],"input"===(c=(l=a[n]).nodeName.toLowerCase())&&dt.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(e)if(i)for(o=o||mt(t),a=a||mt(u),n=0,r=o.length;n<r;n++)Ft(o[n],a[n]);else Ft(t,u);return 0<(a=mt(u,"script")).length&&vt(a,!h&&mt(t,"script")),u},cleanData:function(t){for(var e,i,n,r=x.event.special,o=0;void 0!==(i=t[o]);o++)if(q(i)){if(e=i[Z.expando]){if(e.events)for(n in e.events)r[n]?x.event.remove(i,n):x.removeEvent(i,n,e.handle);i[Z.expando]=void 0}i[K.expando]&&(i[K.expando]=void 0)}}}),x.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?x.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 Bt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||It(this,t).appendChild(t)})},prepend:function(){return Bt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=It(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Bt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Bt(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&&(x.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 x.clone(this,t,e)})},html:function(t){return W(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Dt.test(t)&&!gt[(ft.exec(t)||["",""])[1].toLowerCase()]){t=x.htmlPrefilter(t);try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(x.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 Bt(this,arguments,function(e){var i=this.parentNode;x.inArray(this,t)<0&&(x.cleanData(mt(this)),i&&i.replaceChild(e,this))},t)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){x.fn[t]=function(t){for(var i,n=[],r=x(t),o=r.length-1,a=0;a<=o;a++)i=a===o?this:this.clone(!0),x(r[a])[e](i),s.apply(n,i.get());return this.pushStack(n)}});var Ht=new RegExp("^("+et+")(?!px)[a-z%]+$","i"),Vt=function(e){var i=e.ownerDocument.defaultView;return i&&i.opener||(i=t),i.getComputedStyle(e)},jt=new RegExp(nt.join("|"),"i");function Wt(t,e,i){var n,r,o,a,s=t.style;return(i=i||Vt(t))&&(""!==(a=i.getPropertyValue(e)||i[e])||ot(t)||(a=x.style(t,e)),!p.pixelBoxStyles()&&Ht.test(a)&&jt.test(e)&&(n=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=i.width,s.width=n,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function Ut(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",rt.appendChild(c).appendChild(u);var e=t.getComputedStyle(u);r="1%"!==e.top,l=12===i(e.marginLeft),u.style.right="60%",s=36===i(e.right),o=36===i(e.width),u.style.position="absolute",a=12===i(u.offsetWidth/3),rt.removeChild(c),u=null}}function i(t){return Math.round(parseFloat(t))}var r,o,a,s,l,c=n.createElement("div"),u=n.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",p.clearCloneStyle="content-box"===u.style.backgroundClip,x.extend(p,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),a}}))}();var Yt=["Webkit","Moz","ms"],Gt=n.createElement("div").style,Xt={};function qt(t){return x.cssProps[t]||Xt[t]||(t in Gt?t:Xt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),i=Yt.length;i--;)if((t=Yt[i]+e)in Gt)return t}(t)||t)}var $t=/^(none|table(?!-c[ea]).+)/,Zt=/^--/,Kt={position:"absolute",visibility:"hidden",display:"block"},Qt={letterSpacing:"0",fontWeight:"400"};function Jt(t,e,i){var n=it.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function te(t,e,i,n,r,o){var a="width"===e?1:0,s=0,l=0;if(i===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===i&&(l+=x.css(t,i+nt[a],!0,r)),n?("content"===i&&(l-=x.css(t,"padding"+nt[a],!0,r)),"margin"!==i&&(l-=x.css(t,"border"+nt[a]+"Width",!0,r))):(l+=x.css(t,"padding"+nt[a],!0,r),"padding"!==i?l+=x.css(t,"border"+nt[a]+"Width",!0,r):s+=x.css(t,"border"+nt[a]+"Width",!0,r));return!n&&0<=o&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))||0),l}function ee(t,e,i){var n=Vt(t),r=(!p.boxSizingReliable()||i)&&"border-box"===x.css(t,"boxSizing",!1,n),o=r,a=Wt(t,e,n),s="offset"+e[0].toUpperCase()+e.slice(1);if(Ht.test(a)){if(!i)return a;a="auto"}return(!p.boxSizingReliable()&&r||"auto"===a||!parseFloat(a)&&"inline"===x.css(t,"display",!1,n))&&t.getClientRects().length&&(r="border-box"===x.css(t,"boxSizing",!1,n),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+te(t,e,i||(r?"border":"content"),o,n,a)+"px"}function ie(t,e,i,n,r){return new ie.prototype.init(t,e,i,n,r)}x.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Wt(t,"opacity");return""===i?"1":i}}}},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,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=X(e),l=Zt.test(e),c=t.style;if(l||(e=qt(s)),a=x.cssHooks[e]||x.cssHooks[s],void 0===i)return a&&"get"in a&&void 0!==(r=a.get(t,!1,n))?r:c[e];"string"==(o=typeof i)&&(r=it.exec(i))&&r[1]&&(i=ct(t,e,r),o="number"),null!=i&&i==i&&("number"!==o||l||(i+=r&&r[3]||(x.cssNumber[s]?"":"px")),p.clearCloneStyle||""!==i||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(i=a.set(t,i,n))||(l?c.setProperty(e,i):c[e]=i))}},css:function(t,e,i,n){var r,o,a,s=X(e);return Zt.test(e)||(e=qt(s)),(a=x.cssHooks[e]||x.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,i)),void 0===r&&(r=Wt(t,e,n)),"normal"===r&&e in Qt&&(r=Qt[e]),""===i||i?(o=parseFloat(r),!0===i||isFinite(o)?o||0:r):r}}),x.each(["height","width"],function(t,e){x.cssHooks[e]={get:function(t,i,n){if(i)return!$t.test(x.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ee(t,e,n):lt(t,Kt,function(){return ee(t,e,n)})},set:function(t,i,n){var r,o=Vt(t),a=!p.scrollboxSize()&&"absolute"===o.position,s=(a||n)&&"border-box"===x.css(t,"boxSizing",!1,o),l=n?te(t,e,n,s,o):0;return s&&a&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-te(t,e,"border",!1,o)-.5)),l&&(r=it.exec(i))&&"px"!==(r[3]||"px")&&(t.style[e]=i,i=x.css(t,e)),Jt(0,i,l)}}}),x.cssHooks.marginLeft=Ut(p.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Wt(t,"marginLeft"))||t.getBoundingClientRect().left-lt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(t,e){x.cssHooks[t+e]={expand:function(i){for(var n=0,r={},o="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+nt[n]+e]=o[n]||o[n-2]||o[0];return r}},"margin"!==t&&(x.cssHooks[t+e].set=Jt)}),x.fn.extend({css:function(t,e){return W(this,function(t,e,i){var n,r,o={},a=0;if(Array.isArray(e)){for(n=Vt(t),r=e.length;a<r;a++)o[e[a]]=x.css(t,e[a],!1,n);return o}return void 0!==i?x.style(t,e,i):x.css(t,e)},t,e,1<arguments.length)}}),((x.Tween=ie).prototype={constructor:ie,init:function(t,e,i,n,r,o){this.elem=t,this.prop=i,this.easing=r||x.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(x.cssNumber[i]?"":"px")},cur:function(){var t=ie.propHooks[this.prop];return t&&t.get?t.get(this):ie.propHooks._default.get(this)},run:function(t){var e,i=ie.propHooks[this.prop];return this.options.duration?this.pos=e=x.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):ie.propHooks._default.set(this),this}}).init.prototype=ie.prototype,(ie.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=x.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){x.fx.step[t.prop]?x.fx.step[t.prop](t):1!==t.elem.nodeType||!x.cssHooks[t.prop]&&null==t.elem.style[qt(t.prop)]?t.elem[t.prop]=t.now:x.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=ie.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},x.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},x.fx=ie.prototype.init,x.fx.step={};var ne,re,oe,ae,se=/^(?:toggle|show|hide)$/,le=/queueHooks$/;function ce(){re&&(!1===n.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(ce):t.setTimeout(ce,x.fx.interval),x.fx.tick())}function ue(){return t.setTimeout(function(){ne=void 0}),ne=Date.now()}function he(t,e){var i,n=0,r={height:t};for(e=e?1:0;n<4;n+=2-e)r["margin"+(i=nt[n])]=r["padding"+i]=t;return e&&(r.opacity=r.width=t),r}function de(t,e,i){for(var n,r=(fe.tweeners[e]||[]).concat(fe.tweeners["*"]),o=0,a=r.length;o<a;o++)if(n=r[o].call(i,e,t))return n}function fe(t,e,i){var n,r,o=0,a=fe.prefilters.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=ne||ue(),i=Math.max(0,c.startTime+c.duration-e),n=1-(i/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(n);return s.notifyWith(t,[c,n,i]),n<1&&a?i:(a||s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:x.extend({},e),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},i),originalProperties:e,originalOptions:i,startTime:ne||ue(),duration:i.duration,tweens:[],createTween:function(e,i){var n=x.Tween(t,c.opts,e,i,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(n),n},stop:function(e){var i=0,n=e?c.tweens.length:0;if(r)return this;for(r=!0;i<n;i++)c.tweens[i].run(1);return e?(s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c,e])):s.rejectWith(t,[c,e]),this}}),u=c.props;for(function(t,e){var i,n,r,o,a;for(i in t)if(r=e[n=X(i)],o=t[i],Array.isArray(o)&&(r=o[1],o=t[i]=o[0]),i!==n&&(t[n]=o,delete t[i]),(a=x.cssHooks[n])&&"expand"in a)for(i in o=a.expand(o),delete t[n],o)i in t||(t[i]=o[i],e[i]=r);else e[n]=r}(u,c.opts.specialEasing);o<a;o++)if(n=fe.prefilters[o].call(c,t,u,c.opts))return g(n.stop)&&(x._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return x.map(u,de,c),g(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),x.fx.timer(x.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}x.Animation=x.extend(fe,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return ct(i.elem,t,it.exec(e),i),i}]},tweener:function(t,e){g(t)?(e=t,t=["*"]):t=t.match(R);for(var i,n=0,r=t.length;n<r;n++)i=t[n],fe.tweeners[i]=fe.tweeners[i]||[],fe.tweeners[i].unshift(e)},prefilters:[function(t,e,i){var n,r,o,a,s,l,c,u,h="width"in e||"height"in e,d=this,f={},p=t.style,g=t.nodeType&&st(t),m=Z.get(t,"fxshow");for(n in i.queue||(null==(a=x._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,x.queue(t,"fx").length||a.empty.fire()})})),e)if(r=e[n],se.test(r)){if(delete e[n],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[n])continue;g=!0}f[n]=m&&m[n]||x.style(t,n)}if((l=!x.isEmptyObject(e))||!x.isEmptyObject(f))for(n in h&&1===t.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=Z.get(t,"display")),"none"===(u=x.css(t,"display"))&&(c?u=c:(ht([t],!0),c=t.style.display||c,u=x.css(t,"display"),ht([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===x.css(t,"float")&&(l||(d.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),i.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),l=!1,f)l||(m?"hidden"in m&&(g=m.hidden):m=Z.access(t,"fxshow",{display:c}),o&&(m.hidden=!g),g&&ht([t],!0),d.done(function(){for(n in g||ht([t]),Z.remove(t,"fxshow"),f)x.style(t,n,f[n])})),l=de(g?m[n]:0,n,d),n in m||(m[n]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?fe.prefilters.unshift(t):fe.prefilters.push(t)}}),x.speed=function(t,e,i){var n=t&&"object"==typeof t?x.extend({},t):{complete:i||!i&&e||g(t)&&t,duration:t,easing:i&&e||e&&!g(e)&&e};return x.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in x.fx.speeds?n.duration=x.fx.speeds[n.duration]:n.duration=x.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){g(n.old)&&n.old.call(this),n.queue&&x.dequeue(this,n.queue)},n},x.fn.extend({fadeTo:function(t,e,i,n){return this.filter(st).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=x.isEmptyObject(t),o=x.speed(e,i,n),a=function(){var e=fe(this,x.extend({},t),o);(r||Z.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,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=x.timers,a=Z.get(this);if(r)a[r]&&a[r].stop&&n(a[r]);else for(r in a)a[r]&&a[r].stop&&le.test(r)&&n(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(i),e=!1,o.splice(r,1));!e&&i||x.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,i=Z.get(this),n=i[t+"queue"],r=i[t+"queueHooks"],o=x.timers,a=n?n.length:0;for(i.finish=!0,x.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++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),x.each(["toggle","show","hide"],function(t,e){var i=x.fn[e];x.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(he(e,!0),t,n,r)}}),x.each({slideDown:he("show"),slideUp:he("hide"),slideToggle:he("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){x.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),x.timers=[],x.fx.tick=function(){var t,e=0,i=x.timers;for(ne=Date.now();e<i.length;e++)(t=i[e])()||i[e]!==t||i.splice(e--,1);i.length||x.fx.stop(),ne=void 0},x.fx.timer=function(t){x.timers.push(t),x.fx.start()},x.fx.interval=13,x.fx.start=function(){re||(re=!0,ce())},x.fx.stop=function(){re=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(e,i){return e=x.fx&&x.fx.speeds[e]||e,i=i||"fx",this.queue(i,function(i,n){var r=t.setTimeout(i,e);n.stop=function(){t.clearTimeout(r)}})},oe=n.createElement("input"),ae=n.createElement("select").appendChild(n.createElement("option")),oe.type="checkbox",p.checkOn=""!==oe.value,p.optSelected=ae.selected,(oe=n.createElement("input")).value="t",oe.type="radio",p.radioValue="t"===oe.value;var pe,ge=x.expr.attrHandle;x.fn.extend({attr:function(t,e){return W(this,x.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){x.removeAttr(this,t)})}}),x.extend({attr:function(t,e,i){var n,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?x.prop(t,e,i):(1===o&&x.isXMLDoc(t)||(r=x.attrHooks[e.toLowerCase()]||(x.expr.match.bool.test(e)?pe:void 0)),void 0!==i?null===i?void x.removeAttr(t,e):r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:(t.setAttribute(e,i+""),i):r&&"get"in r&&null!==(n=r.get(t,e))?n:null==(n=x.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!p.radioValue&&"radio"===e&&E(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n=0,r=e&&e.match(R);if(r&&1===t.nodeType)for(;i=r[n++];)t.removeAttribute(i)}}),pe={set:function(t,e,i){return!1===e?x.removeAttr(t,i):t.setAttribute(i,i),i}},x.each(x.expr.match.bool.source.match(/\w+/g),function(t,e){var i=ge[e]||x.find.attr;ge[e]=function(t,e,n){var r,o,a=e.toLowerCase();return n||(o=ge[a],ge[a]=r,r=null!=i(t,e,n)?a:null,ge[a]=o),r}});var me=/^(?:input|select|textarea|button)$/i,ve=/^(?:a|area)$/i;function ye(t){return(t.match(R)||[]).join(" ")}function be(t){return t.getAttribute&&t.getAttribute("class")||""}function Le(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(R)||[]}x.fn.extend({prop:function(t,e){return W(this,x.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each(function(){delete this[x.propFix[t]||t]})}}),x.extend({prop:function(t,e,i){var n,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(t)||(e=x.propFix[e]||e,r=x.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=x.find.attr(t,"tabindex");return e?parseInt(e,10):me.test(t.nodeName)||ve.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),p.optSelected||(x.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(t){var e,i,n,r,o,a,s,l=0;if(g(t))return this.each(function(e){x(this).addClass(t.call(this,e,be(this)))});if((e=Le(t)).length)for(;i=this[l++];)if(r=be(i),n=1===i.nodeType&&" "+ye(r)+" "){for(a=0;o=e[a++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");r!==(s=ye(n))&&i.setAttribute("class",s)}return this},removeClass:function(t){var e,i,n,r,o,a,s,l=0;if(g(t))return this.each(function(e){x(this).removeClass(t.call(this,e,be(this)))});if(!arguments.length)return this.attr("class","");if((e=Le(t)).length)for(;i=this[l++];)if(r=be(i),n=1===i.nodeType&&" "+ye(r)+" "){for(a=0;o=e[a++];)for(;-1<n.indexOf(" "+o+" ");)n=n.replace(" "+o+" "," ");r!==(s=ye(n))&&i.setAttribute("class",s)}return this},toggleClass:function(t,e){var i=typeof t,n="string"===i||Array.isArray(t);return"boolean"==typeof e&&n?e?this.addClass(t):this.removeClass(t):g(t)?this.each(function(i){x(this).toggleClass(t.call(this,i,be(this),e),e)}):this.each(function(){var e,r,o,a;if(n)for(r=0,o=x(this),a=Le(t);e=a[r++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==i||((e=be(this))&&Z.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Z.get(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&-1<(" "+ye(be(i))+" ").indexOf(e))return!0;return!1}});var xe=/\r/g;x.fn.extend({val:function(t){var e,i,n,r=this[0];return arguments.length?(n=g(t),this.each(function(i){var r;1===this.nodeType&&(null==(r=n?t.call(this,i,x(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=x.map(r,function(t){return null==t?"":t+""})),(e=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=x.valHooks[r.type]||x.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(xe,""):null==i?"":i:void 0}}),x.extend({valHooks:{option:{get:function(t){var e=x.find.attr(t,"value");return null!=e?e:ye(x.text(t))}},select:{get:function(t){var e,i,n,r=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:r.length;for(n=o<0?l:a?o:0;n<l;n++)if(((i=r[n]).selected||n===o)&&!i.disabled&&(!i.parentNode.disabled||!E(i.parentNode,"optgroup"))){if(e=x(i).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var i,n,r=t.options,o=x.makeArray(e),a=r.length;a--;)((n=r[a]).selected=-1<x.inArray(x.valHooks.option.get(n),o))&&(i=!0);return i||(t.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<x.inArray(x(t).val(),e)}},p.checkOn||(x.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),p.focusin="onfocusin"in t;var we=/^(?:focusinfocus|focusoutblur)$/,_e=function(t){t.stopPropagation()};x.extend(x.event,{trigger:function(e,i,r,o){var a,s,l,c,u,d,f,p,v=[r||n],y=h.call(e,"type")?e.type:e,b=h.call(e,"namespace")?e.namespace.split("."):[];if(s=p=l=r=r||n,3!==r.nodeType&&8!==r.nodeType&&!we.test(y+x.event.triggered)&&(-1<y.indexOf(".")&&(y=(b=y.split(".")).shift(),b.sort()),u=y.indexOf(":")<0&&"on"+y,(e=e[x.expando]?e:new x.Event(y,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),i=null==i?[e]:x.makeArray(i,[e]),f=x.event.special[y]||{},o||!f.trigger||!1!==f.trigger.apply(r,i))){if(!o&&!f.noBubble&&!m(r)){for(c=f.delegateType||y,we.test(c+y)||(s=s.parentNode);s;s=s.parentNode)v.push(s),l=s;l===(r.ownerDocument||n)&&v.push(l.defaultView||l.parentWindow||t)}for(a=0;(s=v[a++])&&!e.isPropagationStopped();)p=s,e.type=1<a?c:f.bindType||y,(d=(Z.get(s,"events")||{})[e.type]&&Z.get(s,"handle"))&&d.apply(s,i),(d=u&&s[u])&&d.apply&&q(s)&&(e.result=d.apply(s,i),!1===e.result&&e.preventDefault());return e.type=y,o||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(v.pop(),i)||!q(r)||u&&g(r[y])&&!m(r)&&((l=r[u])&&(r[u]=null),x.event.triggered=y,e.isPropagationStopped()&&p.addEventListener(y,_e),r[y](),e.isPropagationStopped()&&p.removeEventListener(y,_e),x.event.triggered=void 0,l&&(r[u]=l)),e.result}},simulate:function(t,e,i){var n=x.extend(new x.Event,i,{type:t,isSimulated:!0});x.event.trigger(n,null,e)}}),x.fn.extend({trigger:function(t,e){return this.each(function(){x.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return x.event.trigger(t,e,i,!0)}}),p.focusin||x.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){x.event.simulate(e,t.target,x.event.fix(t))};x.event.special[e]={setup:function(){var n=this.ownerDocument||this,r=Z.access(n,e);r||n.addEventListener(t,i,!0),Z.access(n,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=Z.access(n,e)-1;r?Z.access(n,e,r):(n.removeEventListener(t,i,!0),Z.remove(n,e))}}});var Se=t.location,Ce=Date.now(),ke=/\?/;x.parseXML=function(e){var i;if(!e||"string"!=typeof e)return null;try{i=(new t.DOMParser).parseFromString(e,"text/xml")}catch(e){i=void 0}return i&&!i.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+e),i};var Te=/\[\]$/,Ee=/\r?\n/g,Ae=/^(?:submit|button|image|reset|file)$/i,Me=/^(?:input|select|textarea|keygen)/i;function De(t,e,i,n){var r;if(Array.isArray(e))x.each(e,function(e,r){i||Te.test(t)?n(t,r):De(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,i,n)});else if(i||"object"!==b(e))n(t,e);else for(r in e)De(t+"["+r+"]",e[r],i,n)}x.param=function(t,e){var i,n=[],r=function(t,e){var i=g(e)?e():e;n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==i?"":i)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!x.isPlainObject(t))x.each(t,function(){r(this.name,this.value)});else for(i in t)De(i,t[i],e,r);return n.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=x.prop(this,"elements");return t?x.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!x(this).is(":disabled")&&Me.test(this.nodeName)&&!Ae.test(t)&&(this.checked||!dt.test(t))}).map(function(t,e){var i=x(this).val();return null==i?null:Array.isArray(i)?x.map(i,function(t){return{name:e.name,value:t.replace(Ee,"\r\n")}}):{name:e.name,value:i.replace(Ee,"\r\n")}}).get()}});var Pe=/%20/g,Oe=/#.*$/,Ie=/([?&])_=[^&]*/,Ne=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:GET|HEAD)$/,Fe=/^\/\//,Be={},ze={},He="*/".concat("*"),Ve=n.createElement("a");function je(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,o=e.toLowerCase().match(R)||[];if(g(i))for(;n=o[r++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function We(t,e,i,n){var r={},o=t===ze;function a(s){var l;return r[s]=!0,x.each(t[s]||[],function(t,s){var c=s(e,i,n);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(e.dataTypes.unshift(c),a(c),!1)}),l}return a(e.dataTypes[0])||!r["*"]&&a("*")}function Ue(t,e){var i,n,r=x.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&x.extend(!0,t,n),t}Ve.href=Se.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Se.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":He,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":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ue(Ue(t,x.ajaxSettings),e):Ue(x.ajaxSettings,t)},ajaxPrefilter:je(Be),ajaxTransport:je(ze),ajax:function(e,i){"object"==typeof e&&(i=e,e=void 0),i=i||{};var r,o,a,s,l,c,u,h,d,f,p=x.ajaxSetup({},i),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?x(g):x.event,v=x.Deferred(),y=x.Callbacks("once memory"),b=p.statusCode||{},L={},w={},_="canceled",S={readyState:0,getResponseHeader:function(t){var e;if(u){if(!s)for(s={};e=Ne.exec(a);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(t,e){return null==u&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,L[t]=e),this},overrideMimeType:function(t){return null==u&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)S.always(t[S.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||_;return r&&r.abort(e),C(0,e),this}};if(v.promise(S),p.url=((e||p.url||Se.href)+"").replace(Fe,Se.protocol+"//"),p.type=i.method||i.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(R)||[""],null==p.crossDomain){c=n.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Ve.protocol+"//"+Ve.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),We(Be,p,i,S),u)return S;for(d in(h=x.event&&p.global)&&0==x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Re.test(p.type),o=p.url.replace(Oe,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pe,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(ke.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Ie,"$1"),f=(ke.test(o)?"&":"?")+"_="+Ce+++f),p.url=o+f),p.ifModified&&(x.lastModified[o]&&S.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&S.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||i.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+He+"; q=0.01":""):p.accepts["*"]),p.headers)S.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(g,S,p)||u))return S.abort();if(_="abort",y.add(p.complete),S.done(p.success),S.fail(p.error),r=We(ze,p,i,S)){if(S.readyState=1,h&&m.trigger("ajaxSend",[S,p]),u)return S;p.async&&0<p.timeout&&(l=t.setTimeout(function(){S.abort("timeout")},p.timeout));try{u=!1,r.send(L,C)}catch(e){if(u)throw e;C(-1,e)}}else C(-1,"No Transport");function C(e,i,n,s){var c,d,f,L,w,_=i;u||(u=!0,l&&t.clearTimeout(l),r=void 0,a=s||"",S.readyState=0<e?4:0,c=200<=e&&e<300||304===e,n&&(L=function(t,e,i){for(var n,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(r in s)if(s[r]&&s[r].test(n)){l.unshift(r);break}if(l[0]in i)o=l[0];else{for(r in i){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),i[o]}(p,S,n)),L=function(t,e,i,n){var r,o,a,s,l,c={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=u.shift();o;)if(t.responseFields[o]&&(i[t.responseFields[o]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(r in c)if((s=r.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],u.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}}(p,L,S,c),c?(p.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(x.lastModified[o]=w),(w=S.getResponseHeader("etag"))&&(x.etag[o]=w)),204===e||"HEAD"===p.type?_="nocontent":304===e?_="notmodified":(_=L.state,d=L.data,c=!(f=L.error))):(f=_,!e&&_||(_="error",e<0&&(e=0))),S.status=e,S.statusText=(i||_)+"",c?v.resolveWith(g,[d,_,S]):v.rejectWith(g,[S,_,f]),S.statusCode(b),b=void 0,h&&m.trigger(c?"ajaxSuccess":"ajaxError",[S,p,c?d:f]),y.fireWith(g,[S,_]),h&&(m.trigger("ajaxComplete",[S,p]),--x.active||x.event.trigger("ajaxStop")))}return S},getJSON:function(t,e,i){return x.get(t,e,i,"json")},getScript:function(t,e){return x.get(t,void 0,e,"script")}}),x.each(["get","post"],function(t,e){x[e]=function(t,i,n,r){return g(i)&&(r=r||n,n=i,i=void 0),x.ajax(x.extend({url:t,type:e,dataType:r,data:i,success:n},x.isPlainObject(t)&&t))}}),x._evalUrl=function(t,e){return x.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){x.globalEval(t,e)}})},x.fn.extend({wrapAll:function(t){var e;return this[0]&&(g(t)&&(t=t.call(this[0])),e=x(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 g(t)?this.each(function(e){x(this).wrapInner(t.call(this,e))}):this.each(function(){var e=x(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=g(t);return this.each(function(i){x(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(t){return!x.expr.pseudos.visible(t)},x.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var Ye={0:200,1223:204},Ge=x.ajaxSettings.xhr();p.cors=!!Ge&&"withCredentials"in Ge,p.ajax=Ge=!!Ge,x.ajaxTransport(function(e){var i,n;if(p.cors||Ge&&!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]);i=function(t){return function(){i&&(i=n=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(Ye[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=i(),n=s.onerror=s.ontimeout=i("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&t.setTimeout(function(){i&&n()})},i=i("abort");try{s.send(e.hasContent&&e.data||null)}catch(r){if(i)throw r}},abort:function(){i&&i()}}}),x.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),x.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 x.globalEval(t),t}}}),x.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),x.ajaxTransport("script",function(t){var e,i;if(t.crossDomain||t.scriptAttrs)return{send:function(r,o){e=x("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),n.head.appendChild(e[0])},abort:function(){i&&i()}}});var Xe,qe=[],$e=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=qe.pop()||x.expando+"_"+Ce++;return this[t]=!0,t}}),x.ajaxPrefilter("json jsonp",function(e,i,n){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=g(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||x.error(r+" was not called"),a[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){a=arguments},n.always(function(){void 0===o?x(t).removeProp(r):t[r]=o,e[r]&&(e.jsonpCallback=i.jsonpCallback,qe.push(r)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),p.createHTMLDocument=((Xe=n.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xe.childNodes.length),x.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(p.createHTMLDocument?((r=(e=n.implementation.createHTMLDocument("")).createElement("base")).href=n.location.href,e.head.appendChild(r)):e=n),a=!i&&[],(o=A.exec(t))?[e.createElement(o[1])]:(o=xt([t],e,a),a&&a.length&&x(a).remove(),x.merge([],o.childNodes)));var r,o,a},x.fn.load=function(t,e,i){var n,r,o,a=this,s=t.indexOf(" ");return-1<s&&(n=ye(t.slice(s)),t=t.slice(0,s)),g(e)?(i=e,e=void 0):e&&"object"==typeof e&&(r="POST"),0<a.length&&x.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(n?x("<div>").append(x.parseHTML(t)).find(n):t)}).always(i&&function(t,e){a.each(function(){i.apply(this,o||[t.responseText,e,t])})}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){x.fn[e]=function(t){return this.on(e,t)}}),x.expr.pseudos.animated=function(t){return x.grep(x.timers,function(e){return t===e.elem}).length},x.offset={setOffset:function(t,e,i){var n,r,o,a,s,l,c=x.css(t,"position"),u=x(t),h={};"static"===c&&(t.style.position="relative"),s=u.offset(),o=x.css(t,"top"),l=x.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(a=(n=u.position()).top,r=n.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),g(e)&&(e=e.call(t,i,x.extend({},s))),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+r),"using"in e?e.using.call(t,h):u.css(h)}},x.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){x.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],r={top:0,left:0};if("fixed"===x.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===x.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((r=x(t).offset()).top+=x.css(t,"borderTopWidth",!0),r.left+=x.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-x.css(n,"marginTop",!0),left:e.left-r.left-x.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===x.css(t,"position");)t=t.offsetParent;return t||rt})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;x.fn[t]=function(n){return W(this,function(t,n,r){var o;if(m(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[n];o?o.scrollTo(i?o.pageXOffset:r,i?r:o.pageYOffset):t[n]=r},t,n,arguments.length)}}),x.each(["top","left"],function(t,e){x.cssHooks[e]=Ut(p.pixelPosition,function(t,i){if(i)return i=Wt(t,e),Ht.test(i)?x(t).position()[e]+"px":i})}),x.each({Height:"height",Width:"width"},function(t,e){x.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){x.fn[n]=function(r,o){var a=arguments.length&&(i||"boolean"!=typeof r),s=i||(!0===r||!0===o?"margin":"border");return W(this,function(e,i,r){var o;return m(e)?0===n.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?x.css(e,i,s):x.style(e,i,r,s)},e,a?r:void 0,a)}})}),x.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){x.fn[e]=function(t,i){return 0<arguments.length?this.on(e,null,t,i):this.trigger(e)}}),x.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),x.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}}),x.proxy=function(t,e){var i,n,r;if("string"==typeof e&&(i=t[e],e=t,t=i),g(t))return n=o.call(arguments,2),(r=function(){return t.apply(e||this,n.concat(o.call(arguments)))}).guid=t.guid=t.guid||x.guid++,r},x.holdReady=function(t){t?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=E,x.isFunction=g,x.isWindow=m,x.camelCase=X,x.type=b,x.now=Date.now,x.isNumeric=function(t){var e=x.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return x});var Ze=t.jQuery,Ke=t.$;return x.noConflict=function(e){return t.$===x&&(t.$=Ke),e&&t.jQuery===x&&(t.jQuery=Ze),x},e||(t.jQuery=t.$=x),x}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){t.ui=t.ui||{};t.ui.version="1.12.1";var e,i=0,n=Array.prototype.slice;t.cleanData=(e=t.cleanData,function(i){var n,r,o;for(o=0;null!=(r=i[o]);o++)try{(n=t._data(r,"events"))&&n.remove&&t(r).triggerHandler("remove")}catch(t){}e(i)}),t.widget=function(e,i,n){var r,o,a,s={},l=e.split(".")[0],c=l+"-"+(e=e.split(".")[1]);return n||(n=i,i=t.Widget),t.isArray(n)&&(n=t.extend.apply(null,[{}].concat(n))),t.expr[":"][c.toLowerCase()]=function(e){return!!t.data(e,c)},t[l]=t[l]||{},r=t[l][e],o=t[l][e]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},t.extend(o,r,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),(a=new i).options=t.widget.extend({},a.options),t.each(n,function(e,n){t.isFunction(n)?s[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function r(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,o=this._superApply;return this._super=t,this._superApply=r,e=n.apply(this,arguments),this._super=i,this._superApply=o,e}}():s[e]=n}),o.prototype=t.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||e},s,{constructor:o,namespace:l,widgetName:e,widgetFullName:c}),r?(t.each(r._childConstructors,function(e,i){var n=i.prototype;t.widget(n.namespace+"."+n.widgetName,o,i._proto)}),delete r._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var i,r,o=n.call(arguments,1),a=0,s=o.length;a<s;a++)for(i in o[a])r=o[a][i],o[a].hasOwnProperty(i)&&void 0!==r&&(t.isPlainObject(r)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],r):t.widget.extend({},r):e[i]=r);return e},t.widget.bridge=function(e,i){var r=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,s=n.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var i,n=t.data(this,r);return"instance"===o?(l=n,!1):n?t.isFunction(n[o])&&"_"!==o.charAt(0)?(i=n[o].apply(n,s))!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):l=void 0:(s.length&&(o=t.widget.extend.apply(null,[o].concat(s))),this.each(function(){var e=t.data(this,r);e?(e.option(o||{}),e._init&&e._init()):t.data(this,r,new i(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var n,r,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},n=e.split("."),e=n.shift(),n.length){for(r=a[e]=t.widget.extend({},this.options[e]),o=0;o<n.length-1;o++)r[n[o]]=r[n[o]]||{},r=r[n[o]];if(e=n.pop(),1===arguments.length)return void 0===r[e]?null:r[e];r[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,n,r;for(i in e)r=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&r&&r.length&&(n=t(r.get()),this._removeClass(r,i),n.addClass(this._classes({element:n,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){var i=[],n=this;function r(r,o){var a,s;for(s=0;s<r.length;s++)a=n.classesElementLookup[r[s]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[r[s]]=a,i.push(r[s]),o&&e.classes[r[s]]&&i.push(e.classes[r[s]])}return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&r(e.keys.match(/\S+/g)||[],!0),e.extra&&r(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(n,r){-1!==t.inArray(e.target,r)&&(i.classesElementLookup[n]=t(r.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){n="boolean"==typeof n?n:i;var r="string"==typeof t||null===t,o={extra:r?e:i,keys:r?t:e,element:r?this.element:t,add:n};return o.element.toggleClass(this._classes(o),n),this},_on:function(e,i,n){var r,o=this;"boolean"!=typeof e&&(n=i,i=e,e=!1),n?(i=r=t(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,r=this.widget()),t.each(n,function(n,a){function s(){if(e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?o[a]:a).apply(o,arguments)}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||t.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+o.eventNamespace,u=l[2];u?r.on(c,u,s):i.on(c,s)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,n){var r,o,a=this.options[e];if(n=n||{},(i=t.Event(i)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(r in o)r in i||(i[r]=o[r]);return this.element.trigger(i,n),!(t.isFunction(a)&&!1===a.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(n,r,o){var a;"string"==typeof r&&(r={effect:r});var s=r?!0===r||"number"==typeof r?i:r.effect||i:e;"number"==typeof(r=r||{})&&(r={duration:r}),a=!t.isEmptyObject(r),r.complete=o,r.delay&&n.delay(r.delay),a&&t.effects&&t.effects.effect[s]?n[e](r):s!==e&&n[s]?n[s](r.duration,r.easing,o):n.queue(function(i){t(this)[e](),o&&o.call(n[0]),i()})}});t.widget;!function(){var e,i=Math.max,n=Math.abs,r=/left|center|right/,o=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,l=/%$/,c=t.fn.position;function u(t,e,i){return[parseFloat(t[0])*(l.test(t[0])?e/100:1),parseFloat(t[1])*(l.test(t[1])?i/100:1)]}function h(e,i){return parseInt(t.css(e,i),10)||0}t.position={scrollbarWidth:function(){if(void 0!==e)return e;var i,n,r=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=r.children()[0];return t("body").append(r),i=o.offsetWidth,r.css("overflow","scroll"),i===(n=o.offsetWidth)&&(n=r[0].clientWidth),r.remove(),e=i-n},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),r="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth;return{width:"scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight?t.position.scrollbarWidth():0,height:r?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),n=t.isWindow(i[0]),r=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:n,isDocument:r,offset:!n&&!r?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return c.apply(this,arguments);e=t.extend({},e);var l,d,f,p,g,m,v,y,b=t(e.of),L=t.position.getWithinInfo(e.within),x=t.position.getScrollInfo(L),w=(e.collision||"flip").split(" "),_={};return m=9===(y=(v=b)[0]).nodeType?{width:v.width(),height:v.height(),offset:{top:0,left:0}}:t.isWindow(y)?{width:v.width(),height:v.height(),offset:{top:v.scrollTop(),left:v.scrollLeft()}}:y.preventDefault?{width:0,height:0,offset:{top:y.pageY,left:y.pageX}}:{width:v.outerWidth(),height:v.outerHeight(),offset:v.offset()},b[0].preventDefault&&(e.at="left top"),d=m.width,f=m.height,p=m.offset,g=t.extend({},p),t.each(["my","at"],function(){var t,i,n=(e[this]||"").split(" ");1===n.length&&(n=r.test(n[0])?n.concat(["center"]):o.test(n[0])?["center"].concat(n):["center","center"]),n[0]=r.test(n[0])?n[0]:"center",n[1]=o.test(n[1])?n[1]:"center",t=a.exec(n[0]),i=a.exec(n[1]),_[this]=[t?t[0]:0,i?i[0]:0],e[this]=[s.exec(n[0])[0],s.exec(n[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===e.at[0]?g.left+=d:"center"===e.at[0]&&(g.left+=d/2),"bottom"===e.at[1]?g.top+=f:"center"===e.at[1]&&(g.top+=f/2),l=u(_.at,d,f),g.left+=l[0],g.top+=l[1],this.each(function(){var r,o,a=t(this),s=a.outerWidth(),c=a.outerHeight(),m=h(this,"marginLeft"),v=h(this,"marginTop"),y=s+m+h(this,"marginRight")+x.width,S=c+v+h(this,"marginBottom")+x.height,C=t.extend({},g),k=u(_.my,a.outerWidth(),a.outerHeight());"right"===e.my[0]?C.left-=s:"center"===e.my[0]&&(C.left-=s/2),"bottom"===e.my[1]?C.top-=c:"center"===e.my[1]&&(C.top-=c/2),C.left+=k[0],C.top+=k[1],r={marginLeft:m,marginTop:v},t.each(["left","top"],function(i,n){t.ui.position[w[i]]&&t.ui.position[w[i]][n](C,{targetWidth:d,targetHeight:f,elemWidth:s,elemHeight:c,collisionPosition:r,collisionWidth:y,collisionHeight:S,offset:[l[0]+k[0],l[1]+k[1]],my:e.my,at:e.at,within:L,elem:a})}),e.using&&(o=function(t){var r=p.left-C.left,o=r+d-s,l=p.top-C.top,u=l+f-c,h={target:{element:b,left:p.left,top:p.top,width:d,height:f},element:{element:a,left:C.left,top:C.top,width:s,height:c},horizontal:o<0?"left":r>0?"right":"center",vertical:u<0?"top":l>0?"bottom":"middle"};d<s&&n(r+o)<d&&(h.horizontal="center"),f<c&&n(l+u)<f&&(h.vertical="middle"),i(n(r),n(o))>i(n(l),n(u))?h.important="horizontal":h.important="vertical",e.using.call(this,t,h)}),a.offset(t.extend(C,{using:o}))})},t.ui.position={fit:{left:function(t,e){var n,r=e.within,o=r.isWindow?r.scrollLeft:r.offset.left,a=r.width,s=t.left-e.collisionPosition.marginLeft,l=o-s,c=s+e.collisionWidth-a-o;e.collisionWidth>a?l>0&&c<=0?(n=t.left+l+e.collisionWidth-a-o,t.left+=l-n):t.left=c>0&&l<=0?o:l>c?o+a-e.collisionWidth:o:l>0?t.left+=l:c>0?t.left-=c:t.left=i(t.left-s,t.left)},top:function(t,e){var n,r=e.within,o=r.isWindow?r.scrollTop:r.offset.top,a=e.within.height,s=t.top-e.collisionPosition.marginTop,l=o-s,c=s+e.collisionHeight-a-o;e.collisionHeight>a?l>0&&c<=0?(n=t.top+l+e.collisionHeight-a-o,t.top+=l-n):t.top=c>0&&l<=0?o:l>c?o+a-e.collisionHeight:o:l>0?t.top+=l:c>0?t.top-=c:t.top=i(t.top-s,t.top)}},flip:{left:function(t,e){var i,r,o=e.within,a=o.offset.left+o.scrollLeft,s=o.width,l=o.isWindow?o.scrollLeft:o.offset.left,c=t.left-e.collisionPosition.marginLeft,u=c-l,h=c+e.collisionWidth-s-l,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,f="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,p=-2*e.offset[0];u<0?((i=t.left+d+f+p+e.collisionWidth-s-a)<0||i<n(u))&&(t.left+=d+f+p):h>0&&((r=t.left-e.collisionPosition.marginLeft+d+f+p-l)>0||n(r)<h)&&(t.left+=d+f+p)},top:function(t,e){var i,r,o=e.within,a=o.offset.top+o.scrollTop,s=o.height,l=o.isWindow?o.scrollTop:o.offset.top,c=t.top-e.collisionPosition.marginTop,u=c-l,h=c+e.collisionHeight-s-l,d="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,p=-2*e.offset[1];u<0?((r=t.top+d+f+p+e.collisionHeight-s-a)<0||r<n(u))&&(t.top+=d+f+p):h>0&&((i=t.top-e.collisionPosition.marginTop+d+f+p-l)>0||n(i)<h)&&(t.top+=d+f+p)}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}();t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,n){return!!t.data(e,n[3])}}),t.fn.extend({disableSelection:(r="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(r+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var r,o,a="ui-effects-animated",s=t;t.effects={effect:{}},function(t,e){var i,n=/^([\-+])=\s*(\d+\.?\d*)/,r=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],o=t.Color=function(e,i,n,r){return new t.Color.fn.parse(e,i,n,r)},a={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},s={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},l=o.support={},c=t("<p>")[0],u=t.each;function h(t,e,i){var n=s[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:0>t?0:n.max<t?n.max:t)}function d(e){var n=o(),s=n._rgba=[];return e=e.toLowerCase(),u(r,function(t,i){var r,o=i.re.exec(e),l=o&&i.parse(o),c=i.space||"rgba";if(l)return r=n[c](l),n[a[c].cache]=r[a[c].cache],s=n._rgba=r._rgba,!1}),s.length?("0,0,0,0"===s.join()&&t.extend(s,i.transparent),n):i[e]}function f(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}c.style.cssText="background-color:rgba(1,1,1,.5)",l.rgba=c.style.backgroundColor.indexOf("rgba")>-1,u(a,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),o.fn=t.extend(o.prototype,{parse:function(e,n,r,s){if(void 0===e)return this._rgba=[null,null,null,null],this;(e.jquery||e.nodeType)&&(e=t(e).css(n),n=void 0);var l=this,c=t.type(e),f=this._rgba=[];return void 0!==n&&(e=[e,n,r,s],c="array"),"string"===c?this.parse(d(e)||i._default):"array"===c?(u(a.rgba.props,function(t,i){f[i.idx]=h(e[i.idx],i)}),this):"object"===c?(u(a,e instanceof o?function(t,i){e[i.cache]&&(l[i.cache]=e[i.cache].slice())}:function(i,n){var r=n.cache;u(n.props,function(t,i){if(!l[r]&&n.to){if("alpha"===t||null==e[t])return;l[r]=n.to(l._rgba)}l[r][i.idx]=h(e[t],i,!0)}),l[r]&&t.inArray(null,l[r].slice(0,3))<0&&(l[r][3]=1,n.from&&(l._rgba=n.from(l[r])))}),this):void 0},is:function(t){var e=o(t),i=!0,n=this;return u(a,function(t,r){var o,a=e[r.cache];return a&&(o=n[r.cache]||r.to&&r.to(n._rgba)||[],u(r.props,function(t,e){if(null!=a[e.idx])return i=a[e.idx]===o[e.idx]})),i}),i},_space:function(){var t=[],e=this;return u(a,function(i,n){e[n.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var i=o(t),n=i._space(),r=a[n],l=0===this.alpha()?o("transparent"):this,c=l[r.cache]||r.to(l._rgba),d=c.slice();return i=i[r.cache],u(r.props,function(t,n){var r=n.idx,o=c[r],a=i[r],l=s[n.type]||{};null!==a&&(null===o?d[r]=a:(l.mod&&(a-o>l.mod/2?o+=l.mod:o-a>l.mod/2&&(o-=l.mod)),d[r]=h((a-o)*e+o,n)))}),this[n](d)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),r=o(e)._rgba;return o(t.map(i,function(t,e){return(1-n)*r[e]+n*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),n=i.pop();return e&&i.push(~~(255*n)),"#"+t.map(i,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),o.fn.parse.prototype=o.fn,a.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,n=t[0]/255,r=t[1]/255,o=t[2]/255,a=t[3],s=Math.max(n,r,o),l=Math.min(n,r,o),c=s-l,u=s+l,h=.5*u;return e=l===s?0:n===s?60*(r-o)/c+360:r===s?60*(o-n)/c+120:60*(n-r)/c+240,i=0===c?0:h<=.5?c/u:c/(2-u),[Math.round(e)%360,i,h,null==a?1:a]},a.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],r=t[3],o=n<=.5?n*(1+i):n+i-n*i,a=2*n-o;return[Math.round(255*f(a,o,e+1/3)),Math.round(255*f(a,o,e)),Math.round(255*f(a,o,e-1/3)),r]},u(a,function(e,i){var r=i.props,a=i.cache,s=i.to,l=i.from;o.fn[e]=function(e){if(s&&!this[a]&&(this[a]=s(this._rgba)),void 0===e)return this[a].slice();var i,n=t.type(e),c="array"===n||"object"===n?e:arguments,d=this[a].slice();return u(r,function(t,e){var i=c["object"===n?t:e.idx];null==i&&(i=d[e.idx]),d[e.idx]=h(i,e)}),l?((i=o(l(d)))[a]=d,i):o(d)},u(r,function(i,r){o.fn[i]||(o.fn[i]=function(o){var a,s=t.type(o),l="alpha"===i?this._hsla?"hsla":"rgba":e,c=this[l](),u=c[r.idx];return"undefined"===s?u:("function"===s&&(o=o.call(this,u),s=t.type(o)),null==o&&r.empty?this:("string"===s&&(a=n.exec(o))&&(o=u+parseFloat(a[2])*("+"===a[1]?1:-1)),c[r.idx]=o,this[l](c)))})})}),o.hook=function(e){var i=e.split(" ");u(i,function(e,i){t.cssHooks[i]={set:function(e,n){var r,a,s="";if("transparent"!==n&&("string"!==t.type(n)||(r=d(n)))){if(n=o(r||n),!l.rgba&&1!==n._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===s||"transparent"===s)&&a&&a.style;)try{s=t.css(a,"backgroundColor"),a=a.parentNode}catch(t){}n=n.blend(s&&"transparent"!==s?s:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(t){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=o(e.elem,i),e.end=o(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},o.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),t.cssHooks.borderColor={expand:function(t){var e={};return u(["Top","Right","Bottom","Left"],function(i,n){e["border"+n+"Color"]=t}),e}},i=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(s),function(){var e,i=["add","remove","toggle"],n={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function r(e){var i,n,r=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,o={};if(r&&r.length&&r[0]&&r[r[0]])for(n=r.length;n--;)"string"==typeof r[i=r[n]]&&(o[t.camelCase(i)]=r[i]);else for(i in r)"string"==typeof r[i]&&(o[i]=r[i]);return o}t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(s.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,o,a,s){var l=t.speed(o,a,s);return this.queue(function(){var o,a=t(this),s=a.attr("class")||"",c=l.children?a.find("*").addBack():a;c=c.map(function(){return{el:t(this),start:r(this)}}),(o=function(){t.each(i,function(t,i){e[i]&&a[i+"Class"](e[i])})})(),c=c.map(function(){return this.end=r(this.el[0]),this.diff=function(e,i){var r,o,a={};for(r in i)o=i[r],e[r]!==o&&(n[r]||!t.fx.step[r]&&isNaN(parseFloat(o))||(a[r]=o));return a}(this.start,this.end),this}),a.attr("class",s),c=c.map(function(){var e=this,i=t.Deferred(),n=t.extend({},l,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,n),i.promise()}),t.when.apply(t,c.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),l.complete.call(a[0])})})},t.fn.extend({addClass:(e=t.fn.addClass,function(i,n,r,o){return n?t.effects.animateClass.call(this,{add:i},n,r,o):e.apply(this,arguments)}),removeClass:function(e){return function(i,n,r,o){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},n,r,o):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(e){return function(i,n,r,o,a){return"boolean"==typeof n||void 0===n?r?t.effects.animateClass.call(this,n?{add:i}:{remove:i},r,o,a):e.apply(this,arguments):t.effects.animateClass.call(this,{toggle:i},n,r,o)}}(t.fn.toggleClass),switchClass:function(e,i,n,r,o){return t.effects.animateClass.call(this,{add:i,remove:e},n,r,o)}})}(),function(){var e;function i(e,i,n,r){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(r=i,n=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(r=n,n=i,i={}),t.isFunction(n)&&(r=n,n=null),i&&t.extend(e,i),n=n||i.duration,e.duration=t.fx.off?0:"number"==typeof n?n:n in t.fx.speeds?t.fx.speeds[n]:t.fx.speeds._default,e.complete=r||i.complete,e}function n(e){return!(e&&"number"!=typeof e&&!t.fx.speeds[e])||("string"==typeof e&&!t.effects.effect[e]||(!!t.isFunction(e)||"object"==typeof e&&!e.effect))}function r(t,e){var i=e.outerWidth(),n=e.outerHeight(),r=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,i,n,0];return{top:parseFloat(r[1])||0,right:"auto"===r[2]?i:parseFloat(r[2]),bottom:"auto"===r[3]?n:parseFloat(r[3]),left:parseFloat(r[4])||0}}t.expr&&t.expr.filters&&t.expr.filters.animated&&(t.expr.filters.animated=(e=t.expr.filters.animated,function(i){return!!t(i).data(a)||e(i)})),!1!==t.uiBackCompat&&t.extend(t.effects,{save:function(t,e){for(var i=0,n=e.length;i<n;i++)null!==e[i]&&t.data("ui-effects-"+e[i],t[0].style[e[i]])},restore:function(t,e){for(var i,n=0,r=e.length;n<r;n++)null!==e[n]&&(i=t.data("ui-effects-"+e[n]),t.css(e[n],i))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),float:e.css("float")},n=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),r={width:e.width(),height:e.height()},o=document.activeElement;try{o.id}catch(t){o=document.body}return e.wrap(n),(e[0]===o||t.contains(e[0],o))&&t(o).trigger("focus"),n=e.parent(),"static"===e.css("position")?(n.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,n){i[n]=e.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(r),n.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).trigger("focus")),e}}),t.extend(t.effects,{version:"1.12.1",define:function(e,i,n){return n||(n=i,i="effect"),t.effects.effect[e]=n,t.effects.effect[e].mode=i,n},scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(e||100)/100:1,r="vertical"!==i?(e||100)/100:1;return{height:t.height()*r,width:t.width()*n,outerHeight:t.outerHeight()*r,outerWidth:t.outerWidth()*n}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var n=t.queue();e>1&&n.splice.apply(n,[1,0].concat(n.splice(e,i))),t.dequeue()},saveStyle:function(t){t.data("ui-effects-style",t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data("ui-effects-style")||"",t.removeData("ui-effects-style")},mode:function(t,e){var i=t.is(":hidden");return"toggle"===e&&(e=i?"show":"hide"),(i?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var i,n;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=t[1]/e.width}return{x:n,y:i}},createPlaceholder:function(e){var i,n=e.css("position"),r=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",i=t("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data("ui-effects-placeholder",i)),e.css({position:n,left:r.left,top:r.top}),i},removePlaceholder:function(t){var e="ui-effects-placeholder",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(e){t.effects.restoreStyle(e),t.effects.removePlaceholder(e)},setTransition:function(e,i,n,r){return r=r||{},t.each(i,function(t,i){var o=e.cssUnit(i);o[0]>0&&(r[i]=o[0]*n+o[1])}),r}}),t.fn.extend({effect:function(){var e=i.apply(this,arguments),n=t.effects.effect[e.effect],r=n.mode,o=e.queue,s=o||"fx",l=e.complete,c=e.mode,u=[],h=function(e){var i=t(this),n=t.effects.mode(i,c)||r;i.data(a,!0),u.push(n),r&&("show"===n||n===r&&"hide"===n)&&i.show(),r&&"none"===n||t.effects.saveStyle(i),t.isFunction(e)&&e()};if(t.fx.off||!n)return c?this[c](e.duration,l):this.each(function(){l&&l.call(this)});function d(i){var o=t(this);function s(){t.isFunction(l)&&l.call(o[0]),t.isFunction(i)&&i()}e.mode=u.shift(),!1===t.uiBackCompat||r?"none"===e.mode?(o[c](),s()):n.call(o[0],e,function(){o.removeData(a),t.effects.cleanUp(o),"hide"===e.mode&&o.hide(),s()}):(o.is(":hidden")?"hide"===c:"show"===c)?(o[c](),s()):n.call(o[0],e,s)}return!1===o?this.each(h).each(d):this.queue(s,h).queue(s,d)},show:function(t){return function(e){if(n(e))return t.apply(this,arguments);var r=i.apply(this,arguments);return r.mode="show",this.effect.call(this,r)}}(t.fn.show),hide:function(t){return function(e){if(n(e))return t.apply(this,arguments);var r=i.apply(this,arguments);return r.mode="hide",this.effect.call(this,r)}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||"boolean"==typeof e)return t.apply(this,arguments);var r=i.apply(this,arguments);return r.mode="toggle",this.effect.call(this,r)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),n=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(n=[parseFloat(i),e])}),n},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):r(this.css("clip"),this)},transfer:function(e,i){var n=t(this),r=t(e.to),o="fixed"===r.css("position"),a=t("body"),s=o?a.scrollTop():0,l=o?a.scrollLeft():0,c=r.offset(),u={top:c.top-s,left:c.left-l,height:r.innerHeight(),width:r.innerWidth()},h=n.offset(),d=t("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(e.className).css({top:h.top-s,left:h.left-l,height:n.innerHeight(),width:n.innerWidth(),position:o?"fixed":"absolute"}).animate(u,e.duration,e.easing,function(){d.remove(),t.isFunction(i)&&i()})}}),t.fx.step.clip=function(e){e.clipInit||(e.start=t(e.elem).cssClip(),"string"==typeof e.end&&(e.end=r(e.end,e.elem)),e.clipInit=!0),t(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),o={},t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){o[e]=function(e){return Math.pow(e,t+2)}}),t.extend(o,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(o,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return t<.5?i(2*t)/2:1-i(-2*t+2)/2}});t.effects,t.effects.define("blind","hide",function(e,i){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},r=t(this),o=e.direction||"up",a=r.cssClip(),s={clip:t.extend({},a)},l=t.effects.createPlaceholder(r);s.clip[n[o][0]]=s.clip[n[o][1]],"show"===e.mode&&(r.cssClip(s.clip),l&&l.css(t.effects.clipToBox(s)),s.clip=a),l&&l.animate(t.effects.clipToBox(s),e.duration,e.easing),r.animate(s,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("bounce",function(e,i){var n,r,o,a=t(this),s=e.mode,l="hide"===s,c="show"===s,u=e.direction||"up",h=e.distance,d=e.times||5,f=2*d+(c||l?1:0),p=e.duration/f,g=e.easing,m="up"===u||"down"===u?"top":"left",v="up"===u||"left"===u,y=0,b=a.queue().length;for(t.effects.createPlaceholder(a),o=a.css(m),h||(h=a["top"===m?"outerHeight":"outerWidth"]()/3),c&&((r={opacity:1})[m]=o,a.css("opacity",0).css(m,v?2*-h:2*h).animate(r,p,g)),l&&(h/=Math.pow(2,d-1)),(r={})[m]=o;y<d;y++)(n={})[m]=(v?"-=":"+=")+h,a.animate(n,p,g).animate(r,p,g),h=l?2*h:h/2;l&&((n={opacity:0})[m]=(v?"-=":"+=")+h,a.animate(n,p,g)),a.queue(i),t.effects.unshift(a,b,f+1)}),t.effects.define("clip","hide",function(e,i){var n,r={},o=t(this),a=e.direction||"vertical",s="both"===a,l=s||"horizontal"===a,c=s||"vertical"===a;n=o.cssClip(),r.clip={top:c?(n.bottom-n.top)/2:n.top,right:l?(n.right-n.left)/2:n.right,bottom:c?(n.bottom-n.top)/2:n.bottom,left:l?(n.right-n.left)/2:n.left},t.effects.createPlaceholder(o),"show"===e.mode&&(o.cssClip(r.clip),r.clip=n),o.animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("drop","hide",function(e,i){var n,r=t(this),o="show"===e.mode,a=e.direction||"left",s="up"===a||"down"===a?"top":"left",l="up"===a||"left"===a?"-=":"+=",c="+="===l?"-=":"+=",u={opacity:0};t.effects.createPlaceholder(r),n=e.distance||r["top"===s?"outerHeight":"outerWidth"](!0)/2,u[s]=l+n,o&&(r.css(u),u[s]=c+n,u.opacity=1),r.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("explode","hide",function(e,i){var n,r,o,a,s,l,c=e.pieces?Math.round(Math.sqrt(e.pieces)):3,u=c,h=t(this),d="show"===e.mode,f=h.show().css("visibility","hidden").offset(),p=Math.ceil(h.outerWidth()/u),g=Math.ceil(h.outerHeight()/c),m=[];function v(){m.push(this),m.length===c*u&&(h.css({visibility:"visible"}),t(m).remove(),i())}for(n=0;n<c;n++)for(a=f.top+n*g,l=n-(c-1)/2,r=0;r<u;r++)o=f.left+r*p,s=r-(u-1)/2,h.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-r*p,top:-n*g}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:g,left:o+(d?s*p:0),top:a+(d?l*g:0),opacity:d?0:1}).animate({left:o+(d?0:s*p),top:a+(d?0:l*g),opacity:d?1:0},e.duration||500,e.easing,v)}),t.effects.define("fade","toggle",function(e,i){var n="show"===e.mode;t(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("fold","hide",function(e,i){var n=t(this),r=e.mode,o="show"===r,a="hide"===r,s=e.size||15,l=/([0-9]+)%/.exec(s),c=!!e.horizFirst?["right","bottom"]:["bottom","right"],u=e.duration/2,h=t.effects.createPlaceholder(n),d=n.cssClip(),f={clip:t.extend({},d)},p={clip:t.extend({},d)},g=[d[c[0]],d[c[1]]],m=n.queue().length;l&&(s=parseInt(l[1],10)/100*g[a?0:1]),f.clip[c[0]]=s,p.clip[c[0]]=s,p.clip[c[1]]=0,o&&(n.cssClip(p.clip),h&&h.css(t.effects.clipToBox(p)),p.clip=d),n.queue(function(i){h&&h.animate(t.effects.clipToBox(f),u,e.easing).animate(t.effects.clipToBox(p),u,e.easing),i()}).animate(f,u,e.easing).animate(p,u,e.easing).queue(i),t.effects.unshift(n,m,4)}),t.effects.define("highlight","show",function(e,i){var n=t(this),r={backgroundColor:n.css("backgroundColor")};"hide"===e.mode&&(r.opacity=0),t.effects.saveStyle(n),n.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:i})}),t.effects.define("size",function(e,i){var n,r,o,a=t(this),s=["fontSize"],l=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=e.mode,h="effect"!==u,d=e.scale||"both",f=e.origin||["middle","center"],p=a.css("position"),g=a.position(),m=t.effects.scaledDimensions(a),v=e.from||m,y=e.to||t.effects.scaledDimensions(a,0);t.effects.createPlaceholder(a),"show"===u&&(o=v,v=y,y=o),r={from:{y:v.height/m.height,x:v.width/m.width},to:{y:y.height/m.height,x:y.width/m.width}},"box"!==d&&"both"!==d||(r.from.y!==r.to.y&&(v=t.effects.setTransition(a,l,r.from.y,v),y=t.effects.setTransition(a,l,r.to.y,y)),r.from.x!==r.to.x&&(v=t.effects.setTransition(a,c,r.from.x,v),y=t.effects.setTransition(a,c,r.to.x,y))),"content"!==d&&"both"!==d||r.from.y!==r.to.y&&(v=t.effects.setTransition(a,s,r.from.y,v),y=t.effects.setTransition(a,s,r.to.y,y)),f&&(n=t.effects.getBaseline(f,m),v.top=(m.outerHeight-v.outerHeight)*n.y+g.top,v.left=(m.outerWidth-v.outerWidth)*n.x+g.left,y.top=(m.outerHeight-y.outerHeight)*n.y+g.top,y.left=(m.outerWidth-y.outerWidth)*n.x+g.left),a.css(v),"content"!==d&&"both"!==d||(l=l.concat(["marginTop","marginBottom"]).concat(s),c=c.concat(["marginLeft","marginRight"]),a.find("*[width]").each(function(){var i=t(this),n=t.effects.scaledDimensions(i),o={height:n.height*r.from.y,width:n.width*r.from.x,outerHeight:n.outerHeight*r.from.y,outerWidth:n.outerWidth*r.from.x},a={height:n.height*r.to.y,width:n.width*r.to.x,outerHeight:n.height*r.to.y,outerWidth:n.width*r.to.x};r.from.y!==r.to.y&&(o=t.effects.setTransition(i,l,r.from.y,o),a=t.effects.setTransition(i,l,r.to.y,a)),r.from.x!==r.to.x&&(o=t.effects.setTransition(i,c,r.from.x,o),a=t.effects.setTransition(i,c,r.to.x,a)),h&&t.effects.saveStyle(i),i.css(o),i.animate(a,e.duration,e.easing,function(){h&&t.effects.restoreStyle(i)})})),a.animate(y,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){var e=a.offset();0===y.opacity&&a.css("opacity",v.opacity),h||(a.css("position","static"===p?"relative":p).offset(e),t.effects.saveStyle(a)),i()}})}),t.effects.define("scale",function(e,i){var n=t(this),r=e.mode,o=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"effect"!==r?0:100),a=t.extend(!0,{from:t.effects.scaledDimensions(n),to:t.effects.scaledDimensions(n,o,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(a.from.opacity=1,a.to.opacity=0),t.effects.effect.size.call(this,a,i)}),t.effects.define("puff","hide",function(e,i){var n=t.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});t.effects.effect.scale.call(this,n,i)}),t.effects.define("pulsate","show",function(e,i){var n=t(this),r=e.mode,o="show"===r,a=o||"hide"===r,s=2*(e.times||5)+(a?1:0),l=e.duration/s,c=0,u=1,h=n.queue().length;for(!o&&n.is(":visible")||(n.css("opacity",0).show(),c=1);u<s;u++)n.animate({opacity:c},l,e.easing),c=1-c;n.animate({opacity:c},l,e.easing),n.queue(i),t.effects.unshift(n,h,s+1)}),t.effects.define("shake",function(e,i){var n=1,r=t(this),o=e.direction||"left",a=e.distance||20,s=e.times||3,l=2*s+1,c=Math.round(e.duration/l),u="up"===o||"down"===o?"top":"left",h="up"===o||"left"===o,d={},f={},p={},g=r.queue().length;for(t.effects.createPlaceholder(r),d[u]=(h?"-=":"+=")+a,f[u]=(h?"+=":"-=")+2*a,p[u]=(h?"-=":"+=")+2*a,r.animate(d,c,e.easing);n<s;n++)r.animate(f,c,e.easing).animate(p,c,e.easing);r.animate(f,c,e.easing).animate(d,c/2,e.easing).queue(i),t.effects.unshift(r,g,l+1)}),t.effects.define("slide","show",function(e,i){var n,r,o=t(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},s=e.mode,l=e.direction||"left",c="up"===l||"down"===l?"top":"left",u="up"===l||"left"===l,h=e.distance||o["top"===c?"outerHeight":"outerWidth"](!0),d={};t.effects.createPlaceholder(o),n=o.cssClip(),r=o.position()[c],d[c]=(u?-1:1)*h+r,d.clip=o.cssClip(),d.clip[a[l][1]]=d.clip[a[l][0]],"show"===s&&(o.cssClip(d.clip),o.css(c,d[c]),d.clip=n,d[c]=r),o.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:i})});!1!==t.uiBackCompat&&t.effects.define("transfer",function(e,i){t(this).transfer(e,i)});t.ui.focusable=function(e,i){var n,r,o,a,s,l=e.nodeName.toLowerCase();return"area"===l?(r=(n=e.parentNode).name,!(!e.href||!r||"map"!==n.nodeName.toLowerCase())&&((o=t("img[usemap='#"+r+"']")).length>0&&o.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(l)?(a=!e.disabled)&&(s=t(e).closest("fieldset")[0])&&(a=!s.disabled):a="a"===l&&e.href||i,a&&t(e).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}(t(e)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}});t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){var n="Width"===i?["Left","Right"]:["Top","Bottom"],r=i.toLowerCase(),o={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};function a(e,i,r,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,r&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}t.fn["inner"+i]=function(e){return void 0===e?o["inner"+i].call(this):this.each(function(){t(this).css(r,a(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?o["outer"+i].call(this,e):this.each(function(){t(this).css(r,a(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))});var l,c;t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=(l=/([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g,function(t){return t.replace(l,"\\$1")}),t.fn.labels=function(){var e,i,n,r,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(r=this.eq(0).parents("label"),(n=this.attr("id"))&&(o=(e=this.eq(0).parents().last()).add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(n)+"']",r=r.add(o.find(i).addBack(i))),this.pushStack(r))},t.fn.scrollParent=function(e){var i=this.css("position"),n="absolute"===i,r=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return(!n||"static"!==e.css("position"))&&r.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),n=null!=i;return(!n||i>=0)&&t.ui.focusable(e,n)}}),t.fn.extend({uniqueId:(c=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++c)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createIcons:function(){var e,i,n=this.options.icons;n&&(e=t("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+n.header),e.prependTo(this.headers),i=this.active.children(".ui-accordion-header-icon"),this._removeClass(i,n.header)._addClass(i,null,n.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"!==t?("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons())):this._activate(e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,n=this.headers.length,r=this.headers.index(e.target),o=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:o=this.headers[(r+1)%n];break;case i.LEFT:case i.UP:o=this.headers[(r-1+n)%n];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:o=this.headers[0];break;case i.END:o=this.headers[n-1]}o&&(t(e.target).attr("tabIndex",-1),t(o).attr("tabIndex",0),t(o).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=t()):!1===e.active?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var e,i=this.options,n=i.heightStyle,r=this.element.parent();this.active=this._findActive(i.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=t(this),i=e.uniqueId().attr("id"),n=e.next(),r=n.uniqueId().attr("id");e.attr("aria-controls",r),n.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(i.event),"fill"===n?(e=r.height(),this.element.siblings(":visible").each(function(){var i=t(this),n=i.css("position");"absolute"!==n&&"fixed"!==n&&(e-=i.outerHeight(!0))}),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(e=0,this.headers.next().each(function(){var i=t(this).is(":visible");i||t(this).show(),e=Math.max(e,t(this).css("height","").height()),i||t(this).hide()}).height(e))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i,n,r=this.options,o=this.active,a=t(e.currentTarget),s=a[0]===o[0],l=s&&r.collapsible,c=l?t():a.next(),u=o.next(),h={oldHeader:o,oldPanel:u,newHeader:l?t():a,newPanel:c};e.preventDefault(),s&&!r.collapsible||!1===this._trigger("beforeActivate",e,h)||(r.active=!l&&this.headers.index(a),this.active=s?t():a,this._toggle(h),this._removeClass(o,"ui-accordion-header-active","ui-state-active"),r.icons&&(i=o.children(".ui-accordion-header-icon"),this._removeClass(i,null,r.icons.activeHeader)._addClass(i,null,r.icons.header)),s||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),r.icons&&(n=a.children(".ui-accordion-header-icon"),this._removeClass(n,null,r.icons.header)._addClass(n,null,r.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,n=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=n,this.options.animate?this._animate(i,n,e):(n.hide(),i.show(),this._toggleComplete(e)),n.attr({"aria-hidden":"true"}),n.prev().attr({"aria-selected":"false","aria-expanded":"false"}),i.length&&n.length?n.prev().attr({tabIndex:-1,"aria-expanded":"false"}):i.length&&this.headers.filter(function(){return 0===parseInt(t(this).attr("tabIndex"),10)}).attr("tabIndex",-1),i.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,i){var n,r,o,a=this,s=0,l=t.css("box-sizing"),c=t.length&&(!e.length||t.index()<e.index()),u=this.options.animate||{},h=c&&u.down||u,d=function(){a._toggleComplete(i)};return"number"==typeof h&&(o=h),"string"==typeof h&&(r=h),r=r||h.easing||u.easing,o=o||h.duration||u.duration,e.length?t.length?(n=t.show().outerHeight(),e.animate(this.hideProps,{duration:o,easing:r,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(this.showProps,{duration:o,easing:r,complete:d,step:function(t,i){i.now=Math.round(t),"height"!==i.prop?"content-box"===l&&(s+=i.now):"content"!==a.options.heightStyle&&(i.now=Math.round(n-e.outerHeight()-s),s=0)}})):e.animate(this.hideProps,o,r,d):t.animate(this.showProps,o,r,d)},_toggleComplete:function(t){var e=t.oldPanel,i=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}}),t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(i){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var i=t(e.target),n=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var i=t(e.target).closest(".ui-menu-item"),n=t(e.currentTarget);i[0]===n[0]&&(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,n))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){!t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]))&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var i,n,r,o,a=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,n=this.previousFilter||"",o=!1,r=e.keyCode>=96&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),r===n?o=!0:r=n+r,i=this._filterMenuItems(r),(i=o&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(r=String.fromCharCode(e.keyCode),i=this._filterMenuItems(r)),i.length?(this.focus(e,i),this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i,n,r,o=this,a=this.options.icons.submenu,s=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),i=s.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),i=e.prev(),n=t("<span>").data("ui-menu-submenu-caret",!0);o._addClass(n,"ui-menu-icon","ui-icon "+a),i.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",i.attr("id"))}),this._addClass(i,"ui-menu","ui-widget ui-widget-content ui-front"),(e=s.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=t(this);o._isDivider(e)&&o._addClass(e,"ui-menu-divider","ui-widget-content")}),r=(n=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(r,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){if("icons"===t){var i=this.element.find(".ui-menu-icon");this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",String(t)),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var i,n,r;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),n=this.active.children(".ui-menu-item-wrapper"),this._addClass(n,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),r=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(r,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,n,r,o,a,s;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,r=e.offset().top-this.activeMenu.offset().top-i-n,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),s=e.outerHeight(),r<0?this.activeMenu.scrollTop(o+r):r+s>a&&this.activeMenu.scrollTop(o+r-a+s))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var n=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));n.length||(n=this.element),this._close(n),this.blur(e),this._removeClass(n.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=n},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var n;this.active&&(n="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.find(this.options.items)[e]()),this.focus(i,n)},nextPage:function(e){var i,n,r;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n-r<0}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var i,n,r;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return(i=t(this)).offset().top-n+r>0}),this.focus(e,i)):this.focus(e,this.activeMenu.find(this.options.items).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)},_filterMenuItems:function(e){var i=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),n=new RegExp("^"+i,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return n.test(t.trim(t(this).children(".ui-menu-item-wrapper").text()))})}});t.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,i,n,r=this.element[0].nodeName.toLowerCase(),o="textarea"===r,a="input"===r;this.isMultiLine=o||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(r){if(this.element.prop("readOnly"))return e=!0,n=!0,void(i=!0);e=!1,n=!1,i=!1;var o=t.ui.keyCode;switch(r.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",r);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",r);break;case o.UP:e=!0,this._keyEvent("previous",r);break;case o.DOWN:e=!0,this._keyEvent("next",r);break;case o.ENTER:this.menu.active&&(e=!0,r.preventDefault(),this.menu.select(r));break;case o.TAB:this.menu.active&&this.menu.select(r);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(r),r.preventDefault());break;default:i=!0,this._searchTimeout(r)}},keypress:function(n){if(e)return e=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||n.preventDefault());if(!i){var r=t.ui.keyCode;switch(n.keyCode){case r.PAGE_UP:this._move("previousPage",n);break;case r.PAGE_DOWN:this._move("nextPage",n);break;case r.UP:this._keyEvent("previous",n);break;case r.DOWN:this._keyEvent("next",n)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),this._change(t))}}),this._initSource(),this.menu=t("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==t.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,i){var n,r;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)});r=i.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:r})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(r.value),(n=i.item.attr("aria-label")||r.value)&&t.trim(n).length&&(this.liveRegion.children().hide(),t("<div>").text(n).appendTo(this.liveRegion))},menuselect:function(e,i){var n=i.item.data("ui-autocomplete-item"),r=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=r,this._delay(function(){this.previous=r,this.selectedItem=n})),!1!==this._trigger("select",e,{item:n})&&this._value(n.value),this.term=this._value(),this.close(e),this.selectedItem=n}}),this.liveRegion=t("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var i=this.menu.element[0];return e.target===this.element[0]||e.target===i||t.contains(i,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,n=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,n){n(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,r){n.xhr&&n.xhr.abort(),n.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){r(t)},error:function(){r([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),i=this.menu.element.is(":visible"),n=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;e&&(!e||i||n)||(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return t.proxy(function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var n=this;t.each(i,function(t,i){n._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,i){return t("<li>").append(t("<div>").text(i.label)).appendTo(e)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var n=new RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return n.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var i;this._superApply(arguments),this.options.disabled||this.cancelSearch||(i=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("<div>").text(i).appendTo(this.liveRegion))}});t.ui.autocomplete;var u=/ui-corner-([a-z]){2,6}/g;t.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,i=[];t.each(this.options.items,function(n,r){var o,a={};if(r)return"controlgroupLabel"===n?((o=e.element.find(r)).each(function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),e._addClass(o,null,"ui-widget ui-widget-content ui-state-default"),void(i=i.concat(o.get()))):void(t.fn[n]&&(a=e["_"+n+"Options"]?e["_"+n+"Options"]("middle"):{classes:{}},e.element.find(r).each(function(){var r=t(this),o=r[n]("instance"),s=t.widget.extend({},a);if("button"!==n||!r.parent(".ui-spinner").length){o||(o=r[n]()[n]("instance")),o&&(s.classes=e._resolveClassesValues(s.classes,o)),r[n](s);var l=r[n]("widget");t.data(l[0],"ui-controlgroup-data",o||r[n]("instance")),i.push(l[0])}})))}),this.childWidgets=t(t.unique(i)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var i=t(this).data("ui-controlgroup-data");i&&i[e]&&i[e]()})},_updateCornerClass:function(t,e){var i=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,i)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(e,i){var n={};return t.each(e,function(r){var o=i.options.classes[r]||"";o=t.trim(o.replace(u,"")),n[r]=(o+" "+e[r]).replace(/\s+/g," ")}),n},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,n){var r=e[n]().data("ui-controlgroup-data");if(r&&i["_"+r.widgetName+"Options"]){var o=i["_"+r.widgetName+"Options"](1===e.length?"only":n);o.classes=i._resolveClassesValues(o.classes,r),r.element[r.widgetName](o)}else i._updateCornerClass(e[n](),n)}),this._callChildMethod("refresh"))}});t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i,n=this,r=this._super()||{};return this._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){n.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML}),this.originalLabel&&(r.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(r.disabled=e),r},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,i="input[name='"+t.ui.escapeSelector(e)+"']";return e?(this.form.length?t(this.form[0].elements).filter(i):t(i).filter(function(){return 0===t(this).form().length})).not(this.element):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if("label"!==t||e){if(this._super(t,e),"disabled"===t)return this._toggleClass(this.label,null,"ui-state-disabled",e),void(this.element[0].disabled=e);this.refresh()}},_updateIcon:function(e){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t("<span>"),this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(i+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]);t.ui.checkboxradio;t.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),null!=(t=this.element[0].disabled)&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===t.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,i){var n="iconPosition"!==e,r=n?this.options.iconPosition:i,o="top"===r||"bottom"===r;this.icon?n&&this._removeClass(this.icon,null,this.options.icon):(this.icon=t("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),n&&this._addClass(this.icon,null,i),this._attachIcon(r),o?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(r))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=void 0===t.showLabel?this.options.showLabel:t.showLabel,i=void 0===t.icon?this.options.icon:t.icon;e||i||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),this.element[0].disabled=e,e&&this.element.blur())},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==t.uiBackCompat&&(t.widget("ui.button",t.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,e){"text"!==t?("showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",e)}}),t.fn.button=function(e){return function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?e.apply(this,arguments):(t.ui.checkboxradio||t.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}}(t.fn.button),t.fn.buttonset=function(){return t.ui.controlgroup||t.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});var h;t.ui.button;function d(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=f(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function f(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",i,function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",i,p)}function p(){t.datepicker._isDisabledDatepicker(h.inline?h.dpDiv.parent()[0]:h.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function g(e,i){for(var n in t.extend(e,i),i)null==i[n]&&(e[n]=i[n]);return e}t.extend(t.ui,{datepicker:{version:"1.12.1"}}),t.extend(d.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return g(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var n,r,o;r="div"===(n=e.nodeName.toLowerCase())||"span"===n,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(o=this._newInst(t(e),r)).settings=t.extend({},i||{}),"input"===n?this._connectDatepicker(e,o):r&&this._inlineDatepicker(e,o)},_newInst:function(e,i){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?f(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,i){var n=t(e);i.append=t([]),i.trigger=t([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),t.data(e,"datepicker",i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var n,r,o,a=this._get(i,"appendText"),s=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=t("<span class='"+this._appendClass+"'>"+a+"</span>"),e[s?"before":"after"](i.append)),e.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(r=this._get(i,"buttonText"),o=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t("<img/>").addClass(this._triggerClass).attr({src:o,alt:r,title:r}):t("<button type='button'></button>").addClass(this._triggerClass).html(o?t("<img/>").attr({src:o,alt:r,title:r}):r)),e[s?"before":"after"](i.trigger),i.trigger.on("click",function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,r,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(i=0,n=0,r=0;r<t.length;r++)t[r].length>i&&(i=t[r].length,n=r);return n},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(e,i){var n=t(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),t.data(e,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,n,r,o){var a,s,l,c,u,h=this._dialogInst;return h||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),(h=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},t.data(this._dialogInput[0],"datepicker",h)),g(h.settings,r||{}),i=i&&i.constructor===Date?this._formatDate(h,i):i,this._dialogInput.val(i),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(s=document.documentElement.clientWidth,l=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+c,l/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),h.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",h),this},_destroyDatepicker:function(e){var i,n=t(e),r=t.data(e,"datepicker");n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,"datepicker"),"input"===i?(r.append.remove(),r.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==i&&"span"!==i||n.removeClass(this.markerClassName).empty(),h===r&&(h=null))},_enableDatepicker:function(e){var i,n,r=t(e),o=t.data(e,"datepicker");r.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!1,o.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=r.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,n,r=t(e),o=t.data(e,"datepicker");r.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!0,o.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=r.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,i,n){var r,o,a,s,l=this._getInst(e);if(2===arguments.length&&"string"==typeof i)return"defaults"===i?t.extend({},t.datepicker._defaults):l?"all"===i?t.extend({},l.settings):this._get(l,i):null;r=i||{},"string"==typeof i&&((r={})[i]=n),l&&(this._curInst===l&&this._hideDatepicker(),o=this._getDateDatepicker(e,!0),a=this._getMinMaxDate(l,"min"),s=this._getMinMaxDate(l,"max"),g(l.settings,r),null!==a&&void 0!==r.dateFormat&&void 0===r.minDate&&(l.settings.minDate=this._formatDate(l,a)),null!==s&&void 0!==r.dateFormat&&void 0===r.maxDate&&(l.settings.maxDate=this._formatDate(l,s)),"disabled"in r&&(r.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(t(e),l),this._autoSize(l),this._setDate(l,o),this._updateAlternate(l),this._updateDatepicker(l))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,n,r,o=t.datepicker._getInst(e.target),a=!0,s=o.dpDiv.is(".ui-datepicker-rtl");if(o._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),a=!1;break;case 13:return(r=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",o.dpDiv))[0]&&t.datepicker._selectDay(e.target,o.selectedMonth,o.selectedYear,r[0]),(i=t.datepicker._get(o,"onSelect"))?(n=t.datepicker._formatDate(o),i.apply(o.input?o.input[0]:null,[n,o])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,s?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,s?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var i,n,r=t.datepicker._getInst(e.target);if(t.datepicker._get(r,"constrainInput"))return i=t.datepicker._possibleChars(t.datepicker._get(r,"dateFormat")),n=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||n<" "||!i||i.indexOf(n)>-1},_doKeyUp:function(e){var i=t.datepicker._getInst(e.target);if(i.input.val()!==i.lastVal)try{t.datepicker.parseDate(t.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,t.datepicker._getFormatConfig(i))&&(t.datepicker._setDateFromField(i),t.datepicker._updateAlternate(i),t.datepicker._updateDatepicker(i))}catch(t){}return!0},_showDatepicker:function(e){var i,n,r,o,a,s,l;("input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),t.datepicker._isDisabledDatepicker(e)||t.datepicker._lastInput===e)||(i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),!1!==(r=(n=t.datepicker._get(i,"beforeShow"))?n.apply(e,[e,i]):{})&&(g(i.settings,r),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),o=!1,t(e).parents().each(function(){return!(o|="fixed"===t(this).css("position"))}),a={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),a=t.datepicker._checkOffset(i,a,o),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":o?"fixed":"absolute",display:"none",left:a.left+"px",top:a.top+"px"}),i.inline||(s=t.datepicker._get(i,"showAnim"),l=t.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(t){for(var e,i;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}(t(e))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[s]?i.dpDiv.show(s,t.datepicker._get(i,"showOptions"),l):i.dpDiv[s||"show"](s?l:null),t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),t.datepicker._curInst=i)))},_updateDatepicker:function(e){this.maxRows=4,h=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var i,n=this._getNumberOfMonths(e),r=n[1],o=e.dpDiv.find("."+this._dayOverClass+" a");o.length>0&&p.apply(o.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),r>1&&e.dpDiv.addClass("ui-datepicker-multi-"+r).css("width",17*r+"em"),e.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,n){var r=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,s=e.input?e.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:t(document).scrollLeft()),c=document.documentElement.clientHeight+(n?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?r-a:0,i.left-=n&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=n&&i.top===e.input.offset().top+s?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+r>l&&l>r?Math.abs(i.left+r-l):0),i.top-=Math.min(i.top,i.top+o>c&&c>o?Math.abs(o+s):0),i},_findPos:function(e){for(var i,n=this._getInst(e),r=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[r?"previousSibling":"nextSibling"];return[(i=t(e).offset()).left,i.top]},_hideDatepicker:function(e){var i,n,r,o,a=this._curInst;!a||e&&a!==t.data(e,"datepicker")||this._datepickerShowing&&(i=this._get(a,"showAnim"),n=this._get(a,"duration"),r=function(){t.datepicker._tidyDialog(a)},t.effects&&(t.effects.effect[i]||t.effects[i])?a.dpDiv.hide(i,t.datepicker._get(a,"showOptions"),n,r):a.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,r),i||r(),this._datepickerShowing=!1,(o=this._get(a,"onClose"))&&o.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),n=t.datepicker._getInst(i[0]);(i[0].id===t.datepicker._mainDivId||0!==i.parents("#"+t.datepicker._mainDivId).length||i.hasClass(t.datepicker.markerClassName)||i.closest("."+t.datepicker._triggerClass).length||!t.datepicker._datepickerShowing||t.datepicker._inDialog&&t.blockUI)&&(!i.hasClass(t.datepicker.markerClassName)||t.datepicker._curInst===n)||t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,n){var r=t(e),o=this._getInst(r[0]);this._isDisabledDatepicker(r[0])||(this._adjustInstDate(o,i+("M"===n?this._get(o,"showCurrentAtPos"):0),n),this._updateDatepicker(o))},_gotoToday:function(e){var i,n=t(e),r=this._getInst(n[0]);this._get(r,"gotoCurrent")&&r.currentDay?(r.selectedDay=r.currentDay,r.drawMonth=r.selectedMonth=r.currentMonth,r.drawYear=r.selectedYear=r.currentYear):(i=new Date,r.selectedDay=i.getDate(),r.drawMonth=r.selectedMonth=i.getMonth(),r.drawYear=r.selectedYear=i.getFullYear()),this._notifyChange(r),this._adjustDate(n)},_selectMonthYear:function(e,i,n){var r=t(e),o=this._getInst(r[0]);o["selected"+("M"===n?"Month":"Year")]=o["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(r)},_selectDay:function(e,i,n,r){var o,a=t(e);t(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((o=this._getInst(a[0])).selectedDay=o.currentDay=t("a",r).html(),o.selectedMonth=o.currentMonth=i,o.selectedYear=o.currentYear=n,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var n,r=t(e),o=this._getInst(r[0]);i=null!=i?i:this._formatDate(o),o.input&&o.input.val(i),this._updateAlternate(o),(n=this._get(o,"onSelect"))?n.apply(o.input?o.input[0]:null,[i,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var i,n,r,o=this._get(e,"altField");o&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),r=this.formatDate(i,n,this._getFormatConfig(e)),t(o).val(r))},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,n){if(null==e||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var r,o,a,s,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),h=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,d=(n?n.dayNames:null)||this._defaults.dayNames,f=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,p=(n?n.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,v=-1,y=-1,b=!1,L=function(t){var i=r+1<e.length&&e.charAt(r+1)===t;return i&&r++,i},x=function(t){var e=L(t),n="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,r=new RegExp("^\\d{"+("y"===t?n:1)+","+n+"}"),o=i.substring(l).match(r);if(!o)throw"Missing number at position "+l;return l+=o[0].length,parseInt(o[0],10)},w=function(e,n,r){var o=-1,a=t.map(L(e)?r:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(a,function(t,e){var n=e[1];if(i.substr(l,n.length).toLowerCase()===n.toLowerCase())return o=e[0],l+=n.length,!1}),-1!==o)return o+1;throw"Unknown name at position "+l},_=function(){if(i.charAt(l)!==e.charAt(r))throw"Unexpected literal at position "+l;l++};for(r=0;r<e.length;r++)if(b)"'"!==e.charAt(r)||L("'")?_():b=!1;else switch(e.charAt(r)){case"d":v=x("d");break;case"D":w("D",h,d);break;case"o":y=x("o");break;case"m":m=x("m");break;case"M":m=w("M",f,p);break;case"y":g=x("y");break;case"@":g=(s=new Date(x("@"))).getFullYear(),m=s.getMonth()+1,v=s.getDate();break;case"!":g=(s=new Date((x("!")-this._ticksTo1970)/1e4)).getFullYear(),m=s.getMonth()+1,v=s.getDate();break;case"'":L("'")?_():b=!0;break;default:_()}if(l<i.length&&(a=i.substr(l),!/^\s+/.test(a)))throw"Extra/unparsed characters found in date: "+a;if(-1===g?g=(new Date).getFullYear():g<100&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(g<=u?0:-100)),y>-1)for(m=1,v=y;;){if(v<=(o=this._getDaysInMonth(g,m-1)))break;m++,v-=o}if((s=this._daylightSavingAdjust(new Date(g,m-1,v))).getFullYear()!==g||s.getMonth()+1!==m||s.getDate()!==v)throw"Invalid date";return s},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return"";var n,r=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,s=(i?i.monthNames:null)||this._defaults.monthNames,l=function(e){var i=n+1<t.length&&t.charAt(n+1)===e;return i&&n++,i},c=function(t,e,i){var n=""+e;if(l(t))for(;n.length<i;)n="0"+n;return n},u=function(t,e,i,n){return l(t)?n[e]:i[e]},h="",d=!1;if(e)for(n=0;n<t.length;n++)if(d)"'"!==t.charAt(n)||l("'")?h+=t.charAt(n):d=!1;else switch(t.charAt(n)){case"d":h+=c("d",e.getDate(),2);break;case"D":h+=u("D",e.getDay(),r,o);break;case"o":h+=c("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":h+=c("m",e.getMonth()+1,2);break;case"M":h+=u("M",e.getMonth(),a,s);break;case"y":h+=l("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":h+=e.getTime();break;case"!":h+=1e4*e.getTime()+this._ticksTo1970;break;case"'":l("'")?h+="'":d=!0;break;default:h+=t.charAt(n)}return h},_possibleChars:function(t){var e,i="",n=!1,r=function(i){var n=e+1<t.length&&t.charAt(e+1)===i;return n&&e++,n};for(e=0;e<t.length;e++)if(n)"'"!==t.charAt(e)||r("'")?i+=t.charAt(e):n=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":r("'")?i+="'":n=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,e){return void 0!==t.settings[e]?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,r=this._getDefaultDate(t),o=r,a=this._getFormatConfig(t);try{o=this.parseDate(i,n,a)||r}catch(t){n=e?"":n}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=n?o.getDate():0,t.currentMonth=n?o.getMonth():0,t.currentYear=n?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,n){var r=null==i||""===i?n:"string"==typeof i?function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(t){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,r=n.getFullYear(),o=n.getMonth(),a=n.getDate(),s=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=s.exec(i);l;){switch(l[2]||"d"){case"d":case"D":a+=parseInt(l[1],10);break;case"w":case"W":a+=7*parseInt(l[1],10);break;case"m":case"M":o+=parseInt(l[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(r,o));break;case"y":case"Y":r+=parseInt(l[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(r,o))}l=s.exec(i)}return new Date(r,o,a)}(i):"number"==typeof i?isNaN(i)?n:function(t){var e=new Date;return e.setDate(e.getDate()+t),e}(i):new Date(i.getTime());return(r=r&&"Invalid Date"===r.toString()?n:r)&&(r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0)),this._daylightSavingAdjust(r)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,r=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),r===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(n,-i,"M")},next:function(){t.datepicker._adjustDate(n,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(n)},selectDay:function(){return t.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(n,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,n,r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L,x,w,_,S,C,k,T,E,A,M,D,P,O,I,N,R,F,B,z,H=new Date,V=this._daylightSavingAdjust(new Date(H.getFullYear(),H.getMonth(),H.getDate())),j=this._get(t,"isRTL"),W=this._get(t,"showButtonPanel"),U=this._get(t,"hideIfNoPrevNext"),Y=this._get(t,"navigationAsDateFormat"),G=this._getNumberOfMonths(t),X=this._get(t,"showCurrentAtPos"),q=this._get(t,"stepMonths"),$=1!==G[0]||1!==G[1],Z=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),K=this._getMinMaxDate(t,"min"),Q=this._getMinMaxDate(t,"max"),J=t.drawMonth-X,tt=t.drawYear;if(J<0&&(J+=12,tt--),Q)for(e=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-G[0]*G[1]+1,Q.getDate())),e=K&&e<K?K:e;this._daylightSavingAdjust(new Date(tt,J,1))>e;)--J<0&&(J=11,tt--);for(t.drawMonth=J,t.drawYear=tt,i=this._get(t,"prevText"),i=Y?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,J-q,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,J)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(j?"e":"w")+"'>"+i+"</span></a>":U?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(j?"e":"w")+"'>"+i+"</span></a>",r=this._get(t,"nextText"),r=Y?this.formatDate(r,this._daylightSavingAdjust(new Date(tt,J+q,1)),this._getFormatConfig(t)):r,o=this._canAdjustMonth(t,1,tt,J)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+r+"'><span class='ui-icon ui-icon-circle-triangle-"+(j?"w":"e")+"'>"+r+"</span></a>":U?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+r+"'><span class='ui-icon ui-icon-circle-triangle-"+(j?"w":"e")+"'>"+r+"</span></a>",a=this._get(t,"currentText"),s=this._get(t,"gotoCurrent")&&t.currentDay?Z:V,a=Y?this.formatDate(a,s,this._getFormatConfig(t)):a,l=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",c=W?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(j?l:"")+(this._isInRange(t,s)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"</button>":"")+(j?"":l)+"</div>":"",u=parseInt(this._get(t,"firstDay"),10),u=isNaN(u)?0:u,h=this._get(t,"showWeek"),d=this._get(t,"dayNames"),f=this._get(t,"dayNamesMin"),p=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),y=this._get(t,"selectOtherMonths"),b=this._getDefaultDate(t),L="",w=0;w<G[0];w++){for(_="",this.maxRows=4,S=0;S<G[1];S++){if(C=this._daylightSavingAdjust(new Date(tt,J,t.selectedDay)),k=" ui-corner-all",T="",$){if(T+="<div class='ui-datepicker-group",G[1]>1)switch(S){case 0:T+=" ui-datepicker-group-first",k=" ui-corner-"+(j?"right":"left");break;case G[1]-1:T+=" ui-datepicker-group-last",k=" ui-corner-"+(j?"left":"right");break;default:T+=" ui-datepicker-group-middle",k=""}T+="'>"}for(T+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+k+"'>"+(/all|left/.test(k)&&0===w?j?o:n:"")+(/all|right/.test(k)&&0===w?j?n:o:"")+this._generateMonthYearHeader(t,J,tt,K,Q,w>0||S>0,p,g)+"</div><table class='ui-datepicker-calendar'><thead><tr>",E=h?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",x=0;x<7;x++)E+="<th scope='col'"+((x+u+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+d[A=(x+u)%7]+"'>"+f[A]+"</span></th>";for(T+=E+"</tr></thead><tbody>",M=this._getDaysInMonth(tt,J),tt===t.selectedYear&&J===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,M)),D=(this._getFirstDayOfMonth(tt,J)-u+7)%7,P=Math.ceil((D+M)/7),O=$&&this.maxRows>P?this.maxRows:P,this.maxRows=O,I=this._daylightSavingAdjust(new Date(tt,J,1-D)),N=0;N<O;N++){for(T+="<tr>",R=h?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(I)+"</td>":"",x=0;x<7;x++)F=m?m.apply(t.input?t.input[0]:null,[I]):[!0,""],z=(B=I.getMonth()!==J)&&!y||!F[0]||K&&I<K||Q&&I>Q,R+="<td class='"+((x+u+6)%7>=5?" ui-datepicker-week-end":"")+(B?" ui-datepicker-other-month":"")+(I.getTime()===C.getTime()&&J===t.selectedMonth&&t._keyEvent||b.getTime()===I.getTime()&&b.getTime()===C.getTime()?" "+this._dayOverClass:"")+(z?" "+this._unselectableClass+" ui-state-disabled":"")+(B&&!v?"":" "+F[1]+(I.getTime()===Z.getTime()?" "+this._currentClass:"")+(I.getTime()===V.getTime()?" ui-datepicker-today":""))+"'"+(B&&!v||!F[2]?"":" title='"+F[2].replace(/'/g,"&#39;")+"'")+(z?"":" data-handler='selectDay' data-event='click' data-month='"+I.getMonth()+"' data-year='"+I.getFullYear()+"'")+">"+(B&&!v?"&#xa0;":z?"<span class='ui-state-default'>"+I.getDate()+"</span>":"<a class='ui-state-default"+(I.getTime()===V.getTime()?" ui-state-highlight":"")+(I.getTime()===Z.getTime()?" ui-state-active":"")+(B?" ui-priority-secondary":"")+"' href='#'>"+I.getDate()+"</a>")+"</td>",I.setDate(I.getDate()+1),I=this._daylightSavingAdjust(I);T+=R+"</tr>"}++J>11&&(J=0,tt++),_+=T+="</tbody></table>"+($?"</div>"+(G[0]>0&&S===G[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}L+=_}return L+=c,t._keyEvent=!1,L},_generateMonthYearHeader:function(t,e,i,n,r,o,a,s){var l,c,u,h,d,f,p,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),y=this._get(t,"showMonthAfterYear"),b="<div class='ui-datepicker-title'>",L="";if(o||!m)L+="<span class='ui-datepicker-month'>"+a[e]+"</span>";else{for(l=n&&n.getFullYear()===i,c=r&&r.getFullYear()===i,L+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=n.getMonth())&&(!c||u<=r.getMonth())&&(L+="<option value='"+u+"'"+(u===e?" selected='selected'":"")+">"+s[u]+"</option>");L+="</select>"}if(y||(b+=L+(!o&&m&&v?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",o||!v)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(h=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=(f=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e})(h[0]),g=Math.max(p,f(h[1]||"")),p=n?Math.max(p,n.getFullYear()):p,g=r?Math.min(g,r.getFullYear()):g,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";p<=g;p++)t.yearshtml+="<option value='"+p+"'"+(p===i?" selected='selected'":"")+">"+p+"</option>";t.yearshtml+="</select>",b+=t.yearshtml,t.yearshtml=null}return b+=this._get(t,"yearSuffix"),y&&(b+=(!o&&m&&v?"":"&#xa0;")+L),b+="</div>"},_adjustInstDate:function(t,e,i){var n=t.selectedYear+("Y"===i?e:0),r=t.selectedMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(n,r))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,r,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),r=i&&e<i?i:e;return n&&r>n?n:r},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var r=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,n+(e<0?e:r[0]*r[1]),1));return e<0&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,n,r=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,s=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),a=parseInt(i[0],10),s=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=n),i[1].match(/[+\-].*/)&&(s+=n)),(!r||e.getTime()>=r.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!s||e.getFullYear()<=s)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var r=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),r,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new d,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.12.1";t.datepicker,t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var m=!1;t(document).on("mouseup",function(){m=!1});t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){if(!0===t.data(i.target,e.widgetName+".preventClickEvent"))return t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!m){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,n=1===e.which,r=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&t(e.target).closest(this.options.cancel).length;return!(n&&!r&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),m=!0,!0))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,m=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,n){var r,o=t.ui[e].prototype;for(r in n)o.plugins[r]=o.plugins[r]||[],o.plugins[r].push([i,n[r]])},call:function(t,e,i,n){var r,o=t.plugins[e];if(o&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(r=0;r<o.length;r++)t.options[o[r][0]]&&o[r][1].apply(t.element,i)}},t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")};t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var i=this.options;return!(this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===i.iframeFix?"iframe":i.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var i=t.ui.safeActiveElement(this.document[0]);t(e.target).closest(i).length||t.ui.safeBlur(i)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,i){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!i){var n=this._uiHash();if(!1===this._trigger("drag",e,n))return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i=this,n=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(n=t.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==i._trigger("stop",e)&&i._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper),r=n?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),n&&r[0]===this.element[0]&&this._setPositionRelative(),r[0]===this.element[0]||/(fixed|absolute)/.test(r.css("position"))||r.css("position","absolute"),r},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,r=this.options,o=this.document[0];this.relativeContainer=null,r.containment?"window"!==r.containment?"document"!==r.containment?r.containment.constructor!==Array?("parent"===r.containment&&(r.containment=this.helper[0].parentNode),(n=(i=t(r.containment))[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)):this.containment=r.containment:this.containment=[0,0,t(o).width()-this.helperProportions.width-this.margins.left,(t(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,n=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top)*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)*i}},_generatePosition:function(t,e){var i,n,r,o,a=this.options,s=this._isRootNode(this.scrollParent[0]),l=t.pageX,c=t.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(n=this.relativeContainer.offset(),i=[this.containment[0]+n.left,this.containment[1]+n.top,this.containment[2]+n.left,this.containment[3]+n.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(c=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(c=i[3]+this.offset.click.top)),a.grid&&(r=a.grid[1]?this.originalPageY+Math.round((c-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,c=i?r-this.offset.click.top>=i[1]||r-this.offset.click.top>i[3]?r:r-this.offset.click.top>=i[1]?r-a.grid[1]:r+a.grid[1]:r,o=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,l=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o),"y"===a.axis&&(l=this.originalPageX),"x"===a.axis&&(c=this.originalPageY)),{top:c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,i,n){return n=n||this._uiHash(),t.ui.plugin.call(this,e,[i,n,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,i,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i,n){var r=t.extend({},i,{item:n.element});n.sortables=[],t(n.options.connectToSortable).each(function(){var i=t(this).sortable("instance");i&&!i.options.disabled&&(n.sortables.push(i),i.refreshPositions(),i._trigger("activate",e,r))})},stop:function(e,i,n){var r=t.extend({},i,{item:n.element});n.cancelHelperRemoval=!1,t.each(n.sortables,function(){this.isOver?(this.isOver=0,n.cancelHelperRemoval=!0,this.cancelHelperRemoval=!1,this._storedCSS={position:this.placeholder.css("position"),top:this.placeholder.css("top"),left:this.placeholder.css("left")},this._mouseStop(e),this.options.helper=this.options._helper):(this.cancelHelperRemoval=!0,this._trigger("deactivate",e,r))})},drag:function(e,i,n){t.each(n.sortables,function(){var r=!1,o=this;o.positionAbs=n.positionAbs,o.helperProportions=n.helperProportions,o.offset.click=n.offset.click,o._intersectsWith(o.containerCache)&&(r=!0,t.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==o&&this._intersectsWith(this.containerCache)&&t.contains(o.element[0],this.element[0])&&(r=!1),r})),r?(o.isOver||(o.isOver=1,n._parent=i.helper.parent(),o.currentItem=i.helper.appendTo(o.element).data("ui-sortable-item",!0),o.options._helper=o.options.helper,o.options.helper=function(){return i.helper[0]},e.target=o.currentItem[0],o._mouseCapture(e,!0),o._mouseStart(e,!0,!0),o.offset.click.top=n.offset.click.top,o.offset.click.left=n.offset.click.left,o.offset.parent.left-=n.offset.parent.left-o.offset.parent.left,o.offset.parent.top-=n.offset.parent.top-o.offset.parent.top,n._trigger("toSortable",e),n.dropped=o.element,t.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,o.fromOutside=n),o.currentItem&&(o._mouseDrag(e),i.position=o.position)):o.isOver&&(o.isOver=0,o.cancelHelperRemoval=!0,o.options._revert=o.options.revert,o.options.revert=!1,o._trigger("out",e,o._uiHash(o)),o._mouseStop(e,!0),o.options.revert=o.options._revert,o.options.helper=o.options._helper,o.placeholder&&o.placeholder.remove(),i.helper.appendTo(n._parent),n._refreshOffsets(e),i.position=n._generatePosition(e,!0),n._trigger("fromSortable",e),n.dropped=!1,t.each(n.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,i,n){var r=t("body"),o=n.options;r.css("cursor")&&(o._cursor=r.css("cursor")),r.css("cursor",o.cursor)},stop:function(e,i,n){var r=n.options;r._cursor&&t("body").css("cursor",r._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i,n){var r=t(i.helper),o=n.options;r.css("opacity")&&(o._opacity=r.css("opacity")),r.css("opacity",o.opacity)},stop:function(e,i,n){var r=n.options;r._opacity&&t(i.helper).css("opacity",r._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,i,n){var r=n.options,o=!1,a=n.scrollParentNotHidden[0],s=n.document[0];a!==s&&"HTML"!==a.tagName?(r.axis&&"x"===r.axis||(n.overflowOffset.top+a.offsetHeight-e.pageY<r.scrollSensitivity?a.scrollTop=o=a.scrollTop+r.scrollSpeed:e.pageY-n.overflowOffset.top<r.scrollSensitivity&&(a.scrollTop=o=a.scrollTop-r.scrollSpeed)),r.axis&&"y"===r.axis||(n.overflowOffset.left+a.offsetWidth-e.pageX<r.scrollSensitivity?a.scrollLeft=o=a.scrollLeft+r.scrollSpeed:e.pageX-n.overflowOffset.left<r.scrollSensitivity&&(a.scrollLeft=o=a.scrollLeft-r.scrollSpeed))):(r.axis&&"x"===r.axis||(e.pageY-t(s).scrollTop()<r.scrollSensitivity?o=t(s).scrollTop(t(s).scrollTop()-r.scrollSpeed):t(window).height()-(e.pageY-t(s).scrollTop())<r.scrollSensitivity&&(o=t(s).scrollTop(t(s).scrollTop()+r.scrollSpeed))),r.axis&&"y"===r.axis||(e.pageX-t(s).scrollLeft()<r.scrollSensitivity?o=t(s).scrollLeft(t(s).scrollLeft()-r.scrollSpeed):t(window).width()-(e.pageX-t(s).scrollLeft())<r.scrollSensitivity&&(o=t(s).scrollLeft(t(s).scrollLeft()+r.scrollSpeed)))),!1!==o&&t.ui.ddmanager&&!r.dropBehaviour&&t.ui.ddmanager.prepareOffsets(n,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,i,n){var r=n.options;n.snapElements=[],t(r.snap.constructor!==String?r.snap.items||":data(ui-draggable)":r.snap).each(function(){var e=t(this),i=e.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:i.top,left:i.left})})},drag:function(e,i,n){var r,o,a,s,l,c,u,h,d,f,p=n.options,g=p.snapTolerance,m=i.offset.left,v=m+n.helperProportions.width,y=i.offset.top,b=y+n.helperProportions.height;for(d=n.snapElements.length-1;d>=0;d--)c=(l=n.snapElements[d].left-n.margins.left)+n.snapElements[d].width,h=(u=n.snapElements[d].top-n.margins.top)+n.snapElements[d].height,v<l-g||m>c+g||b<u-g||y>h+g||!t.contains(n.snapElements[d].item.ownerDocument,n.snapElements[d].item)?(n.snapElements[d].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=!1):("inner"!==p.snapMode&&(r=Math.abs(u-b)<=g,o=Math.abs(h-y)<=g,a=Math.abs(l-v)<=g,s=Math.abs(c-m)<=g,r&&(i.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),o&&(i.position.top=n._convertPositionTo("relative",{top:h,left:0}).top),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),s&&(i.position.left=n._convertPositionTo("relative",{top:0,left:c}).left)),f=r||o||a||s,"outer"!==p.snapMode&&(r=Math.abs(u-y)<=g,o=Math.abs(h-b)<=g,a=Math.abs(l-m)<=g,s=Math.abs(c-v)<=g,r&&(i.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),o&&(i.position.top=n._convertPositionTo("relative",{top:h-n.helperProportions.height,left:0}).top),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),s&&(i.position.left=n._convertPositionTo("relative",{top:0,left:c-n.helperProportions.width}).left)),!n.snapElements[d].snapping&&(r||o||a||s||f)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=r||o||a||s||f)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,n){var r,o=n.options,a=t.makeArray(t(o.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});a.length&&(r=parseInt(t(a[0]).css("zIndex"),10)||0,t(a).each(function(e){t(this).css("zIndex",r+e)}),this.css("zIndex",r+a.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,n){var r=t(i.helper),o=n.options;r.css("zIndex")&&(o._zIndex=r.css("zIndex")),r.css("zIndex",o.zIndex)},stop:function(e,i,n){var r=n.options;r._zIndex&&t(i.helper).css("zIndex",r._zIndex)}});t.ui.draggable;t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var n,r=i&&"left"===i?"scrollLeft":"scrollTop";return e[r]>0||(e[r]=1,n=e[r]>0,e[r]=0,n)},_create:function(){var e,i=this.options,n=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())}).on("mouseleave",function(){i.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var e,i,n,r,o,a=this.options,s=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},i=0;i<n.length;i++)r="ui-resizable-"+(e=t.trim(n[i])),o=t("<div>"),this._addClass(o,"ui-resizable-handle "+r),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,n,r,o;for(i in e=e||this.element,this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:s._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?n.outerHeight():n.outerWidth(),r=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(r,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){s.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),s.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,n,r=!1;for(i in this.handles)((n=t(this.handles[i])[0])===e.target||t.contains(n,e.target))&&(r=!0);return!this.options.disabled&&r},_mouseStart:function(e){var i,n,r,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,n+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:n},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,r=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===r?this.axis+"-resize":r),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,n,r=this.originalMousePosition,o=this.axis,a=e.pageX-r.left||0,s=e.pageY-r.top||0,l=this._change[o];return this._updatePrevProperties(),!!l&&(i=l.apply(this,[e,a,s]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var i,n,r,o,a,s,l,c=this.options;return this._helper&&(r=(n=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:this.sizeDiff.height,o=n?0:this.sizeDiff.width,a={width:this.helper.width()-o,height:this.helper.height()-r},s=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)||null,l=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,c.animate||this.element.css(t.extend(a,{top:l,left:s})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper&&!c.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,n,r,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,n=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,r=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),n>o.minHeight&&(o.minHeight=n),i<o.maxWidth&&(o.maxWidth=i),r<o.maxHeight&&(o.maxHeight=r)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,n=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,n=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,r=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,o=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,s=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,c=/sw|nw|w/.test(i),u=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),r&&(t.height=e.maxHeight),o&&c&&(t.left=s-e.minWidth),n&&c&&(t.left=s-e.maxWidth),a&&u&&(t.top=l-e.minHeight),r&&u&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],n=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],r=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(n[e])||0,i[e]+=parseFloat(r[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e<this._proportionallyResizeElements.length;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},sw:function(e,i,n){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,n]))},ne:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,n]))},nw:function(e,i,n){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,n]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),n=i.options,r=i._proportionallyResizeElements,o=r.length&&/textarea/i.test(r[0].nodeName),a=o&&i._hasScroll(r[0],"left")?0:i.sizeDiff.height,s=o?0:i.sizeDiff.width,l={width:i.size.width-s,height:i.size.height-a},c=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,u=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,u&&c?{top:u,left:c}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var n={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};r&&r.length&&t(r[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,n,r,o,a,s,l=t(this).resizable("instance"),c=l.options,u=l.element,h=c.containment,d=h instanceof t?h.get(0):/parent/.test(h)?u.parent().get(0):h;d&&(l.containerElement=t(d),/document/.test(h)||h===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){i[t]=l._num(e.css("padding"+n))}),l.containerOffset=e.offset(),l.containerPosition=e.position(),l.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},n=l.containerOffset,r=l.containerSize.height,o=l.containerSize.width,a=l._hasScroll(d,"left")?d.scrollWidth:o,s=l._hasScroll(d)?d.scrollHeight:r,l.parentData={element:d,left:n.left,top:n.top,width:a,height:s}))},resize:function(e){var i,n,r,o,a=t(this).resizable("instance"),s=a.options,l=a.containerOffset,c=a.position,u=a._aspectRatio||e.shiftKey,h={top:0,left:0},d=a.containerElement,f=!0;d[0]!==document&&/static/.test(d.css("position"))&&(h=l),c.left<(a._helper?l.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-l.left:a.position.left-h.left),u&&(a.size.height=a.size.width/a.aspectRatio,f=!1),a.position.left=s.helper?l.left:0),c.top<(a._helper?l.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-l.top:a.position.top),u&&(a.size.width=a.size.height*a.aspectRatio,f=!1),a.position.top=a._helper?l.top:0),r=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),r&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-h.left:a.offset.left-l.left)),n=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-h.top:a.offset.top-l.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,u&&(a.size.height=a.size.width/a.aspectRatio,f=!1)),n+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-n,u&&(a.size.width=a.size.height*a.aspectRatio,f=!1)),f||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,n=e.containerOffset,r=e.containerPosition,o=e.containerElement,a=t(e.helper),s=a.offset(),l=a.outerWidth()-e.sizeDiff.width,c=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:s.left-r.left-n.left,width:l,height:c}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:s.left-r.left-n.left,width:l,height:c})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance").options;t(e.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var n=t(this).resizable("instance"),r=n.options,o=n.originalSize,a=n.originalPosition,s={height:n.size.height-o.height||0,width:n.size.width-o.width||0,top:n.position.top-a.top||0,left:n.position.left-a.left||0};t(r.alsoResize).each(function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),r={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(n[e]||0)+(s[e]||0);i&&i>=0&&(r[e]=i||null)}),e.css(r)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==t.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),n=i.options,r=i.size,o=i.originalSize,a=i.originalPosition,s=i.axis,l="number"==typeof n.grid?[n.grid,n.grid]:n.grid,c=l[0]||1,u=l[1]||1,h=Math.round((r.width-o.width)/c)*c,d=Math.round((r.height-o.height)/u)*u,f=o.width+h,p=o.height+d,g=n.maxWidth&&n.maxWidth<f,m=n.maxHeight&&n.maxHeight<p,v=n.minWidth&&n.minWidth>f,y=n.minHeight&&n.minHeight>p;n.grid=l,v&&(f+=c),y&&(p+=u),g&&(f-=c),m&&(p-=u),/^(se|s|e)$/.test(s)?(i.size.width=f,i.size.height=p):/^(ne)$/.test(s)?(i.size.width=f,i.size.height=p,i.position.top=a.top-d):/^(sw)$/.test(s)?(i.size.width=f,i.size.height=p,i.position.left=a.left-h):((p-u<=0||f-c<=0)&&(e=i._getPaddingPlusBorderDimensions(this)),p-u>0?(i.size.height=p,i.position.top=a.top-d):(p=u-e.height,i.size.height=p,i.position.top=a.top+o.height-p),f-c>0?(i.size.width=f,i.position.left=a.left-h):(f=c-e.width,i.size.width=f,i.position.left=a.left+o.width-f))}});t.ui.resizable;t.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;i<0&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||t.ui.safeBlur(t.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,i){var n=!1,r=this.uiDialog.siblings(".ui-front:visible").map(function(){return+t(this).css("z-index")}).get(),o=Math.max.apply(null,r);return o>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",o+1),n=!0),n&&!i&&this._trigger("focus",e),n},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=t(t.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;t||(t=this.element.find("[autofocus]")),t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).trigger("focus")},_keepFocus:function(e){function i(){var e=t.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||t.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=t("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===t.ui.keyCode.TAB&&!e.isDefaultPrevented()){var i=this.uiDialog.find(":tabbable"),n=i.filter(":first"),r=i.filter(":last");e.target!==r[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==n[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){r.trigger("focus")}),e.preventDefault()):(this._delay(function(){n.trigger("focus")}),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=t("<button type='button'></button>").button({label:t("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(t.each(i,function(i,n){var r,o;n=t.isFunction(n)?{click:n,text:i}:n,n=t.extend({type:"button"},n),r=n.click,o={icon:n.icon,iconPosition:n.iconPosition,showLabel:n.showLabel,icons:n.icons,text:n.text},delete n.click,delete n.icon,delete n.iconPosition,delete n.showLabel,delete n.icons,"boolean"==typeof n.text&&delete n.text,t("<button></button>",n).button(o).appendTo(e.uiButtonSet).on("click",function(){r.apply(e.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var e=this,i=this.options;function n(t){return{position:t.position,offset:t.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(i,r){e._addClass(t(this),"ui-dialog-dragging"),e._blockFrames(),e._trigger("dragStart",i,n(r))},drag:function(t,i){e._trigger("drag",t,n(i))},stop:function(r,o){var a=o.offset.left-e.document.scrollLeft(),s=o.offset.top-e.document.scrollTop();i.position={my:"left top",at:"left"+(a>=0?"+":"")+a+" top"+(s>=0?"+":"")+s,of:e.window},e._removeClass(t(this),"ui-dialog-dragging"),e._unblockFrames(),e._trigger("dragStop",r,n(o))}})},_makeResizable:function(){var e=this,i=this.options,n=i.resizable,r=this.uiDialog.css("position"),o="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";function a(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:i.maxWidth,maxHeight:i.maxHeight,minWidth:i.minWidth,minHeight:this._minHeight(),handles:o,start:function(i,n){e._addClass(t(this),"ui-dialog-resizing"),e._blockFrames(),e._trigger("resizeStart",i,a(n))},resize:function(t,i){e._trigger("resize",t,a(i))},stop:function(n,r){var o=e.uiDialog.offset(),s=o.left-e.document.scrollLeft(),l=o.top-e.document.scrollTop();i.height=e.uiDialog.height(),i.width=e.uiDialog.width(),i.position={my:"left top",at:"left"+(s>=0?"+":"")+s+" top"+(l>=0?"+":"")+l,of:e.window},e._removeClass(t(this),"ui-dialog-resizing"),e._unblockFrames(),e._trigger("resizeStop",n,a(r))}}).css("position",r)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),i=t.inArray(this,e);-1!==i&&e.splice(i,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var i=this,n=!1,r={};t.each(e,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(n=!0),t in i.resizableRelatedOptions&&(r[t]=e)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",r)},_setOption:function(e,i){var n,r,o=this.uiDialog;"disabled"!==e&&(this._super(e,i),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:t("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((n=o.is(":data(ui-draggable)"))&&!i&&o.draggable("destroy"),!n&&i&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((r=o.is(":data(ui-resizable)"))&&!i&&o.resizable("destroy"),r&&"string"==typeof i&&o.resizable("option","handles",i),r||!1===i||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),e=Math.max(0,n.minHeight-t),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-t):"none","auto"===n.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!t(e.target).closest(".ui-dialog").length||!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=!0;this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=t("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==t.uiBackCompat&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}});t.ui.dialog;t.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,i=this.options,n=i.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(n)?n:function(t){return t.is(n)},this.proportions=function(){if(!arguments.length)return e||(e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});e=arguments[0]},this._addToManager(i.scope),i.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[],t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){for(var e=0;e<t.length;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var e=t.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,i){if("accept"===e)this.accept=t.isFunction(i)?i:function(t){return t.is(i)};else if("scope"===e){var n=t.ui.ddmanager.droppables[this.options.scope];this._splice(n),this._addToManager(i)}this._super(e,i)},_activate:function(e){var i=t.ui.ddmanager.current;this._addActiveClass(),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this._removeActiveClass(),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var n=i||t.ui.ddmanager.current,r=!1;return!(!n||(n.currentItem||n.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var i=t(this).droppable("instance");if(i.options.greedy&&!i.options.disabled&&i.options.scope===n.options.scope&&i.accept.call(i.element[0],n.currentItem||n.element)&&v(n,t.extend(i,{offset:i.element.offset()}),i.options.tolerance,e))return r=!0,!1}),!r&&(!!this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(n)),this.element)))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var v=t.ui.intersect=function(){function t(t,e,i){return t>=e&&t<e+i}return function(e,i,n,r){if(!i.offset)return!1;var o=(e.positionAbs||e.position.absolute).left+e.margins.left,a=(e.positionAbs||e.position.absolute).top+e.margins.top,s=o+e.helperProportions.width,l=a+e.helperProportions.height,c=i.offset.left,u=i.offset.top,h=c+i.proportions().width,d=u+i.proportions().height;switch(n){case"fit":return c<=o&&s<=h&&u<=a&&l<=d;case"intersect":return c<o+e.helperProportions.width/2&&s-e.helperProportions.width/2<h&&u<a+e.helperProportions.height/2&&l-e.helperProportions.height/2<d;case"pointer":return t(r.pageY,u,i.proportions().height)&&t(r.pageX,c,i.proportions().width);case"touch":return(a>=u&&a<=d||l>=u&&l<=d||a<u&&l>d)&&(o>=c&&o<=h||s>=c&&s<=h||o<c&&s>h);default:return!1}}}();t.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,i){var n,r,o=t.ui.ddmanager.droppables[e.options.scope]||[],a=i?i.type:null,s=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(n=0;n<o.length;n++)if(!(o[n].options.disabled||e&&!o[n].accept.call(o[n].element[0],e.currentItem||e.element))){for(r=0;r<s.length;r++)if(s[r]===o[n].element[0]){o[n].proportions().height=0;continue t}o[n].visible="none"!==o[n].element.css("display"),o[n].visible&&("mousedown"===a&&o[n]._activate.call(o[n],i),o[n].offset=o[n].element.offset(),o[n].proportions({width:o[n].element[0].offsetWidth,height:o[n].element[0].offsetHeight}))}},drop:function(e,i){var n=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&v(e,this,this.options.tolerance,i)&&(n=this._drop.call(this,i)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),n},dragStart:function(e,i){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var n,r,o,a=v(e,this,this.options.tolerance,i),s=!a&&this.isover?"isout":a&&!this.isover?"isover":null;s&&(this.options.greedy&&(r=this.options.scope,(o=this.element.parents(":data(ui-droppable)").filter(function(){return t(this).droppable("instance").options.scope===r})).length&&((n=t(o[0]).droppable("instance")).greedyChild="isover"===s)),n&&"isover"===s&&(n.isover=!1,n.isout=!0,n._out.call(n,i)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,i),n&&"isout"===s&&(n.isout=!1,n.isover=!0,n._over.call(n,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}},!1!==t.uiBackCompat&&t.widget("ui.droppable",t.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});t.ui.droppable,t.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=t("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){if(void 0===t)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(i.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),t.widget("ui.selectable",t.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e.elementPos=t(e.element[0]).offset(),e.selectees=t(e.options.filter,e.element[0]),e._addClass(e.selectees,"ui-selectee"),e.selectees.each(function(){var i=t(this),n=i.offset(),r={left:n.left-e.elementPos.left,top:n.top-e.elementPos.top};t.data(this,"selectable-item",{element:this,$element:i,left:r.left,top:r.top,right:r.left+i.outerWidth(),bottom:r.top+i.outerHeight(),startselected:!1,selected:i.hasClass("ui-selected"),selecting:i.hasClass("ui-selecting"),unselecting:i.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=t("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(e){var i=this,n=this.options;this.opos=[e.pageX,e.pageY],this.elementPos=t(this.element[0]).offset(),this.options.disabled||(this.selectees=t(n.filter,this.element[0]),this._trigger("start",e),t(n.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),n.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var n=t.data(this,"selectable-item");n.startselected=!0,e.metaKey||e.ctrlKey||(i._removeClass(n.$element,"ui-selected"),n.selected=!1,i._addClass(n.$element,"ui-unselecting"),n.unselecting=!0,i._trigger("unselecting",e,{unselecting:n.element}))}),t(e.target).parents().addBack().each(function(){var n,r=t.data(this,"selectable-item");if(r)return n=!e.metaKey&&!e.ctrlKey||!r.$element.hasClass("ui-selected"),i._removeClass(r.$element,n?"ui-unselecting":"ui-selected")._addClass(r.$element,n?"ui-selecting":"ui-unselecting"),r.unselecting=!n,r.selecting=n,r.selected=n,n?i._trigger("selecting",e,{selecting:r.element}):i._trigger("unselecting",e,{unselecting:r.element}),!1}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,n=this,r=this.options,o=this.opos[0],a=this.opos[1],s=e.pageX,l=e.pageY;return o>s&&(i=s,s=o,o=i),a>l&&(i=l,l=a,a=i),this.helper.css({left:o,top:a,width:s-o,height:l-a}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),c=!1,u={};i&&i.element!==n.element[0]&&(u.left=i.left+n.elementPos.left,u.right=i.right+n.elementPos.left,u.top=i.top+n.elementPos.top,u.bottom=i.bottom+n.elementPos.top,"touch"===r.tolerance?c=!(u.left>s||u.right<o||u.top>l||u.bottom<a):"fit"===r.tolerance&&(c=u.left>o&&u.right<s&&u.top>a&&u.bottom<l),c?(i.selected&&(n._removeClass(i.$element,"ui-selected"),i.selected=!1),i.unselecting&&(n._removeClass(i.$element,"ui-unselecting"),i.unselecting=!1),i.selecting||(n._addClass(i.$element,"ui-selecting"),i.selecting=!0,n._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(n._removeClass(i.$element,"ui-selecting"),i.selecting=!1,n._addClass(i.$element,"ui-selected"),i.selected=!0):(n._removeClass(i.$element,"ui-selecting"),i.selecting=!1,i.startselected&&(n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0),n._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(n._removeClass(i.$element,"ui-selected"),i.selected=!1,n._addClass(i.$element,"ui-unselecting"),i.unselecting=!0,n._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var n=t.data(this,"selectable-item");i._removeClass(n.$element,"ui-unselecting"),n.unselecting=!1,n.startselected=!1,i._trigger("unselected",e,{unselected:n.element})}),t(".ui-selecting",this.element[0]).each(function(){var n=t.data(this,"selectable-item");i._removeClass(n.$element,"ui-selecting")._addClass(n.$element,"ui-selected"),n.selecting=!1,n.selected=!0,n.startselected=!0,i._trigger("selected",e,{selected:n.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),t.widget("ui.selectmenu",[t.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=t()},_drawButton:function(){var e,i=this,n=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(t){this.button.focus(),t.preventDefault()}}),this.element.hide(),this.button=t("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=t("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(n).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){i._rendered||i._refreshMenu()})},_drawMenu:function(){var e=this;this.menu=t("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=t("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,i){t.preventDefault(),e._setSelection(),e._select(i.item.data("ui-selectmenu-item"),t)},focus:function(t,i){var n=i.item.data("ui-selectmenu-item");null!=e.focusIndex&&n.index!==e.focusIndex&&(e._trigger("focus",t,{item:n}),e.isOpen||e._select(n,t)),e.focusIndex=n.index,e.button.attr("aria-activedescendant",e.menuItems.eq(n.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var t,e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(t.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var i=t("<span>");return this._setText(i,e.label),this._addClass(i,"ui-selectmenu-text"),i},_renderMenu:function(e,i){var n=this,r="";t.each(i,function(i,o){var a;o.optgroup!==r&&(a=t("<li>",{text:o.optgroup}),n._addClass(a,"ui-selectmenu-optgroup","ui-menu-divider"+(o.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),a.appendTo(e),r=o.optgroup),n._renderItemData(e,o)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(e,i){var n=t("<li>"),r=t("<div>",{title:i.element.attr("title")});return i.disabled&&this._addClass(n,null,"ui-state-disabled"),this._setText(r,i.label),n.append(r).appendTo(e)},_setText:function(t,e){e?t.text(e):t.html("&#160;")},_move:function(t,e){var i,n,r=".ui-menu-item";this.isOpen?i=this.menuItems.eq(this.focusIndex).parent("li"):(i=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),r+=":not(.ui-state-disabled)"),(n="first"===t||"last"===t?i["first"===t?"prevAll":"nextAll"](r).eq(-1):i[t+"All"](r).eq(0)).length&&this.menuInstance.focus(e,n)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?((t=window.getSelection()).removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){this.isOpen&&(t(e.target).closest(".ui-selectmenu-menu, #"+t.ui.escapeSelector(this.ids.button)).length||this.close(e))}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection()).rangeCount&&(this.range=t.getRangeAt(0)):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(e){var i=!0;switch(e.keyCode){case t.ui.keyCode.TAB:case t.ui.keyCode.ESCAPE:this.close(e),i=!1;break;case t.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case t.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case t.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case t.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case t.ui.keyCode.LEFT:this._move("prev",e);break;case t.ui.keyCode.RIGHT:this._move("next",e);break;case t.ui.keyCode.HOME:case t.ui.keyCode.PAGE_UP:this._move("first",e);break;case t.ui.keyCode.END:case t.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),i=!1}i&&e.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==i&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){var e=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(t,e){if("icons"===t){var i=this.button.find("span.ui-icon");this._removeClass(i,null,this.options.icons.button)._addClass(i,null,e.button)}this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;!1!==t?(null===t&&(t=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(t)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(e){var i=this,n=[];e.each(function(e,r){n.push(i._parseOption(t(r),e))}),this.items=n},_parseOption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,n=this.options,r=this.element.find(".ui-slider-handle"),o=[];for(i=n.values&&n.values.length||1,r.length>i&&(r.slice(i).remove(),r=r.slice(0,i)),e=r.length;e<i;e++)o.push("<span tabindex='0'></span>");this.handles=r.add(t(o.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var i,n,r,o,a,s,l,c=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(i),r=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(n-c.values(e));(r>i||r===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(r=i,o=t(this),a=e)}),!1!==this._start(e,a)&&(this._mouseSliding=!0,this._handleIndex=a,this._addClass(o,null,"ui-state-active"),o.trigger("focus"),s=o.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-s.left-o.width()/2,top:e.pageY-s.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,n),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,n,r,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(n=i/e)>1&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),r=this._valueMax()-this._valueMin(),o=this._valueMin()+n*r,this._trimAlignValue(o)},_uiHash:function(t,e,i){var n={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==e?e:this.values(t),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var n,r=this.value(),o=this.values();this._hasMultipleValues()&&(n=this.values(e?0:1),r=this.values(e),2===this.options.values.length&&!0===this.options.range&&(i=0===e?Math.min(n,i):Math.max(n,i)),o[e]=i),i!==r&&!1!==this._trigger("slide",t,this._uiHash(e,i,o))&&(this._hasMultipleValues()?this.values(e,i):this.value(i))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,i){var n,r,o;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(n=this.options.values,r=arguments[0],o=0;o<n.length;o+=1)n[o]=this._trimAlignValue(r[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,i){var n,r=0;switch("range"===e&&!0===this.options.range&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(r=this.options.values.length),this._super(e,i),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(i),this.handles.css("horizontal"===i?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),n=r-1;n>=0;n--)this._change(null,n);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,n;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,n=t-i;return 2*Math.abs(i)>=e&&(n+=i>0?e:-e),parseFloat(n.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step;(t=Math.round((t-e)/i)*i+e)>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,i,n,r,o,a=this.options.range,s=this.options,l=this,c=!this._animateOff&&s.animate,u={};this._hasMultipleValues()?this.handles.each(function(n){i=(l.values(n)-l._valueMin())/(l._valueMax()-l._valueMin())*100,u["horizontal"===l.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[c?"animate":"css"](u,s.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===n&&l.range.stop(1,1)[c?"animate":"css"]({left:i+"%"},s.animate),1===n&&l.range[c?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:s.animate})):(0===n&&l.range.stop(1,1)[c?"animate":"css"]({bottom:i+"%"},s.animate),1===n&&l.range[c?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:s.animate}))),e=i}):(n=this.value(),r=this._valueMin(),o=this._valueMax(),i=o!==r?(n-r)/(o-r)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[c?"animate":"css"](u,s.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:i+"%"},s.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:100-i+"%"},s.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:i+"%"},s.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:100-i+"%"},s.animate))},_handleEvents:{keydown:function(e){var i,n,r,o=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),!1===this._start(e,o)))return}switch(r=this.options.step,i=n=this._hasMultipleValues()?this.values(o):this.value(),e.keyCode){case t.ui.keyCode.HOME:n=this._valueMin();break;case t.ui.keyCode.END:n=this._valueMax();break;case t.ui.keyCode.PAGE_UP:n=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(i===this._valueMax())return;n=this._trimAlignValue(i+r);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i===this._valueMin())return;n=this._trimAlignValue(i-r)}this._slide(e,o,n)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),this._removeClass(t(e.target),null,"ui-state-active"))}}}),t.widget("ui.sortable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return t>=e&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,i){var n=null,r=!1,o=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),t(e.target).parents().each(function(){if(t.data(this,o.widgetName+"-item")===o)return n=t(this),!1}),t.data(e.target,o.widgetName+"-item")===o&&(n=t(e.target)),!!n&&(!(this.options.handle&&!i&&(t(this.options.handle,n).find("*").addBack().each(function(){this===e.target&&(r=!0)}),!r))&&(this.currentItem=n,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,i,n){var r,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=t("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(r=this.containers.length-1;r>=0;r--)this.containers[r]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,n,r,o,a=this.options,s=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<a.scrollSensitivity?this.scrollParent[0].scrollTop=s=this.scrollParent[0].scrollTop+a.scrollSpeed:e.pageY-this.overflowOffset.top<a.scrollSensitivity&&(this.scrollParent[0].scrollTop=s=this.scrollParent[0].scrollTop-a.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<a.scrollSensitivity?this.scrollParent[0].scrollLeft=s=this.scrollParent[0].scrollLeft+a.scrollSpeed:e.pageX-this.overflowOffset.left<a.scrollSensitivity&&(this.scrollParent[0].scrollLeft=s=this.scrollParent[0].scrollLeft-a.scrollSpeed)):(e.pageY-this.document.scrollTop()<a.scrollSensitivity?s=this.document.scrollTop(this.document.scrollTop()-a.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<a.scrollSensitivity&&(s=this.document.scrollTop(this.document.scrollTop()+a.scrollSpeed)),e.pageX-this.document.scrollLeft()<a.scrollSensitivity?s=this.document.scrollLeft(this.document.scrollLeft()-a.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<a.scrollSensitivity&&(s=this.document.scrollLeft(this.document.scrollLeft()+a.scrollSpeed))),!1!==s&&t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),i=this.items.length-1;i>=0;i--)if(r=(n=this.items[i]).item[0],(o=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(r===this.currentItem[0]||this.placeholder[1===o?"next":"prev"]()[0]===r||t.contains(this.placeholder[0],r)||"semi-dynamic"===this.options.type&&t.contains(this.element[0],r))){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var n=this,r=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=r.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=r.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){n._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&n.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!n.length&&e.key&&n.push(e.key+"="),n.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},i.each(function(){n.push(t(e.item||this).attr(e.attribute||"id")||"")}),n},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,r=n+this.helperProportions.height,o=t.left,a=o+t.width,s=t.top,l=s+t.height,c=this.offset.click.top,u=this.offset.click.left,h="x"===this.options.axis||n+c>s&&n+c<l,d="y"===this.options.axis||e+u>o&&e+u<a,f=h&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?f:o<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<a&&s<n+this.helperProportions.height/2&&r-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e,i,n="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),r="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!n||!r)&&(e=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection(),this.floating?"right"===i||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),r=this._getDragHorizontalDirection();return this.floating&&r?"right"===r&&i||"left"===r&&!i:n&&("down"===n&&e||"up"===n&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,n,r,o,a=[],s=[],l=this._connectWith();if(l&&e)for(i=l.length-1;i>=0;i--)for(n=(r=t(l[i],this.document[0])).length-1;n>=0;n--)(o=t.data(r[n],this.widgetFullName))&&o!==this&&!o.options.disabled&&s.push([t.isFunction(o.options.items)?o.options.items.call(o.element):t(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);function c(){a.push(this)}for(s.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=s.length-1;i>=0;i--)s[i][0].each(c);return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;i<e.length;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,n,r,o,a,s,l,c,u=this.items,h=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=(r=t(d[i],this.document[0])).length-1;n>=0;n--)(o=t.data(r[n],this.widgetFullName))&&o!==this&&!o.options.disabled&&(h.push([t.isFunction(o.options.items)?o.options.items.call(o.element[0],e,{item:this.currentItem}):t(o.options.items,o.element),o]),this.containers.push(o));for(i=h.length-1;i>=0;i--)for(a=h[i][1],n=0,c=(s=h[i][0]).length;n<c;n++)(l=t(s[n])).data(this.widgetName+"-item",a),u.push({item:l,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var i,n,r,o;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),i=this.items.length-1;i>=0;i--)(n=this.items[i]).instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(r=this.options.toleranceElement?t(this.options.toleranceElement,n.item):n.item,e||(n.width=r.outerWidth(),n.height=r.outerHeight()),o=r.offset(),n.left=o.left,n.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)o=this.containers[i].element.offset(),this.containers[i].containerCache.left=o.left,this.containers[i].containerCache.top=o.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){var i,n=(e=e||this).options;n.placeholder&&n.placeholder.constructor!==String||(i=n.placeholder,n.placeholder={element:function(){var n=e.currentItem[0].nodeName.toLowerCase(),r=t("<"+n+">",e.document[0]);return e._addClass(r,"ui-sortable-placeholder",i||e.currentItem[0].className)._removeClass(r,"ui-sortable-helper"),"tbody"===n?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(r)):"tr"===n?e._createTrPlaceholder(e.currentItem,r):"img"===n&&r.attr("src",e.currentItem.attr("src")),i||r.css("visibility","hidden"),r},update:function(t,r){i&&!n.forcePlaceholderSize||(r.height()||r.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),r.width()||r.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(n.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),n.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,i){var n=this;e.children().each(function(){t("<td>&#160;</td>",n.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(e){var i,n,r,o,a,s,l,c,u,h,d=null,f=null;for(i=this.containers.length-1;i>=0;i--)if(!t.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(d&&t.contains(this.containers[i].element[0],d.element[0]))continue;d=this.containers[i],f=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",e,this._uiHash(this)),this.containers[i].containerCache.over=0);if(d)if(1===this.containers.length)this.containers[f].containerCache.over||(this.containers[f]._trigger("over",e,this._uiHash(this)),this.containers[f].containerCache.over=1);else{for(r=1e4,o=null,a=(u=d.floating||this._isFloating(this.currentItem))?"left":"top",s=u?"width":"height",h=u?"pageX":"pageY",n=this.items.length-1;n>=0;n--)t.contains(this.containers[f].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(l=this.items[n].item.offset()[a],c=!1,e[h]-l>this.items[n][s]/2&&(c=!0),Math.abs(e[h]-l)<r&&(r=Math.abs(e[h]-l),o=this.items[n],this.direction=c?"up":"down"));if(!o&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[f])return void(this.currentContainer.containerCache.over||(this.containers[f]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));o?this._rearrange(e,o,null,!0):this._rearrange(e,null,this.containers[f].element,!0),this._trigger("change",e,this._uiHash()),this.containers[f]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[f],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[f]._trigger("over",e,this._uiHash(this)),this.containers[f].containerCache.over=1}},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return n.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),n[0].style.width&&!i.forceHelperSize||n.width(this.currentItem.width()),n[0].style.height&&!i.forceHelperSize||n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,r=this.options;"parent"===r.containment&&(r.containment=this.helper[0].parentNode),"document"!==r.containment&&"window"!==r.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===r.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===r.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(r.containment)||(e=t(r.containment)[0],i=t(r.containment).offset(),n="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var n="absolute"===e?1:-1,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(r[0].tagName);return{top:i.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:r.scrollTop())*n,left:i.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:r.scrollLeft())*n}},_generatePosition:function(e){var i,n,r=this.options,o=e.pageX,a=e.pageY,s="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,l=/(html|body)/i.test(s[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(o=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),r.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/r.grid[1])*r.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-r.grid[1]:i+r.grid[1]:i,n=this.originalPageX+Math.round((o-this.originalPageX)/r.grid[0])*r.grid[0],o=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-r.grid[0]:n+r.grid[0]:n)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:s.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:s.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var r=this.counter;this._delay(function(){r===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function r(t,e,i){return function(n){i._trigger(t,n,e._uiHash(e))}}for(this.fromOutside&&!e&&n.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger("remove",t,this._uiHash())}),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||n.push(r("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(r("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i<n.length;i++)n[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}});function y(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e=this._super(),i=this.element;return t.each(["min","max","step"],function(t,n){var r=i.attr(n);null!=r&&r.length&&(e[n]=r)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){var i;function n(){this.element[0]===t.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=i,this._delay(function(){this.previous=i}))}i=this.element[0]===t.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),n.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,n.call(this)}),!1!==this._start(e)&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(t(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var i=this.options,n=t.ui.keyCode;switch(e.keyCode){case n.UP:return this._repeat(null,1,e),!0;case n.DOWN:return this._repeat(null,-1,e),!0;case n.PAGE_UP:return this._repeat(null,i.page,e),!0;case n.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,n=this.options;return i=t-(e=null!==n.min?n.min:0),t=e+(i=Math.round(i/n.step)*n.step),t=parseFloat(t.toFixed(this._precision())),null!==n.max&&t>n.max?n.max:null!==n.min&&t<n.min?n.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var i,n,r;if("culture"===t||"numberFormat"===t)return i=this._parse(this.element.val()),this.options[t]=e,void this.element.val(this._format(i));"max"!==t&&"min"!==t&&"step"!==t||"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(n=this.buttons.first().find(".ui-icon"),this._removeClass(n,null,this.options.icons.up),this._addClass(n,null,e.up),r=this.buttons.last().find(".ui-icon"),this._removeClass(r,null,this.options.icons.down),this._addClass(r,null,e.down)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:y(function(t){this._super(t)}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null!==t&&t===this._adjustValue(t)},_value:function(t,e){var i;""!==t&&null!==(i=this._parse(t))&&(e||(i=this._adjustValue(i)),t=this._format(i)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:y(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:y(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:y(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:y(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());y(this._value).call(this,t)},widget:function(){return this.uiSpinner}}),!1!==t.uiBackCompat&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});var b;t.ui.spinner;t.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(b=/#.*$/,function(t){var e,i;e=t.href.replace(b,""),i=location.href.replace(b,"");try{e=decodeURIComponent(e)}catch(t){}try{i=decodeURIComponent(i)}catch(t){}return t.hash.length>1&&e===i}),_create:function(){var e=this,i=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,i.collapsible),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(i.active):this.active=t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var e=this.options.active,i=this.options.collapsible,n=location.hash.substring(1);return null===e&&(n&&this.tabs.each(function(i,r){if(t(r).attr("aria-controls")===n)return e=i,!1}),null===e&&(e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==e&&-1!==e||(e=!!this.tabs.length&&0)),!1!==e&&-1===(e=this.tabs.index(this.tabs.eq(e)))&&(e=!i&&0),!i&&!1===e&&this.anchors.length&&(e=0),e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var i=t(t.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(i),r=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:r=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,r),e.ctrlKey||e.metaKey||(i.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,i){var n=this.tabs.length-1;for(;-1!==t.inArray((e>n&&(e=0),e<0&&(e=n),e),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){"active"!==t?(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)):this._activate(e)},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this,i=this.tabs,n=this.anchors,r=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=t(),this.anchors.each(function(i,n){var r,o,a,s=t(n).uniqueId().attr("id"),l=t(n).closest("li"),c=l.attr("aria-controls");e._isLocal(n)?(a=(r=n.hash).substring(1),o=e.element.find(e._sanitizeSelector(r))):(r="#"+(a=l.attr("aria-controls")||t({}).uniqueId()[0].id),(o=e.element.find(r)).length||(o=e._createPanel(a)).insertAfter(e.panels[i-1]||e.tablist),o.attr("aria-live","polite")),o.length&&(e.panels=e.panels.add(o)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":a,"aria-labelledby":s}),o.attr("aria-labelledby",s)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),i&&(this._off(i.not(this.tabs)),this._off(n.not(this.anchors)),this._off(r.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var i,n,r;for(t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),r=0;n=this.tabs[r];r++)i=t(n),!0===e||-1!==t.inArray(r,e)?(i.attr("aria-disabled","true"),this._addClass(i,null,"ui-state-disabled")):(i.removeAttr("aria-disabled"),this._removeClass(i,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var i={};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,n=this.element.parent();"fill"===e?(i=n.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),n=e.css("position");"absolute"!==n&&"fixed"!==n&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,n=this.active,r=t(e.currentTarget).closest("li"),o=r[0]===n[0],a=o&&i.collapsible,s=a?t():this._getPanelForTab(r),l=n.length?this._getPanelForTab(n):t(),c={oldTab:n,oldPanel:l,newTab:a?t():r,newPanel:s};e.preventDefault(),r.hasClass("ui-state-disabled")||r.hasClass("ui-tabs-loading")||this.running||o&&!i.collapsible||!1===this._trigger("beforeActivate",e,c)||(i.active=!a&&this.tabs.index(r),this.active=o?t():r,this.xhr&&this.xhr.abort(),l.length||s.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),s.length&&this.load(this.tabs.index(r),e),this._toggle(e,c))},_toggle:function(e,i){var n=this,r=i.newPanel,o=i.oldPanel;function a(){n.running=!1,n._trigger("activate",e,i)}function s(){n._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),r.length&&n.options.show?n._show(r,n.options.show,a):(r.show(),a())}this.running=!0,o.length&&this.options.hide?this._hide(o,this.options.hide,function(){n._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s()}):(this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o.hide(),s()),o.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),r.length&&o.length?i.oldTab.attr("tabIndex",-1):r.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),r.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var i,n=this._findActive(e);n[0]!==this.active[0]&&(n.length||(n=this.active),i=n.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return!1===e?t():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+t.ui.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(e){var i=this.options.disabled;!1!==i&&(void 0===e?i=!1:(e=this._getIndex(e),i=t.isArray(i)?t.map(i,function(t){return t!==e?t:null}):t.map(this.tabs,function(t,i){return i!==e?i:null})),this._setOptionDisabled(i))},disable:function(e){var i=this.options.disabled;if(!0!==i){if(void 0===e)i=!0;else{if(e=this._getIndex(e),-1!==t.inArray(e,i))return;i=t.isArray(i)?t.merge([e],i).sort():[e]}this._setOptionDisabled(i)}},load:function(e,i){e=this._getIndex(e);var n=this,r=this.tabs.eq(e),o=r.find(".ui-tabs-anchor"),a=this._getPanelForTab(r),s={tab:r,panel:a},l=function(t,e){"abort"===e&&n.panels.stop(!1,!0),n._removeClass(r,"ui-tabs-loading"),a.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr};this._isLocal(o[0])||(this.xhr=t.ajax(this._ajaxSettings(o,i,s)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(r,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done(function(t,e,r){setTimeout(function(){a.html(t),n._trigger("load",i,s),l(r,e)},1)}).fail(function(t,e){setTimeout(function(){l(t,e)},1)})))},_ajaxSettings:function(e,i,n){var r=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,o){return r._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:o},n))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),!1!==t.uiBackCompat&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});t.ui.tabs;t.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,i){var n=(e.attr("aria-describedby")||"").split(/\s+/);n.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(n.join(" ")))},_removeDescribedBy:function(e){var i=e.data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),r=t.inArray(i,n);-1!==r&&n.splice(r,1),e.removeData("ui-tooltip-id"),(n=t.trim(n.join(" ")))?e.attr("aria-describedby",n):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,i){var n=this;this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){n._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,function(i,n){var r=t.Event("blur");r.target=r.currentTarget=n.element[0],e.close(r,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=t(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(e){var i=this,n=t(e?e.target:this.element).closest(this.options.items);n.length&&!n.data("ui-tooltip-id")&&(n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&n.parents().each(function(){var e,n=t(this);n.data("ui-tooltip-open")&&((e=t.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),n.attr("title")&&(n.uniqueId(),i.parents[this.id]={element:this,title:n.attr("title")},n.attr("title",""))}),this._registerCloseHandlers(e,n),this._updateContent(n,e))},_updateContent:function(t,e){var i,n=this.options.content,r=this,o=e?e.type:null;if("string"==typeof n||n.nodeType||n.jquery)return this._open(e,t,n);(i=n.call(t[0],function(i){r._delay(function(){t.data("ui-tooltip-open")&&(e&&(e.type=o),this._open(e,t,i))})}))&&this._open(e,t,i)},_open:function(e,i,n){var r,o,a,s,l=t.extend({},this.options.position);function c(t){l.of=t,o.is(":hidden")||o.position(l)}n&&((r=this._find(i))?r.tooltip.find(".ui-tooltip-content").html(n):(i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),r=this._tooltip(i),o=r.tooltip,this._addDescribedBy(i,o.attr("id")),o.find(".ui-tooltip-content").html(n),this.liveRegion.children().hide(),(s=t("<div>").html(o.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),s.removeAttr("id").find("[id]").removeAttr("id"),s.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:c}),c(e)):o.position(t.extend({of:i},this.options.position)),o.hide(),this._show(o,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){o.is(":visible")&&(c(l.of),clearInterval(a))},t.fx.interval)),this._trigger("open",e,{tooltip:o})))},_registerCloseHandlers:function(e,i){var n={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var n=t.Event(e);n.currentTarget=i[0],this.close(n,!0)}}};i[0]!==this.element[0]&&(n.remove=function(){this._removeTooltip(this._find(i).tooltip)}),e&&"mouseover"!==e.type||(n.mouseleave="close"),e&&"focusin"!==e.type||(n.focusout="close"),this._on(!0,i,n)},close:function(e){var i,n=this,r=t(e?e.currentTarget:this.element),o=this._find(r);o?(i=o.tooltip,o.closing||(clearInterval(this.delayedShow),r.data("ui-tooltip-title")&&!r.attr("title")&&r.attr("title",r.data("ui-tooltip-title")),this._removeDescribedBy(r),o.hiding=!0,i.stop(!0),this._hide(i,this.options.hide,function(){n._removeTooltip(t(this))}),r.removeData("ui-tooltip-open"),this._off(r,"mouseleave focusout keyup"),r[0]!==this.element[0]&&this._off(r,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete n.parents[e]}),o.closing=!0,this._trigger("close",e,{tooltip:i}),o.hiding||(o.closing=!1))):r.removeData("ui-tooltip-open")},_tooltip:function(e){var i=t("<div>").attr("role","tooltip"),n=t("<div>").appendTo(i),r=i.uniqueId().attr("id");return this._addClass(n,"ui-tooltip-content"),this._addClass(i,"ui-tooltip","ui-widget ui-widget-content"),i.appendTo(this._appendTo(e)),this.tooltips[r]={element:e,tooltip:i}},_find:function(t){var e=t.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");return e.length||(e=this.document[0].body),e},_destroy:function(){var e=this;t.each(this.tooltips,function(i,n){var r=t.Event("blur"),o=n.element;r.target=r.currentTarget=o[0],e.close(r,!0),t("#"+i).remove(),o.data("ui-tooltip-title")&&(o.attr("title")||o.attr("title",o.data("ui-tooltip-title")),o.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==t.uiBackCompat&&t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}});t.ui.tooltip}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t=t||self).bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function i(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),n.forEach(function(e){r(t,e,i[e])})}return t}e=e&&e.hasOwnProperty("default")?e.default:e;var a="transitionend";function s(t){var i=this,n=!1;return e(this).one(l.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||l.triggerTransitionEnd(i)},t),this}var l={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 i=t.getAttribute("href");e=i&&"#"!==i?i.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var i=e(t).css("transition-duration"),n=e(t).css("transition-delay"),r=parseFloat(i),o=parseFloat(n);return r||o?(i=i.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(i)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(a)},supportsTransitionEnd:function(){return Boolean(a)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var r=i[n],o=e[n],a=o&&l.isElement(o)?"element":(s=o,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error(t.toUpperCase()+': Option "'+n+'" provided type "'+a+'" but expected type "'+r+'".')}var s},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?l.findShadowRoot(t.parentNode):null}};e.fn.emulateTransitionEnd=s,e.event.special[l.TRANSITION_END]={bindType:a,delegateType:a,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var c=e.fn.alert,u={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},h="alert",d="fade",f="show",p=function(){function t(t){this._element=t}var i=t.prototype;return i.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},i.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},i._getRootElement=function(t){var i=l.getSelectorFromElement(t),n=!1;return i&&(n=document.querySelector(i)),n||(n=e(t).closest("."+h)[0]),n},i._triggerCloseEvent=function(t){var i=e.Event(u.CLOSE);return e(t).trigger(i),i},i._removeElement=function(t){var i=this;if(e(t).removeClass(f),e(t).hasClass(d)){var n=l.getTransitionDurationFromElement(t);e(t).one(l.TRANSITION_END,function(e){return i._destroyElement(t,e)}).emulateTransitionEnd(n)}else this._destroyElement(t)},i._destroyElement=function(t){e(t).detach().trigger(u.CLOSED).remove()},t._jQueryInterface=function(i){return this.each(function(){var n=e(this),r=n.data("bs.alert");r||(r=new t(this),n.data("bs.alert",r)),"close"===i&&r[i](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(u.CLICK_DATA_API,'[data-dismiss="alert"]',p._handleDismiss(new p)),e.fn.alert=p._jQueryInterface,e.fn.alert.Constructor=p,e.fn.alert.noConflict=function(){return e.fn.alert=c,p._jQueryInterface};var g=e.fn.button,m="active",v="btn",y="focus",b='[data-toggle^="button"]',L='[data-toggle="buttons"]',x='input:not([type="hidden"])',w=".active",_=".btn",S={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},C=function(){function t(t){this._element=t}var i=t.prototype;return i.toggle=function(){var t=!0,i=!0,n=e(this._element).closest(L)[0];if(n){var r=this._element.querySelector(x);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(m))t=!1;else{var o=n.querySelector(w);o&&e(o).removeClass(m)}if(t){if(r.hasAttribute("disabled")||n.hasAttribute("disabled")||r.classList.contains("disabled")||n.classList.contains("disabled"))return;r.checked=!this._element.classList.contains(m),e(r).trigger("change")}r.focus(),i=!1}}i&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(m)),t&&e(this._element).toggleClass(m)},i.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.button");n||(n=new t(this),e(this).data("bs.button",n)),"toggle"===i&&n[i]()})},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(S.CLICK_DATA_API,b,function(t){t.preventDefault();var i=t.target;e(i).hasClass(v)||(i=e(i).closest(_)),C._jQueryInterface.call(e(i),"toggle")}).on(S.FOCUS_BLUR_DATA_API,b,function(t){var i=e(t.target).closest(_)[0];e(i).toggleClass(y,/^focus(in)?$/.test(t.type))}),e.fn.button=C._jQueryInterface,e.fn.button.Constructor=C,e.fn.button.noConflict=function(){return e.fn.button=g,C._jQueryInterface};var k="carousel",T=".bs.carousel",E=e.fn[k],A={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},M={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},D="next",P="prev",O="left",I="right",N={SLIDE:"slide.bs.carousel",SLID:"slid.bs.carousel",KEYDOWN:"keydown.bs.carousel",MOUSEENTER:"mouseenter.bs.carousel",MOUSELEAVE:"mouseleave.bs.carousel",TOUCHSTART:"touchstart.bs.carousel",TOUCHMOVE:"touchmove.bs.carousel",TOUCHEND:"touchend.bs.carousel",POINTERDOWN:"pointerdown.bs.carousel",POINTERUP:"pointerup.bs.carousel",DRAG_START:"dragstart.bs.carousel",LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},R="carousel",F="active",B="slide",z="carousel-item-right",H="carousel-item-left",V="carousel-item-next",j="carousel-item-prev",W="pointer-event",U={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},Y={TOUCH:"touch",PEN:"pen"},G=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(U.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var i=t.prototype;return i.next=function(){this._isSliding||this._slide(D)},i.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},i.prev=function(){this._isSliding||this._slide(P)},i.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(U.NEXT_PREV)&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},i.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))},i.to=function(t){var i=this;this._activeElement=this._element.querySelector(U.ACTIVE_ITEM);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one(N.SLID,function(){return i.to(t)});else{if(n===t)return this.pause(),void this.cycle();var r=t>n?D:P;this._slide(r,this._items[t])}},i.dispose=function(){e(this._element).off(T),e.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},i._getConfig=function(t){return t=o({},A,t),l.typeCheckConfig(k,t,M),t},i._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},i._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(N.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&e(this._element).on(N.MOUSEENTER,function(e){return t.pause(e)}).on(N.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},i._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var i=function(e){t._pointerEvent&&Y[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){t._pointerEvent&&Y[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))};e(this._element.querySelectorAll(U.ITEM_IMG)).on(N.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(e(this._element).on(N.POINTERDOWN,function(t){return i(t)}),e(this._element).on(N.POINTERUP,function(t){return n(t)}),this._element.classList.add(W)):(e(this._element).on(N.TOUCHSTART,function(t){return i(t)}),e(this._element).on(N.TOUCHMOVE,function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)}),e(this._element).on(N.TOUCHEND,function(t){return n(t)}))}},i._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()}},i._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(U.ITEM)):[],this._items.indexOf(t)},i._getItemByDirection=function(t,e){var i=t===D,n=t===P,r=this._getItemIndex(e),o=this._items.length-1;if((n&&0===r||i&&r===o)&&!this._config.wrap)return e;var a=(r+(t===P?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},i._triggerSlideEvent=function(t,i){var n=this._getItemIndex(t),r=this._getItemIndex(this._element.querySelector(U.ACTIVE_ITEM)),o=e.Event(N.SLIDE,{relatedTarget:t,direction:i,from:r,to:n});return e(this._element).trigger(o),o},i._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var i=[].slice.call(this._indicatorsElement.querySelectorAll(U.ACTIVE));e(i).removeClass(F);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&e(n).addClass(F)}},i._slide=function(t,i){var n,r,o,a=this,s=this._element.querySelector(U.ACTIVE_ITEM),c=this._getItemIndex(s),u=i||s&&this._getItemByDirection(t,s),h=this._getItemIndex(u),d=Boolean(this._interval);if(t===D?(n=H,r=V,o=O):(n=z,r=j,o=I),u&&e(u).hasClass(F))this._isSliding=!1;else if(!this._triggerSlideEvent(u,o).isDefaultPrevented()&&s&&u){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(u);var f=e.Event(N.SLID,{relatedTarget:u,direction:o,from:c,to:h});if(e(this._element).hasClass(B)){e(u).addClass(r),l.reflow(u),e(s).addClass(n),e(u).addClass(n);var p=parseInt(u.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=l.getTransitionDurationFromElement(s);e(s).one(l.TRANSITION_END,function(){e(u).removeClass(n+" "+r).addClass(F),e(s).removeClass(F+" "+r+" "+n),a._isSliding=!1,setTimeout(function(){return e(a._element).trigger(f)},0)}).emulateTransitionEnd(g)}else e(s).removeClass(F),e(u).addClass(F),this._isSliding=!1,e(this._element).trigger(f);d&&this.cycle()}},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.carousel"),r=o({},A,e(this).data());"object"==typeof i&&(r=o({},r,i));var a="string"==typeof i?i:r.slide;if(n||(n=new t(this,r),e(this).data("bs.carousel",n)),"number"==typeof i)n.to(i);else if("string"==typeof a){if(void 0===n[a])throw new TypeError('No method named "'+a+'"');n[a]()}else r.interval&&r.ride&&(n.pause(),n.cycle())})},t._dataApiClickHandler=function(i){var n=l.getSelectorFromElement(this);if(n){var r=e(n)[0];if(r&&e(r).hasClass(R)){var a=o({},e(r).data(),e(this).data()),s=this.getAttribute("data-slide-to");s&&(a.interval=!1),t._jQueryInterface.call(e(r),a),s&&e(r).data("bs.carousel").to(s),i.preventDefault()}}},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return A}}]),t}();e(document).on(N.CLICK_DATA_API,U.DATA_SLIDE,G._dataApiClickHandler),e(window).on(N.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(U.DATA_RIDE)),i=0,n=t.length;i<n;i++){var r=e(t[i]);G._jQueryInterface.call(r,r.data())}}),e.fn[k]=G._jQueryInterface,e.fn[k].Constructor=G,e.fn[k].noConflict=function(){return e.fn[k]=E,G._jQueryInterface};var X="collapse",q=e.fn[X],$={toggle:!0,parent:""},Z={toggle:"boolean",parent:"(string|element)"},K={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},Q="show",J="collapse",tt="collapsing",et="collapsed",it="width",nt="height",rt={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},ot=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 i=[].slice.call(document.querySelectorAll(rt.DATA_TOGGLE)),n=0,r=i.length;n<r;n++){var o=i[n],a=l.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(a)).filter(function(e){return e===t});null!==a&&s.length>0&&(this._selector=a,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 i=t.prototype;return i.toggle=function(){e(this._element).hasClass(Q)?this.hide():this.show()},i.show=function(){var i,n,r=this;if(!this._isTransitioning&&!e(this._element).hasClass(Q)&&(this._parent&&0===(i=[].slice.call(this._parent.querySelectorAll(rt.ACTIVES)).filter(function(t){return"string"==typeof r._config.parent?t.getAttribute("data-parent")===r._config.parent:t.classList.contains(J)})).length&&(i=null),!(i&&(n=e(i).not(this._selector).data("bs.collapse"))&&n._isTransitioning))){var o=e.Event(K.SHOW);if(e(this._element).trigger(o),!o.isDefaultPrevented()){i&&(t._jQueryInterface.call(e(i).not(this._selector),"hide"),n||e(i).data("bs.collapse",null));var a=this._getDimension();e(this._element).removeClass(J).addClass(tt),this._element.style[a]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(et).attr("aria-expanded",!0),this.setTransitioning(!0);var s="scroll"+(a[0].toUpperCase()+a.slice(1)),c=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,function(){e(r._element).removeClass(tt).addClass(J).addClass(Q),r._element.style[a]="",r.setTransitioning(!1),e(r._element).trigger(K.SHOWN)}).emulateTransitionEnd(c),this._element.style[a]=this._element[s]+"px"}}},i.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(Q)){var i=e.Event(K.HIDE);if(e(this._element).trigger(i),!i.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",l.reflow(this._element),e(this._element).addClass(tt).removeClass(J).removeClass(Q);var r=this._triggerArray.length;if(r>0)for(var o=0;o<r;o++){var a=this._triggerArray[o],s=l.getSelectorFromElement(a);if(null!==s)e([].slice.call(document.querySelectorAll(s))).hasClass(Q)||e(a).addClass(et).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var c=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,function(){t.setTransitioning(!1),e(t._element).removeClass(tt).addClass(J).trigger(K.HIDDEN)}).emulateTransitionEnd(c)}}},i.setTransitioning=function(t){this._isTransitioning=t},i.dispose=function(){e.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},i._getConfig=function(t){return(t=o({},$,t)).toggle=Boolean(t.toggle),l.typeCheckConfig(X,t,Z),t},i._getDimension=function(){return e(this._element).hasClass(it)?it:nt},i._getParent=function(){var i,n=this;l.isElement(this._config.parent)?(i=this._config.parent,void 0!==this._config.parent.jquery&&(i=this._config.parent[0])):i=document.querySelector(this._config.parent);var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o=[].slice.call(i.querySelectorAll(r));return e(o).each(function(e,i){n._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])}),i},i._addAriaAndCollapsedClass=function(t,i){var n=e(t).hasClass(Q);i.length&&e(i).toggleClass(et,!n).attr("aria-expanded",n)},t._getTargetFromElement=function(t){var e=l.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(i){return this.each(function(){var n=e(this),r=n.data("bs.collapse"),a=o({},$,n.data(),"object"==typeof i&&i?i:{});if(!r&&a.toggle&&/show|hide/.test(i)&&(a.toggle=!1),r||(r=new t(this,a),n.data("bs.collapse",r)),"string"==typeof i){if(void 0===r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return $}}]),t}();e(document).on(K.CLICK_DATA_API,rt.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var i=e(this),n=l.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(n));e(r).each(function(){var t=e(this),n=t.data("bs.collapse")?"toggle":i.data();ot._jQueryInterface.call(t,n)})}),e.fn[X]=ot._jQueryInterface,e.fn[X].Constructor=ot,e.fn[X].noConflict=function(){return e.fn[X]=q,ot._jQueryInterface};for(var at="undefined"!=typeof window&&"undefined"!=typeof document,st=["Edge","Trident","Firefox"],lt=0,ct=0;ct<st.length;ct+=1)if(at&&navigator.userAgent.indexOf(st[ct])>=0){lt=1;break}var ut=at&&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()},lt))}};function ht(t){return t&&"[object Function]"==={}.toString.call(t)}function dt(t,e){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?i[e]:i}function ft(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function pt(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=dt(t),i=e.overflow,n=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(i+r+n)?t:pt(ft(t))}var gt=at&&!(!window.MSInputMethodContext||!document.documentMode),mt=at&&/MSIE 10/.test(navigator.userAgent);function vt(t){return 11===t?gt:10===t?mt:gt||mt}function yt(t){if(!t)return document.documentElement;for(var e=vt(10)?document.body:null,i=t.offsetParent||null;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===dt(i,"position")?yt(i):i:t?t.ownerDocument.documentElement:document.documentElement}function bt(t){return null!==t.parentNode?bt(t.parentNode):t}function Lt(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?t:e,r=i?e:t,o=document.createRange();o.setStart(n,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||n.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&yt(a.firstElementChild)!==a?yt(l):l;var c=bt(t);return c.host?Lt(c.host,e):Lt(t,bt(e).host)}function xt(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var n=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||n)[e]}return t[e]}function wt(t,e){var i="x"===e?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+n+"Width"],10)}function _t(t,e,i,n){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],vt(10)?parseInt(i["offset"+t])+parseInt(n["margin"+("Height"===t?"Top":"Left")])+parseInt(n["margin"+("Height"===t?"Bottom":"Right")]):0)}function St(t){var e=t.body,i=t.documentElement,n=vt(10)&&getComputedStyle(i);return{height:_t("Height",e,i,n),width:_t("Width",e,i,n)}}var Ct=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},kt=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),Tt=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},Et=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};function At(t){return Et({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Mt(t){var e={};try{if(vt(10)){e=t.getBoundingClientRect();var i=xt(t,"top"),n=xt(t,"left");e.top+=i,e.left+=n,e.bottom+=i,e.right+=n}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?St(t.ownerDocument):{},a=o.width||t.clientWidth||r.right-r.left,s=o.height||t.clientHeight||r.bottom-r.top,l=t.offsetWidth-a,c=t.offsetHeight-s;if(l||c){var u=dt(t);l-=wt(u,"x"),c-=wt(u,"y"),r.width-=l,r.height-=c}return At(r)}function Dt(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=vt(10),r="HTML"===e.nodeName,o=Mt(t),a=Mt(e),s=pt(t),l=dt(e),c=parseFloat(l.borderTopWidth,10),u=parseFloat(l.borderLeftWidth,10);i&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=At({top:o.top-a.top-c,left:o.left-a.left-u,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!n&&r){var d=parseFloat(l.marginTop,10),f=parseFloat(l.marginLeft,10);h.top-=c-d,h.bottom-=c-d,h.left-=u-f,h.right-=u-f,h.marginTop=d,h.marginLeft=f}return(n&&!i?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(h=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=xt(e,"top"),r=xt(e,"left"),o=i?-1:1;return t.top+=n*o,t.bottom+=n*o,t.left+=r*o,t.right+=r*o,t}(h,e)),h}function Pt(t){if(!t||!t.parentElement||vt())return document.documentElement;for(var e=t.parentElement;e&&"none"===dt(e,"transform");)e=e.parentElement;return e||document.documentElement}function Ot(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?Pt(t):Lt(t,e);if("viewport"===n)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,n=Dt(t,i),r=Math.max(i.clientWidth,window.innerWidth||0),o=Math.max(i.clientHeight,window.innerHeight||0),a=e?0:xt(i),s=e?0:xt(i,"left");return At({top:a-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:r,height:o})}(a,r);else{var s=void 0;"scrollParent"===n?"BODY"===(s=pt(ft(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===n?t.ownerDocument.documentElement:n;var l=Dt(s,a,r);if("HTML"!==s.nodeName||function t(e){var i=e.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===dt(e,"position"))return!0;var n=ft(e);return!!n&&t(n)}(a))o=l;else{var c=St(t.ownerDocument),u=c.height,h=c.width;o.top+=l.top-l.marginTop,o.bottom=u+l.top,o.left+=l.left-l.marginLeft,o.right=h+l.left}}var d="number"==typeof(i=i||0);return o.left+=d?i:i.left||0,o.top+=d?i:i.top||0,o.right-=d?i:i.right||0,o.bottom-=d?i:i.bottom||0,o}function It(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=Ot(i,n,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 Et({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),u=c.length>0?c[0].key:l[0].key,h=t.split("-")[1];return u+(h?"-"+h:"")}function Nt(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Dt(i,n?Pt(e):Lt(e,i),n)}function Rt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),n=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+n,height:t.offsetHeight+i}}function Ft(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 Bt(t,e,i){i=i.split("-")[0];var n=Rt(t),r={width:n.width,height:n.height},o=-1!==["right","left"].indexOf(i),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return r[a]=e[a]+e[l]/2-n[l]/2,r[s]=i===s?e[s]-n[c]:e[Ft(s)],r}function zt(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function Ht(t,e,i){return(void 0===i?t:t.slice(0,function(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var n=zt(t,function(t){return t[e]===i});return t.indexOf(n)}(t,"name",i))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&ht(i)&&(e.offsets.popper=At(e.offsets.popper),e.offsets.reference=At(e.offsets.reference),e=i(e,t))}),e}function Vt(t,e){return t.some(function(t){var i=t.name;return t.enabled&&i===e})}function jt(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<e.length;n++){var r=e[n],o=r?""+r+i:t;if(void 0!==document.body.style[o])return o}return null}function Wt(t){var e=t.ownerDocument;return e?e.defaultView:window}function Ut(t,e,i,n){i.updateBound=n,Wt(t).addEventListener("resize",i.updateBound,{passive:!0});var r=pt(t);return function t(e,i,n,r){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(i,n,{passive:!0}),o||t(pt(a.parentNode),i,n,r),r.push(a)}(r,"scroll",i.updateBound,i.scrollParents),i.scrollElement=r,i.eventsEnabled=!0,i}function Yt(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,Wt(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))}function Gt(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function Xt(t,e){Object.keys(e).forEach(function(i){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&Gt(e[i])&&(n="px"),t.style[i]=e[i]+n})}var qt=at&&/Firefox/i.test(navigator.userAgent);function $t(t,e,i){var n=zt(t,function(t){return t.name===e}),r=!!n&&t.some(function(t){return t.name===i&&t.enabled&&t.order<n.order});if(!r){var o="`"+e+"`",a="`"+i+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return r}var Zt=["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"],Kt=Zt.slice(3);function Qt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=Kt.indexOf(t),n=Kt.slice(i+1).concat(Kt.slice(0,i));return e?n.reverse():n}var Jt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function te(t,e,i,n){var r=[0,0],o=-1!==["right","left"].indexOf(n),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(zt(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+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(t,n){var r=(1===n?!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,i,n){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=i;break;case"%":case"%r":default:s=n}return At(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,r,e,i)})})).forEach(function(t,e){t.forEach(function(i,n){Gt(i)&&(r[e]+=i*("-"===t[n-1]?-1:1))})}),r}var ee={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,i=e.split("-")[0],n=e.split("-")[1];if(n){var r=t.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(i),l=s?"left":"top",c=s?"width":"height",u={start:Tt({},l,o[l]),end:Tt({},l,o[l]+o[c]-a[c])};t.offsets.popper=Et({},a,u[n])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var i=e.offset,n=t.placement,r=t.offsets,o=r.popper,a=r.reference,s=n.split("-")[0],l=void 0;return l=Gt(+i)?[+i,0]:te(i,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var i=e.boundariesElement||yt(t.instance.popper);t.instance.reference===i&&(i=yt(i));var n=jt("transform"),r=t.instance.popper.style,o=r.top,a=r.left,s=r[n];r.top="",r.left="",r[n]="";var l=Ot(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);r.top=o,r.left=a,r[n]=s,e.boundaries=l;var c=e.priority,u=t.offsets.popper,h={primary:function(t){var i=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(i=Math.max(u[t],l[t])),Tt({},t,i)},secondary:function(t){var i="right"===t?"left":"top",n=u[i];return u[t]>l[t]&&!e.escapeWithReference&&(n=Math.min(u[i],l[t]-("right"===t?u.width:u.height))),Tt({},i,n)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=Et({},u,h[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,i=e.popper,n=e.reference,r=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return i[s]<o(n[l])&&(t.offsets.popper[l]=o(n[l])-i[c]),i[l]>o(n[s])&&(t.offsets.popper[l]=o(n[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!$t(t.instance.modifiers,"arrow","keepTogether"))return t;var n=e.element;if("string"==typeof n){if(!(n=t.instance.popper.querySelector(n)))return t}else if(!t.instance.popper.contains(n))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),c=l?"height":"width",u=l?"Top":"Left",h=u.toLowerCase(),d=l?"left":"top",f=l?"bottom":"right",p=Rt(n)[c];s[f]-p<a[h]&&(t.offsets.popper[h]-=a[h]-(s[f]-p)),s[h]+p>a[f]&&(t.offsets.popper[h]+=s[h]+p-a[f]),t.offsets.popper=At(t.offsets.popper);var g=s[h]+s[c]/2-p/2,m=dt(t.instance.popper),v=parseFloat(m["margin"+u],10),y=parseFloat(m["border"+u+"Width"],10),b=g-t.offsets.popper[h]-v-y;return b=Math.max(Math.min(a[c]-p,b),0),t.arrowElement=n,t.offsets.arrow=(Tt(i={},h,Math.round(b)),Tt(i,d,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(Vt(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=Ot(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),n=t.placement.split("-")[0],r=Ft(n),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Jt.FLIP:a=[n,r];break;case Jt.CLOCKWISE:a=Qt(n);break;case Jt.COUNTERCLOCKWISE:a=Qt(n,!0);break;default:a=e.behavior}return a.forEach(function(s,l){if(n!==s||a.length===l+1)return t;n=t.placement.split("-")[0],r=Ft(n);var c=t.offsets.popper,u=t.offsets.reference,h=Math.floor,d="left"===n&&h(c.right)>h(u.left)||"right"===n&&h(c.left)<h(u.right)||"top"===n&&h(c.bottom)>h(u.top)||"bottom"===n&&h(c.top)<h(u.bottom),f=h(c.left)<h(i.left),p=h(c.right)>h(i.right),g=h(c.top)<h(i.top),m=h(c.bottom)>h(i.bottom),v="left"===n&&f||"right"===n&&p||"top"===n&&g||"bottom"===n&&m,y=-1!==["top","bottom"].indexOf(n),b=!!e.flipVariations&&(y&&"start"===o&&f||y&&"end"===o&&p||!y&&"start"===o&&g||!y&&"end"===o&&m);(d||v||b)&&(t.flipped=!0,(d||v)&&(n=a[l+1]),b&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=n+(o?"-"+o:""),t.offsets.popper=Et({},t.offsets.popper,Bt(t.instance.popper,t.offsets.reference,t.placement)),t=Ht(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,i=e.split("-")[0],n=t.offsets,r=n.popper,o=n.reference,a=-1!==["left","right"].indexOf(i),s=-1===["top","left"].indexOf(i);return r[a?"left":"top"]=o[i]-(s?r[a?"width":"height"]:0),t.placement=Ft(e),t.offsets.popper=At(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!$t(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=zt(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.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 i=e.x,n=e.y,r=t.offsets.popper,o=zt(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=void 0!==o?o:e.gpuAcceleration,s=yt(t.instance.popper),l=Mt(s),c={position:r.position},u=function(t,e){var i=t.offsets,n=i.popper,r=i.reference,o=Math.round,a=Math.floor,s=function(t){return t},l=o(r.width),c=o(n.width),u=-1!==["left","right"].indexOf(t.placement),h=-1!==t.placement.indexOf("-"),d=e?u||h||l%2==c%2?o:a:s,f=e?o:s;return{left:d(l%2==1&&c%2==1&&!h&&e?n.left-1:n.left),top:f(n.top),bottom:f(n.bottom),right:d(n.right)}}(t,window.devicePixelRatio<2||!qt),h="bottom"===i?"top":"bottom",d="right"===n?"left":"right",f=jt("transform"),p=void 0,g=void 0;if(g="bottom"===h?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,p="right"===d?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&f)c[f]="translate3d("+p+"px, "+g+"px, 0)",c[h]=0,c[d]=0,c.willChange="transform";else{var m="bottom"===h?-1:1,v="right"===d?-1:1;c[h]=g*m,c[d]=p*v,c.willChange=h+", "+d}var y={"x-placement":t.placement};return t.attributes=Et({},y,t.attributes),t.styles=Et({},c,t.styles),t.arrowStyles=Et({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,i;return Xt(t.instance.popper,t.styles),e=t.instance.popper,i=t.attributes,Object.keys(i).forEach(function(t){!1!==i[t]?e.setAttribute(t,i[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&Xt(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,i,n,r){var o=Nt(r,e,t,i.positionFixed),a=It(i.placement,o,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",a),Xt(e,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},ie=function(){function t(e,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Ct(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=ut(this.update.bind(this)),this.options=Et({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(Et({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){n.options.modifiers[e]=Et({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Et({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&ht(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return kt(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Nt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=It(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=Bt(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Ht(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,Vt(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[jt("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=Ut(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return Yt.call(this)}}]),t}();ie.Utils=("undefined"!=typeof window?window:global).PopperUtils,ie.placements=Zt,ie.Defaults=ee;var ne="dropdown",re=e.fn[ne],oe=new RegExp("38|40|27"),ae={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},se="disabled",le="show",ce="dropup",ue="dropright",he="dropleft",de="dropdown-menu-right",fe="position-static",pe='[data-toggle="dropdown"]',ge=".dropdown form",me=".dropdown-menu",ve=".navbar-nav",ye=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",be="top-start",Le="top-end",xe="bottom-start",we="bottom-end",_e="right-start",Se="left-start",Ce={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},ke={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Te=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 i=t.prototype;return i.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(se)){var i=t._getParentFromElement(this._element),n=e(this._menu).hasClass(le);if(t._clearMenus(),!n){var r={relatedTarget:this._element},o=e.Event(ae.SHOW,r);if(e(i).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar){if(void 0===ie)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=i:l.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(i).addClass(fe),this._popper=new ie(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(i).closest(ve).length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(le),e(i).toggleClass(le).trigger(e.Event(ae.SHOWN,r))}}}},i.show=function(){if(!(this._element.disabled||e(this._element).hasClass(se)||e(this._menu).hasClass(le))){var i={relatedTarget:this._element},n=e.Event(ae.SHOW,i),r=t._getParentFromElement(this._element);e(r).trigger(n),n.isDefaultPrevented()||(e(this._menu).toggleClass(le),e(r).toggleClass(le).trigger(e.Event(ae.SHOWN,i)))}},i.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass(se)&&e(this._menu).hasClass(le)){var i={relatedTarget:this._element},n=e.Event(ae.HIDE,i),r=t._getParentFromElement(this._element);e(r).trigger(n),n.isDefaultPrevented()||(e(this._menu).toggleClass(le),e(r).toggleClass(le).trigger(e.Event(ae.HIDDEN,i)))}},i.dispose=function(){e.removeData(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var t=this;e(this._element).on(ae.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},i._getConfig=function(t){return t=o({},this.constructor.Default,e(this._element).data(),t),l.typeCheckConfig(ne,t,this.constructor.DefaultType),t},i._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(me))}return this._menu},i._getPlacement=function(){var t=e(this._element.parentNode),i=xe;return t.hasClass(ce)?(i=be,e(this._menu).hasClass(de)&&(i=Le)):t.hasClass(ue)?i=_e:t.hasClass(he)?i=Se:e(this._menu).hasClass(de)&&(i=we),i},i._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},i._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},i._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}),t},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.dropdown");if(n||(n=new t(this,"object"==typeof i?i:null),e(this).data("bs.dropdown",n)),"string"==typeof i){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}})},t._clearMenus=function(i){if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(var n=[].slice.call(document.querySelectorAll(pe)),r=0,o=n.length;r<o;r++){var a=t._getParentFromElement(n[r]),s=e(n[r]).data("bs.dropdown"),l={relatedTarget:n[r]};if(i&&"click"===i.type&&(l.clickEvent=i),s){var c=s._menu;if(e(a).hasClass(le)&&!(i&&("click"===i.type&&/input|textarea/i.test(i.target.tagName)||"keyup"===i.type&&9===i.which)&&e.contains(a,i.target))){var u=e.Event(ae.HIDE,l);e(a).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),n[r].setAttribute("aria-expanded","false"),e(c).removeClass(le),e(a).removeClass(le).trigger(e.Event(ae.HIDDEN,l)))}}}},t._getParentFromElement=function(t){var e,i=l.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},t._dataApiKeydownHandler=function(i){if((/input|textarea/i.test(i.target.tagName)?!(32===i.which||27!==i.which&&(40!==i.which&&38!==i.which||e(i.target).closest(me).length)):oe.test(i.which))&&(i.preventDefault(),i.stopPropagation(),!this.disabled&&!e(this).hasClass(se))){var n=t._getParentFromElement(this),r=e(n).hasClass(le);if(r&&(!r||27!==i.which&&32!==i.which)){var o=[].slice.call(n.querySelectorAll(ye));if(0!==o.length){var a=o.indexOf(i.target);38===i.which&&a>0&&a--,40===i.which&&a<o.length-1&&a++,a<0&&(a=0),o[a].focus()}}else{if(27===i.which){var s=n.querySelector(pe);e(s).trigger("focus")}e(this).trigger("click")}}},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ce}},{key:"DefaultType",get:function(){return ke}}]),t}();e(document).on(ae.KEYDOWN_DATA_API,pe,Te._dataApiKeydownHandler).on(ae.KEYDOWN_DATA_API,me,Te._dataApiKeydownHandler).on(ae.CLICK_DATA_API+" "+ae.KEYUP_DATA_API,Te._clearMenus).on(ae.CLICK_DATA_API,pe,function(t){t.preventDefault(),t.stopPropagation(),Te._jQueryInterface.call(e(this),"toggle")}).on(ae.CLICK_DATA_API,ge,function(t){t.stopPropagation()}),e.fn[ne]=Te._jQueryInterface,e.fn[ne].Constructor=Te,e.fn[ne].noConflict=function(){return e.fn[ne]=re,Te._jQueryInterface};var Ee=e.fn.modal,Ae={backdrop:!0,keyboard:!0,focus:!0,show:!0},Me={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},De={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},Pe="modal-dialog-scrollable",Oe="modal-scrollbar-measure",Ie="modal-backdrop",Ne="modal-open",Re="fade",Fe="show",Be={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},ze=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(Be.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var i=t.prototype;return i.toggle=function(t){return this._isShown?this.hide():this.show(t)},i.show=function(t){var i=this;if(!this._isShown&&!this._isTransitioning){e(this._element).hasClass(Re)&&(this._isTransitioning=!0);var n=e.Event(De.SHOW,{relatedTarget:t});e(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),e(this._element).on(De.CLICK_DISMISS,Be.DATA_DISMISS,function(t){return i.hide(t)}),e(this._dialog).on(De.MOUSEDOWN_DISMISS,function(){e(i._element).one(De.MOUSEUP_DISMISS,function(t){e(t.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return i._showElement(t)}))}},i.hide=function(t){var i=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=e.Event(De.HIDE);if(e(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var r=e(this._element).hasClass(Re);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),e(document).off(De.FOCUSIN),e(this._element).removeClass(Fe),e(this._element).off(De.CLICK_DISMISS),e(this._dialog).off(De.MOUSEDOWN_DISMISS),r){var o=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,function(t){return i._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},i.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return e(t).off(".bs.modal")}),e(document).off(De.FOCUSIN),e.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},i.handleUpdate=function(){this._adjustDialog()},i._getConfig=function(t){return t=o({},Ae,t),l.typeCheckConfig("modal",t,Me),t},i._showElement=function(t){var i=this,n=e(this._element).hasClass(Re);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),e(this._dialog).hasClass(Pe)?this._dialog.querySelector(Be.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,n&&l.reflow(this._element),e(this._element).addClass(Fe),this._config.focus&&this._enforceFocus();var r=e.Event(De.SHOWN,{relatedTarget:t}),o=function(){i._config.focus&&i._element.focus(),i._isTransitioning=!1,e(i._element).trigger(r)};if(n){var a=l.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(l.TRANSITION_END,o).emulateTransitionEnd(a)}else o()},i._enforceFocus=function(){var t=this;e(document).off(De.FOCUSIN).on(De.FOCUSIN,function(i){document!==i.target&&t._element!==i.target&&0===e(t._element).has(i.target).length&&t._element.focus()})},i._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?e(this._element).on(De.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||e(this._element).off(De.KEYDOWN_DISMISS)},i._setResizeEvent=function(){var t=this;this._isShown?e(window).on(De.RESIZE,function(e){return t.handleUpdate(e)}):e(window).off(De.RESIZE)},i._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){e(document.body).removeClass(Ne),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger(De.HIDDEN)})},i._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},i._showBackdrop=function(t){var i=this,n=e(this._element).hasClass(Re)?Re:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Ie,n&&this._backdrop.classList.add(n),e(this._backdrop).appendTo(document.body),e(this._element).on(De.CLICK_DISMISS,function(t){i._ignoreBackdropClick?i._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===i._config.backdrop?i._element.focus():i.hide())}),n&&l.reflow(this._backdrop),e(this._backdrop).addClass(Fe),!t)return;if(!n)return void t();var r=l.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(l.TRANSITION_END,t).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass(Fe);var o=function(){i._removeBackdrop(),t&&t()};if(e(this._element).hasClass(Re)){var a=l.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(l.TRANSITION_END,o).emulateTransitionEnd(a)}else o()}else t&&t()},i._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")},i._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},i._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},i._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var i=[].slice.call(document.querySelectorAll(Be.FIXED_CONTENT)),n=[].slice.call(document.querySelectorAll(Be.STICKY_CONTENT));e(i).each(function(i,n){var r=n.style.paddingRight,o=e(n).css("padding-right");e(n).data("padding-right",r).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),e(n).each(function(i,n){var r=n.style.marginRight,o=e(n).css("margin-right");e(n).data("margin-right",r).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")});var r=document.body.style.paddingRight,o=e(document.body).css("padding-right");e(document.body).data("padding-right",r).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}e(document.body).addClass(Ne)},i._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(Be.FIXED_CONTENT));e(t).each(function(t,i){var n=e(i).data("padding-right");e(i).removeData("padding-right"),i.style.paddingRight=n||""});var i=[].slice.call(document.querySelectorAll(""+Be.STICKY_CONTENT));e(i).each(function(t,i){var n=e(i).data("margin-right");void 0!==n&&e(i).css("margin-right",n).removeData("margin-right")});var n=e(document.body).data("padding-right");e(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},i._getScrollbarWidth=function(){var t=document.createElement("div");t.className=Oe,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(i,n){return this.each(function(){var r=e(this).data("bs.modal"),a=o({},Ae,e(this).data(),"object"==typeof i&&i?i:{});if(r||(r=new t(this,a),e(this).data("bs.modal",r)),"string"==typeof i){if(void 0===r[i])throw new TypeError('No method named "'+i+'"');r[i](n)}else a.show&&r.show(n)})},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ae}}]),t}();e(document).on(De.CLICK_DATA_API,Be.DATA_TOGGLE,function(t){var i,n=this,r=l.getSelectorFromElement(this);r&&(i=document.querySelector(r));var a=e(i).data("bs.modal")?"toggle":o({},e(i).data(),e(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=e(i).one(De.SHOW,function(t){t.isDefaultPrevented()||s.one(De.HIDDEN,function(){e(n).is(":visible")&&n.focus()})});ze._jQueryInterface.call(e(i),a,this)}),e.fn.modal=ze._jQueryInterface,e.fn.modal.Constructor=ze,e.fn.modal.noConflict=function(){return e.fn.modal=Ee,ze._jQueryInterface};var He=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Ve={"*":["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","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},je=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,We=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ue(t,e,i){if(0===t.length)return t;if(i&&"function"==typeof i)return i(t);for(var n=(new window.DOMParser).parseFromString(t,"text/html"),r=Object.keys(e),o=[].slice.call(n.body.querySelectorAll("*")),a=function(t,i){var n=o[t],a=n.nodeName.toLowerCase();if(-1===r.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var s=[].slice.call(n.attributes),l=[].concat(e["*"]||[],e[a]||[]);s.forEach(function(t){(function(t,e){var i=t.nodeName.toLowerCase();if(-1!==e.indexOf(i))return-1===He.indexOf(i)||Boolean(t.nodeValue.match(je)||t.nodeValue.match(We));for(var n=e.filter(function(t){return t instanceof RegExp}),r=0,o=n.length;r<o;r++)if(i.match(n[r]))return!0;return!1})(t,l)||n.removeAttribute(t.nodeName)})},s=0,l=o.length;s<l;s++)a(s);return n.body.innerHTML}var Ye="tooltip",Ge=e.fn.tooltip,Xe=new RegExp("(^|\\s)bs-tooltip\\S+","g"),qe=["sanitize","whiteList","sanitizeFn"],$e={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"},Ze={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ke={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:Ve},Qe="show",Je="out",ti={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"},ei="fade",ii="show",ni=".tooltip-inner",ri=".arrow",oi="hover",ai="focus",si="click",li="manual",ci=function(){function t(t,e){if(void 0===ie)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 i=t.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(t){if(this._isEnabled)if(t){var i=this.constructor.DATA_KEY,n=e(t.currentTarget).data(i);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(e(this.getTipElement()).hasClass(ii))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var i=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(i);var n=l.findShadowRoot(this.element),r=e.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!r)return;var o=this.getTipElement(),a=l.getUID(this.constructor.NAME);o.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&e(o).addClass(ei);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,c=this._getAttachment(s);this.addAttachmentClass(c);var u=this._getContainer();e(o).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(o).appendTo(u),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new ie(this.element,o,{placement:c,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ri},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),e(o).addClass(ii),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var h=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),i===Je&&t._leave(null,t)};if(e(this.tip).hasClass(ei)){var d=l.getTransitionDurationFromElement(this.tip);e(this.tip).one(l.TRANSITION_END,h).emulateTransitionEnd(d)}else h()}},i.hide=function(t){var i=this,n=this.getTipElement(),r=e.Event(this.constructor.Event.HIDE),o=function(){i._hoverState!==Qe&&n.parentNode&&n.parentNode.removeChild(n),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),e(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),t&&t()};if(e(this.element).trigger(r),!r.isDefaultPrevented()){if(e(n).removeClass(ii),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[si]=!1,this._activeTrigger[ai]=!1,this._activeTrigger[oi]=!1,e(this.tip).hasClass(ei)){var a=l.getTransitionDurationFromElement(n);e(n).one(l.TRANSITION_END,o).emulateTransitionEnd(a)}else o();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},i.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},i.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(ni)),this.getTitle()),e(t).removeClass(ei+" "+ii)},i.setElementContent=function(t,i){"object"!=typeof i||!i.nodeType&&!i.jquery?this.config.html?(this.config.sanitize&&(i=Ue(i,this.config.whiteList,this.config.sanitizeFn)),t.html(i)):t.text(i):this.config.html?e(i).parent().is(t)||t.empty().append(i):t.text(e(i).text())},i.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},i._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},i._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},i._getAttachment=function(t){return Ze[t.toUpperCase()]},i._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(i!==li){var n=i===oi?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,r=i===oi?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(n,t.config.selector,function(e){return t._enter(e)}).on(r,t.config.selector,function(e){return t._leave(e)})}}),e(this.element).closest(".modal").on("hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._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",""))},i._enter=function(t,i){var n=this.constructor.DATA_KEY;(i=i||e(t.currentTarget).data(n))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),t&&(i._activeTrigger["focusin"===t.type?ai:oi]=!0),e(i.getTipElement()).hasClass(ii)||i._hoverState===Qe?i._hoverState=Qe:(clearTimeout(i._timeout),i._hoverState=Qe,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===Qe&&i.show()},i.config.delay.show):i.show())},i._leave=function(t,i){var n=this.constructor.DATA_KEY;(i=i||e(t.currentTarget).data(n))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),t&&(i._activeTrigger["focusout"===t.type?ai:oi]=!1),i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=Je,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===Je&&i.hide()},i.config.delay.hide):i.hide())},i._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},i._getConfig=function(t){var i=e(this.element).data();return Object.keys(i).forEach(function(t){-1!==qe.indexOf(t)&&delete i[t]}),"number"==typeof(t=o({},this.constructor.Default,i,"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()),l.typeCheckConfig(Ye,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ue(t.template,t.whiteList,t.sanitizeFn)),t},i._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},i._cleanTipClass=function(){var t=e(this.getTipElement()),i=t.attr("class").match(Xe);null!==i&&i.length&&t.removeClass(i.join(""))},i._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},i._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(ei),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.tooltip"),r="object"==typeof i&&i;if((n||!/dispose|hide/.test(i))&&(n||(n=new t(this,r),e(this).data("bs.tooltip",n)),"string"==typeof i)){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}})},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ke}},{key:"NAME",get:function(){return Ye}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return ti}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return $e}}]),t}();e.fn.tooltip=ci._jQueryInterface,e.fn.tooltip.Constructor=ci,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=Ge,ci._jQueryInterface};var ui="popover",hi=e.fn.popover,di=new RegExp("(^|\\s)bs-popover\\S+","g"),fi=o({},ci.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>'}),pi=o({},ci.DefaultType,{content:"(string|element|function)"}),gi="fade",mi="show",vi=".popover-header",yi=".popover-body",bi={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"},Li=function(t){var i,r;function o(){return t.apply(this,arguments)||this}r=t,(i=o).prototype=Object.create(r.prototype),i.prototype.constructor=i,i.__proto__=r;var a=o.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},a.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},a.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(vi),this.getTitle());var i=this._getContent();"function"==typeof i&&(i=i.call(this.element)),this.setElementContent(t.find(yi),i),t.removeClass(gi+" "+mi)},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var t=e(this.getTipElement()),i=t.attr("class").match(di);null!==i&&i.length>0&&t.removeClass(i.join(""))},o._jQueryInterface=function(t){return this.each(function(){var i=e(this).data("bs.popover"),n="object"==typeof t?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new o(this,n),e(this).data("bs.popover",i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},n(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return fi}},{key:"NAME",get:function(){return ui}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return bi}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return pi}}]),o}(ci);e.fn.popover=Li._jQueryInterface,e.fn.popover.Constructor=Li,e.fn.popover.noConflict=function(){return e.fn.popover=hi,Li._jQueryInterface};var xi="scrollspy",wi=e.fn[xi],_i={offset:10,method:"auto",target:""},Si={offset:"number",method:"string",target:"(string|element)"},Ci={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},ki="dropdown-item",Ti="active",Ei={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},Ai="offset",Mi="position",Di=function(){function t(t,i){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(i),this._selector=this._config.target+" "+Ei.NAV_LINKS+","+this._config.target+" "+Ei.LIST_ITEMS+","+this._config.target+" "+Ei.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(Ci.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var i=t.prototype;return i.refresh=function(){var t=this,i=this._scrollElement===this._scrollElement.window?Ai:Mi,n="auto"===this._config.method?i:this._config.method,r=n===Mi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var i,o=l.getSelectorFromElement(t);if(o&&(i=document.querySelector(o)),i){var a=i.getBoundingClientRect();if(a.width||a.height)return[e(i)[n]().top+r,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])})},i.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(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},i._getConfig=function(t){if("string"!=typeof(t=o({},_i,"object"==typeof t&&t?t:{})).target){var i=e(t.target).attr("id");i||(i=l.getUID(xi),e(t.target).attr("id",i)),t.target="#"+i}return l.typeCheckConfig(xi,t,Si),t},i._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},i._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},i._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},i._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}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])}}},i._activate=function(t){this._activeTarget=t,this._clear();var i=this._selector.split(",").map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'}),n=e([].slice.call(document.querySelectorAll(i.join(","))));n.hasClass(ki)?(n.closest(Ei.DROPDOWN).find(Ei.DROPDOWN_TOGGLE).addClass(Ti),n.addClass(Ti)):(n.addClass(Ti),n.parents(Ei.NAV_LIST_GROUP).prev(Ei.NAV_LINKS+", "+Ei.LIST_ITEMS).addClass(Ti),n.parents(Ei.NAV_LIST_GROUP).prev(Ei.NAV_ITEMS).children(Ei.NAV_LINKS).addClass(Ti)),e(this._scrollElement).trigger(Ci.ACTIVATE,{relatedTarget:t})},i._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(Ti)}).forEach(function(t){return t.classList.remove(Ti)})},t._jQueryInterface=function(i){return this.each(function(){var n=e(this).data("bs.scrollspy");if(n||(n=new t(this,"object"==typeof i&&i),e(this).data("bs.scrollspy",n)),"string"==typeof i){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}})},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return _i}}]),t}();e(window).on(Ci.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(Ei.DATA_SPY)),i=t.length;i--;){var n=e(t[i]);Di._jQueryInterface.call(n,n.data())}}),e.fn[xi]=Di._jQueryInterface,e.fn[xi].Constructor=Di,e.fn[xi].noConflict=function(){return e.fn[xi]=wi,Di._jQueryInterface};var Pi=e.fn.tab,Oi={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},Ii="dropdown-menu",Ni="active",Ri="disabled",Fi="fade",Bi="show",zi=".dropdown",Hi=".nav, .list-group",Vi=".active",ji="> li > .active",Wi='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Ui=".dropdown-toggle",Yi="> .dropdown-menu .active",Gi=function(){function t(t){this._element=t}var i=t.prototype;return i.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(Ni)||e(this._element).hasClass(Ri))){var i,n,r=e(this._element).closest(Hi)[0],o=l.getSelectorFromElement(this._element);if(r){var a="UL"===r.nodeName||"OL"===r.nodeName?ji:Vi;n=(n=e.makeArray(e(r).find(a)))[n.length-1]}var s=e.Event(Oi.HIDE,{relatedTarget:this._element}),c=e.Event(Oi.SHOW,{relatedTarget:n});if(n&&e(n).trigger(s),e(this._element).trigger(c),!c.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(i=document.querySelector(o)),this._activate(this._element,r);var u=function(){var i=e.Event(Oi.HIDDEN,{relatedTarget:t._element}),r=e.Event(Oi.SHOWN,{relatedTarget:n});e(n).trigger(i),e(t._element).trigger(r)};i?this._activate(i,i.parentNode,u):u()}}},i.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},i._activate=function(t,i,n){var r=this,o=(!i||"UL"!==i.nodeName&&"OL"!==i.nodeName?e(i).children(Vi):e(i).find(ji))[0],a=n&&o&&e(o).hasClass(Fi),s=function(){return r._transitionComplete(t,o,n)};if(o&&a){var c=l.getTransitionDurationFromElement(o);e(o).removeClass(Bi).one(l.TRANSITION_END,s).emulateTransitionEnd(c)}else s()},i._transitionComplete=function(t,i,n){if(i){e(i).removeClass(Ni);var r=e(i.parentNode).find(Yi)[0];r&&e(r).removeClass(Ni),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1)}if(e(t).addClass(Ni),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),l.reflow(t),t.classList.contains(Fi)&&t.classList.add(Bi),t.parentNode&&e(t.parentNode).hasClass(Ii)){var o=e(t).closest(zi)[0];if(o){var a=[].slice.call(o.querySelectorAll(Ui));e(a).addClass(Ni)}t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(i){return this.each(function(){var n=e(this),r=n.data("bs.tab");if(r||(r=new t(this),n.data("bs.tab",r)),"string"==typeof i){if(void 0===r[i])throw new TypeError('No method named "'+i+'"');r[i]()}})},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(Oi.CLICK_DATA_API,Wi,function(t){t.preventDefault(),Gi._jQueryInterface.call(e(this),"show")}),e.fn.tab=Gi._jQueryInterface,e.fn.tab.Constructor=Gi,e.fn.tab.noConflict=function(){return e.fn.tab=Pi,Gi._jQueryInterface};var Xi=e.fn.toast,qi={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},$i="fade",Zi="hide",Ki="show",Qi="showing",Ji={animation:"boolean",autohide:"boolean",delay:"number"},tn={animation:!0,autohide:!0,delay:500},en='[data-dismiss="toast"]',nn=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var i=t.prototype;return i.show=function(){var t=this;e(this._element).trigger(qi.SHOW),this._config.animation&&this._element.classList.add($i);var i=function(){t._element.classList.remove(Qi),t._element.classList.add(Ki),e(t._element).trigger(qi.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(Zi),this._element.classList.add(Qi),this._config.animation){var n=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,i).emulateTransitionEnd(n)}else i()},i.hide=function(t){var i=this;this._element.classList.contains(Ki)&&(e(this._element).trigger(qi.HIDE),t?this._close():this._timeout=setTimeout(function(){i._close()},this._config.delay))},i.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(Ki)&&this._element.classList.remove(Ki),e(this._element).off(qi.CLICK_DISMISS),e.removeData(this._element,"bs.toast"),this._element=null,this._config=null},i._getConfig=function(t){return t=o({},tn,e(this._element).data(),"object"==typeof t&&t?t:{}),l.typeCheckConfig("toast",t,this.constructor.DefaultType),t},i._setListeners=function(){var t=this;e(this._element).on(qi.CLICK_DISMISS,en,function(){return t.hide(!0)})},i._close=function(){var t=this,i=function(){t._element.classList.add(Zi),e(t._element).trigger(qi.HIDDEN)};if(this._element.classList.remove(Ki),this._config.animation){var n=l.getTransitionDurationFromElement(this._element);e(this._element).one(l.TRANSITION_END,i).emulateTransitionEnd(n)}else i()},t._jQueryInterface=function(i){return this.each(function(){var n=e(this),r=n.data("bs.toast");if(r||(r=new t(this,"object"==typeof i&&i),n.data("bs.toast",r)),"string"==typeof i){if(void 0===r[i])throw new TypeError('No method named "'+i+'"');r[i](this)}})},n(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Ji}},{key:"Default",get:function(){return tn}}]),t}();e.fn.toast=nn._jQueryInterface,e.fn.toast.Constructor=nn,e.fn.toast.noConflict=function(){return e.fn.toast=Xi,nn._jQueryInterface},function(){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.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")}(),t.Util=l,t.Alert=p,t.Button=C,t.Carousel=G,t.Collapse=ot,t.Dropdown=Te,t.Modal=ze,t.Popover=Li,t.Scrollspy=Di,t.Tab=Gi,t.Toast=nn,t.Tooltip=ci,Object.defineProperty(t,"__esModule",{value:!0})}),function(t){var e=void 0!==window.orientation,i=navigator.userAgent.toLowerCase().indexOf("android")>-1,n=function(e,n){i||(this.$element=t(e),this.options=t.extend({},t.fn.inputmask.defaults,n),this.mask=String(n.mask),this.init(),this.listen(),this.checkVal())};n.prototype={init:function(){var e=this.options.definitions;this.mask.length;this.tests=[],this.partialPosition=this.mask.length,this.firstNonMaskPos=null,t.each(this.mask.split(""),t.proxy(function(t,i){"?"==i?(0,this.partialPosition=t):e[i]?(this.tests.push(new RegExp(e[i])),null===this.firstNonMaskPos&&(this.firstNonMaskPos=this.tests.length-1)):this.tests.push(null)},this)),this.buffer=t.map(this.mask.split(""),t.proxy(function(t,i){if("?"!=t)return e[t]?this.options.placeholder:t},this)),this.focusText=this.$element.val(),this.$element.data("rawMaskFn",t.proxy(function(){return t.map(this.buffer,function(t,e){return this.tests[e]&&t!=this.options.placeholder?t:null}).join("")},this))},listen:function(){if(!this.$element.attr("readonly")){var e=(navigator.userAgent.match(/msie/i)?"paste":"input")+".mask";this.$element.on("unmask",t.proxy(this.unmask,this)).on("focus.mask",t.proxy(this.focusEvent,this)).on("blur.mask",t.proxy(this.blurEvent,this)).on("keydown.mask",t.proxy(this.keydownEvent,this)).on("keypress.mask",t.proxy(this.keypressEvent,this)).on(e,t.proxy(this.pasteEvent,this))}},caret:function(t,e){if(0!==this.$element.length){if("number"==typeof t)return e="number"==typeof e?e:t,this.$element.each(function(){if(this.setSelectionRange)this.setSelectionRange(t,e);else if(this.createTextRange){var i=this.createTextRange();i.collapse(!0),i.moveEnd("character",e),i.moveStart("character",t),i.select()}});if(this.$element[0].setSelectionRange)t=this.$element[0].selectionStart,e=this.$element[0].selectionEnd;else if(document.selection&&document.selection.createRange){var i=document.selection.createRange();t=0-i.duplicate().moveStart("character",-1e5),e=t+i.text.length}return{begin:t,end:e}}},seekNext:function(t){for(var e=this.mask.length;++t<=e&&!this.tests[t];);return t},seekPrev:function(t){for(;--t>=0&&!this.tests[t];);return t},shiftL:function(t,e){var i=this.mask.length;if(!(t<0)){for(var n=t,r=this.seekNext(e);n<i;n++)if(this.tests[n]){if(!(r<i&&this.tests[n].test(this.buffer[r])))break;this.buffer[n]=this.buffer[r],this.buffer[r]=this.options.placeholder,r=this.seekNext(r)}this.writeBuffer(),this.caret(Math.max(this.firstNonMaskPos,t))}},shiftR:function(t){for(var e=this.mask.length,i=t,n=this.options.placeholder;i<e;i++)if(this.tests[i]){var r=this.seekNext(i),o=this.buffer[i];if(this.buffer[i]=n,!(r<e&&this.tests[r].test(o)))break;n=o}},unmask:function(){this.$element.unbind(".mask").removeData("inputmask")},focusEvent:function(){this.focusText=this.$element.val();var e=this.mask.length,i=this.checkVal();this.writeBuffer();var n=this,r=function(){i==e?n.caret(0,i):n.caret(i)};t.browser.msie?r():setTimeout(r,0)},blurEvent:function(){this.checkVal(),this.$element.val()!=this.focusText&&this.$element.trigger("change")},keydownEvent:function(t){var i=t.which;if(8==i||46==i||e&&127==i){var n=this.caret(),r=n.begin,o=n.end;return o-r==0&&(r=46!=i?this.seekPrev(r):o=this.seekNext(r-1),o=46==i?this.seekNext(o):o),this.clearBuffer(r,o),this.shiftL(r,o-1),!1}if(27==i)return this.$element.val(this.focusText),this.caret(0,this.checkVal()),!1},keypressEvent:function(t){var e=this.mask.length,i=t.which,n=this.caret();if(t.ctrlKey||t.altKey||t.metaKey||i<32)return!0;if(i){n.end-n.begin!=0&&(this.clearBuffer(n.begin,n.end),this.shiftL(n.begin,n.end-1));var r=this.seekNext(n.begin-1);if(r<e){var o=String.fromCharCode(i);if(this.tests[r].test(o)){this.shiftR(r),this.buffer[r]=o,this.writeBuffer();var a=this.seekNext(r);this.caret(a)}}return!1}},pasteEvent:function(){var t=this;setTimeout(function(){t.caret(t.checkVal(!0))},0)},clearBuffer:function(t,e){for(var i=this.mask.length,n=t;n<e&&n<i;n++)this.tests[n]&&(this.buffer[n]=this.options.placeholder)},writeBuffer:function(){return this.$element.val(this.buffer.join("")).val()},checkVal:function(t){for(var e=this.mask.length,i=this.$element.val(),n=-1,r=0,o=0;r<e;r++)if(this.tests[r]){for(this.buffer[r]=this.options.placeholder;o++<i.length;){var a=i.charAt(o-1);if(this.tests[r].test(a)){this.buffer[r]=a,n=r;break}}if(o>i.length)break}else this.buffer[r]==i.charAt(o)&&r!=this.partialPosition&&(o++,n=r);return!t&&n+1<this.partialPosition?(this.$element.val(""),this.clearBuffer(0,e)):(t||n+1>=this.partialPosition)&&(this.writeBuffer(),t||this.$element.val(this.$element.val().substring(0,n+1))),this.partialPosition?r:this.firstNonMaskPos}},t.fn.inputmask=function(e){return this.each(function(){var i=t(this),r=i.data("inputmask");r||i.data("inputmask",r=new n(this,e))})},t.fn.inputmask.defaults={mask:"",placeholder:"_",definitions:{9:"[0-9]",a:"[A-Za-z]","?":"[A-Za-z0-9]","*":"."}},t.fn.inputmask.Constructor=n,t(document).on("focus.inputmask.data-api","[data-mask]",function(e){var i=t(this);i.data("inputmask")||(e.preventDefault(),i.inputmask(i.data()))})}(window.jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):t.metisMenu=e(t.jQuery)}(this,function(t){"use strict";function e(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),n.forEach(function(e){var n,r,o;n=t,o=i[r=e],r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o})}return t}var i,n,r,o,a,s,l,c,u=function(t){var e="transitionend",i={TRANSITION_END:"mmTransitionEnd",triggerTransitionEnd:function(i){t(i).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)}};return t.fn.mmEmulateTransitionEnd=function(e){var n=this,r=!1;return t(this).one(i.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||i.triggerTransitionEnd(n)},e),this},t.event.special[i.TRANSITION_END]={bindType:e,delegateType:e,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},i}(t=t&&t.hasOwnProperty("default")?t.default:t);return o="."+(r=n="metisMenu"),a=(i=t).fn[n],s={toggle:!0,preventDefault:!0,activeClass:"active",collapseClass:"collapse",collapseInClass:"in",collapsingClass:"collapsing",triggerElement:"a",parentTrigger:"li",subMenu:"ul"},l={SHOW:"show"+o,SHOWN:"shown"+o,HIDE:"hide"+o,HIDDEN:"hidden"+o,CLICK_DATA_API:"click"+o+".data-api"},c=function(){function t(t,i){this.element=t,this.config=e({},s,i),this.transitioning=null,this.init()}var n=t.prototype;return n.init=function(){var t=this,e=this.config;i(this.element).find(e.parentTrigger+"."+e.activeClass).has(e.subMenu).children(e.subMenu).addClass(e.collapseClass+" "+e.collapseInClass),i(this.element).find(e.parentTrigger).not("."+e.activeClass).has(e.subMenu).children(e.subMenu).addClass(e.collapseClass),i(this.element).find(e.parentTrigger).has(e.subMenu).children(e.triggerElement).on(l.CLICK_DATA_API,function(n){var r=i(this),o=r.parent(e.parentTrigger),a=o.siblings(e.parentTrigger).children(e.triggerElement),s=o.children(e.subMenu);e.preventDefault&&n.preventDefault(),"true"!==r.attr("aria-disabled")&&(o.hasClass(e.activeClass)?(r.attr("aria-expanded",!1),t.hide(s)):(t.show(s),r.attr("aria-expanded",!0),e.toggle&&a.attr("aria-expanded",!1)),e.onTransitionStart&&e.onTransitionStart(n))})},n.show=function(t){var e=this;if(!this.transitioning&&!i(t).hasClass(this.config.collapsingClass)){var n=i(t),r=i.Event(l.SHOW);n.trigger(r),r.isDefaultPrevented()||(n.parent(this.config.parentTrigger).addClass(this.config.activeClass),this.config.toggle&&this.hide(n.parent(this.config.parentTrigger).siblings().children(this.config.subMenu+"."+this.config.collapseInClass)),n.removeClass(this.config.collapseClass).addClass(this.config.collapsingClass).height(0),this.setTransitioning(!0),n.height(t[0].scrollHeight).one(u.TRANSITION_END,function(){e.config&&e.element&&(n.removeClass(e.config.collapsingClass).addClass(e.config.collapseClass+" "+e.config.collapseInClass).height(""),e.setTransitioning(!1),n.trigger(l.SHOWN))}).mmEmulateTransitionEnd(350))}},n.hide=function(t){var e=this;if(!this.transitioning&&i(t).hasClass(this.config.collapseInClass)){var n=i(t),r=i.Event(l.HIDE);if(n.trigger(r),!r.isDefaultPrevented()){n.parent(this.config.parentTrigger).removeClass(this.config.activeClass),n.height(n.height())[0].offsetHeight,n.addClass(this.config.collapsingClass).removeClass(this.config.collapseClass).removeClass(this.config.collapseInClass),this.setTransitioning(!0);var o=function(){e.config&&e.element&&(e.transitioning&&e.config.onTransitionEnd&&e.config.onTransitionEnd(),e.setTransitioning(!1),n.trigger(l.HIDDEN),n.removeClass(e.config.collapsingClass).addClass(e.config.collapseClass))};0===n.height()||"none"===n.css("display")?o():n.height(0).one(u.TRANSITION_END,o).mmEmulateTransitionEnd(350)}}},n.setTransitioning=function(t){this.transitioning=t},n.dispose=function(){i.removeData(this.element,r),i(this.element).find(this.config.parentTrigger).has(this.config.subMenu).children(this.config.triggerElement).off("click"),this.transitioning=null,this.config=null,this.element=null},t.jQueryInterface=function(n){return this.each(function(){var o=i(this),a=o.data(r),l=e({},s,o.data(),"object"==typeof n&&n?n:{});if(!a&&/dispose/.test(n)&&this.dispose(),a||(a=new t(this,l),o.data(r,a)),"string"==typeof n){if(void 0===a[n])throw new Error('No method named "'+n+'"');a[n]()}})},t}(),i.fn[n]=c.jQueryInterface,i.fn[n].Constructor=c,i.fn[n].noConflict=function(){return i.fn[n]=a,c.jQueryInterface},c}),function(t){t.color={},t.color.make=function(e,i,n,r){var o={};return o.r=e||0,o.g=i||0,o.b=n||0,o.a=null!=r?r:1,o.add=function(t,e){for(var i=0;i<t.length;++i)o[t.charAt(i)]+=e;return o.normalize()},o.scale=function(t,e){for(var i=0;i<t.length;++i)o[t.charAt(i)]*=e;return o.normalize()},o.toString=function(){return o.a>=1?"rgb("+[o.r,o.g,o.b].join(",")+")":"rgba("+[o.r,o.g,o.b,o.a].join(",")+")"},o.normalize=function(){function t(t,e,i){return e<t?t:e>i?i:e}return o.r=t(0,parseInt(o.r),255),o.g=t(0,parseInt(o.g),255),o.b=t(0,parseInt(o.b),255),o.a=t(0,o.a,1),o},o.clone=function(){return t.color.make(o.r,o.b,o.g,o.a)},o.normalize()},t.color.extract=function(e,i){var n;do{if(""!=(n=e.css(i).toLowerCase())&&"transparent"!=n)break;e=e.parent()}while(e.length&&!t.nodeName(e.get(0),"body"));return"rgba(0, 0, 0, 0)"==n&&(n="transparent"),t.color.parse(n)},t.color.parse=function(i){var n,r=t.color.make;if(n=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(i))return r(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10));if(n=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return r(parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3],10),parseFloat(n[4]));if(n=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(i))return r(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]));if(n=/rgba\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\s*\)/.exec(i))return r(2.55*parseFloat(n[1]),2.55*parseFloat(n[2]),2.55*parseFloat(n[3]),parseFloat(n[4]));if(n=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(i))return r(parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16));if(n=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(i))return r(parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16),parseInt(n[3]+n[3],16));var o=t.trim(i).toLowerCase();return"transparent"==o?r(255,255,255,0):r((n=e[o]||[0,0,0])[0],n[1],n[2])};var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],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],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}}(jQuery),function(t){var e=Object.prototype.hasOwnProperty;function i(e,i){var n=i.children("."+e)[0];if(null==n&&((n=document.createElement("canvas")).className=e,t(n).css({direction:"ltr",position:"absolute",left:0,top:0}).appendTo(i),!n.getContext)){if(!window.G_vmlCanvasManager)throw new Error("Canvas is not available. If you're using IE with a fall-back such as Excanvas, then there's either a mistake in your conditional include, or the page has no DOCTYPE and is rendering in Quirks Mode.");n=window.G_vmlCanvasManager.initElement(n)}this.element=n;var r=this.context=n.getContext("2d"),o=window.devicePixelRatio||1,a=r.webkitBackingStorePixelRatio||r.mozBackingStorePixelRatio||r.msBackingStorePixelRatio||r.oBackingStorePixelRatio||r.backingStorePixelRatio||1;this.pixelRatio=o/a,this.resize(i.width(),i.height()),this.textContainer=null,this.text={},this._textCache={}}function n(e,n,r,o){var a=[],s={colors:["#edc240","#afd8f8","#cb4b4b","#4da74d","#9440ed"],legend:{show:!0,noColumns:1,labelFormatter:null,labelBoxBorderColor:"#ccc",container:null,position:"ne",margin:5,backgroundColor:null,backgroundOpacity:.85,sorted:null},xaxis:{show:null,position:"bottom",mode:null,font:null,color:null,tickColor:null,transform:null,inverseTransform:null,min:null,max:null,autoscaleMargin:null,ticks:null,tickFormatter:null,labelWidth:null,labelHeight:null,reserveSpace:null,tickLength:null,alignTicksWithAxis:null,tickDecimals:null,tickSize:null,minTickSize:null},yaxis:{autoscaleMargin:.02,position:"left"},xaxes:[],yaxes:[],series:{points:{show:!1,radius:3,lineWidth:2,fill:!0,fillColor:"#ffffff",symbol:"circle"},lines:{lineWidth:2,fill:!1,fillColor:null,steps:!1},bars:{show:!1,lineWidth:2,barWidth:1,fill:!0,fillColor:null,align:"left",horizontal:!1,zero:!0},shadowSize:3,highlightColor:null},grid:{show:!0,aboveData:!1,color:"#545454",backgroundColor:null,borderColor:null,tickColor:null,margin:0,labelMargin:5,axisMargin:8,borderWidth:2,minBorderMargin:null,markings:null,markingsColor:"#f4f4f4",markingsLineWidth:2,clickable:!1,hoverable:!1,autoHighlight:!0,mouseActiveRadius:10},interaction:{redrawOverlayInterval:1e3/60},hooks:{}},l=null,c=null,u=null,h=null,d=null,f=[],p=[],g={left:0,right:0,top:0,bottom:0},m=0,v=0,y={processOptions:[],processRawData:[],processDatapoints:[],processOffset:[],drawBackground:[],drawSeries:[],draw:[],bindEvents:[],drawOverlay:[],shutdown:[]},b=this;function L(t,e){e=[b].concat(e);for(var i=0;i<t.length;++i)t[i].apply(this,e)}function x(e){a=function(e){for(var i=[],n=0;n<e.length;++n){var r=t.extend(!0,{},s.series);null!=e[n].data?(r.data=e[n].data,delete e[n].data,t.extend(!0,r,e[n]),e[n].data=r.data):r.data=e[n],i.push(r)}return i}(e),function(){var e,i=a.length,n=-1;for(e=0;e<a.length;++e){var r=a[e].color;null!=r&&(i--,"number"==typeof r&&r>n&&(n=r))}i<=n&&(i=n+1);var o,l=[],c=s.colors,u=c.length,h=0;for(e=0;e<i;e++)o=t.color.parse(c[e%u]||"#666"),e%u==0&&e&&(h=h>=0?h<.5?-h-.2:0:-h),l[e]=o.scale("rgb",1+h);var d,g=0;for(e=0;e<a.length;++e){if(null==(d=a[e]).color?(d.color=l[g].toString(),++g):"number"==typeof d.color&&(d.color=l[d.color].toString()),null==d.lines.show){var m,v=!0;for(m in d)if(d[m]&&d[m].show){v=!1;break}v&&(d.lines.show=!0)}null==d.lines.zero&&(d.lines.zero=!!d.lines.fill),d.xaxis=C(f,w(d,"x")),d.yaxis=C(p,w(d,"y"))}}(),function(){var e,i,n,r,o,s,l,c,u,h,d,f,p=Number.POSITIVE_INFINITY,g=Number.NEGATIVE_INFINITY,m=Number.MAX_VALUE;function v(t,e,i){e<t.datamin&&e!=-m&&(t.datamin=e),i>t.datamax&&i!=m&&(t.datamax=i)}for(t.each(_(),function(t,e){e.datamin=p,e.datamax=g,e.used=!1}),e=0;e<a.length;++e)(o=a[e]).datapoints={points:[]},L(y.processRawData,[o,o.data,o.datapoints]);for(e=0;e<a.length;++e){if(o=a[e],d=o.data,!(f=o.datapoints.format)){if((f=[]).push({x:!0,number:!0,required:!0}),f.push({y:!0,number:!0,required:!0}),o.bars.show||o.lines.show&&o.lines.fill){var b=!!(o.bars.show&&o.bars.zero||o.lines.show&&o.lines.zero);f.push({y:!0,number:!0,required:!1,defaultValue:0,autoscale:b}),o.bars.horizontal&&(delete f[f.length-1].y,f[f.length-1].x=!0)}o.datapoints.format=f}if(null==o.datapoints.pointsize){o.datapoints.pointsize=f.length,l=o.datapoints.pointsize,s=o.datapoints.points;var x=o.lines.show&&o.lines.steps;for(o.xaxis.used=o.yaxis.used=!0,i=n=0;i<d.length;++i,n+=l){var w=null==(h=d[i]);if(!w)for(r=0;r<l;++r)c=h[r],(u=f[r])&&(u.number&&null!=c&&(c=+c,isNaN(c)?c=null:c==1/0?c=m:c==-1/0&&(c=-m)),null==c&&(u.required&&(w=!0),null!=u.defaultValue&&(c=u.defaultValue))),s[n+r]=c;if(w)for(r=0;r<l;++r)null!=(c=s[n+r])&&!1!==(u=f[r]).autoscale&&(u.x&&v(o.xaxis,c,c),u.y&&v(o.yaxis,c,c)),s[n+r]=null;else if(x&&n>0&&null!=s[n-l]&&s[n-l]!=s[n]&&s[n-l+1]!=s[n+1]){for(r=0;r<l;++r)s[n+l+r]=s[n+r];s[n+1]=s[n-l+1],n+=l}}}}for(e=0;e<a.length;++e)o=a[e],L(y.processDatapoints,[o,o.datapoints]);for(e=0;e<a.length;++e){o=a[e],s=o.datapoints.points,l=o.datapoints.pointsize,f=o.datapoints.format;var S=p,C=p,k=g,T=g;for(i=0;i<s.length;i+=l)if(null!=s[i])for(r=0;r<l;++r)c=s[i+r],(u=f[r])&&!1!==u.autoscale&&c!=m&&c!=-m&&(u.x&&(c<S&&(S=c),c>k&&(k=c)),u.y&&(c<C&&(C=c),c>T&&(T=c)));if(o.bars.show){var E;switch(o.bars.align){case"left":E=0;break;case"right":E=-o.bars.barWidth;break;default:E=-o.bars.barWidth/2}o.bars.horizontal?(C+=E,T+=E+o.bars.barWidth):(S+=E,k+=E+o.bars.barWidth)}v(o.xaxis,S,k),v(o.yaxis,C,T)}t.each(_(),function(t,e){e.datamin==p&&(e.datamin=null),e.datamax==g&&(e.datamax=null)})}()}function w(t,e){var i=t[e+"axis"];return"object"==typeof i&&(i=i.n),"number"!=typeof i&&(i=1),i}function _(){return t.grep(f.concat(p),function(t){return t})}function S(t){var e,i,n={};for(e=0;e<f.length;++e)(i=f[e])&&i.used&&(n["x"+i.n]=i.c2p(t.left));for(e=0;e<p.length;++e)(i=p[e])&&i.used&&(n["y"+i.n]=i.c2p(t.top));return void 0!==n.x1&&(n.x=n.x1),void 0!==n.y1&&(n.y=n.y1),n}function C(e,i){return e[i-1]||(e[i-1]={n:i,direction:e==f?"x":"y",options:t.extend(!0,{},e==f?s.xaxis:s.yaxis)}),e[i-1]}function k(){R&&clearTimeout(R),u.unbind("mousemove",F),u.unbind("mouseleave",B),u.unbind("click",z),L(y.shutdown,[u])}function T(e){var i=e.labelWidth,n=e.labelHeight,r=e.options.position,o="x"===e.direction,a=e.options.tickLength,c=s.grid.axisMargin,u=s.grid.labelMargin,h=!0,d=!0,m=!0,v=!1;t.each(o?f:p,function(t,i){i&&(i.show||i.reserveSpace)&&(i===e?v=!0:i.options.position===r&&(v?d=!1:h=!1),v||(m=!1))}),d&&(c=0),null==a&&(a=m?"full":5),isNaN(+a)||(u+=+a),o?(n+=u,"bottom"==r?(g.bottom+=n+c,e.box={top:l.height-g.bottom,height:n}):(e.box={top:g.top+c,height:n},g.top+=n+c)):(i+=u,"left"==r?(e.box={left:g.left+c,width:i},g.left+=i+c):(g.right+=i+c,e.box={left:l.width-g.right,width:i})),e.position=r,e.tickLength=a,e.box.padding=u,e.innermost=h}function E(){var i,n=_(),r=s.grid.show;for(var o in g){var c=s.grid.margin||0;g[o]="number"==typeof c?c:c[o]||0}for(var o in L(y.processOffset,[g]),g)"object"==typeof s.grid.borderWidth?g[o]+=r?s.grid.borderWidth[o]:0:g[o]+=r?s.grid.borderWidth:0;if(t.each(n,function(t,e){var i=e.options;e.show=null==i.show?e.used:i.show,e.reserveSpace=null==i.reserveSpace?e.show:i.reserveSpace,function(t){var e=t.options,i=+(null!=e.min?e.min:t.datamin),n=+(null!=e.max?e.max:t.datamax),r=n-i;if(0==r){var o=0==n?1:.01;null==e.min&&(i-=o),null!=e.max&&null==e.min||(n+=o)}else{var a=e.autoscaleMargin;null!=a&&(null==e.min&&(i-=r*a)<0&&null!=t.datamin&&t.datamin>=0&&(i=0),null==e.max&&(n+=r*a)>0&&null!=t.datamax&&t.datamax<=0&&(n=0))}t.min=i,t.max=n}(e)}),r){var u=t.grep(n,function(t){return t.show||t.reserveSpace});for(t.each(u,function(e,i){!function(e){var i,n=e.options;i="number"==typeof n.ticks&&n.ticks>0?n.ticks:.3*Math.sqrt("x"==e.direction?l.width:l.height);var r=(e.max-e.min)/i,o=-Math.floor(Math.log(r)/Math.LN10),a=n.tickDecimals;null!=a&&o>a&&(o=a);var s,c=Math.pow(10,-o),u=r/c;u<1.5?s=1:u<3?(s=2,u>2.25&&(null==a||o+1<=a)&&(s=2.5,++o)):s=u<7.5?5:10;s*=c,null!=n.minTickSize&&s<n.minTickSize&&(s=n.minTickSize);if(e.delta=r,e.tickDecimals=Math.max(0,null!=a?a:o),e.tickSize=n.tickSize||s,"time"==n.mode&&!e.tickGenerator)throw new Error("Time mode requires the flot.time plugin.");e.tickGenerator||(e.tickGenerator=function(t){var e,i,n,r=[],o=(i=t.min,(n=t.tickSize)*Math.floor(i/n)),a=0,s=Number.NaN;do{e=s,s=o+a*t.tickSize,r.push(s),++a}while(s<t.max&&s!=e);return r},e.tickFormatter=function(t,e){var i=e.tickDecimals?Math.pow(10,e.tickDecimals):1,n=""+Math.round(t*i)/i;if(null!=e.tickDecimals){var r=n.indexOf("."),o=-1==r?0:n.length-r-1;if(o<e.tickDecimals)return(o?n:n+".")+(""+i).substr(1,e.tickDecimals-o)}return n});t.isFunction(n.tickFormatter)&&(e.tickFormatter=function(t,e){return""+n.tickFormatter(t,e)});if(null!=n.alignTicksWithAxis){var h=("x"==e.direction?f:p)[n.alignTicksWithAxis-1];if(h&&h.used&&h!=e){var d=e.tickGenerator(e);if(d.length>0&&(null==n.min&&(e.min=Math.min(e.min,d[0])),null==n.max&&d.length>1&&(e.max=Math.max(e.max,d[d.length-1]))),e.tickGenerator=function(t){var e,i,n=[];for(i=0;i<h.ticks.length;++i)e=(h.ticks[i].v-h.min)/(h.max-h.min),e=t.min+e*(t.max-t.min),n.push(e);return n},!e.mode&&null==n.tickDecimals){var g=Math.max(0,1-Math.floor(Math.log(e.delta)/Math.LN10)),m=e.tickGenerator(e);m.length>1&&/\..*0$/.test((m[1]-m[0]).toFixed(g))||(e.tickDecimals=g)}}}}(i),function(e){var i,n,r=e.options.ticks,o=[];null==r||"number"==typeof r&&r>0?o=e.tickGenerator(e):r&&(o=t.isFunction(r)?r(e):r);for(e.ticks=[],i=0;i<o.length;++i){var a=null,s=o[i];"object"==typeof s?(n=+s[0],s.length>1&&(a=s[1])):n=+s,null==a&&(a=e.tickFormatter(n,e)),isNaN(n)||e.ticks.push({v:n,label:a})}}(i),function(t,e){t.options.autoscaleMargin&&e.length>0&&(null==t.options.min&&(t.min=Math.min(t.min,e[0].v)),null==t.options.max&&e.length>1&&(t.max=Math.max(t.max,e[e.length-1].v)))}(i,i.ticks),function(t){for(var e=t.options,i=t.ticks||[],n=e.labelWidth||0,r=e.labelHeight||0,o=n||("x"==t.direction?Math.floor(l.width/(i.length||1)):null),a=t.direction+"Axis "+t.direction+t.n+"Axis",s="flot-"+t.direction+"-axis flot-"+t.direction+t.n+"-axis "+a,c=e.font||"flot-tick-label tickLabel",u=0;u<i.length;++u){var h=i[u];if(h.label){var d=l.getTextInfo(s,h.label,c,null,o);n=Math.max(n,d.width),r=Math.max(r,d.height)}}t.labelWidth=e.labelWidth||n,t.labelHeight=e.labelHeight||r}(i)}),i=u.length-1;i>=0;--i)T(u[i]);!function(){var e,i=s.grid.minBorderMargin;if(null==i)for(i=0,e=0;e<a.length;++e)i=Math.max(i,2*(a[e].points.radius+a[e].points.lineWidth/2));var n={left:i,right:i,top:i,bottom:i};t.each(_(),function(t,e){e.reserveSpace&&e.ticks&&e.ticks.length&&("x"===e.direction?(n.left=Math.max(n.left,e.labelWidth/2),n.right=Math.max(n.right,e.labelWidth/2)):(n.bottom=Math.max(n.bottom,e.labelHeight/2),n.top=Math.max(n.top,e.labelHeight/2)))}),g.left=Math.ceil(Math.max(n.left,g.left)),g.right=Math.ceil(Math.max(n.right,g.right)),g.top=Math.ceil(Math.max(n.top,g.top)),g.bottom=Math.ceil(Math.max(n.bottom,g.bottom))}(),t.each(u,function(t,e){!function(t){"x"==t.direction?(t.box.left=g.left-t.labelWidth/2,t.box.width=l.width-g.left-g.right+t.labelWidth):(t.box.top=g.top-t.labelHeight/2,t.box.height=l.height-g.bottom-g.top+t.labelHeight)}(e)})}m=l.width-g.left-g.right,v=l.height-g.bottom-g.top,t.each(n,function(t,e){!function(t){function e(t){return t}var i,n,r=t.options.transform||e,o=t.options.inverseTransform;"x"==t.direction?(i=t.scale=m/Math.abs(r(t.max)-r(t.min)),n=Math.min(r(t.max),r(t.min))):(i=-(i=t.scale=v/Math.abs(r(t.max)-r(t.min))),n=Math.max(r(t.max),r(t.min))),t.p2c=r==e?function(t){return(t-n)*i}:function(t){return(r(t)-n)*i},t.c2p=o?function(t){return o(n+t/i)}:function(t){return n+t/i}}(e)}),r&&t.each(_(),function(t,e){var i,n,r,o,a,s=e.box,c=e.direction+"Axis "+e.direction+e.n+"Axis",u="flot-"+e.direction+"-axis flot-"+e.direction+e.n+"-axis "+c,h=e.options.font||"flot-tick-label tickLabel";if(l.removeText(u),e.show&&0!=e.ticks.length)for(var d=0;d<e.ticks.length;++d)!(i=e.ticks[d]).label||i.v<e.min||i.v>e.max||("x"==e.direction?(o="center",n=g.left+e.p2c(i.v),"bottom"==e.position?r=s.top+s.padding:(r=s.top+s.height-s.padding,a="bottom")):(a="middle",r=g.top+e.p2c(i.v),"left"==e.position?(n=s.left+s.width-s.padding,o="right"):n=s.left+s.padding),l.addText(u,n,r,i.label,h,null,null,o,a))}),function(){null!=s.legend.container?t(s.legend.container).html(""):e.find(".legend").remove();if(!s.legend.show)return;for(var i,n,r=[],o=[],l=!1,c=s.legend.labelFormatter,u=0;u<a.length;++u)(i=a[u]).label&&(n=c?c(i.label,i):i.label)&&o.push({label:n,color:i.color});if(s.legend.sorted)if(t.isFunction(s.legend.sorted))o.sort(s.legend.sorted);else if("reverse"==s.legend.sorted)o.reverse();else{var h="descending"!=s.legend.sorted;o.sort(function(t,e){return t.label==e.label?0:t.label<e.label!=h?1:-1})}for(var u=0;u<o.length;++u){var d=o[u];u%s.legend.noColumns==0&&(l&&r.push("</tr>"),r.push("<tr>"),l=!0),r.push('<td class="legendColorBox"><div style="border:1px solid '+s.legend.labelBoxBorderColor+';padding:1px"><div style="width:4px;height:0;border:5px solid '+d.color+';overflow:hidden"></div></div></td><td class="legendLabel">'+d.label+"</td>")}l&&r.push("</tr>");if(0==r.length)return;var f='<table style="font-size:smaller;color:'+s.grid.color+'">'+r.join("")+"</table>";if(null!=s.legend.container)t(s.legend.container).html(f);else{var p="",m=s.legend.position,v=s.legend.margin;null==v[0]&&(v=[v,v]),"n"==m.charAt(0)?p+="top:"+(v[1]+g.top)+"px;":"s"==m.charAt(0)&&(p+="bottom:"+(v[1]+g.bottom)+"px;"),"e"==m.charAt(1)?p+="right:"+(v[0]+g.right)+"px;":"w"==m.charAt(1)&&(p+="left:"+(v[0]+g.left)+"px;");var y=t('<div class="legend">'+f.replace('style="','style="position:absolute;'+p+";")+"</div>").appendTo(e);if(0!=s.legend.backgroundOpacity){var b=s.legend.backgroundColor;null==b&&((b=(b=s.grid.backgroundColor)&&"string"==typeof b?t.color.parse(b):t.color.extract(y,"background-color")).a=1,b=b.toString());var L=y.children();t('<div style="position:absolute;width:'+L.width()+"px;height:"+L.height()+"px;"+p+"background-color:"+b+';"> </div>').prependTo(y).css("opacity",s.legend.backgroundOpacity)}}}()}function A(){l.clear(),L(y.drawBackground,[h]);var t=s.grid;t.show&&t.backgroundColor&&(h.save(),h.translate(g.left,g.top),h.fillStyle=q(s.grid.backgroundColor,v,0,"rgba(255, 255, 255, 0)"),h.fillRect(0,0,m,v),h.restore()),t.show&&!t.aboveData&&D();for(var e=0;e<a.length;++e)L(y.drawSeries,[h,a[e]]),P(a[e]);L(y.draw,[h]),t.show&&t.aboveData&&D(),l.render(),V()}function M(t,e){for(var i,n,r,o,a=_(),s=0;s<a.length;++s)if((i=a[s]).direction==e&&(t[o=e+i.n+"axis"]||1!=i.n||(o=e+"axis"),t[o])){n=t[o].from,r=t[o].to;break}if(t[o]||(i="x"==e?f[0]:p[0],n=t[e+"1"],r=t[e+"2"]),null!=n&&null!=r&&n>r){var l=n;n=r,r=l}return{from:n,to:r,axis:i}}function D(){var e,i,n,r;h.save(),h.translate(g.left,g.top);var o=s.grid.markings;if(o)for(t.isFunction(o)&&((i=b.getAxes()).xmin=i.xaxis.min,i.xmax=i.xaxis.max,i.ymin=i.yaxis.min,i.ymax=i.yaxis.max,o=o(i)),e=0;e<o.length;++e){var a=o[e],l=M(a,"x"),c=M(a,"y");if(null==l.from&&(l.from=l.axis.min),null==l.to&&(l.to=l.axis.max),null==c.from&&(c.from=c.axis.min),null==c.to&&(c.to=c.axis.max),!(l.to<l.axis.min||l.from>l.axis.max||c.to<c.axis.min||c.from>c.axis.max)){l.from=Math.max(l.from,l.axis.min),l.to=Math.min(l.to,l.axis.max),c.from=Math.max(c.from,c.axis.min),c.to=Math.min(c.to,c.axis.max);var u=l.from===l.to,d=c.from===c.to;if(!u||!d)if(l.from=Math.floor(l.axis.p2c(l.from)),l.to=Math.floor(l.axis.p2c(l.to)),c.from=Math.floor(c.axis.p2c(c.from)),c.to=Math.floor(c.axis.p2c(c.to)),u||d){var f=a.lineWidth||s.grid.markingsLineWidth,p=f%2?.5:0;h.beginPath(),h.strokeStyle=a.color||s.grid.markingsColor,h.lineWidth=f,u?(h.moveTo(l.to+p,c.from),h.lineTo(l.to+p,c.to)):(h.moveTo(l.from,c.to+p),h.lineTo(l.to,c.to+p)),h.stroke()}else h.fillStyle=a.color||s.grid.markingsColor,h.fillRect(l.from,c.to,l.to-l.from,c.from-c.to)}}i=_(),n=s.grid.borderWidth;for(var y=0;y<i.length;++y){var L,x,w,S,C=i[y],k=C.box,T=C.tickLength;if(C.show&&0!=C.ticks.length){for(h.lineWidth=1,"x"==C.direction?(L=0,x="full"==T?"top"==C.position?0:v:k.top-g.top+("top"==C.position?k.height:0)):(x=0,L="full"==T?"left"==C.position?0:m:k.left-g.left+("left"==C.position?k.width:0)),C.innermost||(h.strokeStyle=C.options.color,h.beginPath(),w=S=0,"x"==C.direction?w=m+1:S=v+1,1==h.lineWidth&&("x"==C.direction?x=Math.floor(x)+.5:L=Math.floor(L)+.5),h.moveTo(L,x),h.lineTo(L+w,x+S),h.stroke()),h.strokeStyle=C.options.tickColor,h.beginPath(),e=0;e<C.ticks.length;++e){var E=C.ticks[e].v;w=S=0,isNaN(E)||E<C.min||E>C.max||"full"==T&&("object"==typeof n&&n[C.position]>0||n>0)&&(E==C.min||E==C.max)||("x"==C.direction?(L=C.p2c(E),S="full"==T?-v:T,"top"==C.position&&(S=-S)):(x=C.p2c(E),w="full"==T?-m:T,"left"==C.position&&(w=-w)),1==h.lineWidth&&("x"==C.direction?L=Math.floor(L)+.5:x=Math.floor(x)+.5),h.moveTo(L,x),h.lineTo(L+w,x+S))}h.stroke()}}n&&(r=s.grid.borderColor,"object"==typeof n||"object"==typeof r?("object"!=typeof n&&(n={top:n,right:n,bottom:n,left:n}),"object"!=typeof r&&(r={top:r,right:r,bottom:r,left:r}),n.top>0&&(h.strokeStyle=r.top,h.lineWidth=n.top,h.beginPath(),h.moveTo(0-n.left,0-n.top/2),h.lineTo(m,0-n.top/2),h.stroke()),n.right>0&&(h.strokeStyle=r.right,h.lineWidth=n.right,h.beginPath(),h.moveTo(m+n.right/2,0-n.top),h.lineTo(m+n.right/2,v),h.stroke()),n.bottom>0&&(h.strokeStyle=r.bottom,h.lineWidth=n.bottom,h.beginPath(),h.moveTo(m+n.right,v+n.bottom/2),h.lineTo(0,v+n.bottom/2),h.stroke()),n.left>0&&(h.strokeStyle=r.left,h.lineWidth=n.left,h.beginPath(),h.moveTo(0-n.left/2,v+n.bottom),h.lineTo(0-n.left/2,0),h.stroke())):(h.lineWidth=n,h.strokeStyle=s.grid.borderColor,h.strokeRect(-n/2,-n/2,m+n,v+n))),h.restore()}function P(t){t.lines.show&&function(t){function e(t,e,i,n,r){var o=t.points,a=t.pointsize,s=null,l=null;h.beginPath();for(var c=a;c<o.length;c+=a){var u=o[c-a],d=o[c-a+1],f=o[c],p=o[c+1];if(null!=u&&null!=f){if(d<=p&&d<r.min){if(p<r.min)continue;u=(r.min-d)/(p-d)*(f-u)+u,d=r.min}else if(p<=d&&p<r.min){if(d<r.min)continue;f=(r.min-d)/(p-d)*(f-u)+u,p=r.min}if(d>=p&&d>r.max){if(p>r.max)continue;u=(r.max-d)/(p-d)*(f-u)+u,d=r.max}else if(p>=d&&p>r.max){if(d>r.max)continue;f=(r.max-d)/(p-d)*(f-u)+u,p=r.max}if(u<=f&&u<n.min){if(f<n.min)continue;d=(n.min-u)/(f-u)*(p-d)+d,u=n.min}else if(f<=u&&f<n.min){if(u<n.min)continue;p=(n.min-u)/(f-u)*(p-d)+d,f=n.min}if(u>=f&&u>n.max){if(f>n.max)continue;d=(n.max-u)/(f-u)*(p-d)+d,u=n.max}else if(f>=u&&f>n.max){if(u>n.max)continue;p=(n.max-u)/(f-u)*(p-d)+d,f=n.max}u==s&&d==l||h.moveTo(n.p2c(u)+e,r.p2c(d)+i),s=f,l=p,h.lineTo(n.p2c(f)+e,r.p2c(p)+i)}}h.stroke()}h.save(),h.translate(g.left,g.top),h.lineJoin="round";var i=t.lines.lineWidth,n=t.shadowSize;if(i>0&&n>0){h.lineWidth=n,h.strokeStyle="rgba(0,0,0,0.1)";var r=Math.PI/18;e(t.datapoints,Math.sin(r)*(i/2+n/2),Math.cos(r)*(i/2+n/2),t.xaxis,t.yaxis),h.lineWidth=n/2,e(t.datapoints,Math.sin(r)*(i/2+n/4),Math.cos(r)*(i/2+n/4),t.xaxis,t.yaxis)}h.lineWidth=i,h.strokeStyle=t.color;var o=I(t.lines,t.color,0,v);o&&(h.fillStyle=o,function(t,e,i){var n=t.points,r=t.pointsize,o=Math.min(Math.max(0,i.min),i.max),a=0,s=!1,l=1,c=0,u=0;for(;!(r>0&&a>n.length+r);){var d=n[(a+=r)-r],f=n[a-r+l],p=n[a],g=n[a+l];if(s){if(r>0&&null!=d&&null==p){u=a,r=-r,l=2;continue}if(r<0&&a==c+r){h.fill(),s=!1,l=1,a=c=u+(r=-r);continue}}if(null!=d&&null!=p){if(d<=p&&d<e.min){if(p<e.min)continue;f=(e.min-d)/(p-d)*(g-f)+f,d=e.min}else if(p<=d&&p<e.min){if(d<e.min)continue;g=(e.min-d)/(p-d)*(g-f)+f,p=e.min}if(d>=p&&d>e.max){if(p>e.max)continue;f=(e.max-d)/(p-d)*(g-f)+f,d=e.max}else if(p>=d&&p>e.max){if(d>e.max)continue;g=(e.max-d)/(p-d)*(g-f)+f,p=e.max}if(s||(h.beginPath(),h.moveTo(e.p2c(d),i.p2c(o)),s=!0),f>=i.max&&g>=i.max)h.lineTo(e.p2c(d),i.p2c(i.max)),h.lineTo(e.p2c(p),i.p2c(i.max));else if(f<=i.min&&g<=i.min)h.lineTo(e.p2c(d),i.p2c(i.min)),h.lineTo(e.p2c(p),i.p2c(i.min));else{var m=d,v=p;f<=g&&f<i.min&&g>=i.min?(d=(i.min-f)/(g-f)*(p-d)+d,f=i.min):g<=f&&g<i.min&&f>=i.min&&(p=(i.min-f)/(g-f)*(p-d)+d,g=i.min),f>=g&&f>i.max&&g<=i.max?(d=(i.max-f)/(g-f)*(p-d)+d,f=i.max):g>=f&&g>i.max&&f<=i.max&&(p=(i.max-f)/(g-f)*(p-d)+d,g=i.max),d!=m&&h.lineTo(e.p2c(m),i.p2c(f)),h.lineTo(e.p2c(d),i.p2c(f)),h.lineTo(e.p2c(p),i.p2c(g)),p!=v&&(h.lineTo(e.p2c(p),i.p2c(g)),h.lineTo(e.p2c(v),i.p2c(g)))}}}}(t.datapoints,t.xaxis,t.yaxis));i>0&&e(t.datapoints,0,0,t.xaxis,t.yaxis);h.restore()}(t),t.bars.show&&function(t){var e;switch(h.save(),h.translate(g.left,g.top),h.lineWidth=t.bars.lineWidth,h.strokeStyle=t.color,t.bars.align){case"left":e=0;break;case"right":e=-t.bars.barWidth;break;default:e=-t.bars.barWidth/2}var i=t.bars.fill?function(e,i){return I(t.bars,t.color,e,i)}:null;(function(e,i,n,r,o,a){for(var s=e.points,l=e.pointsize,c=0;c<s.length;c+=l)null!=s[c]&&O(s[c],s[c+1],s[c+2],i,n,r,o,a,h,t.bars.horizontal,t.bars.lineWidth)})(t.datapoints,e,e+t.bars.barWidth,i,t.xaxis,t.yaxis),h.restore()}(t),t.points.show&&function(t){function e(t,e,i,n,r,o,a,s){for(var l=t.points,c=t.pointsize,u=0;u<l.length;u+=c){var d=l[u],f=l[u+1];null==d||d<o.min||d>o.max||f<a.min||f>a.max||(h.beginPath(),d=o.p2c(d),f=a.p2c(f)+n,"circle"==s?h.arc(d,f,e,0,r?Math.PI:2*Math.PI,!1):s(h,d,f,e,r),h.closePath(),i&&(h.fillStyle=i,h.fill()),h.stroke())}}h.save(),h.translate(g.left,g.top);var i=t.points.lineWidth,n=t.shadowSize,r=t.points.radius,o=t.points.symbol;0==i&&(i=1e-4);if(i>0&&n>0){var a=n/2;h.lineWidth=a,h.strokeStyle="rgba(0,0,0,0.1)",e(t.datapoints,r,null,a+a/2,!0,t.xaxis,t.yaxis,o),h.strokeStyle="rgba(0,0,0,0.2)",e(t.datapoints,r,null,a/2,!0,t.xaxis,t.yaxis,o)}h.lineWidth=i,h.strokeStyle=t.color,e(t.datapoints,r,I(t.points,t.color),0,!1,t.xaxis,t.yaxis,o),h.restore()}(t)}function O(t,e,i,n,r,o,a,s,l,c,u){var h,d,f,p,g,m,v,y,b;c?(y=m=v=!0,g=!1,p=e+n,f=e+r,(d=t)<(h=i)&&(b=d,d=h,h=b,g=!0,m=!1)):(g=m=v=!0,y=!1,h=t+n,d=t+r,(p=e)<(f=i)&&(b=p,p=f,f=b,y=!0,v=!1)),d<a.min||h>a.max||p<s.min||f>s.max||(h<a.min&&(h=a.min,g=!1),d>a.max&&(d=a.max,m=!1),f<s.min&&(f=s.min,y=!1),p>s.max&&(p=s.max,v=!1),h=a.p2c(h),f=s.p2c(f),d=a.p2c(d),p=s.p2c(p),o&&(l.fillStyle=o(f,p),l.fillRect(h,p,d-h,f-p)),u>0&&(g||m||v||y)&&(l.beginPath(),l.moveTo(h,f),g?l.lineTo(h,p):l.moveTo(h,p),v?l.lineTo(d,p):l.moveTo(d,p),m?l.lineTo(d,f):l.moveTo(d,f),y?l.lineTo(h,f):l.moveTo(h,f),l.stroke()))}function I(e,i,n,r){var o=e.fill;if(!o)return null;if(e.fillColor)return q(e.fillColor,n,r,i);var a=t.color.parse(i);return a.a="number"==typeof o?o:.4,a.normalize(),a.toString()}b.setData=x,b.setupGrid=E,b.draw=A,b.getPlaceholder=function(){return e},b.getCanvas=function(){return l.element},b.getPlotOffset=function(){return g},b.width=function(){return m},b.height=function(){return v},b.offset=function(){var t=u.offset();return t.left+=g.left,t.top+=g.top,t},b.getData=function(){return a},b.getAxes=function(){var e={};return t.each(f.concat(p),function(t,i){i&&(e[i.direction+(1!=i.n?i.n:"")+"axis"]=i)}),e},b.getXAxes=function(){return f},b.getYAxes=function(){return p},b.c2p=S,b.p2c=function(t){var e,i,n,r={};for(e=0;e<f.length;++e)if((i=f[e])&&i.used&&(n="x"+i.n,null==t[n]&&1==i.n&&(n="x"),null!=t[n])){r.left=i.p2c(t[n]);break}for(e=0;e<p.length;++e)if((i=p[e])&&i.used&&(n="y"+i.n,null==t[n]&&1==i.n&&(n="y"),null!=t[n])){r.top=i.p2c(t[n]);break}return r},b.getOptions=function(){return s},b.highlight=W,b.unhighlight=U,b.triggerRedrawOverlay=V,b.pointOffset=function(t){return{left:parseInt(f[w(t,"x")-1].p2c(+t.x)+g.left,10),top:parseInt(p[w(t,"y")-1].p2c(+t.y)+g.top,10)}},b.shutdown=k,b.destroy=function(){k(),e.removeData("plot").empty(),a=[],s=null,l=null,c=null,u=null,h=null,d=null,f=[],p=[],y=null,N=[],b=null},b.resize=function(){var t=e.width(),i=e.height();l.resize(t,i),c.resize(t,i)},b.hooks=y,function(){for(var e={Canvas:i},n=0;n<o.length;++n){var r=o[n];r.init(b,e),r.options&&t.extend(!0,s,r.options)}}(),function(i){t.extend(!0,s,i),i&&i.colors&&(s.colors=i.colors);null==s.xaxis.color&&(s.xaxis.color=t.color.parse(s.grid.color).scale("a",.22).toString());null==s.yaxis.color&&(s.yaxis.color=t.color.parse(s.grid.color).scale("a",.22).toString());null==s.xaxis.tickColor&&(s.xaxis.tickColor=s.grid.tickColor||s.xaxis.color);null==s.yaxis.tickColor&&(s.yaxis.tickColor=s.grid.tickColor||s.yaxis.color);null==s.grid.borderColor&&(s.grid.borderColor=s.grid.color);null==s.grid.tickColor&&(s.grid.tickColor=t.color.parse(s.grid.color).scale("a",.22).toString());var n,r,o,a=e.css("font-size"),l=a?+a.replace("px",""):13,c={style:e.css("font-style"),size:Math.round(.8*l),variant:e.css("font-variant"),weight:e.css("font-weight"),family:e.css("font-family")};for(o=s.xaxes.length||1,n=0;n<o;++n)(r=s.xaxes[n])&&!r.tickColor&&(r.tickColor=r.color),r=t.extend(!0,{},s.xaxis,r),s.xaxes[n]=r,r.font&&(r.font=t.extend({},c,r.font),r.font.color||(r.font.color=r.color),r.font.lineHeight||(r.font.lineHeight=Math.round(1.15*r.font.size)));for(o=s.yaxes.length||1,n=0;n<o;++n)(r=s.yaxes[n])&&!r.tickColor&&(r.tickColor=r.color),r=t.extend(!0,{},s.yaxis,r),s.yaxes[n]=r,r.font&&(r.font=t.extend({},c,r.font),r.font.color||(r.font.color=r.color),r.font.lineHeight||(r.font.lineHeight=Math.round(1.15*r.font.size)));s.xaxis.noTicks&&null==s.xaxis.ticks&&(s.xaxis.ticks=s.xaxis.noTicks);s.yaxis.noTicks&&null==s.yaxis.ticks&&(s.yaxis.ticks=s.yaxis.noTicks);s.x2axis&&(s.xaxes[1]=t.extend(!0,{},s.xaxis,s.x2axis),s.xaxes[1].position="top",null==s.x2axis.min&&(s.xaxes[1].min=null),null==s.x2axis.max&&(s.xaxes[1].max=null));s.y2axis&&(s.yaxes[1]=t.extend(!0,{},s.yaxis,s.y2axis),s.yaxes[1].position="right",null==s.y2axis.min&&(s.yaxes[1].min=null),null==s.y2axis.max&&(s.yaxes[1].max=null));s.grid.coloredAreas&&(s.grid.markings=s.grid.coloredAreas);s.grid.coloredAreasColor&&(s.grid.markingsColor=s.grid.coloredAreasColor);s.lines&&t.extend(!0,s.series.lines,s.lines);s.points&&t.extend(!0,s.series.points,s.points);s.bars&&t.extend(!0,s.series.bars,s.bars);null!=s.shadowSize&&(s.series.shadowSize=s.shadowSize);null!=s.highlightColor&&(s.series.highlightColor=s.highlightColor);for(n=0;n<s.xaxes.length;++n)C(f,n+1).options=s.xaxes[n];for(n=0;n<s.yaxes.length;++n)C(p,n+1).options=s.yaxes[n];for(var u in y)s.hooks[u]&&s.hooks[u].length&&(y[u]=y[u].concat(s.hooks[u]));L(y.processOptions,[s])}(r),function(){e.css("padding",0).children().filter(function(){return!t(this).hasClass("flot-overlay")&&!t(this).hasClass("flot-base")}).remove(),"static"==e.css("position")&&e.css("position","relative");l=new i("flot-base",e),c=new i("flot-overlay",e),h=l.context,d=c.context,u=t(c.element).unbind();var n=e.data("plot");n&&(n.shutdown(),c.clear());e.data("plot",b)}(),x(n),E(),A(),function(){s.grid.hoverable&&(u.mousemove(F),u.bind("mouseleave",B));s.grid.clickable&&u.click(z);L(y.bindEvents,[u])}();var N=[],R=null;function F(t){s.grid.hoverable&&H("plothover",t,function(t){return 0!=t.hoverable})}function B(t){s.grid.hoverable&&H("plothover",t,function(t){return!1})}function z(t){H("plotclick",t,function(t){return 0!=t.clickable})}function H(t,i,n){var r=u.offset(),o=i.pageX-r.left-g.left,l=i.pageY-r.top-g.top,c=S({left:o,top:l});c.pageX=i.pageX,c.pageY=i.pageY;var h=function(t,e,i){var n,r,o,l=s.grid.mouseActiveRadius,c=l*l+1,u=null;for(n=a.length-1;n>=0;--n)if(i(a[n])){var h=a[n],d=h.xaxis,f=h.yaxis,p=h.datapoints.points,g=d.c2p(t),m=f.c2p(e),v=l/d.scale,y=l/f.scale;if(o=h.datapoints.pointsize,d.options.inverseTransform&&(v=Number.MAX_VALUE),f.options.inverseTransform&&(y=Number.MAX_VALUE),h.lines.show||h.points.show)for(r=0;r<p.length;r+=o){var b=p[r],L=p[r+1];if(null!=b&&!(b-g>v||b-g<-v||L-m>y||L-m<-y)){var x=Math.abs(d.p2c(b)-t),w=Math.abs(f.p2c(L)-e),_=x*x+w*w;_<c&&(c=_,u=[n,r/o])}}if(h.bars.show&&!u){var S,C;switch(h.bars.align){case"left":S=0;break;case"right":S=-h.bars.barWidth;break;default:S=-h.bars.barWidth/2}for(C=S+h.bars.barWidth,r=0;r<p.length;r+=o){b=p[r],L=p[r+1];var k=p[r+2];null!=b&&(a[n].bars.horizontal?g<=Math.max(k,b)&&g>=Math.min(k,b)&&m>=L+S&&m<=L+C:g>=b+S&&g<=b+C&&m>=Math.min(k,L)&&m<=Math.max(k,L))&&(u=[n,r/o])}}}return u?(n=u[0],r=u[1],o=a[n].datapoints.pointsize,{datapoint:a[n].datapoints.points.slice(r*o,(r+1)*o),dataIndex:r,series:a[n],seriesIndex:n}):null}(o,l,n);if(h&&(h.pageX=parseInt(h.series.xaxis.p2c(h.datapoint[0])+r.left+g.left,10),h.pageY=parseInt(h.series.yaxis.p2c(h.datapoint[1])+r.top+g.top,10)),s.grid.autoHighlight){for(var d=0;d<N.length;++d){var f=N[d];f.auto!=t||h&&f.series==h.series&&f.point[0]==h.datapoint[0]&&f.point[1]==h.datapoint[1]||U(f.series,f.point)}h&&W(h.series,h.datapoint,t)}e.trigger(t,[c,h])}function V(){var t=s.interaction.redrawOverlayInterval;-1!=t?R||(R=setTimeout(j,t)):j()}function j(){var t,e;for(R=null,d.save(),c.clear(),d.translate(g.left,g.top),t=0;t<N.length;++t)(e=N[t]).series.bars.show?X(e.series,e.point):G(e.series,e.point);d.restore(),L(y.drawOverlay,[d])}function W(t,e,i){if("number"==typeof t&&(t=a[t]),"number"==typeof e){var n=t.datapoints.pointsize;e=t.datapoints.points.slice(n*e,n*(e+1))}var r=Y(t,e);-1==r?(N.push({series:t,point:e,auto:i}),V()):i||(N[r].auto=!1)}function U(t,e){if(null==t&&null==e)return N=[],void V();if("number"==typeof t&&(t=a[t]),"number"==typeof e){var i=t.datapoints.pointsize;e=t.datapoints.points.slice(i*e,i*(e+1))}var n=Y(t,e);-1!=n&&(N.splice(n,1),V())}function Y(t,e){for(var i=0;i<N.length;++i){var n=N[i];if(n.series==t&&n.point[0]==e[0]&&n.point[1]==e[1])return i}return-1}function G(e,i){var n=i[0],r=i[1],o=e.xaxis,a=e.yaxis,s="string"==typeof e.highlightColor?e.highlightColor:t.color.parse(e.color).scale("a",.5).toString();if(!(n<o.min||n>o.max||r<a.min||r>a.max)){var l=e.points.radius+e.points.lineWidth/2;d.lineWidth=l,d.strokeStyle=s;var c=1.5*l;n=o.p2c(n),r=a.p2c(r),d.beginPath(),"circle"==e.points.symbol?d.arc(n,r,c,0,2*Math.PI,!1):e.points.symbol(d,n,r,c,!1),d.closePath(),d.stroke()}}function X(e,i){var n,r="string"==typeof e.highlightColor?e.highlightColor:t.color.parse(e.color).scale("a",.5).toString(),o=r;switch(e.bars.align){case"left":n=0;break;case"right":n=-e.bars.barWidth;break;default:n=-e.bars.barWidth/2}d.lineWidth=e.bars.lineWidth,d.strokeStyle=r,O(i[0],i[1],i[2]||0,n,n+e.bars.barWidth,function(){return o},e.xaxis,e.yaxis,d,e.bars.horizontal,e.bars.lineWidth)}function q(e,i,n,r){if("string"==typeof e)return e;for(var o=h.createLinearGradient(0,n,0,i),a=0,s=e.colors.length;a<s;++a){var l=e.colors[a];if("string"!=typeof l){var c=t.color.parse(r);null!=l.brightness&&(c=c.scale("rgb",l.brightness)),null!=l.opacity&&(c.a*=l.opacity),l=c.toString()}o.addColorStop(a/(s-1),l)}return o}}t.fn.detach||(t.fn.detach=function(){return this.each(function(){this.parentNode&&this.parentNode.removeChild(this)})}),i.prototype.resize=function(t,e){if(t<=0||e<=0)throw new Error("Invalid dimensions for plot, width = "+t+", height = "+e);var i=this.element,n=this.context,r=this.pixelRatio;this.width!=t&&(i.width=t*r,i.style.width=t+"px",this.width=t),this.height!=e&&(i.height=e*r,i.style.height=e+"px",this.height=e),n.restore(),n.save(),n.scale(r,r)},i.prototype.clear=function(){this.context.clearRect(0,0,this.width,this.height)},i.prototype.render=function(){var t=this._textCache;for(var i in t)if(e.call(t,i)){var n=this.getTextLayer(i),r=t[i];for(var o in n.hide(),r)if(e.call(r,o)){var a=r[o];for(var s in a)if(e.call(a,s)){for(var l,c=a[s].positions,u=0;l=c[u];u++)l.active?l.rendered||(n.append(l.element),l.rendered=!0):(c.splice(u--,1),l.rendered&&l.element.detach());0==c.length&&delete a[s]}}n.show()}},i.prototype.getTextLayer=function(e){var i=this.text[e];return null==i&&(null==this.textContainer&&(this.textContainer=t("<div class='flot-text'></div>").css({position:"absolute",top:0,left:0,bottom:0,right:0,"font-size":"smaller",color:"#545454"}).insertAfter(this.element)),i=this.text[e]=t("<div></div>").addClass(e).css({position:"absolute",top:0,left:0,bottom:0,right:0}).appendTo(this.textContainer)),i},i.prototype.getTextInfo=function(e,i,n,r,o){var a,s,l,c;if(i=""+i,a="object"==typeof n?n.style+" "+n.variant+" "+n.weight+" "+n.size+"px/"+n.lineHeight+"px "+n.family:n,null==(s=this._textCache[e])&&(s=this._textCache[e]={}),null==(l=s[a])&&(l=s[a]={}),null==(c=l[i])){var u=t("<div></div>").html(i).css({position:"absolute","max-width":o,top:-9999}).appendTo(this.getTextLayer(e));"object"==typeof n?u.css({font:a,color:n.color}):"string"==typeof n&&u.addClass(n),c=l[i]={width:u.outerWidth(!0),height:u.outerHeight(!0),element:u,positions:[]},u.detach()}return c},i.prototype.addText=function(t,e,i,n,r,o,a,s,l){var c=this.getTextInfo(t,n,r,o,a),u=c.positions;"center"==s?e-=c.width/2:"right"==s&&(e-=c.width),"middle"==l?i-=c.height/2:"bottom"==l&&(i-=c.height);for(var h,d=0;h=u[d];d++)if(h.x==e&&h.y==i)return void(h.active=!0);h={active:!0,rendered:!1,element:u.length?c.element.clone():c.element,x:e,y:i},u.push(h),h.element.css({top:Math.round(i),left:Math.round(e),"text-align":s})},i.prototype.removeText=function(t,i,n,r,o,a){if(null==r){var s=this._textCache[t];if(null!=s)for(var l in s)if(e.call(s,l)){var c=s[l];for(var u in c)if(e.call(c,u))for(var h=c[u].positions,d=0;f=h[d];d++)f.active=!1}}else{var f;for(h=this.getTextInfo(t,r,o,a).positions,d=0;f=h[d];d++)f.x==i&&f.y==n&&(f.active=!1)}},t.plot=function(e,i,r){return new n(t(e),i,r,t.plot.plugins)},t.plot.version="0.8.3",t.plot.plugins=[],t.fn.plot=function(e,i){return this.each(function(){t.plot(this,e,i)})}}(jQuery),function(t,e,i){var n,r=[],o=t.resize=t.extend(t.resize,{}),a=!1,s="setTimeout",l="resize",c=l+"-special-event",u="pendingDelay",h="activeDelay",d="throttleWindow";function f(i){!0===a&&(a=i||1);for(var s=r.length-1;s>=0;s--){var h=t(r[s]);if(h[0]==e||h.is(":visible")){var d=h.width(),p=h.height(),g=h.data(c);!g||d===g.w&&p===g.h||(h.trigger(l,[g.w=d,g.h=p]),a=i||!0)}else(g=h.data(c)).w=0,g.h=0}null!==n&&(a&&(null==i||i-a<1e3)?n=e.requestAnimationFrame(f):(n=setTimeout(f,o[u]),a=!1))}o[u]=200,o[h]=20,o[d]=!0,t.event.special[l]={setup:function(){if(!o[d]&&this[s])return!1;var e=t(this);r.push(this),e.data(c,{w:e.width(),h:e.height()}),1===r.length&&(n=i,f())},teardown:function(){if(!o[d]&&this[s])return!1;for(var e=t(this),i=r.length-1;i>=0;i--)if(r[i]==this){r.splice(i,1);break}e.removeData(c),r.length||(a?cancelAnimationFrame(n):clearTimeout(n),n=null)},add:function(e){if(!o[d]&&this[s])return!1;var n;function r(e,r,o){var a=t(this),s=a.data(c)||{};s.w=r!==i?r:a.width(),s.h=o!==i?o:a.height(),n.apply(this,arguments)}if(t.isFunction(e))return n=e,r;n=e.handler,e.handler=r}},e.requestAnimationFrame||(e.requestAnimationFrame=e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(t,i){return e.setTimeout(function(){t((new Date).getTime())},o[h])}),e.cancelAnimationFrame||(e.cancelAnimationFrame=e.webkitCancelRequestAnimationFrame||e.mozCancelRequestAnimationFrame||e.oCancelRequestAnimationFrame||e.msCancelRequestAnimationFrame||clearTimeout)}(jQuery,this),function(t){jQuery.plot.plugins.push({init:function(t){function e(){var e=t.getPlaceholder();0!=e.width()&&0!=e.height()&&(t.resize(),t.setupGrid(),t.draw())}t.hooks.bindEvents.push(function(t,i){t.getPlaceholder().resize(e)}),t.hooks.shutdown.push(function(t,i){t.getPlaceholder().unbind("resize",e)})},options:{},name:"resize",version:"1.0"})}(),function(t){jQuery.plot.plugins.push({init:function(t){t.hooks.processDatapoints.push(function(t,e,i){if(null!=e.stack&&!1!==e.stack){var n=function(t,e){for(var i=null,n=0;n<e.length&&t!=e[n];++n)e[n].stack==t.stack&&(i=e[n]);return i}(e,t.getData());if(n){for(var r,o,a,s,l,c,u,h,d=i.pointsize,f=i.points,p=n.datapoints.pointsize,g=n.datapoints.points,m=[],v=e.lines.show,y=e.bars.horizontal,b=d>2&&(y?i.format[2].x:i.format[2].y),L=v&&e.lines.steps,x=!0,w=y?1:0,_=y?0:1,S=0,C=0;!(S>=f.length);){if(u=m.length,null==f[S]){for(h=0;h<d;++h)m.push(f[S+h]);S+=d}else if(C>=g.length){if(!v)for(h=0;h<d;++h)m.push(f[S+h]);S+=d}else if(null==g[C]){for(h=0;h<d;++h)m.push(null);x=!0,C+=p}else{if(r=f[S+w],o=f[S+_],s=g[C+w],l=g[C+_],c=0,r==s){for(h=0;h<d;++h)m.push(f[S+h]);m[u+_]+=l,c=l,S+=d,C+=p}else if(r>s){if(v&&S>0&&null!=f[S-d]){for(a=o+(f[S-d+_]-o)*(s-r)/(f[S-d+w]-r),m.push(s),m.push(a+l),h=2;h<d;++h)m.push(f[S+h]);c=l}C+=p}else{if(x&&v){S+=d;continue}for(h=0;h<d;++h)m.push(f[S+h]);v&&C>0&&null!=g[C-p]&&(c=l+(g[C-p+_]-l)*(r-s)/(g[C-p+w]-s)),m[u+_]+=c,S+=d}x=!1,u!=m.length&&b&&(m[u+2]+=c)}if(L&&u!=m.length&&u>0&&null!=m[u]&&m[u]!=m[u-d]&&m[u+1]!=m[u-d+1]){for(h=0;h<d;++h)m[u+d+h]=m[u+h];m[u+1]=m[u-d+1]}}i.points=m}}})},options:{series:{stack:null}},name:"stack",version:"1.2"})}(),function(t){function e(t,e){return e*Math.floor(t/e)}function i(t,e,i,n){if("function"==typeof t.strftime)return t.strftime(e);var r,o=function(t,e){return e=""+(null==e?"0":e),1==(t=""+t).length?e+t:t},a=[],s=!1,l=t.getHours(),c=l<12;null==i&&(i=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),null==n&&(n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),r=l>12?l-12:0==l?12:l;for(var u=0;u<e.length;++u){var h=e.charAt(u);if(s){switch(h){case"a":h=""+n[t.getDay()];break;case"b":h=""+i[t.getMonth()];break;case"d":h=o(t.getDate());break;case"e":h=o(t.getDate()," ");break;case"h":case"H":h=o(l);break;case"I":h=o(r);break;case"l":h=o(r," ");break;case"m":h=o(t.getMonth()+1);break;case"M":h=o(t.getMinutes());break;case"q":h=""+(Math.floor(t.getMonth()/3)+1);break;case"S":h=o(t.getSeconds());break;case"y":h=o(t.getFullYear()%100);break;case"Y":h=""+t.getFullYear();break;case"p":h=c?"am":"pm";break;case"P":h=c?"AM":"PM";break;case"w":h=""+t.getDay()}a.push(h),s=!1}else"%"==h?s=!0:a.push(h)}return a.join("")}function n(t){function e(t,e,i,n){t[e]=function(){return i[n].apply(i,arguments)}}var i={date:t};null!=t.strftime&&e(i,"strftime",t,"strftime"),e(i,"getTime",t,"getTime"),e(i,"setTime",t,"setTime");for(var n=["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds"],r=0;r<n.length;r++)e(i,"get"+n[r],t,"getUTC"+n[r]),e(i,"set"+n[r],t,"setUTC"+n[r]);return i}function r(t,e){if("browser"==e.timezone)return new Date(t);if(e.timezone&&"utc"!=e.timezone){if("undefined"!=typeof timezoneJS&&void 0!==timezoneJS.Date){var i=new timezoneJS.Date;return i.setTimezone(e.timezone),i.setTime(t),i}return n(new Date(t))}return n(new Date(t))}var o={second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,quarter:7776e6,year:525949.2*60*1e3},a=[[1,"second"],[2,"second"],[5,"second"],[10,"second"],[30,"second"],[1,"minute"],[2,"minute"],[5,"minute"],[10,"minute"],[30,"minute"],[1,"hour"],[2,"hour"],[4,"hour"],[8,"hour"],[12,"hour"],[1,"day"],[2,"day"],[3,"day"],[.25,"month"],[.5,"month"],[1,"month"],[2,"month"]],s=a.concat([[3,"month"],[6,"month"],[1,"year"]]),l=a.concat([[1,"quarter"],[2,"quarter"],[1,"year"]]);t.plot.plugins.push({init:function(n){n.hooks.processOptions.push(function(n,a){t.each(n.getAxes(),function(t,n){var a=n.options;"time"==a.mode&&(n.tickGenerator=function(t){var i=[],n=r(t.min,a),c=0,u=a.tickSize&&"quarter"===a.tickSize[1]||a.minTickSize&&"quarter"===a.minTickSize[1]?l:s;null!=a.minTickSize&&(c="number"==typeof a.tickSize?a.tickSize:a.minTickSize[0]*o[a.minTickSize[1]]);for(var h=0;h<u.length-1&&!(t.delta<(u[h][0]*o[u[h][1]]+u[h+1][0]*o[u[h+1][1]])/2&&u[h][0]*o[u[h][1]]>=c);++h);var d=u[h][0],f=u[h][1];if("year"==f){if(null!=a.minTickSize&&"year"==a.minTickSize[1])d=Math.floor(a.minTickSize[0]);else{var p=Math.pow(10,Math.floor(Math.log(t.delta/o.year)/Math.LN10)),g=t.delta/o.year/p;d=g<1.5?1:g<3?2:g<7.5?5:10,d*=p}d<1&&(d=1)}t.tickSize=a.tickSize||[d,f];var m=t.tickSize[0];f=t.tickSize[1];var v=m*o[f];"second"==f?n.setSeconds(e(n.getSeconds(),m)):"minute"==f?n.setMinutes(e(n.getMinutes(),m)):"hour"==f?n.setHours(e(n.getHours(),m)):"month"==f?n.setMonth(e(n.getMonth(),m)):"quarter"==f?n.setMonth(3*e(n.getMonth()/3,m)):"year"==f&&n.setFullYear(e(n.getFullYear(),m)),n.setMilliseconds(0),v>=o.minute&&n.setSeconds(0),v>=o.hour&&n.setMinutes(0),v>=o.day&&n.setHours(0),v>=4*o.day&&n.setDate(1),v>=2*o.month&&n.setMonth(e(n.getMonth(),3)),v>=2*o.quarter&&n.setMonth(e(n.getMonth(),6)),v>=o.year&&n.setMonth(0);var y,b=0,L=Number.NaN;do{if(y=L,L=n.getTime(),i.push(L),"month"==f||"quarter"==f)if(m<1){n.setDate(1);var x=n.getTime();n.setMonth(n.getMonth()+("quarter"==f?3:1));var w=n.getTime();n.setTime(L+b*o.hour+(w-x)*m),b=n.getHours(),n.setHours(0)}else n.setMonth(n.getMonth()+m*("quarter"==f?3:1));else"year"==f?n.setFullYear(n.getFullYear()+m):n.setTime(L+v)}while(L<t.max&&L!=y);return i},n.tickFormatter=function(t,e){var n=r(t,e.options);if(null!=a.timeformat)return i(n,a.timeformat,a.monthNames,a.dayNames);var s=e.options.tickSize&&"quarter"==e.options.tickSize[1]||e.options.minTickSize&&"quarter"==e.options.minTickSize[1],l=e.tickSize[0]*o[e.tickSize[1]],c=e.max-e.min,u=a.twelveHourClock?" %p":"",h=a.twelveHourClock?"%I":"%H";return i(n,l<o.minute?h+":%M:%S"+u:l<o.day?c<2*o.day?h+":%M"+u:"%b %d "+h+":%M"+u:l<o.month?"%b %d":s&&l<o.quarter||!s&&l<o.year?c<o.year?"%b":"%b %Y":s&&l<o.year?c<o.year?"Q%q":"Q%q %Y":"%Y",a.monthNames,a.dayNames)})})})},options:{xaxis:{timezone:null,timeformat:null,twelveHourClock:!1,monthNames:null}},name:"time",version:"1.0"}),t.plot.formatDate=i,t.plot.dateGenerator=r}(jQuery),function(){var t,e,i,n,r=[].slice,o=function(t,e){return function(){return t.apply(e,arguments)}},a={}.hasOwnProperty,s=function(t,e){function i(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},l=[].indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(e in this&&this[e]===t)return e;return-1};e=window.Morris={},t=jQuery,e.EventEmitter=function(){function t(){}return t.prototype.on=function(t,e){return null==this.handlers&&(this.handlers={}),null==this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this},t.prototype.fire=function(){var t,e,i,n,o,a,s;if(i=arguments[0],t=2<=arguments.length?r.call(arguments,1):[],null!=this.handlers&&null!=this.handlers[i]){for(s=[],n=0,o=(a=this.handlers[i]).length;o>n;n++)e=a[n],s.push(e.apply(null,t));return s}},t}(),e.commas=function(t){var e,i,n,r;return null!=t?(n=0>t?"-":"",e=Math.abs(t),n+=(i=Math.floor(e).toFixed(0)).replace(/(?=(?:\d{3})+$)(?!^)/g,","),(r=e.toString()).length>i.length&&(n+=r.slice(i.length)),n):"-"},e.pad2=function(t){return(10>t?"0":"")+t},e.Grid=function(i){function n(e){this.hasToShow=o(this.hasToShow,this),this.resizeHandler=o(this.resizeHandler,this);var i=this;if(this.el=t("string"==typeof e.element?document.getElementById(e.element):e.element),null==this.el||0===this.el.length)throw new Error("Graph container element not found");"static"===this.el.css("position")&&this.el.css("position","relative"),this.options=t.extend({},this.gridDefaults,this.defaults||{},e),"string"==typeof this.options.units&&(this.options.postUnits=e.units),this.raphael=new Raphael(this.el[0]),this.elementWidth=null,this.elementHeight=null,this.dirty=!1,this.selectFrom=null,this.init&&this.init(),this.setData(this.options.data),this.el.bind("mousemove",function(t){var e,n,r,o;return n=i.el.offset(),o=t.pageX-n.left,i.selectFrom?(e=i.data[i.hitTest(Math.min(o,i.selectFrom))]._x,r=i.data[i.hitTest(Math.max(o,i.selectFrom))]._x-e,i.selectionRect.attr({x:e,width:r})):i.fire("hovermove",o,t.pageY-n.top)}),this.el.bind("mouseleave",function(){return i.selectFrom&&(i.selectionRect.hide(),i.selectFrom=null),i.fire("hoverout")}),this.el.bind("touchstart touchmove touchend",function(t){var e,n;return n=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],e=i.el.offset(),i.fire("hovermove",n.pageX-e.left,n.pageY-e.top)}),this.el.bind("click",function(t){var e;return e=i.el.offset(),i.fire("gridclick",t.pageX-e.left,t.pageY-e.top)}),this.options.rangeSelect&&(this.selectionRect=this.raphael.rect(0,0,0,this.el.innerHeight()).attr({fill:this.options.rangeSelectColor,stroke:!1}).toBack().hide(),this.el.bind("mousedown",function(t){var e;return e=i.el.offset(),i.startRange(t.pageX-e.left)}),this.el.bind("mouseup",function(t){var e;return e=i.el.offset(),i.endRange(t.pageX-e.left),i.fire("hovermove",t.pageX-e.left,t.pageY-e.top)})),this.options.resize&&t(window).bind("resize",function(){return null!=i.timeoutId&&window.clearTimeout(i.timeoutId),i.timeoutId=window.setTimeout(i.resizeHandler,100)}),this.el.css("-webkit-tap-highlight-color","rgba(0,0,0,0)"),this.postInit&&this.postInit()}return s(n,i),n.prototype.gridDefaults={dateFormat:null,axes:!0,grid:!0,gridLineColor:"#aaa",gridStrokeWidth:.5,gridTextColor:"#888",gridTextSize:12,gridTextFamily:"sans-serif",gridTextWeight:"normal",hideHover:!1,yLabelFormat:null,xLabelAngle:0,numLines:5,padding:25,parseTime:!0,postUnits:"",preUnits:"",ymax:"auto",ymin:"auto 0",goals:[],goalStrokeWidth:1,goalLineColors:["#666633","#999966","#cc6666","#663333"],events:[],eventStrokeWidth:1,eventLineColors:["#005a04","#ccffbb","#3a5f0b","#005502"],rangeSelect:null,rangeSelectColor:"#eef",resize:!1},n.prototype.setData=function(i,n){var r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L,x,w,_,S;if(null==n&&(n=!0),this.options.data=i,null==i||0===i.length)return this.data=[],this.raphael.clear(),void(null!=this.hover&&this.hover.hide());if(y=this.cumulative?0:null,b=this.cumulative?0:null,this.options.goals.length>0&&(u=Math.min.apply(Math,this.options.goals),c=Math.max.apply(Math,this.options.goals),b=null!=b?Math.min(b,u):u,y=null!=y?Math.max(y,c):c),this.data=function(){var t,n,r;for(r=[],l=t=0,n=i.length;n>t;l=++t)d=i[l],(h={src:d}).label=d[this.options.xkey],this.options.parseTime?(h.x=e.parseDate(h.label),this.options.dateFormat?h.label=this.options.dateFormat(h.x):"number"==typeof h.label&&(h.label=new Date(h.label).toString())):(h.x=l,this.options.xLabelFormat&&(h.label=this.options.xLabelFormat(h))),g=0,h.y=function(){var t,e,i,n;for(i=this.options.ykeys,n=[],s=t=0,e=i.length;e>t;s=++t)v=i[s],"string"==typeof(L=d[v])&&(L=parseFloat(L)),null!=L&&"number"!=typeof L&&(L=null),null!=L&&this.hasToShow(s)&&(this.cumulative?g+=L:null!=y?(y=Math.max(L,y),b=Math.min(L,b)):y=b=L),this.cumulative&&null!=g&&(y=Math.max(g,y),b=Math.min(g,b)),n.push(L);return n}.call(this),r.push(h);return r}.call(this),this.options.parseTime&&(this.data=this.data.sort(function(t,e){return(t.x>e.x)-(e.x>t.x)})),this.xmin=this.data[0].x,this.xmax=this.data[this.data.length-1].x,this.events=[],this.options.events.length>0){if(this.options.parseTime)for(x=0,w=(_=this.options.events).length;w>x;x++)(r=_[x])instanceof Array?(a=r[0],p=r[1],this.events.push([e.parseDate(a),e.parseDate(p)])):this.events.push(e.parseDate(r));else this.events=this.options.events;o=t.map(this.events,function(t){return t}),this.xmax=Math.max(this.xmax,Math.max.apply(Math,o)),this.xmin=Math.min(this.xmin,Math.min.apply(Math,o))}return this.xmin===this.xmax&&(this.xmin-=1,this.xmax+=1),this.ymin=this.yboundary("min",b),this.ymax=this.yboundary("max",y),this.ymin===this.ymax&&(b&&(this.ymin-=1),this.ymax+=1),(!0===(S=this.options.axes)||"both"===S||"y"===S||!0===this.options.grid)&&(this.options.ymax===this.gridDefaults.ymax&&this.options.ymin===this.gridDefaults.ymin?(this.grid=this.autoGridLines(this.ymin,this.ymax,this.options.numLines),this.ymin=Math.min(this.ymin,this.grid[0]),this.ymax=Math.max(this.ymax,this.grid[this.grid.length-1])):(f=(this.ymax-this.ymin)/(this.options.numLines-1),this.grid=function(){var t,e,i;for(i=[],m=t=this.ymin,e=this.ymax;f>0?e>=t:t>=e;m=t+=f)i.push(m);return i}.call(this))),this.dirty=!0,n?this.redraw():void 0},n.prototype.yboundary=function(t,e){var i,n;return"string"==typeof(i=this.options["y"+t])?"auto"===i.slice(0,4)?i.length>5?(n=parseInt(i.slice(5),10),null==e?n:Math[t](e,n)):null!=e?e:0:parseInt(i,10):i},n.prototype.autoGridLines=function(t,e,i){var n,r,o,a,s,l,c,u,h;return s=e-t,h=Math.floor(Math.log(s)/Math.log(10)),c=Math.pow(10,h),r=Math.floor(t/c)*c,n=Math.ceil(e/c)*c,l=(n-r)/(i-1),1===c&&l>1&&Math.ceil(l)!==l&&(l=Math.ceil(l),n=r+l*(i-1)),0>r&&n>0&&(r=Math.floor(t/l)*l,n=Math.ceil(e/l)*l),1>l?(a=Math.floor(Math.log(l)/Math.log(10)),o=function(){var t,e;for(e=[],u=t=r;l>0?n>=t:t>=n;u=t+=l)e.push(parseFloat(u.toFixed(1-a)));return e}()):o=function(){var t,e;for(e=[],u=t=r;l>0?n>=t:t>=n;u=t+=l)e.push(u);return e}(),o},n.prototype._calc=function(){var t,e,i,n,r,o,a,s,l;return o=this.el.width(),n=this.el.height(),(this.elementWidth!==o||this.elementHeight!==n||this.dirty)&&(this.elementWidth=o,this.elementHeight=n,this.dirty=!1,this.left=this.options.padding,this.right=this.elementWidth-this.options.padding,this.top=this.options.padding,this.bottom=this.elementHeight-this.options.padding,(!0===(s=this.options.axes)||"both"===s||"y"===s)&&(a=function(){var t,e,n,r;for(r=[],t=0,e=(n=this.grid).length;e>t;t++)i=n[t],r.push(this.measureText(this.yAxisFormat(i)).width);return r}.call(this),this.options.horizontal?this.bottom-=Math.max.apply(Math,a):this.left+=Math.max.apply(Math,a)),(!0===(l=this.options.axes)||"both"===l||"x"===l)&&(t=this.options.horizontal?-90:-this.options.xLabelAngle,e=function(){var e,i,n;for(n=[],r=e=0,i=this.data.length;i>=0?i>e:e>i;r=i>=0?++e:--e)n.push(this.measureText(this.data[r].label,t).height);return n}.call(this),this.options.horizontal?this.left+=Math.max.apply(Math,e):this.bottom-=Math.max.apply(Math,e)),this.width=Math.max(1,this.right-this.left),this.height=Math.max(1,this.bottom-this.top),this.options.horizontal?(this.dx=this.height/(this.xmax-this.xmin),this.dy=this.width/(this.ymax-this.ymin),this.yStart=this.left,this.yEnd=this.right,this.xStart=this.top,this.xEnd=this.bottom,this.xSize=this.height,this.ySize=this.width):(this.dx=this.width/(this.xmax-this.xmin),this.dy=this.height/(this.ymax-this.ymin),this.yStart=this.bottom,this.yEnd=this.top,this.xStart=this.left,this.xEnd=this.right,this.xSize=this.width,this.ySize=this.height),this.calc)?this.calc():void 0},n.prototype.transY=function(t){return this.options.horizontal?this.left+(t-this.ymin)*this.dy:this.bottom-(t-this.ymin)*this.dy},n.prototype.transX=function(t){return 1===this.data.length?(this.xStart+this.xEnd)/2:this.xStart+(t-this.xmin)*this.dx},n.prototype.redraw=function(){return this.raphael.clear(),this._calc(),this.drawGrid(),this.drawGoals(),this.drawEvents(),this.draw?this.draw():void 0},n.prototype.measureText=function(t,e){var i,n;return null==e&&(e=0),i=(n=this.raphael.text(100,100,t).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).rotate(e)).getBBox(),n.remove(),i},n.prototype.yAxisFormat=function(t){return this.yLabelFormat(t,0)},n.prototype.yLabelFormat=function(t,i){return"function"==typeof this.options.yLabelFormat?this.options.yLabelFormat(t,i):""+this.options.preUnits+e.commas(t)+this.options.postUnits},n.prototype.getYAxisLabelX=function(){return this.left-this.options.padding/2},n.prototype.drawGrid=function(){var t,e,i,n,r,o,a,s,l;if(!1!==this.options.grid||!0===(o=this.options.axes)||"both"===o||"y"===o){for(t=this.options.horizontal?this.getXAxisLabelY():this.getYAxisLabelX(),l=[],n=0,r=(a=this.grid).length;r>n;n++)e=a[n],i=this.transY(e),(!0===(s=this.options.axes)||"both"===s||"y"===s)&&(this.options.horizontal?this.drawXAxisLabel(i,t,this.yAxisFormat(e)):this.drawYAxisLabel(t,i,this.yAxisFormat(e))),this.options.grid?(i=Math.floor(i)+.5,l.push(this.options.horizontal?this.drawGridLine("M"+i+","+this.xStart+"V"+this.xEnd):this.drawGridLine("M"+this.xStart+","+i+"H"+this.xEnd))):l.push(void 0);return l}},n.prototype.drawGoals=function(){var t,e,i,n,r,o,a;for(a=[],i=n=0,r=(o=this.options.goals).length;r>n;i=++n)e=o[i],t=this.options.goalLineColors[i%this.options.goalLineColors.length],a.push(this.drawGoal(e,t));return a},n.prototype.drawEvents=function(){var t,e,i,n,r,o,a;for(a=[],i=n=0,r=(o=this.events).length;r>n;i=++n)e=o[i],t=this.options.eventLineColors[i%this.options.eventLineColors.length],a.push(this.drawEvent(e,t));return a},n.prototype.drawGoal=function(t,e){var i,n;return n=Math.floor(this.transY(t))+.5,i=this.options.horizontal?"M"+n+","+this.xStart+"V"+this.xEnd:"M"+this.xStart+","+n+"H"+this.xEnd,this.raphael.path(i).attr("stroke",e).attr("stroke-width",this.options.goalStrokeWidth)},n.prototype.drawEvent=function(t,e){var i,n,r,o;return t instanceof Array?(i=t[0],r=t[1],i=Math.floor(this.transX(i))+.5,r=Math.floor(this.transX(r))+.5,this.options.horizontal?this.raphael.rect(this.yStart,i,this.yEnd-this.yStart,r-i).attr({fill:e,stroke:!1}).toBack():this.raphael.rect(i,this.yEnd,r-i,this.yStart-this.yEnd).attr({fill:e,stroke:!1}).toBack()):(o=Math.floor(this.transX(t))+.5,n=this.options.horizontal?"M"+this.yStart+","+o+"H"+this.yEnd:"M"+o+","+this.yStart+"V"+this.yEnd,this.raphael.path(n).attr("stroke",e).attr("stroke-width",this.options.eventStrokeWidth))},n.prototype.drawYAxisLabel=function(t,e,i){return this.raphael.text(t,e,i).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).attr("fill",this.options.gridTextColor).attr("text-anchor","end")},n.prototype.drawGridLine=function(t){return this.raphael.path(t).attr("stroke",this.options.gridLineColor).attr("stroke-width",this.options.gridStrokeWidth)},n.prototype.startRange=function(t){return this.hover.hide(),this.selectFrom=t,this.selectionRect.attr({x:t,width:0}).show()},n.prototype.endRange=function(t){var e,i;return this.selectFrom?(i=Math.min(this.selectFrom,t),e=Math.max(this.selectFrom,t),this.options.rangeSelect.call(this.el,{start:this.data[this.hitTest(i)].x,end:this.data[this.hitTest(e)].x}),this.selectFrom=null):void 0},n.prototype.resizeHandler=function(){return this.timeoutId=null,this.raphael.setSize(this.el.width(),this.el.height()),this.redraw()},n.prototype.hasToShow=function(t){return!0===this.options.shown||!0===this.options.shown[t]},n}(e.EventEmitter),e.parseDate=function(t){var e,i,n,r,o,a,s,l,c,u,h;return"number"==typeof t?t:(i=t.match(/^(\d+) Q(\d)$/),r=t.match(/^(\d+)-(\d+)$/),o=t.match(/^(\d+)-(\d+)-(\d+)$/),s=t.match(/^(\d+) W(\d+)$/),l=t.match(/^(\d+)-(\d+)-(\d+)[ T](\d+):(\d+)(Z|([+-])(\d\d):?(\d\d))?$/),c=t.match(/^(\d+)-(\d+)-(\d+)[ T](\d+):(\d+):(\d+(\.\d+)?)(Z|([+-])(\d\d):?(\d\d))?$/),i?new Date(parseInt(i[1],10),3*parseInt(i[2],10)-1,1).getTime():r?new Date(parseInt(r[1],10),parseInt(r[2],10)-1,1).getTime():o?new Date(parseInt(o[1],10),parseInt(o[2],10)-1,parseInt(o[3],10)).getTime():s?(4!==(u=new Date(parseInt(s[1],10),0,1)).getDay()&&u.setMonth(0,1+(4-u.getDay()+7)%7),u.getTime()+6048e5*parseInt(s[2],10)):l?l[6]?(a=0,"Z"!==l[6]&&(a=60*parseInt(l[8],10)+parseInt(l[9],10),"+"===l[7]&&(a=0-a)),Date.UTC(parseInt(l[1],10),parseInt(l[2],10)-1,parseInt(l[3],10),parseInt(l[4],10),parseInt(l[5],10)+a)):new Date(parseInt(l[1],10),parseInt(l[2],10)-1,parseInt(l[3],10),parseInt(l[4],10),parseInt(l[5],10)).getTime():c?(h=parseFloat(c[6]),e=Math.floor(h),n=Math.round(1e3*(h-e)),c[8]?(a=0,"Z"!==c[8]&&(a=60*parseInt(c[10],10)+parseInt(c[11],10),"+"===c[9]&&(a=0-a)),Date.UTC(parseInt(c[1],10),parseInt(c[2],10)-1,parseInt(c[3],10),parseInt(c[4],10),parseInt(c[5],10)+a,e,n)):new Date(parseInt(c[1],10),parseInt(c[2],10)-1,parseInt(c[3],10),parseInt(c[4],10),parseInt(c[5],10),e,n).getTime()):new Date(parseInt(t,10),0,1).getTime())},e.Hover=function(){function i(i){null==i&&(i={}),this.options=t.extend({},e.Hover.defaults,i),this.el=t("<div class='"+this.options.class+"'></div>"),this.el.hide(),this.options.parent.append(this.el)}return i.defaults={class:"morris-hover morris-default-style"},i.prototype.update=function(t,e,i,n){return t?(this.html(t),this.show(),this.moveTo(e,i,n)):this.hide()},i.prototype.html=function(t){return this.el.html(t)},i.prototype.moveTo=function(t,e,i){var n,r,o,a,s,l;return s=this.options.parent.innerWidth(),a=this.options.parent.innerHeight(),r=this.el.outerWidth(),n=this.el.outerHeight(),o=Math.min(Math.max(0,t-r/2),s-r),null!=e?!0===i?0>(l=e-n/2)&&(l=0):0>(l=e-n-10)&&((l=e+10)+n>a&&(l=a/2-n/2)):l=a/2-n/2,this.el.css({left:o+"px",top:parseInt(l)+"px"})},i.prototype.show=function(){return this.el.show()},i.prototype.hide=function(){return this.el.hide()},i}(),e.Line=function(i){function n(t){return this.hilight=o(this.hilight,this),this.onHoverOut=o(this.onHoverOut,this),this.onHoverMove=o(this.onHoverMove,this),this.onGridClick=o(this.onGridClick,this),this instanceof e.Line?void n.__super__.constructor.call(this,t):new e.Line(t)}return s(n,i),n.prototype.init=function(){return"always"!==this.options.hideHover?(this.hover=new e.Hover({parent:this.el}),this.on("hovermove",this.onHoverMove),this.on("hoverout",this.onHoverOut),this.on("gridclick",this.onGridClick)):void 0},n.prototype.defaults={lineWidth:3,pointSize:4,lineColors:["#0b62a4","#7A92A3","#4da74d","#afd8f8","#edc240","#cb4b4b","#9440ed"],pointStrokeWidths:[1],pointStrokeColors:["#ffffff"],pointFillColors:[],smooth:!0,shown:!0,xLabels:"auto",xLabelFormat:null,xLabelMargin:24,hideHover:!1,trendLine:!1,trendLineWidth:2,trendLineColors:["#689bc3","#a2b3bf","#64b764"]},n.prototype.calc=function(){return this.calcPoints(),this.generatePaths()},n.prototype.calcPoints=function(){var t,e,i,n,r,o;for(o=[],i=0,n=(r=this.data).length;n>i;i++)(t=r[i])._x=this.transX(t.x),t._y=function(){var i,n,r,o;for(o=[],i=0,n=(r=t.y).length;n>i;i++)e=r[i],o.push(null!=e?this.transY(e):e);return o}.call(this),o.push(t._ymax=Math.min.apply(Math,[this.bottom].concat(function(){var i,n,r,o;for(o=[],i=0,n=(r=t._y).length;n>i;i++)null!=(e=r[i])&&o.push(e);return o}())));return o},n.prototype.hitTest=function(t){var e,i,n,r;if(0===this.data.length)return null;for(e=i=0,n=(r=this.data.slice(1)).length;n>i&&!(t<(r[e]._x+this.data[e]._x)/2);e=++i);return e},n.prototype.onGridClick=function(t,e){var i;return i=this.hitTest(t),this.fire("click",i,this.data[i].src,t,e)},n.prototype.onHoverMove=function(t){var e;return e=this.hitTest(t),this.displayHoverForRow(e)},n.prototype.onHoverOut=function(){return!1!==this.options.hideHover?this.displayHoverForRow(null):void 0},n.prototype.displayHoverForRow=function(t){var e;return null!=t?((e=this.hover).update.apply(e,this.hoverContentForRow(t)),this.hilight(t)):(this.hover.hide(),this.hilight())},n.prototype.hoverContentForRow=function(e){var i,n,r,o,a,s,l;for(r=this.data[e],i=(i=t("<div class='morris-hover-row-label'>").text(r.label)).prop("outerHTML"),n=a=0,s=(l=r.y).length;s>a;n=++a)o=l[n],!1!==this.options.labels[n]&&(i+="<div class='morris-hover-point' style='color: "+this.colorFor(r,n,"label")+"'>\n "+this.options.labels[n]+":\n "+this.yLabelFormat(o,n)+"\n</div>");return"function"==typeof this.options.hoverCallback&&(i=this.options.hoverCallback(e,this.options,i,r.src)),[i,r._x,r._ymax]},n.prototype.generatePaths=function(){var t,i,n,r;return this.paths=function(){var o,a,s,c;for(c=[],i=o=0,a=this.options.ykeys.length;a>=0?a>o:o>a;i=a>=0?++o:--o)r="boolean"==typeof this.options.smooth?this.options.smooth:(s=this.options.ykeys[i],l.call(this.options.smooth,s)>=0),t=function(){var t,e,r,o;for(o=[],t=0,e=(r=this.data).length;e>t;t++)void 0!==(n=r[t])._y[i]&&o.push({x:n._x,y:n._y[i]});return o}.call(this),c.push(t.length>1?e.Line.createPath(t,r,this.bottom):null);return c}.call(this)},n.prototype.draw=function(){var t;return(!0===(t=this.options.axes)||"both"===t||"x"===t)&&this.drawXAxis(),this.drawSeries(),!1===this.options.hideHover?this.displayHoverForRow(this.data.length-1):void 0},n.prototype.drawXAxis=function(){var t,i,n,r,o,a,s,l,c,u,h=this;for(s=this.bottom+this.options.padding/2,o=null,r=null,t=function(t,e){var i,n,a,l,c;return c=(i=h.drawXAxisLabel(h.transX(e),s,t)).getBBox(),i.transform("r"+-h.options.xLabelAngle),n=i.getBBox(),i.transform("t0,"+n.height/2+"..."),0!==h.options.xLabelAngle&&(l=-.5*c.width*Math.cos(h.options.xLabelAngle*Math.PI/180),i.transform("t"+l+",0...")),n=i.getBBox(),(null==o||o>=n.x+n.width||null!=r&&r>=n.x)&&n.x>=0&&n.x+n.width<h.el.width()?(0!==h.options.xLabelAngle&&(a=1.25*h.options.gridTextSize/Math.sin(h.options.xLabelAngle*Math.PI/180),r=n.x-a),o=n.x-h.options.xLabelMargin):i.remove()},(n=this.options.parseTime?1===this.data.length&&"auto"===this.options.xLabels?[[this.data[0].label,this.data[0].x]]:e.labelSeries(this.xmin,this.xmax,this.width,this.options.xLabels,this.options.xLabelFormat):function(){var t,e,i,n;for(n=[],t=0,e=(i=this.data).length;e>t;t++)a=i[t],n.push([a.label,a.x]);return n}.call(this)).reverse(),u=[],l=0,c=n.length;c>l;l++)i=n[l],u.push(t(i[0],i[1]));return u},n.prototype.drawSeries=function(){var t,e,i,n,r,o;for(this.seriesPoints=[],t=e=n=this.options.ykeys.length-1;0>=n?0>=e:e>=0;t=0>=n?++e:--e)this.hasToShow(t)&&((!1!==this.options.trendLine&&!0===this.options.trendLine||!0===this.options.trendLine[t])&&this._drawTrendLine(t),this._drawLineFor(t));for(o=[],t=i=r=this.options.ykeys.length-1;0>=r?0>=i:i>=0;t=0>=r?++i:--i)o.push(this.hasToShow(t)?this._drawPointFor(t):void 0);return o},n.prototype._drawPointFor=function(t){var e,i,n,r,o,a;for(this.seriesPoints[t]=[],a=[],n=0,r=(o=this.data).length;r>n;n++)e=null,null!=(i=o[n])._y[t]&&(e=this.drawLinePoint(i._x,i._y[t],this.colorFor(i,t,"point"),t)),a.push(this.seriesPoints[t].push(e));return a},n.prototype._drawLineFor=function(t){var e;return null!==(e=this.paths[t])?this.drawLinePath(e,this.colorFor(null,t,"line"),t):void 0},n.prototype._drawTrendLine=function(t){var i,n,r,o,a,s,l,c,u,h,d,f,p,g,m;for(s=0,u=0,l=0,c=0,o=0,p=0,g=(m=this.data).length;g>p;p++)d=(h=m[p]).x,void 0!==(f=h.y[t])&&(o+=1,s+=d,u+=f,l+=d*d,c+=d*f);return n=u/o-(i=(o*c-s*u)/(o*l-s*s))*s/o,(r=[{},{}])[0].x=this.transX(this.data[0].x),r[0].y=this.transY(this.data[0].x*i+n),r[1].x=this.transX(this.data[this.data.length-1].x),r[1].y=this.transY(this.data[this.data.length-1].x*i+n),a=e.Line.createPath(r,!1,this.bottom),this.raphael.path(a).attr("stroke",this.colorFor(null,t,"trendLine")).attr("stroke-width",this.options.trendLineWidth)},n.createPath=function(t,i,n){var r,o,a,s,l,c,u,h,d,f;for(u="",i&&(a=e.Line.gradients(t)),h={y:null},s=d=0,f=t.length;f>d;s=++d)null!=(r=t[s]).y&&(null!=h.y?i?(o=a[s],c=a[s-1],l=(r.x-h.x)/4,u+="C"+(h.x+l)+","+Math.min(n,h.y+l*c)+","+(r.x-l)+","+Math.min(n,r.y-l*o)+","+r.x+","+r.y):u+="L"+r.x+","+r.y:i&&null==a[s]||(u+="M"+r.x+","+r.y)),h=r;return u},n.gradients=function(t){var e,i,n,r,o,a,s,l;for(i=function(t,e){return(t.y-e.y)/(t.x-e.x)},l=[],n=a=0,s=t.length;s>a;n=++a)null!=(e=t[n]).y?(r=t[n+1]||{y:null},o=t[n-1]||{y:null},l.push(null!=o.y&&null!=r.y?i(o,r):null!=o.y?i(o,e):null!=r.y?i(e,r):null)):l.push(null);return l},n.prototype.hilight=function(t){var e,i,n,r,o;if(null!==this.prevHilight&&this.prevHilight!==t)for(e=i=0,r=this.seriesPoints.length-1;r>=0?r>=i:i>=r;e=r>=0?++i:--i)this.seriesPoints[e][this.prevHilight]&&this.seriesPoints[e][this.prevHilight].animate(this.pointShrinkSeries(e));if(null!==t&&this.prevHilight!==t)for(e=n=0,o=this.seriesPoints.length-1;o>=0?o>=n:n>=o;e=o>=0?++n:--n)this.seriesPoints[e][t]&&this.seriesPoints[e][t].animate(this.pointGrowSeries(e));return this.prevHilight=t},n.prototype.colorFor=function(t,e,i){return"function"==typeof this.options.lineColors?this.options.lineColors.call(this,t,e,i):"point"===i?this.options.pointFillColors[e%this.options.pointFillColors.length]||this.options.lineColors[e%this.options.lineColors.length]:"line"===i?this.options.lineColors[e%this.options.lineColors.length]:this.options.trendLineColors[e%this.options.trendLineColors.length]},n.prototype.drawXAxisLabel=function(t,e,i){return this.raphael.text(t,e,i).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).attr("fill",this.options.gridTextColor)},n.prototype.drawLinePath=function(t,e,i){return this.raphael.path(t).attr("stroke",e).attr("stroke-width",this.lineWidthForSeries(i))},n.prototype.drawLinePoint=function(t,e,i,n){return this.raphael.circle(t,e,this.pointSizeForSeries(n)).attr("fill",i).attr("stroke-width",this.pointStrokeWidthForSeries(n)).attr("stroke",this.pointStrokeColorForSeries(n))},n.prototype.pointStrokeWidthForSeries=function(t){return this.options.pointStrokeWidths[t%this.options.pointStrokeWidths.length]},n.prototype.pointStrokeColorForSeries=function(t){return this.options.pointStrokeColors[t%this.options.pointStrokeColors.length]},n.prototype.lineWidthForSeries=function(t){return this.options.lineWidth instanceof Array?this.options.lineWidth[t%this.options.lineWidth.length]:this.options.lineWidth},n.prototype.pointSizeForSeries=function(t){return this.options.pointSize instanceof Array?this.options.pointSize[t%this.options.pointSize.length]:this.options.pointSize},n.prototype.pointGrowSeries=function(t){return 0!==this.pointSizeForSeries(t)?Raphael.animation({r:this.pointSizeForSeries(t)+3},25,"linear"):void 0},n.prototype.pointShrinkSeries=function(t){return Raphael.animation({r:this.pointSizeForSeries(t)},25,"linear")},n}(e.Grid),e.labelSeries=function(i,n,r,o,a){var s,l,c,u,h,d,f,p,g,m,v;if(c=200*(n-i)/r,l=new Date(i),void 0===(f=e.LABEL_SPECS[o]))for(g=0,m=(v=e.AUTO_LABEL_ORDER).length;m>g;g++)if(u=v[g],c>=(d=e.LABEL_SPECS[u]).span){f=d;break}for(void 0===f&&(f=e.LABEL_SPECS.second),a&&(f=t.extend({},f,{fmt:a})),s=f.start(l),h=[];(p=s.getTime())<=n;)p>=i&&h.push([f.fmt(s),p]),f.incr(s);return h},i=function(t){return{span:60*t*1e3,start:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours())},fmt:function(t){return e.pad2(t.getHours())+":"+e.pad2(t.getMinutes())},incr:function(e){return e.setUTCMinutes(e.getUTCMinutes()+t)}}},n=function(t){return{span:1e3*t,start:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes())},fmt:function(t){return e.pad2(t.getHours())+":"+e.pad2(t.getMinutes())+":"+e.pad2(t.getSeconds())},incr:function(e){return e.setUTCSeconds(e.getUTCSeconds()+t)}}},e.LABEL_SPECS={decade:{span:1728e8,start:function(t){return new Date(t.getFullYear()-t.getFullYear()%10,0,1)},fmt:function(t){return""+t.getFullYear()},incr:function(t){return t.setFullYear(t.getFullYear()+10)}},year:{span:1728e7,start:function(t){return new Date(t.getFullYear(),0,1)},fmt:function(t){return""+t.getFullYear()},incr:function(t){return t.setFullYear(t.getFullYear()+1)}},month:{span:24192e5,start:function(t){return new Date(t.getFullYear(),t.getMonth(),1)},fmt:function(t){return t.getFullYear()+"-"+e.pad2(t.getMonth()+1)},incr:function(t){return t.setMonth(t.getMonth()+1)}},week:{span:6048e5,start:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate())},fmt:function(t){return t.getFullYear()+"-"+e.pad2(t.getMonth()+1)+"-"+e.pad2(t.getDate())},incr:function(t){return t.setDate(t.getDate()+7)}},day:{span:864e5,start:function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate())},fmt:function(t){return t.getFullYear()+"-"+e.pad2(t.getMonth()+1)+"-"+e.pad2(t.getDate())},incr:function(t){return t.setDate(t.getDate()+1)}},hour:i(60),"30min":i(30),"15min":i(15),"10min":i(10),"5min":i(5),minute:i(1),"30sec":n(30),"15sec":n(15),"10sec":n(10),"5sec":n(5),second:n(1)},e.AUTO_LABEL_ORDER=["decade","year","month","week","day","hour","30min","15min","10min","5min","minute","30sec","15sec","10sec","5sec","second"],e.Area=function(i){function n(i){var o;return this instanceof e.Area?(o=t.extend({},r,i),this.cumulative=!o.behaveLikeLine,"auto"===o.fillOpacity&&(o.fillOpacity=o.behaveLikeLine?.8:1),void n.__super__.constructor.call(this,o)):new e.Area(i)}var r;return s(n,i),r={fillOpacity:"auto",behaveLikeLine:!1},n.prototype.calcPoints=function(){var t,e,i,n,r,o,a;for(a=[],n=0,r=(o=this.data).length;r>n;n++)(t=o[n])._x=this.transX(t.x),e=0,t._y=function(){var n,r,o,a;for(a=[],n=0,r=(o=t.y).length;r>n;n++)i=o[n],this.options.behaveLikeLine?a.push(this.transY(i)):(e+=i||0,a.push(this.transY(e)));return a}.call(this),a.push(t._ymax=Math.max.apply(Math,t._y));return a},n.prototype.drawSeries=function(){var t,e,i,n,r,o,a,s;for(this.seriesPoints=[],s=[],i=0,n=(e=this.options.behaveLikeLine?function(){o=[];for(var t=0,e=this.options.ykeys.length-1;e>=0?e>=t:t>=e;e>=0?t++:t--)o.push(t);return o}.apply(this):function(){a=[];for(var t=r=this.options.ykeys.length-1;0>=r?0>=t:t>=0;0>=r?t++:t--)a.push(t);return a}.apply(this)).length;n>i;i++)t=e[i],this._drawFillFor(t),this._drawLineFor(t),s.push(this._drawPointFor(t));return s},n.prototype._drawFillFor=function(t){var e;return null!==(e=this.paths[t])?(e+="L"+this.transX(this.xmax)+","+this.bottom+"L"+this.transX(this.xmin)+","+this.bottom+"Z",this.drawFilledPath(e,this.fillForSeries(t))):void 0},n.prototype.fillForSeries=function(t){var e;return e=Raphael.rgb2hsl(this.colorFor(this.data[t],t,"line")),Raphael.hsl(e.h,this.options.behaveLikeLine?.9*e.s:.75*e.s,Math.min(.98,this.options.behaveLikeLine?1.2*e.l:1.25*e.l))},n.prototype.drawFilledPath=function(t,e){return this.raphael.path(t).attr("fill",e).attr("fill-opacity",this.options.fillOpacity).attr("stroke","none")},n}(e.Line),e.Bar=function(i){function n(i){return this.onHoverOut=o(this.onHoverOut,this),this.onHoverMove=o(this.onHoverMove,this),this.onGridClick=o(this.onGridClick,this),this instanceof e.Bar?void n.__super__.constructor.call(this,t.extend({},i,{parseTime:!1})):new e.Bar(i)}return s(n,i),n.prototype.init=function(){return this.cumulative=this.options.stacked,"always"!==this.options.hideHover?(this.hover=new e.Hover({parent:this.el}),this.on("hovermove",this.onHoverMove),this.on("hoverout",this.onHoverOut),this.on("gridclick",this.onGridClick)):void 0},n.prototype.defaults={barSizeRatio:.75,barGap:3,barColors:["#0b62a4","#7a92a3","#4da74d","#afd8f8","#edc240","#cb4b4b","#9440ed"],barOpacity:1,barRadius:[0,0,0,0],xLabelMargin:50,horizontal:!1,shown:!0},n.prototype.calc=function(){var t;return this.calcBars(),!1===this.options.hideHover?(t=this.hover).update.apply(t,this.hoverContentForRow(this.data.length-1)):void 0},n.prototype.calcBars=function(){var t,e,i,n,r,o,a;for(a=[],t=n=0,r=(o=this.data).length;r>n;t=++n)(e=o[t])._x=this.xStart+this.xSize*(t+.5)/this.data.length,a.push(e._y=function(){var t,n,r,o;for(o=[],t=0,n=(r=e.y).length;n>t;t++)i=r[t],o.push(null!=i?this.transY(i):null);return o}.call(this));return a},n.prototype.draw=function(){var t;return(!0===(t=this.options.axes)||"both"===t||"x"===t)&&this.drawXAxis(),this.drawSeries()},n.prototype.drawXAxis=function(){var t,e,i,n,r,o,a,s,l,c,u,h,d,f,p,g;for(e=this.options.horizontal?this.getYAxisLabelX():this.getXAxisLabelY(),l=null,s=null,g=[],i=f=0,p=this.data.length;p>=0?p>f:f>p;i=p>=0?++f:--f)c=this.data[this.data.length-1-i],n=this.options.horizontal?this.drawYAxisLabel(e,c._x-.5*this.options.gridTextSize,c.label):this.drawXAxisLabel(c._x,e,c.label),t=this.options.horizontal?0:this.options.xLabelAngle,d=n.getBBox(),n.transform("r"+-t),r=n.getBBox(),n.transform("t0,"+r.height/2+"..."),0!==t&&(a=-.5*d.width*Math.cos(t*Math.PI/180),n.transform("t"+a+",0...")),this.options.horizontal?(h=r.y,u=r.height,o=this.el.height()):(h=r.x,u=r.width,o=this.el.width()),(null==l||l>=h+u||null!=s&&s>=h)&&h>=0&&o>h+u?(0!==t&&(s=h-1.25*this.options.gridTextSize/Math.sin(t*Math.PI/180)),g.push(l=this.options.horizontal?h:h-this.options.xLabelMargin)):g.push(n.remove());return g},n.prototype.getXAxisLabelY=function(){return this.bottom+(this.options.xAxisLabelTopPadding||this.options.padding/2)},n.prototype.drawSeries=function(){var t,e,i,n,r,o,a,s,l,c,u,h,d,f,p,g,m,v;if(i=this.xSize/this.options.data.length,this.options.stacked)l=1;else for(l=0,n=m=0,v=this.options.ykeys.length-1;v>=0?v>=m:m>=v;n=v>=0?++m:--m)this.hasToShow(n)&&(l+=1);return t=(i*this.options.barSizeRatio-this.options.barGap*(l-1))/l,this.options.barSize&&(t=Math.min(t,this.options.barSize)),d=i-t*l-this.options.barGap*(l-1),s=d/2,g=this.ymin<=0&&this.ymax>=0?this.transY(0):null,this.bars=function(){var n,l,d,m;for(d=this.data,m=[],r=n=0,l=d.length;l>n;r=++n)c=d[r],o=0,m.push(function(){var n,l,d,m;for(d=c._y,m=[],u=n=0,l=d.length;l>n;u=++n)p=d[u],this.hasToShow(u)&&(null!==p?(g?(f=Math.min(p,g),e=Math.max(p,g)):(f=p,e=this.bottom),a=this.xStart+r*i+s,this.options.stacked||(a+=u*(t+this.options.barGap)),h=e-f,this.options.verticalGridCondition&&this.options.verticalGridCondition(c.x)&&(this.options.horizontal?this.drawBar(this.yStart,this.xStart+r*i,this.ySize,i,this.options.verticalGridColor,this.options.verticalGridOpacity,this.options.barRadius):this.drawBar(this.xStart+r*i,this.yEnd,i,this.ySize,this.options.verticalGridColor,this.options.verticalGridOpacity,this.options.barRadius)),this.options.stacked&&(f-=o),this.options.horizontal?(this.drawBar(f,a,h,t,this.colorFor(c,u,"bar"),this.options.barOpacity,this.options.barRadius),m.push(o-=h)):(this.drawBar(a,f,t,h,this.colorFor(c,u,"bar"),this.options.barOpacity,this.options.barRadius),m.push(o+=h))):m.push(null));return m}.call(this));return m}.call(this)},n.prototype.colorFor=function(t,e,i){var n,r;return"function"==typeof this.options.barColors?(n={x:t.x,y:t.y[e],label:t.label},r={index:e,key:this.options.ykeys[e],label:this.options.labels[e]},this.options.barColors.call(this,n,r,i)):this.options.barColors[e%this.options.barColors.length]},n.prototype.hitTest=function(t,e){var i;return 0===this.data.length?null:(i=this.options.horizontal?e:t,i=Math.max(Math.min(i,this.xEnd),this.xStart),Math.min(this.data.length-1,Math.floor((i-this.xStart)/(this.xSize/this.data.length))))},n.prototype.onGridClick=function(t,e){var i;return i=this.hitTest(t,e),this.fire("click",i,this.data[i].src,t,e)},n.prototype.onHoverMove=function(t,e){var i,n;return i=this.hitTest(t,e),(n=this.hover).update.apply(n,this.hoverContentForRow(i))},n.prototype.onHoverOut=function(){return!1!==this.options.hideHover?this.hover.hide():void 0},n.prototype.hoverContentForRow=function(e){var i,n,r,o,a,s,l;for(r=this.data[e],i=(i=t("<div class='morris-hover-row-label'>").text(r.label)).prop("outerHTML"),n=a=0,s=(l=r.y).length;s>a;n=++a)o=l[n],!1!==this.options.labels[n]&&(i+="<div class='morris-hover-point' style='color: "+this.colorFor(r,n,"label")+"'>\n "+this.options.labels[n]+":\n "+this.yLabelFormat(o,n)+"\n</div>");return"function"==typeof this.options.hoverCallback&&(i=this.options.hoverCallback(e,this.options,i,r.src)),this.options.horizontal?[i,this.left+.5*this.width,o=this.top+(e+.5)*this.height/this.data.length,!0]:[i,this.left+(e+.5)*this.width/this.data.length]},n.prototype.drawXAxisLabel=function(t,e,i){return this.raphael.text(t,e,i).attr("font-size",this.options.gridTextSize).attr("font-family",this.options.gridTextFamily).attr("font-weight",this.options.gridTextWeight).attr("fill",this.options.gridTextColor)},n.prototype.drawBar=function(t,e,i,n,r,o,a){var s;return(0===(s=Math.max.apply(Math,a))||s>n?this.raphael.rect(t,e,i,n):this.raphael.path(this.roundedRect(t,e,i,n,a))).attr("fill",r).attr("fill-opacity",o).attr("stroke","none")},n.prototype.roundedRect=function(t,e,i,n,r){return null==r&&(r=[0,0,0,0]),["M",t,r[0]+e,"Q",t,e,t+r[0],e,"L",t+i-r[1],e,"Q",t+i,e,t+i,e+r[1],"L",t+i,e+n-r[2],"Q",t+i,e+n,t+i-r[2],e+n,"L",t+r[3],e+n,"Q",t,e+n,t,e+n-r[3],"Z"]},n}(e.Grid),e.Donut=function(i){function n(i){this.resizeHandler=o(this.resizeHandler,this),this.select=o(this.select,this),this.click=o(this.click,this);var n=this;if(!(this instanceof e.Donut))return new e.Donut(i);if(this.options=t.extend({},this.defaults,i),this.el=t("string"==typeof i.element?document.getElementById(i.element):i.element),null===this.el||0===this.el.length)throw new Error("Graph placeholder not found.");void 0!==i.data&&0!==i.data.length&&(this.raphael=new Raphael(this.el[0]),this.options.resize&&t(window).bind("resize",function(){return null!=n.timeoutId&&window.clearTimeout(n.timeoutId),n.timeoutId=window.setTimeout(n.resizeHandler,100)}),this.setData(i.data))}return s(n,i),n.prototype.defaults={colors:["#0B62A4","#3980B5","#679DC6","#95BBD7","#B0CCE1","#095791","#095085","#083E67","#052C48","#042135"],backgroundColor:"#FFFFFF",labelColor:"#000000",formatter:e.commas,resize:!1},n.prototype.redraw=function(){var t,i,n,r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L,x,w;for(this.raphael.clear(),i=this.el.width()/2,n=this.el.height()/2,d=(Math.min(i,n)-10)/3,h=0,f=0,m=(b=this.values).length;m>f;f++)h+=b[f];for(l=5/(2*d),t=1.9999*Math.PI-l*this.data.length,a=0,o=0,this.segments=[],r=p=0,v=(L=this.values).length;v>p;r=++p)c=a+l+t*(L[r]/h),(u=new e.DonutSegment(i,n,2*d,d,a,c,this.data[r].color||this.options.colors[o%this.options.colors.length],this.options.backgroundColor,o,this.raphael)).render(),this.segments.push(u),u.on("hover",this.select),u.on("click",this.click),a=c,o+=1;for(this.text1=this.drawEmptyDonutLabel(i,n-10,this.options.labelColor,15,800),this.text2=this.drawEmptyDonutLabel(i,n+10,this.options.labelColor,14),s=Math.max.apply(Math,this.values),o=0,w=[],g=0,y=(x=this.values).length;y>g;g++){if(x[g]===s){this.select(o);break}w.push(o+=1)}return w},n.prototype.setData=function(t){var e;return this.data=t,this.values=function(){var t,i,n,r;for(r=[],t=0,i=(n=this.data).length;i>t;t++)e=n[t],r.push(parseFloat(e.value));return r}.call(this),this.redraw()},n.prototype.click=function(t){return this.fire("click",t,this.data[t])},n.prototype.select=function(t){var e,i,n,r;for(i=0,n=(r=this.segments).length;n>i;i++)r[i].deselect();return this.segments[t].select(),e=this.data[t],this.setLabels(e.label,this.options.formatter(e.value,e))},n.prototype.setLabels=function(t,e){var i,n,r,o,a,s,l,c;return o=1.8*(i=2*(Math.min(this.el.width()/2,this.el.height()/2)-10)/3),r=i/2,n=i/3,this.text1.attr({text:t,transform:""}),a=this.text1.getBBox(),s=Math.min(o/a.width,r/a.height),this.text1.attr({transform:"S"+s+","+s+","+(a.x+a.width/2)+","+(a.y+a.height)}),this.text2.attr({text:e,transform:""}),l=this.text2.getBBox(),c=Math.min(o/l.width,n/l.height),this.text2.attr({transform:"S"+c+","+c+","+(l.x+l.width/2)+","+l.y})},n.prototype.drawEmptyDonutLabel=function(t,e,i,n,r){var o;return o=this.raphael.text(t,e,"").attr("font-size",n).attr("fill",i),null!=r&&o.attr("font-weight",r),o},n.prototype.resizeHandler=function(){return this.timeoutId=null,this.raphael.setSize(this.el.width(),this.el.height()),this.redraw()},n}(e.EventEmitter),e.DonutSegment=function(t){function e(t,e,i,n,r,a,s,l,c,u){this.cx=t,this.cy=e,this.inner=i,this.outer=n,this.color=s,this.backgroundColor=l,this.index=c,this.raphael=u,this.deselect=o(this.deselect,this),this.select=o(this.select,this),this.sin_p0=Math.sin(r),this.cos_p0=Math.cos(r),this.sin_p1=Math.sin(a),this.cos_p1=Math.cos(a),this.is_long=a-r>Math.PI?1:0,this.path=this.calcSegment(this.inner+3,this.inner+this.outer-5),this.selectedPath=this.calcSegment(this.inner+3,this.inner+this.outer),this.hilight=this.calcArc(this.inner)}return s(e,t),e.prototype.calcArcPoints=function(t){return[this.cx+t*this.sin_p0,this.cy+t*this.cos_p0,this.cx+t*this.sin_p1,this.cy+t*this.cos_p1]},e.prototype.calcSegment=function(t,e){var i,n,r,o,a,s,l,c,u,h;return i=(u=this.calcArcPoints(t))[0],r=u[1],n=u[2],o=u[3],a=(h=this.calcArcPoints(e))[0],l=h[1],s=h[2],c=h[3],"M"+i+","+r+"A"+t+","+t+",0,"+this.is_long+",0,"+n+","+o+"L"+s+","+c+"A"+e+","+e+",0,"+this.is_long+",1,"+a+","+l+"Z"},e.prototype.calcArc=function(t){var e,i,n,r,o;return e=(o=this.calcArcPoints(t))[0],n=o[1],i=o[2],r=o[3],"M"+e+","+n+"A"+t+","+t+",0,"+this.is_long+",0,"+i+","+r},e.prototype.render=function(){var t=this;return this.arc=this.drawDonutArc(this.hilight,this.color),this.seg=this.drawDonutSegment(this.path,this.color,this.backgroundColor,function(){return t.fire("hover",t.index)},function(){return t.fire("click",t.index)})},e.prototype.drawDonutArc=function(t,e){return this.raphael.path(t).attr({stroke:e,"stroke-width":2,opacity:0})},e.prototype.drawDonutSegment=function(t,e,i,n,r){return this.raphael.path(t).attr({fill:e,stroke:i,"stroke-width":3}).hover(n).click(r)},e.prototype.select=function(){return this.selected?void 0:(this.seg.animate({path:this.selectedPath},150,"<>"),this.arc.animate({opacity:1},150,"<>"),this.selected=!0)},e.prototype.deselect=function(){return this.selected?(this.seg.animate({path:this.path},150,"<>"),this.arc.animate({opacity:0},150,"<>"),this.selected=!1):void 0},e}(e.EventEmitter)}.call(this),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 i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1)}([function(t,e,i){var n,r;n=[i(2)],void 0===(r=function(t){function e(n){if(e.is(n,"function"))return i?n():t.on("raphael.DOMload",n);if(e.is(n,M))return e._engine.create[f](e,n.splice(0,3+e.is(n[0],A))).add(n);var r=Array.prototype.slice.call(arguments,0);if(e.is(r[r.length-1],"function")){var o=r.pop();return i?o.call(e._engine.create[f](e,r)):t.on("raphael.DOMload",function(){o.call(e._engine.create[f](e,r))})}return e._engine.create[f](e,arguments)}e.version="2.2.0",e.eve=t;var i,n,r,o,a=/[, ]+/,s={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},l=/\{(\d+)\}/g,c="hasOwnProperty",u={doc:document,win:window},h={was:Object.prototype[c].call(u.win,"Raphael"),is:u.win.Raphael},d=function(){this.ca=this.customAttributes={}},f="apply",p="concat",g="ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch,m="",v=" ",y=String,b="split",L="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[b](v),x={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},w=y.prototype.toLowerCase,_=Math,S=_.max,C=_.min,k=_.abs,T=_.pow,E=_.PI,A="number",M="array",D=Object.prototype.toString,P=(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),O={NaN:1,Infinity:1,"-Infinity":1},I=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,N=_.round,R=parseFloat,F=parseInt,B=y.prototype.toUpperCase,z=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:""},H=e._availableAnimAttrs={blur:A,"clip-rect":"csv",cx:A,cy:A,fill:"colour","fill-opacity":A,"font-size":A,height:A,opacity:A,path:"path",r:A,rx:A,ry:A,stroke:"colour","stroke-opacity":A,"stroke-width":A,transform:"transform",width:A,x:A,y:A},V=/[\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]*/,j={hs:1,rg:1},W=/,?([achlmqrstvxz]),?/gi,U=/([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,Y=/([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,G=/(-?\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,X=(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 R(t)-R(e)},$=function(t){return t},Z=e._rectPath=function(t,e,i,n,r){return r?[["M",t+r,e],["l",i-2*r,0],["a",r,r,0,0,1,r,r],["l",0,n-2*r],["a",r,r,0,0,1,-r,r],["l",2*r-i,0],["a",r,r,0,0,1,-r,-r],["l",0,2*r-n],["a",r,r,0,0,1,r,-r],["z"]]:[["M",t,e],["l",i,0],["l",0,n],["l",-i,0],["z"]]},K=function(t,e,i,n){return null==n&&(n=i),[["M",t,e],["m",0,-n],["a",i,n,0,1,1,0,2*n],["a",i,n,0,1,1,0,-2*n],["z"]]},Q=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 Z(e.x,e.y,e.width,e.height,e.r)},image:function(t){var e=t.attrs;return Z(e.x,e.y,e.width,e.height)},text:function(t){var e=t._getBBox();return Z(e.x,e.y,e.width,e.height)},set:function(t){var e=t._getBBox();return Z(e.x,e.y,e.width,e.height)}},J=e.mapPath=function(t,e){if(!e)return t;var i,n,r,o,a,s,l;for(r=0,a=(t=Tt(t)).length;r<a;r++)for(o=1,s=(l=t[r]).length;o<s;o+=2)i=e.x(l[o],l[o+1]),n=e.y(l[o],l[o+1]),l[o]=i,l[o+1]=n;return t};if(e._g=u,e.type=u.win.SVGAngle||u.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==e.type){var tt,et=u.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 it(t){if("function"==typeof t||Object(t)!==t)return t;var e=new t.constructor;for(var i in t)t[c](i)&&(e[i]=it(t[i]));return e}e.svg=!(e.vml="VML"==e.type),e._Paper=d,e.fn=n=d.prototype=e.prototype,e._id=0,e.is=function(t,e){return"finite"==(e=w.call(e))?!O[c](+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,i,n,r,o,a){if(null==o){var s=t-n,l=i-r;return s||l?(180+180*_.atan2(-l,-s)/E+360)%360:0}return e.angle(t,i,o,a)-e.angle(n,r,o,a)},e.rad=function(t){return t%360*E/180},e.deg=function(t){return Math.round(180*t/E%360*1e3)/1e3},e.snapTo=function(t,i,n){if(n=e.is(n,"finite")?n:10,e.is(t,M)){for(var r=t.length;r--;)if(k(t[r]-i)<=n)return t[r]}else{var o=i%(t=+t);if(o<n)return i-o;if(o>t-n)return i-o+t}return i},e.createUUID=(r=/[xy]/g,o=function(t){var e=16*_.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(i){t("raphael.setWindow",e,u.win,i),u.win=i,u.doc=u.win.document,e._engine.initWin&&e._engine.initWin(u.win)};var nt=function(t){if(e.vml){var i,n=/^\s+|\s+$/g;try{var r=new ActiveXObject("htmlfile");r.write("<body>"),r.close(),i=r.body}catch(t){i=createPopup().document.body}var o=i.createTextRange();nt=ct(function(t){try{i.style.color=y(t).replace(n,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=u.doc.createElement("i");a.title="Raphaël Colour Picker",a.style.display="none",u.doc.body.appendChild(a),nt=ct(function(t){return a.style.color=t,u.doc.defaultView.getComputedStyle(a,m).getPropertyValue("color")})}return nt(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,i,n){if(null==i&&e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(n=t.b,i=t.g,t=t.r),null==i&&e.is(t,"string")){var r=e.getRGB(t);t=r.r,i=r.g,n=r.b}return(t>1||i>1||n>1)&&(t/=255,i/=255,n/=255),[t,i,n]},lt=function(t,i,n,r){var o={r:t*=255,g:i*=255,b:n*=255,hex:e.rgb(t,i,n),toString:at};return e.is(r,"finite")&&(o.opacity=r),o};function ct(t,e,i){return function n(){var r=Array.prototype.slice.call(arguments,0),o=r.join("␀"),a=n.cache=n.cache||{},s=n.count=n.count||[];return a[c](o)?(function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return t.push(t.splice(i,1)[0])}(s,o),i?i(a[o]):a[o]):(s.length>=1e3&&delete a[s.shift()],s.push(o),a[o]=t[f](e,r),i?i(a[o]):a[o])}}function ut(){return this.hex}function ht(t,e){for(var i=[],n=0,r=t.length;r-2*!e>n;n+=2){var o=[{x:+t[n-2],y:+t[n-1]},{x:+t[n],y:+t[n+1]},{x:+t[n+2],y:+t[n+3]},{x:+t[n+4],y:+t[n+5]}];e?n?r-4==n?o[3]={x:+t[0],y:+t[1]}:r-2==n&&(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==n?o[3]=o[2]:n||(o[0]={x:+t[n],y:+t[n+1]}),i.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].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 i}e.color=function(t){var i;return e.is(t,"object")&&"h"in t&&"s"in t&&"b"in t?(i=e.hsb2rgb(t),t.r=i.r,t.g=i.g,t.b=i.b,t.hex=i.hex):e.is(t,"object")&&"h"in t&&"s"in t&&"l"in t?(i=e.hsl2rgb(t),t.r=i.r,t.g=i.g,t.b=i.b,t.hex=i.hex):(e.is(t,"string")&&(t=e.getRGB(t)),e.is(t,"object")&&"r"in t&&"g"in t&&"b"in t?(i=e.rgb2hsl(t),t.h=i.h,t.s=i.s,t.l=i.l,i=e.rgb2hsb(t),t.v=i.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,i,n){var r,o,a,s,l;return this.is(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(i=t.b,e=t.s,n=t.o,t=t.h),s=(l=i*e)*(1-k((t=(t*=360)%360/60)%2-1)),r=o=a=i-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],n)},e.hsl2rgb=function(t,e,i,n){var r,o,a,s,l;return this.is(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(i=t.l,e=t.s,t=t.h),(t>1||e>1||i>1)&&(t/=360,e/=100,i/=100),s=(l=2*e*(i<.5?i:1-i))*(1-k((t=(t*=360)%360/60)%2-1)),r=o=a=i-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],n)},e.rgb2hsb=function(t,e,i){var n,r;return t=(i=st(t,e,i))[0],e=i[1],i=i[2],{h:((0==(r=(n=S(t,e,i))-C(t,e,i))?null:n==t?(e-i)/r:n==e?(i-t)/r+2:(t-e)/r+4)+360)%6*60/360,s:0==r?0:r/n,b:n,toString:rt}},e.rgb2hsl=function(t,e,i){var n,r,o,a;return t=(i=st(t,e,i))[0],e=i[1],i=i[2],n=((r=S(t,e,i))+(o=C(t,e,i)))/2,{h:((0==(a=r-o)?null:r==t?(e-i)/a:r==e?(i-t)/a+2:(t-e)/a+4)+360)%6*60/360,s:0==a?0:n<.5?a/(2*n):a/(2-2*n),l:n,toString:ot}},e._path2string=function(){return this.join(",").replace(W,"$1")},e._preload=function(t,e){var i=u.doc.createElement("img");i.style.cssText="position:absolute;left:-9999em;top:-9999em",i.onload=function(){e.call(this),this.onload=null,u.doc.body.removeChild(this)},i.onerror=function(){u.doc.body.removeChild(this)},u.doc.body.appendChild(i),i.src=t},e.getRGB=ct(function(t){if(!t||(t=y(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ut};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:ut};!j[c](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=nt(t));var i,n,r,o,a,s,l=t.match(P);return l?(l[2]&&(r=F(l[2].substring(5),16),n=F(l[2].substring(3,5),16),i=F(l[2].substring(1,3),16)),l[3]&&(r=F((a=l[3].charAt(3))+a,16),n=F((a=l[3].charAt(2))+a,16),i=F((a=l[3].charAt(1))+a,16)),l[4]&&(s=l[4][b](V),i=R(s[0]),"%"==s[0].slice(-1)&&(i*=2.55),n=R(s[1]),"%"==s[1].slice(-1)&&(n*=2.55),r=R(s[2]),"%"==s[2].slice(-1)&&(r*=2.55),"rgba"==l[1].toLowerCase().slice(0,4)&&(o=R(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100)),l[5]?(s=l[5][b](V),i=R(s[0]),"%"==s[0].slice(-1)&&(i*=2.55),n=R(s[1]),"%"==s[1].slice(-1)&&(n*=2.55),r=R(s[2]),"%"==s[2].slice(-1)&&(r*=2.55),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(i/=360),"hsba"==l[1].toLowerCase().slice(0,4)&&(o=R(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),e.hsb2rgb(i,n,r,o)):l[6]?(s=l[6][b](V),i=R(s[0]),"%"==s[0].slice(-1)&&(i*=2.55),n=R(s[1]),"%"==s[1].slice(-1)&&(n*=2.55),r=R(s[2]),"%"==s[2].slice(-1)&&(r*=2.55),("deg"==s[0].slice(-3)||"°"==s[0].slice(-1))&&(i/=360),"hsla"==l[1].toLowerCase().slice(0,4)&&(o=R(s[3])),s[3]&&"%"==s[3].slice(-1)&&(o/=100),e.hsl2rgb(i,n,r,o)):((l={r:i,g:n,b:r,toString:ut}).hex="#"+(16777216|r|n<<8|i<<16).toString(16).slice(1),e.is(o,"finite")&&(l.opacity=o),l)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:ut}},e),e.hsb=ct(function(t,i,n){return e.hsb2rgb(t,i,n).hex}),e.hsl=ct(function(t,i,n){return e.hsl2rgb(t,i,n).hex}),e.rgb=ct(function(t,e,i){function n(t){return t+.5|0}return"#"+(16777216|n(i)|n(e)<<8|n(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},i=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})),i.hex},e.getColor.reset=function(){delete this.start},e.parsePathString=function(t){if(!t)return null;var i=dt(t);if(i.arr)return bt(i.arr);var n={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(U,function(t,e,i){var o=[],a=e.toLowerCase();if(i.replace(G,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>=n[a]&&(r.push([e][p](o.splice(0,n[a]))),n[a]););}),r.toString=e._path2string,i.arr=bt(r),r},e.parseTransformString=ct(function(t){if(!t)return null;var i=[];return e.is(t,M)&&e.is(t[0],M)&&(i=bt(t)),i.length||y(t).replace(Y,function(t,e,n){var r=[];w.call(e),n.replace(G,function(t,e){e&&r.push(+e)}),i.push([e][p](r))}),i.toString=e._path2string,i},this,function(t){if(!t)return t;for(var e=[],i=0;i<t.length;i++){for(var n=[],r=0;r<t[i].length;r++)n.push(t[i][r]);e.push(n)}return e});var dt=function(t){var e=dt.ps=dt.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout(function(){for(var i in e)e[c](i)&&i!=t&&(e[i].sleep--,!e[i].sleep&&delete e[i])}),e[t]};function ft(t,e,i,n,r){return t*(t*(-3*e+9*i-9*n+3*r)+6*e-12*i+6*n)-3*e+3*i}function pt(t,e,i,n,r,o,a,s,l){null==l&&(l=1);for(var c=(l=l>1?1:l<0?0:l)/2,u=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,f=0;f<12;f++){var p=c*u[f]+c,g=ft(p,t,i,r,a),m=ft(p,e,n,o,s),v=g*g+m*m;d+=h[f]*_.sqrt(v)}return c*d}function gt(t,e,i,n,r,o,a,s){if(!(S(t,i)<C(r,a)||C(t,i)>S(r,a)||S(e,n)<C(o,s)||C(e,n)>S(o,s))){var l=(t-i)*(o-s)-(e-n)*(r-a);if(l){var c=((t*n-e*i)*(r-a)-(t-i)*(r*s-o*a))/l,u=((t*n-e*i)*(o-s)-(e-n)*(r*s-o*a))/l,h=+c.toFixed(2),d=+u.toFixed(2);if(!(h<+C(t,i).toFixed(2)||h>+S(t,i).toFixed(2)||h<+C(r,a).toFixed(2)||h>+S(r,a).toFixed(2)||d<+C(e,n).toFixed(2)||d>+S(e,n).toFixed(2)||d<+C(o,s).toFixed(2)||d>+S(o,s).toFixed(2)))return{x:c,y:u}}}}function mt(t,i,n){var r=e.bezierBBox(t),o=e.bezierBBox(i);if(!e.isBBoxIntersect(r,o))return n?0:[];for(var a=pt.apply(0,t),s=pt.apply(0,i),l=S(~~(a/5),1),c=S(~~(s/5),1),u=[],h=[],d={},f=n?0:[],p=0;p<l+1;p++){var g=e.findDotsAtSegment.apply(e,t.concat(p/l));u.push({x:g.x,y:g.y,t:p/l})}for(p=0;p<c+1;p++)g=e.findDotsAtSegment.apply(e,i.concat(p/c)),h.push({x:g.x,y:g.y,t:p/c});for(p=0;p<l;p++)for(var m=0;m<c;m++){var v=u[p],y=u[p+1],b=h[m],L=h[m+1],x=k(y.x-v.x)<.001?"y":"x",w=k(L.x-b.x)<.001?"y":"x",_=gt(v.x,v.y,y.x,y.y,b.x,b.y,L.x,L.y);if(_){if(d[_.x.toFixed(4)]==_.y.toFixed(4))continue;d[_.x.toFixed(4)]=_.y.toFixed(4);var T=v.t+k((_[x]-v[x])/(y[x]-v[x]))*(y.t-v.t),E=b.t+k((_[w]-b[w])/(L[w]-b[w]))*(L.t-b.t);T>=0&&T<=1.001&&E>=0&&E<=1.001&&(n?f++:f.push({x:_.x,y:_.y,t1:C(T,1),t2:C(E,1)}))}}return f}function vt(t,i,n){t=e._path2curve(t),i=e._path2curve(i);for(var r,o,a,s,l,c,u,h,d,f,p=n?0:[],g=0,m=t.length;g<m;g++){var v=t[g];if("M"==v[0])r=l=v[1],o=c=v[2];else{"C"==v[0]?(d=[r,o].concat(v.slice(1)),r=d[6],o=d[7]):(d=[r,o,r,o,l,c,l,c],r=l,o=c);for(var y=0,b=i.length;y<b;y++){var L=i[y];if("M"==L[0])a=u=L[1],s=h=L[2];else{"C"==L[0]?(f=[a,s].concat(L.slice(1)),a=f[6],s=f[7]):(f=[a,s,a,s,u,h,u,h],a=u,s=h);var x=mt(d,f,n);if(n)p+=x;else{for(var w=0,_=x.length;w<_;w++)x[w].segment1=g,x[w].segment2=y,x[w].bez1=d,x[w].bez2=f;p=p.concat(x)}}}}}return p}e.findDotsAtSegment=function(t,e,i,n,r,o,a,s,l){var c=1-l,u=T(c,3),h=T(c,2),d=l*l,f=d*l,p=u*t+3*h*l*i+3*c*l*l*r+f*a,g=u*e+3*h*l*n+3*c*l*l*o+f*s,m=t+2*l*(i-t)+d*(r-2*i+t),v=e+2*l*(n-e)+d*(o-2*n+e),y=i+2*l*(r-i)+d*(a-2*r+i),b=n+2*l*(o-n)+d*(s-2*o+n),L=c*t+l*i,x=c*e+l*n,w=c*r+l*a,S=c*o+l*s,C=90-180*_.atan2(m-y,v-b)/E;return(m>y||v<b)&&(C+=180),{x:p,y:g,m:{x:m,y:v},n:{x:y,y:b},start:{x:L,y:x},end:{x:w,y:S},alpha:C}},e.bezierBBox=function(t,i,n,r,o,a,s,l){e.is(t,"array")||(t=[t,i,n,r,o,a,s,l]);var c=kt.apply(null,t);return{x:c.min.x,y:c.min.y,x2:c.max.x,y2:c.max.y,width:c.max.x-c.min.x,height:c.max.y-c.min.y}},e.isPointInsideBBox=function(t,e,i){return e>=t.x&&e<=t.x2&&i>=t.y&&i<=t.y2},e.isBBoxIntersect=function(t,i){var n=e.isPointInsideBBox;return n(i,t.x,t.y)||n(i,t.x2,t.y)||n(i,t.x,t.y2)||n(i,t.x2,t.y2)||n(t,i.x,i.y)||n(t,i.x2,i.y)||n(t,i.x,i.y2)||n(t,i.x2,i.y2)||(t.x<i.x2&&t.x>i.x||i.x<t.x2&&i.x>t.x)&&(t.y<i.y2&&t.y>i.y||i.y<t.y2&&i.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,i,n){var r=e.pathBBox(t);return e.isPointInsideBBox(r,i,n)&&vt(t,[["M",i,n],["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=dt(t);if(e.bbox)return it(e.bbox);if(!t)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var i,n=0,r=0,o=[],a=[],s=0,l=(t=Tt(t)).length;s<l;s++)if("M"==(i=t[s])[0])n=i[1],r=i[2],o.push(n),a.push(r);else{var c=kt(n,r,i[1],i[2],i[3],i[4],i[5],i[6]);o=o[p](c.min.x,c.max.x),a=a[p](c.min.y,c.max.y),n=i[5],r=i[6]}var u=C[f](0,o),h=C[f](0,a),d=S[f](0,o),g=S[f](0,a),m=d-u,v=g-h,y={x:u,y:h,x2:d,y2:g,width:m,height:v,cx:u+m/2,cy:h+v/2};return e.bbox=it(y),y},bt=function(t){var i=it(t);return i.toString=e._path2string,i},Lt=e._pathToRelative=function(t){var i=dt(t);if(i.rel)return bt(i.rel);e.is(t,M)&&e.is(t&&t[0],M)||(t=e.parsePathString(t));var n=[],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++,n.push(["M",r,o]));for(var c=l,u=t.length;c<u;c++){var h=n[c]=[],d=t[c];if(d[0]!=w.call(d[0]))switch(h[0]=w.call(d[0]),h[0]){case"a":h[1]=d[1],h[2]=d[2],h[3]=d[3],h[4]=d[4],h[5]=d[5],h[6]=+(d[6]-r).toFixed(3),h[7]=+(d[7]-o).toFixed(3);break;case"v":h[1]=+(d[1]-o).toFixed(3);break;case"m":a=d[1],s=d[2];default:for(var f=1,p=d.length;f<p;f++)h[f]=+(d[f]-(f%2?r:o)).toFixed(3)}else{h=n[c]=[],"m"==d[0]&&(a=d[1]+r,s=d[2]+o);for(var g=0,m=d.length;g<m;g++)n[c][g]=d[g]}var v=n[c].length;switch(n[c][0]){case"z":r=a,o=s;break;case"h":r+=+n[c][v-1];break;case"v":o+=+n[c][v-1];break;default:r+=+n[c][v-2],o+=+n[c][v-1]}}return n.toString=e._path2string,i.rel=bt(n),n},xt=e._pathToAbsolute=function(t){var i=dt(t);if(i.abs)return bt(i.abs);if(e.is(t,M)&&e.is(t&&t[0],M)||(t=e.parsePathString(t)),!t||!t.length)return[["M",0,0]];var n=[],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++,n[0]=["M",r,o]);for(var c,u,h=3==t.length&&"M"==t[0][0]&&"R"==t[1][0].toUpperCase()&&"Z"==t[2][0].toUpperCase(),d=l,f=t.length;d<f;d++){if(n.push(c=[]),(u=t[d])[0]!=B.call(u[0]))switch(c[0]=B.call(u[0]),c[0]){case"A":c[1]=u[1],c[2]=u[2],c[3]=u[3],c[4]=u[4],c[5]=u[5],c[6]=+(u[6]+r),c[7]=+(u[7]+o);break;case"V":c[1]=+u[1]+o;break;case"H":c[1]=+u[1]+r;break;case"R":for(var g=[r,o][p](u.slice(1)),m=2,v=g.length;m<v;m++)g[m]=+g[m]+r,g[++m]=+g[m]+o;n.pop(),n=n[p](ht(g,h));break;case"M":a=+u[1]+r,s=+u[2]+o;default:for(m=1,v=u.length;m<v;m++)c[m]=+u[m]+(m%2?r:o)}else if("R"==u[0])g=[r,o][p](u.slice(1)),n.pop(),n=n[p](ht(g,h)),c=["R"][p](u.slice(-2));else for(var y=0,b=u.length;y<b;y++)c[y]=u[y];switch(c[0]){case"Z":r=a,o=s;break;case"H":r=c[1];break;case"V":o=c[1];break;case"M":a=c[c.length-2],s=c[c.length-1];default:r=c[c.length-2],o=c[c.length-1]}}return n.toString=e._path2string,i.abs=bt(n),n},wt=function(t,e,i,n){return[t,e,i,n,i,n]},_t=function(t,e,i,n,r,o){return[1/3*t+2/3*i,1/3*e+2/3*n,1/3*r+2/3*i,1/3*o+2/3*n,r,o]},St=function(t,e,i,n,r,o,a,s,l,c){var u,h=120*E/180,d=E/180*(+r||0),f=[],g=ct(function(t,e,i){return{x:t*_.cos(i)-e*_.sin(i),y:t*_.sin(i)+e*_.cos(i)}});if(c)T=c[0],A=c[1],S=c[2],C=c[3];else{t=(u=g(t,e,-d)).x,e=u.y,s=(u=g(s,l,-d)).x,l=u.y,_.cos(E/180*r),_.sin(E/180*r);var m=(t-s)/2,v=(e-l)/2,y=m*m/(i*i)+v*v/(n*n);y>1&&(i*=y=_.sqrt(y),n*=y);var L=i*i,x=n*n,w=(o==a?-1:1)*_.sqrt(k((L*x-L*v*v-x*m*m)/(L*v*v+x*m*m))),S=w*i*v/n+(t+s)/2,C=w*-n*m/i+(e+l)/2,T=_.asin(((e-C)/n).toFixed(9)),A=_.asin(((l-C)/n).toFixed(9));(T=t<S?E-T:T)<0&&(T=2*E+T),(A=s<S?E-A:A)<0&&(A=2*E+A),a&&T>A&&(T-=2*E),!a&&A>T&&(A-=2*E)}var M=A-T;if(k(M)>h){var D=A,P=s,O=l;A=T+h*(a&&A>T?1:-1),s=S+i*_.cos(A),l=C+n*_.sin(A),f=St(s,l,i,n,r,0,a,P,O,[A,D,S,C])}M=A-T;var I=_.cos(T),N=_.sin(T),R=_.cos(A),F=_.sin(A),B=_.tan(M/4),z=4/3*i*B,H=4/3*n*B,V=[t,e],j=[t+z*N,e-H*I],W=[s+z*F,l-H*R],U=[s,l];if(j[0]=2*V[0]-j[0],j[1]=2*V[1]-j[1],c)return[j,W,U][p](f);for(var Y=[],G=0,X=(f=[j,W,U][p](f).join()[b](",")).length;G<X;G++)Y[G]=G%2?g(f[G-1],f[G],d).y:g(f[G],f[G+1],d).x;return Y},Ct=function(t,e,i,n,r,o,a,s,l){var c=1-l;return{x:T(c,3)*t+3*T(c,2)*l*i+3*c*l*l*r+T(l,3)*a,y:T(c,3)*e+3*T(c,2)*l*n+3*c*l*l*o+T(l,3)*s}},kt=ct(function(t,e,i,n,r,o,a,s){var l,c=r-2*i+t-(a-2*r+i),u=2*(i-t)-2*(r-i),h=t-i,d=(-u+_.sqrt(u*u-4*c*h))/2/c,p=(-u-_.sqrt(u*u-4*c*h))/2/c,g=[e,s],m=[t,a];return k(d)>"1e12"&&(d=.5),k(p)>"1e12"&&(p=.5),d>0&&d<1&&(l=Ct(t,e,i,n,r,o,a,s,d),m.push(l.x),g.push(l.y)),p>0&&p<1&&(l=Ct(t,e,i,n,r,o,a,s,p),m.push(l.x),g.push(l.y)),c=o-2*n+e-(s-2*o+n),h=e-n,d=(-(u=2*(n-e)-2*(o-n))+_.sqrt(u*u-4*c*h))/2/c,p=(-u-_.sqrt(u*u-4*c*h))/2/c,k(d)>"1e12"&&(d=.5),k(p)>"1e12"&&(p=.5),d>0&&d<1&&(l=Ct(t,e,i,n,r,o,a,s,d),m.push(l.x),g.push(l.y)),p>0&&p<1&&(l=Ct(t,e,i,n,r,o,a,s,p),m.push(l.x),g.push(l.y)),{min:{x:C[f](0,m),y:C[f](0,g)},max:{x:S[f](0,m),y:S[f](0,g)}}}),Tt=e._path2curve=ct(function(t,e){var i=!e&&dt(t);if(!e&&i.curve)return bt(i.curve);for(var n=xt(t),r=e&&xt(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,i){var n,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](St[f](0,[e.x,e.y][p](t.slice(1))));break;case"S":"C"==i||"S"==i?(n=2*e.x-e.bx,r=2*e.y-e.by):(n=e.x,r=e.y),t=["C",n,r][p](t.slice(1));break;case"T":"Q"==i||"T"==i?(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](_t(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](_t(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"][p](wt(e.x,e.y,t[1],t[2]));break;case"H":t=["C"][p](wt(e.x,e.y,t[1],e.y));break;case"V":t=["C"][p](wt(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"][p](wt(e.x,e.y,e.X,e.Y))}return t},l=function(t,e){if(t[e].length>7){t[e].shift();for(var i=t[e];i.length;)u[e]="A",r&&(h[e]="A"),t.splice(e++,0,["C"][p](i.splice(0,6)));t.splice(e,1),v=S(n.length,r&&r.length||0)}},c=function(t,e,i,o,a){t&&e&&"M"==t[a][0]&&"M"!=e[a][0]&&(e.splice(a,0,["M",o.x,o.y]),i.bx=0,i.by=0,i.x=t[a][1],i.y=t[a][2],v=S(n.length,r&&r.length||0))},u=[],h=[],d="",g="",m=0,v=S(n.length,r&&r.length||0);m<v;m++){n[m]&&(d=n[m][0]),"C"!=d&&(u[m]=d,m&&(g=u[m-1])),n[m]=s(n[m],o,g),"A"!=u[m]&&"C"==d&&(u[m]="C"),l(n,m),r&&(r[m]&&(d=r[m][0]),"C"!=d&&(h[m]=d,m&&(g=h[m-1])),r[m]=s(r[m],a,g),"A"!=h[m]&&"C"==d&&(h[m]="C"),l(r,m)),c(n,r,o,a,m),c(r,n,a,o,m);var y=n[m],b=r&&r[m],L=y.length,x=r&&b.length;o.x=y[L-2],o.y=y[L-1],o.bx=R(y[L-4])||o.x,o.by=R(y[L-3])||o.y,a.bx=r&&(R(b[x-4])||a.x),a.by=r&&(R(b[x-3])||a.y),a.x=r&&b[x-2],a.y=r&&b[x-1]}return r||(i.curve=bt(n)),r?[n,r]:n},null,bt),Et=(e._parseDots=ct(function(t){for(var i=[],n=0,r=t.length;n<r;n++){var o={},a=t[n].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]+"%"),i.push(o)}for(n=1,r=i.length-1;n<r;n++)if(!i[n].offset){for(var s=R(i[n-1].offset||0),l=0,c=n+1;c<r;c++)if(i[c].offset){l=i[c].offset;break}l||(l=100,c=r);for(var u=((l=R(l))-s)/(c-n+1);n<c;n++)s+=u,i[n].offset=s+"%"}return i}),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)}),At=(e._tofront=function(t,e){e.top!==t&&(Et(t,e),t.next=null,t.prev=e.top,e.top.next=t,e.top=t)},e._toback=function(t,e){e.bottom!==t&&(Et(t,e),t.next=e.bottom,t.prev=null,e.bottom.prev=t,e.bottom=t)},e._insertafter=function(t,e,i){Et(t,i),e==i.top&&(i.top=t),e.next&&(e.next.prev=t),t.next=e.next,t.prev=e,e.next=t},e._insertbefore=function(t,e,i){Et(t,i),e==i.bottom&&(i.bottom=t),e.prev&&(e.prev.next=t),t.prev=e.prev,e.prev=t,t.next=e},e.toMatrix=function(t,e){var i=yt(t),n={_:{transform:m},getBBox:function(){return i}};return Mt(n,e),n.matrix}),Mt=(e.transformPath=function(t,e){return J(t,At(t,e))},e._extractTransform=function(t,i){if(null==i)return t._.transform;i=y(i).replace(/\.{3}|\u2026/g,t._.transform||m);var n,r,o=e.parseTransformString(i),a=0,s=1,l=1,c=t._,u=new Ot;if(c.transform=o||[],o)for(var h=0,d=o.length;h<d;h++){var f,p,g,v,b,L=o[h],x=L.length,w=y(L[0]).toLowerCase(),_=L[0]!=w,S=_?u.invert():0;"t"==w&&3==x?_?(f=S.x(0,0),p=S.y(0,0),g=S.x(L[1],L[2]),v=S.y(L[1],L[2]),u.translate(g-f,v-p)):u.translate(L[1],L[2]):"r"==w?2==x?(b=b||t.getBBox(1),u.rotate(L[1],b.x+b.width/2,b.y+b.height/2),a+=L[1]):4==x&&(_?(g=S.x(L[2],L[3]),v=S.y(L[2],L[3]),u.rotate(L[1],g,v)):u.rotate(L[1],L[2],L[3]),a+=L[1]):"s"==w?2==x||3==x?(b=b||t.getBBox(1),u.scale(L[1],L[x-1],b.x+b.width/2,b.y+b.height/2),s*=L[1],l*=L[x-1]):5==x&&(_?(g=S.x(L[3],L[4]),v=S.y(L[3],L[4]),u.scale(L[1],L[2],g,v)):u.scale(L[1],L[2],L[3],L[4]),s*=L[1],l*=L[2]):"m"==w&&7==x&&u.add(L[1],L[2],L[3],L[4],L[5],L[6]),c.dirtyT=1,t.matrix=u}t.matrix=u,c.sx=s,c.sy=l,c.deg=a,c.dx=n=u.e,c.dy=r=u.f,1==s&&1==l&&!a&&c.bbox?(c.bbox.x+=+n,c.bbox.y+=+r):c.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]}},Pt=e._equaliseTransform=function(t,i){i=y(i).replace(/\.{3}|\u2026/g,t),t=e.parseTransformString(t)||[],i=e.parseTransformString(i)||[];for(var n,r,o,a,s=S(t.length,i.length),l=[],c=[],u=0;u<s;u++){if(o=t[u]||Dt(i[u]),a=i[u]||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[u]=[],c[u]=[],n=0,r=S(o.length,a.length);n<r;n++)n in o&&(l[u][n]=o[n]),n in a&&(c[u][n]=a[n])}return{from:l,to:c}};function Ot(t,e,i,n,r,o){null!=t?(this.a=+t,this.b=+e,this.c=+i,this.d=+n,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,i,n,r){var o;if(null!=(o=null!=r||e.is(t,"object")?t:u.doc.getElementById(t)))return o.tagName?null==i?{container:o,width:o.style.pixelWidth||o.offsetWidth,height:o.style.pixelHeight||o.offsetHeight}:{container:o,width:i,height:n}:{container:1,x:t,y:i,width:n,height:r}},e.pathToRelative=Lt,e._engine={},e.path2curve=Tt,e.matrix=function(t,e,i,n,r,o){return new Ot(t,e,i,n,r,o)},function(t){function i(t){return t[0]*t[0]+t[1]*t[1]}function n(t){var e=_.sqrt(i(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}t.add=function(t,e,i,n,r,o){var a,s,l,c,u=[[],[],[]],h=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],d=[[t,i,r],[e,n,o],[0,0,1]];for(t&&t instanceof Ot&&(d=[[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(c=0,l=0;l<3;l++)c+=h[a][l]*d[l][s];u[a][s]=c}this.a=u[0][0],this.b=u[1][0],this.c=u[0][1],this.d=u[1][1],this.e=u[0][2],this.f=u[1][2]},t.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new Ot(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 Ot(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,i,n){null==e&&(e=t),(i||n)&&this.add(1,0,0,1,i,n),this.add(t,0,0,e,0,0),(i||n)&&this.add(1,0,0,1,-i,-n)},t.rotate=function(t,i,n){t=e.rad(t),i=i||0,n=n||0;var r=+_.cos(t).toFixed(9),o=+_.sin(t).toFixed(9);this.add(r,o,-o,r,i,n),this.add(1,0,0,1,-i,-n)},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=_.sqrt(i(r[0])),n(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=_.sqrt(i(r[1])),n(r[1]),t.shear/=t.scaley;var o=-r[0][1],a=r[1][1];return a<0?(t.rotate=e.deg(_.acos(a)),o<0&&(t.rotate=360-t.rotate)):t.rotate=e.deg(_.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)]}}(Ot.prototype);for(var It=function(){this.returnValue=!1},Nt=function(){return this.originalEvent.preventDefault()},Rt=function(){this.cancelBubble=!0},Ft=function(){return this.originalEvent.stopPropagation()},Bt=function(t){var e=u.doc.documentElement.scrollTop||u.doc.body.scrollTop,i=u.doc.documentElement.scrollLeft||u.doc.body.scrollLeft;return{x:t.clientX+i,y:t.clientY+e}},zt=u.doc.addEventListener?function(t,e,i,n){var r=function(t){var e=Bt(t);return i.call(n,t,e.x,e.y)};if(t.addEventListener(e,r,!1),g&&x[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 i.call(n,e,r.x,r.y)};t.addEventListener(x[e],o,!1)}return function(){return t.removeEventListener(e,r,!1),g&&x[e]&&t.removeEventListener(x[e],o,!1),!0}}:u.doc.attachEvent?function(t,e,i,n){var r=function(t){t=t||u.win.event;var e=u.doc.documentElement.scrollTop||u.doc.body.scrollTop,r=u.doc.documentElement.scrollLeft||u.doc.body.scrollLeft,o=t.clientX+r,a=t.clientY+e;return t.preventDefault=t.preventDefault||It,t.stopPropagation=t.stopPropagation||Rt,i.call(n,t,o,a)};return t.attachEvent("on"+e,r),function(){return t.detachEvent("on"+e,r),!0}}:void 0,Ht=[],Vt=function(e){for(var i,n=e.clientX,r=e.clientY,o=u.doc.documentElement.scrollTop||u.doc.body.scrollTop,a=u.doc.documentElement.scrollLeft||u.doc.body.scrollLeft,s=Ht.length;s--;){if(i=Ht[s],g&&e.touches){for(var l,c=e.touches.length;c--;)if((l=e.touches[c]).identifier==i.el._drag.id){n=l.clientX,r=l.clientY,(e.originalEvent?e.originalEvent:e).preventDefault();break}}else e.preventDefault();var h,d=i.el.node,f=d.nextSibling,p=d.parentNode,m=d.style.display;u.win.opera&&p.removeChild(d),d.style.display="none",h=i.el.paper.getElementByPoint(n,r),d.style.display=m,u.win.opera&&(f?p.insertBefore(d,f):p.appendChild(d)),h&&t("raphael.drag.over."+i.el.id,i.el,h),n+=a,r+=o,t("raphael.drag.move."+i.el.id,i.move_scope||i.el,n-i.el._drag.x,r-i.el._drag.y,n,r,e)}},jt=function(i){e.unmousemove(Vt).unmouseup(jt);for(var n,r=Ht.length;r--;)(n=Ht[r]).el._drag={},t("raphael.drag.end."+n.el.id,n.end_scope||n.start_scope||n.move_scope||n.el,i);Ht=[]},Wt=e.el={},Ut=L.length;Ut--;)!function(t){e[t]=Wt[t]=function(i,n){return e.is(i,"function")&&(this.events=this.events||[],this.events.push({name:t,f:i,unbind:zt(this.shape||this.node||u.doc,t,i,n||this)})),this},e["un"+t]=Wt["un"+t]=function(i){for(var n=this.events||[],r=n.length;r--;)n[r].name!=t||!e.is(i,"undefined")&&n[r].f!=i||(n[r].unbind(),n.splice(r,1),!n.length&&delete this.events);return this}}(L[Ut]);Wt.data=function(i,n){var r=X[this.id]=X[this.id]||{};if(0==arguments.length)return r;if(1==arguments.length){if(e.is(i,"object")){for(var o in i)i[c](o)&&this.data(o,i[o]);return this}return t("raphael.data.get."+this.id,this,r[i],i),r[i]}return r[i]=n,t("raphael.data.set."+this.id,this,n,i),this},Wt.removeData=function(t){return null==t?delete X[this.id]:X[this.id]&&delete X[this.id][t],this},Wt.getData=function(){return it(X[this.id]||{})},Wt.hover=function(t,e,i,n){return this.mouseover(t,i).mouseout(e,n||i)},Wt.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var Yt=[];function Gt(){return this.x+v+this.y+v+this.width+" × "+this.height}Wt.drag=function(i,n,r,o,a,s){function l(l){(l.originalEvent||l).preventDefault();var c=l.clientX,h=l.clientY,d=u.doc.documentElement.scrollTop||u.doc.body.scrollTop,f=u.doc.documentElement.scrollLeft||u.doc.body.scrollLeft;if(this._drag.id=l.identifier,g&&l.touches)for(var p,m=l.touches.length;m--;)if(p=l.touches[m],this._drag.id=p.identifier,p.identifier==this._drag.id){c=p.clientX,h=p.clientY;break}this._drag.x=c+f,this._drag.y=h+d,!Ht.length&&e.mousemove(Vt).mouseup(jt),Ht.push({el:this,move_scope:o,start_scope:a,end_scope:s}),n&&t.on("raphael.drag.start."+this.id,n),i&&t.on("raphael.drag.move."+this.id,i),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={},Yt.push({el:this,start:l}),this.mousedown(l),this},Wt.onDragOver=function(e){e?t.on("raphael.drag.over."+this.id,e):t.unbind("raphael.drag.over."+this.id)},Wt.undrag=function(){for(var i=Yt.length;i--;)Yt[i].el==this&&(this.unmousedown(Yt[i].start),Yt.splice(i,1),t.unbind("raphael.drag.*."+this.id));!Yt.length&&e.unmousemove(Vt).unmouseup(jt),Ht=[]},n.circle=function(t,i,n){var r=e._engine.circle(this,t||0,i||0,n||0);return this.__set__&&this.__set__.push(r),r},n.rect=function(t,i,n,r,o){var a=e._engine.rect(this,t||0,i||0,n||0,r||0,o||0);return this.__set__&&this.__set__.push(a),a},n.ellipse=function(t,i,n,r){var o=e._engine.ellipse(this,t||0,i||0,n||0,r||0);return this.__set__&&this.__set__.push(o),o},n.path=function(t){t&&!e.is(t,"string")&&!e.is(t[0],M)&&(t+=m);var i=e._engine.path(e.format[f](e,arguments),this);return this.__set__&&this.__set__.push(i),i},n.image=function(t,i,n,r,o){var a=e._engine.image(this,t||"about:blank",i||0,n||0,r||0,o||0);return this.__set__&&this.__set__.push(a),a},n.text=function(t,i,n){var r=e._engine.text(this,t||0,i||0,y(n));return this.__set__&&this.__set__.push(r),r},n.set=function(t){!e.is(t,"array")&&(t=Array.prototype.splice.call(arguments,0,arguments.length));var i=new ce(t);return this.__set__&&this.__set__.push(i),i.paper=this,i.type="set",i},n.setStart=function(t){this.__set__=t||this.set()},n.setFinish=function(t){var e=this.__set__;return delete this.__set__,e},n.getSize=function(){var t=this.canvas.parentNode;return{width:t.offsetWidth,height:t.offsetHeight}},n.setSize=function(t,i){return e._engine.setSize.call(this,t,i)},n.setViewBox=function(t,i,n,r,o){return e._engine.setViewBox.call(this,t,i,n,r,o)},n.top=n.bottom=null,n.raphael=e,n.getElementByPoint=function(t,e){var i,n,r,o,a,s,l,c=this.canvas,h=u.doc.elementFromPoint(t,e);if(u.win.opera&&"svg"==h.tagName){var d=(n=(i=c).getBoundingClientRect(),o=(r=i.ownerDocument).body,s=(a=r.documentElement).clientTop||o.clientTop||0,l=a.clientLeft||o.clientLeft||0,{y:n.top+(u.win.pageYOffset||a.scrollTop||o.scrollTop)-s,x:n.left+(u.win.pageXOffset||a.scrollLeft||o.scrollLeft)-l}),f=c.createSVGRect();f.x=t-d.x,f.y=e-d.y,f.width=f.height=1;var p=c.getIntersectionList(f,null);p.length&&(h=p[p.length-1])}if(!h)return null;for(;h.parentNode&&h!=c.parentNode&&!h.raphael;)h=h.parentNode;return h==this.canvas.parentNode&&(h=c),h&&h.raphael?this.getById(h.raphaelid):null},n.getElementsByBBox=function(t){var i=this.set();return this.forEach(function(n){e.isBBoxIntersect(n.getBBox(),t)&&i.push(n)}),i},n.getById=function(t){for(var e=this.bottom;e;){if(e.id==t)return e;e=e.next}return null},n.forEach=function(t,e){for(var i=this.bottom;i;){if(!1===t.call(e,i))return this;i=i.next}return this},n.getElementsByPoint=function(t,e){var i=this.set();return this.forEach(function(n){n.isPointInside(t,e)&&i.push(n)}),i},Wt.isPointInside=function(t,i){var n=this.realPath=Q[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(n=e.transformPath(n,this.attr("transform"))),e.isPointInsidePath(n,t,i)},Wt.getBBox=function(t){if(this.removed)return{};var e=this._;return t?(!e.dirty&&e.bboxwt||(this.realPath=Q[this.type](this),e.bboxwt=yt(this.realPath),e.bboxwt.toString=Gt,e.dirty=0),e.bboxwt):((e.dirty||e.dirtyT||!e.bbox)&&(!e.dirty&&this.realPath||(e.bboxwt=0,this.realPath=Q[this.type](this)),e.bbox=yt(J(this.realPath,this.matrix)),e.bbox.toString=Gt,e.dirty=e.dirtyT=0),e.bbox)},Wt.clone=function(){if(this.removed)return null;var t=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(t),t},Wt.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"},i=e.width/2,n=this.paper,r=n.set(),o=this.realPath||Q[this.type](this);o=this.matrix?J(o,this.matrix):o;for(var a=1;a<i+1;a++)r.push(n.path(o).attr({stroke:e.color,fill:e.fill?e.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(e.width/i*a).toFixed(3),opacity:+(e.opacity/i).toFixed(3)}));return r.insertBefore(this).translate(e.offsetx,e.offsety)};var Xt=function(t,i,n,r,o,a,s,l,c){return null==c?pt(t,i,n,r,o,a,s,l):e.findDotsAtSegment(t,i,n,r,o,a,s,l,function(t,e,i,n,r,o,a,s,l){if(!(l<0||pt(t,e,i,n,r,o,a,s)<l)){var c,u=.5,h=1-u;for(c=pt(t,e,i,n,r,o,a,s,h);k(c-l)>.01;)c=pt(t,e,i,n,r,o,a,s,h+=(c<l?1:-1)*(u/=2));return h}}(t,i,n,r,o,a,s,l,c))},qt=function(t,i){return function(n,r,o){for(var a,s,l,c,u,h="",d={},f=0,p=0,g=(n=Tt(n)).length;p<g;p++){if("M"==(l=n[p])[0])a=+l[1],s=+l[2];else{if(f+(c=Xt(a,s,l[1],l[2],l[3],l[4],l[5],l[6]))>r){if(i&&!d.start){if(h+=["C"+(u=Xt(a,s,l[1],l[2],l[3],l[4],l[5],l[6],r-f)).start.x,u.start.y,u.m.x,u.m.y,u.x,u.y],o)return h;d.start=h,h=["M"+u.x,u.y+"C"+u.n.x,u.n.y,u.end.x,u.end.y,l[5],l[6]].join(),f+=c,a=+l[5],s=+l[6];continue}if(!t&&!i)return{x:(u=Xt(a,s,l[1],l[2],l[3],l[4],l[5],l[6],r-f)).x,y:u.y,alpha:u.alpha}}f+=c,a=+l[5],s=+l[6]}h+=l.shift()+l}return d.end=h,(u=t?f:i?d:e.findDotsAtSegment(a,s,l[0],l[1],l[2],l[3],l[4],l[5],1)).alpha&&(u={x:u.x,y:u.y,alpha:u.alpha}),u}},$t=qt(1),Zt=qt(),Kt=qt(0,1);e.getTotalLength=$t,e.getPointAtLength=Zt,e.getSubpath=function(t,e,i){if(this.getTotalLength(t)-i<1e-6)return Kt(t,e).end;var n=Kt(t,i,1);return e?Kt(n,e).end:n},Wt.getTotalLength=function(){var t=this.getPath();if(t)return this.node.getTotalLength?this.node.getTotalLength():$t(t)},Wt.getPointAtLength=function(t){var e=this.getPath();if(e)return Zt(e,t)},Wt.getPath=function(){var t,i=e._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return i&&(t=i(this)),t},Wt.getSubpath=function(t,i){var n=this.getPath();if(n)return e.getSubpath(n,t,i)};var Qt=e.easing_formulas={linear:function(t){return t},"<":function(t){return T(t,1.7)},">":function(t){return T(t,.48)},"<>":function(t){var e=.48-t/1.04,i=_.sqrt(.1734+e*e),n=i-e,r=-i-e,o=T(k(n),1/3)*(n<0?-1:1)+T(k(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:T(2,-10*t)*_.sin(2*E*(t-.075)/.3)+1},bounce:function(t){var e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375}};Qt.easeIn=Qt["ease-in"]=Qt["<"],Qt.easeOut=Qt["ease-out"]=Qt[">"],Qt.easeInOut=Qt["ease-in-out"]=Qt["<>"],Qt["back-in"]=Qt.backIn,Qt["back-out"]=Qt.backOut;var Jt=[],te=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){setTimeout(t,16)},ee=function(){for(var i=+new Date,n=0;n<Jt.length;n++){var r=Jt[n];if(!r.el.removed&&!r.paused){var o,a,s=i-r.start,l=r.ms,u=r.easing,h=r.from,d=r.diff,f=r.to,g=(r.t,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(n--,1)):r.status=(r.prev+(r.percent-r.prev)*(s/l))/r.anim.top,!(s<0))if(s<l){var b=u(s/l);for(var L in h)if(h[c](L)){switch(H[L]){case A:o=+h[L]+b*l*d[L];break;case"colour":o="rgb("+[ie(N(h[L].r+b*l*d[L].r)),ie(N(h[L].g+b*l*d[L].g)),ie(N(h[L].b+b*l*d[L].b))].join(",")+")";break;case"path":o=[];for(var x=0,w=h[L].length;x<w;x++){o[x]=[h[L][x][0]];for(var _=1,S=h[L][x].length;_<S;_++)o[x][_]=+h[L][x][_]+b*l*d[L][x][_];o[x]=o[x].join(v)}o=o.join(v);break;case"transform":if(d[L].real)for(o=[],x=0,w=h[L].length;x<w;x++)for(o[x]=[h[L][x][0]],_=1,S=h[L][x].length;_<S;_++)o[x][_]=h[L][x][_]+b*l*d[L][x][_];else{var C=function(t){return+h[L][t]+b*l*d[L][t]};o=[["m",C(0),C(1),C(2),C(3),C(4),C(5)]]}break;case"csv":if("clip-rect"==L)for(o=[],x=4;x--;)o[x]=+h[L][x]+b*l*d[L][x];break;default:var k=[][p](h[L]);for(o=[],x=g.paper.customAttributes[L].length;x--;)o[x]=+k[x]+b*l*d[L][x]}m[L]=o}g.attr(m),function(e,i,n){setTimeout(function(){t("raphael.anim.frame."+e,i,n)})}(g.id,g,r.anim)}else{if(function(i,n,r){setTimeout(function(){t("raphael.anim.frame."+n.id,n,r),t("raphael.anim.finish."+n.id,n,r),e.is(i,"function")&&i.call(n)})}(r.callback,g,r.anim),g.attr(f),Jt.splice(n--,1),r.repeat>1&&!r.next){for(a in f)f[c](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)},ie=function(t){return t>255?255:t<0?0:t};function ne(t,e,i,n,r,o){var a=3*e,s=3*(n-e)-a,l=1-a-s,c=3*i,u=3*(r-i)-c,h=1-c-u;function d(t){return((l*t+s)*t+a)*t}return function(t,e){var i=function(t,e){var i,n,r,o,c,u;for(r=t,u=0;u<8;u++){if(o=d(r)-t,k(o)<e)return r;if(k(c=(3*l*r+2*s)*r+a)<1e-6)break;r-=o/c}if((r=t)<(i=0))return i;if(r>(n=1))return n;for(;i<n;){if(o=d(r),k(o-t)<e)return r;t>o?i=r:n=r,r=(n-i)/2+i}return r}(t,1/(200*o));return((h*i+u)*i+c)*i}(t)}function re(t,e){var i=[],n={};if(this.ms=e,this.times=1,t){for(var r in t)t[c](r)&&(n[R(r)]=t[r],i.push(R(r)));i.sort(q)}this.anim=n,this.top=i[i.length-1],this.percents=i}function oe(i,n,r,o,s,l){r=R(r);var u,h,d,f,g,m,v=i.ms,L={},x={},w={};if(o)for(S=0,C=Jt.length;S<C;S++){var _=Jt[S];if(_.el.id==n.id&&_.anim==i){_.percent!=r?(Jt.splice(S,1),d=1):h=_,n.attr(_.totalOrigin);break}}else o=+x;for(var S=0,C=i.percents.length;S<C;S++){if(i.percents[S]==r||i.percents[S]>o*i.top){r=i.percents[S],g=i.percents[S-1]||0,v=v/i.top*(r-g),f=i.percents[S+1],u=i.anim[r];break}o&&n.attr(i.anim[i.percents[S]])}if(u){if(h)h.initstatus=o,h.start=new Date-h.ms*o;else{for(var k in u)if(u[c](k)&&(H[c](k)||n.paper.customAttributes[c](k)))switch(L[k]=n.attr(k),null==L[k]&&(L[k]=z[k]),x[k]=u[k],H[k]){case A:w[k]=(x[k]-L[k])/v;break;case"colour":L[k]=e.getRGB(L[k]);var T=e.getRGB(x[k]);w[k]={r:(T.r-L[k].r)/v,g:(T.g-L[k].g)/v,b:(T.b-L[k].b)/v};break;case"path":var E=Tt(L[k],x[k]),M=E[1];for(L[k]=E[0],w[k]=[],S=0,C=L[k].length;S<C;S++){w[k][S]=[0];for(var D=1,P=L[k][S].length;D<P;D++)w[k][S][D]=(M[S][D]-L[k][S][D])/v}break;case"transform":var O=n._,N=Pt(O[k],x[k]);if(N)for(L[k]=N.from,x[k]=N.to,w[k]=[],w[k].real=!0,S=0,C=L[k].length;S<C;S++)for(w[k][S]=[L[k][S][0]],D=1,P=L[k][S].length;D<P;D++)w[k][S][D]=(x[k][S][D]-L[k][S][D])/v;else{var F=n.matrix||new Ot,B={_:{transform:O.transform},getBBox:function(){return n.getBBox(1)}};L[k]=[F.a,F.b,F.c,F.d,F.e,F.f],Mt(B,x[k]),x[k]=B._.transform,w[k]=[(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 V=y(u[k])[b](a),j=y(L[k])[b](a);if("clip-rect"==k)for(L[k]=j,w[k]=[],S=j.length;S--;)w[k][S]=(V[S]-L[k][S])/v;x[k]=V;break;default:for(V=[][p](u[k]),j=[][p](L[k]),w[k]=[],S=n.paper.customAttributes[k].length;S--;)w[k][S]=((V[S]||0)-(j[S]||0))/v}var W=u.easing,U=e.easing_formulas[W];if(!U)if((U=y(W).match(I))&&5==U.length){var Y=U;U=function(t){return ne(t,+Y[1],+Y[2],+Y[3],+Y[4],v)}}else U=$;if(_={anim:i,percent:r,timestamp:m=u.start||i.start||+new Date,start:m+(i.del||0),status:0,initstatus:o||0,stop:!1,ms:v,easing:U,from:L,diff:w,to:x,el:n,callback:u.callback,prev:g,next:f,repeat:l||i.times,origin:n.attr(),totalOrigin:s},Jt.push(_),o&&!h&&!d&&(_.stop=!0,_.start=new Date-v*o,1==Jt.length))return ee();d&&(_.start=new Date-_.ms*o),1==Jt.length&&te(ee)}t("raphael.anim.start."+n.id,n,i)}}function ae(t){for(var e=0;e<Jt.length;e++)Jt[e].el.paper==t&&Jt.splice(e--,1)}Wt.animateWith=function(t,i,n,r,o,a){if(this.removed)return a&&a.call(this),this;var s=n instanceof re?n:e.animation(n,r,o,a);oe(s,this,s.percents[0],null,this.attr());for(var l=0,c=Jt.length;l<c;l++)if(Jt[l].anim==i&&Jt[l].el==t){Jt[c-1].start=Jt[l].start;break}return this},Wt.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=_.floor(S(t,0))||1,e},e.animation=function(t,i,n,r){if(t instanceof re)return t;!e.is(n,"function")&&n||(r=r||n||null,n=null),t=Object(t),i=+i||0;var o,a,s={};for(a in t)t[c](a)&&R(a)!=a&&R(a)+"%"!=a&&(o=!0,s[a]=t[a]);if(o)return n&&(s.easing=n),r&&(s.callback=r),new re({100:s},i);if(r){var l=0;for(var u in t){var h=F(u);t[c](u)&&h>l&&(l=h)}!t[l+="%"].callback&&(t[l].callback=r)}return new re(t,i)},Wt.animate=function(t,i,n,r){if(this.removed)return r&&r.call(this),this;var o=t instanceof re?t:e.animation(t,i,n,r);return oe(o,this,o.percents[0],null,this.attr()),this},Wt.setTime=function(t,e){return t&&null!=e&&this.status(t,C(e,t.ms)/t.ms),this},Wt.status=function(t,e){var i,n,r=[],o=0;if(null!=e)return oe(t,this,-1,C(e,1)),this;for(i=Jt.length;o<i;o++)if((n=Jt[o]).el.id==this.id&&(!t||n.anim==t)){if(t)return n.status;r.push({anim:n.anim,status:n.status})}return t?0:r},Wt.pause=function(e){for(var i=0;i<Jt.length;i++)Jt[i].el.id!=this.id||e&&Jt[i].anim!=e||!1!==t("raphael.anim.pause."+this.id,this,Jt[i].anim)&&(Jt[i].paused=!0);return this},Wt.resume=function(e){for(var i=0;i<Jt.length;i++)if(Jt[i].el.id==this.id&&(!e||Jt[i].anim==e)){var n=Jt[i];!1!==t("raphael.anim.resume."+this.id,this,n.anim)&&(delete n.paused,this.status(n.anim,n.status))}return this},Wt.stop=function(e){for(var i=0;i<Jt.length;i++)Jt[i].el.id!=this.id||e&&Jt[i].anim!=e||!1!==t("raphael.anim.stop."+this.id,this,Jt[i].anim)&&Jt.splice(i--,1);return this},t.on("raphael.remove",ae),t.on("raphael.clear",ae),Wt.toString=function(){return"Raphaëls object"};var se,le,ce=function(t){if(this.items=[],this.length=0,this.type="set",t)for(var e=0,i=t.length;e<i;e++)!t[e]||t[e].constructor!=Wt.constructor&&t[e].constructor!=ce||(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},ue=ce.prototype;for(var he in ue.push=function(){for(var t,e,i=0,n=arguments.length;i<n;i++)!(t=arguments[i])||t.constructor!=Wt.constructor&&t.constructor!=ce||(this[e=this.items.length]=this.items[e]=t,this.length++);return this},ue.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},ue.forEach=function(t,e){for(var i=0,n=this.items.length;i<n;i++)if(!1===t.call(e,this.items[i],i))return this;return this},Wt)Wt[c](he)&&(ue[he]=function(t){return function(){var e=arguments;return this.forEach(function(i){i[t][f](i,e)})}}(he));return ue.attr=function(t,i){if(t&&e.is(t,M)&&e.is(t[0],"object"))for(var n=0,r=t.length;n<r;n++)this.items[n].attr(t[n]);else for(var o=0,a=this.items.length;o<a;o++)this.items[o].attr(t,i);return this},ue.clear=function(){for(;this.length;)this.pop()},ue.splice=function(t,e,i){t=t<0?S(this.length+t,0):t,e=S(0,C(this.length-t,e));var n,r=[],o=[],a=[];for(n=2;n<arguments.length;n++)a.push(arguments[n]);for(n=0;n<e;n++)o.push(this[t+n]);for(;n<this.length-t;n++)r.push(this[t+n]);var s=a.length;for(n=0;n<s+r.length;n++)this.items[t+n]=this[t+n]=n<s?a[n]:r[n-s];for(n=this.items.length=this.length-=e-s;this[n];)delete this[n++];return new ce(o)},ue.exclude=function(t){for(var e=0,i=this.length;e<i;e++)if(this[e]==t)return this.splice(e,1),!0},ue.animate=function(t,i,n,r){(e.is(n,"function")||!n)&&(r=n||null);var o,a,s=this.items.length,l=s,c=this;if(!s)return this;r&&(a=function(){!--s&&r.call(c)}),n=e.is(n,"string")?n:a;var u=e.animation(t,i,n,a);for(o=this.items[--l].animate(u);l--;)this.items[l]&&!this.items[l].removed&&this.items[l].animateWith(o,u,u),this.items[l]&&!this.items[l].removed||s--;return this},ue.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},ue.getBBox=function(){for(var t=[],e=[],i=[],n=[],r=this.items.length;r--;)if(!this.items[r].removed){var o=this.items[r].getBBox();t.push(o.x),e.push(o.y),i.push(o.x+o.width),n.push(o.y+o.height)}return{x:t=C[f](0,t),y:e=C[f](0,e),x2:i=S[f](0,i),y2:n=S[f](0,n),width:i-t,height:n-e}},ue.clone=function(t){t=this.paper.set();for(var e=0,i=this.items.length;e<i;e++)t.push(this.items[e].clone());return t},ue.toString=function(){return"Raphaëls set"},ue.glow=function(t){var e=this.paper.set();return this.forEach(function(i,n){var r=i.glow(t);null!=r&&r.forEach(function(t,i){e.push(t)})}),e},ue.isPointInside=function(t,e){var i=!1;return this.forEach(function(n){if(n.isPointInside(t,e))return i=!0,!1}),i},e.registerFont=function(t){if(!t.face)return t;this.fonts=this.fonts||{};var e={w:t.w,face:{},glyphs:{}},i=t.face["font-family"];for(var n in t.face)t.face[c](n)&&(e.face[n]=t.face[n]);if(this.fonts[i]?this.fonts[i].push(e):this.fonts[i]=[e],!t.svg)for(var r in e.face["units-per-em"]=F(t.face["units-per-em"],10),t.glyphs)if(t.glyphs[c](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[c](a)&&(e.glyphs[r].k[a]=o.k[a])}return t},n.getFont=function(t,i,n,r){if(r=r||"normal",n=n||"normal",i=+i||{normal:400,bold:700,lighter:300,bolder:800}[i]||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[c](l)&&s.test(l)){a=e.fonts[l];break}}if(a)for(var u=0,h=a.length;u<h&&((o=a[u]).face["font-weight"]!=i||o.face["font-style"]!=n&&o.face["font-style"]||o.face["font-stretch"]!=r);u++);return o}},n.print=function(t,i,n,r,o,s,l,c){s=s||"middle",l=S(C(l||0,1),-1),c=S(C(c||1,3),1);var u,h=y(n)[b](m),d=0,f=0,p=m;if(e.is(r,"string")&&(r=this.getFont(r)),r){u=(o||16)/r.face["units-per-em"];for(var g=r.face.bbox[b](a),v=+g[0],L=g[3]-g[1],x=0,w=+g[1]+("baseline"==s?L+ +r.face.descent:L/2),_=0,k=h.length;_<k;_++){if("\n"==h[_])d=0,E=0,f=0,x+=L*c;else{var T=f&&r.glyphs[h[_-1]]||{},E=r.glyphs[h[_]];d+=f?(T.w||r.w)+(T.k&&T.k[h[_]]||0)+r.w*l:0,f=1}E&&E.d&&(p+=e.transformPath(E.d,["t",d*u,x*u,"s",u,u,v,w,"t",(t-v)/u,(i-w)/u]))}}return this.path(p).attr({fill:"#000",stroke:"none"})},n.add=function(t){if(e.is(t,"array"))for(var i,n=this.set(),r=0,o=t.length;r<o;r++)i=t[r]||{},s[c](i.type)&&n.push(this[i.type]().attr(i));return n},e.format=function(t,i){var n=e.is(i,M)?[0][p](i):arguments;return t&&e.is(t,"string")&&n.length-1&&(t=t.replace(l,function(t,e){return null==n[++e]?m:n[e]})),t||m},e.fullfill=(se=/\{([^\}]+)\}/g,le=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(t,e){return String(t).replace(se,function(t,i){return function(t,e,i){var n=i;return e.replace(le,function(t,e,i,r,o){e=e||r,n&&(e in n&&(n=n[e]),"function"==typeof n&&o&&(n=n()))}),n=(null==n||n==i?t:n)+""}(t,i,e)})}),e.ninja=function(){if(h.was)u.win.Raphael=h.is;else{window.Raphael=void 0;try{delete window.Raphael}catch(t){}}return e},e.st=ue,t.on("raphael.DOMload",function(){i=!0}),function(t,i,n){null==t.readyState&&t.addEventListener&&(t.addEventListener("DOMContentLoaded",n=function(){t.removeEventListener("DOMContentLoaded",n,!1),t.readyState="complete"},!1),t.readyState="loading"),function i(){/in/.test(t.readyState)?setTimeout(i,9):e.eve("raphael.DOMload")}()}(document),e}.apply(e,n))||(t.exports=r)},function(t,e,i){var n,r;n=[i(0),i(3),i(4)],void 0===(r=function(t){return t}.apply(e,n))||(t.exports=r)},function(t,e,i){var n,r,o,a,s,l,c,u,h,d,f,p,g,m;a="hasOwnProperty",s=/[\.\/]/,l=/\s*,\s*/,c=function(t,e){return t-e},u={n:{}},h=function(){for(var t=0,e=this.length;t<e;t++)if(void 0!==this[t])return this[t]},d=function(){for(var t=this.length;--t;)if(void 0!==this[t])return this[t]},f=Object.prototype.toString,p=String,g=Array.isArray||function(t){return t instanceof Array||"[object Array]"==f.call(t)},(m=function(t,e){var i,n=o,a=Array.prototype.slice.call(arguments,2),s=m.listeners(t),l=0,u=[],f={},p=[],g=r;p.firstDefined=h,p.lastDefined=d,r=t,o=0;for(var v=0,y=s.length;v<y;v++)"zIndex"in s[v]&&(u.push(s[v].zIndex),s[v].zIndex<0&&(f[s[v].zIndex]=s[v]));for(u.sort(c);u[l]<0;)if(i=f[u[l++]],p.push(i.apply(e,a)),o)return o=n,p;for(v=0;v<y;v++)if("zIndex"in(i=s[v]))if(i.zIndex==u[l]){if(p.push(i.apply(e,a)),o)break;do{if((i=f[u[++l]])&&p.push(i.apply(e,a)),o)break}while(i)}else f[i.zIndex]=i;else if(p.push(i.apply(e,a)),o)break;return o=n,r=g,p})._events=u,m.listeners=function(t){var e,i,n,r,o,a,l,c,h=g(t)?t:t.split(s),d=u,f=[d],p=[];for(r=0,o=h.length;r<o;r++){for(c=[],a=0,l=f.length;a<l;a++)for(i=[(d=f[a].n)[h[r]],d["*"]],n=2;n--;)(e=i[n])&&(c.push(e),p=p.concat(e.f||[]));f=c}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 i=g(t)?g(t[0])?t:[t]:p(t).split(l),n=0,r=i.length;n<r;n++)!function(t){for(var i,n=g(t)?t:p(t).split(s),r=u,o=0,a=n.length;o<a;o++)r=(r=r.n).hasOwnProperty(n[o])&&r[n[o]]||(r[n[o]]={n:{}});for(r.f=r.f||[],o=0,a=r.f.length;o<a;o++)if(r.f[o]==e){i=!0;break}!i&&r.f.push(e)}(i[n]);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 i=g(t)?g(t[0])?t:[t]:p(t).split(l);if(i.length>1)for(var n=0,r=i.length;n<r;n++)m.off(i[n],e);else{i=g(t)?t:p(t).split(s);var o,c,h,d,f,v=[u];for(n=0,r=i.length;n<r;n++)for(d=0;d<v.length;d+=h.length-2){if(h=[d,1],o=v[d].n,"*"!=i[n])o[i[n]]&&h.push(o[i[n]]);else for(c in o)o[a](c)&&h.push(o[c]);v.splice.apply(v,h)}for(n=0,r=v.length;n<r;n++)for(o=v[n];o.n;){if(e){if(o.f){for(d=0,f=o.f.length;d<f;d++)if(o.f[d]==e){o.f.splice(d,1);break}!o.f.length&&delete o.f}for(c in o.n)if(o.n[a](c)&&o.n[c].f){var y=o.n[c].f;for(d=0,f=y.length;d<f;d++)if(y[d]==e){y.splice(d,1);break}!y.length&&delete o.n[c].f}}else for(c in delete o.f,o.n)o.n[a](c)&&o.n[c].f&&delete o.n[c].f;o=o.n}}}else m._events=u={n:{}}},m.once=function(t,e){var i=function(){return m.off(t,i),e.apply(this,arguments)};return m.on(t,i)},m.version="0.5.0",m.toString=function(){return"You are running Eve 0.5.0"},t.exports?t.exports=m:void 0===(n=function(){return m}.apply(e,[]))||(t.exports=n)},function(t,e,i){var n,r;n=[i(0)],void 0===(r=function(t){if(!t||t.svg){var e="hasOwnProperty",i=String,n=parseFloat,r=parseInt,o=Math,a=o.max,s=o.abs,l=o.pow,c=/[, ]+/,u=t.eve,h="",d=" ",f="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(n,r){if(r)for(var o in"string"==typeof n&&(n=m(n)),r)r[e](o)&&("xlink:"==o.substring(0,6)?n.setAttributeNS(f,o.substring(6),i(r[o])):n.setAttribute(o,i(r[o])));else(n=t._g.doc.createElementNS("http://www.w3.org/2000/svg",n)).style&&(n.style.webkitTapHighlightColor="rgba(0,0,0,0)");return n},v=function(e,r){var c="linear",u=e.id+r,d=.5,f=.5,p=e.node,g=e.paper,v=p.style,b=t._g.doc.getElementById(u);if(!b){if(r=(r=i(r).replace(t._radial_gradient,function(t,e,i){if(c="radial",e&&i){d=n(e);var r=2*((f=n(i))>.5)-1;l(d-.5,2)+l(f-.5,2)>.25&&(f=o.sqrt(.25-l(d-.5,2))*r+.5)&&.5!=f&&(f=f.toFixed(5)-1e-5*r)}return h})).split(/\s*\-\s*/),"linear"==c){var L=r.shift();if(L=-n(L),isNaN(L))return null;var x=[0,0,o.cos(t.rad(L)),o.sin(t.rad(L))],w=1/(a(s(x[2]),s(x[3]))||1);x[2]*=w,x[3]*=w,x[2]<0&&(x[0]=-x[2],x[2]=0),x[3]<0&&(x[1]=-x[3],x[3]=0)}var _=t._parseDots(r);if(!_)return null;if(u=u.replace(/[\(\)\s,\xb0#]/g,"_"),e.gradient&&u!=e.gradient.id&&(g.defs.removeChild(e.gradient),delete e.gradient),!e.gradient){b=m(c+"Gradient",{id:u}),e.gradient=b,m(b,"radial"==c?{fx:d,fy:f}:{x1:x[0],y1:x[1],x2:x[2],y2:x[3],gradientTransform:e.matrix.invert()}),g.defs.appendChild(b);for(var S=0,C=_.length;S<C;S++)b.appendChild(m("stop",{offset:_[S].offset?_[S].offset:S?"100%":"0%","stop-color":_[S].color||"#fff","stop-opacity":isFinite(_[S].opacity)?_[S].opacity:1}))}}return m(p,{fill:y(u),opacity:1,"fill-opacity":1}),v.fill=h,v.opacity=1,v.fillOpacity=1,1},y=function(t){if((e=document.documentMode)&&(9===e||10===e))return"url('#"+t+"')";var e,i=document.location;return"url('"+i.protocol+"//"+i.host+i.pathname+i.search+"#"+t+"')"},b=function(t){var e=t.getBBox(1);m(t.pattern,{patternTransform:t.matrix.invert()+" translate("+e.x+","+e.y+")"})},L=function(n,r,o){if("path"==n.type){for(var a,s,l,c,u,d=i(r).toLowerCase().split("-"),f=n.paper,v=o?"end":"start",y=n.node,b=n.attrs,L=b["stroke-width"],x=d.length,w="classic",_=3,S=3,C=5;x--;)switch(d[x]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":w=d[x];break;case"wide":S=5;break;case"narrow":S=2;break;case"long":_=5;break;case"short":_=2}if("open"==w?(_+=2,S+=2,C+=2,l=1,c=o?4:1,u={fill:"none",stroke:b.stroke}):(c=l=_/2,u={fill:b.stroke,stroke:"none"}),n._.arrows?o?(n._.arrows.endPath&&g[n._.arrows.endPath]--,n._.arrows.endMarker&&g[n._.arrows.endMarker]--):(n._.arrows.startPath&&g[n._.arrows.startPath]--,n._.arrows.startMarker&&g[n._.arrows.startMarker]--):n._.arrows={},"none"!=w){var k="raphael-marker-"+w,T="raphael-marker-"+v+w+_+S+"-obj"+n.id;t._g.doc.getElementById(k)?g[k]++:(f.defs.appendChild(m(m("path"),{"stroke-linecap":"round",d:p[w],id:k})),g[k]=1);var E,A=t._g.doc.getElementById(T);A?(g[T]++,E=A.getElementsByTagName("use")[0]):(A=m(m("marker"),{id:T,markerHeight:S,markerWidth:_,orient:"auto",refX:c,refY:S/2}),E=m(m("use"),{"xlink:href":"#"+k,transform:(o?"rotate(180 "+_/2+" "+S/2+") ":h)+"scale("+_/C+","+S/C+")","stroke-width":(1/((_/C+S/C)/2)).toFixed(4)}),A.appendChild(E),f.defs.appendChild(A),g[T]=1),m(E,u);var M=l*("diamond"!=w&&"oval"!=w);o?(a=n._.arrows.startdx*L||0,s=t.getTotalLength(b.path)-M*L):(a=M*L,s=t.getTotalLength(b.path)-(n._.arrows.enddx*L||0)),(u={})["marker-"+v]="url(#"+T+")",(s||a)&&(u.d=t.getSubpath(b.path,a,s)),m(y,u),n._.arrows[v+"Path"]=k,n._.arrows[v+"Marker"]=T,n._.arrows[v+"dx"]=M,n._.arrows[v+"Type"]=w,n._.arrows[v+"String"]=r}else o?(a=n._.arrows.startdx*L||0,s=t.getTotalLength(b.path)-a):(a=0,s=t.getTotalLength(b.path)-(n._.arrows.enddx*L||0)),n._.arrows[v+"Path"]&&m(y,{d:t.getSubpath(b.path,a,s)}),delete n._.arrows[v+"Path"],delete n._.arrows[v+"Marker"],delete n._.arrows[v+"dx"],delete n._.arrows[v+"Type"],delete n._.arrows[v+"String"];for(u in g)if(g[e](u)&&!g[u]){var D=t._g.doc.getElementById(u);D&&D.parentNode.removeChild(D)}}},x={"-":[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]},w=function(t,e,n){if(e=x[i(e).toLowerCase()]){for(var r=t.attrs["stroke-width"]||"1",o={round:r,square:r,butt:0}[t.attrs["stroke-linecap"]||n["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"})},_=function(n,o){var l=n.node,u=n.attrs,d=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(u[p]=g,p){case"blur":n.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 x=t._g.doc.createTextNode(g);y.appendChild(x),l.appendChild(y)}break;case"href":case"target":var _=l.parentNode;if("a"!=_.tagName.toLowerCase()){var C=m("a");_.insertBefore(C,l),C.appendChild(l),_=C}"target"==p?_.setAttributeNS(f,"show","blank"==g?"new":g):_.setAttributeNS(f,p,g);break;case"cursor":l.style.cursor=g;break;case"transform":n.transform(g);break;case"arrow-start":L(n,g);break;case"arrow-end":L(n,g,1);break;case"clip-rect":var k=i(g).split(c);if(4==k.length){n.clip&&n.clip.parentNode.parentNode.removeChild(n.clip.parentNode);var T=m("clipPath"),E=m("rect");T.id=t.createUUID(),m(E,{x:k[0],y:k[1],width:k[2],height:k[3]}),T.appendChild(E),n.paper.defs.appendChild(T),m(l,{"clip-path":"url(#"+T.id+")"}),n.clip=E}if(!g){var A=l.getAttribute("clip-path");if(A){var M=t._g.doc.getElementById(A.replace(/(^url\(#|\)$)/g,h));M&&M.parentNode.removeChild(M),m(l,{"clip-path":h}),delete n.clip}}break;case"path":"path"==n.type&&(m(l,{d:g?u.path=t._pathToAbsolute(g):"M0,0"}),n._.dirty=1,n._.arrows&&("startString"in n._.arrows&&L(n,n._.arrows.startString),"endString"in n._.arrows&&L(n,n._.arrows.endString,1)));break;case"width":if(l.setAttribute(p,g),n._.dirty=1,!u.fx)break;p="x",g=u.x;case"x":u.fx&&(g=-u.x-(u.width||0));case"rx":if("rx"==p&&"rect"==n.type)break;case"cx":l.setAttribute(p,g),n.pattern&&b(n),n._.dirty=1;break;case"height":if(l.setAttribute(p,g),n._.dirty=1,!u.fy)break;p="y",g=u.y;case"y":u.fy&&(g=-u.y-(u.height||0));case"ry":if("ry"==p&&"rect"==n.type)break;case"cy":l.setAttribute(p,g),n.pattern&&b(n),n._.dirty=1;break;case"r":"rect"==n.type?m(l,{rx:g,ry:g}):l.setAttribute(p,g),n._.dirty=1;break;case"src":"image"==n.type&&l.setAttributeNS(f,"href",g);break;case"stroke-width":1==n._.sx&&1==n._.sy||(g/=a(s(n._.sx),s(n._.sy))||1),l.setAttribute(p,g),u["stroke-dasharray"]&&w(n,u["stroke-dasharray"],o),n._.arrows&&("startString"in n._.arrows&&L(n,n._.arrows.startString),"endString"in n._.arrows&&L(n,n._.arrows.endString,1));break;case"stroke-dasharray":w(n,g,o);break;case"fill":var D=i(g).match(t._ISURL);if(D){T=m("pattern");var P=m("image");T.id=t.createUUID(),m(T,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),m(P,{x:0,y:0,"xlink:href":D[1]}),T.appendChild(P),function(e){t._preload(D[1],function(){var t=this.offsetWidth,i=this.offsetHeight;m(e,{width:t,height:i}),m(P,{width:t,height:i})})}(T),n.paper.defs.appendChild(T),m(l,{fill:"url(#"+T.id+")"}),n.pattern=T,n.pattern&&b(n);break}var O=t.getRGB(g);if(O.error){if(("circle"==n.type||"ellipse"==n.type||"r"!=i(g).charAt())&&v(n,g)){if("opacity"in u||"fill-opacity"in u){var I=t._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,h));if(I){var N=I.getElementsByTagName("stop");m(N[N.length-1],{"stop-opacity":("opacity"in u?u.opacity:1)*("fill-opacity"in u?u["fill-opacity"]:1)})}}u.gradient=g,u.fill="none";break}}else delete o.gradient,delete u.gradient,!t.is(u.opacity,"undefined")&&t.is(o.opacity,"undefined")&&m(l,{opacity:u.opacity}),!t.is(u["fill-opacity"],"undefined")&&t.is(o["fill-opacity"],"undefined")&&m(l,{"fill-opacity":u["fill-opacity"]});O[e]("opacity")&&m(l,{"fill-opacity":O.opacity>1?O.opacity/100:O.opacity});case"stroke":O=t.getRGB(g),l.setAttribute(p,O.hex),"stroke"==p&&O[e]("opacity")&&m(l,{"stroke-opacity":O.opacity>1?O.opacity/100:O.opacity}),"stroke"==p&&n._.arrows&&("startString"in n._.arrows&&L(n,n._.arrows.startString),"endString"in n._.arrows&&L(n,n._.arrows.endString,1));break;case"gradient":("circle"==n.type||"ellipse"==n.type||"r"!=i(g).charAt())&&v(n,g);break;case"opacity":u.gradient&&!u[e]("stroke-opacity")&&m(l,{"stroke-opacity":g>1?g/100:g});case"fill-opacity":if(u.gradient){(I=t._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,h)))&&(N=I.getElementsByTagName("stop"),m(N[N.length-1],{"stop-opacity":g}));break}default:"font-size"==p&&(g=r(g,10)+"px");var R=p.replace(/(\-.)/g,function(t){return t.substring(1).toUpperCase()});l.style[R]=g,n._.dirty=1,l.setAttribute(p,g)}}S(n,o),l.style.visibility=d},S=function(n,o){if("text"==n.type&&(o[e]("text")||o[e]("font")||o[e]("font-size")||o[e]("x")||o[e]("y"))){var a=n.attrs,s=n.node,l=s.firstChild?r(t._g.doc.defaultView.getComputedStyle(s.firstChild,h).getPropertyValue("font-size"),10):10;if(o[e]("text")){for(a.text=o.text;s.firstChild;)s.removeChild(s.firstChild);for(var c,u=i(o.text).split("\n"),d=[],f=0,p=u.length;f<p;f++)c=m("tspan"),f&&m(c,{dy:1.2*l,x:a.x}),c.appendChild(t._g.doc.createTextNode(u[f])),s.appendChild(c),d[f]=c}else for(f=0,p=(d=s.getElementsByTagName("tspan")).length;f<p;f++)f?m(d[f],{dy:1.2*l,x:a.x}):m(d[0],{dy:0});m(s,{x:a.x,y:a.y}),n._.dirty=1;var g=n._getBBox(),v=a.y-(g.y+g.height/2);v&&t.is(v,"finite")&&m(d[0],{dy:v})}},C=function(t){return t.parentNode&&"a"===t.parentNode.tagName.toLowerCase()?t.parentNode:t},k=function(e,i){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=i,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!i.bottom&&(i.bottom=this),this.prev=i.top,i.top&&(i.top.next=this),i.top=this,this.next=null},T=t.el;k.prototype=T,T.constructor=k,t._engine.path=function(t,e){var i=m("path");e.canvas&&e.canvas.appendChild(i);var n=new k(i,e);return n.type="path",_(n,{fill:"none",stroke:"#000",path:t}),n},T.rotate=function(t,e,r){if(this.removed)return this;if((t=i(t).split(c)).length-1&&(e=n(t[1]),r=n(t[2])),t=n(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},T.scale=function(t,e,r,o){if(this.removed)return this;if((t=i(t).split(c)).length-1&&(e=n(t[1]),r=n(t[2]),o=n(t[3])),t=n(t[0]),null==e&&(e=t),null==o&&(r=o),null==r||null==o)var a=this.getBBox(1);return r=null==r?a.x+a.width/2:r,o=null==o?a.y+a.height/2:o,this.transform(this._.transform.concat([["s",t,e,r,o]])),this},T.translate=function(t,e){return this.removed?this:((t=i(t).split(c)).length-1&&(e=n(t[1])),t=n(t[0])||0,e=+e||0,this.transform(this._.transform.concat([["t",t,e]])),this)},T.transform=function(i){var n=this._;if(null==i)return n.transform;if(t._extractTransform(this,i),this.clip&&m(this.clip,{transform:this.matrix.invert()}),this.pattern&&b(this),this.node&&m(this.node,{transform:this.matrix}),1!=n.sx||1!=n.sy){var r=this.attrs[e]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":r})}return this},T.hide=function(){return this.removed||(this.node.style.display="none"),this},T.show=function(){return this.removed||(this.node.style.display=""),this},T.remove=function(){var e=C(this.node);if(!this.removed&&e.parentNode){var i=this.paper;for(var n in i.__set__&&i.__set__.exclude(this),u.unbind("raphael.*.*."+this.id),this.gradient&&i.defs.removeChild(this.gradient),t._tear(this,i),e.parentNode.removeChild(e),this.removeData(),this)this[n]="function"==typeof this[n]?t._removedFactory(n):null;this.removed=!0}},T._getBBox=function(){if("none"==this.node.style.display){this.show();var t=!0}var e,i=!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&&(i=!0,e.display="");var n={};try{n=this.node.getBBox()}catch(t){n={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{n=n||{},i&&(e.display="none")}return t&&this.hide(),n},T.attr=function(i,n){if(this.removed)return this;if(null==i){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==n&&t.is(i,"string")){if("fill"==i&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==i)return this._.transform;for(var a=i.split(c),s={},l=0,h=a.length;l<h;l++)(i=a[l])in this.attrs?s[i]=this.attrs[i]:t.is(this.paper.customAttributes[i],"function")?s[i]=this.paper.customAttributes[i].def:s[i]=t._availableAttrs[i];return h-1?s:s[a[0]]}if(null==n&&t.is(i,"array")){for(s={},l=0,h=i.length;l<h;l++)s[i[l]]=this.attr(i[l]);return s}if(null!=n){var d={};d[i]=n}else null!=i&&t.is(i,"object")&&(d=i);for(var f in d)u("raphael.attr."+f+"."+this.id,this,d[f]);for(f in this.paper.customAttributes)if(this.paper.customAttributes[e](f)&&d[e](f)&&t.is(this.paper.customAttributes[f],"function")){var p=this.paper.customAttributes[f].apply(this,[].concat(d[f]));for(var g in this.attrs[f]=d[f],p)p[e](g)&&(d[g]=p[g])}return _(this,d),this},T.toFront=function(){if(this.removed)return this;var e=C(this.node);e.parentNode.appendChild(e);var i=this.paper;return i.top!=this&&t._tofront(this,i),this},T.toBack=function(){if(this.removed)return this;var e=C(this.node),i=e.parentNode;return i.insertBefore(e,i.firstChild),t._toback(this,this.paper),this.paper,this},T.insertAfter=function(e){if(this.removed||!e)return this;var i=C(this.node),n=C(e.node||e[e.length-1].node);return n.nextSibling?n.parentNode.insertBefore(i,n.nextSibling):n.parentNode.appendChild(i),t._insertafter(this,e,this.paper),this},T.insertBefore=function(e){if(this.removed||!e)return this;var i=C(this.node),n=C(e.node||e[0].node);return n.parentNode.insertBefore(i,n),t._insertbefore(this,e,this.paper),this},T.blur=function(e){var i=this;if(0!=+e){var n=m("filter"),r=m("feGaussianBlur");i.attrs.blur=e,n.id=t.createUUID(),m(r,{stdDeviation:+e||1.5}),n.appendChild(r),i.paper.defs.appendChild(n),i._blur=n,m(i.node,{filter:"url(#"+n.id+")"})}else i._blur&&(i._blur.parentNode.removeChild(i._blur),delete i._blur,delete i.attrs.blur),i.node.removeAttribute("filter");return i},t._engine.circle=function(t,e,i,n){var r=m("circle");t.canvas&&t.canvas.appendChild(r);var o=new k(r,t);return o.attrs={cx:e,cy:i,r:n,fill:"none",stroke:"#000"},o.type="circle",m(r,o.attrs),o},t._engine.rect=function(t,e,i,n,r,o){var a=m("rect");t.canvas&&t.canvas.appendChild(a);var s=new k(a,t);return s.attrs={x:e,y:i,width:n,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,i,n,r){var o=m("ellipse");t.canvas&&t.canvas.appendChild(o);var a=new k(o,t);return a.attrs={cx:e,cy:i,rx:n,ry:r,fill:"none",stroke:"#000"},a.type="ellipse",m(o,a.attrs),a},t._engine.image=function(t,e,i,n,r,o){var a=m("image");m(a,{x:i,y:n,width:r,height:o,preserveAspectRatio:"none"}),a.setAttributeNS(f,"href",e),t.canvas&&t.canvas.appendChild(a);var s=new k(a,t);return s.attrs={x:i,y:n,width:r,height:o,src:e},s.type="image",s},t._engine.text=function(e,i,n,r){var o=m("text");e.canvas&&e.canvas.appendChild(o);var a=new k(o,e);return a.attrs={x:i,y:n,"text-anchor":"middle",text:r,"font-family":t._availableAttrs["font-family"],"font-size":t._availableAttrs["font-size"],stroke:"none",fill:"#000"},a.type="text",_(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),i=e&&e.container;if(!i)throw new Error("SVG container not found.");var n,r=e.x,o=e.y,a=e.width,s=e.height,l=m("svg"),c="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==i?(l.style.cssText=c+"position:absolute;left:"+r+"px;top:"+o+"px",t._g.doc.body.appendChild(l),n=1):(l.style.cssText=c+"position:relative",i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l)),(i=new t._Paper).width=a,i.height=s,i.canvas=l,i.clear(),i._left=i._top=0,n&&(i.renderfix=function(){}),i.renderfix(),i},t._engine.setViewBox=function(t,e,i,n,r){u("raphael.setViewBox",this,this._viewBox,[t,e,i,n,r]);var o,s,l=this.getSize(),c=a(i/l.width,n/l.height),h=this.top,f=r?"xMidYMid meet":"xMinYMin";for(null==t?(this._vbSize&&(c=1),delete this._vbSize,o="0 0 "+this.width+d+this.height):(this._vbSize=c,o=t+d+e+d+i+d+n),m(this.canvas,{viewBox:o,preserveAspectRatio:f});c&&h;)s="stroke-width"in h.attrs?h.attrs["stroke-width"]:1,h.attr({"stroke-width":s}),h._.dirty=1,h._.dirtyT=1,h=h.prev;return this._viewBox=[t,e,i,n,!!r],this},t.prototype.renderfix=function(){var t,e=this.canvas,i=e.style;try{t=e.getScreenCTM()||e.createSVGMatrix()}catch(i){t=e.createSVGMatrix()}var n=-t.e%1,r=-t.f%1;(n||r)&&(n&&(this._left=(this._left+n)%1,i.left=this._left+"px"),r&&(this._top=(this._top+r)%1,i.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 u("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[e]="function"==typeof this[e]?t._removedFactory(e):null};var E=t.st;for(var A in T)T[e](A)&&!E[e](A)&&(E[A]=function(t){return function(){var e=arguments;return this.forEach(function(i){i[t].apply(i,e)})}}(A))}}.apply(e,n))||(t.exports=r)},function(t,e,i){var n,r;n=[i(0)],void 0===(r=function(t){if(!t||t.vml){var e="hasOwnProperty",i=String,n=parseFloat,r=Math,o=r.round,a=r.max,s=r.min,l=r.abs,c=/[, ]+/,u=t.eve,h=" ",d="",f={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},L={circle:1,ellipse:1},x=function(e,i,n){var r=t.matrix();return r.rotate(-e,.5,.5),{dx:r.x(i,n),dy:r.y(i,n)}},w=function(t,e,i,n,r,o){var a=t._,s=t.matrix,c=a.fillpos,u=t.node,d=u.style,f=1,p="",g=y/e,m=y/i;if(d.visibility="hidden",e&&i){if(u.coordsize=l(g)+h+l(m),d.rotation=o*(e*i<0?-1:1),o){var v=x(o,n,r);n=v.dx,r=v.dy}if(e<0&&(p+="x"),i<0&&(p+=" y")&&(f=-1),d.flip=p,u.coordorigin=n*-g+h+r*-m,c||a.fillsize){var b=u.getElementsByTagName("fill");b=b&&b[0],u.removeChild(b),c&&(v=x(o,s.x(c[0],c[1]),s.y(c[0],c[1])),b.position=v.dx*f+h+v.dy*f),a.fillsize&&(b.size=a.fillsize[0]*l(e)+h+a.fillsize[1]*l(i)),u.appendChild(b)}d.visibility="visible"}};t.toString=function(){return"Your browser doesnt support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var _,S=function(t,e,n){for(var r=i(e).toLowerCase().split("-"),o=n?"end":"start",a=r.length,s="classic",l="medium",c="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":c=r[a];break;case"long":case"short":l=r[a]}var u=t.node.getElementsByTagName("stroke")[0];u[o+"arrow"]=s,u[o+"arrowlength"]=l,u[o+"arrowwidth"]=c},C=function(r,l){r.attrs=r.attrs||{};var u=r.node,g=r.attrs,v=u.style,x=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),C=L[r.type]&&(g.cx!=l.cx||g.cy!=l.cy||g.r!=l.r||g.rx!=l.rx||g.ry!=l.ry),T=r;for(var E in l)l[e](E)&&(g[E]=l[E]);if(x&&(g.path=t._getPath[r.type](r),r._.dirty=1),l.href&&(u.href=l.href),l.title&&(u.title=l.title),l.target&&(u.target=l.target),l.cursor&&(v.cursor=l.cursor),"blur"in l&&r.blur(l.blur),(l.path&&"path"==r.type||x)&&(u.path=function(e){var n=/[ahqstv]/gi,r=t._pathToAbsolute;if(i(e).match(n)&&(r=t._path2curve),n=/[clmz]/g,r==t._pathToAbsolute&&!i(e).match(n)){var a=i(e).replace(p,function(t,e,i){var n=[],r="m"==e.toLowerCase(),a=f[e];return i.replace(m,function(t){r&&2==n.length&&(a+=n+f["m"==e?"l":"L"],n=[]),n.push(o(t*y))}),a+n});return a}var s,l,c=r(e);a=[];for(var u=0,g=c.length;u<g;u++){s=c[u],"z"==(l=c[u][0].toLowerCase())&&(l="x");for(var v=1,b=s.length;v<b;v++)l+=o(s[v]*y)+(v!=b-1?",":d);a.push(l)}return a.join(h)}(~i(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],w(r,1,1,0,0,0))),"transform"in l&&r.transform(l.transform),C){var A=+g.cx,M=+g.cy,D=+g.rx||+g.r||0,P=+g.ry||+g.r||0;u.path=t.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",o((A-D)*y),o((M-P)*y),o((A+D)*y),o((M+P)*y),o(A*y)),r._.dirty=1}if("clip-rect"in l){var O=i(l["clip-rect"]).split(c);if(4==O.length){O[2]=+O[2]+ +O[0],O[3]=+O[3]+ +O[1];var I=u.clipRect||t._g.doc.createElement("div"),N=I.style;N.clip=t.format("rect({1}px {2}px {3}px {0}px)",O),u.clipRect||(N.position="absolute",N.top=0,N.left=0,N.width=r.paper.width+"px",N.height=r.paper.height+"px",u.parentNode.insertBefore(I,u),I.appendChild(u),u.clipRect=I)}l["clip-rect"]||u.clipRect&&(u.clipRect.style.clip="auto")}if(r.textpath){var R=r.textpath.style;l.font&&(R.font=l.font),l["font-family"]&&(R.fontFamily='"'+l["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,d)+'"'),l["font-size"]&&(R.fontSize=l["font-size"]),l["font-weight"]&&(R.fontWeight=l["font-weight"]),l["font-style"]&&(R.fontStyle=l["font-style"])}if("arrow-start"in l&&S(T,l["arrow-start"]),"arrow-end"in l&&S(T,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=u.getElementsByTagName("fill");if(!(F=F&&F[0])&&(F=_("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=i(l.fill).match(t._ISURL);if(B){F.parentNode==u&&u.removeChild(F),F.rotate=!0,F.src=B[1],F.type="tile";var z=r.getBBox(1);F.position=z.x+h+z.y,r._.fillpos=[z.x,z.y],t._preload(B[1],function(){r._.fillsize=[this.offsetWidth,this.offsetHeight]})}else F.color=t.getRGB(l.fill).hex,F.src=d,F.type="solid",t.getRGB(l.fill).error&&(T.type in{circle:1,ellipse:1}||"r"!=i(l.fill).charAt())&&k(T,l.fill,F)&&(g.fill="none",g.gradient=l.fill,F.rotate=!1)}if("fill-opacity"in l||"opacity"in l){var H=((+g["fill-opacity"]+1||2)-1)*((+g.opacity+1||2)-1)*((+t.getRGB(l.fill).o+1||2)-1);H=s(a(H,0),1),F.opacity=H,F.src&&(F.color="none")}u.appendChild(F);var V=u.getElementsByTagName("stroke")&&u.getElementsByTagName("stroke")[0],j=!1;!V&&(j=V=_("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"])&&(V.on=!0),("none"==l.stroke||null===l.stroke||null==V.on||0==l.stroke||0==l["stroke-width"])&&(V.on=!1);var W=t.getRGB(l.stroke);V.on&&l.stroke&&(V.color=W.hex),H=((+g["stroke-opacity"]+1||2)-1)*((+g.opacity+1||2)-1)*((+W.o+1||2)-1);var U=.75*(n(l["stroke-width"])||1);if(H=s(a(H,0),1),null==l["stroke-width"]&&(U=g["stroke-width"]),l["stroke-width"]&&(V.weight=U),U&&U<1&&(H*=U)&&(V.weight=1),V.opacity=H,l["stroke-linejoin"]&&(V.joinstyle=l["stroke-linejoin"]||"miter"),V.miterlimit=l["stroke-miterlimit"]||8,l["stroke-linecap"]&&(V.endcap="butt"==l["stroke-linecap"]?"flat":"square"==l["stroke-linecap"]?"square":"round"),"stroke-dasharray"in l){var Y={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};V.dashstyle=Y[e](l["stroke-dasharray"])?Y[l["stroke-dasharray"]]:d}j&&u.appendChild(V)}if("text"==T.type){T.paper.canvas.style.display=d;var G=T.paper.span,X=g.font&&g.font.match(/\d+(?:\.\d*)?(?=px)/);v=G.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"]),X=n(g["font-size"]||X&&X[0])||10,v.fontSize=100*X+"px",T.textpath.string&&(G.innerHTML=i(T.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var q=G.getBoundingClientRect();T.W=g.w=(q.right-q.left)/100,T.H=g.h=(q.bottom-q.top)/100,T.X=g.x,T.Y=g.y+T.H/2,("x"in l||"y"in l)&&(T.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","y","text","font","font-family","font-weight","font-style","font-size"],Z=0,K=$.length;Z<K;Z++)if($[Z]in l){T._.dirty=1;break}switch(g["text-anchor"]){case"start":T.textpath.style["v-text-align"]="left",T.bbx=T.W/2;break;case"end":T.textpath.style["v-text-align"]="right",T.bbx=-T.W/2;break;default:T.textpath.style["v-text-align"]="center",T.bbx=0}T.textpath.style["v-text-kern"]=!0}},k=function(e,o,a){e.attrs=e.attrs||{},e.attrs;var s=Math.pow,l="linear",c=".5 .5";if(e.attrs.gradient=o,o=(o=i(o).replace(t._radial_gradient,function(t,e,i){return l="radial",e&&i&&(e=n(e),i=n(i),s(e-.5,2)+s(i-.5,2)>.25&&(i=r.sqrt(.25-s(e-.5,2))*(2*(i>.5)-1)+.5),c=e+h+i),d})).split(/\s*\-\s*/),"linear"==l){var u=o.shift();if(u=-n(u),isNaN(u))return null}var f=t._parseDots(o);if(!f)return null;if(e=e.shape||e.node,f.length){e.removeChild(a),a.on=!0,a.method="none",a.color=f[0].color,a.color2=f[f.length-1].color;for(var p=[],g=0,m=f.length;g<m;g++)f[g].offset&&p.push(f[g].offset+h+f[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=c,a.angle=0):(a.type="gradient",a.angle=(270-u)%360),e.appendChild(a)}return 1},T=function(e,i){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=i,this.matrix=t.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!i.bottom&&(i.bottom=this),this.prev=i.top,i.top&&(i.top.next=this),i.top=this,this.next=null},E=t.el;T.prototype=E,E.constructor=T,E.transform=function(e){if(null==e)return this._.transform;var n,r=this.paper._viewBoxShift,o=r?"s"+[r.scale,r.scale]+"-1-1t"+[r.dx,r.dy]:d;r&&(n=e=i(e).replace(/\.{3}|\u2026/g,this._.transform||d)),t._extractTransform(this,o+e);var a,s=this.matrix.clone(),l=this.skew,c=this.node,u=~i(this.attrs.fill).indexOf("-"),f=!i(this.attrs.fill).indexOf("url(");if(s.translate(1,1),f||u||"image"==this.type)if(l.matrix="1 0 0 1",l.offset="0 0",a=s.split(),u&&a.noRotation||!a.isSimple){c.style.filter=s.toFilter();var p=this.getBBox(),g=this.getBBox(1),m=p.x-g.x,v=p.y-g.y;c.coordorigin=m*-y+h+v*-y,w(this,1,1,m,v,0)}else c.style.filter=d,w(this,a.scalex,a.scaley,a.dx,a.dy,a.rotate);else c.style.filter=d,l.matrix=i(s),l.offset=s.offset();return null!==n&&(this._.transform=n,t._extractTransform(this,n)),this},E.rotate=function(t,e,r){if(this.removed)return this;if(null!=t){if((t=i(t).split(c)).length-1&&(e=n(t[1]),r=n(t[2])),t=n(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}},E.translate=function(t,e){return this.removed?this:((t=i(t).split(c)).length-1&&(e=n(t[1])),t=n(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)},E.scale=function(t,e,r,o){if(this.removed)return this;if((t=i(t).split(c)).length-1&&(e=n(t[1]),r=n(t[2]),o=n(t[3]),isNaN(r)&&(r=null),isNaN(o)&&(o=null)),t=n(t[0]),null==e&&(e=t),null==o&&(r=o),null==r||null==o)var a=this.getBBox(1);return r=null==r?a.x+a.width/2:r,o=null==o?a.y+a.height/2:o,this.transform(this._.transform.concat([["s",t,e,r,o]])),this._.dirtyT=1,this},E.hide=function(){return!this.removed&&(this.node.style.display="none"),this},E.show=function(){return!this.removed&&(this.node.style.display=d),this},E.auxGetBBox=t.el.getBBox,E.getBBox=function(){var t=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var e={},i=1/this.paper._viewBoxShift.scale;return e.x=t.x-this.paper._viewBoxShift.dx,e.x*=i,e.y=t.y-this.paper._viewBoxShift.dy,e.y*=i,e.width=t.width*i,e.height=t.height*i,e.x2=e.x+e.width,e.y2=e.y+e.height,e}return t},E._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}},E.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}},E.attr=function(i,n){if(this.removed)return this;if(null==i){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==n&&t.is(i,"string")){if("fill"==i&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var a=i.split(c),s={},l=0,h=a.length;l<h;l++)(i=a[l])in this.attrs?s[i]=this.attrs[i]:t.is(this.paper.customAttributes[i],"function")?s[i]=this.paper.customAttributes[i].def:s[i]=t._availableAttrs[i];return h-1?s:s[a[0]]}if(this.attrs&&null==n&&t.is(i,"array")){for(s={},l=0,h=i.length;l<h;l++)s[i[l]]=this.attr(i[l]);return s}var d;for(var f in null!=n&&((d={})[i]=n),null==n&&t.is(i,"object")&&(d=i),d)u("raphael.attr."+f+"."+this.id,this,d[f]);if(d){for(f in this.paper.customAttributes)if(this.paper.customAttributes[e](f)&&d[e](f)&&t.is(this.paper.customAttributes[f],"function")){var p=this.paper.customAttributes[f].apply(this,[].concat(d[f]));for(var g in this.attrs[f]=d[f],p)p[e](g)&&(d[g]=p[g])}d.text&&"text"==this.type&&(this.textpath.string=d.text),C(this,d)}return this},E.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&t._tofront(this,this.paper),this},E.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),t._toback(this,this.paper)),this)},E.insertAfter=function(e){return this.removed?this:(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)},E.insertBefore=function(e){return this.removed?this:(e.constructor==t.st.constructor&&(e=e[0]),e.node.parentNode.insertBefore(this.node,e.node),t._insertbefore(this,e,this.paper),this)},E.blur=function(e){var i=this.node.runtimeStyle,n=i.filter;return n=n.replace(g,d),0!=+e?(this.attrs.blur=e,i.filter=n+h+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+e||1.5)+")",i.margin=t.format("-{0}px 0 0 -{0}px",o(+e||1.5))):(i.filter=n,i.margin=0,delete this.attrs.blur),this},t._engine.path=function(t,e){var i=_("shape");i.style.cssText=v,i.coordsize=y+h+y,i.coordorigin=e.coordorigin;var n=new T(i,e),r={fill:"none",stroke:"#000"};t&&(r.path=t),n.type="path",n.path=[],n.Path=d,C(n,r),e.canvas&&e.canvas.appendChild(i);var o=_("skew");return o.on=!0,i.appendChild(o),n.skew=o,n.transform(d),n},t._engine.rect=function(e,i,n,r,o,a){var s=t._rectPath(i,n,r,o,a),l=e.path(s),c=l.attrs;return l.X=c.x=i,l.Y=c.y=n,l.W=c.width=r,l.H=c.height=o,c.r=a,c.path=s,l.type="rect",l},t._engine.ellipse=function(t,e,i,n,r){var o=t.path();return o.attrs,o.X=e-n,o.Y=i-r,o.W=2*n,o.H=2*r,o.type="ellipse",C(o,{cx:e,cy:i,rx:n,ry:r}),o},t._engine.circle=function(t,e,i,n){var r=t.path();return r.attrs,r.X=e-n,r.Y=i-n,r.W=r.H=2*n,r.type="circle",C(r,{cx:e,cy:i,r:n}),r},t._engine.image=function(e,i,n,r,o,a){var s=t._rectPath(n,r,o,a),l=e.path(s).attr({stroke:"none"}),c=l.attrs,u=l.node,h=u.getElementsByTagName("fill")[0];return c.src=i,l.X=c.x=n,l.Y=c.y=r,l.W=c.width=o,l.H=c.height=a,c.path=s,l.type="image",h.parentNode==u&&u.removeChild(h),h.rotate=!0,h.src=i,h.type="tile",l._.fillpos=[n,r],l._.fillsize=[o,a],u.appendChild(h),w(l,1,1,0,0,0),l},t._engine.text=function(e,n,r,a){var s=_("shape"),l=_("path"),c=_("textpath");n=n||0,r=r||0,a=a||"",l.v=t.format("m{0},{1}l{2},{1}",o(n*y),o(r*y),o(n*y)+1),l.textpathok=!0,c.string=i(a),c.on=!0,s.style.cssText=v,s.coordsize=y+h+y,s.coordorigin="0 0";var u=new T(s,e),f={fill:"#000",stroke:"none",font:t._availableAttrs.font,text:a};u.shape=s,u.path=l,u.textpath=c,u.type="text",u.attrs.text=i(a),u.attrs.x=n,u.attrs.y=r,u.attrs.w=1,u.attrs.h=1,C(u,f),s.appendChild(c),s.appendChild(l),e.canvas.appendChild(s);var p=_("skew");return p.on=!0,s.appendChild(p),u.skew=p,u.transform(d),u},t._engine.setSize=function(e,i){var n=this.canvas.style;return this.width=e,this.height=i,e==+e&&(e+="px"),i==+i&&(i+="px"),n.width=e,n.height=i,n.clip="rect(0 "+e+" "+i+" 0)",this._viewBox&&t._engine.setViewBox.apply(this,this._viewBox),this},t._engine.setViewBox=function(e,i,n,r,o){t.eve("raphael.setViewBox",this,this._viewBox,[e,i,n,r,o]);var a,s,l=this.getSize(),c=l.width,u=l.height;return o&&(n*(a=u/r)<c&&(e-=(c-n*a)/2/a),r*(s=c/n)<u&&(i-=(u-r*s)/2/s)),this._viewBox=[e,i,n,r,!!o],this._viewBoxShift={dx:-e,dy:-i,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"),_=function(t){return e.createElement("<rvml:"+t+' class="rvml">')}}catch(t){_=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),i=e.container,n=e.height,r=e.width,o=e.x,a=e.y;if(!i)throw new Error("VML container not found.");var s=new t._Paper,l=s.canvas=t._g.doc.createElement("div"),c=l.style;return o=o||0,a=a||0,r=r||512,n=n||342,s.width=r,s.height=n,r==+r&&(r+="px"),n==+n&&(n+="px"),s.coordsize=216e5+h+216e5,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),c.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,n),1==i?(t._g.doc.body.appendChild(l),c.left=o+"px",c.top=a+"px",c.position="absolute"):i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l),s.renderfix=function(){},s},t.prototype.clear=function(){t.eve("raphael.clear",this),this.canvas.innerHTML=d,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 A=t.st;for(var M in E)E[e](M)&&!A[e](M)&&(A[M]=function(t){return function(){var e=arguments;return this.forEach(function(i){i[t].apply(i,e)})}}(M))}}.apply(e,n))||(t.exports=r)}])}),function(t,e){"function"==typeof define&&define.amd?define("Chartist",[],function(){return t.Chartist=e()}):"object"==typeof module&&module.exports?module.exports=e():t.Chartist=e()}(this,function(){var t={version:"0.11.1"};return function(t,e){"use strict";var i=t.window,n=t.document;e.namespaces={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},e.noop=function(t){return t},e.alphaNumerate=function(t){return String.fromCharCode(97+t%26)},e.extend=function(t){var i,n,r;for(t=t||{},i=1;i<arguments.length;i++)for(var o in n=arguments[i])"object"!=typeof(r=n[o])||null===r||r instanceof Array?t[o]=r:t[o]=e.extend(t[o],r);return t},e.replaceAll=function(t,e,i){return t.replace(new RegExp(e,"g"),i)},e.ensureUnit=function(t,e){return"number"==typeof t&&(t+=e),t},e.quantity=function(t){if("string"==typeof t){var e=/^(\d+)\s*(.*)$/g.exec(t);return{value:+e[1],unit:e[2]||void 0}}return{value:t}},e.querySelector=function(t){return t instanceof Node?t:n.querySelector(t)},e.times=function(t){return Array.apply(null,new Array(t))},e.sum=function(t,e){return t+(e||0)},e.mapMultiply=function(t){return function(e){return e*t}},e.mapAdd=function(t){return function(e){return e+t}},e.serialMap=function(t,i){var n=[],r=Math.max.apply(null,t.map(function(t){return t.length}));return e.times(r).forEach(function(e,r){var o=t.map(function(t){return t[r]});n[r]=i.apply(null,o)}),n},e.roundWithPrecision=function(t,i){var n=Math.pow(10,i||e.precision);return Math.round(t*n)/n},e.precision=8,e.escapingMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"},e.serialize=function(t){return null==t?t:("number"==typeof t?t=""+t:"object"==typeof t&&(t=JSON.stringify({data:t})),Object.keys(e.escapingMap).reduce(function(t,i){return e.replaceAll(t,i,e.escapingMap[i])},t))},e.deserialize=function(t){if("string"!=typeof t)return t;t=Object.keys(e.escapingMap).reduce(function(t,i){return e.replaceAll(t,e.escapingMap[i],i)},t);try{t=void 0!==(t=JSON.parse(t)).data?t.data:t}catch(t){}return t},e.createSvg=function(t,i,n,r){var o;return i=i||"100%",n=n||"100%",Array.prototype.slice.call(t.querySelectorAll("svg")).filter(function(t){return t.getAttributeNS(e.namespaces.xmlns,"ct")}).forEach(function(e){t.removeChild(e)}),(o=new e.Svg("svg").attr({width:i,height:n}).addClass(r))._node.style.width=i,o._node.style.height=n,t.appendChild(o._node),o},e.normalizeData=function(t,i,n){var r,o={raw:t,normalized:{}};return o.normalized.series=e.getDataArray({series:t.series||[]},i,n),r=o.normalized.series.every(function(t){return t instanceof Array})?Math.max.apply(null,o.normalized.series.map(function(t){return t.length})):o.normalized.series.length,o.normalized.labels=(t.labels||[]).slice(),Array.prototype.push.apply(o.normalized.labels,e.times(Math.max(0,r-o.normalized.labels.length)).map(function(){return""})),i&&e.reverseData(o.normalized),o},e.safeHasProperty=function(t,e){return null!==t&&"object"==typeof t&&t.hasOwnProperty(e)},e.isDataHoleValue=function(t){return null==t||"number"==typeof t&&isNaN(t)},e.reverseData=function(t){t.labels.reverse(),t.series.reverse();for(var e=0;e<t.series.length;e++)"object"==typeof t.series[e]&&void 0!==t.series[e].data?t.series[e].data.reverse():t.series[e]instanceof Array&&t.series[e].reverse()},e.getDataArray=function(t,i,n){return t.series.map(function t(i){if(e.safeHasProperty(i,"value"))return t(i.value);if(e.safeHasProperty(i,"data"))return t(i.data);if(i instanceof Array)return i.map(t);if(!e.isDataHoleValue(i)){if(n){var r={};return"string"==typeof n?r[n]=e.getNumberOrUndefined(i):r.y=e.getNumberOrUndefined(i),r.x=i.hasOwnProperty("x")?e.getNumberOrUndefined(i.x):r.x,r.y=i.hasOwnProperty("y")?e.getNumberOrUndefined(i.y):r.y,r}return e.getNumberOrUndefined(i)}})},e.normalizePadding=function(t,e){return e=e||0,"number"==typeof t?{top:t,right:t,bottom:t,left:t}:{top:"number"==typeof t.top?t.top:e,right:"number"==typeof t.right?t.right:e,bottom:"number"==typeof t.bottom?t.bottom:e,left:"number"==typeof t.left?t.left:e}},e.getMetaData=function(t,e){var i=t.data?t.data[e]:t[e];return i?i.meta:void 0},e.orderOfMagnitude=function(t){return Math.floor(Math.log(Math.abs(t))/Math.LN10)},e.projectLength=function(t,e,i){return e/i.range*t},e.getAvailableHeight=function(t,i){return Math.max((e.quantity(i.height).value||t.height())-(i.chartPadding.top+i.chartPadding.bottom)-i.axisX.offset,0)},e.getHighLow=function(t,i,n){var r={high:void 0===(i=e.extend({},i,n?i["axis"+n.toUpperCase()]:{})).high?-Number.MAX_VALUE:+i.high,low:void 0===i.low?Number.MAX_VALUE:+i.low},o=void 0===i.high,a=void 0===i.low;return(o||a)&&function t(e){if(void 0!==e)if(e instanceof Array)for(var i=0;i<e.length;i++)t(e[i]);else{var s=n?+e[n]:+e;o&&s>r.high&&(r.high=s),a&&s<r.low&&(r.low=s)}}(t),(i.referenceValue||0===i.referenceValue)&&(r.high=Math.max(i.referenceValue,r.high),r.low=Math.min(i.referenceValue,r.low)),r.high<=r.low&&(0===r.low?r.high=1:r.low<0?r.high=0:r.high>0?r.low=0:(r.high=1,r.low=0)),r},e.isNumeric=function(t){return null!==t&&isFinite(t)},e.isFalseyButZero=function(t){return!t&&0!==t},e.getNumberOrUndefined=function(t){return e.isNumeric(t)?+t:void 0},e.isMultiValue=function(t){return"object"==typeof t&&("x"in t||"y"in t)},e.getMultiValue=function(t,i){return e.isMultiValue(t)?e.getNumberOrUndefined(t[i||"y"]):e.getNumberOrUndefined(t)},e.rho=function(t){function e(t,i){return t%i==0?i:e(i,t%i)}function i(t){return t*t+1}if(1===t)return t;var n,r=2,o=2;if(t%2==0)return 2;do{r=i(r)%t,o=i(i(o))%t,n=e(Math.abs(r-o),t)}while(1===n);return n},e.getBounds=function(t,i,n,r){function o(t,e){return t===(t+=e)&&(t*=1+(e>0?f:-f)),t}var a,s,l,c=0,u={high:i.high,low:i.low};u.valueRange=u.high-u.low,u.oom=e.orderOfMagnitude(u.valueRange),u.step=Math.pow(10,u.oom),u.min=Math.floor(u.low/u.step)*u.step,u.max=Math.ceil(u.high/u.step)*u.step,u.range=u.max-u.min,u.numberOfSteps=Math.round(u.range/u.step);var h=e.projectLength(t,u.step,u)<n,d=r?e.rho(u.range):0;if(r&&e.projectLength(t,1,u)>=n)u.step=1;else if(r&&d<u.step&&e.projectLength(t,d,u)>=n)u.step=d;else for(;;){if(h&&e.projectLength(t,u.step,u)<=n)u.step*=2;else{if(h||!(e.projectLength(t,u.step/2,u)>=n))break;if(u.step/=2,r&&u.step%1!=0){u.step*=2;break}}if(c++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}var f=2.221e-16;for(u.step=Math.max(u.step,f),s=u.min,l=u.max;s+u.step<=u.low;)s=o(s,u.step);for(;l-u.step>=u.high;)l=o(l,-u.step);u.min=s,u.max=l,u.range=u.max-u.min;var p=[];for(a=u.min;a<=u.max;a=o(a,u.step)){var g=e.roundWithPrecision(a);g!==p[p.length-1]&&p.push(g)}return u.values=p,u},e.polarToCartesian=function(t,e,i,n){var r=(n-90)*Math.PI/180;return{x:t+i*Math.cos(r),y:e+i*Math.sin(r)}},e.createChartRect=function(t,i,n){var r=!(!i.axisX&&!i.axisY),o=r?i.axisY.offset:0,a=r?i.axisX.offset:0,s=t.width()||e.quantity(i.width).value||0,l=t.height()||e.quantity(i.height).value||0,c=e.normalizePadding(i.chartPadding,n);s=Math.max(s,o+c.left+c.right),l=Math.max(l,a+c.top+c.bottom);var u={padding:c,width:function(){return this.x2-this.x1},height:function(){return this.y1-this.y2}};return r?("start"===i.axisX.position?(u.y2=c.top+a,u.y1=Math.max(l-c.bottom,u.y2+1)):(u.y2=c.top,u.y1=Math.max(l-c.bottom-a,u.y2+1)),"start"===i.axisY.position?(u.x1=c.left+o,u.x2=Math.max(s-c.right,u.x1+1)):(u.x1=c.left,u.x2=Math.max(s-c.right-o,u.x1+1))):(u.x1=c.left,u.x2=Math.max(s-c.right,u.x1+1),u.y2=c.top,u.y1=Math.max(l-c.bottom,u.y2+1)),u},e.createGrid=function(t,i,n,r,o,a,s,l){var c={};c[n.units.pos+"1"]=t,c[n.units.pos+"2"]=t,c[n.counterUnits.pos+"1"]=r,c[n.counterUnits.pos+"2"]=r+o;var u=a.elem("line",c,s.join(" "));l.emit("draw",e.extend({type:"grid",axis:n,index:i,group:a,element:u},c))},e.createGridBackground=function(t,e,i,n){var r=t.elem("rect",{x:e.x1,y:e.y2,width:e.width(),height:e.height()},i,!0);n.emit("draw",{type:"gridBackground",group:t,element:r})},e.createLabel=function(t,i,r,o,a,s,l,c,u,h,d){var f,p={};if(p[a.units.pos]=t+l[a.units.pos],p[a.counterUnits.pos]=l[a.counterUnits.pos],p[a.units.len]=i,p[a.counterUnits.len]=Math.max(0,s-10),h){var g=n.createElement("span");g.className=u.join(" "),g.setAttribute("xmlns",e.namespaces.xhtml),g.innerText=o[r],g.style[a.units.len]=Math.round(p[a.units.len])+"px",g.style[a.counterUnits.len]=Math.round(p[a.counterUnits.len])+"px",f=c.foreignObject(g,e.extend({style:"overflow: visible;"},p))}else f=c.elem("text",p,u.join(" ")).text(o[r]);d.emit("draw",e.extend({type:"label",axis:a,index:r,group:c,element:f,text:o[r]},p))},e.getSeriesOption=function(t,e,i){if(t.name&&e.series&&e.series[t.name]){var n=e.series[t.name];return n.hasOwnProperty(i)?n[i]:e[i]}return e[i]},e.optionsProvider=function(t,n,r){function o(t){var o=a;if(a=e.extend({},l),n)for(s=0;s<n.length;s++){i.matchMedia(n[s][0]).matches&&(a=e.extend(a,n[s][1]))}r&&t&&r.emit("optionsChanged",{previousOptions:o,currentOptions:a})}var a,s,l=e.extend({},t),c=[];if(!i.matchMedia)throw"window.matchMedia not found! Make sure you're using a polyfill.";if(n)for(s=0;s<n.length;s++){var u=i.matchMedia(n[s][0]);u.addListener(o),c.push(u)}return o(),{removeMediaQueryListeners:function(){c.forEach(function(t){t.removeListener(o)})},getCurrentOptions:function(){return e.extend({},a)}}},e.splitIntoSegments=function(t,i,n){n=e.extend({},{increasingX:!1,fillHoles:!1},n);for(var r=[],o=!0,a=0;a<t.length;a+=2)void 0===e.getMultiValue(i[a/2].value)?n.fillHoles||(o=!0):(n.increasingX&&a>=2&&t[a]<=t[a-2]&&(o=!0),o&&(r.push({pathCoordinates:[],valueData:[]}),o=!1),r[r.length-1].pathCoordinates.push(t[a],t[a+1]),r[r.length-1].valueData.push(i[a/2]));return r}}(this,t),function(t,e){"use strict";e.Interpolation={},e.Interpolation.none=function(t){return t=e.extend({},{fillHoles:!1},t),function(i,n){for(var r=new e.Svg.Path,o=!0,a=0;a<i.length;a+=2){var s=i[a],l=i[a+1],c=n[a/2];void 0!==e.getMultiValue(c.value)?(o?r.move(s,l,!1,c):r.line(s,l,!1,c),o=!1):t.fillHoles||(o=!0)}return r}},e.Interpolation.simple=function(t){t=e.extend({},{divisor:2,fillHoles:!1},t);var i=1/Math.max(1,t.divisor);return function(n,r){for(var o,a,s,l=new e.Svg.Path,c=0;c<n.length;c+=2){var u=n[c],h=n[c+1],d=(u-o)*i,f=r[c/2];void 0!==f.value?(void 0===s?l.move(u,h,!1,f):l.curve(o+d,a,u-d,h,u,h,!1,f),o=u,a=h,s=f):t.fillHoles||(o=u=s=void 0)}return l}},e.Interpolation.cardinal=function(t){t=e.extend({},{tension:1,fillHoles:!1},t);var i=Math.min(1,Math.max(0,t.tension)),n=1-i;return function r(o,a){var s=e.splitIntoSegments(o,a,{fillHoles:t.fillHoles});if(s.length){if(s.length>1){var l=[];return s.forEach(function(t){l.push(r(t.pathCoordinates,t.valueData))}),e.Svg.Path.join(l)}if(o=s[0].pathCoordinates,a=s[0].valueData,o.length<=4)return e.Interpolation.none()(o,a);for(var c=(new e.Svg.Path).move(o[0],o[1],!1,a[0]),u=0,h=o.length;h-2>u;u+=2){var d=[{x:+o[u-2],y:+o[u-1]},{x:+o[u],y:+o[u+1]},{x:+o[u+2],y:+o[u+3]},{x:+o[u+4],y:+o[u+5]}];h-4===u?d[3]=d[2]:u||(d[0]={x:+o[u],y:+o[u+1]}),c.curve(i*(-d[0].x+6*d[1].x+d[2].x)/6+n*d[2].x,i*(-d[0].y+6*d[1].y+d[2].y)/6+n*d[2].y,i*(d[1].x+6*d[2].x-d[3].x)/6+n*d[2].x,i*(d[1].y+6*d[2].y-d[3].y)/6+n*d[2].y,d[2].x,d[2].y,!1,a[(u+2)/2])}return c}return e.Interpolation.none()([])}},e.Interpolation.monotoneCubic=function(t){return t=e.extend({},{fillHoles:!1},t),function i(n,r){var o=e.splitIntoSegments(n,r,{fillHoles:t.fillHoles,increasingX:!0});if(o.length){if(o.length>1){var a=[];return o.forEach(function(t){a.push(i(t.pathCoordinates,t.valueData))}),e.Svg.Path.join(a)}if(n=o[0].pathCoordinates,r=o[0].valueData,n.length<=4)return e.Interpolation.none()(n,r);var s,l,c=[],u=[],h=n.length/2,d=[],f=[],p=[],g=[];for(s=0;s<h;s++)c[s]=n[2*s],u[s]=n[2*s+1];for(s=0;s<h-1;s++)p[s]=u[s+1]-u[s],g[s]=c[s+1]-c[s],f[s]=p[s]/g[s];for(d[0]=f[0],d[h-1]=f[h-2],s=1;s<h-1;s++)0===f[s]||0===f[s-1]||f[s-1]>0!=f[s]>0?d[s]=0:(d[s]=3*(g[s-1]+g[s])/((2*g[s]+g[s-1])/f[s-1]+(g[s]+2*g[s-1])/f[s]),isFinite(d[s])||(d[s]=0));for(l=(new e.Svg.Path).move(c[0],u[0],!1,r[0]),s=0;s<h-1;s++)l.curve(c[s]+g[s]/3,u[s]+d[s]*g[s]/3,c[s+1]-g[s]/3,u[s+1]-d[s+1]*g[s]/3,c[s+1],u[s+1],!1,r[s+1]);return l}return e.Interpolation.none()([])}},e.Interpolation.step=function(t){return t=e.extend({},{postpone:!0,fillHoles:!1},t),function(i,n){for(var r,o,a,s=new e.Svg.Path,l=0;l<i.length;l+=2){var c=i[l],u=i[l+1],h=n[l/2];void 0!==h.value?(void 0===a?s.move(c,u,!1,h):(t.postpone?s.line(c,o,!1,a):s.line(r,u,!1,h),s.line(c,u,!1,h)),r=c,o=u,a=h):t.fillHoles||(r=o=a=void 0)}return s}}}(0,t),function(t,e){"use strict";e.EventEmitter=function(){var t=[];return{addEventHandler:function(e,i){t[e]=t[e]||[],t[e].push(i)},removeEventHandler:function(e,i){t[e]&&(i?(t[e].splice(t[e].indexOf(i),1),0===t[e].length&&delete t[e]):delete t[e])},emit:function(e,i){t[e]&&t[e].forEach(function(t){t(i)}),t["*"]&&t["*"].forEach(function(t){t(e,i)})}}}}(0,t),function(t,e){"use strict";e.Class={extend:function(t,i){var n=i||this.prototype||e.Class,r=Object.create(n);e.Class.cloneDefinitions(r,t);var o=function(){var t,i=r.constructor||function(){};return t=this===e?Object.create(r):this,i.apply(t,Array.prototype.slice.call(arguments,0)),t};return o.prototype=r,o.super=n,o.extend=this.extend,o},cloneDefinitions:function(){var t=function(t){var e=[];if(t.length)for(var i=0;i<t.length;i++)e.push(t[i]);return e}(arguments),e=t[0];return t.splice(1,t.length-1).forEach(function(t){Object.getOwnPropertyNames(t).forEach(function(i){delete e[i],Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}),e}}}(0,t),function(t,e){"use strict";var i=t.window;e.Base=e.Class.extend({constructor:function(t,n,r,o,a){this.container=e.querySelector(t),this.data=n||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.defaultOptions=r,this.options=o,this.responsiveOptions=a,this.eventEmitter=e.EventEmitter(),this.supportsForeignObject=e.Svg.isSupported("Extensibility"),this.supportsAnimations=e.Svg.isSupported("AnimationEventsAttribute"),this.resizeListener=function(){this.update()}.bind(this),this.container&&(this.container.__chartist__&&this.container.__chartist__.detach(),this.container.__chartist__=this),this.initializeTimeoutId=setTimeout(function(){i.addEventListener("resize",this.resizeListener),this.optionsProvider=e.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.addEventHandler("optionsChanged",function(){this.update()}.bind(this)),this.options.plugins&&this.options.plugins.forEach(function(t){t instanceof Array?t[0](this,t[1]):t(this)}.bind(this)),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=void 0}.bind(this),0)},optionsProvider:void 0,container:void 0,svg:void 0,eventEmitter:void 0,createChart:function(){throw new Error("Base chart type can't be instantiated!")},update:function(t,i,n){return t&&(this.data=t||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.eventEmitter.emit("data",{type:"update",data:this.data})),i&&(this.options=e.extend({},n?this.options:this.defaultOptions,i),this.initializeTimeoutId||(this.optionsProvider.removeMediaQueryListeners(),this.optionsProvider=e.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter))),this.initializeTimeoutId||this.createChart(this.optionsProvider.getCurrentOptions()),this},detach:function(){return this.initializeTimeoutId?i.clearTimeout(this.initializeTimeoutId):(i.removeEventListener("resize",this.resizeListener),this.optionsProvider.removeMediaQueryListeners()),this},on:function(t,e){return this.eventEmitter.addEventHandler(t,e),this},off:function(t,e){return this.eventEmitter.removeEventHandler(t,e),this},version:e.version,supportsForeignObject:!1})}(this,t),function(t,e){"use strict";var i=t.document;e.Svg=e.Class.extend({constructor:function(t,n,r,o,a){t instanceof Element?this._node=t:(this._node=i.createElementNS(e.namespaces.svg,t),"svg"===t&&this.attr({"xmlns:ct":e.namespaces.ct})),n&&this.attr(n),r&&this.addClass(r),o&&(a&&o._node.firstChild?o._node.insertBefore(this._node,o._node.firstChild):o._node.appendChild(this._node))},attr:function(t,i){return"string"==typeof t?i?this._node.getAttributeNS(i,t):this._node.getAttribute(t):(Object.keys(t).forEach(function(i){if(void 0!==t[i])if(-1!==i.indexOf(":")){var n=i.split(":");this._node.setAttributeNS(e.namespaces[n[0]],i,t[i])}else this._node.setAttribute(i,t[i])}.bind(this)),this)},elem:function(t,i,n,r){return new e.Svg(t,i,n,this,r)},parent:function(){return this._node.parentNode instanceof SVGElement?new e.Svg(this._node.parentNode):null},root:function(){for(var t=this._node;"svg"!==t.nodeName;)t=t.parentNode;return new e.Svg(t)},querySelector:function(t){var i=this._node.querySelector(t);return i?new e.Svg(i):null},querySelectorAll:function(t){var i=this._node.querySelectorAll(t);return i.length?new e.Svg.List(i):null},getNode:function(){return this._node},foreignObject:function(t,n,r,o){if("string"==typeof t){var a=i.createElement("div");a.innerHTML=t,t=a.firstChild}t.setAttribute("xmlns",e.namespaces.xmlns);var s=this.elem("foreignObject",n,r,o);return s._node.appendChild(t),s},text:function(t){return this._node.appendChild(i.createTextNode(t)),this},empty:function(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this},remove:function(){return this._node.parentNode.removeChild(this._node),this.parent()},replace:function(t){return this._node.parentNode.replaceChild(t._node,this._node),t},append:function(t,e){return e&&this._node.firstChild?this._node.insertBefore(t._node,this._node.firstChild):this._node.appendChild(t._node),this},classes:function(){return this._node.getAttribute("class")?this._node.getAttribute("class").trim().split(/\s+/):[]},addClass:function(t){return this._node.setAttribute("class",this.classes(this._node).concat(t.trim().split(/\s+/)).filter(function(t,e,i){return i.indexOf(t)===e}).join(" ")),this},removeClass:function(t){var e=t.trim().split(/\s+/);return this._node.setAttribute("class",this.classes(this._node).filter(function(t){return-1===e.indexOf(t)}).join(" ")),this},removeAllClasses:function(){return this._node.setAttribute("class",""),this},height:function(){return this._node.getBoundingClientRect().height},width:function(){return this._node.getBoundingClientRect().width},animate:function(t,i,n){return void 0===i&&(i=!0),Object.keys(t).forEach(function(r){function o(t,i){var o,a,s,l={};t.easing&&(s=t.easing instanceof Array?t.easing:e.Svg.Easing[t.easing],delete t.easing),t.begin=e.ensureUnit(t.begin,"ms"),t.dur=e.ensureUnit(t.dur,"ms"),s&&(t.calcMode="spline",t.keySplines=s.join(" "),t.keyTimes="0;1"),i&&(t.fill="freeze",l[r]=t.from,this.attr(l),a=e.quantity(t.begin||0).value,t.begin="indefinite"),o=this.elem("animate",e.extend({attributeName:r},t)),i&&setTimeout(function(){try{o._node.beginElement()}catch(e){l[r]=t.to,this.attr(l),o.remove()}}.bind(this),a),n&&o._node.addEventListener("beginEvent",function(){n.emit("animationBegin",{element:this,animate:o._node,params:t})}.bind(this)),o._node.addEventListener("endEvent",function(){n&&n.emit("animationEnd",{element:this,animate:o._node,params:t}),i&&(l[r]=t.to,this.attr(l),o.remove())}.bind(this))}t[r]instanceof Array?t[r].forEach(function(t){o.bind(this)(t,!1)}.bind(this)):o.bind(this)(t[r],i)}.bind(this)),this}}),e.Svg.isSupported=function(t){return i.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#"+t,"1.1")};e.Svg.Easing={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]},e.Svg.List=e.Class.extend({constructor:function(t){var i=this;this.svgElements=[];for(var n=0;n<t.length;n++)this.svgElements.push(new e.Svg(t[n]));Object.keys(e.Svg.prototype).filter(function(t){return-1===["constructor","parent","querySelector","querySelectorAll","replace","append","classes","height","width"].indexOf(t)}).forEach(function(t){i[t]=function(){var n=Array.prototype.slice.call(arguments,0);return i.svgElements.forEach(function(i){e.Svg.prototype[t].apply(i,n)}),i}})}})}(this,t),function(t,e){"use strict";function i(t,i,n,r,o,a){var s=e.extend({command:o?t.toLowerCase():t.toUpperCase()},i,a?{data:a}:{});n.splice(r,0,s)}function n(t,e){t.forEach(function(i,n){r[i.command.toLowerCase()].forEach(function(r,o){e(i,r,n,o,t)})})}var r={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},o={accuracy:3};e.Svg.Path=e.Class.extend({constructor:function(t,i){this.pathElements=[],this.pos=0,this.close=t,this.options=e.extend({},o,i)},position:function(t){return void 0!==t?(this.pos=Math.max(0,Math.min(this.pathElements.length,t)),this):this.pos},remove:function(t){return this.pathElements.splice(this.pos,t),this},move:function(t,e,n,r){return i("M",{x:+t,y:+e},this.pathElements,this.pos++,n,r),this},line:function(t,e,n,r){return i("L",{x:+t,y:+e},this.pathElements,this.pos++,n,r),this},curve:function(t,e,n,r,o,a,s,l){return i("C",{x1:+t,y1:+e,x2:+n,y2:+r,x:+o,y:+a},this.pathElements,this.pos++,s,l),this},arc:function(t,e,n,r,o,a,s,l,c){return i("A",{rx:+t,ry:+e,xAr:+n,lAf:+r,sf:+o,x:+a,y:+s},this.pathElements,this.pos++,l,c),this},scale:function(t,e){return n(this.pathElements,function(i,n){i[n]*="x"===n[0]?t:e}),this},translate:function(t,e){return n(this.pathElements,function(i,n){i[n]+="x"===n[0]?t:e}),this},transform:function(t){return n(this.pathElements,function(e,i,n,r,o){var a=t(e,i,n,r,o);(a||0===a)&&(e[i]=a)}),this},parse:function(t){var i=t.replace(/([A-Za-z])([0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce(function(t,e){return e.match(/[A-Za-z]/)&&t.push([]),t[t.length-1].push(e),t},[]);"Z"===i[i.length-1][0].toUpperCase()&&i.pop();var n=i.map(function(t){var i=t.shift(),n=r[i.toLowerCase()];return e.extend({command:i},n.reduce(function(e,i,n){return e[i]=+t[n],e},{}))}),o=[this.pos,0];return Array.prototype.push.apply(o,n),Array.prototype.splice.apply(this.pathElements,o),this.pos+=n.length,this},stringify:function(){var t=Math.pow(10,this.options.accuracy);return this.pathElements.reduce(function(e,i){var n=r[i.command.toLowerCase()].map(function(e){return this.options.accuracy?Math.round(i[e]*t)/t:i[e]}.bind(this));return e+i.command+n.join(",")}.bind(this),"")+(this.close?"Z":"")},clone:function(t){var i=new e.Svg.Path(t||this.close);return i.pos=this.pos,i.pathElements=this.pathElements.slice().map(function(t){return e.extend({},t)}),i.options=e.extend({},this.options),i},splitByCommand:function(t){var i=[new e.Svg.Path];return this.pathElements.forEach(function(n){n.command===t.toUpperCase()&&0!==i[i.length-1].pathElements.length&&i.push(new e.Svg.Path),i[i.length-1].pathElements.push(n)}),i}}),e.Svg.Path.elementDescriptions=r,e.Svg.Path.join=function(t,i,n){for(var r=new e.Svg.Path(i,n),o=0;o<t.length;o++)for(var a=t[o],s=0;s<a.pathElements.length;s++)r.pathElements.push(a.pathElements[s]);return r}}(0,t),function(t,e){"use strict";var i=(t.window,t.document,{x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}});e.Axis=e.Class.extend({constructor:function(t,e,n,r){this.units=t,this.counterUnits=t===i.x?i.y:i.x,this.chartRect=e,this.axisLength=e[t.rectEnd]-e[t.rectStart],this.gridOffset=e[t.rectOffset],this.ticks=n,this.options=r},createGridAndLabels:function(t,i,n,r,o){var a=r["axis"+this.units.pos.toUpperCase()],s=this.ticks.map(this.projectValue.bind(this)),l=this.ticks.map(a.labelInterpolationFnc);s.forEach(function(c,u){var h,d={x:0,y:0};h=s[u+1]?s[u+1]-c:Math.max(this.axisLength-c,30),e.isFalseyButZero(l[u])&&""!==l[u]||("x"===this.units.pos?(c=this.chartRect.x1+c,d.x=r.axisX.labelOffset.x,"start"===r.axisX.position?d.y=this.chartRect.padding.top+r.axisX.labelOffset.y+(n?5:20):d.y=this.chartRect.y1+r.axisX.labelOffset.y+(n?5:20)):(c=this.chartRect.y1-c,d.y=r.axisY.labelOffset.y-(n?h:0),"start"===r.axisY.position?d.x=n?this.chartRect.padding.left+r.axisY.labelOffset.x:this.chartRect.x1-10:d.x=this.chartRect.x2+r.axisY.labelOffset.x+10),a.showGrid&&e.createGrid(c,u,this,this.gridOffset,this.chartRect[this.counterUnits.len](),t,[r.classNames.grid,r.classNames[this.units.dir]],o),a.showLabel&&e.createLabel(c,h,u,l,this,a.offset,d,i,[r.classNames.label,r.classNames[this.units.dir],"start"===a.position?r.classNames[a.position]:r.classNames.end],n,o))}.bind(this))},projectValue:function(t,e,i){throw new Error("Base axis can't be instantiated!")}}),e.Axis.units=i}(this,t),function(t,e){"use strict";t.window,t.document,e.AutoScaleAxis=e.Axis.extend({constructor:function(t,i,n,r){var o=r.highLow||e.getHighLow(i,r,t.pos);this.bounds=e.getBounds(n[t.rectEnd]-n[t.rectStart],o,r.scaleMinSpace||20,r.onlyInteger),this.range={min:this.bounds.min,max:this.bounds.max},e.AutoScaleAxis.super.constructor.call(this,t,n,this.bounds.values,r)},projectValue:function(t){return this.axisLength*(+e.getMultiValue(t,this.units.pos)-this.bounds.min)/this.bounds.range}})}(this,t),function(t,e){"use strict";t.window,t.document,e.FixedScaleAxis=e.Axis.extend({constructor:function(t,i,n,r){var o=r.highLow||e.getHighLow(i,r,t.pos);this.divisor=r.divisor||1,this.ticks=r.ticks||e.times(this.divisor).map(function(t,e){return o.low+(o.high-o.low)/this.divisor*e}.bind(this)),this.ticks.sort(function(t,e){return t-e}),this.range={min:o.low,max:o.high},e.FixedScaleAxis.super.constructor.call(this,t,n,this.ticks,r),this.stepLength=this.axisLength/this.divisor},projectValue:function(t){return this.axisLength*(+e.getMultiValue(t,this.units.pos)-this.range.min)/(this.range.max-this.range.min)}})}(this,t),function(t,e){"use strict";t.window,t.document,e.StepAxis=e.Axis.extend({constructor:function(t,i,n,r){e.StepAxis.super.constructor.call(this,t,n,r.ticks,r);var o=Math.max(1,r.ticks.length-(r.stretch?1:0));this.stepLength=this.axisLength/o},projectValue:function(t,e){return this.stepLength*e}})}(this,t),function(t,e){"use strict";var i=(t.window,t.document,{axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:e.noop,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:e.noop,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}});e.Line=e.Base.extend({constructor:function(t,n,r,o){e.Line.super.constructor.call(this,t,n,i,e.extend({},i,r),o)},createChart:function(t){var n=e.normalizeData(this.data,t.reverseData,!0);this.svg=e.createSvg(this.container,t.width,t.height,t.classNames.chart);var r,o,a=this.svg.elem("g").addClass(t.classNames.gridGroup),s=this.svg.elem("g"),l=this.svg.elem("g").addClass(t.classNames.labelGroup),c=e.createChartRect(this.svg,t,i.padding);r=void 0===t.axisX.type?new e.StepAxis(e.Axis.units.x,n.normalized.series,c,e.extend({},t.axisX,{ticks:n.normalized.labels,stretch:t.fullWidth})):t.axisX.type.call(e,e.Axis.units.x,n.normalized.series,c,t.axisX),o=void 0===t.axisY.type?new e.AutoScaleAxis(e.Axis.units.y,n.normalized.series,c,e.extend({},t.axisY,{high:e.isNumeric(t.high)?t.high:t.axisY.high,low:e.isNumeric(t.low)?t.low:t.axisY.low})):t.axisY.type.call(e,e.Axis.units.y,n.normalized.series,c,t.axisY),r.createGridAndLabels(a,l,this.supportsForeignObject,t,this.eventEmitter),o.createGridAndLabels(a,l,this.supportsForeignObject,t,this.eventEmitter),t.showGridBackground&&e.createGridBackground(a,c,t.classNames.gridBackground,this.eventEmitter),n.raw.series.forEach(function(i,a){var l=s.elem("g");l.attr({"ct:series-name":i.name,"ct:meta":e.serialize(i.meta)}),l.addClass([t.classNames.series,i.className||t.classNames.series+"-"+e.alphaNumerate(a)].join(" "));var u=[],h=[];n.normalized.series[a].forEach(function(t,s){var l={x:c.x1+r.projectValue(t,s,n.normalized.series[a]),y:c.y1-o.projectValue(t,s,n.normalized.series[a])};u.push(l.x,l.y),h.push({value:t,valueIndex:s,meta:e.getMetaData(i,s)})}.bind(this));var d={lineSmooth:e.getSeriesOption(i,t,"lineSmooth"),showPoint:e.getSeriesOption(i,t,"showPoint"),showLine:e.getSeriesOption(i,t,"showLine"),showArea:e.getSeriesOption(i,t,"showArea"),areaBase:e.getSeriesOption(i,t,"areaBase")},f=("function"==typeof d.lineSmooth?d.lineSmooth:d.lineSmooth?e.Interpolation.monotoneCubic():e.Interpolation.none())(u,h);if(d.showPoint&&f.pathElements.forEach(function(n){var s=l.elem("line",{x1:n.x,y1:n.y,x2:n.x+.01,y2:n.y},t.classNames.point).attr({"ct:value":[n.data.value.x,n.data.value.y].filter(e.isNumeric).join(","),"ct:meta":e.serialize(n.data.meta)});this.eventEmitter.emit("draw",{type:"point",value:n.data.value,index:n.data.valueIndex,meta:n.data.meta,series:i,seriesIndex:a,axisX:r,axisY:o,group:l,element:s,x:n.x,y:n.y})}.bind(this)),d.showLine){var p=l.elem("path",{d:f.stringify()},t.classNames.line,!0);this.eventEmitter.emit("draw",{type:"line",values:n.normalized.series[a],path:f.clone(),chartRect:c,index:a,series:i,seriesIndex:a,seriesMeta:i.meta,axisX:r,axisY:o,group:l,element:p})}if(d.showArea&&o.range){var g=Math.max(Math.min(d.areaBase,o.range.max),o.range.min),m=c.y1-o.projectValue(g);f.splitByCommand("M").filter(function(t){return t.pathElements.length>1}).map(function(t){var e=t.pathElements[0],i=t.pathElements[t.pathElements.length-1];return t.clone(!0).position(0).remove(1).move(e.x,m).line(e.x,e.y).position(t.pathElements.length+1).line(i.x,m)}).forEach(function(e){var s=l.elem("path",{d:e.stringify()},t.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:n.normalized.series[a],path:e.clone(),series:i,seriesIndex:a,axisX:r,axisY:o,chartRect:c,index:a,group:l,element:s})}.bind(this))}}.bind(this)),this.eventEmitter.emit("created",{bounds:o.bounds,chartRect:c,axisX:r,axisY:o,svg:this.svg,options:t})}})}(this,t),function(t,e){"use strict";var i=(t.window,t.document,{axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:e.noop,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:e.noop,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}});e.Bar=e.Base.extend({constructor:function(t,n,r,o){e.Bar.super.constructor.call(this,t,n,i,e.extend({},i,r),o)},createChart:function(t){var n,r;t.distributeSeries?(n=e.normalizeData(this.data,t.reverseData,t.horizontalBars?"x":"y")).normalized.series=n.normalized.series.map(function(t){return[t]}):n=e.normalizeData(this.data,t.reverseData,t.horizontalBars?"x":"y"),this.svg=e.createSvg(this.container,t.width,t.height,t.classNames.chart+(t.horizontalBars?" "+t.classNames.horizontalBars:""));var o=this.svg.elem("g").addClass(t.classNames.gridGroup),a=this.svg.elem("g"),s=this.svg.elem("g").addClass(t.classNames.labelGroup);if(t.stackBars&&0!==n.normalized.series.length){var l=e.serialMap(n.normalized.series,function(){return Array.prototype.slice.call(arguments).map(function(t){return t}).reduce(function(t,e){return{x:t.x+(e&&e.x)||0,y:t.y+(e&&e.y)||0}},{x:0,y:0})});r=e.getHighLow([l],t,t.horizontalBars?"x":"y")}else r=e.getHighLow(n.normalized.series,t,t.horizontalBars?"x":"y");r.high=+t.high||(0===t.high?0:r.high),r.low=+t.low||(0===t.low?0:r.low);var c,u,h,d,f,p=e.createChartRect(this.svg,t,i.padding);u=t.distributeSeries&&t.stackBars?n.normalized.labels.slice(0,1):n.normalized.labels,t.horizontalBars?(c=d=void 0===t.axisX.type?new e.AutoScaleAxis(e.Axis.units.x,n.normalized.series,p,e.extend({},t.axisX,{highLow:r,referenceValue:0})):t.axisX.type.call(e,e.Axis.units.x,n.normalized.series,p,e.extend({},t.axisX,{highLow:r,referenceValue:0})),h=f=void 0===t.axisY.type?new e.StepAxis(e.Axis.units.y,n.normalized.series,p,{ticks:u}):t.axisY.type.call(e,e.Axis.units.y,n.normalized.series,p,t.axisY)):(h=d=void 0===t.axisX.type?new e.StepAxis(e.Axis.units.x,n.normalized.series,p,{ticks:u}):t.axisX.type.call(e,e.Axis.units.x,n.normalized.series,p,t.axisX),c=f=void 0===t.axisY.type?new e.AutoScaleAxis(e.Axis.units.y,n.normalized.series,p,e.extend({},t.axisY,{highLow:r,referenceValue:0})):t.axisY.type.call(e,e.Axis.units.y,n.normalized.series,p,e.extend({},t.axisY,{highLow:r,referenceValue:0})));var g=t.horizontalBars?p.x1+c.projectValue(0):p.y1-c.projectValue(0),m=[];h.createGridAndLabels(o,s,this.supportsForeignObject,t,this.eventEmitter),c.createGridAndLabels(o,s,this.supportsForeignObject,t,this.eventEmitter),t.showGridBackground&&e.createGridBackground(o,p,t.classNames.gridBackground,this.eventEmitter),n.raw.series.forEach(function(i,r){var o,s,l=r-(n.raw.series.length-1)/2;o=t.distributeSeries&&!t.stackBars?h.axisLength/n.normalized.series.length/2:t.distributeSeries&&t.stackBars?h.axisLength/2:h.axisLength/n.normalized.series[r].length/2,(s=a.elem("g")).attr({"ct:series-name":i.name,"ct:meta":e.serialize(i.meta)}),s.addClass([t.classNames.series,i.className||t.classNames.series+"-"+e.alphaNumerate(r)].join(" ")),n.normalized.series[r].forEach(function(a,u){var v,y,b,L;if(L=t.distributeSeries&&!t.stackBars?r:t.distributeSeries&&t.stackBars?0:u,v=t.horizontalBars?{x:p.x1+c.projectValue(a&&a.x?a.x:0,u,n.normalized.series[r]),y:p.y1-h.projectValue(a&&a.y?a.y:0,L,n.normalized.series[r])}:{x:p.x1+h.projectValue(a&&a.x?a.x:0,L,n.normalized.series[r]),y:p.y1-c.projectValue(a&&a.y?a.y:0,u,n.normalized.series[r])},h instanceof e.StepAxis&&(h.options.stretch||(v[h.units.pos]+=o*(t.horizontalBars?-1:1)),v[h.units.pos]+=t.stackBars||t.distributeSeries?0:l*t.seriesBarDistance*(t.horizontalBars?-1:1)),b=m[u]||g,m[u]=b-(g-v[h.counterUnits.pos]),void 0!==a){var x={};x[h.units.pos+"1"]=v[h.units.pos],x[h.units.pos+"2"]=v[h.units.pos],!t.stackBars||"accumulate"!==t.stackMode&&t.stackMode?(x[h.counterUnits.pos+"1"]=g,x[h.counterUnits.pos+"2"]=v[h.counterUnits.pos]):(x[h.counterUnits.pos+"1"]=b,x[h.counterUnits.pos+"2"]=m[u]),x.x1=Math.min(Math.max(x.x1,p.x1),p.x2),x.x2=Math.min(Math.max(x.x2,p.x1),p.x2),x.y1=Math.min(Math.max(x.y1,p.y2),p.y1),x.y2=Math.min(Math.max(x.y2,p.y2),p.y1);var w=e.getMetaData(i,u);y=s.elem("line",x,t.classNames.bar).attr({"ct:value":[a.x,a.y].filter(e.isNumeric).join(","),"ct:meta":e.serialize(w)}),this.eventEmitter.emit("draw",e.extend({type:"bar",value:a,index:u,meta:w,series:i,seriesIndex:r,axisX:d,axisY:f,chartRect:p,group:s,element:y},x))}}.bind(this))}.bind(this)),this.eventEmitter.emit("created",{bounds:c.bounds,chartRect:p,axisX:d,axisY:f,svg:this.svg,options:t})}})}(this,t),function(t,e){"use strict";function i(t,e,i){var n=e.x>t.x;return n&&"explode"===i||!n&&"implode"===i?"start":n&&"implode"===i||!n&&"explode"===i?"end":"middle"}var n=(t.window,t.document,{width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",sliceDonutSolid:"ct-slice-donut-solid",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutSolid:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:e.noop,labelDirection:"neutral",reverseData:!1,ignoreEmptyValues:!1});e.Pie=e.Base.extend({constructor:function(t,i,r,o){e.Pie.super.constructor.call(this,t,i,n,e.extend({},n,r),o)},createChart:function(t){var r,o,a,s,l,c=e.normalizeData(this.data),u=[],h=t.startAngle;this.svg=e.createSvg(this.container,t.width,t.height,t.donut?t.classNames.chartDonut:t.classNames.chartPie),o=e.createChartRect(this.svg,t,n.padding),a=Math.min(o.width()/2,o.height()/2),l=t.total||c.normalized.series.reduce(function(t,e){return t+e},0);var d=e.quantity(t.donutWidth);"%"===d.unit&&(d.value*=a/100),a-=t.donut&&!t.donutSolid?d.value/2:0,s="outside"===t.labelPosition||t.donut&&!t.donutSolid?a:"center"===t.labelPosition?0:t.donutSolid?a-d.value/2:a/2,s+=t.labelOffset;var f={x:o.x1+o.width()/2,y:o.y2+o.height()/2},p=1===c.raw.series.filter(function(t){return t.hasOwnProperty("value")?0!==t.value:0!==t}).length;c.raw.series.forEach(function(t,e){u[e]=this.svg.elem("g",null,null)}.bind(this)),t.showLabel&&(r=this.svg.elem("g",null,null)),c.raw.series.forEach(function(n,o){if(0!==c.normalized.series[o]||!t.ignoreEmptyValues){u[o].attr({"ct:series-name":n.name}),u[o].addClass([t.classNames.series,n.className||t.classNames.series+"-"+e.alphaNumerate(o)].join(" "));var g=l>0?h+c.normalized.series[o]/l*360:0,m=Math.max(0,h-(0===o||p?0:.2));g-m>=359.99&&(g=m+359.99);var v,y,b,L=e.polarToCartesian(f.x,f.y,a,m),x=e.polarToCartesian(f.x,f.y,a,g),w=new e.Svg.Path(!t.donut||t.donutSolid).move(x.x,x.y).arc(a,a,0,g-h>180,0,L.x,L.y);t.donut?t.donutSolid&&(b=a-d.value,v=e.polarToCartesian(f.x,f.y,b,h-(0===o||p?0:.2)),y=e.polarToCartesian(f.x,f.y,b,g),w.line(v.x,v.y),w.arc(b,b,0,g-h>180,1,y.x,y.y)):w.line(f.x,f.y);var _=t.classNames.slicePie;t.donut&&(_=t.classNames.sliceDonut,t.donutSolid&&(_=t.classNames.sliceDonutSolid));var S=u[o].elem("path",{d:w.stringify()},_);if(S.attr({"ct:value":c.normalized.series[o],"ct:meta":e.serialize(n.meta)}),t.donut&&!t.donutSolid&&(S._node.style.strokeWidth=d.value+"px"),this.eventEmitter.emit("draw",{type:"slice",value:c.normalized.series[o],totalDataSum:l,index:o,meta:n.meta,series:n,group:u[o],element:S,path:w.clone(),center:f,radius:a,startAngle:h,endAngle:g}),t.showLabel){var C,k;C=1===c.raw.series.length?{x:f.x,y:f.y}:e.polarToCartesian(f.x,f.y,s,h+(g-h)/2),k=c.normalized.labels&&!e.isFalseyButZero(c.normalized.labels[o])?c.normalized.labels[o]:c.normalized.series[o];var T=t.labelInterpolationFnc(k,o);if(T||0===T){var E=r.elem("text",{dx:C.x,dy:C.y,"text-anchor":i(f,C,t.labelDirection)},t.classNames.label).text(""+T);this.eventEmitter.emit("draw",{type:"label",index:o,group:r,element:E,text:""+T,x:C.x,y:C.y})}}h=g}}.bind(this)),this.eventEmitter.emit("created",{chartRect:o,svg:this.svg,options:t})},determineAnchorPosition:i})}(this,t),t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Chart=e()}(this,function(){"use strict";var t={rgb2hsl:e,rgb2hsv:i,rgb2hwb:n,rgb2cmyk:o,rgb2keyword:a,rgb2xyz:s,rgb2lab:l,rgb2lch:function(t){return v(l(t))},hsl2rgb:c,hsl2hsv:function(t){var e=t[0],i=t[1]/100,n=t[2]/100;return 0===n?[0,0,0]:[e,2*(i*=(n*=2)<=1?n:2-n)/(n+i)*100,(n+i)/2*100]},hsl2hwb:function(t){return n(c(t))},hsl2cmyk:function(t){return o(c(t))},hsl2keyword:function(t){return a(c(t))},hsv2rgb:u,hsv2hsl:function(t){var e,i,n=t[0],r=t[1]/100,o=t[2]/100;return e=r*o,[n,100*(e=(e/=(i=(2-r)*o)<=1?i:2-i)||0),100*(i/=2)]},hsv2hwb:function(t){return n(u(t))},hsv2cmyk:function(t){return o(u(t))},hsv2keyword:function(t){return a(u(t))},hwb2rgb:h,hwb2hsl:function(t){return e(h(t))},hwb2hsv:function(t){return i(h(t))},hwb2cmyk:function(t){return o(h(t))},hwb2keyword:function(t){return a(h(t))},cmyk2rgb:d,cmyk2hsl:function(t){return e(d(t))},cmyk2hsv:function(t){return i(d(t))},cmyk2hwb:function(t){return n(d(t))},cmyk2keyword:function(t){return a(d(t))},keyword2rgb:x,keyword2hsl:function(t){return e(x(t))},keyword2hsv:function(t){return i(x(t))},keyword2hwb:function(t){return n(x(t))},keyword2cmyk:function(t){return o(x(t))},keyword2lab:function(t){return l(x(t))},keyword2xyz:function(t){return s(x(t))},xyz2rgb:f,xyz2lab:p,xyz2lch:function(t){return v(p(t))},lab2xyz:m,lab2rgb:y,lab2lch:v,lch2lab:L,lch2xyz:function(t){return m(L(t))},lch2rgb:function(t){return y(L(t))}};function e(t){var e,i,n=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(n,r,o),s=Math.max(n,r,o),l=s-a;return s==a?e=0:n==s?e=(r-o)/l:r==s?e=2+(o-n)/l:o==s&&(e=4+(n-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),i=(a+s)/2,[e,100*(s==a?0:i<=.5?l/(s+a):l/(2-s-a)),100*i]}function i(t){var e,i,n=t[0],r=t[1],o=t[2],a=Math.min(n,r,o),s=Math.max(n,r,o),l=s-a;return i=0==s?0:l/s*1e3/10,s==a?e=0:n==s?e=(r-o)/l:r==s?e=2+(o-n)/l:o==s&&(e=4+(n-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,i,s/255*1e3/10]}function n(t){var i=t[0],n=t[1],r=t[2];return[e(t)[0],1/255*Math.min(i,Math.min(n,r))*100,100*(r=1-1/255*Math.max(i,Math.max(n,r)))]}function o(t){var e,i=t[0]/255,n=t[1]/255,r=t[2]/255;return[100*((1-i-(e=Math.min(1-i,1-n,1-r)))/(1-e)||0),100*((1-n-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]}function a(t){return _[JSON.stringify(t)]}function s(t){var e=t[0]/255,i=t[1]/255,n=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*e+.7152*i+.0722*n),100*(.0193*e+.1192*i+.9505*n)]}function l(t){var e=s(t),i=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,i=(i/=95.047)>.008856?Math.pow(i,1/3):7.787*i+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(i-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function c(t){var e,i,n,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-(i=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var c=0;c<3;c++)(n=a+1/3*-(c-1))<0&&n++,n>1&&n--,o=6*n<1?e+6*(i-e)*n:2*n<1?i:3*n<2?e+(i-e)*(2/3-n)*6:e,r[c]=255*o;return r}function u(t){var e=t[0]/60,i=t[1]/100,n=t[2]/100,r=Math.floor(e)%6,o=e-Math.floor(e),a=255*n*(1-i),s=255*n*(1-i*o),l=255*n*(1-i*(1-o));switch(n*=255,r){case 0:return[n,l,a];case 1:return[s,n,a];case 2:return[a,n,l];case 3:return[a,s,n];case 4:return[l,a,n];case 5:return[n,a,s]}}function h(t){var e,i,n,o,a=t[0]/360,s=t[1]/100,l=t[2]/100,c=s+l;switch(c>1&&(s/=c,l/=c),n=6*a-(e=Math.floor(6*a)),0!=(1&e)&&(n=1-n),o=s+n*((i=1-l)-s),e){default:case 6:case 0:r=i,g=o,b=s;break;case 1:r=o,g=i,b=s;break;case 2:r=s,g=i,b=o;break;case 3:r=s,g=o,b=i;break;case 4:r=o,g=s,b=i;break;case 5:r=i,g=s,b=o}return[255*r,255*g,255*b]}function d(t){var e=t[0]/100,i=t[1]/100,n=t[2]/100,r=t[3]/100;return[255*(1-Math.min(1,e*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]}function f(t){var e,i,n,r=t[0]/100,o=t[1]/100,a=t[2]/100;return i=-.9689*r+1.8758*o+.0415*a,n=.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:e*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(i=Math.min(Math.max(0,i),1)),255*(n=Math.min(Math.max(0,n),1))]}function p(t){var e=t[0],i=t[1],n=t[2];return i/=100,n/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(e-i),200*(i-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]}function m(t){var e,i,n,r,o=t[0],a=t[1],s=t[2];return o<=8?r=(i=100*o/903.3)/100*7.787+16/116:(i=100*Math.pow((o+16)/116,3),r=Math.pow(i/100,1/3)),[e=e/95.047<=.008856?e=95.047*(a/500+r-16/116)/7.787:95.047*Math.pow(a/500+r,3),i,n=n/108.883<=.008859?n=108.883*(r-s/200-16/116)/7.787:108.883*Math.pow(r-s/200,3)]}function v(t){var e,i=t[0],n=t[1],r=t[2];return(e=360*Math.atan2(r,n)/2/Math.PI)<0&&(e+=360),[i,Math.sqrt(n*n+r*r),e]}function y(t){return f(m(t))}function L(t){var e,i=t[0],n=t[1];return e=t[2]/360*2*Math.PI,[i,n*Math.cos(e),n*Math.sin(e)]}function x(t){return w[t]}var w={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]},_={};for(var S in w)_[JSON.stringify(w[S])]=S;var C=function(){return new M};for(var k in t){C[k+"Raw"]=function(e){return function(i){return"number"==typeof i&&(i=Array.prototype.slice.call(arguments)),t[e](i)}}(k);var T=/(\w+)2(\w+)/.exec(k),E=T[1],A=T[2];(C[E]=C[E]||{})[A]=C[k]=function(e){return function(i){"number"==typeof i&&(i=Array.prototype.slice.call(arguments));var n=t[e](i);if("string"==typeof n||void 0===n)return n;for(var r=0;r<n.length;r++)n[r]=Math.round(n[r]);return n}}(k)}var M=function(){this.convs={}};M.prototype.routeSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i))},M.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},M.prototype.getValues=function(t){var e=this.convs[t];if(!e){var i=this.space,n=this.convs[i];e=C[i][t](n),this.convs[t]=e}return e},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(t){M.prototype[t]=function(e){return this.routeSpace(t,arguments)}});var D=C,P={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]},O={getRgba:I,getHsla:N,getRgb:function(t){var e=I(t);return e&&e.slice(0,3)},getHsl:function(t){var e=N(t);return e&&e.slice(0,3)},getHwb:R,getAlpha:function(t){var e=I(t);return e?e[3]:(e=N(t))?e[3]:(e=R(t))?e[3]:void 0},hexString:function(t,e){e=void 0!==e&&3===t.length?e:t[3];return"#"+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?F(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:F,percentString:function(t,e){return e<1||t[3]&&t[3]<1?B(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:B,hslString:function(t,e){return e<1||t[3]&&t[3]<1?z(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:z,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 j[t.slice(0,3)]}};function I(t){if(t){var e=[0,0,0],i=1,n=t.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(n){r=(n=n[1])[3];for(var o=0;o<e.length;o++)e[o]=parseInt(n[o]+n[o],16);r&&(i=Math.round(parseInt(r+r,16)/255*100)/100)}else if(n=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(r=n[2],n=n[1],o=0;o<e.length;o++)e[o]=parseInt(n.slice(2*o,2*o+2),16);r&&(i=Math.round(parseInt(r,16)/255*100)/100)}else if(n=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(n[o+1]);i=parseFloat(n[4])}else if(n=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(n[o+1]));i=parseFloat(n[4])}else if(n=t.match(/(\w+)/)){if("transparent"==n[1])return[0,0,0,0];if(!(e=P[n[1]]))return}for(o=0;o<e.length;o++)e[o]=H(e[o],0,255);return i=i||0==i?H(i,0,1):1,e[3]=i,e}}function N(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[H(parseInt(e[1]),0,360),H(parseFloat(e[2]),0,100),H(parseFloat(e[3]),0,100),H(isNaN(i)?1:i,0,1)]}}}function R(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var i=parseFloat(e[4]);return[H(parseInt(e[1]),0,360),H(parseFloat(e[2]),0,100),H(parseFloat(e[3]),0,100),H(isNaN(i)?1:i,0,1)]}}}function F(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function B(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 z(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function H(t,e,i){return Math.min(Math.max(e,t),i)}function V(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var j={};for(var W in P)j[P[W]]=W;var U=function(t){return t instanceof U?t:this instanceof U?(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=O.getRgba(t))?this.setValues("rgb",e):(e=O.getHsla(t))?this.setValues("hsl",e):(e=O.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 U(t);var e};U.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 O.hexString(this.values.rgb)},rgbString:function(){return O.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return O.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return O.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return O.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return O.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return O.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return O.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=[],i=0;i<t.length;i++){var n=t[i]/255;e[i]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),i=t.luminosity();return e>i?(e+.05)/(i+.05):(i+.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,i=(e[0]+t)%360;return e[0]=i<0?360+i:i,this.setValues("hsl",e),this},mix:function(t,e){var i=t,n=void 0===e?.5:e,r=2*n-1,o=this.alpha()-i.alpha(),a=((r*o==-1?r:(r+o)/(1+r*o))+1)/2,s=1-a;return this.rgb(a*this.red()+s*i.red(),a*this.green()+s*i.green(),a*this.blue()+s*i.blue()).alpha(this.alpha()*n+i.alpha()*(1-n))},toJSON:function(){return this.rgb()},clone:function(){var t,e,i=new U,n=this.values,r=i.values;for(var o in n)n.hasOwnProperty(o)&&(t=n[o],"[object Array]"===(e={}.toString.call(t))?r[o]=t.slice(0):"[object Number]"===e?r[o]=t:console.error("unexpected color value:",t));return i}},U.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},U.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},U.prototype.getValues=function(t){for(var e=this.values,i={},n=0;n<t.length;n++)i[t.charAt(n)]=e[t][n];return 1!==e.alpha&&(i.a=e.alpha),i},U.prototype.setValues=function(t,e){var i,n,r=this.values,o=this.spaces,a=this.maxes,s=1;if(this.valid=!0,"alpha"===t)s=e;else if(e.length)r[t]=e.slice(0,t.length),s=e[t.length];else if(void 0!==e[t.charAt(0)]){for(i=0;i<t.length;i++)r[t][i]=e[t.charAt(i)];s=e.a}else if(void 0!==e[o[t][0]]){var l=o[t];for(i=0;i<t.length;i++)r[t][i]=e[l[i]];s=e.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===s?r.alpha:s)),"alpha"===t)return!1;for(i=0;i<t.length;i++)n=Math.max(0,Math.min(a[t][i],r[t][i])),r[t][i]=Math.round(n);for(var c in o)c!==t&&(r[c]=D[t][c](r[t]));return!0},U.prototype.setSpace=function(t,e){var i=e[0];return void 0===i?this.getValues(t):("number"==typeof i&&(i=Array.prototype.slice.call(e)),this.setValues(t,i),this)},U.prototype.setChannel=function(t,e,i){var n=this.values[t];return void 0===i?n[e]:i===n[e]?this:(n[e]=i,this.setValues(t,n),this)},"undefined"!=typeof window&&(window.Color=U);var Y,G=U,X={noop:function(){},uid:(Y=0,function(){return Y++}),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,i){return X.valueOrDefault(X.isArray(t)?t[e]:t,i)},callback:function(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)},each:function(t,e,i,n){var r,o,a;if(X.isArray(t))if(o=t.length,n)for(r=o-1;r>=0;r--)e.call(i,t[r],r);else for(r=0;r<o;r++)e.call(i,t[r],r);else if(X.isObject(t))for(o=(a=Object.keys(t)).length,r=0;r<o;r++)e.call(i,t[a[r]],a[r])},arrayEquals:function(t,e){var i,n,r,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,n=t.length;i<n;++i)if(r=t[i],o=e[i],r instanceof Array&&o instanceof Array){if(!X.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(t){if(X.isArray(t))return t.map(X.clone);if(X.isObject(t)){for(var e={},i=Object.keys(t),n=i.length,r=0;r<n;++r)e[i[r]]=X.clone(t[i[r]]);return e}return t},_merger:function(t,e,i,n){var r=e[t],o=i[t];X.isObject(r)&&X.isObject(o)?X.merge(r,o,n):e[t]=X.clone(o)},_mergerIf:function(t,e,i){var n=e[t],r=i[t];X.isObject(n)&&X.isObject(r)?X.mergeIf(n,r):e.hasOwnProperty(t)||(e[t]=X.clone(r))},merge:function(t,e,i){var n,r,o,a,s,l=X.isArray(e)?e:[e],c=l.length;if(!X.isObject(t))return t;for(n=(i=i||{}).merger||X._merger,r=0;r<c;++r)if(e=l[r],X.isObject(e))for(s=0,a=(o=Object.keys(e)).length;s<a;++s)n(o[s],t,e,i);return t},mergeIf:function(t,e){return X.merge(t,e,{merger:X._mergerIf})},extend:function(t){for(var e=function(e,i){t[i]=e},i=1,n=arguments.length;i<n;++i)X.each(arguments[i],e);return t},inherits:function(t){var e=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},n=function(){this.constructor=i};return n.prototype=e.prototype,i.prototype=new n,i.extend=X.inherits,t&&X.extend(i.prototype,t),i.__super__=e.prototype,i}},q=X;X.callCallback=X.callback,X.indexOf=function(t,e,i){return Array.prototype.indexOf.call(t,e,i)},X.getValueOrDefault=X.valueOrDefault,X.getValueAtIndexOrDefault=X.valueAtIndexOrDefault;var $={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,i=0,n=1;return 0===t?0:1===t?1:(i||(i=.3),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},easeOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:1===t?1:(i||(i=.3),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},easeInOutElastic:function(t){var e=1.70158,i=0,n=1;return 0===t?0:2==(t/=.5)?1:(i||(i=.45),n<1?(n=1,e=i/4):e=i/(2*Math.PI)*Math.asin(1/n),t<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.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-$.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*$.easeInBounce(2*t):.5*$.easeOutBounce(2*t-1)+.5}},Z={effects:$};q.easingEffects=$;var K=Math.PI,Q=K/180,J=2*K,tt=K/2,et=K/4,it=2*K/3,nt={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,i,n,r,o){if(o){var a=Math.min(o,r/2,n/2),s=e+a,l=i+a,c=e+n-a,u=i+r-a;t.moveTo(e,l),s<c&&l<u?(t.arc(s,l,a,-K,-tt),t.arc(c,l,a,-tt,0),t.arc(c,u,a,0,tt),t.arc(s,u,a,tt,K)):s<c?(t.moveTo(s,i),t.arc(c,l,a,-tt,tt),t.arc(s,l,a,tt,K+tt)):l<u?(t.arc(s,l,a,-K,0),t.arc(s,u,a,0,K)):t.arc(s,l,a,-K,K),t.closePath(),t.moveTo(e,i)}else t.rect(e,i,n,r)},drawPoint:function(t,e,i,n,r,o){var a,s,l,c,u,h=(o||0)*Q;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(a=e.toString())&&"[object HTMLCanvasElement]"!==a){if(!(isNaN(i)||i<=0)){switch(t.beginPath(),e){default:t.arc(n,r,i,0,J),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(h)*i,r-Math.cos(h)*i),h+=it,t.lineTo(n+Math.sin(h)*i,r-Math.cos(h)*i),h+=it,t.lineTo(n+Math.sin(h)*i,r-Math.cos(h)*i),t.closePath();break;case"rectRounded":c=i-(u=.516*i),s=Math.cos(h+et)*c,l=Math.sin(h+et)*c,t.arc(n-s,r-l,u,h-K,h-tt),t.arc(n+l,r-s,u,h-tt,h),t.arc(n+s,r+l,u,h,h+tt),t.arc(n-l,r+s,u,h+tt,h+K),t.closePath();break;case"rect":if(!o){c=Math.SQRT1_2*i,t.rect(n-c,r-c,2*c,2*c);break}h+=et;case"rectRot":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+l,r-s),t.lineTo(n+s,r+l),t.lineTo(n-l,r+s),t.closePath();break;case"crossRot":h+=et;case"cross":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+s,r+l),t.moveTo(n+l,r-s),t.lineTo(n-l,r+s);break;case"star":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+s,r+l),t.moveTo(n+l,r-s),t.lineTo(n-l,r+s),h+=et,s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+s,r+l),t.moveTo(n+l,r-s),t.lineTo(n-l,r+s);break;case"line":s=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-s,r-l),t.lineTo(n+s,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(h)*i,r+Math.sin(h)*i)}t.fill(),t.stroke()}}else t.drawImage(e,n-e.width/2,r-e.height/2,e.width,e.height)},_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,i,n){var r=i.steppedLine;if(r){if("middle"===r){var o=(e.x+i.x)/2;t.lineTo(o,n?i.y:e.y),t.lineTo(o,n?e.y:i.y)}else"after"===r&&!n||"after"!==r&&n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);t.lineTo(i.x,i.y)}else i.tension?t.bezierCurveTo(n?e.controlPointPreviousX:e.controlPointNextX,n?e.controlPointPreviousY:e.controlPointNextY,n?i.controlPointNextX:i.controlPointPreviousX,n?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):t.lineTo(i.x,i.y)}},rt=nt;q.clear=nt.clear,q.drawRoundedRectangle=function(t){t.beginPath(),nt.roundedRect.apply(nt,arguments)};var ot={_set:function(t,e){return q.merge(this[t]||(this[t]={}),e)}};ot._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 at=ot,st=q.valueOrDefault,lt={toLineHeight:function(t,e){var i=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,i,n,r;return q.isObject(t)?(e=+t.top||0,i=+t.right||0,n=+t.bottom||0,r=+t.left||0):e=i=n=r=+t||0,{top:e,right:i,bottom:n,left:r,height:e+n,width:r+i}},_parseFont:function(t){var e=at.global,i=st(t.fontSize,e.defaultFontSize),n={family:st(t.fontFamily,e.defaultFontFamily),lineHeight:q.options.toLineHeight(st(t.lineHeight,e.defaultLineHeight),i),size:i,style:st(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return n.string=function(t){return!t||q.isNullOrUndef(t.size)||q.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(n),n},resolve:function(t,e,i){var n,r,o;for(n=0,r=t.length;n<r;++n)if(void 0!==(o=t[n])&&(void 0!==e&&"function"==typeof o&&(o=o(e)),void 0!==i&&q.isArray(o)&&(o=o[i]),void 0!==o))return o}},ct=q,ut=Z,ht=rt,dt=lt;ct.easing=ut,ct.canvas=ht,ct.options=dt;var ft=function(t){ct.extend(this,t),this.initialize.apply(this,arguments)};ct.extend(ft.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=ct.clone(t._model)),t._start={},t},transition:function(t){var e=this,i=e._model,n=e._start,r=e._view;return i&&1!==t?(r||(r=e._view={}),n||(n=e._start={}),function(t,e,i,n){var r,o,a,s,l,c,u,h,d,f=Object.keys(i);for(r=0,o=f.length;r<o;++r)if(c=i[a=f[r]],e.hasOwnProperty(a)||(e[a]=c),(s=e[a])!==c&&"_"!==a[0]){if(t.hasOwnProperty(a)||(t[a]=s),(u=typeof c)==typeof(l=t[a]))if("string"===u){if((h=G(l)).valid&&(d=G(c)).valid){e[a]=d.mix(h,n).rgbString();continue}}else if(ct.isFinite(l)&&ct.isFinite(c)){e[a]=l+(c-l)*n;continue}e[a]=c}}(n,r,i,t),e):(e._view=i,e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return ct.isNumber(this._model.x)&&ct.isNumber(this._model.y)}}),ft.extend=ct.inherits;var pt=ft,gt=pt.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),mt=gt;Object.defineProperty(gt.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(gt.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),at._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:ct.noop,onComplete:ct.noop}});var vt={animations:[],request:null,addAnimation:function(t,e,i,n){var r,o,a=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=i,n||(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=ct.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=ct.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,i,n,r=this.animations,o=0;o<r.length;)e=(t=r[o]).chart,i=t.numSteps,n=Math.floor((Date.now()-t.startTime)/t.duration*i)+1,t.currentStep=Math.min(n,i),ct.callback(t.render,[e,t],e),ct.callback(t.onAnimationProgress,[t],e),t.currentStep>=i?(ct.callback(t.onAnimationComplete,[t],e),e.animating=!1,r.splice(o,1)):++o}},yt=ct.options.resolve,bt=["push","pop","shift","splice","unshift"];function Lt(t,e){var i=t._chartjs;if(i){var n=i.listeners,r=n.indexOf(e);-1!==r&&n.splice(r,1),n.length>0||(bt.forEach(function(e){delete t[e]}),delete t._chartjs)}}var xt=function(t,e){this.initialize(t,e)};ct.extend(xt.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),i=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=i.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=i.yAxisID||t.chart.options.scales.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&&Lt(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,i=this.getMeta(),n=this.getDataset().data||[],r=i.data;for(t=0,e=n.length;t<e;++t)r[t]=r[t]||this.createMetaData(t);i.dataset=i.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,i=this,n=i.getDataset(),r=n.data||(n.data=[]);i._data!==r&&(i._data&&Lt(i._data,i),r&&Object.isExtensible(r)&&(e=i,(t=r)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),bt.forEach(function(e){var i="onData"+e.charAt(0).toUpperCase()+e.slice(1),n=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=n.apply(this,e);return ct.each(t._chartjs.listeners,function(t){"function"==typeof t[i]&&t[i].apply(t,e)}),r}})}))),i._data=r),i.resyncElements()},update:ct.noop,transition:function(t){for(var e=this.getMeta(),i=e.data||[],n=i.length,r=0;r<n;++r)i[r].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],i=e.length,n=0;for(t.dataset&&t.dataset.draw();n<i;++n)e[n].draw()},removeHoverStyle:function(t){ct.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],i=t._index,n=t.custom||{},r=t._model,o=ct.getHoverColor;t.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=yt([n.hoverBackgroundColor,e.hoverBackgroundColor,o(r.backgroundColor)],void 0,i),r.borderColor=yt([n.hoverBorderColor,e.hoverBorderColor,o(r.borderColor)],void 0,i),r.borderWidth=yt([n.hoverBorderWidth,e.hoverBorderWidth,r.borderWidth],void 0,i)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,i=t.data.length,n=e.length;n<i?t.data.splice(n,i-n):n>i&&this.insertElements(i,n-i)},insertElements:function(t,e){for(var i=0;i<e;++i)this.addElementAndReset(t+i)},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)}}),xt.extend=ct.inherits;var wt=xt;at._set("global",{elements:{arc:{backgroundColor:at.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var _t=pt.extend({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 i=this._view;if(i){for(var n=ct.getAngleFromPoint(i,{x:t,y:e}),r=n.angle,o=n.distance,a=i.startAngle,s=i.endAngle;s<a;)s+=2*Math.PI;for(;r>s;)r-=2*Math.PI;for(;r<a;)r+=2*Math.PI;var l=r>=a&&r<=s,c=o>=i.innerRadius&&o<=i.outerRadius;return l&&c}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,i=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},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,i=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},draw:function(){var t,e=this._chart.ctx,i=this._view,n=i.startAngle,r=i.endAngle,o="inner"===i.borderAlign?.33:0;e.save(),e.beginPath(),e.arc(i.x,i.y,Math.max(i.outerRadius-o,0),n,r),e.arc(i.x,i.y,i.innerRadius,r,n,!0),e.closePath(),e.fillStyle=i.backgroundColor,e.fill(),i.borderWidth&&("inner"===i.borderAlign?(e.beginPath(),t=o/i.outerRadius,e.arc(i.x,i.y,i.outerRadius,n-t,r+t),i.innerRadius>o?(t=o/i.innerRadius,e.arc(i.x,i.y,i.innerRadius-o,r+t,n-t,!0)):e.arc(i.x,i.y,o,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip(),e.beginPath(),e.arc(i.x,i.y,i.outerRadius,n,r),e.arc(i.x,i.y,i.innerRadius,r,n,!0),e.closePath(),e.lineWidth=2*i.borderWidth,e.lineJoin="round"):(e.lineWidth=i.borderWidth,e.lineJoin="bevel"),e.strokeStyle=i.borderColor,e.stroke()),e.restore()}}),St=ct.valueOrDefault,Ct=at.global.defaultColor;at._set("global",{elements:{line:{tension:.4,backgroundColor:Ct,borderWidth:3,borderColor:Ct,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var kt=pt.extend({draw:function(){var t,e,i,n,r=this._view,o=this._chart.ctx,a=r.spanGaps,s=this._children.slice(),l=at.global,c=l.elements.line,u=-1;for(this._loop&&s.length&&s.push(s[0]),o.save(),o.lineCap=r.borderCapStyle||c.borderCapStyle,o.setLineDash&&o.setLineDash(r.borderDash||c.borderDash),o.lineDashOffset=St(r.borderDashOffset,c.borderDashOffset),o.lineJoin=r.borderJoinStyle||c.borderJoinStyle,o.lineWidth=St(r.borderWidth,c.borderWidth),o.strokeStyle=r.borderColor||l.defaultColor,o.beginPath(),u=-1,t=0;t<s.length;++t)e=s[t],i=ct.previousItem(s,t),n=e._view,0===t?n.skip||(o.moveTo(n.x,n.y),u=t):(i=-1===u?i:s[u],n.skip||(u!==t-1&&!a||-1===u?o.moveTo(n.x,n.y):ct.canvas.lineTo(o,i._view,e._view),u=t));o.stroke(),o.restore()}}),Tt=ct.valueOrDefault,Et=at.global.defaultColor;function At(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}at._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Et,borderColor:Et,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Mt=pt.extend({inRange:function(t,e){var i=this._view;return!!i&&Math.pow(t-i.x,2)+Math.pow(e-i.y,2)<Math.pow(i.hitRadius+i.radius,2)},inLabelRange:At,inXRange:At,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,i=this._chart.ctx,n=e.pointStyle,r=e.rotation,o=e.radius,a=e.x,s=e.y,l=at.global,c=l.defaultColor;e.skip||(void 0===t||ct.canvas._isPointInArea(e,t))&&(i.strokeStyle=e.borderColor||c,i.lineWidth=Tt(e.borderWidth,l.elements.point.borderWidth),i.fillStyle=e.backgroundColor||c,ct.canvas.drawPoint(i,n,o,a,s,r))}}),Dt=at.global.defaultColor;function Pt(t){return t&&void 0!==t.width}function Ot(t){var e,i,n,r,o;return Pt(t)?(o=t.width/2,e=t.x-o,i=t.x+o,n=Math.min(t.y,t.base),r=Math.max(t.y,t.base)):(o=t.height/2,e=Math.min(t.x,t.base),i=Math.max(t.x,t.base),n=t.y-o,r=t.y+o),{left:e,top:n,right:i,bottom:r}}function It(t,e,i){return t===e?i:t===i?e:t}function Nt(t,e,i){var n=null===e,r=null===i,o=!(!t||n&&r)&&Ot(t);return o&&(n||e>=o.left&&e<=o.right)&&(r||i>=o.top&&i<=o.bottom)}at._set("global",{elements:{rectangle:{backgroundColor:Dt,borderColor:Dt,borderSkipped:"bottom",borderWidth:0}}});var Rt=pt.extend({draw:function(){var t=this._chart.ctx,e=this._view,i=function(t){var e=Ot(t),i=e.right-e.left,n=e.bottom-e.top,r=function(t,e,i){var n,r,o,a,s=t.borderWidth,l=function(t){var e=t.borderSkipped,i={};return e?(t.horizontal?t.base>t.x&&(e=It(e,"left","right")):t.base<t.y&&(e=It(e,"bottom","top")),i[e]=!0,i):i}(t);return ct.isObject(s)?(n=+s.top||0,r=+s.right||0,o=+s.bottom||0,a=+s.left||0):n=r=o=a=+s||0,{t:l.top||n<0?0:n>i?i:n,r:l.right||r<0?0:r>e?e:r,b:l.bottom||o<0?0:o>i?i:o,l:l.left||a<0?0:a>e?e:a}}(t,i/2,n/2);return{outer:{x:e.left,y:e.top,w:i,h:n},inner:{x:e.left+r.l,y:e.top+r.t,w:i-r.l-r.r,h:n-r.t-r.b}}}(e),n=i.outer,r=i.inner;t.fillStyle=e.backgroundColor,t.fillRect(n.x,n.y,n.w,n.h),n.w===r.w&&n.h===r.h||(t.save(),t.beginPath(),t.rect(n.x,n.y,n.w,n.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 Nt(this._view,t,e)},inLabelRange:function(t,e){var i=this._view;return Pt(i)?Nt(i,t,null):Nt(i,null,e)},inXRange:function(t){return Nt(this._view,t,null)},inYRange:function(t){return Nt(this._view,null,t)},getCenterPoint:function(){var t,e,i=this._view;return Pt(i)?(t=i.x,e=(i.y+i.base)/2):(t=(i.x+i.base)/2,e=i.y),{x:t,y:e}},getArea:function(){var t=this._view;return Pt(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}}}),Ft={},Bt=_t,zt=kt,Ht=Mt,Vt=Rt;Ft.Arc=Bt,Ft.Line=zt,Ft.Point=Ht,Ft.Rectangle=Vt;var jt=ct.options.resolve;at._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}});var Wt=wt.extend({dataElementType:Ft.Rectangle,initialize:function(){var t;wt.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0},update:function(t){var e,i,n=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,i=n.length;e<i;++e)this.updateElement(n[e],e,t)},updateElement:function(t,e,i){var n=this,r=n.getMeta(),o=n.getDataset(),a=n._resolveElementOptions(t,e);t._xScale=n.getScaleForId(r.xAxisID),t._yScale=n.getScaleForId(r.yAxisID),t._datasetIndex=n.index,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:n.chart.data.labels[e]},n._updateElementGeometry(t,e,i),t.pivot()},_updateElementGeometry:function(t,e,i){var n=this,r=t._model,o=n._getValueScale(),a=o.getBasePixel(),s=o.isHorizontal(),l=n._ruler||n.getRuler(),c=n.calculateBarValuePixels(n.index,e),u=n.calculateBarIndexPixels(n.index,e,l);r.horizontal=s,r.base=i?a:c.base,r.x=s?i?a:c.head:u.center,r.y=s?u.center:i?a:c.head,r.height=s?u.size:void 0,r.width=s?void 0:u.size},_getStacks:function(t){var e,i,n=this.chart,r=this._getIndexScale().options.stacked,o=void 0===t?n.data.datasets.length:t+1,a=[];for(e=0;e<o;++e)(i=n.getDatasetMeta(e)).bar&&n.isDatasetVisible(e)&&(!1===r||!0===r&&-1===a.indexOf(i.stack)||void 0===r&&(void 0===i.stack||-1===a.indexOf(i.stack)))&&a.push(i.stack);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var i=this._getStacks(t),n=void 0!==e?i.indexOf(e):-1;return-1===n?i.length-1:n},getRuler:function(){var t,e,i=this._getIndexScale(),n=this.getStackCount(),r=this.index,o=i.isHorizontal(),a=o?i.left:i.top,s=a+(o?i.width:i.height),l=[];for(t=0,e=this.getMeta().data.length;t<e;++t)l.push(i.getPixelForValue(null,t,r));return{min:ct.isNullOrUndef(i.options.barThickness)?function(t,e){var i,n,r,o,a=t.isHorizontal()?t.width:t.height,s=t.getTicks();for(r=1,o=e.length;r<o;++r)a=Math.min(a,Math.abs(e[r]-e[r-1]));for(r=0,o=s.length;r<o;++r)n=t.getPixelForTick(r),a=r>0?Math.min(a,n-i):a,i=n;return a}(i,l):-1,pixels:l,start:a,end:s,stackCount:n,scale:i}},calculateBarValuePixels:function(t,e){var i,n,r,o,a,s,l=this.chart,c=this.getMeta(),u=this._getValueScale(),h=u.isHorizontal(),d=l.data.datasets,f=+u.getRightValue(d[t].data[e]),p=u.options.minBarLength,g=u.options.stacked,m=c.stack,v=0;if(g||void 0===g&&void 0!==m)for(i=0;i<t;++i)(n=l.getDatasetMeta(i)).bar&&n.stack===m&&n.controller._getValueScaleId()===u.id&&l.isDatasetVisible(i)&&(r=+u.getRightValue(d[i].data[e]),(f<0&&r<0||f>=0&&r>0)&&(v+=r));return o=u.getPixelForValue(v),s=(a=u.getPixelForValue(v+f))-o,void 0!==p&&Math.abs(s)<p&&(s=p,a=f>=0&&!h||f<0&&h?o-p:o+p),{size:s,base:o,head:a,center:a+s/2}},calculateBarIndexPixels:function(t,e,i){var n=i.scale.options,r="flex"===n.barThickness?function(t,e,i){var n,r=e.pixels,o=r[t],a=t>0?r[t-1]:null,s=t<r.length-1?r[t+1]:null,l=i.categoryPercentage;return null===a&&(a=o-(null===s?e.end-e.start:s-o)),null===s&&(s=o+o-a),n=o-(o-Math.min(a,s))/2*l,{chunk:Math.abs(s-a)/2*l/e.stackCount,ratio:i.barPercentage,start:n}}(e,i,n):function(t,e,i){var n,r,o=i.barThickness,a=e.stackCount,s=e.pixels[t];return ct.isNullOrUndef(o)?(n=e.min*i.categoryPercentage,r=i.barPercentage):(n=o*a,r=1),{chunk:n/a,ratio:r,start:s-n/2}}(e,i,n),o=this.getStackIndex(t,this.getMeta().stack),a=r.start+r.chunk*o+r.chunk/2,s=Math.min(ct.valueOrDefault(n.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(),i=this.getMeta().data,n=this.getDataset(),r=i.length,o=0;for(ct.canvas.clipArea(t.ctx,t.chartArea);o<r;++o)isNaN(e.getRightValue(n.data[o]))||i[o].draw();ct.canvas.unclipArea(t.ctx)},_resolveElementOptions:function(t,e){var i,n,r,o=this.chart,a=o.data.datasets[this.index],s=t.custom||{},l=o.options.elements.rectangle,c={},u={chart:o,dataIndex:e,dataset:a,datasetIndex:this.index},h=["backgroundColor","borderColor","borderSkipped","borderWidth"];for(i=0,n=h.length;i<n;++i)c[r=h[i]]=jt([s[r],a[r],l[r]],u,e);return c}}),Ut=ct.valueOrDefault,Yt=ct.options.resolve;at._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){var i=e.datasets[t.datasetIndex].label||"",n=e.datasets[t.datasetIndex].data[t.index];return i+": ("+t.xLabel+", "+t.yLabel+", "+n.r+")"}}}});var Gt=wt.extend({dataElementType:Ft.Point,update:function(t){var e=this,i=e.getMeta().data;ct.each(i,function(i,n){e.updateElement(i,n,t)})},updateElement:function(t,e,i){var n=this,r=n.getMeta(),o=t.custom||{},a=n.getScaleForId(r.xAxisID),s=n.getScaleForId(r.yAxisID),l=n._resolveElementOptions(t,e),c=n.getDataset().data[e],u=n.index,h=i?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof c?c:NaN,e,u),d=i?s.getBasePixel():s.getPixelForValue(c,e,u);t._xScale=a,t._yScale=s,t._options=l,t._datasetIndex=u,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:i?0:l.radius,skip:o.skip||isNaN(h)||isNaN(d),x:h,y:d},t.pivot()},setHoverStyle:function(t){var e=t._model,i=t._options,n=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Ut(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=Ut(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=Ut(i.hoverBorderWidth,i.borderWidth),e.radius=i.radius+i.hoverRadius},_resolveElementOptions:function(t,e){var i,n,r,o=this.chart,a=o.data.datasets[this.index],s=t.custom||{},l=o.options.elements.point,c=a.data[e],u={},h={chart:o,dataIndex:e,dataset:a,datasetIndex:this.index},d=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(i=0,n=d.length;i<n;++i)u[r=d[i]]=Yt([s[r],a[r],l[r]],h,e);return u.radius=Yt([s.radius,c?c.r:void 0,a.radius,l.radius],h,e),u}}),Xt=ct.options.resolve,qt=ct.valueOrDefault;at._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');var i=t.data,n=i.datasets,r=i.labels;if(n.length)for(var o=0;o<n[0].data.length;++o)e.push('<li><span style="background-color:'+n[0].backgroundColor[o]+'"></span>'),r[o]&&e.push(r[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var r=t.getDatasetMeta(0),o=e.datasets[0],a=r.data[n],s=a&&a.custom||{},l=t.options.elements.arc;return{text:i,fillStyle:Xt([s.backgroundColor,o.backgroundColor,l.backgroundColor],void 0,n),strokeStyle:Xt([s.borderColor,o.borderColor,l.borderColor],void 0,n),lineWidth:Xt([s.borderWidth,o.borderWidth,l.borderWidth],void 0,n),hidden:isNaN(o.data[n])||r.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,r,o=e.index,a=this.chart;for(i=0,n=(a.data.datasets||[]).length;i<n;++i)(r=a.getDatasetMeta(i)).data[o]&&(r.data[o].hidden=!r.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var i=e.labels[t.index],n=": "+e.datasets[t.datasetIndex].data[t.index];return ct.isArray(i)?(i=i.slice())[0]+=n:i+=n,i}}}});var $t=wt.extend({dataElementType:Ft.Arc,linkScales:ct.noop,getRingIndex:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&++e;return e},update:function(t){var e,i,n=this,r=n.chart,o=r.chartArea,a=r.options,s=o.right-o.left,l=o.bottom-o.top,c=Math.min(s,l),u={x:0,y:0},h=n.getMeta(),d=h.data,f=a.cutoutPercentage,p=a.circumference,g=n._getRingWeight(n.index);if(p<2*Math.PI){var m=a.rotation%(2*Math.PI),v=(m+=2*Math.PI*(m>=Math.PI?-1:m<-Math.PI?1:0))+p,y={x:Math.cos(m),y:Math.sin(m)},b={x:Math.cos(v),y:Math.sin(v)},L=m<=0&&v>=0||m<=2*Math.PI&&2*Math.PI<=v,x=m<=.5*Math.PI&&.5*Math.PI<=v||m<=2.5*Math.PI&&2.5*Math.PI<=v,w=m<=-Math.PI&&-Math.PI<=v||m<=Math.PI&&Math.PI<=v,_=m<=.5*-Math.PI&&.5*-Math.PI<=v||m<=1.5*Math.PI&&1.5*Math.PI<=v,S=f/100,C={x:w?-1:Math.min(y.x*(y.x<0?1:S),b.x*(b.x<0?1:S)),y:_?-1:Math.min(y.y*(y.y<0?1:S),b.y*(b.y<0?1:S))},k={x:L?1:Math.max(y.x*(y.x>0?1:S),b.x*(b.x>0?1:S)),y:x?1:Math.max(y.y*(y.y>0?1:S),b.y*(b.y>0?1:S))},T={width:.5*(k.x-C.x),height:.5*(k.y-C.y)};c=Math.min(s/T.width,l/T.height),u={x:-.5*(k.x+C.x),y:-.5*(k.y+C.y)}}for(e=0,i=d.length;e<i;++e)d[e]._options=n._resolveElementOptions(d[e],e);for(r.borderWidth=n.getMaxBorderWidth(),r.outerRadius=Math.max((c-r.borderWidth)/2,0),r.innerRadius=Math.max(f?r.outerRadius/100*f:0,0),r.radiusLength=(r.outerRadius-r.innerRadius)/(n._getVisibleDatasetWeightTotal()||1),r.offsetX=u.x*r.outerRadius,r.offsetY=u.y*r.outerRadius,h.total=n.calculateTotal(),n.outerRadius=r.outerRadius-r.radiusLength*n._getRingWeightOffset(n.index),n.innerRadius=Math.max(n.outerRadius-r.radiusLength*g,0),e=0,i=d.length;e<i;++e)n.updateElement(d[e],e,t)},updateElement:function(t,e,i){var n=this,r=n.chart,o=r.chartArea,a=r.options,s=a.animation,l=(o.left+o.right)/2,c=(o.top+o.bottom)/2,u=a.rotation,h=a.rotation,d=n.getDataset(),f=i&&s.animateRotate?0:t.hidden?0:n.calculateCircumference(d.data[e])*(a.circumference/(2*Math.PI)),p=i&&s.animateScale?0:n.innerRadius,g=i&&s.animateScale?0:n.outerRadius,m=t._options||{};ct.extend(t,{_datasetIndex:n.index,_index:e,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+r.offsetX,y:c+r.offsetY,startAngle:u,endAngle:h,circumference:f,outerRadius:g,innerRadius:p,label:ct.valueAtIndexOrDefault(d.label,e,r.data.labels[e])}});var v=t._model;i&&s.animateRotate||(v.startAngle=0===e?a.rotation:n.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),i=this.getMeta(),n=0;return ct.each(i.data,function(i,r){t=e.data[r],isNaN(t)||i.hidden||(n+=Math.abs(t))}),n},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,i,n,r,o,a,s,l,c=0,u=this.chart;if(!t)for(e=0,i=u.data.datasets.length;e<i;++e)if(u.isDatasetVisible(e)){t=(n=u.getDatasetMeta(e)).data,e!==this.index&&(o=n.controller);break}if(!t)return 0;for(e=0,i=t.length;e<i;++e)r=t[e],"inner"!==(a=o?o._resolveElementOptions(r,e):r._options).borderAlign&&(s=a.borderWidth,c=(l=a.hoverBorderWidth)>(c=s>c?s:c)?l:c);return c},setHoverStyle:function(t){var e=t._model,i=t._options,n=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=qt(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=qt(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=qt(i.hoverBorderWidth,i.borderWidth)},_resolveElementOptions:function(t,e){var i,n,r,o=this.chart,a=this.getDataset(),s=t.custom||{},l=o.options.elements.arc,c={},u={chart:o,dataIndex:e,dataset:a,datasetIndex:this.index},h=["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"];for(i=0,n=h.length;i<n;++i)c[r=h[i]]=Xt([s[r],a[r],l[r]],u,e);return c},_getRingWeightOffset:function(t){for(var e=0,i=0;i<t;++i)this.chart.isDatasetVisible(i)&&(e+=this._getRingWeight(i));return e},_getRingWeight:function(t){return Math.max(qt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});at._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}});var Zt=Wt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Kt=ct.valueOrDefault,Qt=ct.options.resolve,Jt=ct.canvas._isPointInArea;function te(t,e){return Kt(t.showLine,e.showLines)}at._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 ee=wt.extend({datasetElementType:Ft.Line,dataElementType:Ft.Point,update:function(t){var e,i,n=this,r=n.getMeta(),o=r.dataset,a=r.data||[],s=n.getScaleForId(r.yAxisID),l=n.getDataset(),c=te(l,n.chart.options);for(c&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=n.index,o._children=a,o._model=n._resolveLineOptions(o),o.pivot()),e=0,i=a.length;e<i;++e)n.updateElement(a[e],e,t);for(c&&0!==o._model.tension&&n.updateBezierControlPoints(),e=0,i=a.length;e<i;++e)a[e].pivot()},updateElement:function(t,e,i){var n,r,o=this,a=o.getMeta(),s=t.custom||{},l=o.getDataset(),c=o.index,u=l.data[e],h=o.getScaleForId(a.yAxisID),d=o.getScaleForId(a.xAxisID),f=a.dataset._model,p=o._resolvePointOptions(t,e);n=d.getPixelForValue("object"==typeof u?u:NaN,e,c),r=i?h.getBasePixel():o.calculatePointY(u,e,c),t._xScale=d,t._yScale=h,t._options=p,t._datasetIndex=c,t._index=e,t._model={x:n,y:r,skip:s.skip||isNaN(n)||isNaN(r),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:Kt(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:p.hitRadius}},_resolvePointOptions:function(t,e){var i,n,r,o=this.chart,a=o.data.datasets[this.index],s=t.custom||{},l=o.options.elements.point,c={},u={chart:o,dataIndex:e,dataset:a,datasetIndex:this.index},h={backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},d=Object.keys(h);for(i=0,n=d.length;i<n;++i)c[r=d[i]]=Qt([s[r],a[h[r]],a[r],l[r]],u,e);return c},_resolveLineOptions:function(t){var e,i,n,r=this.chart,o=r.data.datasets[this.index],a=t.custom||{},s=r.options,l=s.elements.line,c={},u=["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill","cubicInterpolationMode"];for(e=0,i=u.length;e<i;++e)c[n=u[e]]=Qt([a[n],o[n],l[n]]);return c.spanGaps=Kt(o.spanGaps,s.spanGaps),c.tension=Kt(o.lineTension,l.tension),c.steppedLine=Qt([a.steppedLine,o.steppedLine,l.stepped]),c},calculatePointY:function(t,e,i){var n,r,o,a=this.chart,s=this.getMeta(),l=this.getScaleForId(s.yAxisID),c=0,u=0;if(l.options.stacked){for(n=0;n<i;n++)if(r=a.data.datasets[n],"line"===(o=a.getDatasetMeta(n)).type&&o.yAxisID===l.id&&a.isDatasetVisible(n)){var h=Number(l.getRightValue(r.data[e]));h<0?u+=h||0:c+=h||0}var d=Number(l.getRightValue(t));return d<0?l.getPixelForValue(u+d):l.getPixelForValue(c+d)}return l.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,i,n,r=this.chart,o=this.getMeta(),a=o.dataset._model,s=r.chartArea,l=o.data||[];function c(t,e,i){return Math.max(Math.min(t,i),e)}if(a.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),"monotone"===a.cubicInterpolationMode)ct.splineCurveMonotone(l);else for(t=0,e=l.length;t<e;++t)i=l[t]._model,n=ct.splineCurve(ct.previousItem(l,t)._model,i,ct.nextItem(l,t)._model,a.tension),i.controlPointPreviousX=n.previous.x,i.controlPointPreviousY=n.previous.y,i.controlPointNextX=n.next.x,i.controlPointNextY=n.next.y;if(r.options.elements.line.capBezierPoints)for(t=0,e=l.length;t<e;++t)i=l[t]._model,Jt(i,s)&&(t>0&&Jt(l[t-1]._model,s)&&(i.controlPointPreviousX=c(i.controlPointPreviousX,s.left,s.right),i.controlPointPreviousY=c(i.controlPointPreviousY,s.top,s.bottom)),t<l.length-1&&Jt(l[t+1]._model,s)&&(i.controlPointNextX=c(i.controlPointNextX,s.left,s.right),i.controlPointNextY=c(i.controlPointNextY,s.top,s.bottom)))},draw:function(){var t,e=this.chart,i=this.getMeta(),n=i.data||[],r=e.chartArea,o=n.length,a=0;for(te(this.getDataset(),e.options)&&(t=(i.dataset._model.borderWidth||0)/2,ct.canvas.clipArea(e.ctx,{left:r.left,right:r.right,top:r.top-t,bottom:r.bottom+t}),i.dataset.draw(),ct.canvas.unclipArea(e.ctx));a<o;++a)n[a].draw(r)},setHoverStyle:function(t){var e=t._model,i=t._options,n=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Kt(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=Kt(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=Kt(i.hoverBorderWidth,i.borderWidth),e.radius=Kt(i.hoverRadius,i.radius)}}),ie=ct.options.resolve;at._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=[];e.push('<ul class="'+t.id+'-legend">');var i=t.data,n=i.datasets,r=i.labels;if(n.length)for(var o=0;o<n[0].data.length;++o)e.push('<li><span style="background-color:'+n[0].backgroundColor[o]+'"></span>'),r[o]&&e.push(r[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var r=t.getDatasetMeta(0),o=e.datasets[0],a=r.data[n].custom||{},s=t.options.elements.arc;return{text:i,fillStyle:ie([a.backgroundColor,o.backgroundColor,s.backgroundColor],void 0,n),strokeStyle:ie([a.borderColor,o.borderColor,s.borderColor],void 0,n),lineWidth:ie([a.borderWidth,o.borderWidth,s.borderWidth],void 0,n),hidden:isNaN(o.data[n])||r.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,r,o=e.index,a=this.chart;for(i=0,n=(a.data.datasets||[]).length;i<n;++i)(r=a.getDatasetMeta(i)).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 ne=wt.extend({dataElementType:Ft.Arc,linkScales:ct.noop,update:function(t){var e,i,n,r=this,o=r.getDataset(),a=r.getMeta(),s=r.chart.options.startAngle||0,l=r._starts=[],c=r._angles=[],u=a.data;for(r._updateRadius(),a.count=r.countVisibleElements(),e=0,i=o.data.length;e<i;e++)l[e]=s,n=r._computeAngle(e),c[e]=n,s+=n;for(e=0,i=u.length;e<i;++e)u[e]._options=r._resolveElementOptions(u[e],e),r.updateElement(u[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,i=e.chartArea,n=e.options,r=Math.min(i.right-i.left,i.bottom-i.top);e.outerRadius=Math.max(r/2,0),e.innerRadius=Math.max(n.cutoutPercentage?e.outerRadius/100*n.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,i){var n=this,r=n.chart,o=n.getDataset(),a=r.options,s=a.animation,l=r.scale,c=r.data.labels,u=l.xCenter,h=l.yCenter,d=a.startAngle,f=t.hidden?0:l.getDistanceFromCenterForValue(o.data[e]),p=n._starts[e],g=p+(t.hidden?0:n._angles[e]),m=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[e]),v=t._options||{};ct.extend(t,{_datasetIndex:n.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:u,y:h,innerRadius:0,outerRadius:i?m:f,startAngle:i&&s.animateRotate?d:p,endAngle:i&&s.animateRotate?d:g,label:ct.valueAtIndexOrDefault(c,e,c[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),i=0;return ct.each(e.data,function(e,n){isNaN(t.data[n])||e.hidden||i++}),i},setHoverStyle:function(t){var e=t._model,i=t._options,n=ct.getHoverColor,r=ct.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=r(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=r(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=r(i.hoverBorderWidth,i.borderWidth)},_resolveElementOptions:function(t,e){var i,n,r,o=this.chart,a=this.getDataset(),s=t.custom||{},l=o.options.elements.arc,c={},u={chart:o,dataIndex:e,dataset:a,datasetIndex:this.index},h=["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"];for(i=0,n=h.length;i<n;++i)c[r=h[i]]=ie([s[r],a[r],l[r]],u,e);return c},_computeAngle:function(t){var e=this,i=this.getMeta().count,n=e.getDataset(),r=e.getMeta();if(isNaN(n.data[t])||r.data[t].hidden)return 0;var o={chart:e.chart,dataIndex:t,dataset:n,datasetIndex:e.index};return ie([e.chart.options.elements.arc.angle,2*Math.PI/i],o,t)}});at._set("pie",ct.clone(at.doughnut)),at._set("pie",{cutoutPercentage:0});var re=$t,oe=ct.valueOrDefault,ae=ct.options.resolve;at._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}});var se=wt.extend({datasetElementType:Ft.Line,dataElementType:Ft.Point,linkScales:ct.noop,update:function(t){var e,i,n=this,r=n.getMeta(),o=r.dataset,a=r.data||[],s=n.chart.scale,l=n.getDataset();for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=n.index,o._children=a,o._loop=!0,o._model=n._resolveLineOptions(o),o.pivot(),e=0,i=a.length;e<i;++e)n.updateElement(a[e],e,t);for(n.updateBezierControlPoints(),e=0,i=a.length;e<i;++e)a[e].pivot()},updateElement:function(t,e,i){var n=this,r=t.custom||{},o=n.getDataset(),a=n.chart.scale,s=a.getPointPositionForValue(e,o.data[e]),l=n._resolvePointOptions(t,e),c=n.getMeta().dataset._model,u=i?a.xCenter:s.x,h=i?a.yCenter:s.y;t._scale=a,t._options=l,t._datasetIndex=n.index,t._index=e,t._model={x:u,y:h,skip:r.skip||isNaN(u)||isNaN(h),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:oe(r.tension,c?c.tension:0),hitRadius:l.hitRadius}},_resolvePointOptions:function(t,e){var i,n,r,o=this.chart,a=o.data.datasets[this.index],s=t.custom||{},l=o.options.elements.point,c={},u={chart:o,dataIndex:e,dataset:a,datasetIndex:this.index},h={backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},d=Object.keys(h);for(i=0,n=d.length;i<n;++i)c[r=d[i]]=ae([s[r],a[h[r]],a[r],l[r]],u,e);return c},_resolveLineOptions:function(t){var e,i,n,r=this.chart,o=r.data.datasets[this.index],a=t.custom||{},s=r.options.elements.line,l={},c=["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"];for(e=0,i=c.length;e<i;++e)l[n=c[e]]=ae([a[n],o[n],s[n]]);return l.tension=oe(o.lineTension,s.tension),l},updateBezierControlPoints:function(){var t,e,i,n,r=this.getMeta(),o=this.chart.chartArea,a=r.data||[];function s(t,e,i){return Math.max(Math.min(t,i),e)}for(t=0,e=a.length;t<e;++t)i=a[t]._model,n=ct.splineCurve(ct.previousItem(a,t,!0)._model,i,ct.nextItem(a,t,!0)._model,i.tension),i.controlPointPreviousX=s(n.previous.x,o.left,o.right),i.controlPointPreviousY=s(n.previous.y,o.top,o.bottom),i.controlPointNextX=s(n.next.x,o.left,o.right),i.controlPointNextY=s(n.next.y,o.top,o.bottom)},setHoverStyle:function(t){var e=t._model,i=t._options,n=ct.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=oe(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=oe(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=oe(i.hoverBorderWidth,i.borderWidth),e.radius=oe(i.hoverRadius,i.radius)}});at._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}});var le={bar:Wt,bubble:Gt,doughnut:$t,horizontalBar:Zt,line:ee,polarArea:ne,pie:re,radar:se,scatter:ee};function ce(t,e){return t.native?{x:t.x,y:t.y}:ct.getRelativePosition(t,e)}function ue(t,e){var i,n,r,o,a;for(n=0,o=t.data.datasets.length;n<o;++n)if(t.isDatasetVisible(n))for(r=0,a=(i=t.getDatasetMeta(n)).data.length;r<a;++r){var s=i.data[r];s._view.skip||e(s)}}function he(t,e){var i=[];return ue(t,function(t){t.inRange(e.x,e.y)&&i.push(t)}),i}function de(t,e,i,n){var r=Number.POSITIVE_INFINITY,o=[];return ue(t,function(t){if(!i||t.inRange(e.x,e.y)){var a=t.getCenterPoint(),s=n(e,a);s<r?(o=[t],r=s):s===r&&o.push(t)}}),o}function fe(t){var e=-1!==t.indexOf("x"),i=-1!==t.indexOf("y");return function(t,n){var r=e?Math.abs(t.x-n.x):0,o=i?Math.abs(t.y-n.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function pe(t,e,i){var n=ce(e,t);i.axis=i.axis||"x";var r=fe(i.axis),o=i.intersect?he(t,n):de(t,n,!1,r),a=[];return o.length?(t.data.datasets.forEach(function(e,i){if(t.isDatasetVisible(i)){var n=t.getDatasetMeta(i).data[o[0]._index];n&&!n._view.skip&&a.push(n)}}),a):[]}var ge={modes:{single:function(t,e){var i=ce(e,t),n=[];return ue(t,function(t){if(t.inRange(i.x,i.y))return n.push(t),n}),n.slice(0,1)},label:pe,index:pe,dataset:function(t,e,i){var n=ce(e,t);i.axis=i.axis||"xy";var r=fe(i.axis),o=i.intersect?he(t,n):de(t,n,!1,r);return o.length>0&&(o=t.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(t,e){return pe(t,e,{intersect:!1})},point:function(t,e){return he(t,ce(e,t))},nearest:function(t,e,i){var n=ce(e,t);i.axis=i.axis||"xy";var r=fe(i.axis);return de(t,n,i.intersect,r)},x:function(t,e,i){var n=ce(e,t),r=[],o=!1;return ue(t,function(t){t.inXRange(n.x)&&r.push(t),t.inRange(n.x,n.y)&&(o=!0)}),i.intersect&&!o&&(r=[]),r},y:function(t,e,i){var n=ce(e,t),r=[],o=!1;return ue(t,function(t){t.inYRange(n.y)&&r.push(t),t.inRange(n.x,n.y)&&(o=!0)}),i.intersect&&!o&&(r=[]),r}}};function me(t,e){return ct.where(t,function(t){return t.position===e})}function ve(t,e){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,i){var n=e?i:t,r=e?t:i;return n.weight===r.weight?n._tmpIndex_-r._tmpIndex_:n.weight-r.weight}),t.forEach(function(t){delete t._tmpIndex_})}function ye(t,e){ct.each(t,function(t){e[t.position]+=t.isHorizontal()?t.height:t.width})}at._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var be={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var i=t.boxes?t.boxes.indexOf(e):-1;-1!==i&&t.boxes.splice(i,1)},configure:function(t,e,i){for(var n,r=["fullWidth","position","weight"],o=r.length,a=0;a<o;++a)n=r[a],i.hasOwnProperty(n)&&(e[n]=i[n])},update:function(t,e,i){if(t){var n=t.options.layout||{},r=ct.options.toPadding(n.padding),o=r.left,a=r.right,s=r.top,l=r.bottom,c=me(t.boxes,"left"),u=me(t.boxes,"right"),h=me(t.boxes,"top"),d=me(t.boxes,"bottom"),f=me(t.boxes,"chartArea");ve(c,!0),ve(u,!1),ve(h,!0),ve(d,!1);var p,g=c.concat(u),m=h.concat(d),v=g.concat(m),y=e-o-a,b=i-s-l,L=(e-y/2)/g.length,x=y,w=b,_={top:s,left:o,bottom:l,right:a},S=[];ct.each(v,function(t){var e,i=t.isHorizontal();i?(e=t.update(t.fullWidth?y:x,b/2),w-=e.height):(e=t.update(L,w),x-=e.width),S.push({horizontal:i,width:e.width,box:t})}),p=function(t){var e=0,i=0,n=0,r=0;return ct.each(t,function(t){if(t.getPadding){var o=t.getPadding();e=Math.max(e,o.top),i=Math.max(i,o.left),n=Math.max(n,o.bottom),r=Math.max(r,o.right)}}),{top:e,left:i,bottom:n,right:r}}(v),ct.each(g,D),ye(g,_),ct.each(m,D),ye(m,_),ct.each(g,function(t){var e=ct.findNextWhere(S,function(e){return e.box===t}),i={left:0,right:0,top:_.top,bottom:_.bottom};e&&t.update(e.width,w,i)}),ye(v,_={top:s,left:o,bottom:l,right:a});var C=Math.max(p.left-_.left,0);_.left+=C,_.right+=Math.max(p.right-_.right,0);var k=Math.max(p.top-_.top,0);_.top+=k,_.bottom+=Math.max(p.bottom-_.bottom,0);var T=i-_.top-_.bottom,E=e-_.left-_.right;E===x&&T===w||(ct.each(g,function(t){t.height=T}),ct.each(m,function(t){t.fullWidth||(t.width=E)}),w=T,x=E);var A=o+C,M=s+k;ct.each(c.concat(h),P),A+=x,M+=w,ct.each(u,P),ct.each(d,P),t.chartArea={left:_.left,top:_.top,right:_.left+x,bottom:_.top+w},ct.each(f,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(x,w)})}function D(t){var e=ct.findNextWhere(S,function(e){return e.box===t});if(e)if(e.horizontal){var i={left:Math.max(_.left,p.left),right:Math.max(_.right,p.right),top:0,bottom:0};t.update(t.fullWidth?y:x,b/2,i)}else t.update(e.width,w)}function P(t){t.isHorizontal()?(t.left=t.fullWidth?o:_.left,t.right=t.fullWidth?e-a:_.left+x,t.top=M,t.bottom=M+t.height,M=t.bottom):(t.left=A,t.right=A+t.width,t.top=_.top,t.bottom=_.top+w,A=t.right)}}};function Le(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var xe,we=(xe=Object.freeze({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}"}))&&xe.default||xe,_e="$chartjs",Se="chartjs-size-monitor",Ce="chartjs-render-monitor",ke="chartjs-render-animation",Te=["animationstart","webkitAnimationStart"],Ee={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function Ae(t,e){var i=ct.getStyle(t,e),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?Number(n[1]):void 0}var Me=!!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 De(t,e,i){t.addEventListener(e,i,Me)}function Pe(t,e,i){t.removeEventListener(e,i,Me)}function Oe(t,e,i,n,r){return{type:t,chart:e,native:r||null,x:void 0!==i?i:null,y:void 0!==n?n:null}}function Ie(t){var e=document.createElement("div");return e.className=t||"",e}var Ne={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(){var t,e;this._loaded||(this._loaded=!0,this.disableCSSInjection||(t=we,e=this._style||document.createElement("style"),this._style||(this._style=e,t="/* Chart.js */\n"+t,e.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(e)),e.appendChild(document.createTextNode(t))))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var i=t&&t.getContext&&t.getContext("2d");return this._ensureLoaded(),i&&i.canvas===t?(function(t,e){var i=t.style,n=t.getAttribute("height"),r=t.getAttribute("width");if(t[_e]={initial:{height:n,width:r,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===r||""===r){var o=Ae(t,"width");void 0!==o&&(t.width=o)}if(null===n||""===n)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=Ae(t,"height");void 0!==o&&(t.height=a)}}(t,e),i):null},releaseContext:function(t){var e=t.canvas;if(e[_e]){var i=e[_e].initial;["height","width"].forEach(function(t){var n=i[t];ct.isNullOrUndef(n)?e.removeAttribute(t):e.setAttribute(t,n)}),ct.each(i.style||{},function(t,i){e.style[i]=t}),e.width=e.width,delete e[_e]}},addEventListener:function(t,e,i){var n=t.canvas;if("resize"!==e){var r=i[_e]||(i[_e]={});De(n,e,(r.proxies||(r.proxies={}))[t.id+"_"+e]=function(e){i(function(t,e){var i=Ee[t.type]||t.type,n=ct.getRelativePosition(t,e);return Oe(i,e,n.x,n.y,t)}(e,t))})}else!function(t,e,i){var n,r,o,a,s=t[_e]||(t[_e]={}),l=s.resizer=function(t){var e=Ie(Se),i=Ie(Se+"-expand"),n=Ie(Se+"-shrink");i.appendChild(Ie()),n.appendChild(Ie()),e.appendChild(i),e.appendChild(n),e._reset=function(){i.scrollLeft=1e6,i.scrollTop=1e6,n.scrollLeft=1e6,n.scrollTop=1e6};var r=function(){e._reset(),t()};return De(i,"scroll",r.bind(i,"expand")),De(n,"scroll",r.bind(n,"shrink")),e}((n=function(){if(s.resizer){var n=i.options.maintainAspectRatio&&t.parentNode,r=n?n.clientWidth:0;e(Oe("resize",i)),n&&n.clientWidth<r&&i.canvas&&e(Oe("resize",i))}},o=!1,a=[],function(){a=Array.prototype.slice.call(arguments),r=r||this,o||(o=!0,ct.requestAnimFrame.call(window,function(){o=!1,n.apply(r,a)}))}));!function(t,e){var i=t[_e]||(t[_e]={}),n=i.renderProxy=function(t){t.animationName===ke&&e()};ct.each(Te,function(e){De(t,e,n)}),i.reflow=!!t.offsetParent,t.classList.add(Ce)}(t,function(){if(s.resizer){var e=t.parentNode;e&&e!==l.parentNode&&e.insertBefore(l,e.firstChild),l._reset()}})}(n,i,t)},removeEventListener:function(t,e,i){var n=t.canvas;if("resize"!==e){var r=((i[_e]||{}).proxies||{})[t.id+"_"+e];r&&Pe(n,e,r)}else!function(t){var e=t[_e]||{},i=e.resizer;delete e.resizer,function(t){var e=t[_e]||{},i=e.renderProxy;i&&(ct.each(Te,function(e){Pe(t,e,i)}),delete e.renderProxy),t.classList.remove(Ce)}(t),i&&i.parentNode&&i.parentNode.removeChild(i)}(n)}};ct.addEvent=De,ct.removeEvent=Pe;var Re=Ne._enabled?Ne:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},Fe=ct.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Re);at._set("global",{plugins:{}});var Be={_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 i=e.indexOf(t);-1!==i&&e.splice(i,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,i){var n,r,o,a,s,l=this.descriptors(t),c=l.length;for(n=0;n<c;++n)if("function"==typeof(s=(o=(r=l[n]).plugin)[e])&&((a=[t].concat(i||[])).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 i=[],n=[],r=t&&t.config||{},o=r.options&&r.options.plugins||{};return this._plugins.concat(r.plugins||[]).forEach(function(t){if(-1===i.indexOf(t)){var e=t.id,r=o[e];!1!==r&&(!0===r&&(r=ct.clone(at.global.plugins[e])),i.push(t),n.push({plugin:t,options:r||{}}))}}),e.descriptors=n,e.id=this._cacheId,n},_invalidate:function(t){delete t.$plugins}},ze={constructors:{},defaults:{},registerScaleType:function(t,e,i){this.constructors[t]=e,this.defaults[t]=ct.clone(i)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?ct.merge({},[at.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=ct.extend(this.defaults[t],e))},addScalesToLayout:function(t){ct.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,be.addBox(t,e)})}},He=ct.valueOrDefault;at._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:ct.noop,title:function(t,e){var i="",n=e.labels,r=n?n.length:0;if(t.length>0){var o=t[0];o.label?i=o.label:o.xLabel?i=o.xLabel:r>0&&o.index<r&&(i=n[o.index])}return i},afterTitle:ct.noop,beforeBody:ct.noop,beforeLabel:ct.noop,label:function(t,e){var i=e.datasets[t.datasetIndex].label||"";return i&&(i+=": "),ct.isNullOrUndef(t.value)?i+=t.yLabel:i+=t.value,i},labelColor:function(t,e){var i=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:i.borderColor,backgroundColor:i.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:ct.noop,afterBody:ct.noop,beforeFooter:ct.noop,footer:ct.noop,afterFooter:ct.noop}}});var Ve={average:function(t){if(!t.length)return!1;var e,i,n=0,r=0,o=0;for(e=0,i=t.length;e<i;++e){var a=t[e];if(a&&a.hasValue()){var s=a.tooltipPosition();n+=s.x,r+=s.y,++o}}return{x:n/o,y:r/o}},nearest:function(t,e){var i,n,r,o=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(i=0,n=t.length;i<n;++i){var l=t[i];if(l&&l.hasValue()){var c=l.getCenterPoint(),u=ct.distanceBetweenPoints(e,c);u<s&&(s=u,r=l)}}if(r){var h=r.tooltipPosition();o=h.x,a=h.y}return{x:o,y:a}}};function je(t,e){return e&&(ct.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function We(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Ue(t){var e=at.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:He(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:He(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:He(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:He(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:He(t.titleFontStyle,e.defaultFontStyle),titleFontSize:He(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:He(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:He(t.footerFontStyle,e.defaultFontStyle),footerFontSize:He(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 Ye(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Ge(t){return je([],We(t))}var Xe=pt.extend({initialize:function(){this._model=Ue(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),i=t.title.apply(this,arguments),n=t.afterTitle.apply(this,arguments),r=[];return r=je(r,We(e)),r=je(r,We(i)),je(r,We(n))},getBeforeBody:function(){return Ge(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var i=this,n=i._options.callbacks,r=[];return ct.each(t,function(t){var o={before:[],lines:[],after:[]};je(o.before,We(n.beforeLabel.call(i,t,e))),je(o.lines,n.label.call(i,t,e)),je(o.after,We(n.afterLabel.call(i,t,e))),r.push(o)}),r},getAfterBody:function(){return Ge(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),i=t.footer.apply(this,arguments),n=t.afterFooter.apply(this,arguments),r=[];return r=je(r,We(e)),r=je(r,We(i)),je(r,We(n))},update:function(t){var e,i,n,r,o,a,s,l,c,u,h=this,d=h._options,f=h._model,p=h._model=Ue(d),g=h._active,m=h._data,v={xAlign:f.xAlign,yAlign:f.yAlign},y={x:f.x,y:f.y},b={width:f.width,height:f.height},L={x:f.caretX,y:f.caretY};if(g.length){p.opacity=1;var x=[],w=[];L=Ve[d.position].call(h,g,h._eventPosition);var _=[];for(e=0,i=g.length;e<i;++e)_.push((r=void 0,o=void 0,void 0,void 0,l=void 0,c=void 0,u=void 0,r=(n=g[e])._xScale,o=n._yScale||n._scale,a=n._index,s=n._datasetIndex,c=(l=n._chart.getDatasetMeta(s).controller)._getIndexScale(),u=l._getValueScale(),{xLabel:r?r.getLabelForIndex(a,s):"",yLabel:o?o.getLabelForIndex(a,s):"",label:c?""+c.getLabelForIndex(a,s):"",value:u?""+u.getLabelForIndex(a,s):"",index:a,datasetIndex:s,x:n._model.x,y:n._model.y}));d.filter&&(_=_.filter(function(t){return d.filter(t,m)})),d.itemSort&&(_=_.sort(function(t,e){return d.itemSort(t,e,m)})),ct.each(_,function(t){x.push(d.callbacks.labelColor.call(h,t,h._chart)),w.push(d.callbacks.labelTextColor.call(h,t,h._chart))}),p.title=h.getTitle(_,m),p.beforeBody=h.getBeforeBody(_,m),p.body=h.getBody(_,m),p.afterBody=h.getAfterBody(_,m),p.footer=h.getFooter(_,m),p.x=L.x,p.y=L.y,p.caretPadding=d.caretPadding,p.labelColors=x,p.labelTextColors=w,p.dataPoints=_,y=function(t,e,i,n){var r=t.x,o=t.y,a=t.caretSize,s=t.caretPadding,l=t.cornerRadius,c=i.xAlign,u=i.yAlign,h=a+s,d=l+s;return"right"===c?r-=e.width:"center"===c&&((r-=e.width/2)+e.width>n.width&&(r=n.width-e.width),r<0&&(r=0)),"top"===u?o+=h:o-="bottom"===u?e.height+h:e.height/2,"center"===u?"left"===c?r+=h:"right"===c&&(r-=h):"left"===c?r-=d:"right"===c&&(r+=d),{x:r,y:o}}(p,b=function(t,e){var i=t._chart.ctx,n=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);a+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,c=e.titleFontSize,u=e.bodyFontSize,h=e.footerFontSize;n+=s*c,n+=s?(s-1)*e.titleSpacing:0,n+=s?e.titleMarginBottom:0,n+=a*u,n+=a?(a-1)*e.bodySpacing:0,n+=l?e.footerMarginTop:0,n+=l*h,n+=l?(l-1)*e.footerSpacing:0;var d=0,f=function(t){r=Math.max(r,i.measureText(t).width+d)};return i.font=ct.fontString(c,e._titleFontStyle,e._titleFontFamily),ct.each(e.title,f),i.font=ct.fontString(u,e._bodyFontStyle,e._bodyFontFamily),ct.each(e.beforeBody.concat(e.afterBody),f),d=e.displayColors?u+2:0,ct.each(o,function(t){ct.each(t.before,f),ct.each(t.lines,f),ct.each(t.after,f)}),d=0,i.font=ct.fontString(h,e._footerFontStyle,e._footerFontFamily),ct.each(e.footer,f),{width:r+=2*e.xPadding,height:n}}(this,p),v=function(t,e){var i,n,r,o,a,s=t._model,l=t._chart,c=t._chart.chartArea,u="center",h="center";s.y<e.height?h="top":s.y>l.height-e.height&&(h="bottom");var d=(c.left+c.right)/2,f=(c.top+c.bottom)/2;"center"===h?(i=function(t){return t<=d},n=function(t){return t>d}):(i=function(t){return t<=e.width/2},n=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<=f?"top":"bottom"},i(s.x)?(u="left",r(s.x)&&(u="center",h=a(s.y))):n(s.x)&&(u="right",o(s.x)&&(u="center",h=a(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:h}}(this,b),h._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=L.x,p.caretY=L.y,h._model=p,t&&d.custom&&d.custom.call(h,p),h},drawCaret:function(t,e){var i=this._chart.ctx,n=this._view,r=this.getCaretPosition(t,e,n);i.lineTo(r.x1,r.y1),i.lineTo(r.x2,r.y2),i.lineTo(r.x3,r.y3)},getCaretPosition:function(t,e,i){var n,r,o,a,s,l,c=i.caretSize,u=i.cornerRadius,h=i.xAlign,d=i.yAlign,f=t.x,p=t.y,g=e.width,m=e.height;if("center"===d)s=p+m/2,"left"===h?(r=(n=f)-c,o=n,a=s+c,l=s-c):(r=(n=f+g)+c,o=n,a=s-c,l=s+c);else if("left"===h?(n=(r=f+u+c)-c,o=r+c):"right"===h?(n=(r=f+g-u-c)-c,o=r+c):(n=(r=i.caretX)-c,o=r+c),"top"===d)s=(a=p)-c,l=a;else{s=(a=p+m)+c,l=a;var v=o;o=n,n=v}return{x1:n,x2:r,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(t,e,i){var n=e.title;if(n.length){t.x=Ye(e,e._titleAlign),i.textAlign=e._titleAlign,i.textBaseline="top";var r,o,a=e.titleFontSize,s=e.titleSpacing;for(i.fillStyle=e.titleFontColor,i.font=ct.fontString(a,e._titleFontStyle,e._titleFontFamily),r=0,o=n.length;r<o;++r)i.fillText(n[r],t.x,t.y),t.y+=a+s,r+1===n.length&&(t.y+=e.titleMarginBottom-s)}},drawBody:function(t,e,i){var n,r=e.bodyFontSize,o=e.bodySpacing,a=e._bodyAlign,s=e.body,l=e.displayColors,c=e.labelColors,u=0,h=l?Ye(e,"left"):0;i.textAlign=a,i.textBaseline="top",i.font=ct.fontString(r,e._bodyFontStyle,e._bodyFontFamily),t.x=Ye(e,a);var d=function(e){i.fillText(e,t.x+u,t.y),t.y+=r+o};i.fillStyle=e.bodyFontColor,ct.each(e.beforeBody,d),u=l&&"right"!==a?"center"===a?r/2+1:r+2:0,ct.each(s,function(o,a){n=e.labelTextColors[a],i.fillStyle=n,ct.each(o.before,d),ct.each(o.lines,function(o){l&&(i.fillStyle=e.legendColorBackground,i.fillRect(h,t.y,r,r),i.lineWidth=1,i.strokeStyle=c[a].borderColor,i.strokeRect(h,t.y,r,r),i.fillStyle=c[a].backgroundColor,i.fillRect(h+1,t.y+1,r-2,r-2),i.fillStyle=n),d(o)}),ct.each(o.after,d)}),u=0,ct.each(e.afterBody,d),t.y-=o},drawFooter:function(t,e,i){var n=e.footer;n.length&&(t.x=Ye(e,e._footerAlign),t.y+=e.footerMarginTop,i.textAlign=e._footerAlign,i.textBaseline="top",i.fillStyle=e.footerFontColor,i.font=ct.fontString(e.footerFontSize,e._footerFontStyle,e._footerFontFamily),ct.each(n,function(n){i.fillText(n,t.x,t.y),t.y+=e.footerFontSize+e.footerSpacing}))},drawBackground:function(t,e,i,n){i.fillStyle=e.backgroundColor,i.strokeStyle=e.borderColor,i.lineWidth=e.borderWidth;var r=e.xAlign,o=e.yAlign,a=t.x,s=t.y,l=n.width,c=n.height,u=e.cornerRadius;i.beginPath(),i.moveTo(a+u,s),"top"===o&&this.drawCaret(t,n),i.lineTo(a+l-u,s),i.quadraticCurveTo(a+l,s,a+l,s+u),"center"===o&&"right"===r&&this.drawCaret(t,n),i.lineTo(a+l,s+c-u),i.quadraticCurveTo(a+l,s+c,a+l-u,s+c),"bottom"===o&&this.drawCaret(t,n),i.lineTo(a+u,s+c),i.quadraticCurveTo(a,s+c,a,s+c-u),"center"===o&&"left"===r&&this.drawCaret(t,n),i.lineTo(a,s+u),i.quadraticCurveTo(a,s,a+u,s),i.closePath(),i.fill(),e.borderWidth>0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var i={width:e.width,height:e.height},n={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(t.save(),t.globalAlpha=r,this.drawBackground(n,e,t,i),n.y+=e.yPadding,this.drawTitle(n,e,t),this.drawBody(n,e,t),this.drawFooter(n,e,t),t.restore())}},handleEvent:function(t){var e,i=this,n=i._options;return i._lastActive=i._lastActive||[],"mouseout"===t.type?i._active=[]:i._active=i._chart.getElementsAtEventForMode(t,n.mode,n),(e=!ct.arrayEquals(i._active,i._lastActive))&&(i._lastActive=i._active,(n.enabled||n.custom)&&(i._eventPosition={x:t.x,y:t.y},i.update(!0),i.pivot())),e}}),qe=Ve,$e=Xe;$e.positioners=qe;var Ze=ct.valueOrDefault;function Ke(){return ct.merge({},[].slice.call(arguments),{merger:function(t,e,i,n){if("xAxes"===t||"yAxes"===t){var r,o,a,s=i[t].length;for(e[t]||(e[t]=[]),r=0;r<s;++r)a=i[t][r],o=Ze(a.type,"xAxes"===t?"category":"linear"),r>=e[t].length&&e[t].push({}),!e[t][r].type||a.type&&a.type!==e[t][r].type?ct.merge(e[t][r],[ze.getScaleDefaults(o),a]):ct.merge(e[t][r],a)}else ct._merger(t,e,i,n)}})}function Qe(){return ct.merge({},[].slice.call(arguments),{merger:function(t,e,i,n){var r=e[t]||{},o=i[t];"scales"===t?e[t]=Ke(r,o):"scale"===t?e[t]=ct.merge(r,[ze.getScaleDefaults(o.type),o]):ct._merger(t,e,i,n)}})}function Je(t){return"top"===t||"bottom"===t}at._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 ti=function(t,e){return this.construct(t,e),this};ct.extend(ti.prototype,{construct:function(t,e){var i=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Qe(at.global,at[t.type],t.options||{}),t}(e);var n=Fe.acquireContext(t,e),r=n&&n.canvas,o=r&&r.height,a=r&&r.width;i.id=ct.uid(),i.ctx=n,i.canvas=r,i.config=e,i.width=a,i.height=o,i.aspectRatio=o?a/o:null,i.options=e.options,i._bufferedRender=!1,i.chart=i,i.controller=i,ti.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(t){i.config.data=t}}),n&&r?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Be.notify(t,"beforeInit"),ct.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),Be.notify(t,"afterInit"),t},clear:function(){return ct.canvas.clear(this),this},stop:function(){return vt.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,n=e.canvas,r=i.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(ct.getMaximumWidth(n))),a=Math.max(0,Math.floor(r?o/r:ct.getMaximumHeight(n)));if((e.width!==o||e.height!==a)&&(n.width=e.width=o,n.height=e.height=a,n.style.width=o+"px",n.style.height=a+"px",ct.retinaScale(e,i.devicePixelRatio),!t)){var s={width:o,height:a};Be.notify(e,"resize",[s]),i.onResize&&i.onResize(e,s),e.stop(),e.update({duration:i.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},i=t.scale;ct.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),ct.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),i&&(i.id=i.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,i=t.scales||{},n=[],r=Object.keys(i).reduce(function(t,e){return t[e]=!1,t},{});e.scales&&(n=n.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&&n.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),ct.each(n,function(e){var n=e.options,o=n.id,a=Ze(n.type,e.dtype);Je(n.position)!==Je(e.dposition)&&(n.position=e.dposition),r[o]=!0;var s=null;if(o in i&&i[o].type===a)(s=i[o]).options=n,s.ctx=t.ctx,s.chart=t;else{var l=ze.getScaleConstructor(a);if(!l)return;s=new l({id:o,type:a,options:n,ctx:t.ctx,chart:t}),i[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)}),ct.each(r,function(t,e){t||delete i[e]}),t.scales=i,ze.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t=this,e=[];return ct.each(t.data.datasets,function(i,n){var r=t.getDatasetMeta(n),o=i.type||t.config.type;if(r.type&&r.type!==o&&(t.destroyDatasetMeta(n),r=t.getDatasetMeta(n)),r.type=o,r.controller)r.controller.updateIndex(n),r.controller.linkScales();else{var a=le[r.type];if(void 0===a)throw new Error('"'+r.type+'" is not a chart type.');r.controller=new a(t,n),e.push(r.controller)}},t),e},resetElements:function(){var t=this;ct.each(t.data.datasets,function(e,i){t.getDatasetMeta(i).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,i,n=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),i=(e=n).options,ct.each(e.scales,function(t){be.removeBox(e,t)}),i=Qe(at.global,at[e.config.type],i),e.options=e.config.options=i,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=i.tooltips,e.tooltip.initialize(),Be._invalidate(n),!1!==Be.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var r=n.buildOrUpdateControllers();ct.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.buildOrUpdateElements()},n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&ct.each(r,function(t){t.reset()}),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],Be.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:n.render(t)}},updateLayout:function(){!1!==Be.notify(this,"beforeLayout")&&(be.update(this,this.width,this.height),Be.notify(this,"afterScaleUpdate"),Be.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==Be.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);Be.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),i={meta:e,index:t};!1!==Be.notify(this,"beforeDatasetUpdate",[i])&&(e.controller.update(),Be.notify(this,"afterDatasetUpdate",[i]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var i=e.options.animation,n=Ze(t.duration,i&&i.duration),r=t.lazy;if(!1!==Be.notify(e,"beforeRender")){var o=function(t){Be.notify(e,"afterRender"),ct.callback(i&&i.onComplete,[t],e)};if(i&&n){var a=new mt({numSteps:n/16.66,easing:t.easing||i.easing,render:function(t,e){var i=ct.easing.effects[e.easing],n=e.currentStep,r=n/e.numSteps;t.draw(i(r),r,n)},onAnimationProgress:i.onProgress,onAnimationComplete:o});vt.addAnimation(e,a,n,r)}else e.draw(),o(new mt({numSteps:0,chart:e}));return e}},draw:function(t){var e=this;e.clear(),ct.isNullOrUndef(t)&&(t=1),e.transition(t),e.width<=0||e.height<=0||!1!==Be.notify(e,"beforeDraw",[t])&&(ct.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.drawDatasets(t),e._drawTooltip(t),Be.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,i=(this.data.datasets||[]).length;e<i;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){var e=this;if(!1!==Be.notify(e,"beforeDatasetsDraw",[t])){for(var i=(e.data.datasets||[]).length-1;i>=0;--i)e.isDatasetVisible(i)&&e.drawDataset(i,t);Be.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var i=this.getDatasetMeta(t),n={meta:i,index:t,easingValue:e};!1!==Be.notify(this,"beforeDatasetDraw",[n])&&(i.controller.draw(e),Be.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,i={tooltip:e,easingValue:t};!1!==Be.notify(this,"beforeTooltipDraw",[i])&&(e.draw(),Be.notify(this,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return ge.modes.single(this,t)},getElementsAtEvent:function(t){return ge.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return ge.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,i){var n=ge.modes[e];return"function"==typeof n?n(this,t,i):[]},getDatasetAtEvent:function(t){return ge.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var i=e._meta[this.id];return i||(i=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,i=this.data.datasets.length;e<i;++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,i=this.data.datasets[t],n=i._meta&&i._meta[e];n&&(n.controller.destroy(),delete i._meta[e])},destroy:function(){var t,e,i=this,n=i.canvas;for(i.stop(),t=0,e=i.data.datasets.length;t<e;++t)i.destroyDatasetMeta(t);n&&(i.unbindEvents(),ct.canvas.clear(i),Fe.releaseContext(i.ctx),i.canvas=null,i.ctx=null),Be.notify(i,"destroy"),delete ti.instances[i.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new $e({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},i=function(){t.eventHandler.apply(t,arguments)};ct.each(t.options.events,function(n){Fe.addEventListener(t,n,i),e[n]=i}),t.options.responsive&&(i=function(){t.resize()},Fe.addEventListener(t,"resize",i),e.resize=i)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,ct.each(e,function(e,i){Fe.removeEventListener(t,i,e)}))},updateHoverStyle:function(t,e,i){var n,r,o,a=i?"setHoverStyle":"removeHoverStyle";for(r=0,o=t.length;r<o;++r)(n=t[r])&&this.getDatasetMeta(n._datasetIndex).controller[a](n)},eventHandler:function(t){var e=this,i=e.tooltip;if(!1!==Be.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var n=e.handleEvent(t);i&&(n=i._start?i.handleEvent(t):n|i.handleEvent(t)),Be.notify(e,"afterEvent",[t]);var r=e._bufferedRequest;return r?e.render(r):n&&!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,i=this,n=i.options||{},r=n.hover;return i.lastActive=i.lastActive||[],"mouseout"===t.type?i.active=[]:i.active=i.getElementsAtEventForMode(t,r.mode,r),ct.callback(n.onHover||n.hover.onHover,[t.native,i.active],i),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(i,t.native,i.active),i.lastActive.length&&i.updateHoverStyle(i.lastActive,r.mode,!1),i.active.length&&r.mode&&i.updateHoverStyle(i.active,r.mode,!0),e=!ct.arrayEquals(i.active,i.lastActive),i.lastActive=i.active,e}}),ti.instances={};var ei=ti;function ii(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function ni(t){this.options=t||{}}ti.Controller=ti,ti.types={},ct.configMerge=Qe,ct.scaleMerge=Ke,ct.extend(ni.prototype,{formats:ii,parse:ii,format:ii,add:ii,diff:ii,startOf:ii,endOf:ii,_create:function(t){return t}}),ni.override=function(t){ct.extend(ni.prototype,t)};var ri={_date:ni},oi={formatters:{values:function(t){return ct.isArray(t)?t:""+t},linear:function(t,e,i){var n=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(n)>1&&t!==Math.floor(t)&&(n=t-Math.floor(t));var r=ct.log10(Math.abs(n)),o="";if(0!==t)if(Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4){var a=ct.log10(Math.abs(t));o=t.toExponential(Math.floor(a)-Math.floor(r))}else{var s=-1*Math.floor(r);s=Math.max(Math.min(s,20),0),o=t.toFixed(s)}else o="0";return o},logarithmic:function(t,e,i){var n=t/Math.pow(10,Math.floor(ct.log10(t)));return 0===t?"0":1===n||2===n||5===n||0===e||e===i.length-1?t.toExponential():""}}},ai=ct.valueOrDefault,si=ct.valueAtIndexOrDefault;function li(t){var e,i,n=[];for(e=0,i=t.length;e<i;++e)n.push(t[e].label);return n}function ci(t,e,i){return ct.isArray(e)?ct.longestText(t,i,e):t.measureText(e).width}at._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:oi.formatters.values,minor:{},major:{}}});var ui=pt.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t=this.options.ticks;for(var e in!1===t.minor&&(t.minor={display:!1}),!1===t.major&&(t.major={display:!1}),t)"major"!==e&&"minor"!==e&&(void 0===t.minor[e]&&(t.minor[e]=t[e]),void 0===t.major[e]&&(t.major[e]=t[e]))},beforeUpdate:function(){ct.callback(this.options.beforeUpdate,[this])},update:function(t,e,i){var n,r,o,a,s,l,c=this;for(c.beforeUpdate(),c.maxWidth=t,c.maxHeight=e,c.margins=ct.extend({left:0,right:0,top:0,bottom:0},i),c._maxLabelLines=0,c.longestLabelWidth=0,c.longestTextCache=c.longestTextCache||{},c.beforeSetDimensions(),c.setDimensions(),c.afterSetDimensions(),c.beforeDataLimits(),c.determineDataLimits(),c.afterDataLimits(),c.beforeBuildTicks(),s=c.buildTicks()||[],s=c.afterBuildTicks(s)||s,c.beforeTickToLabelConversion(),o=c.convertTicksToLabels(s)||c.ticks,c.afterTickToLabelConversion(),c.ticks=o,n=0,r=o.length;n<r;++n)a=o[n],(l=s[n])?l.label=a:s.push(l={label:a,major:!1});return c._ticks=s,c.beforeCalculateTickRotation(),c.calculateTickRotation(),c.afterCalculateTickRotation(),c.beforeFit(),c.fit(),c.afterFit(),c.afterUpdate(),c.minSize},afterUpdate:function(){ct.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){ct.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(){ct.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){ct.callback(this.options.beforeDataLimits,[this])},determineDataLimits:ct.noop,afterDataLimits:function(){ct.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){ct.callback(this.options.beforeBuildTicks,[this])},buildTicks:ct.noop,afterBuildTicks:function(t){var e=this;return ct.isArray(t)&&t.length?ct.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=ct.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){ct.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){ct.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){ct.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,i=t.options.ticks,n=li(t._ticks),r=ct.options._parseFont(i);e.font=r.string;var o=i.minRotation||0;if(n.length&&t.options.display&&t.isHorizontal())for(var a,s=ct.longestText(e,r.string,n,t.longestTextCache),l=s,c=t.getPixelForTick(1)-t.getPixelForTick(0)-6;l>c&&o<i.maxRotation;){var u=ct.toRadians(o);if(a=Math.cos(u),Math.sin(u)*s>t.maxHeight){o--;break}o++,l=a*s}t.labelRotation=o},afterCalculateTickRotation:function(){ct.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){ct.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},i=li(t._ticks),n=t.options,r=n.ticks,o=n.scaleLabel,a=n.gridLines,s=t._isVisible(),l=n.position,c=t.isHorizontal(),u=ct.options._parseFont,h=u(r),d=n.gridLines.tickMarkLength;if(e.width=c?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:s&&a.drawTicks?d:0,e.height=c?s&&a.drawTicks?d:0:t.maxHeight,o.display&&s){var f=u(o),p=ct.options.toPadding(o.padding),g=f.lineHeight+p.height;c?e.height+=g:e.width+=g}if(r.display&&s){var m=ct.longestText(t.ctx,h.string,i,t.longestTextCache),v=ct.numberOfLabelLines(i),y=.5*h.size,b=t.options.ticks.padding;if(t._maxLabelLines=v,t.longestLabelWidth=m,c){var L=ct.toRadians(t.labelRotation),x=Math.cos(L),w=Math.sin(L)*m+h.lineHeight*v+y;e.height=Math.min(t.maxHeight,e.height+w+b),t.ctx.font=h.string;var _,S,C=ci(t.ctx,i[0],h.string),k=ci(t.ctx,i[i.length-1],h.string),T=t.getPixelForTick(0)-t.left,E=t.right-t.getPixelForTick(i.length-1);0!==t.labelRotation?(_="bottom"===l?x*C:x*y,S="bottom"===l?x*y:x*k):(_=C/2,S=k/2),t.paddingLeft=Math.max(_-T,0)+3,t.paddingRight=Math.max(S-E,0)+3}else r.mirror?m=0:m+=b+y,e.width=Math.min(t.maxWidth,e.width+m),t.paddingTop=h.size/2,t.paddingBottom=h.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){ct.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(ct.isNullOrUndef(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},getLabelForIndex:ct.noop,getPixelForValue:ct.noop,getValueForPixel:ct.noop,getPixelForTick:function(t){var e=this,i=e.options.offset;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(i?0:1),1),r=n*t+e.paddingLeft;return i&&(r+=n/2),e.left+r+(e.isFullWidth()?e.margins.left:0)}var o=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(o/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft;return e.left+i+(e.isFullWidth()?e.margins.left:0)}return e.top+t*e.height},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,i,n=this,r=n.isHorizontal(),o=n.options.ticks.minor,a=t.length,s=!1,l=o.maxTicksLimit,c=n._tickSize()*(a-1),u=r?n.width-(n.paddingLeft+n.paddingRight):n.height-(n.paddingTop+n.PaddingBottom),h=[];for(c>u&&(s=1+Math.floor(c/u)),a>l&&(s=Math.max(s,1+Math.floor(a/l))),e=0;e<a;e++)i=t[e],s>1&&e%s>0&&delete i.label,h.push(i);return h},_tickSize:function(){var t=this,e=t.isHorizontal(),i=t.options.ticks.minor,n=ct.toRadians(t.labelRotation),r=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),a=i.autoSkipPadding||0,s=t.longestLabelWidth+a||0,l=ct.options._parseFont(i),c=t._maxLabelLines*l.lineHeight+a||0;return e?c*r>s*o?s/r:c/o:c*o<s*r?c/r:s/o},_isVisible:function(){var t,e,i,n=this.chart,r=this.options.display;if("auto"!==r)return!!r;for(t=0,e=n.data.datasets.length;t<e;++t)if(n.isDatasetVisible(t)&&((i=n.getDatasetMeta(t)).xAxisID===this.id||i.yAxisID===this.id))return!0;return!1},draw:function(t){var e=this,i=e.options;if(e._isVisible()){var n,r,o,a=e.chart,s=e.ctx,l=at.global.defaultFontColor,c=i.ticks.minor,u=i.ticks.major||c,h=i.gridLines,d=i.scaleLabel,f=i.position,p=0!==e.labelRotation,g=c.mirror,m=e.isHorizontal(),v=ct.options._parseFont,y=c.display&&c.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),b=ai(c.fontColor,l),L=v(c),x=L.lineHeight,w=ai(u.fontColor,l),_=v(u),S=c.padding,C=c.labelOffset,k=h.drawTicks?h.tickMarkLength:0,T=ai(d.fontColor,l),E=v(d),A=ct.options.toPadding(d.padding),M=ct.toRadians(e.labelRotation),D=[],P=h.drawBorder?si(h.lineWidth,0,0):0,O=ct._alignPixel;if("top"===f?(n=O(a,e.bottom,P),r=e.bottom-k,o=n-P/2):"bottom"===f?(n=O(a,e.top,P),r=n+P/2,o=e.top+k):"left"===f?(n=O(a,e.right,P),r=e.right-k,o=n-P/2):(n=O(a,e.left,P),r=n+P/2,o=e.left+k),ct.each(y,function(n,s){if(!ct.isNullOrUndef(n.label)){var l,c,u,d,v,y,b,L,w,_,T,E,A,I,N,R,F=n.label;s===e.zeroLineIndex&&i.offset===h.offsetGridLines?(l=h.zeroLineWidth,c=h.zeroLineColor,u=h.zeroLineBorderDash||[],d=h.zeroLineBorderDashOffset||0):(l=si(h.lineWidth,s),c=si(h.color,s),u=h.borderDash||[],d=h.borderDashOffset||0);var B=ct.isArray(F)?F.length:1,z=function(t,e,i){var n=t.getPixelForTick(e);return i&&(1===t.getTicks().length?n-=t.isHorizontal()?Math.max(n-t.left,t.right-n):Math.max(n-t.top,t.bottom-n):n-=0===e?(t.getPixelForTick(1)-n)/2:(n-t.getPixelForTick(e-1))/2),n}(e,s,h.offsetGridLines);if(m){var H=k+S;z<e.left-1e-7&&(c="rgba(0,0,0,0)"),v=b=w=T=O(a,z,l),y=r,L=o,A=e.getPixelForTick(s)+C,"top"===f?(_=O(a,t.top,P)+P/2,E=t.bottom,N=((p?1:.5)-B)*x,R=p?"left":"center",I=e.bottom-H):(_=t.top,E=O(a,t.bottom,P)-P/2,N=(p?0:.5)*x,R=p?"right":"center",I=e.top+H)}else{var V=(g?0:k)+S;z<e.top-1e-7&&(c="rgba(0,0,0,0)"),v=r,b=o,y=L=_=E=O(a,z,l),I=e.getPixelForTick(s)+C,N=(1-B)*x/2,"left"===f?(w=O(a,t.left,P)+P/2,T=t.right,R=g?"left":"right",A=e.right-V):(w=t.left,T=O(a,t.right,P)-P/2,R=g?"right":"left",A=e.left+V)}D.push({tx1:v,ty1:y,tx2:b,ty2:L,x1:w,y1:_,x2:T,y2:E,labelX:A,labelY:I,glWidth:l,glColor:c,glBorderDash:u,glBorderDashOffset:d,rotation:-1*M,label:F,major:n.major,textOffset:N,textAlign:R})}}),ct.each(D,function(t){var e=t.glWidth,i=t.glColor;if(h.display&&e&&i&&(s.save(),s.lineWidth=e,s.strokeStyle=i,s.setLineDash&&(s.setLineDash(t.glBorderDash),s.lineDashOffset=t.glBorderDashOffset),s.beginPath(),h.drawTicks&&(s.moveTo(t.tx1,t.ty1),s.lineTo(t.tx2,t.ty2)),h.drawOnChartArea&&(s.moveTo(t.x1,t.y1),s.lineTo(t.x2,t.y2)),s.stroke(),s.restore()),c.display){s.save(),s.translate(t.labelX,t.labelY),s.rotate(t.rotation),s.font=t.major?_.string:L.string,s.fillStyle=t.major?w:b,s.textBaseline="middle",s.textAlign=t.textAlign;var n=t.label,r=t.textOffset;if(ct.isArray(n))for(var o=0;o<n.length;++o)s.fillText(""+n[o],0,r),r+=x;else s.fillText(n,0,r);s.restore()}}),d.display){var I,N,R=0,F=E.lineHeight/2;if(m)I=e.left+(e.right-e.left)/2,N="bottom"===f?e.bottom-F-A.bottom:e.top+F+A.top;else{var B="left"===f;I=B?e.left+F+A.top:e.right-F-A.top,N=e.top+(e.bottom-e.top)/2,R=B?-.5*Math.PI:.5*Math.PI}s.save(),s.translate(I,N),s.rotate(R),s.textAlign="center",s.textBaseline="middle",s.fillStyle=T,s.font=E.string,s.fillText(d.labelString,0,0),s.restore()}if(P){var z,H,V,j,W=P,U=si(h.lineWidth,y.length-1,0);m?(z=O(a,e.left,W)-W/2,H=O(a,e.right,U)+U/2,V=j=n):(V=O(a,e.top,W)-W/2,j=O(a,e.bottom,U)+U/2,z=H=n),s.lineWidth=P,s.strokeStyle=si(h.color,0),s.beginPath(),s.moveTo(z,V),s.lineTo(H,j),s.stroke()}}}}),hi=ui.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,i=e.getLabels();e.minIndex=0,e.maxIndex=i.length-1,void 0!==e.options.ticks.min&&(t=i.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=i.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=i[e.minIndex],e.max=i[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var i=this,n=i.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===i.id?i.getRightValue(n.data.datasets[e].data[t]):i.ticks[t-i.minIndex]},getPixelForValue:function(t,e){var i,n=this,r=n.options.offset,o=Math.max(n.maxIndex+1-n.minIndex-(r?0:1),1);if(null!=t&&(i=n.isHorizontal()?t.x:t.y),void 0!==i||void 0!==t&&isNaN(e)){t=i||t;var a=n.getLabels().indexOf(t);e=-1!==a?a:e}if(n.isHorizontal()){var s=n.width/o,l=s*(e-n.minIndex);return r&&(l+=s/2),n.left+l}var c=n.height/o,u=c*(e-n.minIndex);return r&&(u+=c/2),n.top+u},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,i=e.options.offset,n=Math.max(e._ticks.length-(i?0:1),1),r=e.isHorizontal(),o=(r?e.width:e.height)/n;return t-=r?e.left:e.top,i&&(t-=o/2),(t<=0?0:Math.round(t/o))+e.minIndex},getBasePixel:function(){return this.bottom}});hi._defaults={position:"bottom"};var di=ct.noop,fi=ct.isNullOrUndef,pi=ui.extend({getRightValue:function(t){return"string"==typeof t?+t:ui.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var i=ct.sign(t.min),n=ct.sign(t.max);i<0&&n<0?t.max=0:i>0&&n>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&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=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,i=e.stepSize,n=e.maxTicksLimit;return i?t=Math.ceil(this.max/i)-Math.floor(this.min/i)+1:(t=this._computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:di,buildTicks:function(){var t=this,e=t.options.ticks,i=t.getTickLimit(),n={maxTicks:i=Math.max(2,i),min:e.min,max:e.max,precision:e.precision,stepSize:ct.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var i,n,r,o,a=[],s=t.stepSize,l=s||1,c=t.maxTicks-1,u=t.min,h=t.max,d=t.precision,f=e.min,p=e.max,g=ct.niceNum((p-f)/c/l)*l;if(g<1e-14&&fi(u)&&fi(h))return[f,p];(o=Math.ceil(p/g)-Math.floor(f/g))>c&&(g=ct.niceNum(o*g/c/l)*l),s||fi(d)?i=Math.pow(10,ct._decimalPlaces(g)):(i=Math.pow(10,d),g=Math.ceil(g*i)/i),n=Math.floor(f/g)*g,r=Math.ceil(p/g)*g,s&&(!fi(u)&&ct.almostWhole(u/g,g/1e3)&&(n=u),!fi(h)&&ct.almostWhole(h/g,g/1e3)&&(r=h)),o=(r-n)/g,o=ct.almostEquals(o,Math.round(o),g/1e3)?Math.round(o):Math.ceil(o),n=Math.round(n*i)/i,r=Math.round(r*i)/i,a.push(fi(u)?n:u);for(var m=1;m<o;++m)a.push(Math.round((n+m*g)*i)/i);return a.push(fi(h)?r:h),a}(n,t);t.handleDirectionalChanges(),t.max=ct.max(r),t.min=ct.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),ui.prototype.convertTicksToLabels.call(t)}}),gi={position:"left",ticks:{callback:oi.formatters.linear}},mi=pi.extend({determineDataLimits:function(){var t=this,e=t.options,i=t.chart,n=i.data.datasets,r=t.isHorizontal();function o(e){return r?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null;var a=e.stacked;if(void 0===a&&ct.each(n,function(t,e){if(!a){var n=i.getDatasetMeta(e);i.isDatasetVisible(e)&&o(n)&&void 0!==n.stack&&(a=!0)}}),e.stacked||a){var s={};ct.each(n,function(n,r){var a=i.getDatasetMeta(r),l=[a.type,void 0===e.stacked&&void 0===a.stack?r:"",a.stack].join(".");void 0===s[l]&&(s[l]={positiveValues:[],negativeValues:[]});var c=s[l].positiveValues,u=s[l].negativeValues;i.isDatasetVisible(r)&&o(a)&&ct.each(n.data,function(i,n){var r=+t.getRightValue(i);isNaN(r)||a.data[n].hidden||(c[n]=c[n]||0,u[n]=u[n]||0,e.relativePoints?c[n]=100:r<0?u[n]+=r:c[n]+=r)})}),ct.each(s,function(e){var i=e.positiveValues.concat(e.negativeValues),n=ct.min(i),r=ct.max(i);t.min=null===t.min?n:Math.min(t.min,n),t.max=null===t.max?r:Math.max(t.max,r)})}else ct.each(n,function(e,n){var r=i.getDatasetMeta(n);i.isDatasetVisible(n)&&o(r)&&ct.each(e.data,function(e,i){var n=+t.getRightValue(e);isNaN(n)||r.data[i].hidden||(null===t.min?t.min=n:n<t.min&&(t.min=n),null===t.max?t.max=n:n>t.max&&(t.max=n))})});t.min=isFinite(t.min)&&!isNaN(t.min)?t.min:0,t.max=isFinite(t.max)&&!isNaN(t.max)?t.max:1,this.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=ct.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,i=e.start,n=+e.getRightValue(t),r=e.end-i;return e.isHorizontal()?e.left+e.width/r*(n-i):e.bottom-e.height/r*(n-i)},getValueForPixel:function(t){var e=this,i=e.isHorizontal(),n=i?e.width:e.height,r=(i?t-e.left:e.bottom-t)/n;return e.start+(e.end-e.start)*r},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}}),vi=gi;mi._defaults=vi;var yi=ct.valueOrDefault,bi={position:"left",ticks:{callback:oi.formatters.logarithmic}};function Li(t,e){return ct.isFinite(t)&&t>=0?t:e}var xi=ui.extend({determineDataLimits:function(){var t=this,e=t.options,i=t.chart,n=i.data.datasets,r=t.isHorizontal();function o(e){return r?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var a=e.stacked;if(void 0===a&&ct.each(n,function(t,e){if(!a){var n=i.getDatasetMeta(e);i.isDatasetVisible(e)&&o(n)&&void 0!==n.stack&&(a=!0)}}),e.stacked||a){var s={};ct.each(n,function(n,r){var a=i.getDatasetMeta(r),l=[a.type,void 0===e.stacked&&void 0===a.stack?r:"",a.stack].join(".");i.isDatasetVisible(r)&&o(a)&&(void 0===s[l]&&(s[l]=[]),ct.each(n.data,function(e,i){var n=s[l],r=+t.getRightValue(e);isNaN(r)||a.data[i].hidden||r<0||(n[i]=n[i]||0,n[i]+=r)}))}),ct.each(s,function(e){if(e.length>0){var i=ct.min(e),n=ct.max(e);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?n:Math.max(t.max,n)}})}else ct.each(n,function(e,n){var r=i.getDatasetMeta(n);i.isDatasetVisible(n)&&o(r)&&ct.each(e.data,function(e,i){var n=+t.getRightValue(e);isNaN(n)||r.data[i].hidden||n<0||(null===t.min?t.min=n:n<t.min&&(t.min=n),null===t.max?t.max=n:n>t.max&&(t.max=n),0!==n&&(null===t.minNotZero||n<t.minNotZero)&&(t.minNotZero=n))})});this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=Li(e.min,t.min),t.max=Li(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(ct.log10(t.min))-1),t.max=Math.pow(10,Math.floor(ct.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(ct.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(ct.log10(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(ct.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,i=!t.isHorizontal(),n={min:Li(e.min),max:Li(e.max)},r=t.ticks=function(t,e){var i,n,r=[],o=yi(t.min,Math.pow(10,Math.floor(ct.log10(e.min)))),a=Math.floor(ct.log10(e.max)),s=Math.ceil(e.max/Math.pow(10,a));0===o?(i=Math.floor(ct.log10(e.minNotZero)),n=Math.floor(e.minNotZero/Math.pow(10,i)),r.push(o),o=n*Math.pow(10,i)):(i=Math.floor(ct.log10(o)),n=Math.floor(o/Math.pow(10,i)));var l=i<0?Math.pow(10,Math.abs(i)):1;do{r.push(o),10==++n&&(n=1,l=++i>=0?1:l),o=Math.round(n*Math.pow(10,i)*l)/l}while(i<a||i===a&&n<s);var c=yi(t.max,o);return r.push(c),r}(n,t);t.max=ct.max(r),t.min=ct.min(r),e.reverse?(i=!i,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),i&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),ui.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(ct.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(t){var e,i,n,r,o,a=this,s=a.options.ticks,l=s.reverse,c=ct.log10,u=a._getFirstTickValue(a.minNotZero),h=0;return t=+a.getRightValue(t),l?(n=a.end,r=a.start,o=-1):(n=a.start,r=a.end,o=1),a.isHorizontal()?(e=a.width,i=l?a.right:a.left):(e=a.height,o*=-1,i=l?a.top:a.bottom),t!==n&&(0===n&&(e-=h=yi(s.fontSize,at.global.defaultFontSize),n=u),0!==t&&(h+=e/(c(r)-c(n))*(c(t)-c(n))),i+=o*h),i},getValueForPixel:function(t){var e,i,n,r,o=this,a=o.options.ticks,s=a.reverse,l=ct.log10,c=o._getFirstTickValue(o.minNotZero);if(s?(i=o.end,n=o.start):(i=o.start,n=o.end),o.isHorizontal()?(e=o.width,r=s?o.right-t:t-o.left):(e=o.height,r=s?t-o.top:o.bottom-t),r!==i){if(0===i){var u=yi(a.fontSize,at.global.defaultFontSize);r-=u,e-=u,i=c}r*=l(n)-l(i),r/=e,r=Math.pow(10,l(i)+r)}return r}}),wi=bi;xi._defaults=wi;var _i=ct.valueOrDefault,Si=ct.valueAtIndexOrDefault,Ci=ct.options.resolve,ki={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:oi.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Ti(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function Ei(t){var e=t.ticks;return e.display&&t.display?_i(e.fontSize,at.global.defaultFontSize)+2*e.backdropPaddingY:0}function Ai(t,e,i,n,r){return t===n||t===r?{start:e-i/2,end:e+i/2}:t<n||t>r?{start:e-i,end:e}:{start:e,end:e+i}}function Mi(t){return 0===t||180===t?"center":t<180?"left":"right"}function Di(t,e,i,n){var r,o,a=i.y+n/2;if(ct.isArray(e))for(r=0,o=e.length;r<o;++r)t.fillText(e[r],i.x,a),a+=n;else t.fillText(e,i.x,a)}function Pi(t,e,i){90===t||270===t?i.y-=e.h/2:(t>270||t<90)&&(i.y-=e.h)}function Oi(t){return ct.isNumber(t)?t:0}var Ii=pi.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Ei(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,i=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;ct.each(e.data.datasets,function(r,o){if(e.isDatasetVisible(o)){var a=e.getDatasetMeta(o);ct.each(r.data,function(e,r){var o=+t.getRightValue(e);isNaN(o)||a.data[r].hidden||(i=Math.min(o,i),n=Math.max(o,n))})}}),t.min=i===Number.POSITIVE_INFINITY?0:i,t.max=n===Number.NEGATIVE_INFINITY?0:n,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Ei(this.options))},convertTicksToLabels:function(){var t=this;pi.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},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,i,n,r=ct.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,c,u=Ti(t);for(e=0;e<u;e++){n=t.getPointPosition(e,t.drawingArea+5),s=t.ctx,l=r.lineHeight,c=t.pointLabels[e]||"",i=ct.isArray(c)?{w:ct.longestText(s,s.font,c),h:c.length*l}:{w:s.measureText(c).width,h:l},t._pointLabelSizes[e]=i;var h=t.getIndexAngle(e),d=ct.toDegrees(h)%360,f=Ai(d,n.x,i.w,0,180),p=Ai(d,n.y,i.h,90,270);f.start<o.l&&(o.l=f.start,a.l=h),f.end>o.r&&(o.r=f.end,a.r=h),p.start<o.t&&(o.t=p.start,a.t=h),p.end>o.b&&(o.b=p.end,a.b=h)}t.setReductions(t.drawingArea,o,a)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,i){var n=this,r=e.l/Math.sin(i.l),o=Math.max(e.r-n.width,0)/Math.sin(i.r),a=-e.t/Math.cos(i.t),s=-Math.max(e.b-(n.height-n.paddingTop),0)/Math.cos(i.b);r=Oi(r),o=Oi(o),a=Oi(a),s=Oi(s),n.drawingArea=Math.min(Math.floor(t-(r+o)/2),Math.floor(t-(a+s)/2)),n.setCenterPoint(r,o,a,s)},setCenterPoint:function(t,e,i,n){var r=this,o=r.width-e-r.drawingArea,a=t+r.drawingArea,s=i+r.drawingArea,l=r.height-r.paddingTop-n-r.drawingArea;r.xCenter=Math.floor((a+o)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(t){return t*(2*Math.PI/Ti(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var i=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*i:(t-e.min)*i},getPointPosition:function(t,e){var i=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(i)*e+this.xCenter,y:Math.sin(i)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0)},draw:function(){var t=this,e=t.options,i=e.gridLines,n=e.ticks;if(e.display){var r=t.ctx,o=this.getIndexAngle(0),a=ct.options._parseFont(n);(e.angleLines.display||e.pointLabels.display)&&function(t){var e=t.ctx,i=t.options,n=i.angleLines,r=i.gridLines,o=i.pointLabels,a=_i(n.lineWidth,r.lineWidth),s=_i(n.color,r.color),l=Ei(i);e.save(),e.lineWidth=a,e.strokeStyle=s,e.setLineDash&&(e.setLineDash(Ci([n.borderDash,r.borderDash,[]])),e.lineDashOffset=Ci([n.borderDashOffset,r.borderDashOffset,0]));var c=t.getDistanceFromCenterForValue(i.ticks.reverse?t.min:t.max),u=ct.options._parseFont(o);e.font=u.string,e.textBaseline="middle";for(var h=Ti(t)-1;h>=0;h--){if(n.display&&a&&s){var d=t.getPointPosition(h,c);e.beginPath(),e.moveTo(t.xCenter,t.yCenter),e.lineTo(d.x,d.y),e.stroke()}if(o.display){var f=0===h?l/2:0,p=t.getPointPosition(h,c+f+5),g=Si(o.fontColor,h,at.global.defaultFontColor);e.fillStyle=g;var m=t.getIndexAngle(h),v=ct.toDegrees(m);e.textAlign=Mi(v),Pi(v,t._pointLabelSizes[h],p),Di(e,t.pointLabels[h]||"",p,u.lineHeight)}}e.restore()}(t),ct.each(t.ticks,function(e,s){if(s>0||n.reverse){var l=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]);if(i.display&&0!==s&&function(t,e,i,n){var r,o=t.ctx,a=e.circular,s=Ti(t),l=Si(e.color,n-1),c=Si(e.lineWidth,n-1);if((a||s)&&l&&c){if(o.save(),o.strokeStyle=l,o.lineWidth=c,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),a)o.arc(t.xCenter,t.yCenter,i,0,2*Math.PI);else{r=t.getPointPosition(0,i),o.moveTo(r.x,r.y);for(var u=1;u<s;u++)r=t.getPointPosition(u,i),o.lineTo(r.x,r.y)}o.closePath(),o.stroke(),o.restore()}}(t,i,l,s),n.display){var c=_i(n.fontColor,at.global.defaultFontColor);if(r.font=a.string,r.save(),r.translate(t.xCenter,t.yCenter),r.rotate(o),n.showLabelBackdrop){var u=r.measureText(e).width;r.fillStyle=n.backdropColor,r.fillRect(-u/2-n.backdropPaddingX,-l-a.size/2-n.backdropPaddingY,u+2*n.backdropPaddingX,a.size+2*n.backdropPaddingY)}r.textAlign="center",r.textBaseline="middle",r.fillStyle=c,r.fillText(e,0,-l),r.restore()}}})}}}),Ni=ki;Ii._defaults=Ni;var Ri=ct.valueOrDefault,Fi=Number.MIN_SAFE_INTEGER||-9007199254740991,Bi=Number.MAX_SAFE_INTEGER||9007199254740991,zi={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,15,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,15,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},Hi=Object.keys(zi);function Vi(t,e){return t-e}function ji(t){var e,i,n,r={},o=[];for(e=0,i=t.length;e<i;++e)r[n=t[e]]||(r[n]=!0,o.push(n));return o}function Wi(t,e,i,n){var r=function(t,e,i){for(var n,r,o,a=0,s=t.length-1;a>=0&&a<=s;){if(r=t[(n=a+s>>1)-1]||null,o=t[n],!r)return{lo:null,hi:o};if(o[e]<i)a=n+1;else{if(!(r[e]>i))return{lo:r,hi:o};s=n-1}}return{lo:o,hi:null}}(t,e,i),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],l=s?(i-o[e])/s:0,c=(a[n]-o[n])*l;return o[n]+c}function Ui(t,e){var i=t._adapter,n=t.options.time,r=n.parser,o=r||n.format,a=e;return"function"==typeof r&&(a=r(a)),ct.isFinite(a)||(a="string"==typeof o?i.parse(a,o):i.parse(a)),null!==a?+a:(r||"function"!=typeof o||(a=o(e),ct.isFinite(a)||(a=i.parse(a))),a)}function Yi(t,e){if(ct.isNullOrUndef(e))return null;var i=t.options.time,n=Ui(t,t.getRightValue(e));return null===n?n:(i.round&&(n=+t._adapter.startOf(n,i.round)),n)}function Gi(t){for(var e=Hi.indexOf(t)+1,i=Hi.length;e<i;++e)if(zi[Hi[e]].common)return Hi[e]}var Xi=ui.extend({initialize:function(){this.mergeTicksOptions(),ui.prototype.initialize.call(this)},update:function(){var t=this.options,e=t.time||(t.time={}),i=this._adapter=new ri._date(t.adapters.date);return e.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),ct.mergeIf(e.displayFormats,i.formats()),ui.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),ui.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,i,n,r,o,a=this,s=a.chart,l=a._adapter,c=a.options.time,u=c.unit||"day",h=Bi,d=Fi,f=[],p=[],g=[],m=s.data.labels||[];for(t=0,i=m.length;t<i;++t)g.push(Yi(a,m[t]));for(t=0,i=(s.data.datasets||[]).length;t<i;++t)if(s.isDatasetVisible(t))if(r=s.data.datasets[t].data,ct.isObject(r[0]))for(p[t]=[],e=0,n=r.length;e<n;++e)o=Yi(a,r[e]),f.push(o),p[t][e]=o;else{for(e=0,n=g.length;e<n;++e)f.push(g[e]);p[t]=g.slice(0)}else p[t]=[];g.length&&(g=ji(g).sort(Vi),h=Math.min(h,g[0]),d=Math.max(d,g[g.length-1])),f.length&&(f=ji(f).sort(Vi),h=Math.min(h,f[0]),d=Math.max(d,f[f.length-1])),h=Yi(a,c.min)||h,d=Yi(a,c.max)||d,h=h===Bi?+l.startOf(Date.now(),u):h,d=d===Fi?+l.endOf(Date.now(),u)+1:d,a.min=Math.min(h,d),a.max=Math.max(h+1,d),a._horizontal=a.isHorizontal(),a._table=[],a._timestamps={data:f,datasets:p,labels:g}},buildTicks:function(){var t,e,i,n=this,r=n.min,o=n.max,a=n.options,s=a.time,l=[],c=[];switch(a.ticks.source){case"data":l=n._timestamps.data;break;case"labels":l=n._timestamps.labels;break;case"auto":default:l=function(t,e,i,n){var r,o=t._adapter,a=t.options,s=a.time,l=s.unit||function(t,e,i,n){var r,o,a,s=Hi.length;for(r=Hi.indexOf(t);r<s-1;++r)if(a=(o=zi[Hi[r]]).steps?o.steps[o.steps.length-1]:Bi,o.common&&Math.ceil((i-e)/(a*o.size))<=n)return Hi[r];return Hi[s-1]}(s.minUnit,e,i,n),c=Gi(l),u=Ri(s.stepSize,s.unitStepSize),h="week"===l&&s.isoWeekday,d=a.ticks.major.enabled,f=zi[l],p=e,g=i,m=[];for(u||(u=function(t,e,i,n){var r,o,a,s=e-t,l=zi[i],c=l.size,u=l.steps;if(!u)return Math.ceil(s/(n*c));for(r=0,o=u.length;r<o&&(a=u[r],!(Math.ceil(s/(c*a))<=n));++r);return a}(e,i,l,n)),h&&(p=+o.startOf(p,"isoWeek",h),g=+o.startOf(g,"isoWeek",h)),p=+o.startOf(p,h?"day":l),(g=+o.startOf(g,h?"day":l))<i&&(g=+o.add(g,1,l)),r=p,d&&c&&!h&&!s.round&&(r=+o.startOf(r,c),r=+o.add(r,~~((p-r)/(f.size*u))*u,l));r<g;r=+o.add(r,u,l))m.push(+r);return m.push(+r),m}(n,r,o,n.getLabelCapacity(r))}for("ticks"===a.bounds&&l.length&&(r=l[0],o=l[l.length-1]),r=Yi(n,s.min)||r,o=Yi(n,s.max)||o,t=0,e=l.length;t<e;++t)(i=l[t])>=r&&i<=o&&c.push(i);return n.min=r,n.max=o,n._unit=s.unit||function(t,e,i,n,r){var o,a;for(o=Hi.length-1;o>=Hi.indexOf(i);o--)if(a=Hi[o],zi[a].common&&t._adapter.diff(r,n,a)>=e.length)return a;return Hi[i?Hi.indexOf(i):0]}(n,c,s.minUnit,n.min,n.max),n._majorUnit=Gi(n._unit),n._table=function(t,e,i,n){if("linear"===n||!t.length)return[{time:e,pos:0},{time:i,pos:1}];var r,o,a,s,l,c=[],u=[e];for(r=0,o=t.length;r<o;++r)(s=t[r])>e&&s<i&&u.push(s);for(u.push(i),r=0,o=u.length;r<o;++r)l=u[r+1],a=u[r-1],s=u[r],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||c.push({time:s,pos:r/(o-1)});return c}(n._timestamps.data,r,o,a.distribution),n._offsets=function(t,e,i,n,r){var o,a,s=0,l=0;return r.offset&&e.length&&(r.time.min||(o=Wi(t,"time",e[0],"pos"),s=1===e.length?1-o:(Wi(t,"time",e[1],"pos")-o)/2),r.time.max||(a=Wi(t,"time",e[e.length-1],"pos"),l=1===e.length?a:(a-Wi(t,"time",e[e.length-2],"pos"))/2)),{start:s,end:l}}(n._table,c,0,0,a),a.ticks.reverse&&c.reverse(),function(t,e,i){var n,r,o,a,s=[];for(n=0,r=e.length;n<r;++n)o=e[n],a=!!i&&o===+t._adapter.startOf(o,i),s.push({value:o,major:a});return s}(n,c,n._majorUnit)},getLabelForIndex:function(t,e){var i=this,n=i._adapter,r=i.chart.data,o=i.options.time,a=r.labels&&t<r.labels.length?r.labels[t]:"",s=r.datasets[e].data[t];return ct.isObject(s)&&(a=i.getRightValue(s)),o.tooltipFormat?n.format(Ui(i,a),o.tooltipFormat):"string"==typeof a?a:n.format(Ui(i,a),o.displayFormats.datetime)},tickFormatFunction:function(t,e,i,n){var r=this._adapter,o=this.options,a=o.time.displayFormats,s=a[this._unit],l=this._majorUnit,c=a[l],u=+r.startOf(t,l),h=o.ticks.major,d=h.enabled&&l&&c&&t===u,f=r.format(t,n||(d?c:s)),p=d?h:o.ticks.minor,g=Ri(p.callback,p.userCallback);return g?g(f,e,i):f},convertTicksToLabels:function(t){var e,i,n=[];for(e=0,i=t.length;e<i;++e)n.push(this.tickFormatFunction(t[e].value,e,t));return n},getPixelForOffset:function(t){var e=this,i=e.options.ticks.reverse,n=e._horizontal?e.width:e.height,r=e._horizontal?i?e.right:e.left:i?e.bottom:e.top,o=Wi(e._table,"time",t,"pos"),a=n*(e._offsets.start+o)/(e._offsets.start+1+e._offsets.end);return i?r-a:r+a},getPixelForValue:function(t,e,i){var n=null;if(void 0!==e&&void 0!==i&&(n=this._timestamps.datasets[i][e]),null===n&&(n=Yi(this,t)),null!==n)return this.getPixelForOffset(n)},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,i=e._horizontal?e.width:e.height,n=e._horizontal?e.left:e.top,r=(i?(t-n)/i:0)*(e._offsets.start+1+e._offsets.start)-e._offsets.end,o=Wi(e._table,"pos",r,"time");return e._adapter._create(o)},getLabelWidth:function(t){var e=this.options.ticks,i=this.ctx.measureText(t).width,n=ct.toRadians(e.maxRotation),r=Math.cos(n),o=Math.sin(n);return i*r+Ri(e.fontSize,at.global.defaultFontSize)*o},getLabelCapacity:function(t){var e=this,i=e.options.time.displayFormats.millisecond,n=e.tickFormatFunction(t,0,[],i),r=e.getLabelWidth(n),o=e.isHorizontal()?e.width:e.height,a=Math.floor(o/r);return a>0?a:1}});Xi._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var qi,$i={category:hi,linear:mi,logarithmic:xi,radialLinear:Ii,time:Xi},Zi=(function(t,e){t.exports=function(){var e,i;function n(){return e.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function s(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function l(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function c(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}function u(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function h(t,e){for(var i in e)u(e,i)&&(t[i]=e[i]);return u(e,"toString")&&(t.toString=e.toString),u(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,i,n){return Me(t,e,i,n,!0).utc()}function f(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var e=f(t),n=i.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function g(t){var e=d(NaN);return null!=t?h(f(e),t):f(e).userInvalidated=!0,e}i=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var m=n.momentProperties=[];function v(t,e){var i,n,r;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=f(e)),a(e._locale)||(t._locale=e._locale),m.length>0)for(i=0;i<m.length;i++)a(r=e[n=m[i]])||(t[n]=r);return t}var y=!1;function b(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,n.updateOffset(this),y=!1)}function L(t){return t instanceof b||null!=t&&null!=t._isAMomentObject}function x(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function w(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=x(e)),i}function _(t,e,i){var n,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(n=0;n<r;n++)(i&&t[n]!==e[n]||!i&&w(t[n])!==w(e[n]))&&a++;return a+o}function S(t){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function C(t,e){var i=!0;return h(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,t),i){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}S(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),i=!1}return e.apply(this,arguments)},e)}var k,T={};function E(t,e){null!=n.deprecationHandler&&n.deprecationHandler(t,e),T[t]||(S(e),T[t]=!0)}function A(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function M(t,e){var i,n=h({},t);for(i in e)u(e,i)&&(o(t[i])&&o(e[i])?(n[i]={},h(n[i],t[i]),h(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)u(t,i)&&!u(e,i)&&o(t[i])&&(n[i]=h({},n[i]));return n}function D(t){null!=t&&this.set(t)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,k=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)u(t,e)&&i.push(e);return i};var P={};function O(t,e){var i=t.toLowerCase();P[i]=P[i+"s"]=P[e]=t}function I(t){return"string"==typeof t?P[t]||P[t.toLowerCase()]:void 0}function N(t){var e,i,n={};for(i in t)u(t,i)&&(e=I(i))&&(n[e]=t[i]);return n}var R={};function F(t,e){R[t]=e}function B(t,e,i){var n=""+Math.abs(t),r=e-n.length;return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}var z=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,H=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},j={};function W(t,e,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),t&&(j[t]=r),e&&(j[e[0]]=function(){return B(r.apply(this,arguments),e[1],e[2])}),i&&(j[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=Y(e,t.localeData()),V[e]=V[e]||function(t){var e,i,n,r=t.match(z);for(e=0,i=r.length;e<i;e++)j[r[e]]?r[e]=j[r[e]]:r[e]=(n=r[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,o="";for(n=0;n<i;n++)o+=A(r[n])?r[n].call(e,t):r[n];return o}}(e),V[e](t)):t.localeData().invalidDate()}function Y(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(H.lastIndex=0;i>=0&&H.test(t);)t=t.replace(H,n),H.lastIndex=0,i-=1;return t}var G=/\d/,X=/\d\d/,q=/\d{3}/,$=/\d{4}/,Z=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,tt=/\d{1,3}/,et=/\d{1,4}/,it=/[+-]?\d{1,6}/,nt=/\d+/,rt=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,lt={};function ct(t,e,i){lt[t]=A(e)?e:function(t,n){return t&&i?i:e}}function ut(t,e){return u(lt,t)?lt[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,r){return e||i||n||r})))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var dt={};function ft(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),s(e)&&(n=function(t,i){i[e]=w(t)}),i=0;i<t.length;i++)dt[t[i]]=n}function pt(t,e){ft(t,function(t,i,n,r){n._w=n._w||{},e(t,n._w,n,r)})}function gt(t,e,i){null!=e&&u(dt,t)&&dt[t](e,i._a,i,t)}var mt=0,vt=1,yt=2,bt=3,Lt=4,xt=5,wt=6,_t=7,St=8;function Ct(t){return kt(t)?366:365}function kt(t){return t%4==0&&t%100!=0||t%400==0}W("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),O("year","y"),F("year",1),ct("Y",rt),ct("YY",K,X),ct("YYYY",et,$),ct("YYYYY",it,Z),ct("YYYYYY",it,Z),ft(["YYYYY","YYYYYY"],mt),ft("YYYY",function(t,e){e[mt]=2===t.length?n.parseTwoDigitYear(t):w(t)}),ft("YY",function(t,e){e[mt]=n.parseTwoDigitYear(t)}),ft("Y",function(t,e){e[mt]=parseInt(t,10)}),n.parseTwoDigitYear=function(t){return w(t)+(w(t)>68?1900:2e3)};var Tt,Et=At("FullYear",!0);function At(t,e){return function(i){return null!=i?(Dt(this,t,i),n.updateOffset(this,e),this):Mt(this,t)}}function Mt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Dt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&kt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Pt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Pt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?kt(t)?29:28:31-i%7%2}Tt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),W("MMMM",0,0,function(t){return this.localeData().months(this,t)}),O("month","M"),F("month",8),ct("M",K),ct("MM",K,X),ct("MMM",function(t,e){return e.monthsShortRegex(t)}),ct("MMMM",function(t,e){return e.monthsRegex(t)}),ft(["M","MM"],function(t,e){e[vt]=w(t)-1}),ft(["MMM","MMMM"],function(t,e,i,n){var r=i._locale.monthsParse(t,n,i._strict);null!=r?e[vt]=r:f(i).invalidMonth=t});var Ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,It="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Rt(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=w(e);else if(!s(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),Pt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Ft(t){return null!=t?(Rt(this,t),n.updateOffset(this,!0),this):Mt(this,"Month")}var Bt=st,zt=st;function Ht(){function t(t,e){return e.length-t.length}var e,i,n=[],r=[],o=[];for(e=0;e<12;e++)i=d([2e3,e]),n.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(n.sort(t),r.sort(t),o.sort(t),e=0;e<12;e++)n[e]=ht(n[e]),r[e]=ht(r[e]);for(e=0;e<24;e++)o[e]=ht(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Vt(t){var e;if(t<100&&t>=0){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function jt(t,e,i){var n=7+e-i;return-((7+Vt(t,0,n).getUTCDay()-e)%7)+n-1}function Wt(t,e,i,n,r){var o,a,s=1+7*(e-1)+(7+i-n)%7+jt(t,n,r);return s<=0?a=Ct(o=t-1)+s:s>Ct(t)?(o=t+1,a=s-Ct(t)):(o=t,a=s),{year:o,dayOfYear:a}}function Ut(t,e,i){var n,r,o=jt(t.year(),e,i),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?n=a+Yt(r=t.year()-1,e,i):a>Yt(t.year(),e,i)?(n=a-Yt(t.year(),e,i),r=t.year()+1):(r=t.year(),n=a),{week:n,year:r}}function Yt(t,e,i){var n=jt(t,e,i),r=jt(t+1,e,i);return(Ct(t)-n+r)/7}function Gt(t,e){return t.slice(e,7).concat(t.slice(0,e))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),F("week",5),F("isoWeek",5),ct("w",K),ct("ww",K,X),ct("W",K),ct("WW",K,X),pt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=w(t)}),W("d",0,"do","day"),W("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),W("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),W("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),ct("d",K),ct("e",K),ct("E",K),ct("dd",function(t,e){return e.weekdaysMinRegex(t)}),ct("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ct("dddd",function(t,e){return e.weekdaysRegex(t)}),pt(["dd","ddd","dddd"],function(t,e,i,n){var r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r:f(i).invalidWeekday=t}),pt(["d","e","E"],function(t,e,i,n){e[n]=w(t)});var Xt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$t="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zt=st,Kt=st,Qt=st;function Jt(){function t(t,e){return e.length-t.length}var e,i,n,r,o,a=[],s=[],l=[],c=[];for(e=0;e<7;e++)i=d([2e3,1]).day(e),n=this.weekdaysMin(i,""),r=this.weekdaysShort(i,""),o=this.weekdays(i,""),a.push(n),s.push(r),l.push(o),c.push(n),c.push(r),c.push(o);for(a.sort(t),s.sort(t),l.sort(t),c.sort(t),e=0;e<7;e++)s[e]=ht(s[e]),l[e]=ht(l[e]),c[e]=ht(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function te(){return this.hours()%12||12}function ee(t,e){W(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function ie(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,te),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+te.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+te.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),ee("a",!0),ee("A",!1),O("hour","h"),F("hour",13),ct("a",ie),ct("A",ie),ct("H",K),ct("h",K),ct("k",K),ct("HH",K,X),ct("hh",K,X),ct("kk",K,X),ct("hmm",Q),ct("hmmss",J),ct("Hmm",Q),ct("Hmmss",J),ft(["H","HH"],bt),ft(["k","kk"],function(t,e,i){var n=w(t);e[bt]=24===n?0:n}),ft(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),ft(["h","hh"],function(t,e,i){e[bt]=w(t),f(i).bigHour=!0}),ft("hmm",function(t,e,i){var n=t.length-2;e[bt]=w(t.substr(0,n)),e[Lt]=w(t.substr(n)),f(i).bigHour=!0}),ft("hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[bt]=w(t.substr(0,n)),e[Lt]=w(t.substr(n,2)),e[xt]=w(t.substr(r)),f(i).bigHour=!0}),ft("Hmm",function(t,e,i){var n=t.length-2;e[bt]=w(t.substr(0,n)),e[Lt]=w(t.substr(n))}),ft("Hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[bt]=w(t.substr(0,n)),e[Lt]=w(t.substr(n,2)),e[xt]=w(t.substr(r))});var ne,re=At("Hours",!0),oe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:It,monthsShort:Nt,week:{dow:0,doy:6},weekdays:Xt,weekdaysMin:$t,weekdaysShort:qt,meridiemParse:/[ap]\.?m?\.?/i},ae={},se={};function le(t){return t?t.toLowerCase().replace("_","-"):t}function ce(e){var i=null;if(!ae[e]&&t&&t.exports)try{i=ne._abbr,Le("./locale/"+e),ue(i)}catch(t){}return ae[e]}function ue(t,e){var i;return t&&((i=a(e)?de(t):he(t,e))?ne=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ne._abbr}function he(t,e){if(null!==e){var i,n=oe;if(e.abbr=t,null!=ae[t])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ae[t]._config;else if(null!=e.parentLocale)if(null!=ae[e.parentLocale])n=ae[e.parentLocale]._config;else{if(null==(i=ce(e.parentLocale)))return se[e.parentLocale]||(se[e.parentLocale]=[]),se[e.parentLocale].push({name:t,config:e}),null;n=i._config}return ae[t]=new D(M(n,e)),se[t]&&se[t].forEach(function(t){he(t.name,t.config)}),ue(t),ae[t]}return delete ae[t],null}function de(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ne;if(!r(t)){if(e=ce(t))return e;t=[t]}return function(t){for(var e,i,n,r,o=0;o<t.length;){for(e=(r=le(t[o]).split("-")).length,i=(i=le(t[o+1]))?i.split("-"):null;e>0;){if(n=ce(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&_(r,i,!0)>=e-1)break;e--}o++}return ne}(t)}function fe(t){var e,i=t._a;return i&&-2===f(t).overflow&&(e=i[vt]<0||i[vt]>11?vt:i[yt]<1||i[yt]>Pt(i[mt],i[vt])?yt:i[bt]<0||i[bt]>24||24===i[bt]&&(0!==i[Lt]||0!==i[xt]||0!==i[wt])?bt:i[Lt]<0||i[Lt]>59?Lt:i[xt]<0||i[xt]>59?xt:i[wt]<0||i[wt]>999?wt:-1,f(t)._overflowDayOfYear&&(e<mt||e>yt)&&(e=yt),f(t)._overflowWeeks&&-1===e&&(e=_t),f(t)._overflowWeekday&&-1===e&&(e=St),f(t).overflow=e),t}function pe(t,e,i){return null!=t?t:null!=e?e:i}function ge(t){var e,i,r,o,a,s=[];if(!t._d){for(r=function(t){var e=new Date(n.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[yt]&&null==t._a[vt]&&function(t){var e,i,n,r,o,a,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,a=4,i=pe(e.GG,t._a[mt],Ut(De(),1,4).year),n=pe(e.W,1),((r=pe(e.E,1))<1||r>7)&&(l=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var c=Ut(De(),o,a);i=pe(e.gg,t._a[mt],c.year),n=pe(e.w,c.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+o,(e.e<0||e.e>6)&&(l=!0)):r=o}n<1||n>Yt(i,o,a)?f(t)._overflowWeeks=!0:null!=l?f(t)._overflowWeekday=!0:(s=Wt(i,n,r,o,a),t._a[mt]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=pe(t._a[mt],r[mt]),(t._dayOfYear>Ct(a)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),i=Vt(a,0,t._dayOfYear),t._a[vt]=i.getUTCMonth(),t._a[yt]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[bt]&&0===t._a[Lt]&&0===t._a[xt]&&0===t._a[wt]&&(t._nextDay=!0,t._a[bt]=0),t._d=(t._useUTC?Vt:function(t,e,i,n,r,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,i,n,r,o,a),s}).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[bt]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(f(t).weekdayMismatch=!0)}}var me=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ve=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ye=/Z|[+-]\d\d(?::?\d\d)?/,be=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],xe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],we=/^\/?Date\((\-?\d+)/i;function _e(t){var e,i,n,r,o,a,s=t._i,l=me.exec(s)||ve.exec(s);if(l){for(f(t).iso=!0,e=0,i=be.length;e<i;e++)if(be[e][1].exec(l[1])){r=be[e][0],n=!1!==be[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,i=xe.length;e<i;e++)if(xe[e][1].exec(l[3])){o=(l[2]||" ")+xe[e][0];break}if(null==o)return void(t._isValid=!1)}if(!n&&null!=o)return void(t._isValid=!1);if(l[4]){if(!ye.exec(l[4]))return void(t._isValid=!1);a="Z"}t._f=r+(o||"")+(a||""),Ee(t)}else t._isValid=!1}var Se=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Ce(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}var ke={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Te(t){var e,i,n,r,o,a,s,l=Se.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var c=(e=l[4],i=l[3],n=l[2],r=l[5],o=l[6],a=l[7],s=[Ce(e),Nt.indexOf(i),parseInt(n,10),parseInt(r,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),s);if(!function(t,e,i){if(t&&qt.indexOf(t)!==new Date(e[0],e[1],e[2]).getDay())return f(i).weekdayMismatch=!0,i._isValid=!1,!1;return!0}(l[1],c,t))return;t._a=c,t._tzm=function(t,e,i){if(t)return ke[t];if(e)return 0;var n=parseInt(i,10),r=n%100;return 60*((n-r)/100)+r}(l[8],l[9],l[10]),t._d=Vt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0}else t._isValid=!1}function Ee(t){if(t._f!==n.ISO_8601)if(t._f!==n.RFC_2822){t._a=[],f(t).empty=!0;var e,i,r,o,a,s=""+t._i,l=s.length,c=0;for(r=Y(t._f,t._locale).match(z)||[],e=0;e<r.length;e++)o=r[e],(i=(s.match(ut(o,t))||[])[0])&&((a=s.substr(0,s.indexOf(i))).length>0&&f(t).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),c+=i.length),j[o]?(i?f(t).empty=!1:f(t).unusedTokens.push(o),gt(o,i,t)):t._strict&&!i&&f(t).unusedTokens.push(o);f(t).charsLeftOver=l-c,s.length>0&&f(t).unusedInput.push(s),t._a[bt]<=12&&!0===f(t).bigHour&&t._a[bt]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[bt]=(u=t._locale,h=t._a[bt],null==(d=t._meridiem)?h:null!=u.meridiemHour?u.meridiemHour(h,d):null!=u.isPM?((p=u.isPM(d))&&h<12&&(h+=12),p||12!==h||(h=0),h):h),ge(t),fe(t)}else Te(t);else _e(t);var u,h,d,p}function Ae(t){var e=t._i,i=t._f;return t._locale=t._locale||de(t._l),null===e||void 0===i&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),L(e)?new b(fe(e)):(l(e)?t._d=e:r(i)?function(t){var e,i,n,r,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<t._f.length;r++)o=0,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Ee(e),p(e)&&(o+=f(e).charsLeftOver,o+=10*f(e).unusedTokens.length,f(e).score=o,(null==n||o<n)&&(n=o,i=e));h(t,i||e)}(t):i?Ee(t):function(t){var e=t._i;a(e)?t._d=new Date(n.now()):l(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=we.exec(t._i);null===e?(_e(t),!1===t._isValid&&(delete t._isValid,Te(t),!1===t._isValid&&(delete t._isValid,n.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):r(e)?(t._a=c(e.slice(0),function(t){return parseInt(t,10)}),ge(t)):o(e)?function(t){if(!t._d){var e=N(t._i);t._a=c([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),ge(t)}}(t):s(e)?t._d=new Date(e):n.createFromInputFallback(t)}(t),p(t)||(t._d=null),t))}function Me(t,e,i,n,a){var s,l={};return!0!==i&&!1!==i||(n=i,i=void 0),(o(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||r(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=i,l._i=t,l._f=e,l._strict=n,(s=new b(fe(Ae(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function De(t,e,i,n){return Me(t,e,i,n,!1)}n.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),n.ISO_8601=function(){},n.RFC_2822=function(){};var Pe=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:g()}),Oe=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:g()});function Ie(t,e){var i,n;if(1===e.length&&r(e[0])&&(e=e[0]),!e.length)return De();for(i=e[0],n=1;n<e.length;++n)e[n].isValid()&&!e[n][t](i)||(i=e[n]);return i}var Ne=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Re(t){var e=N(t),i=e.year||0,n=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Tt.call(Ne,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<Ne.length;++n)if(t[Ne[n]]){if(i)return!1;parseFloat(t[Ne[n]])!==w(t[Ne[n]])&&(i=!0)}return!0}(e),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*n+12*i,this._data={},this._locale=de(),this._bubble()}function Fe(t){return t instanceof Re}function Be(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ze(t,e){W(t,0,0,function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+B(~~(t/60),2)+e+B(~~t%60,2)})}ze("Z",":"),ze("ZZ",""),ct("Z",at),ct("ZZ",at),ft(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Ve(at,t)});var He=/([\+\-]|\d\d)/gi;function Ve(t,e){var i=(e||"").match(t);if(null===i)return null;var n=((i[i.length-1]||[])+"").match(He)||["-",0,0],r=60*n[1]+w(n[2]);return 0===r?0:"+"===n[0]?r:-r}function je(t,e){var i,r;return e._isUTC?(i=e.clone(),r=(L(t)||l(t)?t.valueOf():De(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),n.updateOffset(i,!1),i):De(t).local()}function We(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ue(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var Ye=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ge=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Xe(t,e){var i,n,r,o,a,l,c=t,h=null;return Fe(t)?c={ms:t._milliseconds,d:t._days,M:t._months}:s(t)?(c={},e?c[e]=t:c.milliseconds=t):(h=Ye.exec(t))?(i="-"===h[1]?-1:1,c={y:0,d:w(h[yt])*i,h:w(h[bt])*i,m:w(h[Lt])*i,s:w(h[xt])*i,ms:w(Be(1e3*h[wt]))*i}):(h=Ge.exec(t))?(i="-"===h[1]?-1:1,c={y:qe(h[2],i),M:qe(h[3],i),w:qe(h[4],i),d:qe(h[5],i),h:qe(h[6],i),m:qe(h[7],i),s:qe(h[8],i)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=De(c.from),a=De(c.to),r=o.isValid()&&a.isValid()?(a=je(a,o),o.isBefore(a)?l=$e(o,a):((l=$e(a,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=r.milliseconds,c.M=r.months),n=new Re(c),Fe(t)&&u(t,"_locale")&&(n._locale=t._locale),n}function qe(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function $e(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function Ze(t,e){return function(i,n){var r;return null===n||isNaN(+n)||(E(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=n,n=r),Ke(this,Xe(i="string"==typeof i?+i:i,n),t),this}}function Ke(t,e,i,r){var o=e._milliseconds,a=Be(e._days),s=Be(e._months);t.isValid()&&(r=null==r||r,s&&Rt(t,Mt(t,"Month")+s*i),a&&Dt(t,"Date",Mt(t,"Date")+a*i),o&&t._d.setTime(t._d.valueOf()+o*i),r&&n.updateOffset(t,a||s))}Xe.fn=Re.prototype,Xe.invalid=function(){return Xe(NaN)};var Qe=Ze(1,"add"),Je=Ze(-1,"subtract");function ti(t,e){var i,n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return e-r<0?i=(e-r)/(r-t.clone().add(n-1,"months")):i=(e-r)/(t.clone().add(n+1,"months")-r),-(n+i)||0}function ei(t){var e;return void 0===t?this._locale._abbr:(null!=(e=de(t))&&(this._locale=e),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ii=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function ni(){return this._locale}var ri=126227808e5;function oi(t,e){return(t%e+e)%e}function ai(t,e,i){return t<100&&t>=0?new Date(t+400,e,i)-ri:new Date(t,e,i).valueOf()}function si(t,e,i){return t<100&&t>=0?Date.UTC(t+400,e,i)-ri:Date.UTC(t,e,i)}function li(t,e){W(0,[t,t.length],0,e)}function ci(t,e,i,n,r){var o;return null==t?Ut(this,n,r).year:(e>(o=Yt(t,n,r))&&(e=o),function(t,e,i,n,r){var o=Wt(t,e,i,n,r),a=Vt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,t,e,i,n,r))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),li("gggg","weekYear"),li("ggggg","weekYear"),li("GGGG","isoWeekYear"),li("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),ct("G",rt),ct("g",rt),ct("GG",K,X),ct("gg",K,X),ct("GGGG",et,$),ct("gggg",et,$),ct("GGGGG",it,Z),ct("ggggg",it,Z),pt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=w(t)}),pt(["gg","GG"],function(t,e,i,r){e[r]=n.parseTwoDigitYear(t)}),W("Q",0,"Qo","quarter"),O("quarter","Q"),F("quarter",7),ct("Q",G),ft("Q",function(t,e){e[vt]=3*(w(t)-1)}),W("D",["DD",2],"Do","date"),O("date","D"),F("date",9),ct("D",K),ct("DD",K,X),ct("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ft(["D","DD"],yt),ft("Do",function(t,e){e[yt]=w(t.match(K)[0])});var ui=At("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),F("dayOfYear",4),ct("DDD",tt),ct("DDDD",q),ft(["DDD","DDDD"],function(t,e,i){i._dayOfYear=w(t)}),W("m",["mm",2],0,"minute"),O("minute","m"),F("minute",14),ct("m",K),ct("mm",K,X),ft(["m","mm"],Lt);var hi=At("Minutes",!1);W("s",["ss",2],0,"second"),O("second","s"),F("second",15),ct("s",K),ct("ss",K,X),ft(["s","ss"],xt);var di,fi=At("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),F("millisecond",16),ct("S",tt,G),ct("SS",tt,X),ct("SSS",tt,q),di="SSSS";di.length<=9;di+="S")ct(di,nt);function pi(t,e){e[wt]=w(1e3*("0."+t))}for(di="S";di.length<=9;di+="S")ft(di,pi);var gi=At("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var mi=b.prototype;function vi(t){return t}mi.add=Qe,mi.calendar=function(t,e){var i=t||De(),r=je(i,this).startOf("day"),o=n.calendarFormat(this,r)||"sameElse",a=e&&(A(e[o])?e[o].call(this,i):e[o]);return this.format(a||this.localeData().calendar(o,this,De(i)))},mi.clone=function(){return new b(this)},mi.diff=function(t,e,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=je(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=I(e)){case"year":o=ti(this,n)/12;break;case"month":o=ti(this,n);break;case"quarter":o=ti(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:x(o)},mi.endOf=function(t){var e;if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?si:ai;switch(t){case"year":e=i(this.year()+1,0,1)-1;break;case"quarter":e=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=i(this.year(),this.month()+1,1)-1;break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-oi(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-oi(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-oi(e,1e3)-1}return this._d.setTime(e),n.updateOffset(this,!0),this},mi.format=function(t){t||(t=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},mi.from=function(t,e){return this.isValid()&&(L(t)&&t.isValid()||De(t).isValid())?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mi.fromNow=function(t){return this.from(De(),t)},mi.to=function(t,e){return this.isValid()&&(L(t)&&t.isValid()||De(t).isValid())?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},mi.toNow=function(t){return this.to(De(),t)},mi.get=function(t){return A(this[t=I(t)])?this[t]():this},mi.invalidAt=function(){return f(this).overflow},mi.isAfter=function(t,e){var i=L(t)?t:De(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},mi.isBefore=function(t,e){var i=L(t)?t:De(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},mi.isBetween=function(t,e,i,n){var r=L(t)?t:De(t),o=L(e)?e:De(e);return!!(this.isValid()&&r.isValid()&&o.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(o,i):!this.isAfter(o,i))},mi.isSame=function(t,e){var i,n=L(t)?t:De(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=I(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},mi.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},mi.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},mi.isValid=function(){return p(this)},mi.lang=ii,mi.locale=ei,mi.localeData=ni,mi.max=Oe,mi.min=Pe,mi.parsingFlags=function(){return h({},f(this))},mi.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e=[];for(var i in t)e.push({unit:i,priority:R[i]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=N(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(A(this[t=I(t)]))return this[t](e);return this},mi.startOf=function(t){var e;if(void 0===(t=I(t))||"millisecond"===t||!this.isValid())return this;var i=this._isUTC?si:ai;switch(t){case"year":e=i(this.year(),0,1);break;case"quarter":e=i(this.year(),this.month()-this.month()%3,1);break;case"month":e=i(this.year(),this.month(),1);break;case"week":e=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=i(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=oi(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=oi(e,6e4);break;case"second":e=this._d.valueOf(),e-=oi(e,1e3)}return this._d.setTime(e),n.updateOffset(this,!0),this},mi.subtract=Je,mi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},mi.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},mi.toDate=function(){return new Date(this.valueOf())},mi.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;return i.year()<0||i.year()>9999?U(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):A(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(i,"Z")):U(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},mi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=e+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+r)},mi.toJSON=function(){return this.isValid()?this.toISOString():null},mi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},mi.unix=function(){return Math.floor(this.valueOf()/1e3)},mi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},mi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},mi.year=Et,mi.isLeapYear=function(){return kt(this.year())},mi.weekYear=function(t){return ci.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},mi.isoWeekYear=function(t){return ci.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},mi.quarter=mi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},mi.month=Ft,mi.daysInMonth=function(){return Pt(this.year(),this.month())},mi.week=mi.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},mi.isoWeek=mi.isoWeeks=function(t){var e=Ut(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},mi.weeksInYear=function(){var t=this.localeData()._week;return Yt(this.year(),t.dow,t.doy)},mi.isoWeeksInYear=function(){return Yt(this.year(),1,4)},mi.date=ui,mi.day=mi.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},mi.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},mi.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},mi.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},mi.hour=mi.hours=re,mi.minute=mi.minutes=hi,mi.second=mi.seconds=fi,mi.millisecond=mi.milliseconds=gi,mi.utcOffset=function(t,e,i){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ve(at,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&e&&(r=We(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?Ke(this,Xe(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:We(this)},mi.utc=function(t){return this.utcOffset(0,t)},mi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(We(this),"m")),this},mi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ve(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},mi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?De(t).utcOffset():0,(this.utcOffset()-t)%60==0)},mi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mi.isLocal=function(){return!!this.isValid()&&!this._isUTC},mi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mi.isUtc=Ue,mi.isUTC=Ue,mi.zoneAbbr=function(){return this._isUTC?"UTC":""},mi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},mi.dates=C("dates accessor is deprecated. Use date instead.",ui),mi.months=C("months accessor is deprecated. Use month instead",Ft),mi.years=C("years accessor is deprecated. Use year instead",Et),mi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),mi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),(t=Ae(t))._a){var e=t._isUTC?d(t._a):De(t._a);this._isDSTShifted=this.isValid()&&_(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var yi=D.prototype;function bi(t,e,i,n){var r=de(),o=d().set(n,e);return r[i](o,t)}function Li(t,e,i){if(s(t)&&(e=t,t=void 0),t=t||"",null!=e)return bi(t,e,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=bi(t,n,i,"month");return r}function xi(t,e,i,n){"boolean"==typeof t?(s(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,s(e)&&(i=e,e=void 0),e=e||"");var r,o=de(),a=t?o._week.dow:0;if(null!=i)return bi(e,(i+a)%7,n,"day");var l=[];for(r=0;r<7;r++)l[r]=bi(e,(r+a)%7,n,"day");return l}yi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return A(n)?n.call(e,i):n},yi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},yi.invalidDate=function(){return this._invalidDate},yi.ordinal=function(t){return this._ordinal.replace("%d",t)},yi.preparse=vi,yi.postformat=vi,yi.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return A(r)?r(t,e,i,n):r.replace(/%d/i,t)},yi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return A(i)?i(e):i.replace(/%s/i,e)},yi.set=function(t){var e,i;for(i in t)A(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yi.months=function(t,e){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ot).test(e)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},yi.monthsShort=function(t,e){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ot.test(e)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yi.monthsParse=function(t,e,i){var n,r,o;if(this._monthsParseExact)return function(t,e,i){var n,r,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=d([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=Tt.call(this._shortMonthsParse,a))?r:-1!==(r=Tt.call(this._longMonthsParse,a))?r:null:-1!==(r=Tt.call(this._longMonthsParse,a))?r:-1!==(r=Tt.call(this._shortMonthsParse,a))?r:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=d([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},yi.monthsRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||Ht.call(this),t?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=zt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},yi.monthsShortRegex=function(t){return this._monthsParseExact?(u(this,"_monthsRegex")||Ht.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=Bt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},yi.week=function(t){return Ut(t,this._week.dow,this._week.doy).week},yi.firstDayOfYear=function(){return this._week.doy},yi.firstDayOfWeek=function(){return this._week.dow},yi.weekdays=function(t,e){var i=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Gt(i,this._week.dow):t?i[t.day()]:i},yi.weekdaysMin=function(t){return!0===t?Gt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},yi.weekdaysShort=function(t){return!0===t?Gt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},yi.weekdaysParse=function(t,e,i){var n,r,o;if(this._weekdaysParseExact)return function(t,e,i){var n,r,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=d([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(r=Tt.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=Tt.call(this._weekdaysParse,a))?r:-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:-1!==(r=Tt.call(this._weekdaysParse,a))?r:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Tt.call(this._minWeekdaysParse,a))?r:-1!==(r=Tt.call(this._weekdaysParse,a))?r:-1!==(r=Tt.call(this._shortWeekdaysParse,a))?r:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=d([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},yi.weekdaysRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Zt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},yi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Jt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},yi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},ue("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===w(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",ue),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",de);var wi=Math.abs;function _i(t,e,i,n){var r=Xe(e,i);return t._milliseconds+=n*r._milliseconds,t._days+=n*r._days,t._months+=n*r._months,t._bubble()}function Si(t){return t<0?Math.floor(t):Math.ceil(t)}function Ci(t){return 4800*t/146097}function ki(t){return 146097*t/4800}function Ti(t){return function(){return this.as(t)}}var Ei=Ti("ms"),Ai=Ti("s"),Mi=Ti("m"),Di=Ti("h"),Pi=Ti("d"),Oi=Ti("w"),Ii=Ti("M"),Ni=Ti("Q"),Ri=Ti("y");function Fi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Bi=Fi("milliseconds"),zi=Fi("seconds"),Hi=Fi("minutes"),Vi=Fi("hours"),ji=Fi("days"),Wi=Fi("months"),Ui=Fi("years"),Yi=Math.round,Gi={ss:44,s:45,m:45,h:22,d:26,M:11},Xi=Math.abs;function qi(t){return(t>0)-(t<0)||+t}function $i(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=Xi(this._milliseconds)/1e3,n=Xi(this._days),r=Xi(this._months);t=x(i/60),e=x(t/60),i%=60,t%=60;var o=x(r/12),a=r%=12,s=n,l=e,c=t,u=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",f=qi(this._months)!==qi(h)?"-":"",p=qi(this._days)!==qi(h)?"-":"",g=qi(this._milliseconds)!==qi(h)?"-":"";return d+"P"+(o?f+o+"Y":"")+(a?f+a+"M":"")+(s?p+s+"D":"")+(l||c||u?"T":"")+(l?g+l+"H":"")+(c?g+c+"M":"")+(u?g+u+"S":"")}var Zi=Re.prototype;return Zi.isValid=function(){return this._isValid},Zi.abs=function(){var t=this._data;return this._milliseconds=wi(this._milliseconds),this._days=wi(this._days),this._months=wi(this._months),t.milliseconds=wi(t.milliseconds),t.seconds=wi(t.seconds),t.minutes=wi(t.minutes),t.hours=wi(t.hours),t.months=wi(t.months),t.years=wi(t.years),this},Zi.add=function(t,e){return _i(this,t,e,1)},Zi.subtract=function(t,e){return _i(this,t,e,-1)},Zi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=I(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+Ci(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(ki(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Zi.asMilliseconds=Ei,Zi.asSeconds=Ai,Zi.asMinutes=Mi,Zi.asHours=Di,Zi.asDays=Pi,Zi.asWeeks=Oi,Zi.asMonths=Ii,Zi.asQuarters=Ni,Zi.asYears=Ri,Zi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Zi._bubble=function(){var t,e,i,n,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Si(ki(s)+a),a=0,s=0),l.milliseconds=o%1e3,t=x(o/1e3),l.seconds=t%60,e=x(t/60),l.minutes=e%60,i=x(e/60),l.hours=i%24,a+=x(i/24),s+=r=x(Ci(a)),a-=Si(ki(r)),n=x(s/12),s%=12,l.days=a,l.months=s,l.years=n,this},Zi.clone=function(){return Xe(this)},Zi.get=function(t){return t=I(t),this.isValid()?this[t+"s"]():NaN},Zi.milliseconds=Bi,Zi.seconds=zi,Zi.minutes=Hi,Zi.hours=Vi,Zi.days=ji,Zi.weeks=function(){return x(this.days()/7)},Zi.months=Wi,Zi.years=Ui,Zi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),i=function(t,e,i){var n=Xe(t).abs(),r=Yi(n.as("s")),o=Yi(n.as("m")),a=Yi(n.as("h")),s=Yi(n.as("d")),l=Yi(n.as("M")),c=Yi(n.as("y")),u=r<=Gi.ss&&["s",r]||r<Gi.s&&["ss",r]||o<=1&&["m"]||o<Gi.m&&["mm",o]||a<=1&&["h"]||a<Gi.h&&["hh",a]||s<=1&&["d"]||s<Gi.d&&["dd",s]||l<=1&&["M"]||l<Gi.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=e,u[3]=+t>0,u[4]=i,function(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}.apply(null,u)}(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)},Zi.toISOString=$i,Zi.toString=$i,Zi.toJSON=$i,Zi.locale=ei,Zi.localeData=ni,Zi.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",$i),Zi.lang=ii,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ct("x",rt),ct("X",/[+-]?\d+(\.\d{1,3})?/),ft("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),ft("x",function(t,e,i){i._d=new Date(w(t))}),n.version="2.24.0",e=De,n.fn=mi,n.min=function(){return Ie("isBefore",[].slice.call(arguments,0))},n.max=function(){return Ie("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=d,n.unix=function(t){return De(1e3*t)},n.months=function(t,e){return Li(t,e,"months")},n.isDate=l,n.locale=ue,n.invalid=g,n.duration=Xe,n.isMoment=L,n.weekdays=function(t,e,i){return xi(t,e,i,"weekdays")},n.parseZone=function(){return De.apply(null,arguments).parseZone()},n.localeData=de,n.isDuration=Fe,n.monthsShort=function(t,e){return Li(t,e,"monthsShort")},n.weekdaysMin=function(t,e,i){return xi(t,e,i,"weekdaysMin")},n.defineLocale=he,n.updateLocale=function(t,e){if(null!=e){var i,n,r=oe;null!=(n=ce(t))&&(r=n._config),(i=new D(e=M(r,e))).parentLocale=ae[t],ae[t]=i,ue(t)}else null!=ae[t]&&(null!=ae[t].parentLocale?ae[t]=ae[t].parentLocale:null!=ae[t]&&delete ae[t]);return ae[t]},n.locales=function(){return k(ae)},n.weekdaysShort=function(t,e,i){return xi(t,e,i,"weekdaysShort")},n.normalizeUnits=I,n.relativeTimeRounding=function(t){return void 0===t?Yi:"function"==typeof t&&(Yi=t,!0)},n.relativeTimeThreshold=function(t,e){return void 0!==Gi[t]&&(void 0===e?Gi[t]:(Gi[t]=e,"s"===t&&(Gi.ss=e-1),!0))},n.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},n.prototype=mi,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}()}(qi={exports:{}}),qi.exports),Ki={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"};ri._date.override("function"==typeof Zi?{_id:"moment",formats:function(){return Ki},parse:function(t,e){return"string"==typeof t&&"string"==typeof e?t=Zi(t,e):t instanceof Zi||(t=Zi(t)),t.isValid()?t.valueOf():null},format:function(t,e){return Zi(t).format(e)},add:function(t,e,i){return Zi(t).add(e,i).valueOf()},diff:function(t,e,i){return Zi.duration(Zi(t).diff(Zi(e))).as(i)},startOf:function(t,e,i){return t=Zi(t),"isoWeek"===e?t.isoWeekday(i).valueOf():t.startOf(e).valueOf()},endOf:function(t,e){return Zi(t).endOf(e).valueOf()},_create:function(t){return Zi(t)}}:{}),at._set("global",{plugins:{filler:{propagate:!0}}});var Qi={dataset:function(t){var e=t.fill,i=t.chart,n=i.getDatasetMeta(e),r=n&&i.isDatasetVisible(e)&&n.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,i=e?e.x:null,n=e?e.y:null;return function(t){return{x:null===i?t.x:i,y:null===n?t.y:n}}}};function Ji(t,e,i){var n,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(n=parseFloat(o,10),isFinite(n)&&Math.floor(n)===n)return"-"!==o[0]&&"+"!==o[0]||(n=e+n),!(n===e||n<0||n>=i)&&n;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 tn(t){var e,i=t.el._model||{},n=t.el._scale||{},r=t.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===i.scaleBottom?n.bottom:i.scaleBottom:"end"===r?o=void 0===i.scaleTop?n.top:i.scaleTop:void 0!==i.scaleZero?o=i.scaleZero:n.getBasePosition?o=n.getBasePosition():n.getBasePixel&&(o=n.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if(ct.isFinite(o))return{x:(e=n.isHorizontal())?o:null,y:e?null:o}}return null}function en(t,e,i){var n,r=t[e].fill,o=[e];if(!i)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!isFinite(r))return r;if(!(n=t[r]))return!1;if(n.visible)return r;o.push(r),r=n.fill}return!1}function nn(t){var e=t.fill,i="dataset";return!1===e?null:(isFinite(e)||(i="boundary"),Qi[i](t))}function rn(t){return t&&!t.skip}function on(t,e,i,n,r){var o;if(n&&r){for(t.moveTo(e[0].x,e[0].y),o=1;o<n;++o)ct.canvas.lineTo(t,e[o-1],e[o]);for(t.lineTo(i[r-1].x,i[r-1].y),o=r-1;o>0;--o)ct.canvas.lineTo(t,i[o],i[o-1],!0)}}var an={id:"filler",afterDatasetsUpdate:function(t,e){var i,n,r,o,a=(t.data.datasets||[]).length,s=e.propagate,l=[];for(n=0;n<a;++n)o=null,(r=(i=t.getDatasetMeta(n)).dataset)&&r._model&&r instanceof Ft.Line&&(o={visible:t.isDatasetVisible(n),fill:Ji(r,n,a),chart:t,el:r}),i.$filler=o,l.push(o);for(n=0;n<a;++n)(o=l[n])&&(o.fill=en(l,n,s),o.boundary=tn(o),o.mapper=nn(o))},beforeDatasetDraw:function(t,e){var i=e.meta.$filler;if(i){var n=t.ctx,r=i.el,o=r._view,a=r._children||[],s=i.mapper,l=o.backgroundColor||at.global.defaultColor;s&&l&&a.length&&(ct.canvas.clipArea(n,t.chartArea),function(t,e,i,n,r,o){var a,s,l,c,u,h,d,f=e.length,p=n.spanGaps,g=[],m=[],v=0,y=0;for(t.beginPath(),a=0,s=f+!!o;a<s;++a)u=i(c=e[l=a%f]._view,l,n),h=rn(c),d=rn(u),h&&d?(v=g.push(c),y=m.push(u)):v&&y&&(p?(h&&g.push(c),d&&m.push(u)):(on(t,g,m,v,y),v=y=0,g=[],m=[]));on(t,g,m,v,y),t.closePath(),t.fillStyle=r,t.fill()}(n,a,s,o,l,r._loop),ct.canvas.unclipArea(n))}}},sn=ct.noop,ln=ct.valueOrDefault;function cn(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}at._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var i=e.datasetIndex,n=this.chart,r=n.getDatasetMeta(i);r.hidden=null===r.hidden?!n.data.datasets[i].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return ct.isArray(e.datasets)?e.datasets.map(function(e,i){return{text:e.label,fillStyle:ct.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(i),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:i}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var i=0;i<t.data.datasets.length;i++)e.push('<li><span style="background-color:'+t.data.datasets[i].backgroundColor+'"></span>'),t.data.datasets[i].label&&e.push(t.data.datasets[i].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var un=pt.extend({initialize:function(t){ct.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:sn,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:sn,beforeSetDimensions:sn,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:sn,beforeBuildLabels:sn,buildLabels:function(){var t=this,e=t.options.labels||{},i=ct.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(i=i.filter(function(i){return e.filter(i,t.chart.data)})),t.options.reverse&&i.reverse(),t.legendItems=i},afterBuildLabels:sn,beforeFit:sn,fit:function(){var t=this,e=t.options,i=e.labels,n=e.display,r=t.ctx,o=ct.options._parseFont(i),a=o.size,s=t.legendHitBoxes=[],l=t.minSize,c=t.isHorizontal();if(c?(l.width=t.maxWidth,l.height=n?10:0):(l.width=n?10:0,l.height=t.maxHeight),n)if(r.font=o.string,c){var u=t.lineWidths=[0],h=0;r.textAlign="left",r.textBaseline="top",ct.each(t.legendItems,function(t,e){var n=cn(i,a)+a/2+r.measureText(t.text).width;(0===e||u[u.length-1]+n+i.padding>l.width)&&(h+=a+i.padding,u[u.length-(e>0?0:1)]=i.padding),s[e]={left:0,top:0,width:n,height:a},u[u.length-1]+=n+i.padding}),l.height+=h}else{var d=i.padding,f=t.columnWidths=[],p=i.padding,g=0,m=0,v=a+d;ct.each(t.legendItems,function(t,e){var n=cn(i,a)+a/2+r.measureText(t.text).width;e>0&&m+v>l.height-d&&(p+=g+i.padding,f.push(g),g=0,m=0),g=Math.max(g,n),m+=v,s[e]={left:0,top:0,width:n,height:a}}),p+=g,f.push(g),l.width+=p}t.width=l.width,t.height=l.height},afterFit:sn,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,i=e.labels,n=at.global,r=n.defaultColor,o=n.elements.line,a=t.width,s=t.lineWidths;if(e.display){var l,c=t.ctx,u=ln(i.fontColor,n.defaultFontColor),h=ct.options._parseFont(i),d=h.size;c.textAlign="left",c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=u,c.fillStyle=u,c.font=h.string;var f=cn(i,d),p=t.legendHitBoxes,g=t.isHorizontal();l=g?{x:t.left+(a-s[0])/2+i.padding,y:t.top+i.padding,line:0}:{x:t.left+i.padding,y:t.top+i.padding,line:0};var m=d+i.padding;ct.each(t.legendItems,function(n,u){var h=c.measureText(n.text).width,v=f+d/2+h,y=l.x,b=l.y;g?u>0&&y+v+i.padding>t.left+t.minSize.width&&(b=l.y+=m,l.line++,y=l.x=t.left+(a-s[l.line])/2+i.padding):u>0&&b+m>t.top+t.minSize.height&&(y=l.x=y+t.columnWidths[l.line]+i.padding,b=l.y=t.top+i.padding,l.line++),function(t,i,n){if(!(isNaN(f)||f<=0)){c.save();var a=ln(n.lineWidth,o.borderWidth);if(c.fillStyle=ln(n.fillStyle,r),c.lineCap=ln(n.lineCap,o.borderCapStyle),c.lineDashOffset=ln(n.lineDashOffset,o.borderDashOffset),c.lineJoin=ln(n.lineJoin,o.borderJoinStyle),c.lineWidth=a,c.strokeStyle=ln(n.strokeStyle,r),c.setLineDash&&c.setLineDash(ln(n.lineDash,o.borderDash)),e.labels&&e.labels.usePointStyle){var s=f*Math.SQRT2/2,l=t+f/2,u=i+d/2;ct.canvas.drawPoint(c,n.pointStyle,s,l,u)}else 0!==a&&c.strokeRect(t,i,f,d),c.fillRect(t,i,f,d);c.restore()}}(y,b,n),p[u].left=y,p[u].top=b,function(t,e,i,n){var r=d/2,o=f+r+y,a=b+r;c.fillText(i.text,o,a),i.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(o,a),c.lineTo(o+n,a),c.stroke())}(0,0,n,h),g?l.x+=v+i.padding:l.y+=m})}},_getLegendItemAt:function(t,e){var i,n,r,o=this;if(t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom)for(r=o.legendHitBoxes,i=0;i<r.length;++i)if(t>=(n=r[i]).left&&t<=n.left+n.width&&e>=n.top&&e<=n.top+n.height)return o.legendItems[i];return null},handleEvent:function(t){var e,i=this,n=i.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!n.onHover&&!n.onLeave)return}else{if("click"!==r)return;if(!n.onClick)return}e=i._getLegendItemAt(t.x,t.y),"click"===r?e&&n.onClick&&n.onClick.call(i,t.native,e):(n.onLeave&&e!==i._hoveredItem&&(i._hoveredItem&&n.onLeave.call(i,t.native,i._hoveredItem),i._hoveredItem=e),n.onHover&&e&&n.onHover.call(i,t.native,e))}});function hn(t,e){var i=new un({ctx:t.ctx,options:e,chart:t});be.configure(t,i,e),be.addBox(t,i),t.legend=i}var dn={id:"legend",_element:un,beforeInit:function(t){var e=t.options.legend;e&&hn(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(ct.mergeIf(e,at.global.legend),i?(be.configure(t,i,e),i.options=e):hn(t,e)):i&&(be.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){var i=t.legend;i&&i.handleEvent(e)}},fn=ct.noop;at._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var pn=pt.extend({initialize:function(t){ct.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:fn,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:fn,beforeSetDimensions:fn,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:fn,beforeBuildLabels:fn,buildLabels:fn,afterBuildLabels:fn,beforeFit:fn,fit:function(){var t=this,e=t.options,i=e.display,n=t.minSize,r=ct.isArray(e.text)?e.text.length:1,o=ct.options._parseFont(e),a=i?r*o.lineHeight+2*e.padding:0;t.isHorizontal()?(n.width=t.maxWidth,n.height=a):(n.width=a,n.height=t.maxHeight),t.width=n.width,t.height=n.height},afterFit:fn,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,i=t.options;if(i.display){var n,r,o,a=ct.options._parseFont(i),s=a.lineHeight,l=s/2+i.padding,c=0,u=t.top,h=t.left,d=t.bottom,f=t.right;e.fillStyle=ct.valueOrDefault(i.fontColor,at.global.defaultFontColor),e.font=a.string,t.isHorizontal()?(r=h+(f-h)/2,o=u+l,n=f-h):(r="left"===i.position?h+l:f-l,o=u+(d-u)/2,n=d-u,c=Math.PI*("left"===i.position?-.5:.5)),e.save(),e.translate(r,o),e.rotate(c),e.textAlign="center",e.textBaseline="middle";var p=i.text;if(ct.isArray(p))for(var g=0,m=0;m<p.length;++m)e.fillText(p[m],0,g,n),g+=s;else e.fillText(p,0,0,n);e.restore()}}});function gn(t,e){var i=new pn({ctx:t.ctx,options:e,chart:t});be.configure(t,i,e),be.addBox(t,i),t.titleBlock=i}var mn={},vn=an,yn=dn,bn={id:"title",_element:pn,beforeInit:function(t){var e=t.options.title;e&&gn(t,e)},beforeUpdate:function(t){var e=t.options.title,i=t.titleBlock;e?(ct.mergeIf(e,at.global.title),i?(be.configure(t,i,e),i.options=e):gn(t,e)):i&&(be.removeBox(t,i),delete t.titleBlock)}};for(var Ln in mn.filler=vn,mn.legend=yn,mn.title=bn,ei.helpers=ct,function(){function t(t,e,i){var n;return"string"==typeof t?(n=parseInt(t,10),-1!==t.indexOf("%")&&(n=n/100*e.parentNode[i])):n=t,n}function e(t){return null!=t&&"none"!==t}function i(i,n,r){var o=document.defaultView,a=ct._getParentNode(i),s=o.getComputedStyle(i)[n],l=o.getComputedStyle(a)[n],c=e(s),u=e(l),h=Number.POSITIVE_INFINITY;return c||u?Math.min(c?t(s,i,r):h,u?t(l,a,r):h):"none"}ct.where=function(t,e){if(ct.isArray(t)&&Array.prototype.filter)return t.filter(e);var i=[];return ct.each(t,function(t){e(t)&&i.push(t)}),i},ct.findIndex=Array.prototype.findIndex?function(t,e,i){return t.findIndex(e,i)}:function(t,e,i){i=void 0===i?t:i;for(var n=0,r=t.length;n<r;++n)if(e.call(i,t[n],n,t))return n;return-1},ct.findNextWhere=function(t,e,i){ct.isNullOrUndef(i)&&(i=-1);for(var n=i+1;n<t.length;n++){var r=t[n];if(e(r))return r}},ct.findPreviousWhere=function(t,e,i){ct.isNullOrUndef(i)&&(i=t.length);for(var n=i-1;n>=0;n--){var r=t[n];if(e(r))return r}},ct.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},ct.almostEquals=function(t,e,i){return Math.abs(t-e)<i},ct.almostWhole=function(t,e){var i=Math.round(t);return i-e<t&&i+e>t},ct.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},ct.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},ct.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},ct.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,i=Math.round(e);return t===Math.pow(10,i)?i:e},ct.toRadians=function(t){return t*(Math.PI/180)},ct.toDegrees=function(t){return t*(180/Math.PI)},ct._decimalPlaces=function(t){if(ct.isFinite(t)){for(var e=1,i=0;Math.round(t*e)/e!==t;)e*=10,i++;return i}},ct.getAngleFromPoint=function(t,e){var i=e.x-t.x,n=e.y-t.y,r=Math.sqrt(i*i+n*n),o=Math.atan2(n,i);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},ct.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},ct.aliasPixel=function(t){return t%2==0?0:.5},ct._alignPixel=function(t,e,i){var n=t.currentDevicePixelRatio,r=i/2;return Math.round((e-r)*n)/n+r},ct.splineCurve=function(t,e,i,n){var r=t.skip?e:t,o=e,a=i.skip?e:i,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)),c=s/(s+l),u=l/(s+l),h=n*(c=isNaN(c)?0:c),d=n*(u=isNaN(u)?0:u);return{previous:{x:o.x-h*(a.x-r.x),y:o.y-h*(a.y-r.y)},next:{x:o.x+d*(a.x-r.x),y:o.y+d*(a.y-r.y)}}},ct.EPSILON=Number.EPSILON||1e-14,ct.splineCurveMonotone=function(t){var e,i,n,r,o,a,s,l,c,u=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),h=u.length;for(e=0;e<h;++e)if(!(n=u[e]).model.skip){if(i=e>0?u[e-1]:null,(r=e<h-1?u[e+1]:null)&&!r.model.skip){var d=r.model.x-n.model.x;n.deltaK=0!==d?(r.model.y-n.model.y)/d:0}!i||i.model.skip?n.mK=n.deltaK:!r||r.model.skip?n.mK=i.deltaK:this.sign(i.deltaK)!==this.sign(n.deltaK)?n.mK=0:n.mK=(i.deltaK+n.deltaK)/2}for(e=0;e<h-1;++e)n=u[e],r=u[e+1],n.model.skip||r.model.skip||(ct.almostEquals(n.deltaK,0,this.EPSILON)?n.mK=r.mK=0:(o=n.mK/n.deltaK,a=r.mK/n.deltaK,(l=Math.pow(o,2)+Math.pow(a,2))<=9||(s=3/Math.sqrt(l),n.mK=o*s*n.deltaK,r.mK=a*s*n.deltaK)));for(e=0;e<h;++e)(n=u[e]).model.skip||(i=e>0?u[e-1]:null,r=e<h-1?u[e+1]:null,i&&!i.model.skip&&(c=(n.model.x-i.model.x)/3,n.model.controlPointPreviousX=n.model.x-c,n.model.controlPointPreviousY=n.model.y-c*n.mK),r&&!r.model.skip&&(c=(r.model.x-n.model.x)/3,n.model.controlPointNextX=n.model.x+c,n.model.controlPointNextY=n.model.y+c*n.mK))},ct.nextItem=function(t,e,i){return i?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},ct.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},ct.niceNum=function(t,e){var i=Math.floor(ct.log10(t)),n=t/Math.pow(10,i);return(e?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,i)},ct.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)},ct.getRelativePosition=function(t,e){var i,n,r=t.originalEvent||t,o=t.target||t.srcElement,a=o.getBoundingClientRect(),s=r.touches;s&&s.length>0?(i=s[0].clientX,n=s[0].clientY):(i=r.clientX,n=r.clientY);var l=parseFloat(ct.getStyle(o,"padding-left")),c=parseFloat(ct.getStyle(o,"padding-top")),u=parseFloat(ct.getStyle(o,"padding-right")),h=parseFloat(ct.getStyle(o,"padding-bottom")),d=a.right-a.left-l-u,f=a.bottom-a.top-c-h;return{x:i=Math.round((i-a.left-l)/d*o.width/e.currentDevicePixelRatio),y:n=Math.round((n-a.top-c)/f*o.height/e.currentDevicePixelRatio)}},ct.getConstraintWidth=function(t){return i(t,"max-width","clientWidth")},ct.getConstraintHeight=function(t){return i(t,"max-height","clientHeight")},ct._calculatePadding=function(t,e,i){return(e=ct.getStyle(t,e)).indexOf("%")>-1?i*parseInt(e,10)/100:parseInt(e,10)},ct._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},ct.getMaximumWidth=function(t){var e=ct._getParentNode(t);if(!e)return t.clientWidth;var i=e.clientWidth,n=i-ct._calculatePadding(e,"padding-left",i)-ct._calculatePadding(e,"padding-right",i),r=ct.getConstraintWidth(t);return isNaN(r)?n:Math.min(n,r)},ct.getMaximumHeight=function(t){var e=ct._getParentNode(t);if(!e)return t.clientHeight;var i=e.clientHeight,n=i-ct._calculatePadding(e,"padding-top",i)-ct._calculatePadding(e,"padding-bottom",i),r=ct.getConstraintHeight(t);return isNaN(r)?n:Math.min(n,r)},ct.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},ct.retinaScale=function(t,e){var i=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==i){var n=t.canvas,r=t.height,o=t.width;n.height=r*i,n.width=o*i,t.ctx.scale(i,i),n.style.height||n.style.width||(n.style.height=r+"px",n.style.width=o+"px")}},ct.fontString=function(t,e,i){return e+" "+t+"px "+i},ct.longestText=function(t,e,i,n){var r=(n=n||{}).data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==e&&(r=n.data={},o=n.garbageCollect=[],n.font=e),t.font=e;var a=0;ct.each(i,function(e){null!=e&&!0!==ct.isArray(e)?a=ct.measureText(t,r,o,a,e):ct.isArray(e)&&ct.each(e,function(e){null==e||ct.isArray(e)||(a=ct.measureText(t,r,o,a,e))})});var s=o.length/2;if(s>i.length){for(var l=0;l<s;l++)delete r[o[l]];o.splice(0,s)}return a},ct.measureText=function(t,e,i,n,r){var o=e[r];return o||(o=e[r]=t.measureText(r).width,i.push(r)),o>n&&(n=o),n},ct.numberOfLabelLines=function(t){var e=1;return ct.each(t,function(t){ct.isArray(t)&&t.length>e&&(e=t.length)}),e},ct.color=G?function(t){return t instanceof CanvasGradient&&(t=at.global.defaultColor),G(t)}:function(t){return console.error("Color.js not found!"),t},ct.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:ct.color(t).saturate(.5).darken(.1).rgbString()}}(),ei._adapters=ri,ei.Animation=mt,ei.animationService=vt,ei.controllers=le,ei.DatasetController=wt,ei.defaults=at,ei.Element=pt,ei.elements=Ft,ei.Interaction=ge,ei.layouts=be,ei.platform=Fe,ei.plugins=Be,ei.Scale=ui,ei.scaleService=ze,ei.Ticks=oi,ei.Tooltip=$e,ei.helpers.each($i,function(t,e){ei.scaleService.registerScaleType(e,t,t._defaults)}),mn)mn.hasOwnProperty(Ln)&&ei.plugins.register(mn[Ln]);ei.platform.initialize();var xn=ei;return"undefined"!=typeof window&&(window.Chart=ei),ei.Chart=ei,ei.Legend=mn.legend._element,ei.Title=mn.title._element,ei.pluginService=ei.plugins,ei.PluginBase=ei.Element.extend({}),ei.canvasHelpers=ei.helpers.canvas,ei.layoutService=ei.layouts,ei.LinearScaleBase=pi,ei.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(t){ei[t]=function(e,i){return new ei(e,ei.helpers.merge(i||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}}),xn}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.d3=t.d3||{})}(this,function(t){"use strict";function e(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function i(t){var i;return 1===t.length&&(i=t,t=function(t,n){return e(i(t),n)}),{left:function(e,i,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n<r;){var o=n+r>>>1;t(e[o],i)<0?n=o+1:r=o}return n},right:function(e,i,n,r){for(null==n&&(n=0),null==r&&(r=e.length);n<r;){var o=n+r>>>1;t(e[o],i)>0?r=o:n=o+1}return n}}}var n=i(e),r=n.right,o=n.left;function a(t,e){return[t,e]}function s(t){return null===t?NaN:+t}function l(t,e){var i,n,r=t.length,o=0,a=-1,l=0,c=0;if(null==e)for(;++a<r;)isNaN(i=s(t[a]))||(c+=(n=i-l)*(i-(l+=n/++o)));else for(;++a<r;)isNaN(i=s(e(t[a],a,t)))||(c+=(n=i-l)*(i-(l+=n/++o)));if(o>1)return c/(o-1)}function c(t,e){var i=l(t,e);return i?Math.sqrt(i):i}function u(t,e){var i,n,r,o=t.length,a=-1;if(null==e){for(;++a<o;)if(null!=(i=t[a])&&i>=i)for(n=r=i;++a<o;)null!=(i=t[a])&&(n>i&&(n=i),r<i&&(r=i))}else for(;++a<o;)if(null!=(i=e(t[a],a,t))&&i>=i)for(n=r=i;++a<o;)null!=(i=e(t[a],a,t))&&(n>i&&(n=i),r<i&&(r=i));return[n,r]}var h=Array.prototype,d=h.slice,f=h.map;function p(t){return function(){return t}}function g(t){return t}function m(t,e,i){t=+t,e=+e,i=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+i;for(var n=-1,r=0|Math.max(0,Math.ceil((e-t)/i)),o=new Array(r);++n<r;)o[n]=t+n*i;return o}var v=Math.sqrt(50),y=Math.sqrt(10),b=Math.sqrt(2);function L(t,e,i){var n,r,o,a,s=-1;if(i=+i,(t=+t)==(e=+e)&&i>0)return[t];if((n=e<t)&&(r=t,t=e,e=r),0===(a=x(t,e,i))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(r=Math.ceil(e-t+1));++s<r;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(r=Math.ceil(t-e+1));++s<r;)o[s]=(t-s)/a;return n&&o.reverse(),o}function x(t,e,i){var n=(e-t)/Math.max(0,i),r=Math.floor(Math.log(n)/Math.LN10),o=n/Math.pow(10,r);return r>=0?(o>=v?10:o>=y?5:o>=b?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(o>=v?10:o>=y?5:o>=b?2:1)}function w(t,e,i){var n=Math.abs(e-t)/Math.max(0,i),r=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),o=n/r;return o>=v?r*=10:o>=y?r*=5:o>=b&&(r*=2),e<t?-r:r}function _(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function S(t,e,i){if(null==i&&(i=s),n=t.length){if((e=+e)<=0||n<2)return+i(t[0],0,t);if(e>=1)return+i(t[n-1],n-1,t);var n,r=(n-1)*e,o=Math.floor(r),a=+i(t[o],o,t);return a+(+i(t[o+1],o+1,t)-a)*(r-o)}}function C(t,e){var i,n,r=t.length,o=-1;if(null==e){for(;++o<r;)if(null!=(i=t[o])&&i>=i)for(n=i;++o<r;)null!=(i=t[o])&&i>n&&(n=i)}else for(;++o<r;)if(null!=(i=e(t[o],o,t))&&i>=i)for(n=i;++o<r;)null!=(i=e(t[o],o,t))&&i>n&&(n=i);return n}function k(t){for(var e,i,n,r=t.length,o=-1,a=0;++o<r;)a+=t[o].length;for(i=new Array(a);--r>=0;)for(e=(n=t[r]).length;--e>=0;)i[--a]=n[e];return i}function T(t,e){var i,n,r=t.length,o=-1;if(null==e){for(;++o<r;)if(null!=(i=t[o])&&i>=i)for(n=i;++o<r;)null!=(i=t[o])&&n>i&&(n=i)}else for(;++o<r;)if(null!=(i=e(t[o],o,t))&&i>=i)for(n=i;++o<r;)null!=(i=e(t[o],o,t))&&n>i&&(n=i);return n}function E(t){if(!(r=t.length))return[];for(var e=-1,i=T(t,A),n=new Array(i);++e<i;)for(var r,o=-1,a=n[e]=new Array(r);++o<r;)a[o]=t[o][e];return n}function A(t){return t.length}var M=Array.prototype.slice;function D(t){return t}var P=1,O=2,I=3,N=4,R=1e-6;function F(t){return"translate("+(t+.5)+",0)"}function B(t){return"translate(0,"+(t+.5)+")"}function z(){return!this.__axis}function H(t,e){var i=[],n=null,r=null,o=6,a=6,s=3,l=t===P||t===N?-1:1,c=t===N||t===O?"x":"y",u=t===P||t===I?F:B;function h(h){var d=null==n?e.ticks?e.ticks.apply(e,i):e.domain():n,f=null==r?e.tickFormat?e.tickFormat.apply(e,i):D:r,p=Math.max(o,0)+s,g=e.range(),m=+g[0]+.5,v=+g[g.length-1]+.5,y=(e.bandwidth?function(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(i){return+t(i)+e}}:function(t){return function(e){return+t(e)}})(e.copy()),b=h.selection?h.selection():h,L=b.selectAll(".domain").data([null]),x=b.selectAll(".tick").data(d,e).order(),w=x.exit(),_=x.enter().append("g").attr("class","tick"),S=x.select("line"),C=x.select("text");L=L.merge(L.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(_),S=S.merge(_.append("line").attr("stroke","currentColor").attr(c+"2",l*o)),C=C.merge(_.append("text").attr("fill","currentColor").attr(c,l*p).attr("dy",t===P?"0em":t===I?"0.71em":"0.32em")),h!==b&&(L=L.transition(h),x=x.transition(h),S=S.transition(h),C=C.transition(h),w=w.transition(h).attr("opacity",R).attr("transform",function(t){return isFinite(t=y(t))?u(t):this.getAttribute("transform")}),_.attr("opacity",R).attr("transform",function(t){var e=this.parentNode.__axis;return u(e&&isFinite(e=e(t))?e:y(t))})),w.remove(),L.attr("d",t===N||t==O?a?"M"+l*a+","+m+"H0.5V"+v+"H"+l*a:"M0.5,"+m+"V"+v:a?"M"+m+","+l*a+"V0.5H"+v+"V"+l*a:"M"+m+",0.5H"+v),x.attr("opacity",1).attr("transform",function(t){return u(y(t))}),S.attr(c+"2",l*o),C.attr(c,l*p).text(f),b.filter(z).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===O?"start":t===N?"end":"middle"),b.each(function(){this.__axis=y})}return h.scale=function(t){return arguments.length?(e=t,h):e},h.ticks=function(){return i=M.call(arguments),h},h.tickArguments=function(t){return arguments.length?(i=null==t?[]:M.call(t),h):i.slice()},h.tickValues=function(t){return arguments.length?(n=null==t?null:M.call(t),h):n&&n.slice()},h.tickFormat=function(t){return arguments.length?(r=t,h):r},h.tickSize=function(t){return arguments.length?(o=a=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(a=+t,h):a},h.tickPadding=function(t){return arguments.length?(s=+t,h):s},h}var V={value:function(){}};function j(){for(var t,e=0,i=arguments.length,n={};e<i;++e){if(!(t=arguments[e]+"")||t in n)throw new Error("illegal type: "+t);n[t]=[]}return new W(n)}function W(t){this._=t}function U(t,e){for(var i,n=0,r=t.length;n<r;++n)if((i=t[n]).name===e)return i.value}function Y(t,e,i){for(var n=0,r=t.length;n<r;++n)if(t[n].name===e){t[n]=V,t=t.slice(0,n).concat(t.slice(n+1));break}return null!=i&&t.push({name:e,value:i}),t}W.prototype=j.prototype={constructor:W,on:function(t,e){var i,n,r=this._,o=(n=r,(t+"").trim().split(/^|\s+/).map(function(t){var e="",i=t.indexOf(".");if(i>=0&&(e=t.slice(i+1),t=t.slice(0,i)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<s;)if(i=(t=o[a]).type)r[i]=Y(r[i],t.name,e);else if(null==e)for(i in r)r[i]=Y(r[i],t.name,null);return this}for(;++a<s;)if((i=(t=o[a]).type)&&(i=U(r[i],t.name)))return i},copy:function(){var t={},e=this._;for(var i in e)t[i]=e[i].slice();return new W(t)},call:function(t,e){if((i=arguments.length-2)>0)for(var i,n,r=new Array(i),o=0;o<i;++o)r[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,i=(n=this._[t]).length;o<i;++o)n[o].value.apply(e,r)},apply:function(t,e,i){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var n=this._[t],r=0,o=n.length;r<o;++r)n[r].value.apply(e,i)}};var G="http://www.w3.org/1999/xhtml",X={svg:"http://www.w3.org/2000/svg",xhtml:G,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function q(t){var e=t+="",i=e.indexOf(":");return i>=0&&"xmlns"!==(e=t.slice(0,i))&&(t=t.slice(i+1)),X.hasOwnProperty(e)?{space:X[e],local:t}:t}function $(t){var e=q(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,i=this.namespaceURI;return i===G&&e.documentElement.namespaceURI===G?e.createElement(t):e.createElementNS(i,t)}})(e)}function Z(){}function K(t){return null==t?Z:function(){return this.querySelector(t)}}function Q(){return[]}function J(t){return null==t?Q:function(){return this.querySelectorAll(t)}}function tt(t){return function(){return this.matches(t)}}function et(t){return new Array(t.length)}function it(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}it.prototype={constructor:it,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var nt="$";function rt(t,e,i,n,r,o){for(var a,s=0,l=e.length,c=o.length;s<c;++s)(a=e[s])?(a.__data__=o[s],n[s]=a):i[s]=new it(t,o[s]);for(;s<l;++s)(a=e[s])&&(r[s]=a)}function ot(t,e,i,n,r,o,a){var s,l,c,u={},h=e.length,d=o.length,f=new Array(h);for(s=0;s<h;++s)(l=e[s])&&(f[s]=c=nt+a.call(l,l.__data__,s,e),c in u?r[s]=l:u[c]=l);for(s=0;s<d;++s)(l=u[c=nt+a.call(t,o[s],s,o)])?(n[s]=l,l.__data__=o[s],u[c]=null):i[s]=new it(t,o[s]);for(s=0;s<h;++s)(l=e[s])&&u[f[s]]===l&&(r[s]=l)}function at(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function st(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function lt(t,e){return t.style.getPropertyValue(e)||st(t).getComputedStyle(t,null).getPropertyValue(e)}function ct(t){return t.trim().split(/^|\s+/)}function ut(t){return t.classList||new ht(t)}function ht(t){this._node=t,this._names=ct(t.getAttribute("class")||"")}function dt(t,e){for(var i=ut(t),n=-1,r=e.length;++n<r;)i.add(e[n])}function ft(t,e){for(var i=ut(t),n=-1,r=e.length;++n<r;)i.remove(e[n])}function pt(){this.textContent=""}function gt(){this.innerHTML=""}function mt(){this.nextSibling&&this.parentNode.appendChild(this)}function vt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function yt(){return null}function bt(){var t=this.parentNode;t&&t.removeChild(this)}function Lt(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function xt(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}ht.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var wt={};function _t(t,e,i){return t=St(t,e,i),function(e){var i=e.relatedTarget;i&&(i===this||8&i.compareDocumentPosition(this))||t.call(this,e)}}function St(e,i,n){return function(r){var o=t.event;t.event=r;try{e.call(this,this.__data__,i,n)}finally{t.event=o}}}function Ct(t){return function(){var e=this.__on;if(e){for(var i,n=0,r=-1,o=e.length;n<o;++n)i=e[n],t.type&&i.type!==t.type||i.name!==t.name?e[++r]=i:this.removeEventListener(i.type,i.listener,i.capture);++r?e.length=r:delete this.__on}}}function kt(t,e,i){var n=wt.hasOwnProperty(t.type)?_t:St;return function(r,o,a){var s,l=this.__on,c=n(e,o,a);if(l)for(var u=0,h=l.length;u<h;++u)if((s=l[u]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=c,s.capture=i),void(s.value=e);this.addEventListener(t.type,c,i),s={type:t.type,name:t.name,value:e,listener:c,capture:i},l?l.push(s):this.__on=[s]}}function Tt(e,i,n,r){var o=t.event;e.sourceEvent=t.event,t.event=e;try{return i.apply(n,r)}finally{t.event=o}}function Et(t,e,i){var n=st(t),r=n.CustomEvent;"function"==typeof r?r=new r(e,i):(r=n.document.createEvent("Event"),i?(r.initEvent(e,i.bubbles,i.cancelable),r.detail=i.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}t.event=null,"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(wt={mouseenter:"mouseover",mouseleave:"mouseout"}));var At=[null];function Mt(t,e){this._groups=t,this._parents=e}function Dt(){return new Mt([[document.documentElement]],At)}function Pt(t){return"string"==typeof t?new Mt([[document.querySelector(t)]],[document.documentElement]):new Mt([[t]],At)}Mt.prototype=Dt.prototype={constructor:Mt,select:function(t){"function"!=typeof t&&(t=K(t));for(var e=this._groups,i=e.length,n=new Array(i),r=0;r<i;++r)for(var o,a,s=e[r],l=s.length,c=n[r]=new Array(l),u=0;u<l;++u)(o=s[u])&&(a=t.call(o,o.__data__,u,s))&&("__data__"in o&&(a.__data__=o.__data__),c[u]=a);return new Mt(n,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=J(t));for(var e=this._groups,i=e.length,n=[],r=[],o=0;o<i;++o)for(var a,s=e[o],l=s.length,c=0;c<l;++c)(a=s[c])&&(n.push(t.call(a,a.__data__,c,s)),r.push(a));return new Mt(n,r)},filter:function(t){"function"!=typeof t&&(t=tt(t));for(var e=this._groups,i=e.length,n=new Array(i),r=0;r<i;++r)for(var o,a=e[r],s=a.length,l=n[r]=[],c=0;c<s;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&l.push(o);return new Mt(n,this._parents)},data:function(t,e){if(!t)return p=new Array(this.size()),u=-1,this.each(function(t){p[++u]=t}),p;var i,n=e?ot:rt,r=this._parents,o=this._groups;"function"!=typeof t&&(i=t,t=function(){return i});for(var a=o.length,s=new Array(a),l=new Array(a),c=new Array(a),u=0;u<a;++u){var h=r[u],d=o[u],f=d.length,p=t.call(h,h&&h.__data__,u,r),g=p.length,m=l[u]=new Array(g),v=s[u]=new Array(g);n(h,d,m,v,c[u]=new Array(f),p,e);for(var y,b,L=0,x=0;L<g;++L)if(y=m[L]){for(L>=x&&(x=L+1);!(b=v[x])&&++x<g;);y._next=b||null}}return(s=new Mt(s,r))._enter=l,s._exit=c,s},enter:function(){return new Mt(this._enter||this._groups.map(et),this._parents)},exit:function(){return new Mt(this._exit||this._groups.map(et),this._parents)},join:function(t,e,i){var n=this.enter(),r=this,o=this.exit();return n="function"==typeof t?t(n):n.append(t+""),null!=e&&(r=e(r)),null==i?o.remove():i(o),n&&r?n.merge(r).order():r},merge:function(t){for(var e=this._groups,i=t._groups,n=e.length,r=i.length,o=Math.min(n,r),a=new Array(n),s=0;s<o;++s)for(var l,c=e[s],u=i[s],h=c.length,d=a[s]=new Array(h),f=0;f<h;++f)(l=c[f]||u[f])&&(d[f]=l);for(;s<n;++s)a[s]=e[s];return new Mt(a,this._parents)},order:function(){for(var t=this._groups,e=-1,i=t.length;++e<i;)for(var n,r=t[e],o=r.length-1,a=r[o];--o>=0;)(n=r[o])&&(a&&4^n.compareDocumentPosition(a)&&a.parentNode.insertBefore(n,a),a=n);return this},sort:function(t){function e(e,i){return e&&i?t(e.__data__,i.__data__):!e-!i}t||(t=at);for(var i=this._groups,n=i.length,r=new Array(n),o=0;o<n;++o){for(var a,s=i[o],l=s.length,c=r[o]=new Array(l),u=0;u<l;++u)(a=s[u])&&(c[u]=a);c.sort(e)}return new Mt(r,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t},node:function(){for(var t=this._groups,e=0,i=t.length;e<i;++e)for(var n=t[e],r=0,o=n.length;r<o;++r){var a=n[r];if(a)return a}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,i=0,n=e.length;i<n;++i)for(var r,o=e[i],a=0,s=o.length;a<s;++a)(r=o[a])&&t.call(r,r.__data__,a,o);return this},attr:function(t,e){var i=q(t);if(arguments.length<2){var n=this.node();return i.local?n.getAttributeNS(i.space,i.local):n.getAttribute(i)}return this.each((null==e?i.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?i.local?function(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}:function(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttribute(t):this.setAttribute(t,i)}}:i.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(i,e))},style:function(t,e,i){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,i){return function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,i)}}:function(t,e,i){return function(){this.style.setProperty(t,e,i)}})(t,e,null==i?"":i)):lt(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var i=e.apply(this,arguments);null==i?delete this[t]:this[t]=i}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var i=ct(t+"");if(arguments.length<2){for(var n=ut(this.node()),r=-1,o=i.length;++r<o;)if(!n.contains(i[r]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?dt:ft)(this,t)}}:e?function(t){return function(){dt(this,t)}}:function(t){return function(){ft(this,t)}})(i,e))},text:function(t){return arguments.length?this.each(null==t?pt:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?gt:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(mt)},lower:function(){return this.each(vt)},append:function(t){var e="function"==typeof t?t:$(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var i="function"==typeof t?t:$(t),n=null==e?yt:"function"==typeof e?e:K(e);return this.select(function(){return this.insertBefore(i.apply(this,arguments),n.apply(this,arguments)||null)})},remove:function(){return this.each(bt)},clone:function(t){return this.select(t?xt:Lt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,i){var n,r,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var e="",i=t.indexOf(".");return i>=0&&(e=t.slice(i+1),t=t.slice(0,i)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?kt:Ct,null==i&&(i=!1),n=0;n<a;++n)this.each(s(o[n],e,i));return this}var s=this.node().__on;if(s)for(var l,c=0,u=s.length;c<u;++c)for(n=0,l=s[c];n<a;++n)if((r=o[n]).type===l.type&&r.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return Et(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return Et(this,t,e)}})(t,e))}};var Ot=0;function It(){return new Nt}function Nt(){this._="@"+(++Ot).toString(36)}function Rt(){for(var e,i=t.event;e=i.sourceEvent;)i=e;return i}function Ft(t,e){var i=t.ownerSVGElement||t;if(i.createSVGPoint){var n=i.createSVGPoint();return n.x=e.clientX,n.y=e.clientY,[(n=n.matrixTransform(t.getScreenCTM().inverse())).x,n.y]}var r=t.getBoundingClientRect();return[e.clientX-r.left-t.clientLeft,e.clientY-r.top-t.clientTop]}function Bt(t){var e=Rt();return e.changedTouches&&(e=e.changedTouches[0]),Ft(t,e)}function zt(t,e,i){arguments.length<3&&(i=e,e=Rt().changedTouches);for(var n,r=0,o=e?e.length:0;r<o;++r)if((n=e[r]).identifier===i)return Ft(t,n);return null}function Ht(){t.event.stopImmediatePropagation()}function Vt(){t.event.preventDefault(),t.event.stopImmediatePropagation()}function jt(t){var e=t.document.documentElement,i=Pt(t).on("dragstart.drag",Vt,!0);"onselectstart"in e?i.on("selectstart.drag",Vt,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function Wt(t,e){var i=t.document.documentElement,n=Pt(t).on("dragstart.drag",null);e&&(n.on("click.drag",Vt,!0),setTimeout(function(){n.on("click.drag",null)},0)),"onselectstart"in i?n.on("selectstart.drag",null):(i.style.MozUserSelect=i.__noselect,delete i.__noselect)}function Ut(t){return function(){return t}}function Yt(t,e,i,n,r,o,a,s,l,c){this.target=t,this.type=e,this.subject=i,this.identifier=n,this.active=r,this.x=o,this.y=a,this.dx=s,this.dy=l,this._=c}function Gt(){return!t.event.button}function Xt(){return this.parentNode}function qt(e){return null==e?{x:t.event.x,y:t.event.y}:e}function $t(){return"ontouchstart"in this}function Zt(t,e,i){t.prototype=e.prototype=i,i.constructor=t}function Kt(t,e){var i=Object.create(t.prototype);for(var n in e)i[n]=e[n];return i}function Qt(){}Nt.prototype=It.prototype={constructor:Nt,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}},Yt.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Jt="\\s*([+-]?\\d+)\\s*",te="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ee="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ie=/^#([0-9a-f]{3})$/,ne=/^#([0-9a-f]{6})$/,re=new RegExp("^rgb\\("+[Jt,Jt,Jt]+"\\)$"),oe=new RegExp("^rgb\\("+[ee,ee,ee]+"\\)$"),ae=new RegExp("^rgba\\("+[Jt,Jt,Jt,te]+"\\)$"),se=new RegExp("^rgba\\("+[ee,ee,ee,te]+"\\)$"),le=new RegExp("^hsl\\("+[te,ee,ee]+"\\)$"),ce=new RegExp("^hsla\\("+[te,ee,ee,te]+"\\)$"),ue={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function he(t){var e;return t=(t+"").trim().toLowerCase(),(e=ie.exec(t))?new me((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=ne.exec(t))?de(parseInt(e[1],16)):(e=re.exec(t))?new me(e[1],e[2],e[3],1):(e=oe.exec(t))?new me(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ae.exec(t))?fe(e[1],e[2],e[3],e[4]):(e=se.exec(t))?fe(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=le.exec(t))?ye(e[1],e[2]/100,e[3]/100,1):(e=ce.exec(t))?ye(e[1],e[2]/100,e[3]/100,e[4]):ue.hasOwnProperty(t)?de(ue[t]):"transparent"===t?new me(NaN,NaN,NaN,0):null}function de(t){return new me(t>>16&255,t>>8&255,255&t,1)}function fe(t,e,i,n){return n<=0&&(t=e=i=NaN),new me(t,e,i,n)}function pe(t){return t instanceof Qt||(t=he(t)),t?new me((t=t.rgb()).r,t.g,t.b,t.opacity):new me}function ge(t,e,i,n){return 1===arguments.length?pe(t):new me(t,e,i,null==n?1:n)}function me(t,e,i,n){this.r=+t,this.g=+e,this.b=+i,this.opacity=+n}function ve(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function ye(t,e,i,n){return n<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new Le(t,e,i,n)}function be(t,e,i,n){return 1===arguments.length?function(t){if(t instanceof Le)return new Le(t.h,t.s,t.l,t.opacity);if(t instanceof Qt||(t=he(t)),!t)return new Le;if(t instanceof Le)return t;var e=(t=t.rgb()).r/255,i=t.g/255,n=t.b/255,r=Math.min(e,i,n),o=Math.max(e,i,n),a=NaN,s=o-r,l=(o+r)/2;return s?(a=e===o?(i-n)/s+6*(i<n):i===o?(n-e)/s+2:(e-i)/s+4,s/=l<.5?o+r:2-o-r,a*=60):s=l>0&&l<1?0:a,new Le(a,s,l,t.opacity)}(t):new Le(t,e,i,null==n?1:n)}function Le(t,e,i,n){this.h=+t,this.s=+e,this.l=+i,this.opacity=+n}function xe(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}Zt(Qt,he,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Zt(me,ge,Kt(Qt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new me(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new me(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+ve(this.r)+ve(this.g)+ve(this.b)},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Zt(Le,be,Kt(Qt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Le(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Le(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,n=i+(i<.5?i:1-i)*e,r=2*i-n;return new me(xe(t>=240?t-240:t+120,r,n),xe(t,r,n),xe(t<120?t+240:t-120,r,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var we=Math.PI/180,_e=180/Math.PI,Se=.96422,Ce=1,ke=.82521,Te=4/29,Ee=6/29,Ae=3*Ee*Ee,Me=Ee*Ee*Ee;function De(t){if(t instanceof Oe)return new Oe(t.l,t.a,t.b,t.opacity);if(t instanceof He){if(isNaN(t.h))return new Oe(t.l,0,0,t.opacity);var e=t.h*we;return new Oe(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof me||(t=pe(t));var i,n,r=Fe(t.r),o=Fe(t.g),a=Fe(t.b),s=Ie((.2225045*r+.7168786*o+.0606169*a)/Ce);return r===o&&o===a?i=n=s:(i=Ie((.4360747*r+.3850649*o+.1430804*a)/Se),n=Ie((.0139322*r+.0971045*o+.7141733*a)/ke)),new Oe(116*s-16,500*(i-s),200*(s-n),t.opacity)}function Pe(t,e,i,n){return 1===arguments.length?De(t):new Oe(t,e,i,null==n?1:n)}function Oe(t,e,i,n){this.l=+t,this.a=+e,this.b=+i,this.opacity=+n}function Ie(t){return t>Me?Math.pow(t,1/3):t/Ae+Te}function Ne(t){return t>Ee?t*t*t:Ae*(t-Te)}function Re(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Fe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Be(t){if(t instanceof He)return new He(t.h,t.c,t.l,t.opacity);if(t instanceof Oe||(t=De(t)),0===t.a&&0===t.b)return new He(NaN,0,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*_e;return new He(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function ze(t,e,i,n){return 1===arguments.length?Be(t):new He(t,e,i,null==n?1:n)}function He(t,e,i,n){this.h=+t,this.c=+e,this.l=+i,this.opacity=+n}Zt(Oe,Pe,Kt(Qt,{brighter:function(t){return new Oe(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Oe(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,i=isNaN(this.b)?t:t-this.b/200;return new me(Re(3.1338561*(e=Se*Ne(e))-1.6168667*(t=Ce*Ne(t))-.4906146*(i=ke*Ne(i))),Re(-.9787684*e+1.9161415*t+.033454*i),Re(.0719453*e-.2289914*t+1.4052427*i),this.opacity)}})),Zt(He,ze,Kt(Qt,{brighter:function(t){return new He(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new He(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return De(this).rgb()}}));var Ve=1.78277,je=-.29227,We=-.90649,Ue=1.97294,Ye=Ue*We,Ge=Ue*Ve,Xe=Ve*je- -.14861*We;function qe(t,e,i,n){return 1===arguments.length?function(t){if(t instanceof $e)return new $e(t.h,t.s,t.l,t.opacity);t instanceof me||(t=pe(t));var e=t.r/255,i=t.g/255,n=t.b/255,r=(Xe*n+Ye*e-Ge*i)/(Xe+Ye-Ge),o=n-r,a=(Ue*(i-r)-je*o)/We,s=Math.sqrt(a*a+o*o)/(Ue*r*(1-r)),l=s?Math.atan2(a,o)*_e-120:NaN;return new $e(l<0?l+360:l,s,r,t.opacity)}(t):new $e(t,e,i,null==n?1:n)}function $e(t,e,i,n){this.h=+t,this.s=+e,this.l=+i,this.opacity=+n}function Ze(t,e,i,n,r){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*i+(1+3*t+3*o-3*a)*n+a*r)/6}function Ke(t){var e=t.length-1;return function(i){var n=i<=0?i=0:i>=1?(i=1,e-1):Math.floor(i*e),r=t[n],o=t[n+1],a=n>0?t[n-1]:2*r-o,s=n<e-1?t[n+2]:2*o-r;return Ze((i-n/e)*e,a,r,o,s)}}function Qe(t){var e=t.length;return function(i){var n=Math.floor(((i%=1)<0?++i:i)*e),r=t[(n+e-1)%e],o=t[n%e],a=t[(n+1)%e],s=t[(n+2)%e];return Ze((i-n/e)*e,r,o,a,s)}}function Je(t){return function(){return t}}function ti(t,e){return function(i){return t+i*e}}function ei(t,e){var i=e-t;return i?ti(t,i>180||i<-180?i-360*Math.round(i/360):i):Je(isNaN(t)?e:t)}function ii(t,e){var i=e-t;return i?ti(t,i):Je(isNaN(t)?e:t)}Zt($e,qe,Kt(Qt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new $e(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new $e(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*we,e=+this.l,i=isNaN(this.s)?0:this.s*e*(1-e),n=Math.cos(t),r=Math.sin(t);return new me(255*(e+i*(-.14861*n+Ve*r)),255*(e+i*(je*n+We*r)),255*(e+i*(Ue*n)),this.opacity)}}));var ni=function t(e){var i=function(t){return 1==(t=+t)?ii:function(e,i){return i-e?function(t,e,i){return t=Math.pow(t,i),e=Math.pow(e,i)-t,i=1/i,function(n){return Math.pow(t+n*e,i)}}(e,i,t):Je(isNaN(e)?i:e)}}(e);function n(t,e){var n=i((t=ge(t)).r,(e=ge(e)).r),r=i(t.g,e.g),o=i(t.b,e.b),a=ii(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=r(e),t.b=o(e),t.opacity=a(e),t+""}}return n.gamma=t,n}(1);function ri(t){return function(e){var i,n,r=e.length,o=new Array(r),a=new Array(r),s=new Array(r);for(i=0;i<r;++i)n=ge(e[i]),o[i]=n.r||0,a[i]=n.g||0,s[i]=n.b||0;return o=t(o),a=t(a),s=t(s),n.opacity=1,function(t){return n.r=o(t),n.g=a(t),n.b=s(t),n+""}}}var oi=ri(Ke),ai=ri(Qe);function si(t,e){var i,n=e?e.length:0,r=t?Math.min(n,t.length):0,o=new Array(r),a=new Array(n);for(i=0;i<r;++i)o[i]=pi(t[i],e[i]);for(;i<n;++i)a[i]=e[i];return function(t){for(i=0;i<r;++i)a[i]=o[i](t);return a}}function li(t,e){var i=new Date;return e-=t=+t,function(n){return i.setTime(t+e*n),i}}function ci(t,e){return e-=t=+t,function(i){return t+e*i}}function ui(t,e){var i,n={},r={};for(i in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)i in t?n[i]=pi(t[i],e[i]):r[i]=e[i];return function(t){for(i in n)r[i]=n[i](t);return r}}var hi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,di=new RegExp(hi.source,"g");function fi(t,e){var i,n,r,o=hi.lastIndex=di.lastIndex=0,a=-1,s=[],l=[];for(t+="",e+="";(i=hi.exec(t))&&(n=di.exec(e));)(r=n.index)>o&&(r=e.slice(o,r),s[a]?s[a]+=r:s[++a]=r),(i=i[0])===(n=n[0])?s[a]?s[a]+=n:s[++a]=n:(s[++a]=null,l.push({i:a,x:ci(i,n)})),o=di.lastIndex;return o<e.length&&(r=e.slice(o),s[a]?s[a]+=r:s[++a]=r),s.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var i,n=0;n<e;++n)s[(i=l[n]).i]=i.x(t);return s.join("")})}function pi(t,e){var i,n=typeof e;return null==e||"boolean"===n?Je(e):("number"===n?ci:"string"===n?(i=he(e))?(e=i,ni):fi:e instanceof he?ni:e instanceof Date?li:Array.isArray(e)?si:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?ui:ci)(t,e)}function gi(t,e){return e-=t=+t,function(i){return Math.round(t+e*i)}}var mi,vi,yi,bi,Li=180/Math.PI,xi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function wi(t,e,i,n,r,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*i+e*n)&&(i-=t*l,n-=e*l),(s=Math.sqrt(i*i+n*n))&&(i/=s,n/=s,l/=s),t*n<e*i&&(t=-t,e=-e,l=-l,a=-a),{translateX:r,translateY:o,rotate:Math.atan2(e,t)*Li,skewX:Math.atan(l)*Li,scaleX:a,scaleY:s}}function _i(t,e,i,n){function r(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],l=[];return o=t(o),a=t(a),function(t,n,r,o,a,s){if(t!==r||n!==o){var l=a.push("translate(",null,e,null,i);s.push({i:l-4,x:ci(t,r)},{i:l-2,x:ci(n,o)})}else(r||o)&&a.push("translate("+r+e+o+i)}(o.translateX,o.translateY,a.translateX,a.translateY,s,l),function(t,e,i,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),l.push({i:i.push(r(i)+"rotate(",null,n)-2,x:ci(t,e)})):e&&i.push(r(i)+"rotate("+e+n)}(o.rotate,a.rotate,s),function(t,e,i,o){t!==e?l.push({i:i.push(r(i)+"skewX(",null,n)-2,x:ci(t,e)}):e&&i.push(r(i)+"skewX("+e+n)}(o.skewX,a.skewX,s),function(t,e,i,n,o,a){if(t!==i||e!==n){var s=o.push(r(o)+"scale(",null,",",null,")");a.push({i:s-4,x:ci(t,i)},{i:s-2,x:ci(e,n)})}else 1===i&&1===n||o.push(r(o)+"scale("+i+","+n+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,i=-1,n=l.length;++i<n;)s[(e=l[i]).i]=e.x(t);return s.join("")}}}var Si=_i(function(t){return"none"===t?xi:(mi||(mi=document.createElement("DIV"),vi=document.documentElement,yi=document.defaultView),mi.style.transform=t,t=yi.getComputedStyle(vi.appendChild(mi),null).getPropertyValue("transform"),vi.removeChild(mi),wi(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),Ci=_i(function(t){return null==t?xi:(bi||(bi=document.createElementNS("http://www.w3.org/2000/svg","g")),bi.setAttribute("transform",t),(t=bi.transform.baseVal.consolidate())?wi((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):xi)},", ",")",")"),ki=Math.SQRT2,Ti=2,Ei=4,Ai=1e-12;function Mi(t){return((t=Math.exp(t))+1/t)/2}function Di(t,e){var i,n,r=t[0],o=t[1],a=t[2],s=e[0],l=e[1],c=e[2],u=s-r,h=l-o,d=u*u+h*h;if(d<Ai)n=Math.log(c/a)/ki,i=function(t){return[r+t*u,o+t*h,a*Math.exp(ki*t*n)]};else{var f=Math.sqrt(d),p=(c*c-a*a+Ei*d)/(2*a*Ti*f),g=(c*c-a*a-Ei*d)/(2*c*Ti*f),m=Math.log(Math.sqrt(p*p+1)-p),v=Math.log(Math.sqrt(g*g+1)-g);n=(v-m)/ki,i=function(t){var e,i=t*n,s=Mi(m),l=a/(Ti*f)*(s*(e=ki*i+m,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(m));return[r+l*u,o+l*h,a*s/Mi(ki*i+m)]}}return i.duration=1e3*n,i}function Pi(t){return function(e,i){var n=t((e=be(e)).h,(i=be(i)).h),r=ii(e.s,i.s),o=ii(e.l,i.l),a=ii(e.opacity,i.opacity);return function(t){return e.h=n(t),e.s=r(t),e.l=o(t),e.opacity=a(t),e+""}}}var Oi=Pi(ei),Ii=Pi(ii);function Ni(t){return function(e,i){var n=t((e=ze(e)).h,(i=ze(i)).h),r=ii(e.c,i.c),o=ii(e.l,i.l),a=ii(e.opacity,i.opacity);return function(t){return e.h=n(t),e.c=r(t),e.l=o(t),e.opacity=a(t),e+""}}}var Ri=Ni(ei),Fi=Ni(ii);function Bi(t){return function e(i){function n(e,n){var r=t((e=qe(e)).h,(n=qe(n)).h),o=ii(e.s,n.s),a=ii(e.l,n.l),s=ii(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=o(t),e.l=a(Math.pow(t,i)),e.opacity=s(t),e+""}}return i=+i,n.gamma=e,n}(1)}var zi,Hi,Vi=Bi(ei),ji=Bi(ii),Wi=0,Ui=0,Yi=0,Gi=1e3,Xi=0,qi=0,$i=0,Zi="object"==typeof performance&&performance.now?performance:Date,Ki="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Qi(){return qi||(Ki(Ji),qi=Zi.now()+$i)}function Ji(){qi=0}function tn(){this._call=this._time=this._next=null}function en(t,e,i){var n=new tn;return n.restart(t,e,i),n}function nn(){Qi(),++Wi;for(var t,e=zi;e;)(t=qi-e._time)>=0&&e._call.call(null,t),e=e._next;--Wi}function rn(){qi=(Xi=Zi.now())+$i,Wi=Ui=0;try{nn()}finally{Wi=0,function(){for(var t,e,i=zi,n=1/0;i;)i._call?(n>i._time&&(n=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:zi=e);Hi=t,an(n)}(),qi=0}}function on(){var t=Zi.now(),e=t-Xi;e>Gi&&($i-=e,Xi=t)}function an(t){Wi||(Ui&&(Ui=clearTimeout(Ui)),t-qi>24?(t<1/0&&(Ui=setTimeout(rn,t-Zi.now()-$i)),Yi&&(Yi=clearInterval(Yi))):(Yi||(Xi=Zi.now(),Yi=setInterval(on,Gi)),Wi=1,Ki(rn)))}function sn(t,e,i){var n=new tn;return e=null==e?0:+e,n.restart(function(i){n.stop(),t(i+e)},e,i),n}tn.prototype=en.prototype={constructor:tn,restart:function(t,e,i){if("function"!=typeof t)throw new TypeError("callback is not a function");i=(null==i?Qi():+i)+(null==e?0:+e),this._next||Hi===this||(Hi?Hi._next=this:zi=this,Hi=this),this._call=t,this._time=i,an()},stop:function(){this._call&&(this._call=null,this._time=1/0,an())}};var ln=j("start","end","cancel","interrupt"),cn=[],un=0,hn=1,dn=2,fn=3,pn=4,gn=5,mn=6;function vn(t,e,i,n,r,o){var a=t.__transition;if(a){if(i in a)return}else t.__transition={};!function(t,e,i){var n,r=t.__transition;function o(l){var c,u,h,d;if(i.state!==hn)return s();for(c in r)if((d=r[c]).name===i.name){if(d.state===fn)return sn(o);d.state===pn?(d.state=mn,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete r[c]):+c<e&&(d.state=mn,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete r[c])}if(sn(function(){i.state===fn&&(i.state=pn,i.timer.restart(a,i.delay,i.time),a(l))}),i.state=dn,i.on.call("start",t,t.__data__,i.index,i.group),i.state===dn){for(i.state=fn,n=new Array(h=i.tween.length),c=0,u=-1;c<h;++c)(d=i.tween[c].value.call(t,t.__data__,i.index,i.group))&&(n[++u]=d);n.length=u+1}}function a(e){for(var r=e<i.duration?i.ease.call(null,e/i.duration):(i.timer.restart(s),i.state=gn,1),o=-1,a=n.length;++o<a;)n[o].call(t,r);i.state===gn&&(i.on.call("end",t,t.__data__,i.index,i.group),s())}function s(){for(var n in i.state=mn,i.timer.stop(),delete r[e],r)return;delete t.__transition}r[e]=i,i.timer=en(function(t){i.state=hn,i.timer.restart(o,i.delay,i.time),i.delay<=t&&o(t-i.delay)},0,i.time)}(t,i,{name:e,index:n,group:r,on:ln,tween:cn,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:un})}function yn(t,e){var i=Ln(t,e);if(i.state>un)throw new Error("too late; already scheduled");return i}function bn(t,e){var i=Ln(t,e);if(i.state>fn)throw new Error("too late; already running");return i}function Ln(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function xn(t,e){var i,n,r,o=t.__transition,a=!0;if(o){for(r in e=null==e?null:e+"",o)(i=o[r]).name===e?(n=i.state>dn&&i.state<gn,i.state=mn,i.timer.stop(),i.on.call(n?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete o[r]):a=!1;a&&delete t.__transition}}function wn(t,e,i){var n=t._id;return t.each(function(){var t=bn(this,n);(t.value||(t.value={}))[e]=i.apply(this,arguments)}),function(t){return Ln(t,n).value[e]}}function _n(t,e){var i;return("number"==typeof e?ci:e instanceof he?ni:(i=he(e))?(e=i,ni):fi)(t,e)}var Sn=Dt.prototype.constructor;function Cn(t){return function(){this.style.removeProperty(t)}}var kn=0;function Tn(t,e,i,n){this._groups=t,this._parents=e,this._name=i,this._id=n}function En(t){return Dt().transition(t)}function An(){return++kn}var Mn=Dt.prototype;function Dn(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function Pn(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}Tn.prototype=En.prototype={constructor:Tn,select:function(t){var e=this._name,i=this._id;"function"!=typeof t&&(t=K(t));for(var n=this._groups,r=n.length,o=new Array(r),a=0;a<r;++a)for(var s,l,c=n[a],u=c.length,h=o[a]=new Array(u),d=0;d<u;++d)(s=c[d])&&(l=t.call(s,s.__data__,d,c))&&("__data__"in s&&(l.__data__=s.__data__),h[d]=l,vn(h[d],e,i,d,h,Ln(s,i)));return new Tn(o,this._parents,e,i)},selectAll:function(t){var e=this._name,i=this._id;"function"!=typeof t&&(t=J(t));for(var n=this._groups,r=n.length,o=[],a=[],s=0;s<r;++s)for(var l,c=n[s],u=c.length,h=0;h<u;++h)if(l=c[h]){for(var d,f=t.call(l,l.__data__,h,c),p=Ln(l,i),g=0,m=f.length;g<m;++g)(d=f[g])&&vn(d,e,i,g,f,p);o.push(f),a.push(l)}return new Tn(o,a,e,i)},filter:function(t){"function"!=typeof t&&(t=tt(t));for(var e=this._groups,i=e.length,n=new Array(i),r=0;r<i;++r)for(var o,a=e[r],s=a.length,l=n[r]=[],c=0;c<s;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&l.push(o);return new Tn(n,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,i=t._groups,n=e.length,r=i.length,o=Math.min(n,r),a=new Array(n),s=0;s<o;++s)for(var l,c=e[s],u=i[s],h=c.length,d=a[s]=new Array(h),f=0;f<h;++f)(l=c[f]||u[f])&&(d[f]=l);for(;s<n;++s)a[s]=e[s];return new Tn(a,this._parents,this._name,this._id)},selection:function(){return new Sn(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,i=An(),n=this._groups,r=n.length,o=0;o<r;++o)for(var a,s=n[o],l=s.length,c=0;c<l;++c)if(a=s[c]){var u=Ln(a,e);vn(a,t,i,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Tn(n,this._parents,t,i)},call:Mn.call,nodes:Mn.nodes,node:Mn.node,size:Mn.size,empty:Mn.empty,each:Mn.each,on:function(t,e){var i=this._id;return arguments.length<2?Ln(this.node(),i).on.on(t):this.each(function(t,e,i){var n,r,o=(e+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})?yn:bn;return function(){var a=o(this,t),s=a.on;s!==n&&(r=(n=s).copy()).on(e,i),a.on=r}}(i,t,e))},attr:function(t,e){var i=q(t),n="transform"===i?Ci:_n;return this.attrTween(t,"function"==typeof e?(i.local?function(t,e,i){var n,r,o;return function(){var a,s,l=i(this);if(null!=l)return(a=this.getAttributeNS(t.space,t.local))===(s=l+"")?null:a===n&&s===r?o:(r=s,o=e(n=a,l));this.removeAttributeNS(t.space,t.local)}}:function(t,e,i){var n,r,o;return function(){var a,s,l=i(this);if(null!=l)return(a=this.getAttribute(t))===(s=l+"")?null:a===n&&s===r?o:(r=s,o=e(n=a,l));this.removeAttribute(t)}})(i,n,wn(this,"attr."+t,e)):null==e?(i.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(i):(i.local?function(t,e,i){var n,r,o=i+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===n?r:r=e(n=a,i)}}:function(t,e,i){var n,r,o=i+"";return function(){var a=this.getAttribute(t);return a===o?null:a===n?r:r=e(n=a,i)}})(i,n,e))},attrTween:function(t,e){var i="attr."+t;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;var n=q(t);return this.tween(i,(n.local?function(t,e){var i,n;function r(){var r=e.apply(this,arguments);return r!==n&&(i=(n=r)&&function(t,e){return function(i){this.setAttributeNS(t.space,t.local,e(i))}}(t,r)),i}return r._value=e,r}:function(t,e){var i,n;function r(){var r=e.apply(this,arguments);return r!==n&&(i=(n=r)&&function(t,e){return function(i){this.setAttribute(t,e(i))}}(t,r)),i}return r._value=e,r})(n,e))},style:function(t,e,i){var n="transform"==(t+="")?Si:_n;return null==e?this.styleTween(t,function(t,e){var i,n,r;return function(){var o=lt(this,t),a=(this.style.removeProperty(t),lt(this,t));return o===a?null:o===i&&a===n?r:r=e(i=o,n=a)}}(t,n)).on("end.style."+t,Cn(t)):"function"==typeof e?this.styleTween(t,function(t,e,i){var n,r,o;return function(){var a=lt(this,t),s=i(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=lt(this,t)),a===l?null:a===n&&l===r?o:(r=l,o=e(n=a,s))}}(t,n,wn(this,"style."+t,e))).each(function(t,e){var i,n,r,o,a="style."+e,s="end."+a;return function(){var l=bn(this,t),c=l.on,u=null==l.value[a]?o||(o=Cn(e)):void 0;c===i&&r===u||(n=(i=c).copy()).on(s,r=u),l.on=n}}(this._id,t)):this.styleTween(t,function(t,e,i){var n,r,o=i+"";return function(){var a=lt(this,t);return a===o?null:a===n?r:r=e(n=a,i)}}(t,n,e),i).on("end.style."+t,null)},styleTween:function(t,e,i){var n="style."+(t+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;return this.tween(n,function(t,e,i){var n,r;function o(){var o=e.apply(this,arguments);return o!==r&&(n=(r=o)&&function(t,e,i){return function(n){this.style.setProperty(t,e(n),i)}}(t,o,i)),n}return o._value=e,o}(t,e,null==i?"":i))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(wn(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var i in this.__transition)if(+i!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var i=this._id;if(t+="",arguments.length<2){for(var n,r=Ln(this.node(),i).tween,o=0,a=r.length;o<a;++o)if((n=r[o]).name===t)return n.value;return null}return this.each((null==e?function(t,e){var i,n;return function(){var r=bn(this,t),o=r.tween;if(o!==i)for(var a=0,s=(n=i=o).length;a<s;++a)if(n[a].name===e){(n=n.slice()).splice(a,1);break}r.tween=n}}:function(t,e,i){var n,r;if("function"!=typeof i)throw new Error;return function(){var o=bn(this,t),a=o.tween;if(a!==n){r=(n=a).slice();for(var s={name:e,value:i},l=0,c=r.length;l<c;++l)if(r[l].name===e){r[l]=s;break}l===c&&r.push(s)}o.tween=r}})(i,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){yn(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){yn(this,t).delay=e}})(e,t)):Ln(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){bn(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){bn(this,t).duration=e}})(e,t)):Ln(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){bn(this,t).ease=e}}(e,t)):Ln(this.node(),e).ease},end:function(){var t,e,i=this,n=i._id,r=i.size();return new Promise(function(o,a){var s={value:a},l={value:function(){0==--r&&o()}};i.each(function(){var i=bn(this,n),r=i.on;r!==t&&((e=(t=r).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(l)),i.on=e})})}};var On=function t(e){function i(t){return Math.pow(t,e)}return e=+e,i.exponent=t,i}(3),In=function t(e){function i(t){return 1-Math.pow(1-t,e)}return e=+e,i.exponent=t,i}(3),Nn=function t(e){function i(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,i.exponent=t,i}(3),Rn=Math.PI,Fn=Rn/2;function Bn(t){return(1-Math.cos(Rn*t))/2}function zn(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function Hn(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Vn=4/11,jn=6/11,Wn=8/11,Un=.75,Yn=9/11,Gn=10/11,Xn=.9375,qn=21/22,$n=63/64,Zn=1/Vn/Vn;function Kn(t){return(t=+t)<Vn?Zn*t*t:t<Wn?Zn*(t-=jn)*t+Un:t<Gn?Zn*(t-=Yn)*t+Xn:Zn*(t-=qn)*t+$n}var Qn=function t(e){function i(t){return t*t*((e+1)*t-e)}return e=+e,i.overshoot=t,i}(1.70158),Jn=function t(e){function i(t){return--t*t*((e+1)*t+e)+1}return e=+e,i.overshoot=t,i}(1.70158),tr=function t(e){function i(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,i.overshoot=t,i}(1.70158),er=2*Math.PI,ir=function t(e,i){var n=Math.asin(1/(e=Math.max(1,e)))*(i/=er);function r(t){return e*Math.pow(2,10*--t)*Math.sin((n-t)/i)}return r.amplitude=function(e){return t(e,i*er)},r.period=function(i){return t(e,i)},r}(1,.3),nr=function t(e,i){var n=Math.asin(1/(e=Math.max(1,e)))*(i/=er);function r(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+n)/i)}return r.amplitude=function(e){return t(e,i*er)},r.period=function(i){return t(e,i)},r}(1,.3),rr=function t(e,i){var n=Math.asin(1/(e=Math.max(1,e)))*(i/=er);function r(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((n-t)/i):2-e*Math.pow(2,-10*t)*Math.sin((n+t)/i))/2}return r.amplitude=function(e){return t(e,i*er)},r.period=function(i){return t(e,i)},r}(1,.3),or={time:null,delay:0,duration:250,ease:Pn};function ar(t,e){for(var i;!(i=t.__transition)||!(i=i[e]);)if(!(t=t.parentNode))return or.time=Qi(),or;return i}Dt.prototype.interrupt=function(t){return this.each(function(){xn(this,t)})},Dt.prototype.transition=function(t){var e,i;t instanceof Tn?(e=t._id,t=t._name):(e=An(),(i=or).time=Qi(),t=null==t?null:t+"");for(var n=this._groups,r=n.length,o=0;o<r;++o)for(var a,s=n[o],l=s.length,c=0;c<l;++c)(a=s[c])&&vn(a,t,e,c,s,i||ar(a,e));return new Tn(n,this._parents,t,e)};var sr=[null];function lr(t){return function(){return t}}function cr(t,e,i){this.target=t,this.type=e,this.selection=i}function ur(){t.event.stopImmediatePropagation()}function hr(){t.event.preventDefault(),t.event.stopImmediatePropagation()}var dr={name:"drag"},fr={name:"space"},pr={name:"handle"},gr={name:"center"},mr={name:"x",handles:["e","w"].map(Sr),input:function(t,e){return t&&[[t[0],e[0][1]],[t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},vr={name:"y",handles:["n","s"].map(Sr),input:function(t,e){return t&&[[e[0][0],t[0]],[e[1][0],t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},yr={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(Sr),input:function(t){return t},output:function(t){return t}},br={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Lr={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},xr={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},wr={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},_r={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Sr(t){return{type:t}}function Cr(){return!t.event.button}function kr(){var t=this.ownerSVGElement||this;return[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Tr(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Er(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function Ar(e){var i,n=kr,r=Cr,o=j(s,"start","brush","end"),a=6;function s(t){var i=t.property("__brush",d).selectAll(".overlay").data([Sr("overlay")]);i.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",br.overlay).merge(i).each(function(){var t=Tr(this).extent;Pt(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),t.selectAll(".selection").data([Sr("selection")]).enter().append("rect").attr("class","selection").attr("cursor",br.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var n=t.selectAll(".handle").data(e.handles,function(t){return t.type});n.exit().remove(),n.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return br[t.type]}),t.each(l).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",h)}function l(){var t=Pt(this),e=Tr(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-a/2:e[0][0]-a/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-a/2:e[0][1]-a/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+a:a}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+a:a})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function c(t,e){return t.__brush.emitter||new u(t,e)}function u(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function h(){if(t.event.touches){if(t.event.changedTouches.length<t.event.touches.length)return hr()}else if(i)return;if(r.apply(this,arguments)){var n,o,a,s,u,h,d,f,p,g,m,v,y,b=this,L=t.event.target.__data__.type,x="selection"===(t.event.metaKey?L="overlay":L)?dr:t.event.altKey?gr:pr,w=e===vr?null:wr[L],_=e===mr?null:_r[L],S=Tr(b),C=S.extent,k=S.selection,T=C[0][0],E=C[0][1],A=C[1][0],M=C[1][1],D=w&&_&&t.event.shiftKey,P=Bt(b),O=P,I=c(b,arguments).beforestart();"overlay"===L?S.selection=k=[[n=e===vr?T:P[0],a=e===mr?E:P[1]],[u=e===vr?A:n,d=e===mr?M:a]]:(n=k[0][0],a=k[0][1],u=k[1][0],d=k[1][1]),o=n,s=a,h=u,f=d;var N=Pt(b).attr("pointer-events","none"),R=N.selectAll(".overlay").attr("cursor",br[L]);if(t.event.touches)N.on("touchmove.brush",B,!0).on("touchend.brush touchcancel.brush",H,!0);else{var F=Pt(t.event.view).on("keydown.brush",function(){switch(t.event.keyCode){case 16:D=w&&_;break;case 18:x===pr&&(w&&(u=h-p*w,n=o+p*w),_&&(d=f-g*_,a=s+g*_),x=gr,z());break;case 32:x!==pr&&x!==gr||(w<0?u=h-p:w>0&&(n=o-p),_<0?d=f-g:_>0&&(a=s-g),x=fr,R.attr("cursor",br.selection),z());break;default:return}hr()},!0).on("keyup.brush",function(){switch(t.event.keyCode){case 16:D&&(v=y=D=!1,z());break;case 18:x===gr&&(w<0?u=h:w>0&&(n=o),_<0?d=f:_>0&&(a=s),x=pr,z());break;case 32:x===fr&&(t.event.altKey?(w&&(u=h-p*w,n=o+p*w),_&&(d=f-g*_,a=s+g*_),x=gr):(w<0?u=h:w>0&&(n=o),_<0?d=f:_>0&&(a=s),x=pr),R.attr("cursor",br[L]),z());break;default:return}hr()},!0).on("mousemove.brush",B,!0).on("mouseup.brush",H,!0);jt(t.event.view)}ur(),xn(b),l.call(b),I.start()}function B(){var t=Bt(b);!D||v||y||(Math.abs(t[0]-O[0])>Math.abs(t[1]-O[1])?y=!0:v=!0),O=t,m=!0,hr(),z()}function z(){var t;switch(p=O[0]-P[0],g=O[1]-P[1],x){case fr:case dr:w&&(p=Math.max(T-n,Math.min(A-u,p)),o=n+p,h=u+p),_&&(g=Math.max(E-a,Math.min(M-d,g)),s=a+g,f=d+g);break;case pr:w<0?(p=Math.max(T-n,Math.min(A-n,p)),o=n+p,h=u):w>0&&(p=Math.max(T-u,Math.min(A-u,p)),o=n,h=u+p),_<0?(g=Math.max(E-a,Math.min(M-a,g)),s=a+g,f=d):_>0&&(g=Math.max(E-d,Math.min(M-d,g)),s=a,f=d+g);break;case gr:w&&(o=Math.max(T,Math.min(A,n-p*w)),h=Math.max(T,Math.min(A,u+p*w))),_&&(s=Math.max(E,Math.min(M,a-g*_)),f=Math.max(E,Math.min(M,d+g*_)))}h<o&&(w*=-1,t=n,n=u,u=t,t=o,o=h,h=t,L in Lr&&R.attr("cursor",br[L=Lr[L]])),f<s&&(_*=-1,t=a,a=d,d=t,t=s,s=f,f=t,L in xr&&R.attr("cursor",br[L=xr[L]])),S.selection&&(k=S.selection),v&&(o=k[0][0],h=k[1][0]),y&&(s=k[0][1],f=k[1][1]),k[0][0]===o&&k[0][1]===s&&k[1][0]===h&&k[1][1]===f||(S.selection=[[o,s],[h,f]],l.call(b),I.brush())}function H(){if(ur(),t.event.touches){if(t.event.touches.length)return;i&&clearTimeout(i),i=setTimeout(function(){i=null},500),N.on("touchmove.brush touchend.brush touchcancel.brush",null)}else Wt(t.event.view,m),F.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);N.attr("pointer-events","all"),R.attr("cursor",br.overlay),S.selection&&(k=S.selection),Er(k)&&(S.selection=null,l.call(b)),I.end()}}function d(){var t=this.__brush||{selection:null};return t.extent=n.apply(this,arguments),t.dim=e,t}return s.move=function(t,i){t.selection?t.on("start.brush",function(){c(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){c(this,arguments).end()}).tween("brush",function(){var t=this,n=t.__brush,r=c(t,arguments),o=n.selection,a=e.input("function"==typeof i?i.apply(this,arguments):i,n.extent),s=pi(o,a);function u(e){n.selection=1===e&&Er(a)?null:s(e),l.call(t),r.brush()}return o&&a?u:u(1)}):t.each(function(){var t=arguments,n=this.__brush,r=e.input("function"==typeof i?i.apply(this,t):i,n.extent),o=c(this,t).beforestart();xn(this),n.selection=null==r||Er(r)?null:r,l.call(this),o.start().brush().end()})},u.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(t){Tt(new cr(s,t,e.output(this.state.selection)),o.apply,o,[t,this.that,this.args])}},s.extent=function(t){return arguments.length?(n="function"==typeof t?t:lr([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),s):n},s.filter=function(t){return arguments.length?(r="function"==typeof t?t:lr(!!t),s):r},s.handleSize=function(t){return arguments.length?(a=+t,s):a},s.on=function(){var t=o.on.apply(o,arguments);return t===o?s:t},s}var Mr=Math.cos,Dr=Math.sin,Pr=Math.PI,Or=Pr/2,Ir=2*Pr,Nr=Math.max,Rr=Array.prototype.slice;function Fr(t){return function(){return t}}var Br=Math.PI,zr=2*Br,Hr=zr-1e-6;function Vr(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function jr(){return new Vr}function Wr(t){return t.source}function Ur(t){return t.target}function Yr(t){return t.radius}function Gr(t){return t.startAngle}function Xr(t){return t.endAngle}function qr(){}function $r(t,e){var i=new qr;if(t instanceof qr)t.each(function(t,e){i.set(e,t)});else if(Array.isArray(t)){var n,r=-1,o=t.length;if(null==e)for(;++r<o;)i.set(r,t[r]);else for(;++r<o;)i.set(e(n=t[r],r,t),n)}else if(t)for(var a in t)i.set(a,t[a]);return i}function Zr(){return{}}function Kr(t,e,i){t[e]=i}function Qr(){return $r()}function Jr(t,e,i){t.set(e,i)}function to(){}Vr.prototype=jr.prototype={constructor:Vr,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,n){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+n)},bezierCurveTo:function(t,e,i,n,r,o){this._+="C"+ +t+","+ +e+","+ +i+","+ +n+","+(this._x1=+r)+","+(this._y1=+o)},arcTo:function(t,e,i,n,r){t=+t,e=+e,i=+i,n=+n,r=+r;var o=this._x1,a=this._y1,s=i-t,l=n-e,c=o-t,u=a-e,h=c*c+u*u;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>1e-6)if(Math.abs(u*s-l*c)>1e-6&&r){var d=i-o,f=n-a,p=s*s+l*l,g=d*d+f*f,m=Math.sqrt(p),v=Math.sqrt(h),y=r*Math.tan((Br-Math.acos((p+h-g)/(2*m*v)))/2),b=y/v,L=y/m;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*c)+","+(e+b*u)),this._+="A"+r+","+r+",0,0,"+ +(u*d>c*f)+","+(this._x1=t+L*s)+","+(this._y1=e+L*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,i,n,r,o){t=+t,e=+e;var a=(i=+i)*Math.cos(n),s=i*Math.sin(n),l=t+a,c=e+s,u=1^o,h=o?n-r:r-n;if(i<0)throw new Error("negative radius: "+i);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+l+","+c),i&&(h<0&&(h=h%zr+zr),h>Hr?this._+="A"+i+","+i+",0,1,"+u+","+(t-a)+","+(e-s)+"A"+i+","+i+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):h>1e-6&&(this._+="A"+i+","+i+",0,"+ +(h>=Br)+","+u+","+(this._x1=t+i*Math.cos(r))+","+(this._y1=e+i*Math.sin(r))))},rect:function(t,e,i,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +n+"h"+-i+"Z"},toString:function(){return this._}},qr.prototype=$r.prototype={constructor:qr,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};var eo=$r.prototype;function io(t,e){var i=new to;if(t instanceof to)t.each(function(t){i.add(t)});else if(t){var n=-1,r=t.length;if(null==e)for(;++n<r;)i.add(t[n]);else for(;++n<r;)i.add(e(t[n],n,t))}return i}to.prototype=io.prototype={constructor:to,has:eo.has,add:function(t){return this["$"+(t+="")]=t,this},remove:eo.remove,clear:eo.clear,values:eo.keys,size:eo.size,empty:eo.empty,each:eo.each};var no=Array.prototype.slice;function ro(t,e){return t-e}function oo(t){return function(){return t}}function ao(t,e){for(var i,n=-1,r=e.length;++n<r;)if(i=so(t,e[n]))return i;return 0}function so(t,e){for(var i=e[0],n=e[1],r=-1,o=0,a=t.length,s=a-1;o<a;s=o++){var l=t[o],c=l[0],u=l[1],h=t[s],d=h[0],f=h[1];if(lo(l,h,e))return 0;u>n!=f>n&&i<(d-c)*(n-u)/(f-u)+c&&(r=-r)}return r}function lo(t,e,i){var n,r,o,a;return function(t,e,i){return(e[0]-t[0])*(i[1]-t[1])==(i[0]-t[0])*(e[1]-t[1])}(t,e,i)&&(r=t[n=+(t[0]===e[0])],o=i[n],a=e[n],r<=o&&o<=a||a<=o&&o<=r)}function co(){}var uo=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]];function ho(){var t=1,e=1,i=_,n=s;function r(t){var e=i(t);if(Array.isArray(e))e=e.slice().sort(ro);else{var n=u(t),r=n[0],a=n[1];e=w(r,a,e),e=m(Math.floor(r/e)*e,Math.floor(a/e)*e,e)}return e.map(function(e){return o(t,e)})}function o(i,r){var o=[],s=[];return function(i,n,r){var o,s,l,c,u,h,d=new Array,f=new Array;for(o=s=-1,c=i[0]>=n,uo[c<<1].forEach(p);++o<t-1;)l=c,c=i[o+1]>=n,uo[l|c<<1].forEach(p);for(uo[c<<0].forEach(p);++s<e-1;){for(o=-1,c=i[s*t+t]>=n,u=i[s*t]>=n,uo[c<<1|u<<2].forEach(p);++o<t-1;)l=c,c=i[s*t+t+o+1]>=n,h=u,u=i[s*t+o+1]>=n,uo[l|c<<1|u<<2|h<<3].forEach(p);uo[c|u<<3].forEach(p)}for(o=-1,u=i[s*t]>=n,uo[u<<2].forEach(p);++o<t-1;)h=u,u=i[s*t+o+1]>=n,uo[u<<2|h<<3].forEach(p);function p(t){var e,i,n=[t[0][0]+o,t[0][1]+s],l=[t[1][0]+o,t[1][1]+s],c=a(n),u=a(l);(e=f[c])?(i=d[u])?(delete f[e.end],delete d[i.start],e===i?(e.ring.push(l),r(e.ring)):d[e.start]=f[i.end]={start:e.start,end:i.end,ring:e.ring.concat(i.ring)}):(delete f[e.end],e.ring.push(l),f[e.end=u]=e):(e=d[u])?(i=f[c])?(delete d[e.start],delete f[i.end],e===i?(e.ring.push(l),r(e.ring)):d[i.start]=f[e.end]={start:i.start,end:e.end,ring:i.ring.concat(e.ring)}):(delete d[e.start],e.ring.unshift(n),d[e.start=c]=e):d[c]=f[u]={start:c,end:u,ring:[n,l]}}uo[u<<3].forEach(p)}(i,r,function(t){n(t,i,r),function(t){for(var e=0,i=t.length,n=t[i-1][1]*t[0][0]-t[i-1][0]*t[0][1];++e<i;)n+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return n}(t)>0?o.push([t]):s.push(t)}),s.forEach(function(t){for(var e,i=0,n=o.length;i<n;++i)if(-1!==ao((e=o[i])[0],t))return void e.push(t)}),{type:"MultiPolygon",value:r,coordinates:o}}function a(e){return 2*e[0]+e[1]*(t+1)*4}function s(i,n,r){i.forEach(function(i){var o,a=i[0],s=i[1],l=0|a,c=0|s,u=n[c*t+l];a>0&&a<t&&l===a&&(o=n[c*t+l-1],i[0]=a+(r-o)/(u-o)-.5),s>0&&s<e&&c===s&&(o=n[(c-1)*t+l],i[1]=s+(r-o)/(u-o)-.5)})}return r.contour=o,r.size=function(i){if(!arguments.length)return[t,e];var n=Math.ceil(i[0]),o=Math.ceil(i[1]);if(!(n>0&&o>0))throw new Error("invalid size");return t=n,e=o,r},r.thresholds=function(t){return arguments.length?(i="function"==typeof t?t:Array.isArray(t)?oo(no.call(t)):oo(t),r):i},r.smooth=function(t){return arguments.length?(n=t?s:co,r):n===s},r}function fo(t,e,i){for(var n=t.width,r=t.height,o=1+(i<<1),a=0;a<r;++a)for(var s=0,l=0;s<n+i;++s)s<n&&(l+=t.data[s+a*n]),s>=i&&(s>=o&&(l-=t.data[s-o+a*n]),e.data[s-i+a*n]=l/Math.min(s+1,n-1+o-s,o))}function po(t,e,i){for(var n=t.width,r=t.height,o=1+(i<<1),a=0;a<n;++a)for(var s=0,l=0;s<r+i;++s)s<r&&(l+=t.data[a+s*n]),s>=i&&(s>=o&&(l-=t.data[a+(s-o)*n]),e.data[a+(s-i)*n]=l/Math.min(s+1,r-1+o-s,o))}function go(t){return t[0]}function mo(t){return t[1]}function vo(){return 1}var yo={},bo={},Lo=34,xo=10,wo=13;function _o(t){return new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}")}function So(t){var e=Object.create(null),i=[];return t.forEach(function(t){for(var n in t)n in e||i.push(e[n]=n)}),i}function Co(t,e){var i=t+"",n=i.length;return n<e?new Array(e-n+1).join(0)+i:i}function ko(t){var e=new RegExp('["'+t+"\n\r]"),i=t.charCodeAt(0);function n(t,e){var n,r=[],o=t.length,a=0,s=0,l=o<=0,c=!1;function u(){if(l)return bo;if(c)return c=!1,yo;var e,n,r=a;if(t.charCodeAt(r)===Lo){for(;a++<o&&t.charCodeAt(a)!==Lo||t.charCodeAt(++a)===Lo;);return(e=a)>=o?l=!0:(n=t.charCodeAt(a++))===xo?c=!0:n===wo&&(c=!0,t.charCodeAt(a)===xo&&++a),t.slice(r+1,e-1).replace(/""/g,'"')}for(;a<o;){if((n=t.charCodeAt(e=a++))===xo)c=!0;else if(n===wo)c=!0,t.charCodeAt(a)===xo&&++a;else if(n!==i)continue;return t.slice(r,e)}return l=!0,t.slice(r,o)}for(t.charCodeAt(o-1)===xo&&--o,t.charCodeAt(o-1)===wo&&--o;(n=u())!==bo;){for(var h=[];n!==yo&&n!==bo;)h.push(n),n=u();e&&null==(h=e(h,s++))||r.push(h)}return r}function r(e,i){return e.map(function(e){return i.map(function(t){return a(e[t])}).join(t)})}function o(e){return e.map(a).join(t)}function a(t){return null==t?"":t instanceof Date?function(t){var e,i=t.getUTCHours(),n=t.getUTCMinutes(),r=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((e=t.getUTCFullYear())<0?"-"+Co(-e,6):e>9999?"+"+Co(e,6):Co(e,4))+"-"+Co(t.getUTCMonth()+1,2)+"-"+Co(t.getUTCDate(),2)+(o?"T"+Co(i,2)+":"+Co(n,2)+":"+Co(r,2)+"."+Co(o,3)+"Z":r?"T"+Co(i,2)+":"+Co(n,2)+":"+Co(r,2)+"Z":n||i?"T"+Co(i,2)+":"+Co(n,2)+"Z":"")}(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var i,r,o=n(t,function(t,n){if(i)return i(t,n-1);r=t,i=e?function(t,e){var i=_o(t);return function(n,r){return e(i(n),r,t)}}(t,e):_o(t)});return o.columns=r||[],o},parseRows:n,format:function(e,i){return null==i&&(i=So(e)),[i.map(a).join(t)].concat(r(e,i)).join("\n")},formatBody:function(t,e){return null==e&&(e=So(t)),r(t,e).join("\n")},formatRows:function(t){return t.map(o).join("\n")}}}var To=ko(","),Eo=To.parse,Ao=To.parseRows,Mo=To.format,Do=To.formatBody,Po=To.formatRows,Oo=ko("\t"),Io=Oo.parse,No=Oo.parseRows,Ro=Oo.format,Fo=Oo.formatBody,Bo=Oo.formatRows;function zo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}function Ho(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}function Vo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function jo(t,e){return fetch(t,e).then(Vo)}function Wo(t){return function(e,i,n){return 2===arguments.length&&"function"==typeof i&&(n=i,i=void 0),jo(e,i).then(function(e){return t(e,n)})}}var Uo=Wo(Eo),Yo=Wo(Io);function Go(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.json()}function Xo(t){return function(e,i){return jo(e,i).then(function(e){return(new DOMParser).parseFromString(e,t)})}}var qo=Xo("application/xml"),$o=Xo("text/html"),Zo=Xo("image/svg+xml");function Ko(t){return function(){return t}}function Qo(){return 1e-6*(Math.random()-.5)}function Jo(t,e,i,n){if(isNaN(e)||isNaN(i))return t;var r,o,a,s,l,c,u,h,d,f=t._root,p={data:n},g=t._x0,m=t._y0,v=t._x1,y=t._y1;if(!f)return t._root=p,t;for(;f.length;)if((c=e>=(o=(g+v)/2))?g=o:v=o,(u=i>=(a=(m+y)/2))?m=a:y=a,r=f,!(f=f[h=u<<1|c]))return r[h]=p,t;if(s=+t._x.call(null,f.data),l=+t._y.call(null,f.data),e===s&&i===l)return p.next=f,r?r[h]=p:t._root=p,t;do{r=r?r[h]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+v)/2))?g=o:v=o,(u=i>=(a=(m+y)/2))?m=a:y=a}while((h=u<<1|c)==(d=(l>=a)<<1|s>=o));return r[d]=f,r[h]=p,t}function ta(t,e,i,n,r){this.node=t,this.x0=e,this.y0=i,this.x1=n,this.y1=r}function ea(t){return t[0]}function ia(t){return t[1]}function na(t,e,i){var n=new ra(null==e?ea:e,null==i?ia:i,NaN,NaN,NaN,NaN);return null==t?n:n.addAll(t)}function ra(t,e,i,n,r,o){this._x=t,this._y=e,this._x0=i,this._y0=n,this._x1=r,this._y1=o,this._root=void 0}function oa(t){for(var e={data:t.data},i=e;t=t.next;)i=i.next={data:t.data};return e}var aa=na.prototype=ra.prototype;function sa(t){return t.x+t.vx}function la(t){return t.y+t.vy}function ca(t){return t.index}function ua(t,e){var i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function ha(t){return t.x}function da(t){return t.y}aa.copy=function(){var t,e,i=new ra(this._x,this._y,this._x0,this._y0,this._x1,this._y1),n=this._root;if(!n)return i;if(!n.length)return i._root=oa(n),i;for(t=[{source:n,target:i._root=new Array(4)}];n=t.pop();)for(var r=0;r<4;++r)(e=n.source[r])&&(e.length?t.push({source:e,target:n.target[r]=new Array(4)}):n.target[r]=oa(e));return i},aa.add=function(t){var e=+this._x.call(null,t),i=+this._y.call(null,t);return Jo(this.cover(e,i),e,i,t)},aa.addAll=function(t){var e,i,n,r,o=t.length,a=new Array(o),s=new Array(o),l=1/0,c=1/0,u=-1/0,h=-1/0;for(i=0;i<o;++i)isNaN(n=+this._x.call(null,e=t[i]))||isNaN(r=+this._y.call(null,e))||(a[i]=n,s[i]=r,n<l&&(l=n),n>u&&(u=n),r<c&&(c=r),r>h&&(h=r));if(l>u||c>h)return this;for(this.cover(l,c).cover(u,h),i=0;i<o;++i)Jo(this,a[i],s[i],t[i]);return this},aa.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var i=this._x0,n=this._y0,r=this._x1,o=this._y1;if(isNaN(i))r=(i=Math.floor(t))+1,o=(n=Math.floor(e))+1;else{for(var a,s,l=r-i,c=this._root;i>t||t>=r||n>e||e>=o;)switch(s=(e<n)<<1|t<i,(a=new Array(4))[s]=c,c=a,l*=2,s){case 0:r=i+l,o=n+l;break;case 1:i=r-l,o=n+l;break;case 2:r=i+l,n=o-l;break;case 3:i=r-l,n=o-l}this._root&&this._root.length&&(this._root=c)}return this._x0=i,this._y0=n,this._x1=r,this._y1=o,this},aa.data=function(){var t=[];return this.visit(function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)}),t},aa.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},aa.find=function(t,e,i){var n,r,o,a,s,l,c,u=this._x0,h=this._y0,d=this._x1,f=this._y1,p=[],g=this._root;for(g&&p.push(new ta(g,u,h,d,f)),null==i?i=1/0:(u=t-i,h=e-i,d=t+i,f=e+i,i*=i);l=p.pop();)if(!(!(g=l.node)||(r=l.x0)>d||(o=l.y0)>f||(a=l.x1)<u||(s=l.y1)<h))if(g.length){var m=(r+a)/2,v=(o+s)/2;p.push(new ta(g[3],m,v,a,s),new ta(g[2],r,v,m,s),new ta(g[1],m,o,a,v),new ta(g[0],r,o,m,v)),(c=(e>=v)<<1|t>=m)&&(l=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=l)}else{var y=t-+this._x.call(null,g.data),b=e-+this._y.call(null,g.data),L=y*y+b*b;if(L<i){var x=Math.sqrt(i=L);u=t-x,h=e-x,d=t+x,f=e+x,n=g.data}}return n},aa.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,i,n,r,o,a,s,l,c,u,h,d,f=this._root,p=this._x0,g=this._y0,m=this._x1,v=this._y1;if(!f)return this;if(f.length)for(;;){if((c=o>=(s=(p+m)/2))?p=s:m=s,(u=a>=(l=(g+v)/2))?g=l:v=l,e=f,!(f=f[h=u<<1|c]))return this;if(!f.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(i=e,d=h)}for(;f.data!==t;)if(n=f,!(f=f.next))return this;return(r=f.next)&&delete f.next,n?(r?n.next=r:delete n.next,this):e?(r?e[h]=r:delete e[h],(f=e[0]||e[1]||e[2]||e[3])&&f===(e[3]||e[2]||e[1]||e[0])&&!f.length&&(i?i[d]=f:this._root=f),this):(this._root=r,this)},aa.removeAll=function(t){for(var e=0,i=t.length;e<i;++e)this.remove(t[e]);return this},aa.root=function(){return this._root},aa.size=function(){var t=0;return this.visit(function(e){if(!e.length)do{++t}while(e=e.next)}),t},aa.visit=function(t){var e,i,n,r,o,a,s=[],l=this._root;for(l&&s.push(new ta(l,this._x0,this._y0,this._x1,this._y1));e=s.pop();)if(!t(l=e.node,n=e.x0,r=e.y0,o=e.x1,a=e.y1)&&l.length){var c=(n+o)/2,u=(r+a)/2;(i=l[3])&&s.push(new ta(i,c,u,o,a)),(i=l[2])&&s.push(new ta(i,n,u,c,a)),(i=l[1])&&s.push(new ta(i,c,r,o,u)),(i=l[0])&&s.push(new ta(i,n,r,c,u))}return this},aa.visitAfter=function(t){var e,i=[],n=[];for(this._root&&i.push(new ta(this._root,this._x0,this._y0,this._x1,this._y1));e=i.pop();){var r=e.node;if(r.length){var o,a=e.x0,s=e.y0,l=e.x1,c=e.y1,u=(a+l)/2,h=(s+c)/2;(o=r[0])&&i.push(new ta(o,a,s,u,h)),(o=r[1])&&i.push(new ta(o,u,s,l,h)),(o=r[2])&&i.push(new ta(o,a,h,u,c)),(o=r[3])&&i.push(new ta(o,u,h,l,c))}n.push(e)}for(;e=n.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},aa.x=function(t){return arguments.length?(this._x=t,this):this._x},aa.y=function(t){return arguments.length?(this._y=t,this):this._y};var fa=10,pa=Math.PI*(3-Math.sqrt(5));function ga(t,e){if((i=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var i,n=t.slice(0,i);return[n.length>1?n[0]+n.slice(2):n,+t.slice(i+1)]}function ma(t){return(t=ga(Math.abs(t)))?t[1]:NaN}var va,ya=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ba(t){return new La(t)}function La(t){if(!(e=ya.exec(t)))throw new Error("invalid format: "+t);var e;this.fill=e[1]||" ",this.align=e[2]||">",this.sign=e[3]||"-",this.symbol=e[4]||"",this.zero=!!e[5],this.width=e[6]&&+e[6],this.comma=!!e[7],this.precision=e[8]&&+e[8].slice(1),this.trim=!!e[9],this.type=e[10]||""}function xa(t,e){var i=ga(t,e);if(!i)return t+"";var n=i[0],r=i[1];return r<0?"0."+new Array(-r).join("0")+n:n.length>r+1?n.slice(0,r+1)+"."+n.slice(r+1):n+new Array(r-n.length+2).join("0")}ba.prototype=La.prototype,La.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var wa={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return xa(100*t,e)},r:xa,s:function(t,e){var i=ga(t,e);if(!i)return t+"";var n=i[0],r=i[1],o=r-(va=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+ga(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function _a(t){return t}var Sa,Ca=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ka(t){var e,i,n=t.grouping&&t.thousands?(e=t.grouping,i=t.thousands,function(t,n){for(var r=t.length,o=[],a=0,s=e[0],l=0;r>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),o.push(t.substring(r-=s,r+s)),!((l+=s+1)>n));)s=e[a=(a+1)%e.length];return o.reverse().join(i)}):_a,r=t.currency,o=t.decimal,a=t.numerals?function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(t.numerals):_a,s=t.percent||"%";function l(t){var e=(t=ba(t)).fill,i=t.align,l=t.sign,c=t.symbol,u=t.zero,h=t.width,d=t.comma,f=t.precision,p=t.trim,g=t.type;"n"===g?(d=!0,g="g"):wa[g]||(null==f&&(f=12),p=!0,g="g"),(u||"0"===e&&"="===i)&&(u=!0,e="0",i="=");var m="$"===c?r[0]:"#"===c&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",v="$"===c?r[1]:/[%p]/.test(g)?s:"",y=wa[g],b=/[defgprs%]/.test(g);function L(t){var r,s,c,L=m,x=v;if("c"===g)x=y(t)+x,t="";else{var w=(t=+t)<0;if(t=y(Math.abs(t),f),p&&(t=function(t){t:for(var e,i=t.length,n=1,r=-1;n<i;++n)switch(t[n]){case".":r=e=n;break;case"0":0===r&&(r=n),e=n;break;default:if(r>0){if(!+t[n])break t;r=0}}return r>0?t.slice(0,r)+t.slice(e+1):t}(t)),w&&0==+t&&(w=!1),L=(w?"("===l?l:"-":"-"===l||"("===l?"":l)+L,x=("s"===g?Ca[8+va/3]:"")+x+(w&&"("===l?")":""),b)for(r=-1,s=t.length;++r<s;)if(48>(c=t.charCodeAt(r))||c>57){x=(46===c?o+t.slice(r+1):t.slice(r))+x,t=t.slice(0,r);break}}d&&!u&&(t=n(t,1/0));var _=L.length+t.length+x.length,S=_<h?new Array(h-_+1).join(e):"";switch(d&&u&&(t=n(S+t,S.length?h-x.length:1/0),S=""),i){case"<":t=L+t+x+S;break;case"=":t=L+S+t+x;break;case"^":t=S.slice(0,_=S.length>>1)+L+t+x+S.slice(_);break;default:t=S+L+t+x}return a(t)}return f=null==f?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),L.toString=function(){return t+""},L}return{format:l,formatPrefix:function(t,e){var i=l(((t=ba(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(ma(e)/3))),r=Math.pow(10,-n),o=Ca[8+n/3];return function(t){return i(r*t)+o}}}}function Ta(e){return Sa=ka(e),t.format=Sa.format,t.formatPrefix=Sa.formatPrefix,Sa}function Ea(t){return Math.max(0,-ma(Math.abs(t)))}function Aa(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ma(e)/3)))-ma(Math.abs(t)))}function Ma(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,ma(e)-ma(t))+1}function Da(){return new Pa}function Pa(){this.reset()}Ta({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),Pa.prototype={constructor:Pa,reset:function(){this.s=this.t=0},add:function(t){Ia(Oa,t,this.t),Ia(this,Oa.s,this.s),this.s?this.t+=Oa.t:this.s=Oa.t},valueOf:function(){return this.s}};var Oa=new Pa;function Ia(t,e,i){var n=t.s=e+i,r=n-e,o=n-r;t.t=e-o+(i-r)}var Na=1e-6,Ra=Math.PI,Fa=Ra/2,Ba=Ra/4,za=2*Ra,Ha=180/Ra,Va=Ra/180,ja=Math.abs,Wa=Math.atan,Ua=Math.atan2,Ya=Math.cos,Ga=Math.ceil,Xa=Math.exp,qa=Math.log,$a=Math.pow,Za=Math.sin,Ka=Math.sign||function(t){return t>0?1:t<0?-1:0},Qa=Math.sqrt,Ja=Math.tan;function ts(t){return t>1?0:t<-1?Ra:Math.acos(t)}function es(t){return t>1?Fa:t<-1?-Fa:Math.asin(t)}function is(t){return(t=Za(t/2))*t}function ns(){}function rs(t,e){t&&as.hasOwnProperty(t.type)&&as[t.type](t,e)}var os={Feature:function(t,e){rs(t.geometry,e)},FeatureCollection:function(t,e){for(var i=t.features,n=-1,r=i.length;++n<r;)rs(i[n].geometry,e)}},as={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var i=t.coordinates,n=-1,r=i.length;++n<r;)t=i[n],e.point(t[0],t[1],t[2])},LineString:function(t,e){ss(t.coordinates,e,0)},MultiLineString:function(t,e){for(var i=t.coordinates,n=-1,r=i.length;++n<r;)ss(i[n],e,0)},Polygon:function(t,e){ls(t.coordinates,e)},MultiPolygon:function(t,e){for(var i=t.coordinates,n=-1,r=i.length;++n<r;)ls(i[n],e)},GeometryCollection:function(t,e){for(var i=t.geometries,n=-1,r=i.length;++n<r;)rs(i[n],e)}};function ss(t,e,i){var n,r=-1,o=t.length-i;for(e.lineStart();++r<o;)n=t[r],e.point(n[0],n[1],n[2]);e.lineEnd()}function ls(t,e){var i=-1,n=t.length;for(e.polygonStart();++i<n;)ss(t[i],e,1);e.polygonEnd()}function cs(t,e){t&&os.hasOwnProperty(t.type)?os[t.type](t,e):rs(t,e)}var us,hs,ds,fs,ps,gs=Da(),ms=Da(),vs={point:ns,lineStart:ns,lineEnd:ns,polygonStart:function(){gs.reset(),vs.lineStart=ys,vs.lineEnd=bs},polygonEnd:function(){var t=+gs;ms.add(t<0?za+t:t),this.lineStart=this.lineEnd=this.point=ns},sphere:function(){ms.add(za)}};function ys(){vs.point=Ls}function bs(){xs(us,hs)}function Ls(t,e){vs.point=xs,us=t,hs=e,ds=t*=Va,fs=Ya(e=(e*=Va)/2+Ba),ps=Za(e)}function xs(t,e){var i=(t*=Va)-ds,n=i>=0?1:-1,r=n*i,o=Ya(e=(e*=Va)/2+Ba),a=Za(e),s=ps*a,l=fs*o+s*Ya(r),c=s*n*Za(r);gs.add(Ua(c,l)),ds=t,fs=o,ps=a}function ws(t){return[Ua(t[1],t[0]),es(t[2])]}function _s(t){var e=t[0],i=t[1],n=Ya(i);return[n*Ya(e),n*Za(e),Za(i)]}function Ss(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Cs(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function ks(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Ts(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Es(t){var e=Qa(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var As,Ms,Ds,Ps,Os,Is,Ns,Rs,Fs,Bs,zs,Hs,Vs,js,Ws,Us,Ys,Gs,Xs,qs,$s,Zs,Ks,Qs,Js,tl,el=Da(),il={point:nl,lineStart:ol,lineEnd:al,polygonStart:function(){il.point=sl,il.lineStart=ll,il.lineEnd=cl,el.reset(),vs.polygonStart()},polygonEnd:function(){vs.polygonEnd(),il.point=nl,il.lineStart=ol,il.lineEnd=al,gs<0?(As=-(Ds=180),Ms=-(Ps=90)):el>Na?Ps=90:el<-Na&&(Ms=-90),Bs[0]=As,Bs[1]=Ds}};function nl(t,e){Fs.push(Bs=[As=t,Ds=t]),e<Ms&&(Ms=e),e>Ps&&(Ps=e)}function rl(t,e){var i=_s([t*Va,e*Va]);if(Rs){var n=Cs(Rs,i),r=Cs([n[1],-n[0],0],n);Es(r),r=ws(r);var o,a=t-Os,s=a>0?1:-1,l=r[0]*Ha*s,c=ja(a)>180;c^(s*Os<l&&l<s*t)?(o=r[1]*Ha)>Ps&&(Ps=o):c^(s*Os<(l=(l+360)%360-180)&&l<s*t)?(o=-r[1]*Ha)<Ms&&(Ms=o):(e<Ms&&(Ms=e),e>Ps&&(Ps=e)),c?t<Os?ul(As,t)>ul(As,Ds)&&(Ds=t):ul(t,Ds)>ul(As,Ds)&&(As=t):Ds>=As?(t<As&&(As=t),t>Ds&&(Ds=t)):t>Os?ul(As,t)>ul(As,Ds)&&(Ds=t):ul(t,Ds)>ul(As,Ds)&&(As=t)}else Fs.push(Bs=[As=t,Ds=t]);e<Ms&&(Ms=e),e>Ps&&(Ps=e),Rs=i,Os=t}function ol(){il.point=rl}function al(){Bs[0]=As,Bs[1]=Ds,il.point=nl,Rs=null}function sl(t,e){if(Rs){var i=t-Os;el.add(ja(i)>180?i+(i>0?360:-360):i)}else Is=t,Ns=e;vs.point(t,e),rl(t,e)}function ll(){vs.lineStart()}function cl(){sl(Is,Ns),vs.lineEnd(),ja(el)>Na&&(As=-(Ds=180)),Bs[0]=As,Bs[1]=Ds,Rs=null}function ul(t,e){return(e-=t)<0?e+360:e}function hl(t,e){return t[0]-e[0]}function dl(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var fl={sphere:ns,point:pl,lineStart:ml,lineEnd:bl,polygonStart:function(){fl.lineStart=Ll,fl.lineEnd=xl},polygonEnd:function(){fl.lineStart=ml,fl.lineEnd=bl}};function pl(t,e){t*=Va;var i=Ya(e*=Va);gl(i*Ya(t),i*Za(t),Za(e))}function gl(t,e,i){Vs+=(t-Vs)/++zs,js+=(e-js)/zs,Ws+=(i-Ws)/zs}function ml(){fl.point=vl}function vl(t,e){t*=Va;var i=Ya(e*=Va);Qs=i*Ya(t),Js=i*Za(t),tl=Za(e),fl.point=yl,gl(Qs,Js,tl)}function yl(t,e){t*=Va;var i=Ya(e*=Va),n=i*Ya(t),r=i*Za(t),o=Za(e),a=Ua(Qa((a=Js*o-tl*r)*a+(a=tl*n-Qs*o)*a+(a=Qs*r-Js*n)*a),Qs*n+Js*r+tl*o);Hs+=a,Us+=a*(Qs+(Qs=n)),Ys+=a*(Js+(Js=r)),Gs+=a*(tl+(tl=o)),gl(Qs,Js,tl)}function bl(){fl.point=pl}function Ll(){fl.point=wl}function xl(){_l(Zs,Ks),fl.point=pl}function wl(t,e){Zs=t,Ks=e,t*=Va,e*=Va,fl.point=_l;var i=Ya(e);Qs=i*Ya(t),Js=i*Za(t),tl=Za(e),gl(Qs,Js,tl)}function _l(t,e){t*=Va;var i=Ya(e*=Va),n=i*Ya(t),r=i*Za(t),o=Za(e),a=Js*o-tl*r,s=tl*n-Qs*o,l=Qs*r-Js*n,c=Qa(a*a+s*s+l*l),u=es(c),h=c&&-u/c;Xs+=h*a,qs+=h*s,$s+=h*l,Hs+=u,Us+=u*(Qs+(Qs=n)),Ys+=u*(Js+(Js=r)),Gs+=u*(tl+(tl=o)),gl(Qs,Js,tl)}function Sl(t){return function(){return t}}function Cl(t,e){function i(i,n){return i=t(i,n),e(i[0],i[1])}return t.invert&&e.invert&&(i.invert=function(i,n){return(i=e.invert(i,n))&&t.invert(i[0],i[1])}),i}function kl(t,e){return[ja(t)>Ra?t+Math.round(-t/za)*za:t,e]}function Tl(t,e,i){return(t%=za)?e||i?Cl(Al(t),Ml(e,i)):Al(t):e||i?Ml(e,i):kl}function El(t){return function(e,i){return[(e+=t)>Ra?e-za:e<-Ra?e+za:e,i]}}function Al(t){var e=El(t);return e.invert=El(-t),e}function Ml(t,e){var i=Ya(t),n=Za(t),r=Ya(e),o=Za(e);function a(t,e){var a=Ya(e),s=Ya(t)*a,l=Za(t)*a,c=Za(e),u=c*i+s*n;return[Ua(l*r-u*o,s*i-c*n),es(u*r+l*o)]}return a.invert=function(t,e){var a=Ya(e),s=Ya(t)*a,l=Za(t)*a,c=Za(e),u=c*r-l*o;return[Ua(l*r+c*o,s*i+u*n),es(u*i-s*n)]},a}function Dl(t){function e(e){return(e=t(e[0]*Va,e[1]*Va))[0]*=Ha,e[1]*=Ha,e}return t=Tl(t[0]*Va,t[1]*Va,t.length>2?t[2]*Va:0),e.invert=function(e){return(e=t.invert(e[0]*Va,e[1]*Va))[0]*=Ha,e[1]*=Ha,e},e}function Pl(t,e,i,n,r,o){if(i){var a=Ya(e),s=Za(e),l=n*i;null==r?(r=e+n*za,o=e-l/2):(r=Ol(a,r),o=Ol(a,o),(n>0?r<o:r>o)&&(r+=n*za));for(var c,u=r;n>0?u>o:u<o;u-=l)c=ws([a,-s*Ya(u),-s*Za(u)]),t.point(c[0],c[1])}}function Ol(t,e){(e=_s(e))[0]-=t,Es(e);var i=ts(-e[1]);return((-e[2]<0?-i:i)+za-Na)%za}function Il(){var t,e=[];return{point:function(e,i){t.push([e,i])},lineStart:function(){e.push(t=[])},lineEnd:ns,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var i=e;return e=[],t=null,i}}}function Nl(t,e){return ja(t[0]-e[0])<Na&&ja(t[1]-e[1])<Na}function Rl(t,e,i,n){this.x=t,this.z=e,this.o=i,this.e=n,this.v=!1,this.n=this.p=null}function Fl(t,e,i,n,r){var o,a,s=[],l=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,i,n=t[0],a=t[e];if(Nl(n,a)){for(r.lineStart(),o=0;o<e;++o)r.point((n=t[o])[0],n[1]);r.lineEnd()}else s.push(i=new Rl(n,t,null,!0)),l.push(i.o=new Rl(n,null,i,!1)),s.push(i=new Rl(a,t,null,!1)),l.push(i.o=new Rl(a,null,i,!0))}}),s.length){for(l.sort(e),Bl(s),Bl(l),o=0,a=l.length;o<a;++o)l[o].e=i=!i;for(var c,u,h=s[0];;){for(var d=h,f=!0;d.v;)if((d=d.n)===h)return;c=d.z,r.lineStart();do{if(d.v=d.o.v=!0,d.e){if(f)for(o=0,a=c.length;o<a;++o)r.point((u=c[o])[0],u[1]);else n(d.x,d.n.x,1,r);d=d.n}else{if(f)for(c=d.p.z,o=c.length-1;o>=0;--o)r.point((u=c[o])[0],u[1]);else n(d.x,d.p.x,-1,r);d=d.p}c=(d=d.o).z,f=!f}while(!d.v);r.lineEnd()}}}function Bl(t){if(e=t.length){for(var e,i,n=0,r=t[0];++n<e;)r.n=i=t[n],i.p=r,r=i;r.n=i=t[0],i.p=r}}kl.invert=kl;var zl=Da();function Hl(t,e){var i=e[0],n=e[1],r=Za(n),o=[Za(i),-Ya(i),0],a=0,s=0;zl.reset(),1===r?n=Fa+Na:-1===r&&(n=-Fa-Na);for(var l=0,c=t.length;l<c;++l)if(h=(u=t[l]).length)for(var u,h,d=u[h-1],f=d[0],p=d[1]/2+Ba,g=Za(p),m=Ya(p),v=0;v<h;++v,f=b,g=x,m=w,d=y){var y=u[v],b=y[0],L=y[1]/2+Ba,x=Za(L),w=Ya(L),_=b-f,S=_>=0?1:-1,C=S*_,k=C>Ra,T=g*x;if(zl.add(Ua(T*S*Za(C),m*w+T*Ya(C))),a+=k?_+S*za:_,k^f>=i^b>=i){var E=Cs(_s(d),_s(y));Es(E);var A=Cs(o,E);Es(A);var M=(k^_>=0?-1:1)*es(A[2]);(n>M||n===M&&(E[0]||E[1]))&&(s+=k^_>=0?1:-1)}}return(a<-Na||a<Na&&zl<-Na)^1&s}function Vl(t,e,i,n){return function(r){var o,a,s,l=e(r),c=Il(),u=e(c),h=!1,d={point:f,lineStart:g,lineEnd:m,polygonStart:function(){d.point=v,d.lineStart=y,d.lineEnd=b,a=[],o=[]},polygonEnd:function(){d.point=f,d.lineStart=g,d.lineEnd=m,a=k(a);var t=Hl(o,n);a.length?(h||(r.polygonStart(),h=!0),Fl(a,Wl,t,i,r)):t&&(h||(r.polygonStart(),h=!0),r.lineStart(),i(null,null,1,r),r.lineEnd()),h&&(r.polygonEnd(),h=!1),a=o=null},sphere:function(){r.polygonStart(),r.lineStart(),i(null,null,1,r),r.lineEnd(),r.polygonEnd()}};function f(e,i){t(e,i)&&r.point(e,i)}function p(t,e){l.point(t,e)}function g(){d.point=p,l.lineStart()}function m(){d.point=f,l.lineEnd()}function v(t,e){s.push([t,e]),u.point(t,e)}function y(){u.lineStart(),s=[]}function b(){v(s[0][0],s[0][1]),u.lineEnd();var t,e,i,n,l=u.clean(),d=c.result(),f=d.length;if(s.pop(),o.push(s),s=null,f)if(1&l){if((e=(i=d[0]).length-1)>0){for(h||(r.polygonStart(),h=!0),r.lineStart(),t=0;t<e;++t)r.point((n=i[t])[0],n[1]);r.lineEnd()}}else f>1&&2&l&&d.push(d.pop().concat(d.shift())),a.push(d.filter(jl))}return d}}function jl(t){return t.length>1}function Wl(t,e){return((t=t.x)[0]<0?t[1]-Fa-Na:Fa-t[1])-((e=e.x)[0]<0?e[1]-Fa-Na:Fa-e[1])}var Ul=Vl(function(){return!0},function(t){var e,i=NaN,n=NaN,r=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?Ra:-Ra,l=ja(o-i);ja(l-Ra)<Na?(t.point(i,n=(n+a)/2>0?Fa:-Fa),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(s,n),t.point(o,n),e=0):r!==s&&l>=Ra&&(ja(i-r)<Na&&(i-=r*Na),ja(o-s)<Na&&(o-=s*Na),n=function(t,e,i,n){var r,o,a=Za(t-i);return ja(a)>Na?Wa((Za(e)*(o=Ya(n))*Za(i)-Za(n)*(r=Ya(e))*Za(t))/(r*o*a)):(e+n)/2}(i,n,o,a),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(s,n),e=0),t.point(i=o,n=a),r=s},lineEnd:function(){t.lineEnd(),i=n=NaN},clean:function(){return 2-e}}},function(t,e,i,n){var r;if(null==t)r=i*Fa,n.point(-Ra,r),n.point(0,r),n.point(Ra,r),n.point(Ra,0),n.point(Ra,-r),n.point(0,-r),n.point(-Ra,-r),n.point(-Ra,0),n.point(-Ra,r);else if(ja(t[0]-e[0])>Na){var o=t[0]<e[0]?Ra:-Ra;r=i*o/2,n.point(-o,r),n.point(0,r),n.point(o,r)}else n.point(e[0],e[1])},[-Ra,-Fa]);function Yl(t){var e=Ya(t),i=6*Va,n=e>0,r=ja(e)>Na;function o(t,i){return Ya(t)*Ya(i)>e}function a(t,i,n){var r=[1,0,0],o=Cs(_s(t),_s(i)),a=Ss(o,o),s=o[0],l=a-s*s;if(!l)return!n&&t;var c=e*a/l,u=-e*s/l,h=Cs(r,o),d=Ts(r,c);ks(d,Ts(o,u));var f=h,p=Ss(d,f),g=Ss(f,f),m=p*p-g*(Ss(d,d)-1);if(!(m<0)){var v=Qa(m),y=Ts(f,(-p-v)/g);if(ks(y,d),y=ws(y),!n)return y;var b,L=t[0],x=i[0],w=t[1],_=i[1];x<L&&(b=L,L=x,x=b);var S=x-L,C=ja(S-Ra)<Na;if(!C&&_<w&&(b=w,w=_,_=b),C||S<Na?C?w+_>0^y[1]<(ja(y[0]-L)<Na?w:_):w<=y[1]&&y[1]<=_:S>Ra^(L<=y[0]&&y[0]<=x)){var k=Ts(f,(-p+v)/g);return ks(k,d),[y,ws(k)]}}}function s(e,i){var r=n?t:Ra-t,o=0;return e<-r?o|=1:e>r&&(o|=2),i<-r?o|=4:i>r&&(o|=8),o}return Vl(o,function(t){var e,i,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(h,d){var f,p=[h,d],g=o(h,d),m=n?g?0:s(h,d):g?s(h+(h<0?Ra:-Ra),d):0;if(!e&&(c=l=g)&&t.lineStart(),g!==l&&(!(f=a(e,p))||Nl(e,f)||Nl(p,f))&&(p[0]+=Na,p[1]+=Na,g=o(p[0],p[1])),g!==l)u=0,g?(t.lineStart(),f=a(p,e),t.point(f[0],f[1])):(f=a(e,p),t.point(f[0],f[1]),t.lineEnd()),e=f;else if(r&&e&&n^g){var v;m&i||!(v=a(p,e,!0))||(u=0,n?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1])))}!g||e&&Nl(e,p)||t.point(p[0],p[1]),e=p,l=g,i=m},lineEnd:function(){l&&t.lineEnd(),e=null},clean:function(){return u|(c&&l)<<1}}},function(e,n,r,o){Pl(o,t,i,r,e,n)},n?[0,-t]:[-Ra,t-Ra])}var Gl=1e9,Xl=-Gl;function ql(t,e,i,n){function r(r,o){return t<=r&&r<=i&&e<=o&&o<=n}function o(r,o,s,c){var u=0,h=0;if(null==r||(u=a(r,s))!==(h=a(o,s))||l(r,o)<0^s>0)do{c.point(0===u||3===u?t:i,u>1?n:e)}while((u=(u+s+4)%4)!==h);else c.point(o[0],o[1])}function a(n,r){return ja(n[0]-t)<Na?r>0?0:3:ja(n[0]-i)<Na?r>0?2:1:ja(n[1]-e)<Na?r>0?1:0:r>0?3:2}function s(t,e){return l(t.x,e.x)}function l(t,e){var i=a(t,1),n=a(e,1);return i!==n?i-n:0===i?e[1]-t[1]:1===i?t[0]-e[0]:2===i?t[1]-e[1]:e[0]-t[0]}return function(a){var l,c,u,h,d,f,p,g,m,v,y,b=a,L=Il(),x={point:w,lineStart:function(){x.point=_,c&&c.push(u=[]),v=!0,m=!1,p=g=NaN},lineEnd:function(){l&&(_(h,d),f&&m&&L.rejoin(),l.push(L.result())),x.point=w,m&&b.lineEnd()},polygonStart:function(){b=L,l=[],c=[],y=!0},polygonEnd:function(){var e=function(){for(var e=0,i=0,r=c.length;i<r;++i)for(var o,a,s=c[i],l=1,u=s.length,h=s[0],d=h[0],f=h[1];l<u;++l)o=d,a=f,d=(h=s[l])[0],f=h[1],a<=n?f>n&&(d-o)*(n-a)>(f-a)*(t-o)&&++e:f<=n&&(d-o)*(n-a)<(f-a)*(t-o)&&--e;return e}(),i=y&&e,r=(l=k(l)).length;(i||r)&&(a.polygonStart(),i&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),r&&Fl(l,s,e,o,a),a.polygonEnd()),b=a,l=c=u=null}};function w(t,e){r(t,e)&&b.point(t,e)}function _(o,a){var s=r(o,a);if(c&&u.push([o,a]),v)h=o,d=a,f=s,v=!1,s&&(b.lineStart(),b.point(o,a));else if(s&&m)b.point(o,a);else{var l=[p=Math.max(Xl,Math.min(Gl,p)),g=Math.max(Xl,Math.min(Gl,g))],L=[o=Math.max(Xl,Math.min(Gl,o)),a=Math.max(Xl,Math.min(Gl,a))];!function(t,e,i,n,r,o){var a,s=t[0],l=t[1],c=0,u=1,h=e[0]-s,d=e[1]-l;if(a=i-s,h||!(a>0)){if(a/=h,h<0){if(a<c)return;a<u&&(u=a)}else if(h>0){if(a>u)return;a>c&&(c=a)}if(a=r-s,h||!(a<0)){if(a/=h,h<0){if(a>u)return;a>c&&(c=a)}else if(h>0){if(a<c)return;a<u&&(u=a)}if(a=n-l,d||!(a>0)){if(a/=d,d<0){if(a<c)return;a<u&&(u=a)}else if(d>0){if(a>u)return;a>c&&(c=a)}if(a=o-l,d||!(a<0)){if(a/=d,d<0){if(a>u)return;a>c&&(c=a)}else if(d>0){if(a<c)return;a<u&&(u=a)}return c>0&&(t[0]=s+c*h,t[1]=l+c*d),u<1&&(e[0]=s+u*h,e[1]=l+u*d),!0}}}}}(l,L,t,e,i,n)?s&&(b.lineStart(),b.point(o,a),y=!1):(m||(b.lineStart(),b.point(l[0],l[1])),b.point(L[0],L[1]),s||b.lineEnd(),y=!1)}p=o,g=a,m=s}return x}}var $l,Zl,Kl,Ql=Da(),Jl={sphere:ns,point:ns,lineStart:function(){Jl.point=ec,Jl.lineEnd=tc},lineEnd:ns,polygonStart:ns,polygonEnd:ns};function tc(){Jl.point=Jl.lineEnd=ns}function ec(t,e){$l=t*=Va,Zl=Za(e*=Va),Kl=Ya(e),Jl.point=ic}function ic(t,e){t*=Va;var i=Za(e*=Va),n=Ya(e),r=ja(t-$l),o=Ya(r),a=n*Za(r),s=Kl*i-Zl*n*o,l=Zl*i+Kl*n*o;Ql.add(Ua(Qa(a*a+s*s),l)),$l=t,Zl=i,Kl=n}function nc(t){return Ql.reset(),cs(t,Jl),+Ql}var rc=[null,null],oc={type:"LineString",coordinates:rc};function ac(t,e){return rc[0]=t,rc[1]=e,nc(oc)}var sc={Feature:function(t,e){return cc(t.geometry,e)},FeatureCollection:function(t,e){for(var i=t.features,n=-1,r=i.length;++n<r;)if(cc(i[n].geometry,e))return!0;return!1}},lc={Sphere:function(){return!0},Point:function(t,e){return uc(t.coordinates,e)},MultiPoint:function(t,e){for(var i=t.coordinates,n=-1,r=i.length;++n<r;)if(uc(i[n],e))return!0;return!1},LineString:function(t,e){return hc(t.coordinates,e)},MultiLineString:function(t,e){for(var i=t.coordinates,n=-1,r=i.length;++n<r;)if(hc(i[n],e))return!0;return!1},Polygon:function(t,e){return dc(t.coordinates,e)},MultiPolygon:function(t,e){for(var i=t.coordinates,n=-1,r=i.length;++n<r;)if(dc(i[n],e))return!0;return!1},GeometryCollection:function(t,e){for(var i=t.geometries,n=-1,r=i.length;++n<r;)if(cc(i[n],e))return!0;return!1}};function cc(t,e){return!(!t||!lc.hasOwnProperty(t.type))&&lc[t.type](t,e)}function uc(t,e){return 0===ac(t,e)}function hc(t,e){var i=ac(t[0],t[1]);return ac(t[0],e)+ac(e,t[1])<=i+Na}function dc(t,e){return!!Hl(t.map(fc),pc(e))}function fc(t){return(t=t.map(pc)).pop(),t}function pc(t){return[t[0]*Va,t[1]*Va]}function gc(t,e,i){var n=m(t,e-Na,i).concat(e);return function(t){return n.map(function(e){return[t,e]})}}function mc(t,e,i){var n=m(t,e-Na,i).concat(e);return function(t){return n.map(function(e){return[e,t]})}}function vc(){var t,e,i,n,r,o,a,s,l,c,u,h,d=10,f=d,p=90,g=360,v=2.5;function y(){return{type:"MultiLineString",coordinates:b()}}function b(){return m(Ga(n/p)*p,i,p).map(u).concat(m(Ga(s/g)*g,a,g).map(h)).concat(m(Ga(e/d)*d,t,d).filter(function(t){return ja(t%p)>Na}).map(l)).concat(m(Ga(o/f)*f,r,f).filter(function(t){return ja(t%g)>Na}).map(c))}return y.lines=function(){return b().map(function(t){return{type:"LineString",coordinates:t}})},y.outline=function(){return{type:"Polygon",coordinates:[u(n).concat(h(a).slice(1),u(i).reverse().slice(1),h(s).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(n=+t[0][0],i=+t[1][0],s=+t[0][1],a=+t[1][1],n>i&&(t=n,n=i,i=t),s>a&&(t=s,s=a,a=t),y.precision(v)):[[n,s],[i,a]]},y.extentMinor=function(i){return arguments.length?(e=+i[0][0],t=+i[1][0],o=+i[0][1],r=+i[1][1],e>t&&(i=e,e=t,t=i),o>r&&(i=o,o=r,r=i),y.precision(v)):[[e,o],[t,r]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],y):[p,g]},y.stepMinor=function(t){return arguments.length?(d=+t[0],f=+t[1],y):[d,f]},y.precision=function(d){return arguments.length?(v=+d,l=gc(o,r,90),c=mc(e,t,v),u=gc(s,a,90),h=mc(n,i,v),y):v},y.extentMajor([[-180,-90+Na],[180,90-Na]]).extentMinor([[-180,-80-Na],[180,80+Na]])}function yc(t){return t}var bc,Lc,xc,wc,_c=Da(),Sc=Da(),Cc={point:ns,lineStart:ns,lineEnd:ns,polygonStart:function(){Cc.lineStart=kc,Cc.lineEnd=Ac},polygonEnd:function(){Cc.lineStart=Cc.lineEnd=Cc.point=ns,_c.add(ja(Sc)),Sc.reset()},result:function(){var t=_c/2;return _c.reset(),t}};function kc(){Cc.point=Tc}function Tc(t,e){Cc.point=Ec,bc=xc=t,Lc=wc=e}function Ec(t,e){Sc.add(wc*t-xc*e),xc=t,wc=e}function Ac(){Ec(bc,Lc)}var Mc,Dc,Pc,Oc,Ic=1/0,Nc=Ic,Rc=-Ic,Fc=Rc,Bc={point:function(t,e){t<Ic&&(Ic=t),t>Rc&&(Rc=t),e<Nc&&(Nc=e),e>Fc&&(Fc=e)},lineStart:ns,lineEnd:ns,polygonStart:ns,polygonEnd:ns,result:function(){var t=[[Ic,Nc],[Rc,Fc]];return Rc=Fc=-(Nc=Ic=1/0),t}},zc=0,Hc=0,Vc=0,jc=0,Wc=0,Uc=0,Yc=0,Gc=0,Xc=0,qc={point:$c,lineStart:Zc,lineEnd:Jc,polygonStart:function(){qc.lineStart=tu,qc.lineEnd=eu},polygonEnd:function(){qc.point=$c,qc.lineStart=Zc,qc.lineEnd=Jc},result:function(){var t=Xc?[Yc/Xc,Gc/Xc]:Uc?[jc/Uc,Wc/Uc]:Vc?[zc/Vc,Hc/Vc]:[NaN,NaN];return zc=Hc=Vc=jc=Wc=Uc=Yc=Gc=Xc=0,t}};function $c(t,e){zc+=t,Hc+=e,++Vc}function Zc(){qc.point=Kc}function Kc(t,e){qc.point=Qc,$c(Pc=t,Oc=e)}function Qc(t,e){var i=t-Pc,n=e-Oc,r=Qa(i*i+n*n);jc+=r*(Pc+t)/2,Wc+=r*(Oc+e)/2,Uc+=r,$c(Pc=t,Oc=e)}function Jc(){qc.point=$c}function tu(){qc.point=iu}function eu(){nu(Mc,Dc)}function iu(t,e){qc.point=nu,$c(Mc=Pc=t,Dc=Oc=e)}function nu(t,e){var i=t-Pc,n=e-Oc,r=Qa(i*i+n*n);jc+=r*(Pc+t)/2,Wc+=r*(Oc+e)/2,Uc+=r,Yc+=(r=Oc*t-Pc*e)*(Pc+t),Gc+=r*(Oc+e),Xc+=3*r,$c(Pc=t,Oc=e)}function ru(t){this._context=t}ru.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,za)}},result:ns};var ou,au,su,lu,cu,uu=Da(),hu={point:ns,lineStart:function(){hu.point=du},lineEnd:function(){ou&&fu(au,su),hu.point=ns},polygonStart:function(){ou=!0},polygonEnd:function(){ou=null},result:function(){var t=+uu;return uu.reset(),t}};function du(t,e){hu.point=fu,au=lu=t,su=cu=e}function fu(t,e){lu-=t,cu-=e,uu.add(Qa(lu*lu+cu*cu)),lu=t,cu=e}function pu(){this._string=[]}function gu(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function mu(t){return function(e){var i=new vu;for(var n in t)i[n]=t[n];return i.stream=e,i}}function vu(){}function yu(t,e,i){var n=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=n&&t.clipExtent(null),cs(i,t.stream(Bc)),e(Bc.result()),null!=n&&t.clipExtent(n),t}function bu(t,e,i){return yu(t,function(i){var n=e[1][0]-e[0][0],r=e[1][1]-e[0][1],o=Math.min(n/(i[1][0]-i[0][0]),r/(i[1][1]-i[0][1])),a=+e[0][0]+(n-o*(i[1][0]+i[0][0]))/2,s=+e[0][1]+(r-o*(i[1][1]+i[0][1]))/2;t.scale(150*o).translate([a,s])},i)}function Lu(t,e,i){return bu(t,[[0,0],e],i)}function xu(t,e,i){return yu(t,function(i){var n=+e,r=n/(i[1][0]-i[0][0]),o=(n-r*(i[1][0]+i[0][0]))/2,a=-r*i[0][1];t.scale(150*r).translate([o,a])},i)}function wu(t,e,i){return yu(t,function(i){var n=+e,r=n/(i[1][1]-i[0][1]),o=-r*i[0][0],a=(n-r*(i[1][1]+i[0][1]))/2;t.scale(150*r).translate([o,a])},i)}pu.prototype={_radius:4.5,_circle:gu(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=gu(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},vu.prototype={constructor:vu,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var _u=16,Su=Ya(30*Va);function Cu(t,e){return+e?function(t,e){function i(n,r,o,a,s,l,c,u,h,d,f,p,g,m){var v=c-n,y=u-r,b=v*v+y*y;if(b>4*e&&g--){var L=a+d,x=s+f,w=l+p,_=Qa(L*L+x*x+w*w),S=es(w/=_),C=ja(ja(w)-1)<Na||ja(o-h)<Na?(o+h)/2:Ua(x,L),k=t(C,S),T=k[0],E=k[1],A=T-n,M=E-r,D=y*A-v*M;(D*D/b>e||ja((v*A+y*M)/b-.5)>.3||a*d+s*f+l*p<Su)&&(i(n,r,o,a,s,l,T,E,C,L/=_,x/=_,w,g,m),m.point(T,E),i(T,E,C,L,x,w,c,u,h,d,f,p,g,m))}}return function(e){var n,r,o,a,s,l,c,u,h,d,f,p,g={point:m,lineStart:v,lineEnd:b,polygonStart:function(){e.polygonStart(),g.lineStart=L},polygonEnd:function(){e.polygonEnd(),g.lineStart=v}};function m(i,n){i=t(i,n),e.point(i[0],i[1])}function v(){u=NaN,g.point=y,e.lineStart()}function y(n,r){var o=_s([n,r]),a=t(n,r);i(u,h,c,d,f,p,u=a[0],h=a[1],c=n,d=o[0],f=o[1],p=o[2],_u,e),e.point(u,h)}function b(){g.point=m,e.lineEnd()}function L(){v(),g.point=x,g.lineEnd=w}function x(t,e){y(n=t,e),r=u,o=h,a=d,s=f,l=p,g.point=y}function w(){i(u,h,c,d,f,p,r,o,n,a,s,l,_u,e),g.lineEnd=b,b()}return g}}(t,e):function(t){return mu({point:function(e,i){e=t(e,i),this.stream.point(e[0],e[1])}})}(t)}var ku=mu({point:function(t,e){this.stream.point(t*Va,e*Va)}});function Tu(t,e,i,n){var r=Ya(n),o=Za(n),a=r*t,s=o*t,l=r/t,c=o/t,u=(o*i-r*e)/t,h=(o*e+r*i)/t;function d(t,n){return[a*t-s*n+e,i-s*t-a*n]}return d.invert=function(t,e){return[l*t-c*e+u,h-c*t-l*e]},d}function Eu(t){return Au(function(){return t})()}function Au(t){var e,i,n,r,o,a,s,l,c,u,h=150,d=480,f=250,p=0,g=0,m=0,v=0,y=0,b=0,L=null,x=Ul,w=null,_=yc,S=.5;function C(t){return l(t[0]*Va,t[1]*Va)}function k(t){return(t=l.invert(t[0],t[1]))&&[t[0]*Ha,t[1]*Ha]}function T(){var t=Tu(h,0,0,b).apply(null,e(p,g)),n=(b?Tu:function(t,e,i){function n(n,r){return[e+t*n,i-t*r]}return n.invert=function(n,r){return[(n-e)/t,(i-r)/t]},n})(h,d-t[0],f-t[1],b);return i=Tl(m,v,y),s=Cl(e,n),l=Cl(i,s),a=Cu(s,S),E()}function E(){return c=u=null,C}return C.stream=function(t){return c&&u===t?c:c=ku(function(t){return mu({point:function(e,i){var n=t(e,i);return this.stream.point(n[0],n[1])}})}(i)(x(a(_(u=t)))))},C.preclip=function(t){return arguments.length?(x=t,L=void 0,E()):x},C.postclip=function(t){return arguments.length?(_=t,w=n=r=o=null,E()):_},C.clipAngle=function(t){return arguments.length?(x=+t?Yl(L=t*Va):(L=null,Ul),E()):L*Ha},C.clipExtent=function(t){return arguments.length?(_=null==t?(w=n=r=o=null,yc):ql(w=+t[0][0],n=+t[0][1],r=+t[1][0],o=+t[1][1]),E()):null==w?null:[[w,n],[r,o]]},C.scale=function(t){return arguments.length?(h=+t,T()):h},C.translate=function(t){return arguments.length?(d=+t[0],f=+t[1],T()):[d,f]},C.center=function(t){return arguments.length?(p=t[0]%360*Va,g=t[1]%360*Va,T()):[p*Ha,g*Ha]},C.rotate=function(t){return arguments.length?(m=t[0]%360*Va,v=t[1]%360*Va,y=t.length>2?t[2]%360*Va:0,T()):[m*Ha,v*Ha,y*Ha]},C.angle=function(t){return arguments.length?(b=t%360*Va,T()):b*Ha},C.precision=function(t){return arguments.length?(a=Cu(s,S=t*t),E()):Qa(S)},C.fitExtent=function(t,e){return bu(C,t,e)},C.fitSize=function(t,e){return Lu(C,t,e)},C.fitWidth=function(t,e){return xu(C,t,e)},C.fitHeight=function(t,e){return wu(C,t,e)},function(){return e=t.apply(this,arguments),C.invert=e.invert&&k,T()}}function Mu(t){var e=0,i=Ra/3,n=Au(t),r=n(e,i);return r.parallels=function(t){return arguments.length?n(e=t[0]*Va,i=t[1]*Va):[e*Ha,i*Ha]},r}function Du(t,e){var i=Za(t),n=(i+Za(e))/2;if(ja(n)<Na)return function(t){var e=Ya(t);function i(t,i){return[t*e,Za(i)/e]}return i.invert=function(t,i){return[t/e,es(i*e)]},i}(t);var r=1+i*(2*n-i),o=Qa(r)/n;function a(t,e){var i=Qa(r-2*n*Za(e))/n;return[i*Za(t*=n),o-i*Ya(t)]}return a.invert=function(t,e){var i=o-e;return[Ua(t,ja(i))/n*Ka(i),es((r-(t*t+i*i)*n*n)/(2*n))]},a}function Pu(){return Mu(Du).scale(155.424).center([0,33.6442])}function Ou(){return Pu().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function Iu(t){return function(e,i){var n=Ya(e),r=Ya(i),o=t(n*r);return[o*r*Za(e),o*Za(i)]}}function Nu(t){return function(e,i){var n=Qa(e*e+i*i),r=t(n),o=Za(r),a=Ya(r);return[Ua(e*o,n*a),es(n&&i*o/n)]}}var Ru=Iu(function(t){return Qa(2/(1+t))});Ru.invert=Nu(function(t){return 2*es(t/2)});var Fu=Iu(function(t){return(t=ts(t))&&t/Za(t)});function Bu(t,e){return[t,qa(Ja((Fa+e)/2))]}function zu(t){var e,i,n,r=Eu(t),o=r.center,a=r.scale,s=r.translate,l=r.clipExtent,c=null;function u(){var o=Ra*a(),s=r(Dl(r.rotate()).invert([0,0]));return l(null==c?[[s[0]-o,s[1]-o],[s[0]+o,s[1]+o]]:t===Bu?[[Math.max(s[0]-o,c),e],[Math.min(s[0]+o,i),n]]:[[c,Math.max(s[1]-o,e)],[i,Math.min(s[1]+o,n)]])}return r.scale=function(t){return arguments.length?(a(t),u()):a()},r.translate=function(t){return arguments.length?(s(t),u()):s()},r.center=function(t){return arguments.length?(o(t),u()):o()},r.clipExtent=function(t){return arguments.length?(null==t?c=e=i=n=null:(c=+t[0][0],e=+t[0][1],i=+t[1][0],n=+t[1][1]),u()):null==c?null:[[c,e],[i,n]]},u()}function Hu(t){return Ja((Fa+t)/2)}function Vu(t,e){var i=Ya(t),n=t===e?Za(t):qa(i/Ya(e))/qa(Hu(e)/Hu(t)),r=i*$a(Hu(t),n)/n;if(!n)return Bu;function o(t,e){r>0?e<-Fa+Na&&(e=-Fa+Na):e>Fa-Na&&(e=Fa-Na);var i=r/$a(Hu(e),n);return[i*Za(n*t),r-i*Ya(n*t)]}return o.invert=function(t,e){var i=r-e,o=Ka(n)*Qa(t*t+i*i);return[Ua(t,ja(i))/n*Ka(i),2*Wa($a(r/o,1/n))-Fa]},o}function ju(t,e){return[t,e]}function Wu(t,e){var i=Ya(t),n=t===e?Za(t):(i-Ya(e))/(e-t),r=i/n+t;if(ja(n)<Na)return ju;function o(t,e){var i=r-e,o=n*t;return[i*Za(o),r-i*Ya(o)]}return o.invert=function(t,e){var i=r-e;return[Ua(t,ja(i))/n*Ka(i),r-Ka(n)*Qa(t*t+i*i)]},o}Fu.invert=Nu(function(t){return t}),Bu.invert=function(t,e){return[t,2*Wa(Xa(e))-Fa]},ju.invert=ju;var Uu=1.340264,Yu=-.081106,Gu=893e-6,Xu=.003796,qu=Qa(3)/2;function $u(t,e){var i=es(qu*Za(e)),n=i*i,r=n*n*n;return[t*Ya(i)/(qu*(Uu+3*Yu*n+r*(7*Gu+9*Xu*n))),i*(Uu+Yu*n+r*(Gu+Xu*n))]}function Zu(t,e){var i=Ya(e),n=Ya(t)*i;return[i*Za(t)/n,Za(e)/n]}function Ku(t,e,i,n){return 1===t&&1===e&&0===i&&0===n?yc:mu({point:function(r,o){this.stream.point(r*t+i,o*e+n)}})}function Qu(t,e){var i=e*e,n=i*i;return[t*(.8707-.131979*i+n*(n*(.003971*i-.001529*n)-.013791)),e*(1.007226+i*(.015085+n*(.028874*i-.044475-.005916*n)))]}function Ju(t,e){return[Ya(e)*Za(t),Za(e)]}function th(t,e){var i=Ya(e),n=1+Ya(t)*i;return[i*Za(t)/n,Za(e)/n]}function eh(t,e){return[qa(Ja((Fa+e)/2)),-t]}function ih(t,e){return t.parent===e.parent?1:2}function nh(t,e){return t+e.x}function rh(t,e){return Math.max(t,e.y)}function oh(t){var e=0,i=t.children,n=i&&i.length;if(n)for(;--n>=0;)e+=i[n].value;else e=1;t.value=e}function ah(t,e){var i,n,r,o,a,s=new uh(t),l=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=sh);i=c.pop();)if(l&&(i.value=+i.data.value),(r=e(i.data))&&(a=r.length))for(i.children=new Array(a),o=a-1;o>=0;--o)c.push(n=i.children[o]=new uh(r[o])),n.parent=i,n.depth=i.depth+1;return s.eachBefore(ch)}function sh(t){return t.children}function lh(t){t.data=t.data.data}function ch(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function uh(t){this.data=t,this.depth=this.height=0,this.parent=null}$u.invert=function(t,e){for(var i,n=e,r=n*n,o=r*r*r,a=0;a<12&&(o=(r=(n-=i=(n*(Uu+Yu*r+o*(Gu+Xu*r))-e)/(Uu+3*Yu*r+o*(7*Gu+9*Xu*r)))*n)*r*r,!(ja(i)<1e-12));++a);return[qu*t*(Uu+3*Yu*r+o*(7*Gu+9*Xu*r))/Ya(n),es(Za(n)/qu)]},Zu.invert=Nu(Wa),Qu.invert=function(t,e){var i,n=e,r=25;do{var o=n*n,a=o*o;n-=i=(n*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(ja(i)>Na&&--r>0);return[t/(.8707+(o=n*n)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),n]},Ju.invert=Nu(es),th.invert=Nu(function(t){return 2*Wa(t)}),eh.invert=function(t,e){return[-e,2*Wa(Xa(t))-Fa]},uh.prototype=ah.prototype={constructor:uh,count:function(){return this.eachAfter(oh)},each:function(t){var e,i,n,r,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),i=o.children)for(n=0,r=i.length;n<r;++n)a.push(i[n])}while(a.length);return this},eachAfter:function(t){for(var e,i,n,r=this,o=[r],a=[];r=o.pop();)if(a.push(r),e=r.children)for(i=0,n=e.length;i<n;++i)o.push(e[i]);for(;r=a.pop();)t(r);return this},eachBefore:function(t){for(var e,i,n=this,r=[n];n=r.pop();)if(t(n),e=n.children)for(i=e.length-1;i>=0;--i)r.push(e[i]);return this},sum:function(t){return this.eachAfter(function(e){for(var i=+t(e.data)||0,n=e.children,r=n&&n.length;--r>=0;)i+=n[r].value;e.value=i})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,i=function(t,e){if(t===e)return t;var i=t.ancestors(),n=e.ancestors(),r=null;for(t=i.pop(),e=n.pop();t===e;)r=t,t=i.pop(),e=n.pop();return r}(e,t),n=[e];e!==i;)e=e.parent,n.push(e);for(var r=n.length;t!==i;)n.splice(r,0,t),t=t.parent;return n},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(i){i!==t&&e.push({source:i.parent,target:i})}),e},copy:function(){return ah(this).eachBefore(lh)}};var hh=Array.prototype.slice;function dh(t){for(var e,i,n=0,r=(t=function(t){for(var e,i,n=t.length;n;)i=Math.random()*n--|0,e=t[n],t[n]=t[i],t[i]=e;return t}(hh.call(t))).length,o=[];n<r;)e=t[n],i&&gh(i,e)?++n:(i=vh(o=fh(o,e)),n=0);return i}function fh(t,e){var i,n;if(mh(e,t))return[e];for(i=0;i<t.length;++i)if(ph(e,t[i])&&mh(yh(t[i],e),t))return[t[i],e];for(i=0;i<t.length-1;++i)for(n=i+1;n<t.length;++n)if(ph(yh(t[i],t[n]),e)&&ph(yh(t[i],e),t[n])&&ph(yh(t[n],e),t[i])&&mh(bh(t[i],t[n],e),t))return[t[i],t[n],e];throw new Error}function ph(t,e){var i=t.r-e.r,n=e.x-t.x,r=e.y-t.y;return i<0||i*i<n*n+r*r}function gh(t,e){var i=t.r-e.r+1e-6,n=e.x-t.x,r=e.y-t.y;return i>0&&i*i>n*n+r*r}function mh(t,e){for(var i=0;i<e.length;++i)if(!gh(t,e[i]))return!1;return!0}function vh(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return yh(t[0],t[1]);case 3:return bh(t[0],t[1],t[2])}var e}function yh(t,e){var i=t.x,n=t.y,r=t.r,o=e.x,a=e.y,s=e.r,l=o-i,c=a-n,u=s-r,h=Math.sqrt(l*l+c*c);return{x:(i+o+l/h*u)/2,y:(n+a+c/h*u)/2,r:(h+r+s)/2}}function bh(t,e,i){var n=t.x,r=t.y,o=t.r,a=e.x,s=e.y,l=e.r,c=i.x,u=i.y,h=i.r,d=n-a,f=n-c,p=r-s,g=r-u,m=l-o,v=h-o,y=n*n+r*r-o*o,b=y-a*a-s*s+l*l,L=y-c*c-u*u+h*h,x=f*p-d*g,w=(p*L-g*b)/(2*x)-n,_=(g*m-p*v)/x,S=(f*b-d*L)/(2*x)-r,C=(d*v-f*m)/x,k=_*_+C*C-1,T=2*(o+w*_+S*C),E=w*w+S*S-o*o,A=-(k?(T+Math.sqrt(T*T-4*k*E))/(2*k):E/T);return{x:n+w+_*A,y:r+S+C*A,r:A}}function Lh(t,e,i){var n,r,o,a,s=t.x-e.x,l=t.y-e.y,c=s*s+l*l;c?(r=e.r+i.r,r*=r,a=t.r+i.r,r>(a*=a)?(n=(c+a-r)/(2*c),o=Math.sqrt(Math.max(0,a/c-n*n)),i.x=t.x-n*s-o*l,i.y=t.y-n*l+o*s):(n=(c+r-a)/(2*c),o=Math.sqrt(Math.max(0,r/c-n*n)),i.x=e.x+n*s-o*l,i.y=e.y+n*l+o*s)):(i.x=e.x+i.r,i.y=e.y)}function xh(t,e){var i=t.r+e.r-1e-6,n=e.x-t.x,r=e.y-t.y;return i>0&&i*i>n*n+r*r}function wh(t){var e=t._,i=t.next._,n=e.r+i.r,r=(e.x*i.r+i.x*e.r)/n,o=(e.y*i.r+i.y*e.r)/n;return r*r+o*o}function _h(t){this._=t,this.next=null,this.previous=null}function Sh(t){if(!(r=t.length))return 0;var e,i,n,r,o,a,s,l,c,u,h;if((e=t[0]).x=0,e.y=0,!(r>1))return e.r;if(i=t[1],e.x=-i.r,i.x=e.r,i.y=0,!(r>2))return e.r+i.r;Lh(i,e,n=t[2]),e=new _h(e),i=new _h(i),n=new _h(n),e.next=n.previous=i,i.next=e.previous=n,n.next=i.previous=e;t:for(s=3;s<r;++s){Lh(e._,i._,n=t[s]),n=new _h(n),l=i.next,c=e.previous,u=i._.r,h=e._.r;do{if(u<=h){if(xh(l._,n._)){i=l,e.next=i,i.previous=e,--s;continue t}u+=l._.r,l=l.next}else{if(xh(c._,n._)){(e=c).next=i,i.previous=e,--s;continue t}h+=c._.r,c=c.previous}}while(l!==c.next);for(n.previous=e,n.next=i,e.next=i.previous=i=n,o=wh(e);(n=n.next)!==i;)(a=wh(n))<o&&(e=n,o=a);i=e.next}for(e=[i._],n=i;(n=n.next)!==i;)e.push(n._);for(n=dh(e),s=0;s<r;++s)(e=t[s]).x-=n.x,e.y-=n.y;return n.r}function Ch(t){if("function"!=typeof t)throw new Error;return t}function kh(){return 0}function Th(t){return function(){return t}}function Eh(t){return Math.sqrt(t.value)}function Ah(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function Mh(t,e){return function(i){if(n=i.children){var n,r,o,a=n.length,s=t(i)*e||0;if(s)for(r=0;r<a;++r)n[r].r+=s;if(o=Sh(n),s)for(r=0;r<a;++r)n[r].r-=s;i.r=o+s}}}function Dh(t){return function(e){var i=e.parent;e.r*=t,i&&(e.x=i.x+t*e.x,e.y=i.y+t*e.y)}}function Ph(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Oh(t,e,i,n,r){for(var o,a=t.children,s=-1,l=a.length,c=t.value&&(n-e)/t.value;++s<l;)(o=a[s]).y0=i,o.y1=r,o.x0=e,o.x1=e+=o.value*c}var Ih="$",Nh={depth:-1},Rh={};function Fh(t){return t.id}function Bh(t){return t.parentId}function zh(t,e){return t.parent===e.parent?1:2}function Hh(t){var e=t.children;return e?e[0]:t.t}function Vh(t){var e=t.children;return e?e[e.length-1]:t.t}function jh(t,e,i){var n=i/(e.i-t.i);e.c-=n,e.s+=i,t.c+=n,e.z+=i,e.m+=i}function Wh(t,e,i){return t.a.parent===e.parent?t.a:i}function Uh(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function Yh(t,e,i,n,r){for(var o,a=t.children,s=-1,l=a.length,c=t.value&&(r-i)/t.value;++s<l;)(o=a[s]).x0=e,o.x1=n,o.y0=i,o.y1=i+=o.value*c}Uh.prototype=Object.create(uh.prototype);var Gh=(1+Math.sqrt(5))/2;function Xh(t,e,i,n,r,o){for(var a,s,l,c,u,h,d,f,p,g,m,v=[],y=e.children,b=0,L=0,x=y.length,w=e.value;b<x;){l=r-i,c=o-n;do{u=y[L++].value}while(!u&&L<x);for(h=d=u,m=u*u*(g=Math.max(c/l,l/c)/(w*t)),p=Math.max(d/m,m/h);L<x;++L){if(u+=s=y[L].value,s<h&&(h=s),s>d&&(d=s),m=u*u*g,(f=Math.max(d/m,m/h))>p){u-=s;break}p=f}v.push(a={value:u,dice:l<c,children:y.slice(b,L)}),a.dice?Oh(a,i,n,r,w?n+=c*u/w:o):Yh(a,i,n,w?i+=l*u/w:r,o),w-=u,b=L}return v}var qh=function t(e){function i(t,i,n,r,o){Xh(e,t,i,n,r,o)}return i.ratio=function(e){return t((e=+e)>1?e:1)},i}(Gh),$h=function t(e){function i(t,i,n,r,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,l,c,u,h=-1,d=a.length,f=t.value;++h<d;){for(l=(s=a[h]).children,c=s.value=0,u=l.length;c<u;++c)s.value+=l[c].value;s.dice?Oh(s,i,n,r,n+=(o-n)*s.value/f):Yh(s,i,n,i+=(r-i)*s.value/f,o),f-=s.value}else t._squarify=a=Xh(e,t,i,n,r,o),a.ratio=e}return i.ratio=function(e){return t((e=+e)>1?e:1)},i}(Gh);function Zh(t,e){return t[0]-e[0]||t[1]-e[1]}function Kh(t){for(var e,i,n,r=t.length,o=[0,1],a=2,s=2;s<r;++s){for(;a>1&&(e=t[o[a-2]],i=t[o[a-1]],n=t[s],(i[0]-e[0])*(n[1]-e[1])-(i[1]-e[1])*(n[0]-e[0])<=0);)--a;o[a++]=s}return o.slice(0,a)}function Qh(){return Math.random()}var Jh=function t(e){function i(t,i){return t=null==t?0:+t,i=null==i?1:+i,1===arguments.length?(i=t,t=0):i-=t,function(){return e()*i+t}}return i.source=t,i}(Qh),td=function t(e){function i(t,i){var n,r;return t=null==t?0:+t,i=null==i?1:+i,function(){var o;if(null!=n)o=n,n=null;else do{n=2*e()-1,o=2*e()-1,r=n*n+o*o}while(!r||r>1);return t+i*o*Math.sqrt(-2*Math.log(r)/r)}}return i.source=t,i}(Qh),ed=function t(e){function i(){var t=td.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return i.source=t,i}(Qh),id=function t(e){function i(t){return function(){for(var i=0,n=0;n<t;++n)i+=e();return i}}return i.source=t,i}(Qh),nd=function t(e){function i(t){var i=id.source(e)(t);return function(){return i()/t}}return i.source=t,i}(Qh),rd=function t(e){function i(t){return function(){return-Math.log(1-e())/t}}return i.source=t,i}(Qh);function od(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function ad(t,e){switch(arguments.length){case 0:break;case 1:this.interpolator(t);break;default:this.interpolator(e).domain(t)}return this}var sd=Array.prototype,ld=sd.map,cd=sd.slice,ud={name:"implicit"};function hd(){var t=$r(),e=[],i=[],n=ud;function r(r){var o=r+"",a=t.get(o);if(!a){if(n!==ud)return n;t.set(o,a=e.push(r))}return i[(a-1)%i.length]}return r.domain=function(i){if(!arguments.length)return e.slice();e=[],t=$r();for(var n,o,a=-1,s=i.length;++a<s;)t.has(o=(n=i[a])+"")||t.set(o,e.push(n));return r},r.range=function(t){return arguments.length?(i=cd.call(t),r):i.slice()},r.unknown=function(t){return arguments.length?(n=t,r):n},r.copy=function(){return hd(e,i).unknown(n)},od.apply(r,arguments),r}function dd(){var t,e,i=hd().unknown(void 0),n=i.domain,r=i.range,o=[0,1],a=!1,s=0,l=0,c=.5;function u(){var i=n().length,u=o[1]<o[0],h=o[u-0],d=o[1-u];t=(d-h)/Math.max(1,i-s+2*l),a&&(t=Math.floor(t)),h+=(d-h-t*(i-s))*c,e=t*(1-s),a&&(h=Math.round(h),e=Math.round(e));var f=m(i).map(function(e){return h+t*e});return r(u?f.reverse():f)}return delete i.unknown,i.domain=function(t){return arguments.length?(n(t),u()):n()},i.range=function(t){return arguments.length?(o=[+t[0],+t[1]],u()):o.slice()},i.rangeRound=function(t){return o=[+t[0],+t[1]],a=!0,u()},i.bandwidth=function(){return e},i.step=function(){return t},i.round=function(t){return arguments.length?(a=!!t,u()):a},i.padding=function(t){return arguments.length?(s=Math.min(1,l=+t),u()):s},i.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),u()):s},i.paddingOuter=function(t){return arguments.length?(l=+t,u()):l},i.align=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),u()):c},i.copy=function(){return dd(n(),o).round(a).paddingInner(s).paddingOuter(l).align(c)},od.apply(u(),arguments)}function fd(t){return+t}var pd=[0,1];function gd(t){return t}function md(t,e){return(e-=t=+t)?function(i){return(i-t)/e}:(i=isNaN(e)?NaN:.5,function(){return i});var i}function vd(t){var e,i=t[0],n=t[t.length-1];return i>n&&(e=i,i=n,n=e),function(t){return Math.max(i,Math.min(n,t))}}function yd(t,e,i){var n=t[0],r=t[1],o=e[0],a=e[1];return r<n?(n=md(r,n),o=i(a,o)):(n=md(n,r),o=i(o,a)),function(t){return o(n(t))}}function bd(t,e,i){var n=Math.min(t.length,e.length)-1,o=new Array(n),a=new Array(n),s=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<n;)o[s]=md(t[s],t[s+1]),a[s]=i(e[s],e[s+1]);return function(e){var i=r(t,e,1,n)-1;return a[i](o[i](e))}}function Ld(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function xd(){var t,e,i,n,r,o,a=pd,s=pd,l=pi,c=gd;function u(){return n=Math.min(a.length,s.length)>2?bd:yd,r=o=null,h}function h(e){return isNaN(e=+e)?i:(r||(r=n(a.map(t),s,l)))(t(c(e)))}return h.invert=function(i){return c(e((o||(o=n(s,a.map(t),ci)))(i)))},h.domain=function(t){return arguments.length?(a=ld.call(t,fd),c===gd||(c=vd(a)),u()):a.slice()},h.range=function(t){return arguments.length?(s=cd.call(t),u()):s.slice()},h.rangeRound=function(t){return s=cd.call(t),l=gi,u()},h.clamp=function(t){return arguments.length?(c=t?vd(a):gd,h):c!==gd},h.interpolate=function(t){return arguments.length?(l=t,u()):l},h.unknown=function(t){return arguments.length?(i=t,h):i},function(i,n){return t=i,e=n,u()}}function wd(t,e){return xd()(t,e)}function _d(e,i,n,r){var o,a=w(e,i,n);switch((r=ba(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(e),Math.abs(i));return null!=r.precision||isNaN(o=Aa(a,s))||(r.precision=o),t.formatPrefix(r,s);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=Ma(a,Math.max(Math.abs(e),Math.abs(i))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Ea(a))||(r.precision=o-2*("%"===r.type))}return t.format(r)}function Sd(t){var e=t.domain;return t.ticks=function(t){var i=e();return L(i[0],i[i.length-1],null==t?10:t)},t.tickFormat=function(t,i){var n=e();return _d(n[0],n[n.length-1],null==t?10:t,i)},t.nice=function(i){null==i&&(i=10);var n,r=e(),o=0,a=r.length-1,s=r[o],l=r[a];return l<s&&(n=s,s=l,l=n,n=o,o=a,a=n),(n=x(s,l,i))>0?n=x(s=Math.floor(s/n)*n,l=Math.ceil(l/n)*n,i):n<0&&(n=x(s=Math.ceil(s*n)/n,l=Math.floor(l*n)/n,i)),n>0?(r[o]=Math.floor(s/n)*n,r[a]=Math.ceil(l/n)*n,e(r)):n<0&&(r[o]=Math.ceil(s*n)/n,r[a]=Math.floor(l*n)/n,e(r)),t},t}function Cd(t,e){var i,n=0,r=(t=t.slice()).length-1,o=t[n],a=t[r];return a<o&&(i=n,n=r,r=i,i=o,o=a,a=i),t[n]=e.floor(o),t[r]=e.ceil(a),t}function kd(t){return Math.log(t)}function Td(t){return Math.exp(t)}function Ed(t){return-Math.log(-t)}function Ad(t){return-Math.exp(-t)}function Md(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Dd(t){return function(e){return-t(-e)}}function Pd(e){var i,n,r=e(kd,Td),o=r.domain,a=10;function s(){return i=(t=a)===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t}),n=function(t){return 10===t?Md:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(a),o()[0]<0?(i=Dd(i),n=Dd(n),e(Ed,Ad)):e(kd,Td),r;var t}return r.base=function(t){return arguments.length?(a=+t,s()):a},r.domain=function(t){return arguments.length?(o(t),s()):o()},r.ticks=function(t){var e,r=o(),s=r[0],l=r[r.length-1];(e=l<s)&&(d=s,s=l,l=d);var c,u,h,d=i(s),f=i(l),p=null==t?10:+t,g=[];if(!(a%1)&&f-d<p){if(d=Math.round(d)-1,f=Math.round(f)+1,s>0){for(;d<f;++d)for(u=1,c=n(d);u<a;++u)if(!((h=c*u)<s)){if(h>l)break;g.push(h)}}else for(;d<f;++d)for(u=a-1,c=n(d);u>=1;--u)if(!((h=c*u)<s)){if(h>l)break;g.push(h)}}else g=L(d,f,Math.min(f-d,p)).map(n);return e?g.reverse():g},r.tickFormat=function(e,o){if(null==o&&(o=10===a?".0e":","),"function"!=typeof o&&(o=t.format(o)),e===1/0)return o;null==e&&(e=10);var s=Math.max(1,a*e/r.ticks().length);return function(t){var e=t/n(Math.round(i(t)));return e*a<a-.5&&(e*=a),e<=s?o(t):""}},r.nice=function(){return o(Cd(o(),{floor:function(t){return n(Math.floor(i(t)))},ceil:function(t){return n(Math.ceil(i(t)))}}))},r}function Od(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function Id(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function Nd(t){var e=1,i=t(Od(e),Id(e));return i.constant=function(i){return arguments.length?t(Od(e=+i),Id(e)):e},Sd(i)}function Rd(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Fd(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Bd(t){return t<0?-t*t:t*t}function zd(t){var e=t(gd,gd),i=1;return e.exponent=function(e){return arguments.length?1==(i=+e)?t(gd,gd):.5===i?t(Fd,Bd):t(Rd(i),Rd(1/i)):i},Sd(e)}function Hd(){var t=zd(xd());return t.copy=function(){return Ld(t,Hd()).exponent(t.exponent())},od.apply(t,arguments),t}var Vd=new Date,jd=new Date;function Wd(t,e,i,n){function r(e){return t(e=new Date(+e)),e}return r.floor=r,r.ceil=function(i){return t(i=new Date(i-1)),e(i,1),t(i),i},r.round=function(t){var e=r(t),i=r.ceil(t);return t-e<i-t?e:i},r.offset=function(t,i){return e(t=new Date(+t),null==i?1:Math.floor(i)),t},r.range=function(i,n,o){var a,s=[];if(i=r.ceil(i),o=null==o?1:Math.floor(o),!(i<n&&o>0))return s;do{s.push(a=new Date(+i)),e(i,o),t(i)}while(a<i&&i<n);return s},r.filter=function(i){return Wd(function(e){if(e>=e)for(;t(e),!i(e);)e.setTime(e-1)},function(t,n){if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!i(t););else for(;--n>=0;)for(;e(t,1),!i(t););})},i&&(r.count=function(e,n){return Vd.setTime(+e),jd.setTime(+n),t(Vd),t(jd),Math.floor(i(Vd,jd))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(n?function(e){return n(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var Ud=Wd(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Ud.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Wd(function(e){e.setTime(Math.floor(e/t)*t)},function(e,i){e.setTime(+e+i*t)},function(e,i){return(i-e)/t}):Ud:null};var Yd=Ud.range,Gd=6e4,Xd=6048e5,qd=Wd(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),$d=qd.range,Zd=Wd(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+e*Gd)},function(t,e){return(e-t)/Gd},function(t){return t.getMinutes()}),Kd=Zd.range,Qd=Wd(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*Gd)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),Jd=Qd.range,tf=Wd(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Gd)/864e5},function(t){return t.getDate()-1}),ef=tf.range;function nf(t){return Wd(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Gd)/Xd})}var rf=nf(0),of=nf(1),af=nf(2),sf=nf(3),lf=nf(4),cf=nf(5),uf=nf(6),hf=rf.range,df=of.range,ff=af.range,pf=sf.range,gf=lf.range,mf=cf.range,vf=uf.range,yf=Wd(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),bf=yf.range,Lf=Wd(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Lf.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Wd(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,i){e.setFullYear(e.getFullYear()+i*t)}):null};var xf=Lf.range,wf=Wd(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Gd)},function(t,e){return(e-t)/Gd},function(t){return t.getUTCMinutes()}),_f=wf.range,Sf=Wd(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),Cf=Sf.range,kf=Wd(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}),Tf=kf.range;function Ef(t){return Wd(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/Xd})}var Af=Ef(0),Mf=Ef(1),Df=Ef(2),Pf=Ef(3),Of=Ef(4),If=Ef(5),Nf=Ef(6),Rf=Af.range,Ff=Mf.range,Bf=Df.range,zf=Pf.range,Hf=Of.range,Vf=If.range,jf=Nf.range,Wf=Wd(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),Uf=Wf.range,Yf=Wd(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Yf.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Wd(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,i){e.setUTCFullYear(e.getUTCFullYear()+i*t)}):null};var Gf=Yf.range;function Xf(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function qf(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function $f(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function Zf(t){var e=t.dateTime,i=t.date,n=t.time,r=t.periods,o=t.days,a=t.shortDays,s=t.months,l=t.shortMonths,c=rp(r),u=op(r),h=rp(o),d=op(o),f=rp(a),p=op(a),g=rp(s),m=op(s),v=rp(l),y=op(l),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Cp,e:Cp,f:Mp,H:kp,I:Tp,j:Ep,L:Ap,m:Dp,M:Pp,p:function(t){return r[+(t.getHours()>=12)]},Q:ag,s:sg,S:Op,u:Ip,U:Np,V:Rp,w:Fp,W:Bp,x:null,X:null,y:zp,Y:Hp,Z:Vp,"%":og},L={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:jp,e:jp,f:Xp,H:Wp,I:Up,j:Yp,L:Gp,m:qp,M:$p,p:function(t){return r[+(t.getUTCHours()>=12)]},Q:ag,s:sg,S:Zp,u:Kp,U:Qp,V:Jp,w:tg,W:eg,x:null,X:null,y:ig,Y:ng,Z:rg,"%":og},x={a:function(t,e,i){var n=f.exec(e.slice(i));return n?(t.w=p[n[0].toLowerCase()],i+n[0].length):-1},A:function(t,e,i){var n=h.exec(e.slice(i));return n?(t.w=d[n[0].toLowerCase()],i+n[0].length):-1},b:function(t,e,i){var n=v.exec(e.slice(i));return n?(t.m=y[n[0].toLowerCase()],i+n[0].length):-1},B:function(t,e,i){var n=g.exec(e.slice(i));return n?(t.m=m[n[0].toLowerCase()],i+n[0].length):-1},c:function(t,i,n){return S(t,e,i,n)},d:gp,e:gp,f:xp,H:vp,I:vp,j:mp,L:Lp,m:pp,M:yp,p:function(t,e,i){var n=c.exec(e.slice(i));return n?(t.p=u[n[0].toLowerCase()],i+n[0].length):-1},Q:_p,s:Sp,S:bp,u:sp,U:lp,V:cp,w:ap,W:up,x:function(t,e,n){return S(t,i,e,n)},X:function(t,e,i){return S(t,n,e,i)},y:dp,Y:hp,Z:fp,"%":wp};function w(t,e){return function(i){var n,r,o,a=[],s=-1,l=0,c=t.length;for(i instanceof Date||(i=new Date(+i));++s<c;)37===t.charCodeAt(s)&&(a.push(t.slice(l,s)),null!=(r=Qf[n=t.charAt(++s)])?n=t.charAt(++s):r="e"===n?" ":"0",(o=e[n])&&(n=o(i,r)),a.push(n),l=s+1);return a.push(t.slice(l,s)),a.join("")}}function _(t,e){return function(i){var n,r,o=$f(1900);if(S(o,t,i+="",0)!=i.length)return null;if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(r=(n=qf($f(o.y))).getUTCDay(),n=r>4||0===r?Mf.ceil(n):Mf(n),n=kf.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(r=(n=e($f(o.y))).getDay(),n=r>4||0===r?of.ceil(n):of(n),n=tf.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),r="Z"in o?qf($f(o.y)).getUTCDay():e($f(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(r+5)%7:o.w+7*o.U-(r+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,qf(o)):e(o)}}function S(t,e,i,n){for(var r,o,a=0,s=e.length,l=i.length;a<s;){if(n>=l)return-1;if(37===(r=e.charCodeAt(a++))){if(r=e.charAt(a++),!(o=x[r in Qf?e.charAt(a++):r])||(n=o(t,i,n))<0)return-1}else if(r!=i.charCodeAt(n++))return-1}return n}return b.x=w(i,b),b.X=w(n,b),b.c=w(e,b),L.x=w(i,L),L.X=w(n,L),L.c=w(e,L),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=_(t+="",Xf);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",L);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t,qf);return e.toString=function(){return t},e}}}var Kf,Qf={"-":"",_:" ",0:"0"},Jf=/^\s*\d+/,tp=/^%/,ep=/[\\^$*+?|[\]().{}]/g;function ip(t,e,i){var n=t<0?"-":"",r=(n?-t:t)+"",o=r.length;return n+(o<i?new Array(i-o+1).join(e)+r:r)}function np(t){return t.replace(ep,"\\$&")}function rp(t){return new RegExp("^(?:"+t.map(np).join("|")+")","i")}function op(t){for(var e={},i=-1,n=t.length;++i<n;)e[t[i].toLowerCase()]=i;return e}function ap(t,e,i){var n=Jf.exec(e.slice(i,i+1));return n?(t.w=+n[0],i+n[0].length):-1}function sp(t,e,i){var n=Jf.exec(e.slice(i,i+1));return n?(t.u=+n[0],i+n[0].length):-1}function lp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.U=+n[0],i+n[0].length):-1}function cp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.V=+n[0],i+n[0].length):-1}function up(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.W=+n[0],i+n[0].length):-1}function hp(t,e,i){var n=Jf.exec(e.slice(i,i+4));return n?(t.y=+n[0],i+n[0].length):-1}function dp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),i+n[0].length):-1}function fp(t,e,i){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(i,i+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),i+n[0].length):-1}function pp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.m=n[0]-1,i+n[0].length):-1}function gp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.d=+n[0],i+n[0].length):-1}function mp(t,e,i){var n=Jf.exec(e.slice(i,i+3));return n?(t.m=0,t.d=+n[0],i+n[0].length):-1}function vp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.H=+n[0],i+n[0].length):-1}function yp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.M=+n[0],i+n[0].length):-1}function bp(t,e,i){var n=Jf.exec(e.slice(i,i+2));return n?(t.S=+n[0],i+n[0].length):-1}function Lp(t,e,i){var n=Jf.exec(e.slice(i,i+3));return n?(t.L=+n[0],i+n[0].length):-1}function xp(t,e,i){var n=Jf.exec(e.slice(i,i+6));return n?(t.L=Math.floor(n[0]/1e3),i+n[0].length):-1}function wp(t,e,i){var n=tp.exec(e.slice(i,i+1));return n?i+n[0].length:-1}function _p(t,e,i){var n=Jf.exec(e.slice(i));return n?(t.Q=+n[0],i+n[0].length):-1}function Sp(t,e,i){var n=Jf.exec(e.slice(i));return n?(t.Q=1e3*+n[0],i+n[0].length):-1}function Cp(t,e){return ip(t.getDate(),e,2)}function kp(t,e){return ip(t.getHours(),e,2)}function Tp(t,e){return ip(t.getHours()%12||12,e,2)}function Ep(t,e){return ip(1+tf.count(Lf(t),t),e,3)}function Ap(t,e){return ip(t.getMilliseconds(),e,3)}function Mp(t,e){return Ap(t,e)+"000"}function Dp(t,e){return ip(t.getMonth()+1,e,2)}function Pp(t,e){return ip(t.getMinutes(),e,2)}function Op(t,e){return ip(t.getSeconds(),e,2)}function Ip(t){var e=t.getDay();return 0===e?7:e}function Np(t,e){return ip(rf.count(Lf(t),t),e,2)}function Rp(t,e){var i=t.getDay();return t=i>=4||0===i?lf(t):lf.ceil(t),ip(lf.count(Lf(t),t)+(4===Lf(t).getDay()),e,2)}function Fp(t){return t.getDay()}function Bp(t,e){return ip(of.count(Lf(t),t),e,2)}function zp(t,e){return ip(t.getFullYear()%100,e,2)}function Hp(t,e){return ip(t.getFullYear()%1e4,e,4)}function Vp(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ip(e/60|0,"0",2)+ip(e%60,"0",2)}function jp(t,e){return ip(t.getUTCDate(),e,2)}function Wp(t,e){return ip(t.getUTCHours(),e,2)}function Up(t,e){return ip(t.getUTCHours()%12||12,e,2)}function Yp(t,e){return ip(1+kf.count(Yf(t),t),e,3)}function Gp(t,e){return ip(t.getUTCMilliseconds(),e,3)}function Xp(t,e){return Gp(t,e)+"000"}function qp(t,e){return ip(t.getUTCMonth()+1,e,2)}function $p(t,e){return ip(t.getUTCMinutes(),e,2)}function Zp(t,e){return ip(t.getUTCSeconds(),e,2)}function Kp(t){var e=t.getUTCDay();return 0===e?7:e}function Qp(t,e){return ip(Af.count(Yf(t),t),e,2)}function Jp(t,e){var i=t.getUTCDay();return t=i>=4||0===i?Of(t):Of.ceil(t),ip(Of.count(Yf(t),t)+(4===Yf(t).getUTCDay()),e,2)}function tg(t){return t.getUTCDay()}function eg(t,e){return ip(Mf.count(Yf(t),t),e,2)}function ig(t,e){return ip(t.getUTCFullYear()%100,e,2)}function ng(t,e){return ip(t.getUTCFullYear()%1e4,e,4)}function rg(){return"+0000"}function og(){return"%"}function ag(t){return+t}function sg(t){return Math.floor(+t/1e3)}function lg(e){return Kf=Zf(e),t.timeFormat=Kf.format,t.timeParse=Kf.parse,t.utcFormat=Kf.utcFormat,t.utcParse=Kf.utcParse,Kf}lg({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var cg=Date.prototype.toISOString?function(t){return t.toISOString()}:t.utcFormat("%Y-%m-%dT%H:%M:%S.%LZ"),ug=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:t.utcParse("%Y-%m-%dT%H:%M:%S.%LZ"),hg=1e3,dg=60*hg,fg=60*dg,pg=24*fg,gg=7*pg,mg=30*pg,vg=365*pg;function yg(t){return new Date(t)}function bg(t){return t instanceof Date?+t:+new Date(+t)}function Lg(t,e,n,r,o,a,s,l,c){var u=wd(gd,gd),h=u.invert,d=u.domain,f=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),v=c("%a %d"),y=c("%b %d"),b=c("%B"),L=c("%Y"),x=[[s,1,hg],[s,5,5*hg],[s,15,15*hg],[s,30,30*hg],[a,1,dg],[a,5,5*dg],[a,15,15*dg],[a,30,30*dg],[o,1,fg],[o,3,3*fg],[o,6,6*fg],[o,12,12*fg],[r,1,pg],[r,2,2*pg],[n,1,gg],[e,1,mg],[e,3,3*mg],[t,1,vg]];function _(i){return(s(i)<i?f:a(i)<i?p:o(i)<i?g:r(i)<i?m:e(i)<i?n(i)<i?v:y:t(i)<i?b:L)(i)}function S(e,n,r,o){if(null==e&&(e=10),"number"==typeof e){var a=Math.abs(r-n)/e,s=i(function(t){return t[2]}).right(x,a);s===x.length?(o=w(n/vg,r/vg,e),e=t):s?(o=(s=x[a/x[s-1][2]<x[s][2]/a?s-1:s])[1],e=s[0]):(o=Math.max(w(n,r,e),1),e=l)}return null==o?e:e.every(o)}return u.invert=function(t){return new Date(h(t))},u.domain=function(t){return arguments.length?d(ld.call(t,bg)):d().map(yg)},u.ticks=function(t,e){var i,n=d(),r=n[0],o=n[n.length-1],a=o<r;return a&&(i=r,r=o,o=i),i=(i=S(t,r,o,e))?i.range(r,o+1):[],a?i.reverse():i},u.tickFormat=function(t,e){return null==e?_:c(e)},u.nice=function(t,e){var i=d();return(t=S(t,i[0],i[i.length-1],e))?d(Cd(i,t)):u},u.copy=function(){return Ld(u,Lg(t,e,n,r,o,a,s,l,c))},u}function xg(){var t,e,i,n,r,o=0,a=1,s=gd,l=!1;function c(e){return isNaN(e=+e)?r:s(0===i?.5:(e=(n(e)-t)*i,l?Math.max(0,Math.min(1,e)):e))}return c.domain=function(r){return arguments.length?(t=n(o=+r[0]),e=n(a=+r[1]),i=t===e?0:1/(e-t),c):[o,a]},c.clamp=function(t){return arguments.length?(l=!!t,c):l},c.interpolator=function(t){return arguments.length?(s=t,c):s},c.unknown=function(t){return arguments.length?(r=t,c):r},function(r){return n=r,t=r(o),e=r(a),i=t===e?0:1/(e-t),c}}function wg(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function _g(){var t=zd(xg());return t.copy=function(){return wg(t,_g()).exponent(t.exponent())},ad.apply(t,arguments)}function Sg(){var t,e,i,n,r,o,a,s=0,l=.5,c=1,u=gd,h=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(t<e?n:r),u(h?Math.max(0,Math.min(1,t)):t))}return d.domain=function(a){return arguments.length?(t=o(s=+a[0]),e=o(l=+a[1]),i=o(c=+a[2]),n=t===e?0:.5/(e-t),r=e===i?0:.5/(i-e),d):[s,l,c]},d.clamp=function(t){return arguments.length?(h=!!t,d):h},d.interpolator=function(t){return arguments.length?(u=t,d):u},d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(s),e=a(l),i=a(c),n=t===e?0:.5/(e-t),r=e===i?0:.5/(i-e),d}}function Cg(){var t=zd(Sg());return t.copy=function(){return wg(t,Cg()).exponent(t.exponent())},ad.apply(t,arguments)}function kg(t){for(var e=t.length/6|0,i=new Array(e),n=0;n<e;)i[n]="#"+t.slice(6*n,6*++n);return i}var Tg=kg("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Eg=kg("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Ag=kg("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Mg=kg("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Dg=kg("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Pg=kg("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),Og=kg("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Ig=kg("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Ng=kg("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");function Rg(t){return oi(t[t.length-1])}var Fg=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(kg),Bg=Rg(Fg),zg=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(kg),Hg=Rg(zg),Vg=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(kg),jg=Rg(Vg),Wg=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(kg),Ug=Rg(Wg),Yg=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(kg),Gg=Rg(Yg),Xg=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(kg),qg=Rg(Xg),$g=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(kg),Zg=Rg($g),Kg=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(kg),Qg=Rg(Kg),Jg=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(kg),tm=Rg(Jg),em=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(kg),im=Rg(em),nm=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(kg),rm=Rg(nm),om=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(kg),am=Rg(om),sm=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(kg),lm=Rg(sm),cm=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(kg),um=Rg(cm),hm=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(kg),dm=Rg(hm),fm=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(kg),pm=Rg(fm),gm=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(kg),mm=Rg(gm),vm=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(kg),ym=Rg(vm),bm=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(kg),Lm=Rg(bm),xm=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(kg),wm=Rg(xm),_m=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(kg),Sm=Rg(_m),Cm=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(kg),km=Rg(Cm),Tm=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(kg),Em=Rg(Tm),Am=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(kg),Mm=Rg(Am),Dm=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(kg),Pm=Rg(Dm),Om=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(kg),Im=Rg(Om),Nm=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(kg),Rm=Rg(Nm),Fm=ji(qe(300,.5,0),qe(-240,.5,1)),Bm=ji(qe(-100,.75,.35),qe(80,1.5,.8)),zm=ji(qe(260,.75,.35),qe(80,1.5,.8)),Hm=qe(),Vm=ge(),jm=Math.PI/3,Wm=2*Math.PI/3;function Um(t){var e=t.length;return function(i){return t[Math.max(0,Math.min(e-1,Math.floor(i*e)))]}}var Ym=Um(kg("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Gm=Um(kg("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Xm=Um(kg("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),qm=Um(kg("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function $m(t){return function(){return t}}var Zm=Math.abs,Km=Math.atan2,Qm=Math.cos,Jm=Math.max,tv=Math.min,ev=Math.sin,iv=Math.sqrt,nv=1e-12,rv=Math.PI,ov=rv/2,av=2*rv;function sv(t){return t>=1?ov:t<=-1?-ov:Math.asin(t)}function lv(t){return t.innerRadius}function cv(t){return t.outerRadius}function uv(t){return t.startAngle}function hv(t){return t.endAngle}function dv(t){return t&&t.padAngle}function fv(t,e,i,n,r,o,a){var s=t-i,l=e-n,c=(a?o:-o)/iv(s*s+l*l),u=c*l,h=-c*s,d=t+u,f=e+h,p=i+u,g=n+h,m=(d+p)/2,v=(f+g)/2,y=p-d,b=g-f,L=y*y+b*b,x=r-o,w=d*g-p*f,_=(b<0?-1:1)*iv(Jm(0,x*x*L-w*w)),S=(w*b-y*_)/L,C=(-w*y-b*_)/L,k=(w*b+y*_)/L,T=(-w*y+b*_)/L,E=S-m,A=C-v,M=k-m,D=T-v;return E*E+A*A>M*M+D*D&&(S=k,C=T),{cx:S,cy:C,x01:-u,y01:-h,x11:S*(r/x-1),y11:C*(r/x-1)}}function pv(t){this._context=t}function gv(t){return new pv(t)}function mv(t){return t[0]}function vv(t){return t[1]}function yv(){var t=mv,e=vv,i=$m(!0),n=null,r=gv,o=null;function a(a){var s,l,c,u=a.length,h=!1;for(null==n&&(o=r(c=jr())),s=0;s<=u;++s)!(s<u&&i(l=a[s],s,a))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(l,s,a),+e(l,s,a));if(c)return o=null,c+""||null}return a.x=function(e){return arguments.length?(t="function"==typeof e?e:$m(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:$m(+t),a):e},a.defined=function(t){return arguments.length?(i="function"==typeof t?t:$m(!!t),a):i},a.curve=function(t){return arguments.length?(r=t,null!=n&&(o=r(n)),a):r},a.context=function(t){return arguments.length?(null==t?n=o=null:o=r(n=t),a):n},a}function bv(){var t=mv,e=null,i=$m(0),n=vv,r=$m(!0),o=null,a=gv,s=null;function l(l){var c,u,h,d,f,p=l.length,g=!1,m=new Array(p),v=new Array(p);for(null==o&&(s=a(f=jr())),c=0;c<=p;++c){if(!(c<p&&r(d=l[c],c,l))===g)if(g=!g)u=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),h=c-1;h>=u;--h)s.point(m[h],v[h]);s.lineEnd(),s.areaEnd()}g&&(m[c]=+t(d,c,l),v[c]=+i(d,c,l),s.point(e?+e(d,c,l):m[c],n?+n(d,c,l):v[c]))}if(f)return s=null,f+""||null}function c(){return yv().defined(r).curve(a).context(o)}return l.x=function(i){return arguments.length?(t="function"==typeof i?i:$m(+i),e=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:$m(+e),l):t},l.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:$m(+t),l):e},l.y=function(t){return arguments.length?(i="function"==typeof t?t:$m(+t),n=null,l):i},l.y0=function(t){return arguments.length?(i="function"==typeof t?t:$m(+t),l):i},l.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:$m(+t),l):n},l.lineX0=l.lineY0=function(){return c().x(t).y(i)},l.lineY1=function(){return c().x(t).y(n)},l.lineX1=function(){return c().x(e).y(i)},l.defined=function(t){return arguments.length?(r="function"==typeof t?t:$m(!!t),l):r},l.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),l):a},l.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),l):o},l}function Lv(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function xv(t){return t}pv.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var wv=Sv(gv);function _v(t){this._curve=t}function Sv(t){function e(e){return new _v(t(e))}return e._curve=t,e}function Cv(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(Sv(t)):e()._curve},t}function kv(){return Cv(yv().curve(wv))}function Tv(){var t=bv().curve(wv),e=t.curve,i=t.lineX0,n=t.lineX1,r=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Cv(i())},delete t.lineX0,t.lineEndAngle=function(){return Cv(n())},delete t.lineX1,t.lineInnerRadius=function(){return Cv(r())},delete t.lineY0,t.lineOuterRadius=function(){return Cv(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(Sv(t)):e()._curve},t}function Ev(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}_v.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var Av=Array.prototype.slice;function Mv(t){return t.source}function Dv(t){return t.target}function Pv(t){var e=Mv,i=Dv,n=mv,r=vv,o=null;function a(){var a,s=Av.call(arguments),l=e.apply(this,s),c=i.apply(this,s);if(o||(o=a=jr()),t(o,+n.apply(this,(s[0]=l,s)),+r.apply(this,s),+n.apply(this,(s[0]=c,s)),+r.apply(this,s)),a)return o=null,a+""||null}return a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(t){return arguments.length?(i=t,a):i},a.x=function(t){return arguments.length?(n="function"==typeof t?t:$m(+t),a):n},a.y=function(t){return arguments.length?(r="function"==typeof t?t:$m(+t),a):r},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a}function Ov(t,e,i,n,r){t.moveTo(e,i),t.bezierCurveTo(e=(e+n)/2,i,e,r,n,r)}function Iv(t,e,i,n,r){t.moveTo(e,i),t.bezierCurveTo(e,i=(i+r)/2,n,i,n,r)}function Nv(t,e,i,n,r){var o=Ev(e,i),a=Ev(e,i=(i+r)/2),s=Ev(n,i),l=Ev(n,r);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],s[0],s[1],l[0],l[1])}var Rv={draw:function(t,e){var i=Math.sqrt(e/rv);t.moveTo(i,0),t.arc(0,0,i,0,av)}},Fv={draw:function(t,e){var i=Math.sqrt(e/5)/2;t.moveTo(-3*i,-i),t.lineTo(-i,-i),t.lineTo(-i,-3*i),t.lineTo(i,-3*i),t.lineTo(i,-i),t.lineTo(3*i,-i),t.lineTo(3*i,i),t.lineTo(i,i),t.lineTo(i,3*i),t.lineTo(-i,3*i),t.lineTo(-i,i),t.lineTo(-3*i,i),t.closePath()}},Bv=Math.sqrt(1/3),zv=2*Bv,Hv={draw:function(t,e){var i=Math.sqrt(e/zv),n=i*Bv;t.moveTo(0,-i),t.lineTo(n,0),t.lineTo(0,i),t.lineTo(-n,0),t.closePath()}},Vv=Math.sin(rv/10)/Math.sin(7*rv/10),jv=Math.sin(av/10)*Vv,Wv=-Math.cos(av/10)*Vv,Uv={draw:function(t,e){var i=Math.sqrt(.8908130915292852*e),n=jv*i,r=Wv*i;t.moveTo(0,-i),t.lineTo(n,r);for(var o=1;o<5;++o){var a=av*o/5,s=Math.cos(a),l=Math.sin(a);t.lineTo(l*i,-s*i),t.lineTo(s*n-l*r,l*n+s*r)}t.closePath()}},Yv={draw:function(t,e){var i=Math.sqrt(e),n=-i/2;t.rect(n,n,i,i)}},Gv=Math.sqrt(3),Xv={draw:function(t,e){var i=-Math.sqrt(e/(3*Gv));t.moveTo(0,2*i),t.lineTo(-Gv*i,-i),t.lineTo(Gv*i,-i),t.closePath()}},qv=Math.sqrt(3)/2,$v=1/Math.sqrt(12),Zv=3*($v/2+1),Kv={draw:function(t,e){var i=Math.sqrt(e/Zv),n=i/2,r=i*$v,o=n,a=i*$v+i,s=-o,l=a;t.moveTo(n,r),t.lineTo(o,a),t.lineTo(s,l),t.lineTo(-.5*n-qv*r,qv*n+-.5*r),t.lineTo(-.5*o-qv*a,qv*o+-.5*a),t.lineTo(-.5*s-qv*l,qv*s+-.5*l),t.lineTo(-.5*n+qv*r,-.5*r-qv*n),t.lineTo(-.5*o+qv*a,-.5*a-qv*o),t.lineTo(-.5*s+qv*l,-.5*l-qv*s),t.closePath()}},Qv=[Rv,Fv,Hv,Yv,Uv,Xv,Kv];function Jv(){}function ty(t,e,i){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+i)/6)}function ey(t){this._context=t}function iy(t){this._context=t}function ny(t){this._context=t}function ry(t,e){this._basis=new ey(t),this._beta=e}ey.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ty(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ty(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},iy.prototype={areaStart:Jv,areaEnd:Jv,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:ty(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ny.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,n):this._context.moveTo(i,n);break;case 3:this._point=4;default:ty(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ry.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var n,r=t[0],o=e[0],a=t[i]-r,s=e[i]-o,l=-1;++l<=i;)n=l/i,this._basis.point(this._beta*t[l]+(1-this._beta)*(r+n*a),this._beta*e[l]+(1-this._beta)*(o+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var oy=function t(e){function i(t){return 1===e?new ey(t):new ry(t,e)}return i.beta=function(e){return t(+e)},i}(.85);function ay(t,e,i){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-i),t._x2,t._y2)}function sy(t,e){this._context=t,this._k=(1-e)/6}sy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ay(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:ay(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var ly=function t(e){function i(t){return new sy(t,e)}return i.tension=function(e){return t(+e)},i}(0);function cy(t,e){this._context=t,this._k=(1-e)/6}cy.prototype={areaStart:Jv,areaEnd:Jv,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ay(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var uy=function t(e){function i(t){return new cy(t,e)}return i.tension=function(e){return t(+e)},i}(0);function hy(t,e){this._context=t,this._k=(1-e)/6}hy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ay(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var dy=function t(e){function i(t){return new hy(t,e)}return i.tension=function(e){return t(+e)},i}(0);function fy(t,e,i){var n=t._x1,r=t._y1,o=t._x2,a=t._y2;if(t._l01_a>nv){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,r=(r*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>nv){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/u,a=(a*c+t._y1*t._l23_2a-i*t._l12_2a)/u}t._context.bezierCurveTo(n,r,o,a,t._x2,t._y2)}function py(t,e){this._context=t,this._alpha=e}py.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:fy(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var gy=function t(e){function i(t){return e?new py(t,e):new sy(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function my(t,e){this._context=t,this._alpha=e}my.prototype={areaStart:Jv,areaEnd:Jv,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:fy(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var vy=function t(e){function i(t){return e?new my(t,e):new cy(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function yy(t,e){this._context=t,this._alpha=e}yy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var i=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:fy(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var by=function t(e){function i(t){return e?new yy(t,e):new hy(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Ly(t){this._context=t}function xy(t){return t<0?-1:1}function wy(t,e,i){var n=t._x1-t._x0,r=e-t._x1,o=(t._y1-t._y0)/(n||r<0&&-0),a=(i-t._y1)/(r||n<0&&-0),s=(o*r+a*n)/(n+r);return(xy(o)+xy(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function _y(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Sy(t,e,i){var n=t._x0,r=t._y0,o=t._x1,a=t._y1,s=(o-n)/3;t._context.bezierCurveTo(n+s,r+s*e,o-s,a-s*i,o,a)}function Cy(t){this._context=t}function ky(t){this._context=new Ty(t)}function Ty(t){this._context=t}function Ey(t){this._context=t}function Ay(t){var e,i,n=t.length-1,r=new Array(n),o=new Array(n),a=new Array(n);for(r[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<n-1;++e)r[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(r[n-1]=2,o[n-1]=7,a[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)i=r[e]/o[e-1],o[e]-=i,a[e]-=i*a[e-1];for(r[n-1]=a[n-1]/o[n-1],e=n-2;e>=0;--e)r[e]=(a[e]-r[e+1])/o[e];for(o[n-1]=(t[n]+r[n-1])/2,e=0;e<n-1;++e)o[e]=2*t[e+1]-r[e+1];return[r,o]}function My(t,e){this._context=t,this._t=e}function Dy(t,e){if((r=t.length)>1)for(var i,n,r,o=1,a=t[e[0]],s=a.length;o<r;++o)for(n=a,a=t[e[o]],i=0;i<s;++i)a[i][1]+=a[i][0]=isNaN(n[i][1])?n[i][0]:n[i][1]}function Py(t){for(var e=t.length,i=new Array(e);--e>=0;)i[e]=e;return i}function Oy(t,e){return t[e]}function Iy(t){var e=t.map(Ny);return Py(t).sort(function(t,i){return e[t]-e[i]})}function Ny(t){for(var e,i=-1,n=0,r=t.length,o=-1/0;++i<r;)(e=+t[i][1])>o&&(o=e,n=i);return n}function Ry(t){var e=t.map(Fy);return Py(t).sort(function(t,i){return e[t]-e[i]})}function Fy(t){for(var e,i=0,n=-1,r=t.length;++n<r;)(e=+t[n][1])&&(i+=e);return i}function By(t){return function(){return t}}function zy(t){return t[0]}function Hy(t){return t[1]}function Vy(){this._=null}function jy(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Wy(t,e){var i=e,n=e.R,r=i.U;r?r.L===i?r.L=n:r.R=n:t._=n,n.U=r,i.U=n,i.R=n.L,i.R&&(i.R.U=i),n.L=i}function Uy(t,e){var i=e,n=e.L,r=i.U;r?r.L===i?r.L=n:r.R=n:t._=n,n.U=r,i.U=n,i.L=n.R,i.L&&(i.L.U=i),n.R=i}function Yy(t){for(;t.L;)t=t.L;return t}function Gy(t,e,i,n){var r=[null,null],o=mb.push(r)-1;return r.left=t,r.right=e,i&&qy(r,t,e,i),n&&qy(r,e,t,n),pb[t.index].halfedges.push(o),pb[e.index].halfedges.push(o),r}function Xy(t,e,i){var n=[e,i];return n.left=t,n}function qy(t,e,i,n){t[0]||t[1]?t.left===i?t[1]=n:t[0]=n:(t[0]=n,t.left=e,t.right=i)}function $y(t,e,i,n,r){var o,a=t[0],s=t[1],l=a[0],c=a[1],u=0,h=1,d=s[0]-l,f=s[1]-c;if(o=e-l,d||!(o>0)){if(o/=d,d<0){if(o<u)return;o<h&&(h=o)}else if(d>0){if(o>h)return;o>u&&(u=o)}if(o=n-l,d||!(o<0)){if(o/=d,d<0){if(o>h)return;o>u&&(u=o)}else if(d>0){if(o<u)return;o<h&&(h=o)}if(o=i-c,f||!(o>0)){if(o/=f,f<0){if(o<u)return;o<h&&(h=o)}else if(f>0){if(o>h)return;o>u&&(u=o)}if(o=r-c,f||!(o<0)){if(o/=f,f<0){if(o>h)return;o>u&&(u=o)}else if(f>0){if(o<u)return;o<h&&(h=o)}return!(u>0||h<1)||(u>0&&(t[0]=[l+u*d,c+u*f]),h<1&&(t[1]=[l+h*d,c+h*f]),!0)}}}}}function Zy(t,e,i,n,r){var o=t[1];if(o)return!0;var a,s,l=t[0],c=t.left,u=t.right,h=c[0],d=c[1],f=u[0],p=u[1],g=(h+f)/2,m=(d+p)/2;if(p===d){if(g<e||g>=n)return;if(h>f){if(l){if(l[1]>=r)return}else l=[g,i];o=[g,r]}else{if(l){if(l[1]<i)return}else l=[g,r];o=[g,i]}}else if(s=m-(a=(h-f)/(p-d))*g,a<-1||a>1)if(h>f){if(l){if(l[1]>=r)return}else l=[(i-s)/a,i];o=[(r-s)/a,r]}else{if(l){if(l[1]<i)return}else l=[(r-s)/a,r];o=[(i-s)/a,i]}else if(d<p){if(l){if(l[0]>=n)return}else l=[e,a*e+s];o=[n,a*n+s]}else{if(l){if(l[0]<e)return}else l=[n,a*n+s];o=[e,a*e+s]}return t[0]=l,t[1]=o,!0}function Ky(t,e){var i=t.site,n=e.left,r=e.right;return i===r&&(r=n,n=i),r?Math.atan2(r[1]-n[1],r[0]-n[0]):(i===n?(n=e[1],r=e[0]):(n=e[0],r=e[1]),Math.atan2(n[0]-r[0],r[1]-n[1]))}function Qy(t,e){return e[+(e.left!==t.site)]}function Jy(t,e){return e[+(e.left===t.site)]}Ly.prototype={areaStart:Jv,areaEnd:Jv,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Cy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Sy(this,this._t0,_y(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var i=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Sy(this,_y(this,i=wy(this,t,e)),i);break;default:Sy(this,this._t0,i=wy(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=i}}},(ky.prototype=Object.create(Cy.prototype)).point=function(t,e){Cy.prototype.point.call(this,e,t)},Ty.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,i,n,r,o){this._context.bezierCurveTo(e,t,n,i,o,r)}},Ey.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,i=t.length;if(i)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===i)this._context.lineTo(t[1],e[1]);else for(var n=Ay(t),r=Ay(e),o=0,a=1;a<i;++o,++a)this._context.bezierCurveTo(n[0][o],r[0][o],n[1][o],r[1][o],t[a],e[a]);(this._line||0!==this._line&&1===i)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},My.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}}this._x=t,this._y=e}},Vy.prototype={constructor:Vy,insert:function(t,e){var i,n,r;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;i=t}else this._?(t=Yy(this._),e.P=null,e.N=t,t.P=t.L=e,i=t):(e.P=e.N=null,this._=e,i=null);for(e.L=e.R=null,e.U=i,e.C=!0,t=e;i&&i.C;)i===(n=i.U).L?(r=n.R)&&r.C?(i.C=r.C=!1,n.C=!0,t=n):(t===i.R&&(Wy(this,i),i=(t=i).U),i.C=!1,n.C=!0,Uy(this,n)):(r=n.L)&&r.C?(i.C=r.C=!1,n.C=!0,t=n):(t===i.L&&(Uy(this,i),i=(t=i).U),i.C=!1,n.C=!0,Wy(this,n)),i=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,i,n,r=t.U,o=t.L,a=t.R;if(i=o?a?Yy(a):o:a,r?r.L===t?r.L=i:r.R=i:this._=i,o&&a?(n=i.C,i.C=t.C,i.L=o,o.U=i,i!==a?(r=i.U,i.U=t.U,t=i.R,r.L=t,i.R=a,a.U=i):(i.U=r,r=i,t=i.R)):(n=t.C,t=i),t&&(t.U=r),!n)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===r.L){if((e=r.R).C&&(e.C=!1,r.C=!0,Wy(this,r),e=r.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Uy(this,e),e=r.R),e.C=r.C,r.C=e.R.C=!1,Wy(this,r),t=this._;break}}else if((e=r.L).C&&(e.C=!1,r.C=!0,Uy(this,r),e=r.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Wy(this,e),e=r.L),e.C=r.C,r.C=e.L.C=!1,Uy(this,r),t=this._;break}e.C=!0,t=r,r=r.U}while(!t.C);t&&(t.C=!1)}}};var tb,eb=[];function ib(){jy(this),this.x=this.y=this.arc=this.site=this.cy=null}function nb(t){var e=t.P,i=t.N;if(e&&i){var n=e.site,r=t.site,o=i.site;if(n!==o){var a=r[0],s=r[1],l=n[0]-a,c=n[1]-s,u=o[0]-a,h=o[1]-s,d=2*(l*h-c*u);if(!(d>=-yb)){var f=l*l+c*c,p=u*u+h*h,g=(h*f-c*p)/d,m=(l*p-u*f)/d,v=eb.pop()||new ib;v.arc=t,v.site=r,v.x=g+a,v.y=(v.cy=m+s)+Math.sqrt(g*g+m*m),t.circle=v;for(var y=null,b=gb._;b;)if(v.y<b.y||v.y===b.y&&v.x<=b.x){if(!b.L){y=b.P;break}b=b.L}else{if(!b.R){y=b;break}b=b.R}gb.insert(y,v),y||(tb=v)}}}}function rb(t){var e=t.circle;e&&(e.P||(tb=e.N),gb.remove(e),eb.push(e),jy(e),t.circle=null)}var ob=[];function ab(){jy(this),this.edge=this.site=this.circle=null}function sb(t){var e=ob.pop()||new ab;return e.site=t,e}function lb(t){rb(t),fb.remove(t),ob.push(t),jy(t)}function cb(t){var e=t.circle,i=e.x,n=e.cy,r=[i,n],o=t.P,a=t.N,s=[t];lb(t);for(var l=o;l.circle&&Math.abs(i-l.circle.x)<vb&&Math.abs(n-l.circle.cy)<vb;)o=l.P,s.unshift(l),lb(l),l=o;s.unshift(l),rb(l);for(var c=a;c.circle&&Math.abs(i-c.circle.x)<vb&&Math.abs(n-c.circle.cy)<vb;)a=c.N,s.push(c),lb(c),c=a;s.push(c),rb(c);var u,h=s.length;for(u=1;u<h;++u)c=s[u],l=s[u-1],qy(c.edge,l.site,c.site,r);l=s[0],(c=s[h-1]).edge=Gy(l.site,c.site,null,r),nb(l),nb(c)}function ub(t){for(var e,i,n,r,o=t[0],a=t[1],s=fb._;s;)if((n=hb(s,a)-o)>vb)s=s.L;else{if(!((r=o-db(s,a))>vb)){n>-vb?(e=s.P,i=s):r>-vb?(e=s,i=s.N):e=i=s;break}if(!s.R){e=s;break}s=s.R}!function(t){pb[t.index]={site:t,halfedges:[]}}(t);var l=sb(t);if(fb.insert(e,l),e||i){if(e===i)return rb(e),i=sb(e.site),fb.insert(l,i),l.edge=i.edge=Gy(e.site,l.site),nb(e),void nb(i);if(i){rb(e),rb(i);var c=e.site,u=c[0],h=c[1],d=t[0]-u,f=t[1]-h,p=i.site,g=p[0]-u,m=p[1]-h,v=2*(d*m-f*g),y=d*d+f*f,b=g*g+m*m,L=[(m*y-f*b)/v+u,(d*b-g*y)/v+h];qy(i.edge,c,p,L),l.edge=Gy(c,t,null,L),i.edge=Gy(t,p,null,L),nb(e),nb(i)}else l.edge=Gy(e.site,l.site)}}function hb(t,e){var i=t.site,n=i[0],r=i[1],o=r-e;if(!o)return n;var a=t.P;if(!a)return-1/0;var s=(i=a.site)[0],l=i[1],c=l-e;if(!c)return s;var u=s-n,h=1/o-1/c,d=u/c;return h?(-d+Math.sqrt(d*d-2*h*(u*u/(-2*c)-l+c/2+r-o/2)))/h+n:(n+s)/2}function db(t,e){var i=t.N;if(i)return hb(i,e);var n=t.site;return n[1]===e?n[0]:1/0}var fb,pb,gb,mb,vb=1e-6,yb=1e-12;function bb(t,e){return e[1]-t[1]||e[0]-t[0]}function Lb(t,e){var i,n,r,o=t.sort(bb).pop();for(mb=[],pb=new Array(t.length),fb=new Vy,gb=new Vy;;)if(r=tb,o&&(!r||o[1]<r.y||o[1]===r.y&&o[0]<r.x))o[0]===i&&o[1]===n||(ub(o),i=o[0],n=o[1]),o=t.pop();else{if(!r)break;cb(r.arc)}if(function(){for(var t,e,i,n,r=0,o=pb.length;r<o;++r)if((t=pb[r])&&(n=(e=t.halfedges).length)){var a=new Array(n),s=new Array(n);for(i=0;i<n;++i)a[i]=i,s[i]=Ky(t,mb[e[i]]);for(a.sort(function(t,e){return s[e]-s[t]}),i=0;i<n;++i)s[i]=e[a[i]];for(i=0;i<n;++i)e[i]=s[i]}}(),e){var a=+e[0][0],s=+e[0][1],l=+e[1][0],c=+e[1][1];!function(t,e,i,n){for(var r,o=mb.length;o--;)Zy(r=mb[o],t,e,i,n)&&$y(r,t,e,i,n)&&(Math.abs(r[0][0]-r[1][0])>vb||Math.abs(r[0][1]-r[1][1])>vb)||delete mb[o]}(a,s,l,c),function(t,e,i,n){var r,o,a,s,l,c,u,h,d,f,p,g,m=pb.length,v=!0;for(r=0;r<m;++r)if(o=pb[r]){for(a=o.site,s=(l=o.halfedges).length;s--;)mb[l[s]]||l.splice(s,1);for(s=0,c=l.length;s<c;)p=(f=Jy(o,mb[l[s]]))[0],g=f[1],h=(u=Qy(o,mb[l[++s%c]]))[0],d=u[1],(Math.abs(p-h)>vb||Math.abs(g-d)>vb)&&(l.splice(s,0,mb.push(Xy(a,f,Math.abs(p-t)<vb&&n-g>vb?[t,Math.abs(h-t)<vb?d:n]:Math.abs(g-n)<vb&&i-p>vb?[Math.abs(d-n)<vb?h:i,n]:Math.abs(p-i)<vb&&g-e>vb?[i,Math.abs(h-i)<vb?d:e]:Math.abs(g-e)<vb&&p-t>vb?[Math.abs(d-e)<vb?h:t,e]:null))-1),++c);c&&(v=!1)}if(v){var y,b,L,x=1/0;for(r=0,v=null;r<m;++r)(o=pb[r])&&(L=(y=(a=o.site)[0]-t)*y+(b=a[1]-e)*b)<x&&(x=L,v=o);if(v){var w=[t,e],_=[t,n],S=[i,n],C=[i,e];v.halfedges.push(mb.push(Xy(a=v.site,w,_))-1,mb.push(Xy(a,_,S))-1,mb.push(Xy(a,S,C))-1,mb.push(Xy(a,C,w))-1)}}for(r=0;r<m;++r)(o=pb[r])&&(o.halfedges.length||delete pb[r])}(a,s,l,c)}this.edges=mb,this.cells=pb,fb=gb=mb=pb=null}function xb(t){return function(){return t}}function wb(t,e,i){this.target=t,this.type=e,this.transform=i}function _b(t,e,i){this.k=t,this.x=e,this.y=i}Lb.prototype={constructor:Lb,polygons:function(){var t=this.edges;return this.cells.map(function(e){var i=e.halfedges.map(function(i){return Qy(e,t[i])});return i.data=e.site.data,i})},triangles:function(){var t=[],e=this.edges;return this.cells.forEach(function(i,n){if(o=(r=i.halfedges).length)for(var r,o,a,s,l,c,u=i.site,h=-1,d=e[r[o-1]],f=d.left===u?d.right:d.left;++h<o;)a=f,f=(d=e[r[h]]).left===u?d.right:d.left,a&&f&&n<a.index&&n<f.index&&(l=a,c=f,((s=u)[0]-c[0])*(l[1]-s[1])-(s[0]-l[0])*(c[1]-s[1])<0)&&t.push([u.data,a.data,f.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,e,i){for(var n,r,o=this,a=o._found||0,s=o.cells.length;!(r=o.cells[a]);)if(++a>=s)return null;var l=t-r.site[0],c=e-r.site[1],u=l*l+c*c;do{r=o.cells[n=a],a=null,r.halfedges.forEach(function(i){var n=o.edges[i],s=n.left;if(s!==r.site&&s||(s=n.right)){var l=t-s[0],c=e-s[1],h=l*l+c*c;h<u&&(u=h,a=s.index)}})}while(null!==a);return o._found=n,null==i||u<=i*i?r.site:null}},_b.prototype={constructor:_b,scale:function(t){return 1===t?this:new _b(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new _b(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Sb=new _b(1,0,0);function Cb(t){return t.__zoom||Sb}function kb(){t.event.stopImmediatePropagation()}function Tb(){t.event.preventDefault(),t.event.stopImmediatePropagation()}function Eb(){return!t.event.button}function Ab(){var t,e,i=this;return i instanceof SVGElement?(t=(i=i.ownerSVGElement||i).width.baseVal.value,e=i.height.baseVal.value):(t=i.clientWidth,e=i.clientHeight),[[0,0],[t,e]]}function Mb(){return this.__zoom||Sb}function Db(){return-t.event.deltaY*(t.event.deltaMode?120:1)/500}function Pb(){return"ontouchstart"in this}function Ob(t,e,i){var n=t.invertX(e[0][0])-i[0][0],r=t.invertX(e[1][0])-i[1][0],o=t.invertY(e[0][1])-i[0][1],a=t.invertY(e[1][1])-i[1][1];return t.translate(r>n?(n+r)/2:Math.min(0,n)||Math.max(0,r),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}Cb.prototype=_b.prototype,t.version="5.9.2",t.bisect=r,t.bisectRight=r,t.bisectLeft=o,t.ascending=e,t.bisector=i,t.cross=function(t,e,i){var n,r,o,s,l=t.length,c=e.length,u=new Array(l*c);for(null==i&&(i=a),n=o=0;n<l;++n)for(s=t[n],r=0;r<c;++r,++o)u[o]=i(s,e[r]);return u},t.descending=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},t.deviation=c,t.extent=u,t.histogram=function(){var t=g,e=u,i=_;function n(n){var o,a,s=n.length,l=new Array(s);for(o=0;o<s;++o)l[o]=t(n[o],o,n);var c=e(l),u=c[0],h=c[1],d=i(l,u,h);Array.isArray(d)||(d=w(u,h,d),d=m(Math.ceil(u/d)*d,h,d));for(var f=d.length;d[0]<=u;)d.shift(),--f;for(;d[f-1]>h;)d.pop(),--f;var p,g=new Array(f+1);for(o=0;o<=f;++o)(p=g[o]=[]).x0=o>0?d[o-1]:u,p.x1=o<f?d[o]:h;for(o=0;o<s;++o)u<=(a=l[o])&&a<=h&&g[r(d,a,0,f)].push(n[o]);return g}return n.value=function(e){return arguments.length?(t="function"==typeof e?e:p(e),n):t},n.domain=function(t){return arguments.length?(e="function"==typeof t?t:p([t[0],t[1]]),n):e},n.thresholds=function(t){return arguments.length?(i="function"==typeof t?t:Array.isArray(t)?p(d.call(t)):p(t),n):i},n},t.thresholdFreedmanDiaconis=function(t,i,n){return t=f.call(t,s).sort(e),Math.ceil((n-i)/(2*(S(t,.75)-S(t,.25))*Math.pow(t.length,-1/3)))},t.thresholdScott=function(t,e,i){return Math.ceil((i-e)/(3.5*c(t)*Math.pow(t.length,-1/3)))},t.thresholdSturges=_,t.max=C,t.mean=function(t,e){var i,n=t.length,r=n,o=-1,a=0;if(null==e)for(;++o<n;)isNaN(i=s(t[o]))?--r:a+=i;else for(;++o<n;)isNaN(i=s(e(t[o],o,t)))?--r:a+=i;if(r)return a/r},t.median=function(t,i){var n,r=t.length,o=-1,a=[];if(null==i)for(;++o<r;)isNaN(n=s(t[o]))||a.push(n);else for(;++o<r;)isNaN(n=s(i(t[o],o,t)))||a.push(n);return S(a.sort(e),.5)},t.merge=k,t.min=T,t.pairs=function(t,e){null==e&&(e=a);for(var i=0,n=t.length-1,r=t[0],o=new Array(n<0?0:n);i<n;)o[i]=e(r,r=t[++i]);return o},t.permute=function(t,e){for(var i=e.length,n=new Array(i);i--;)n[i]=t[e[i]];return n},t.quantile=S,t.range=m,t.scan=function(t,i){if(n=t.length){var n,r,o=0,a=0,s=t[a];for(null==i&&(i=e);++o<n;)(i(r=t[o],s)<0||0!==i(s,s))&&(s=r,a=o);return 0===i(s,s)?a:void 0}},t.shuffle=function(t,e,i){for(var n,r,o=(null==i?t.length:i)-(e=null==e?0:+e);o;)r=Math.random()*o--|0,n=t[o+e],t[o+e]=t[r+e],t[r+e]=n;return t},t.sum=function(t,e){var i,n=t.length,r=-1,o=0;if(null==e)for(;++r<n;)(i=+t[r])&&(o+=i);else for(;++r<n;)(i=+e(t[r],r,t))&&(o+=i);return o},t.ticks=L,t.tickIncrement=x,t.tickStep=w,t.transpose=E,t.variance=l,t.zip=function(){return E(arguments)},t.axisTop=function(t){return H(P,t)},t.axisRight=function(t){return H(O,t)},t.axisBottom=function(t){return H(I,t)},t.axisLeft=function(t){return H(N,t)},t.brush=function(){return Ar(yr)},t.brushX=function(){return Ar(mr)},t.brushY=function(){return Ar(vr)},t.brushSelection=function(t){var e=t.__brush;return e?e.dim.output(e.selection):null},t.chord=function(){var t=0,e=null,i=null,n=null;function r(r){var o,a,s,l,c,u,h=r.length,d=[],f=m(h),p=[],g=[],v=g.groups=new Array(h),y=new Array(h*h);for(o=0,c=-1;++c<h;){for(a=0,u=-1;++u<h;)a+=r[c][u];d.push(a),p.push(m(h)),o+=a}for(e&&f.sort(function(t,i){return e(d[t],d[i])}),i&&p.forEach(function(t,e){t.sort(function(t,n){return i(r[e][t],r[e][n])})}),l=(o=Nr(0,Ir-t*h)/o)?t:Ir/h,a=0,c=-1;++c<h;){for(s=a,u=-1;++u<h;){var b=f[c],L=p[b][u],x=r[b][L],w=a,_=a+=x*o;y[L*h+b]={index:b,subindex:L,startAngle:w,endAngle:_,value:x}}v[b]={index:b,startAngle:s,endAngle:a,value:d[b]},a+=l}for(c=-1;++c<h;)for(u=c-1;++u<h;){var S=y[u*h+c],C=y[c*h+u];(S.value||C.value)&&g.push(S.value<C.value?{source:C,target:S}:{source:S,target:C})}return n?g.sort(n):g}return r.padAngle=function(e){return arguments.length?(t=Nr(0,e),r):t},r.sortGroups=function(t){return arguments.length?(e=t,r):e},r.sortSubgroups=function(t){return arguments.length?(i=t,r):i},r.sortChords=function(t){return arguments.length?(null==t?n=null:(e=t,n=function(t,i){return e(t.source.value+t.target.value,i.source.value+i.target.value)})._=t,r):n&&n._;var e},r},t.ribbon=function(){var t=Wr,e=Ur,i=Yr,n=Gr,r=Xr,o=null;function a(){var a,s=Rr.call(arguments),l=t.apply(this,s),c=e.apply(this,s),u=+i.apply(this,(s[0]=l,s)),h=n.apply(this,s)-Or,d=r.apply(this,s)-Or,f=u*Mr(h),p=u*Dr(h),g=+i.apply(this,(s[0]=c,s)),m=n.apply(this,s)-Or,v=r.apply(this,s)-Or;if(o||(o=a=jr()),o.moveTo(f,p),o.arc(0,0,u,h,d),h===m&&d===v||(o.quadraticCurveTo(0,0,g*Mr(m),g*Dr(m)),o.arc(0,0,g,m,v)),o.quadraticCurveTo(0,0,f,p),o.closePath(),a)return o=null,a+""||null}return a.radius=function(t){return arguments.length?(i="function"==typeof t?t:Fr(+t),a):i},a.startAngle=function(t){return arguments.length?(n="function"==typeof t?t:Fr(+t),a):n},a.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:Fr(+t),a):r},a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(t){return arguments.length?(e=t,a):e},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a},t.nest=function(){var t,e,i,n=[],r=[];function o(i,r,a,s){if(r>=n.length)return null!=t&&i.sort(t),null!=e?e(i):i;for(var l,c,u,h=-1,d=i.length,f=n[r++],p=$r(),g=a();++h<d;)(u=p.get(l=f(c=i[h])+""))?u.push(c):p.set(l,[c]);return p.each(function(t,e){s(g,e,o(t,r,a,s))}),g}return i={object:function(t){return o(t,0,Zr,Kr)},map:function(t){return o(t,0,Qr,Jr)},entries:function(t){return function t(i,o){if(++o>n.length)return i;var a,s=r[o-1];return null!=e&&o>=n.length?a=i.entries():(a=[],i.each(function(e,i){a.push({key:i,values:t(e,o)})})),null!=s?a.sort(function(t,e){return s(t.key,e.key)}):a}(o(t,0,Qr,Jr),0)},key:function(t){return n.push(t),i},sortKeys:function(t){return r[n.length-1]=t,i},sortValues:function(e){return t=e,i},rollup:function(t){return e=t,i}}},t.set=io,t.map=$r,t.keys=function(t){var e=[];for(var i in t)e.push(i);return e},t.values=function(t){var e=[];for(var i in t)e.push(t[i]);return e},t.entries=function(t){var e=[];for(var i in t)e.push({key:i,value:t[i]});return e},t.color=he,t.rgb=ge,t.hsl=be,t.lab=Pe,t.hcl=ze,t.lch=function(t,e,i,n){return 1===arguments.length?Be(t):new He(i,e,t,null==n?1:n)},t.gray=function(t,e){return new Oe(t,0,0,null==e?1:e)},t.cubehelix=qe,t.contours=ho,t.contourDensity=function(){var t=go,e=mo,i=vo,n=960,r=500,o=20,a=2,s=3*o,l=n+2*s>>a,c=r+2*s>>a,u=oo(20);function h(n){var r=new Float32Array(l*c),h=new Float32Array(l*c);n.forEach(function(n,o,u){var h=+t(n,o,u)+s>>a,d=+e(n,o,u)+s>>a,f=+i(n,o,u);h>=0&&h<l&&d>=0&&d<c&&(r[h+d*l]+=f)}),fo({width:l,height:c,data:r},{width:l,height:c,data:h},o>>a),po({width:l,height:c,data:h},{width:l,height:c,data:r},o>>a),fo({width:l,height:c,data:r},{width:l,height:c,data:h},o>>a),po({width:l,height:c,data:h},{width:l,height:c,data:r},o>>a),fo({width:l,height:c,data:r},{width:l,height:c,data:h},o>>a),po({width:l,height:c,data:h},{width:l,height:c,data:r},o>>a);var f=u(r);if(!Array.isArray(f)){var p=C(r);f=w(0,p,f),(f=m(0,Math.floor(p/f)*f,f)).shift()}return ho().thresholds(f).size([l,c])(r).map(d)}function d(t){return t.value*=Math.pow(2,-2*a),t.coordinates.forEach(f),t}function f(t){t.forEach(p)}function p(t){t.forEach(g)}function g(t){t[0]=t[0]*Math.pow(2,a)-s,t[1]=t[1]*Math.pow(2,a)-s}function v(){return l=n+2*(s=3*o)>>a,c=r+2*s>>a,h}return h.x=function(e){return arguments.length?(t="function"==typeof e?e:oo(+e),h):t},h.y=function(t){return arguments.length?(e="function"==typeof t?t:oo(+t),h):e},h.weight=function(t){return arguments.length?(i="function"==typeof t?t:oo(+t),h):i},h.size=function(t){if(!arguments.length)return[n,r];var e=Math.ceil(t[0]),i=Math.ceil(t[1]);if(!(e>=0||e>=0))throw new Error("invalid size");return n=e,r=i,v()},h.cellSize=function(t){if(!arguments.length)return 1<<a;if(!((t=+t)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),v()},h.thresholds=function(t){return arguments.length?(u="function"==typeof t?t:Array.isArray(t)?oo(no.call(t)):oo(t),h):u},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),v()},h},t.dispatch=j,t.drag=function(){var e,i,n,r,o=Gt,a=Xt,s=qt,l=$t,c={},u=j("start","drag","end"),h=0,d=0;function f(t){t.on("mousedown.drag",p).filter(l).on("touchstart.drag",v).on("touchmove.drag",y).on("touchend.drag touchcancel.drag",b).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(){if(!r&&o.apply(this,arguments)){var s=L("mouse",a.apply(this,arguments),Bt,this,arguments);s&&(Pt(t.event.view).on("mousemove.drag",g,!0).on("mouseup.drag",m,!0),jt(t.event.view),Ht(),n=!1,e=t.event.clientX,i=t.event.clientY,s("start"))}}function g(){if(Vt(),!n){var r=t.event.clientX-e,o=t.event.clientY-i;n=r*r+o*o>d}c.mouse("drag")}function m(){Pt(t.event.view).on("mousemove.drag mouseup.drag",null),Wt(t.event.view,n),Vt(),c.mouse("end")}function v(){if(o.apply(this,arguments)){var e,i,n=t.event.changedTouches,r=a.apply(this,arguments),s=n.length;for(e=0;e<s;++e)(i=L(n[e].identifier,r,zt,this,arguments))&&(Ht(),i("start"))}}function y(){var e,i,n=t.event.changedTouches,r=n.length;for(e=0;e<r;++e)(i=c[n[e].identifier])&&(Vt(),i("drag"))}function b(){var e,i,n=t.event.changedTouches,o=n.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),e=0;e<o;++e)(i=c[n[e].identifier])&&(Ht(),i("end"))}function L(e,i,n,r,o){var a,l,d,p=n(i,e),g=u.copy();if(Tt(new Yt(f,"beforestart",a,e,h,p[0],p[1],0,0,g),function(){return null!=(t.event.subject=a=s.apply(r,o))&&(l=a.x-p[0]||0,d=a.y-p[1]||0,!0)}))return function t(s){var u,m=p;switch(s){case"start":c[e]=t,u=h++;break;case"end":delete c[e],--h;case"drag":p=n(i,e),u=h}Tt(new Yt(f,s,a,e,u,p[0]+l,p[1]+d,p[0]-m[0],p[1]-m[1],g),g.apply,g,[s,r,o])}}return f.filter=function(t){return arguments.length?(o="function"==typeof t?t:Ut(!!t),f):o},f.container=function(t){return arguments.length?(a="function"==typeof t?t:Ut(t),f):a},f.subject=function(t){return arguments.length?(s="function"==typeof t?t:Ut(t),f):s},f.touchable=function(t){return arguments.length?(l="function"==typeof t?t:Ut(!!t),f):l},f.on=function(){var t=u.on.apply(u,arguments);return t===u?f:t},f.clickDistance=function(t){return arguments.length?(d=(t=+t)*t,f):Math.sqrt(d)},f},t.dragDisable=jt,t.dragEnable=Wt,t.dsvFormat=ko,t.csvParse=Eo,t.csvParseRows=Ao,t.csvFormat=Mo,t.csvFormatBody=Do,t.csvFormatRows=Po,t.tsvParse=Io,t.tsvParseRows=No,t.tsvFormat=Ro,t.tsvFormatBody=Fo,t.tsvFormatRows=Bo,t.autoType=function(t){for(var e in t){var i,n=t[e].trim();if(n)if("true"===n)n=!0;else if("false"===n)n=!1;else if("NaN"===n)n=NaN;else if(isNaN(i=+n)){if(!/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/.test(n))continue;n=new Date(n)}else n=i;else n=null;t[e]=n}return t},t.easeLinear=function(t){return+t},t.easeQuad=Dn,t.easeQuadIn=function(t){return t*t},t.easeQuadOut=function(t){return t*(2-t)},t.easeQuadInOut=Dn,t.easeCubic=Pn,t.easeCubicIn=function(t){return t*t*t},t.easeCubicOut=function(t){return--t*t*t+1},t.easeCubicInOut=Pn,t.easePoly=Nn,t.easePolyIn=On,t.easePolyOut=In,t.easePolyInOut=Nn,t.easeSin=Bn,t.easeSinIn=function(t){return 1-Math.cos(t*Fn)},t.easeSinOut=function(t){return Math.sin(t*Fn)},t.easeSinInOut=Bn,t.easeExp=zn,t.easeExpIn=function(t){return Math.pow(2,10*t-10)},t.easeExpOut=function(t){return 1-Math.pow(2,-10*t)},t.easeExpInOut=zn,t.easeCircle=Hn,t.easeCircleIn=function(t){return 1-Math.sqrt(1-t*t)},t.easeCircleOut=function(t){return Math.sqrt(1- --t*t)},t.easeCircleInOut=Hn,t.easeBounce=Kn,t.easeBounceIn=function(t){return 1-Kn(1-t)},t.easeBounceOut=Kn,t.easeBounceInOut=function(t){return((t*=2)<=1?1-Kn(1-t):Kn(t-1)+1)/2},t.easeBack=tr,t.easeBackIn=Qn,t.easeBackOut=Jn,t.easeBackInOut=tr,t.easeElastic=nr,t.easeElasticIn=ir,t.easeElasticOut=nr,t.easeElasticInOut=rr,t.blob=function(t,e){return fetch(t,e).then(zo)},t.buffer=function(t,e){return fetch(t,e).then(Ho)},t.dsv=function(t,e,i,n){3===arguments.length&&"function"==typeof i&&(n=i,i=void 0);var r=ko(t);return jo(e,i).then(function(t){return r.parse(t,n)})},t.csv=Uo,t.tsv=Yo,t.image=function(t,e){return new Promise(function(i,n){var r=new Image;for(var o in e)r[o]=e[o];r.onerror=n,r.onload=function(){i(r)},r.src=t})},t.json=function(t,e){return fetch(t,e).then(Go)},t.text=jo,t.xml=qo,t.html=$o,t.svg=Zo,t.forceCenter=function(t,e){var i;function n(){var n,r,o=i.length,a=0,s=0;for(n=0;n<o;++n)a+=(r=i[n]).x,s+=r.y;for(a=a/o-t,s=s/o-e,n=0;n<o;++n)(r=i[n]).x-=a,r.y-=s}return null==t&&(t=0),null==e&&(e=0),n.initialize=function(t){i=t},n.x=function(e){return arguments.length?(t=+e,n):t},n.y=function(t){return arguments.length?(e=+t,n):e},n},t.forceCollide=function(t){var e,i,n=1,r=1;function o(){for(var t,o,s,l,c,u,h,d=e.length,f=0;f<r;++f)for(o=na(e,sa,la).visitAfter(a),t=0;t<d;++t)s=e[t],u=i[s.index],h=u*u,l=s.x+s.vx,c=s.y+s.vy,o.visit(p);function p(t,e,i,r,o){var a=t.data,d=t.r,f=u+d;if(!a)return e>l+f||r<l-f||i>c+f||o<c-f;if(a.index>s.index){var p=l-a.x-a.vx,g=c-a.y-a.vy,m=p*p+g*g;m<f*f&&(0===p&&(m+=(p=Qo())*p),0===g&&(m+=(g=Qo())*g),m=(f-(m=Math.sqrt(m)))/m*n,s.vx+=(p*=m)*(f=(d*=d)/(h+d)),s.vy+=(g*=m)*f,a.vx-=p*(f=1-f),a.vy-=g*f)}}}function a(t){if(t.data)return t.r=i[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function s(){if(e){var n,r,o=e.length;for(i=new Array(o),n=0;n<o;++n)r=e[n],i[r.index]=+t(r,n,e)}}return"function"!=typeof t&&(t=Ko(null==t?1:+t)),o.initialize=function(t){e=t,s()},o.iterations=function(t){return arguments.length?(r=+t,o):r},o.strength=function(t){return arguments.length?(n=+t,o):n},o.radius=function(e){return arguments.length?(t="function"==typeof e?e:Ko(+e),s(),o):t},o},t.forceLink=function(t){var e,i,n,r,o,a=ca,s=function(t){return 1/Math.min(r[t.source.index],r[t.target.index])},l=Ko(30),c=1;function u(n){for(var r=0,a=t.length;r<c;++r)for(var s,l,u,h,d,f,p,g=0;g<a;++g)l=(s=t[g]).source,h=(u=s.target).x+u.vx-l.x-l.vx||Qo(),d=u.y+u.vy-l.y-l.vy||Qo(),h*=f=((f=Math.sqrt(h*h+d*d))-i[g])/f*n*e[g],d*=f,u.vx-=h*(p=o[g]),u.vy-=d*p,l.vx+=h*(p=1-p),l.vy+=d*p}function h(){if(n){var s,l,c=n.length,u=t.length,h=$r(n,a);for(s=0,r=new Array(c);s<u;++s)(l=t[s]).index=s,"object"!=typeof l.source&&(l.source=ua(h,l.source)),"object"!=typeof l.target&&(l.target=ua(h,l.target)),r[l.source.index]=(r[l.source.index]||0)+1,r[l.target.index]=(r[l.target.index]||0)+1;for(s=0,o=new Array(u);s<u;++s)l=t[s],o[s]=r[l.source.index]/(r[l.source.index]+r[l.target.index]);e=new Array(u),d(),i=new Array(u),f()}}function d(){if(n)for(var i=0,r=t.length;i<r;++i)e[i]=+s(t[i],i,t)}function f(){if(n)for(var e=0,r=t.length;e<r;++e)i[e]=+l(t[e],e,t)}return null==t&&(t=[]),u.initialize=function(t){n=t,h()},u.links=function(e){return arguments.length?(t=e,h(),u):t},u.id=function(t){return arguments.length?(a=t,u):a},u.iterations=function(t){return arguments.length?(c=+t,u):c},u.strength=function(t){return arguments.length?(s="function"==typeof t?t:Ko(+t),d(),u):s},u.distance=function(t){return arguments.length?(l="function"==typeof t?t:Ko(+t),f(),u):l},u},t.forceManyBody=function(){var t,e,i,n,r=Ko(-30),o=1,a=1/0,s=.81;function l(n){var r,o=t.length,a=na(t,ha,da).visitAfter(u);for(i=n,r=0;r<o;++r)e=t[r],a.visit(h)}function c(){if(t){var e,i,o=t.length;for(n=new Array(o),e=0;e<o;++e)i=t[e],n[i.index]=+r(i,e,t)}}function u(t){var e,i,r,o,a,s=0,l=0;if(t.length){for(r=o=a=0;a<4;++a)(e=t[a])&&(i=Math.abs(e.value))&&(s+=e.value,l+=i,r+=i*e.x,o+=i*e.y);t.x=r/l,t.y=o/l}else{(e=t).x=e.data.x,e.y=e.data.y;do{s+=n[e.data.index]}while(e=e.next)}t.value=s}function h(t,r,l,c){if(!t.value)return!0;var u=t.x-e.x,h=t.y-e.y,d=c-r,f=u*u+h*h;if(d*d/s<f)return f<a&&(0===u&&(f+=(u=Qo())*u),0===h&&(f+=(h=Qo())*h),f<o&&(f=Math.sqrt(o*f)),e.vx+=u*t.value*i/f,e.vy+=h*t.value*i/f),!0;if(!(t.length||f>=a)){(t.data!==e||t.next)&&(0===u&&(f+=(u=Qo())*u),0===h&&(f+=(h=Qo())*h),f<o&&(f=Math.sqrt(o*f)));do{t.data!==e&&(d=n[t.data.index]*i/f,e.vx+=u*d,e.vy+=h*d)}while(t=t.next)}}return l.initialize=function(e){t=e,c()},l.strength=function(t){return arguments.length?(r="function"==typeof t?t:Ko(+t),c(),l):r},l.distanceMin=function(t){return arguments.length?(o=t*t,l):Math.sqrt(o)},l.distanceMax=function(t){return arguments.length?(a=t*t,l):Math.sqrt(a)},l.theta=function(t){return arguments.length?(s=t*t,l):Math.sqrt(s)},l},t.forceRadial=function(t,e,i){var n,r,o,a=Ko(.1);function s(t){for(var a=0,s=n.length;a<s;++a){var l=n[a],c=l.x-e||1e-6,u=l.y-i||1e-6,h=Math.sqrt(c*c+u*u),d=(o[a]-h)*r[a]*t/h;l.vx+=c*d,l.vy+=u*d}}function l(){if(n){var e,i=n.length;for(r=new Array(i),o=new Array(i),e=0;e<i;++e)o[e]=+t(n[e],e,n),r[e]=isNaN(o[e])?0:+a(n[e],e,n)}}return"function"!=typeof t&&(t=Ko(+t)),null==e&&(e=0),null==i&&(i=0),s.initialize=function(t){n=t,l()},s.strength=function(t){return arguments.length?(a="function"==typeof t?t:Ko(+t),l(),s):a},s.radius=function(e){return arguments.length?(t="function"==typeof e?e:Ko(+e),l(),s):t},s.x=function(t){return arguments.length?(e=+t,s):e},s.y=function(t){return arguments.length?(i=+t,s):i},s},t.forceSimulation=function(t){var e,i=1,n=.001,r=1-Math.pow(n,1/300),o=0,a=.6,s=$r(),l=en(u),c=j("tick","end");function u(){h(),c.call("tick",e),i<n&&(l.stop(),c.call("end",e))}function h(n){var l,c,u=t.length;void 0===n&&(n=1);for(var h=0;h<n;++h)for(i+=(o-i)*r,s.each(function(t){t(i)}),l=0;l<u;++l)null==(c=t[l]).fx?c.x+=c.vx*=a:(c.x=c.fx,c.vx=0),null==c.fy?c.y+=c.vy*=a:(c.y=c.fy,c.vy=0);return e}function d(){for(var e,i=0,n=t.length;i<n;++i){if((e=t[i]).index=i,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var r=fa*Math.sqrt(i),o=i*pa;e.x=r*Math.cos(o),e.y=r*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function f(e){return e.initialize&&e.initialize(t),e}return null==t&&(t=[]),d(),e={tick:h,restart:function(){return l.restart(u),e},stop:function(){return l.stop(),e},nodes:function(i){return arguments.length?(t=i,d(),s.each(f),e):t},alpha:function(t){return arguments.length?(i=+t,e):i},alphaMin:function(t){return arguments.length?(n=+t,e):n},alphaDecay:function(t){return arguments.length?(r=+t,e):+r},alphaTarget:function(t){return arguments.length?(o=+t,e):o},velocityDecay:function(t){return arguments.length?(a=1-t,e):1-a},force:function(t,i){return arguments.length>1?(null==i?s.remove(t):s.set(t,f(i)),e):s.get(t)},find:function(e,i,n){var r,o,a,s,l,c=0,u=t.length;for(null==n?n=1/0:n*=n,c=0;c<u;++c)(a=(r=e-(s=t[c]).x)*r+(o=i-s.y)*o)<n&&(l=s,n=a);return l},on:function(t,i){return arguments.length>1?(c.on(t,i),e):c.on(t)}}},t.forceX=function(t){var e,i,n,r=Ko(.1);function o(t){for(var r,o=0,a=e.length;o<a;++o)(r=e[o]).vx+=(n[o]-r.x)*i[o]*t}function a(){if(e){var o,a=e.length;for(i=new Array(a),n=new Array(a),o=0;o<a;++o)i[o]=isNaN(n[o]=+t(e[o],o,e))?0:+r(e[o],o,e)}}return"function"!=typeof t&&(t=Ko(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(r="function"==typeof t?t:Ko(+t),a(),o):r},o.x=function(e){return arguments.length?(t="function"==typeof e?e:Ko(+e),a(),o):t},o},t.forceY=function(t){var e,i,n,r=Ko(.1);function o(t){for(var r,o=0,a=e.length;o<a;++o)(r=e[o]).vy+=(n[o]-r.y)*i[o]*t}function a(){if(e){var o,a=e.length;for(i=new Array(a),n=new Array(a),o=0;o<a;++o)i[o]=isNaN(n[o]=+t(e[o],o,e))?0:+r(e[o],o,e)}}return"function"!=typeof t&&(t=Ko(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(r="function"==typeof t?t:Ko(+t),a(),o):r},o.y=function(e){return arguments.length?(t="function"==typeof e?e:Ko(+e),a(),o):t},o},t.formatDefaultLocale=Ta,t.formatLocale=ka,t.formatSpecifier=ba,t.precisionFixed=Ea,t.precisionPrefix=Aa,t.precisionRound=Ma,t.geoArea=function(t){return ms.reset(),cs(t,vs),2*ms},t.geoBounds=function(t){var e,i,n,r,o,a,s;if(Ps=Ds=-(As=Ms=1/0),Fs=[],cs(t,il),i=Fs.length){for(Fs.sort(hl),e=1,o=[n=Fs[0]];e<i;++e)dl(n,(r=Fs[e])[0])||dl(n,r[1])?(ul(n[0],r[1])>ul(n[0],n[1])&&(n[1]=r[1]),ul(r[0],n[1])>ul(n[0],n[1])&&(n[0]=r[0])):o.push(n=r);for(a=-1/0,e=0,n=o[i=o.length-1];e<=i;n=r,++e)r=o[e],(s=ul(n[1],r[0]))>a&&(a=s,As=r[0],Ds=n[1])}return Fs=Bs=null,As===1/0||Ms===1/0?[[NaN,NaN],[NaN,NaN]]:[[As,Ms],[Ds,Ps]]},t.geoCentroid=function(t){zs=Hs=Vs=js=Ws=Us=Ys=Gs=Xs=qs=$s=0,cs(t,fl);var e=Xs,i=qs,n=$s,r=e*e+i*i+n*n;return r<1e-12&&(e=Us,i=Ys,n=Gs,Hs<Na&&(e=Vs,i=js,n=Ws),(r=e*e+i*i+n*n)<1e-12)?[NaN,NaN]:[Ua(i,e)*Ha,es(n/Qa(r))*Ha]},t.geoCircle=function(){var t,e,i=Sl([0,0]),n=Sl(90),r=Sl(6),o={point:function(i,n){t.push(i=e(i,n)),i[0]*=Ha,i[1]*=Ha}};function a(){var a=i.apply(this,arguments),s=n.apply(this,arguments)*Va,l=r.apply(this,arguments)*Va;return t=[],e=Tl(-a[0]*Va,-a[1]*Va,0).invert,Pl(o,s,l,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(i="function"==typeof t?t:Sl([+t[0],+t[1]]),a):i},a.radius=function(t){return arguments.length?(n="function"==typeof t?t:Sl(+t),a):n},a.precision=function(t){return arguments.length?(r="function"==typeof t?t:Sl(+t),a):r},a},t.geoClipAntimeridian=Ul,t.geoClipCircle=Yl,t.geoClipExtent=function(){var t,e,i,n=0,r=0,o=960,a=500;return i={stream:function(i){return t&&e===i?t:t=ql(n,r,o,a)(e=i)},extent:function(s){return arguments.length?(n=+s[0][0],r=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,i):[[n,r],[o,a]]}}},t.geoClipRectangle=ql,t.geoContains=function(t,e){return(t&&sc.hasOwnProperty(t.type)?sc[t.type]:cc)(t,e)},t.geoDistance=ac,t.geoGraticule=vc,t.geoGraticule10=function(){return vc()()},t.geoInterpolate=function(t,e){var i=t[0]*Va,n=t[1]*Va,r=e[0]*Va,o=e[1]*Va,a=Ya(n),s=Za(n),l=Ya(o),c=Za(o),u=a*Ya(i),h=a*Za(i),d=l*Ya(r),f=l*Za(r),p=2*es(Qa(is(o-n)+a*l*is(r-i))),g=Za(p),m=p?function(t){var e=Za(t*=p)/g,i=Za(p-t)/g,n=i*u+e*d,r=i*h+e*f,o=i*s+e*c;return[Ua(r,n)*Ha,Ua(o,Qa(n*n+r*r))*Ha]}:function(){return[i*Ha,n*Ha]};return m.distance=p,m},t.geoLength=nc,t.geoPath=function(t,e){var i,n,r=4.5;function o(t){return t&&("function"==typeof r&&n.pointRadius(+r.apply(this,arguments)),cs(t,i(n))),n.result()}return o.area=function(t){return cs(t,i(Cc)),Cc.result()},o.measure=function(t){return cs(t,i(hu)),hu.result()},o.bounds=function(t){return cs(t,i(Bc)),Bc.result()},o.centroid=function(t){return cs(t,i(qc)),qc.result()},o.projection=function(e){return arguments.length?(i=null==e?(t=null,yc):(t=e).stream,o):t},o.context=function(t){return arguments.length?(n=null==t?(e=null,new pu):new ru(e=t),"function"!=typeof r&&n.pointRadius(r),o):e},o.pointRadius=function(t){return arguments.length?(r="function"==typeof t?t:(n.pointRadius(+t),+t),o):r},o.projection(t).context(e)},t.geoAlbers=Ou,t.geoAlbersUsa=function(){var t,e,i,n,r,o,a=Ou(),s=Pu().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=Pu().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){o=[t,e]}};function u(t){var e=t[0],a=t[1];return o=null,i.point(e,a),o||(n.point(e,a),o)||(r.point(e,a),o)}function h(){return t=e=null,u}return u.invert=function(t){var e=a.scale(),i=a.translate(),n=(t[0]-i[0])/e,r=(t[1]-i[1])/e;return(r>=.12&&r<.234&&n>=-.425&&n<-.214?s:r>=.166&&r<.234&&n>=-.214&&n<-.115?l:a).invert(t)},u.stream=function(i){return t&&e===i?t:(n=[a.stream(e=i),s.stream(i),l.stream(i)],r=n.length,t={point:function(t,e){for(var i=-1;++i<r;)n[i].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},u.precision=function(t){return arguments.length?(a.precision(t),s.precision(t),l.precision(t),h()):a.precision()},u.scale=function(t){return arguments.length?(a.scale(t),s.scale(.35*t),l.scale(t),u.translate(a.translate())):a.scale()},u.translate=function(t){if(!arguments.length)return a.translate();var e=a.scale(),o=+t[0],u=+t[1];return i=a.translate(t).clipExtent([[o-.455*e,u-.238*e],[o+.455*e,u+.238*e]]).stream(c),n=s.translate([o-.307*e,u+.201*e]).clipExtent([[o-.425*e+Na,u+.12*e+Na],[o-.214*e-Na,u+.234*e-Na]]).stream(c),r=l.translate([o-.205*e,u+.212*e]).clipExtent([[o-.214*e+Na,u+.166*e+Na],[o-.115*e-Na,u+.234*e-Na]]).stream(c),h()},u.fitExtent=function(t,e){return bu(u,t,e)},u.fitSize=function(t,e){return Lu(u,t,e)},u.fitWidth=function(t,e){return xu(u,t,e)},u.fitHeight=function(t,e){return wu(u,t,e)},u.scale(1070)},t.geoAzimuthalEqualArea=function(){return Eu(Ru).scale(124.75).clipAngle(179.999)},t.geoAzimuthalEqualAreaRaw=Ru,t.geoAzimuthalEquidistant=function(){return Eu(Fu).scale(79.4188).clipAngle(179.999)},t.geoAzimuthalEquidistantRaw=Fu,t.geoConicConformal=function(){return Mu(Vu).scale(109.5).parallels([30,30])},t.geoConicConformalRaw=Vu,t.geoConicEqualArea=Pu,t.geoConicEqualAreaRaw=Du,t.geoConicEquidistant=function(){return Mu(Wu).scale(131.154).center([0,13.9389])},t.geoConicEquidistantRaw=Wu,t.geoEqualEarth=function(){return Eu($u).scale(177.158)},t.geoEqualEarthRaw=$u,t.geoEquirectangular=function(){return Eu(ju).scale(152.63)},t.geoEquirectangularRaw=ju,t.geoGnomonic=function(){return Eu(Zu).scale(144.049).clipAngle(60)},t.geoGnomonicRaw=Zu,t.geoIdentity=function(){var t,e,i,n,r,o,a=1,s=0,l=0,c=1,u=1,h=yc,d=null,f=yc;function p(){return n=r=null,o}return o={stream:function(t){return n&&r===t?n:n=h(f(r=t))},postclip:function(n){return arguments.length?(f=n,d=t=e=i=null,p()):f},clipExtent:function(n){return arguments.length?(f=null==n?(d=t=e=i=null,yc):ql(d=+n[0][0],t=+n[0][1],e=+n[1][0],i=+n[1][1]),p()):null==d?null:[[d,t],[e,i]]},scale:function(t){return arguments.length?(h=Ku((a=+t)*c,a*u,s,l),p()):a},translate:function(t){return arguments.length?(h=Ku(a*c,a*u,s=+t[0],l=+t[1]),p()):[s,l]},reflectX:function(t){return arguments.length?(h=Ku(a*(c=t?-1:1),a*u,s,l),p()):c<0},reflectY:function(t){return arguments.length?(h=Ku(a*c,a*(u=t?-1:1),s,l),p()):u<0},fitExtent:function(t,e){return bu(o,t,e)},fitSize:function(t,e){return Lu(o,t,e)},fitWidth:function(t,e){return xu(o,t,e)},fitHeight:function(t,e){return wu(o,t,e)}}},t.geoProjection=Eu,t.geoProjectionMutator=Au,t.geoMercator=function(){return zu(Bu).scale(961/za)},t.geoMercatorRaw=Bu,t.geoNaturalEarth1=function(){return Eu(Qu).scale(175.295)},t.geoNaturalEarth1Raw=Qu,t.geoOrthographic=function(){return Eu(Ju).scale(249.5).clipAngle(90+Na)},t.geoOrthographicRaw=Ju,t.geoStereographic=function(){return Eu(th).scale(250).clipAngle(142)},t.geoStereographicRaw=th,t.geoTransverseMercator=function(){var t=zu(eh),e=t.center,i=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?i([t[0],t[1],t.length>2?t[2]+90:90]):[(t=i())[0],t[1],t[2]-90]},i([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=eh,t.geoRotation=Dl,t.geoStream=cs,t.geoTransform=function(t){return{stream:mu(t)}},t.cluster=function(){var t=ih,e=1,i=1,n=!1;function r(r){var o,a=0;r.eachAfter(function(e){var i=e.children;i?(e.x=function(t){return t.reduce(nh,0)/t.length}(i),e.y=1+i.reduce(rh,0)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)});var s=function(t){for(var e;e=t.children;)t=e[0];return t}(r),l=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(r),c=s.x-t(s,l)/2,u=l.x+t(l,s)/2;return r.eachAfter(n?function(t){t.x=(t.x-r.x)*e,t.y=(r.y-t.y)*i}:function(t){t.x=(t.x-c)/(u-c)*e,t.y=(1-(r.y?t.y/r.y:1))*i})}return r.separation=function(e){return arguments.length?(t=e,r):t},r.size=function(t){return arguments.length?(n=!1,e=+t[0],i=+t[1],r):n?null:[e,i]},r.nodeSize=function(t){return arguments.length?(n=!0,e=+t[0],i=+t[1],r):n?[e,i]:null},r},t.hierarchy=ah,t.pack=function(){var t=null,e=1,i=1,n=kh;function r(r){return r.x=e/2,r.y=i/2,t?r.eachBefore(Ah(t)).eachAfter(Mh(n,.5)).eachBefore(Dh(1)):r.eachBefore(Ah(Eh)).eachAfter(Mh(kh,1)).eachAfter(Mh(n,r.r/Math.min(e,i))).eachBefore(Dh(Math.min(e,i)/(2*r.r))),r}return r.radius=function(e){return arguments.length?(t=null==(i=e)?null:Ch(i),r):t;var i},r.size=function(t){return arguments.length?(e=+t[0],i=+t[1],r):[e,i]},r.padding=function(t){return arguments.length?(n="function"==typeof t?t:Th(+t),r):n},r},t.packSiblings=function(t){return Sh(t),t},t.packEnclose=dh,t.partition=function(){var t=1,e=1,i=0,n=!1;function r(r){var o=r.height+1;return r.x0=r.y0=i,r.x1=t,r.y1=e/o,r.eachBefore(function(t,e){return function(n){n.children&&Oh(n,n.x0,t*(n.depth+1)/e,n.x1,t*(n.depth+2)/e);var r=n.x0,o=n.y0,a=n.x1-i,s=n.y1-i;a<r&&(r=a=(r+a)/2),s<o&&(o=s=(o+s)/2),n.x0=r,n.y0=o,n.x1=a,n.y1=s}}(e,o)),n&&r.eachBefore(Ph),r}return r.round=function(t){return arguments.length?(n=!!t,r):n},r.size=function(i){return arguments.length?(t=+i[0],e=+i[1],r):[t,e]},r.padding=function(t){return arguments.length?(i=+t,r):i},r},t.stratify=function(){var t=Fh,e=Bh;function i(i){var n,r,o,a,s,l,c,u=i.length,h=new Array(u),d={};for(r=0;r<u;++r)n=i[r],s=h[r]=new uh(n),null!=(l=t(n,r,i))&&(l+="")&&(d[c=Ih+(s.id=l)]=c in d?Rh:s);for(r=0;r<u;++r)if(s=h[r],null!=(l=e(i[r],r,i))&&(l+="")){if(!(a=d[Ih+l]))throw new Error("missing: "+l);if(a===Rh)throw new Error("ambiguous: "+l);a.children?a.children.push(s):a.children=[s],s.parent=a}else{if(o)throw new Error("multiple roots");o=s}if(!o)throw new Error("no root");if(o.parent=Nh,o.eachBefore(function(t){t.depth=t.parent.depth+1,--u}).eachBefore(ch),o.parent=null,u>0)throw new Error("cycle");return o}return i.id=function(e){return arguments.length?(t=Ch(e),i):t},i.parentId=function(t){return arguments.length?(e=Ch(t),i):e},i},t.tree=function(){var t=zh,e=1,i=1,n=null;function r(r){var l=function(t){for(var e,i,n,r,o,a=new Uh(t,0),s=[a];e=s.pop();)if(n=e._.children)for(e.children=new Array(o=n.length),r=o-1;r>=0;--r)s.push(i=e.children[r]=new Uh(n[r],r)),i.parent=e;return(a.parent=new Uh(null,0)).children=[a],a}(r);if(l.eachAfter(o),l.parent.m=-l.z,l.eachBefore(a),n)r.eachBefore(s);else{var c=r,u=r,h=r;r.eachBefore(function(t){t.x<c.x&&(c=t),t.x>u.x&&(u=t),t.depth>h.depth&&(h=t)});var d=c===u?1:t(c,u)/2,f=d-c.x,p=e/(u.x+d+f),g=i/(h.depth||1);r.eachBefore(function(t){t.x=(t.x+f)*p,t.y=t.depth*g})}return r}function o(e){var i=e.children,n=e.parent.children,r=e.i?n[e.i-1]:null;if(i){!function(t){for(var e,i=0,n=0,r=t.children,o=r.length;--o>=0;)(e=r[o]).z+=i,e.m+=i,i+=e.s+(n+=e.c)}(e);var o=(i[0].z+i[i.length-1].z)/2;r?(e.z=r.z+t(e._,r._),e.m=e.z-o):e.z=o}else r&&(e.z=r.z+t(e._,r._));e.parent.A=function(e,i,n){if(i){for(var r,o=e,a=e,s=i,l=o.parent.children[0],c=o.m,u=a.m,h=s.m,d=l.m;s=Vh(s),o=Hh(o),s&&o;)l=Hh(l),(a=Vh(a)).a=e,(r=s.z+h-o.z-c+t(s._,o._))>0&&(jh(Wh(s,e,n),e,r),c+=r,u+=r),h+=s.m,c+=o.m,d+=l.m,u+=a.m;s&&!Vh(a)&&(a.t=s,a.m+=h-u),o&&!Hh(l)&&(l.t=o,l.m+=c-d,n=e)}return n}(e,r,e.parent.A||n[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*i}return r.separation=function(e){return arguments.length?(t=e,r):t},r.size=function(t){return arguments.length?(n=!1,e=+t[0],i=+t[1],r):n?null:[e,i]},r.nodeSize=function(t){return arguments.length?(n=!0,e=+t[0],i=+t[1],r):n?[e,i]:null},r},t.treemap=function(){var t=qh,e=!1,i=1,n=1,r=[0],o=kh,a=kh,s=kh,l=kh,c=kh;function u(t){return t.x0=t.y0=0,t.x1=i,t.y1=n,t.eachBefore(h),r=[0],e&&t.eachBefore(Ph),t}function h(e){var i=r[e.depth],n=e.x0+i,u=e.y0+i,h=e.x1-i,d=e.y1-i;h<n&&(n=h=(n+h)/2),d<u&&(u=d=(u+d)/2),e.x0=n,e.y0=u,e.x1=h,e.y1=d,e.children&&(i=r[e.depth+1]=o(e)/2,n+=c(e)-i,u+=a(e)-i,(h-=s(e)-i)<n&&(n=h=(n+h)/2),(d-=l(e)-i)<u&&(u=d=(u+d)/2),t(e,n,u,h,d))}return u.round=function(t){return arguments.length?(e=!!t,u):e},u.size=function(t){return arguments.length?(i=+t[0],n=+t[1],u):[i,n]},u.tile=function(e){return arguments.length?(t=Ch(e),u):t},u.padding=function(t){return arguments.length?u.paddingInner(t).paddingOuter(t):u.paddingInner()},u.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:Th(+t),u):o},u.paddingOuter=function(t){return arguments.length?u.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):u.paddingTop()},u.paddingTop=function(t){return arguments.length?(a="function"==typeof t?t:Th(+t),u):a},u.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:Th(+t),u):s},u.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:Th(+t),u):l},u.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:Th(+t),u):c},u},t.treemapBinary=function(t,e,i,n,r){var o,a,s=t.children,l=s.length,c=new Array(l+1);for(c[0]=a=o=0;o<l;++o)c[o+1]=a+=s[o].value;!function t(e,i,n,r,o,a,l){if(e>=i-1){var u=s[e];return u.x0=r,u.y0=o,u.x1=a,void(u.y1=l)}for(var h=c[e],d=n/2+h,f=e+1,p=i-1;f<p;){var g=f+p>>>1;c[g]<d?f=g+1:p=g}d-c[f-1]<c[f]-d&&e+1<f&&--f;var m=c[f]-h,v=n-m;if(a-r>l-o){var y=(r*v+a*m)/n;t(e,f,m,r,o,y,l),t(f,i,v,y,o,a,l)}else{var b=(o*v+l*m)/n;t(e,f,m,r,o,a,b),t(f,i,v,r,b,a,l)}}(0,l,t.value,e,i,n,r)},t.treemapDice=Oh,t.treemapSlice=Yh,t.treemapSliceDice=function(t,e,i,n,r){(1&t.depth?Yh:Oh)(t,e,i,n,r)},t.treemapSquarify=qh,t.treemapResquarify=$h,t.interpolate=pi,t.interpolateArray=si,t.interpolateBasis=Ke,t.interpolateBasisClosed=Qe,t.interpolateDate=li,t.interpolateDiscrete=function(t){var e=t.length;return function(i){return t[Math.max(0,Math.min(e-1,Math.floor(i*e)))]}},t.interpolateHue=function(t,e){var i=ei(+t,+e);return function(t){var e=i(t);return e-360*Math.floor(e/360)}},t.interpolateNumber=ci,t.interpolateObject=ui,t.interpolateRound=gi,t.interpolateString=fi,t.interpolateTransformCss=Si,t.interpolateTransformSvg=Ci,t.interpolateZoom=Di,t.interpolateRgb=ni,t.interpolateRgbBasis=oi,t.interpolateRgbBasisClosed=ai,t.interpolateHsl=Oi,t.interpolateHslLong=Ii,t.interpolateLab=function(t,e){var i=ii((t=Pe(t)).l,(e=Pe(e)).l),n=ii(t.a,e.a),r=ii(t.b,e.b),o=ii(t.opacity,e.opacity);return function(e){return t.l=i(e),t.a=n(e),t.b=r(e),t.opacity=o(e),t+""}},t.interpolateHcl=Ri,t.interpolateHclLong=Fi,t.interpolateCubehelix=Vi,t.interpolateCubehelixLong=ji,t.piecewise=function(t,e){for(var i=0,n=e.length-1,r=e[0],o=new Array(n<0?0:n);i<n;)o[i]=t(r,r=e[++i]);return function(t){var e=Math.max(0,Math.min(n-1,Math.floor(t*=n)));return o[e](t-e)}},t.quantize=function(t,e){for(var i=new Array(e),n=0;n<e;++n)i[n]=t(n/(e-1));return i},t.path=jr,t.polygonArea=function(t){for(var e,i=-1,n=t.length,r=t[n-1],o=0;++i<n;)e=r,r=t[i],o+=e[1]*r[0]-e[0]*r[1];return o/2},t.polygonCentroid=function(t){for(var e,i,n=-1,r=t.length,o=0,a=0,s=t[r-1],l=0;++n<r;)e=s,s=t[n],l+=i=e[0]*s[1]-s[0]*e[1],o+=(e[0]+s[0])*i,a+=(e[1]+s[1])*i;return[o/(l*=3),a/l]},t.polygonHull=function(t){if((i=t.length)<3)return null;var e,i,n=new Array(i),r=new Array(i);for(e=0;e<i;++e)n[e]=[+t[e][0],+t[e][1],e];for(n.sort(Zh),e=0;e<i;++e)r[e]=[n[e][0],-n[e][1]];var o=Kh(n),a=Kh(r),s=a[0]===o[0],l=a[a.length-1]===o[o.length-1],c=[];for(e=o.length-1;e>=0;--e)c.push(t[n[o[e]][2]]);for(e=+s;e<a.length-l;++e)c.push(t[n[a[e]][2]]);return c},t.polygonContains=function(t,e){for(var i,n,r=t.length,o=t[r-1],a=e[0],s=e[1],l=o[0],c=o[1],u=!1,h=0;h<r;++h)i=(o=t[h])[0],(n=o[1])>s!=c>s&&a<(l-i)*(s-n)/(c-n)+i&&(u=!u),l=i,c=n;return u},t.polygonLength=function(t){for(var e,i,n=-1,r=t.length,o=t[r-1],a=o[0],s=o[1],l=0;++n<r;)e=a,i=s,e-=a=(o=t[n])[0],i-=s=o[1],l+=Math.sqrt(e*e+i*i);return l},t.quadtree=na,t.randomUniform=Jh,t.randomNormal=td,t.randomLogNormal=ed,t.randomBates=nd,t.randomIrwinHall=id,t.randomExponential=rd,t.scaleBand=dd,t.scalePoint=function(){return function t(e){var i=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(i())},e}(dd.apply(null,arguments).paddingInner(1))},t.scaleIdentity=function t(e){var i;function n(t){return isNaN(t=+t)?i:t}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=ld.call(t,fd),n):e.slice()},n.unknown=function(t){return arguments.length?(i=t,n):i},n.copy=function(){return t(e).unknown(i)},e=arguments.length?ld.call(e,fd):[0,1],Sd(n)},t.scaleLinear=function t(){var e=wd(gd,gd);return e.copy=function(){return Ld(e,t())},od.apply(e,arguments),Sd(e)},t.scaleLog=function t(){var e=Pd(xd()).domain([1,10]);return e.copy=function(){return Ld(e,t()).base(e.base())},od.apply(e,arguments),e},t.scaleSymlog=function t(){var e=Nd(xd());return e.copy=function(){return Ld(e,t()).constant(e.constant())},od.apply(e,arguments)},t.scaleOrdinal=hd,t.scaleImplicit=ud,t.scalePow=Hd,t.scaleSqrt=function(){return Hd.apply(null,arguments).exponent(.5)},t.scaleQuantile=function t(){var i,n=[],o=[],a=[];function s(){var t=0,e=Math.max(1,o.length);for(a=new Array(e-1);++t<e;)a[t-1]=S(n,t/e);return l}function l(t){return isNaN(t=+t)?i:o[r(a,t)]}return l.invertExtent=function(t){var e=o.indexOf(t);return e<0?[NaN,NaN]:[e>0?a[e-1]:n[0],e<a.length?a[e]:n[n.length-1]]},l.domain=function(t){if(!arguments.length)return n.slice();n=[];for(var i,r=0,o=t.length;r<o;++r)null==(i=t[r])||isNaN(i=+i)||n.push(i);return n.sort(e),s()},l.range=function(t){return arguments.length?(o=cd.call(t),s()):o.slice()},l.unknown=function(t){return arguments.length?(i=t,l):i},l.quantiles=function(){return a.slice()},l.copy=function(){return t().domain(n).range(o).unknown(i)},od.apply(l,arguments)},t.scaleQuantize=function t(){var e,i=0,n=1,o=1,a=[.5],s=[0,1];function l(t){return t<=t?s[r(a,t,0,o)]:e}function c(){var t=-1;for(a=new Array(o);++t<o;)a[t]=((t+1)*n-(t-o)*i)/(o+1);return l}return l.domain=function(t){return arguments.length?(i=+t[0],n=+t[1],c()):[i,n]},l.range=function(t){return arguments.length?(o=(s=cd.call(t)).length-1,c()):s.slice()},l.invertExtent=function(t){var e=s.indexOf(t);return e<0?[NaN,NaN]:e<1?[i,a[0]]:e>=o?[a[o-1],n]:[a[e-1],a[e]]},l.unknown=function(t){return arguments.length?(e=t,l):l},l.thresholds=function(){return a.slice()},l.copy=function(){return t().domain([i,n]).range(s).unknown(e)},od.apply(Sd(l),arguments)},t.scaleThreshold=function t(){var e,i=[.5],n=[0,1],o=1;function a(t){return t<=t?n[r(i,t,0,o)]:e}return a.domain=function(t){return arguments.length?(i=cd.call(t),o=Math.min(i.length,n.length-1),a):i.slice()},a.range=function(t){return arguments.length?(n=cd.call(t),o=Math.min(i.length,n.length-1),a):n.slice()},a.invertExtent=function(t){var e=n.indexOf(t);return[i[e-1],i[e]]},a.unknown=function(t){return arguments.length?(e=t,a):e},a.copy=function(){return t().domain(i).range(n).unknown(e)},od.apply(a,arguments)},t.scaleTime=function(){return od.apply(Lg(Lf,yf,rf,tf,Qd,Zd,qd,Ud,t.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},t.scaleUtc=function(){return od.apply(Lg(Yf,Wf,Af,kf,Sf,wf,qd,Ud,t.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},t.scaleSequential=function t(){var e=Sd(xg()(gd));return e.copy=function(){return wg(e,t())},ad.apply(e,arguments)},t.scaleSequentialLog=function t(){var e=Pd(xg()).domain([1,10]);return e.copy=function(){return wg(e,t()).base(e.base())},ad.apply(e,arguments)},t.scaleSequentialPow=_g,t.scaleSequentialSqrt=function(){return _g.apply(null,arguments).exponent(.5)},t.scaleSequentialSymlog=function t(){var e=Nd(xg());return e.copy=function(){return wg(e,t()).constant(e.constant())},ad.apply(e,arguments)},t.scaleSequentialQuantile=function t(){var i=[],n=gd;function o(t){if(!isNaN(t=+t))return n((r(i,t)-1)/(i.length-1))}return o.domain=function(t){if(!arguments.length)return i.slice();i=[];for(var n,r=0,a=t.length;r<a;++r)null==(n=t[r])||isNaN(n=+n)||i.push(n);return i.sort(e),o},o.interpolator=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return t(n).domain(i)},ad.apply(o,arguments)},t.scaleDiverging=function t(){var e=Sd(Sg()(gd));return e.copy=function(){return wg(e,t())},ad.apply(e,arguments)},t.scaleDivergingLog=function t(){var e=Pd(Sg()).domain([.1,1,10]);return e.copy=function(){return wg(e,t()).base(e.base())},ad.apply(e,arguments)},t.scaleDivergingPow=Cg,t.scaleDivergingSqrt=function(){return Cg.apply(null,arguments).exponent(.5)},t.scaleDivergingSymlog=function t(){var e=Nd(Sg());return e.copy=function(){return wg(e,t()).constant(e.constant())},ad.apply(e,arguments)},t.tickFormat=_d,t.schemeCategory10=Tg,t.schemeAccent=Eg,t.schemeDark2=Ag,t.schemePaired=Mg,t.schemePastel1=Dg,t.schemePastel2=Pg,t.schemeSet1=Og,t.schemeSet2=Ig,t.schemeSet3=Ng,t.interpolateBrBG=Bg,t.schemeBrBG=Fg,t.interpolatePRGn=Hg,t.schemePRGn=zg,t.interpolatePiYG=jg,t.schemePiYG=Vg,t.interpolatePuOr=Ug,t.schemePuOr=Wg,t.interpolateRdBu=Gg,t.schemeRdBu=Yg,t.interpolateRdGy=qg,t.schemeRdGy=Xg,t.interpolateRdYlBu=Zg,t.schemeRdYlBu=$g,t.interpolateRdYlGn=Qg,t.schemeRdYlGn=Kg,t.interpolateSpectral=tm,t.schemeSpectral=Jg,t.interpolateBuGn=im,t.schemeBuGn=em,t.interpolateBuPu=rm,t.schemeBuPu=nm,t.interpolateGnBu=am,t.schemeGnBu=om,t.interpolateOrRd=lm,t.schemeOrRd=sm,t.interpolatePuBuGn=um,t.schemePuBuGn=cm,t.interpolatePuBu=dm,t.schemePuBu=hm,t.interpolatePuRd=pm,t.schemePuRd=fm,t.interpolateRdPu=mm,t.schemeRdPu=gm,t.interpolateYlGnBu=ym,t.schemeYlGnBu=vm,t.interpolateYlGn=Lm,t.schemeYlGn=bm,t.interpolateYlOrBr=wm,t.schemeYlOrBr=xm,t.interpolateYlOrRd=Sm,t.schemeYlOrRd=_m,t.interpolateBlues=km,t.schemeBlues=Cm,t.interpolateGreens=Em,t.schemeGreens=Tm,t.interpolateGreys=Mm,t.schemeGreys=Am,t.interpolatePurples=Pm,t.schemePurples=Dm,t.interpolateReds=Im,t.schemeReds=Om,t.interpolateOranges=Rm,t.schemeOranges=Nm,t.interpolateCubehelixDefault=Fm,t.interpolateRainbow=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return Hm.h=360*t-100,Hm.s=1.5-1.5*e,Hm.l=.8-.9*e,Hm+""},t.interpolateWarm=Bm,t.interpolateCool=zm,t.interpolateSinebow=function(t){var e;return t=(.5-t)*Math.PI,Vm.r=255*(e=Math.sin(t))*e,Vm.g=255*(e=Math.sin(t+jm))*e,Vm.b=255*(e=Math.sin(t+Wm))*e,Vm+""},t.interpolateViridis=Ym,t.interpolateMagma=Gm,t.interpolateInferno=Xm,t.interpolatePlasma=qm,t.create=function(t){return Pt($(t).call(document.documentElement))},t.creator=$,t.local=It,t.matcher=tt,t.mouse=Bt,t.namespace=q,t.namespaces=X,t.clientPoint=Ft,t.select=Pt,t.selectAll=function(t){return"string"==typeof t?new Mt([document.querySelectorAll(t)],[document.documentElement]):new Mt([null==t?[]:t],At)},t.selection=Dt,t.selector=K,t.selectorAll=J,t.style=lt,t.touch=zt,t.touches=function(t,e){null==e&&(e=Rt().touches);for(var i=0,n=e?e.length:0,r=new Array(n);i<n;++i)r[i]=Ft(t,e[i]);return r},t.window=st,t.customEvent=Tt,t.arc=function(){var t=lv,e=cv,i=$m(0),n=null,r=uv,o=hv,a=dv,s=null;function l(){var l,c,u,h=+t.apply(this,arguments),d=+e.apply(this,arguments),f=r.apply(this,arguments)-ov,p=o.apply(this,arguments)-ov,g=Zm(p-f),m=p>f;if(s||(s=l=jr()),d<h&&(c=d,d=h,h=c),d>nv)if(g>av-nv)s.moveTo(d*Qm(f),d*ev(f)),s.arc(0,0,d,f,p,!m),h>nv&&(s.moveTo(h*Qm(p),h*ev(p)),s.arc(0,0,h,p,f,m));else{var v,y,b=f,L=p,x=f,w=p,_=g,S=g,C=a.apply(this,arguments)/2,k=C>nv&&(n?+n.apply(this,arguments):iv(h*h+d*d)),T=tv(Zm(d-h)/2,+i.apply(this,arguments)),E=T,A=T;if(k>nv){var M=sv(k/h*ev(C)),D=sv(k/d*ev(C));(_-=2*M)>nv?(x+=M*=m?1:-1,w-=M):(_=0,x=w=(f+p)/2),(S-=2*D)>nv?(b+=D*=m?1:-1,L-=D):(S=0,b=L=(f+p)/2)}var P=d*Qm(b),O=d*ev(b),I=h*Qm(w),N=h*ev(w);if(T>nv){var R,F=d*Qm(L),B=d*ev(L),z=h*Qm(x),H=h*ev(x);if(g<rv&&(R=function(t,e,i,n,r,o,a,s){var l=z-P,c=H-O,u=I-F,h=N-B,d=h*l-u*c;if(!(d*d<nv))return[P+(d=(u*(O-B)-h*(P-F))/d)*l,O+d*c]}())){var V=P-R[0],j=O-R[1],W=F-R[0],U=B-R[1],Y=1/ev(((u=(V*W+j*U)/(iv(V*V+j*j)*iv(W*W+U*U)))>1?0:u<-1?rv:Math.acos(u))/2),G=iv(R[0]*R[0]+R[1]*R[1]);E=tv(T,(h-G)/(Y-1)),A=tv(T,(d-G)/(Y+1))}}S>nv?A>nv?(v=fv(z,H,P,O,d,A,m),y=fv(F,B,I,N,d,A,m),s.moveTo(v.cx+v.x01,v.cy+v.y01),A<T?s.arc(v.cx,v.cy,A,Km(v.y01,v.x01),Km(y.y01,y.x01),!m):(s.arc(v.cx,v.cy,A,Km(v.y01,v.x01),Km(v.y11,v.x11),!m),s.arc(0,0,d,Km(v.cy+v.y11,v.cx+v.x11),Km(y.cy+y.y11,y.cx+y.x11),!m),s.arc(y.cx,y.cy,A,Km(y.y11,y.x11),Km(y.y01,y.x01),!m))):(s.moveTo(P,O),s.arc(0,0,d,b,L,!m)):s.moveTo(P,O),h>nv&&_>nv?E>nv?(v=fv(I,N,F,B,h,-E,m),y=fv(P,O,z,H,h,-E,m),s.lineTo(v.cx+v.x01,v.cy+v.y01),E<T?s.arc(v.cx,v.cy,E,Km(v.y01,v.x01),Km(y.y01,y.x01),!m):(s.arc(v.cx,v.cy,E,Km(v.y01,v.x01),Km(v.y11,v.x11),!m),s.arc(0,0,h,Km(v.cy+v.y11,v.cx+v.x11),Km(y.cy+y.y11,y.cx+y.x11),m),s.arc(y.cx,y.cy,E,Km(y.y11,y.x11),Km(y.y01,y.x01),!m))):s.arc(0,0,h,w,x,m):s.lineTo(I,N)}else s.moveTo(0,0);if(s.closePath(),l)return s=null,l+""||null}return l.centroid=function(){var i=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,n=(+r.apply(this,arguments)+ +o.apply(this,arguments))/2-rv/2;return[Qm(n)*i,ev(n)*i]},l.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:$m(+e),l):t},l.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:$m(+t),l):e},l.cornerRadius=function(t){return arguments.length?(i="function"==typeof t?t:$m(+t),l):i},l.padRadius=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:$m(+t),l):n},l.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:$m(+t),l):r},l.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:$m(+t),l):o},l.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:$m(+t),l):a},l.context=function(t){return arguments.length?(s=null==t?null:t,l):s},l},t.area=bv,t.line=yv,t.pie=function(){var t=xv,e=Lv,i=null,n=$m(0),r=$m(av),o=$m(0);function a(a){var s,l,c,u,h,d=a.length,f=0,p=new Array(d),g=new Array(d),m=+n.apply(this,arguments),v=Math.min(av,Math.max(-av,r.apply(this,arguments)-m)),y=Math.min(Math.abs(v)/d,o.apply(this,arguments)),b=y*(v<0?-1:1);for(s=0;s<d;++s)(h=g[p[s]=s]=+t(a[s],s,a))>0&&(f+=h);for(null!=e?p.sort(function(t,i){return e(g[t],g[i])}):null!=i&&p.sort(function(t,e){return i(a[t],a[e])}),s=0,c=f?(v-d*b)/f:0;s<d;++s,m=u)l=p[s],u=m+((h=g[l])>0?h*c:0)+b,g[l]={data:a[l],index:s,value:h,startAngle:m,endAngle:u,padAngle:y};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:$m(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,i=null,a):e},a.sort=function(t){return arguments.length?(i=t,e=null,a):i},a.startAngle=function(t){return arguments.length?(n="function"==typeof t?t:$m(+t),a):n},a.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:$m(+t),a):r},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:$m(+t),a):o},a},t.areaRadial=Tv,t.radialArea=Tv,t.lineRadial=kv,t.radialLine=kv,t.pointRadial=Ev,t.linkHorizontal=function(){return Pv(Ov)},t.linkVertical=function(){return Pv(Iv)},t.linkRadial=function(){var t=Pv(Nv);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t},t.symbol=function(){var t=$m(Rv),e=$m(64),i=null;function n(){var n;if(i||(i=n=jr()),t.apply(this,arguments).draw(i,+e.apply(this,arguments)),n)return i=null,n+""||null}return n.type=function(e){return arguments.length?(t="function"==typeof e?e:$m(e),n):t},n.size=function(t){return arguments.length?(e="function"==typeof t?t:$m(+t),n):e},n.context=function(t){return arguments.length?(i=null==t?null:t,n):i},n},t.symbols=Qv,t.symbolCircle=Rv,t.symbolCross=Fv,t.symbolDiamond=Hv,t.symbolSquare=Yv,t.symbolStar=Uv,t.symbolTriangle=Xv,t.symbolWye=Kv,t.curveBasisClosed=function(t){return new iy(t)},t.curveBasisOpen=function(t){return new ny(t)},t.curveBasis=function(t){return new ey(t)},t.curveBundle=oy,t.curveCardinalClosed=uy,t.curveCardinalOpen=dy,t.curveCardinal=ly,t.curveCatmullRomClosed=vy,t.curveCatmullRomOpen=by,t.curveCatmullRom=gy,t.curveLinearClosed=function(t){return new Ly(t)},t.curveLinear=gv,t.curveMonotoneX=function(t){return new Cy(t)},t.curveMonotoneY=function(t){return new ky(t)},t.curveNatural=function(t){return new Ey(t)},t.curveStep=function(t){return new My(t,.5)},t.curveStepAfter=function(t){return new My(t,1)},t.curveStepBefore=function(t){return new My(t,0)},t.stack=function(){var t=$m([]),e=Py,i=Dy,n=Oy;function r(r){var o,a,s=t.apply(this,arguments),l=r.length,c=s.length,u=new Array(c);for(o=0;o<c;++o){for(var h,d=s[o],f=u[o]=new Array(l),p=0;p<l;++p)f[p]=h=[0,+n(r[p],d,p,r)],h.data=r[p];f.key=d}for(o=0,a=e(u);o<c;++o)u[a[o]].index=o;return i(u,a),u}return r.keys=function(e){return arguments.length?(t="function"==typeof e?e:$m(Av.call(e)),r):t},r.value=function(t){return arguments.length?(n="function"==typeof t?t:$m(+t),r):n},r.order=function(t){return arguments.length?(e=null==t?Py:"function"==typeof t?t:$m(Av.call(t)),r):e},r.offset=function(t){return arguments.length?(i=null==t?Dy:t,r):i},r},t.stackOffsetExpand=function(t,e){if((n=t.length)>0){for(var i,n,r,o=0,a=t[0].length;o<a;++o){for(r=i=0;i<n;++i)r+=t[i][o][1]||0;if(r)for(i=0;i<n;++i)t[i][o][1]/=r}Dy(t,e)}},t.stackOffsetDiverging=function(t,e){if((s=t.length)>1)for(var i,n,r,o,a,s,l=0,c=t[e[0]].length;l<c;++l)for(o=a=0,i=0;i<s;++i)(r=(n=t[e[i]][l])[1]-n[0])>=0?(n[0]=o,n[1]=o+=r):r<0?(n[1]=a,n[0]=a+=r):n[0]=o},t.stackOffsetNone=Dy,t.stackOffsetSilhouette=function(t,e){if((i=t.length)>0){for(var i,n=0,r=t[e[0]],o=r.length;n<o;++n){for(var a=0,s=0;a<i;++a)s+=t[a][n][1]||0;r[n][1]+=r[n][0]=-s/2}Dy(t,e)}},t.stackOffsetWiggle=function(t,e){if((r=t.length)>0&&(n=(i=t[e[0]]).length)>0){for(var i,n,r,o=0,a=1;a<n;++a){for(var s=0,l=0,c=0;s<r;++s){for(var u=t[e[s]],h=u[a][1]||0,d=(h-(u[a-1][1]||0))/2,f=0;f<s;++f){var p=t[e[f]];d+=(p[a][1]||0)-(p[a-1][1]||0)}l+=h,c+=d*h}i[a-1][1]+=i[a-1][0]=o,l&&(o-=c/l)}i[a-1][1]+=i[a-1][0]=o,Dy(t,e)}},t.stackOrderAppearance=Iy,t.stackOrderAscending=Ry,t.stackOrderDescending=function(t){return Ry(t).reverse()},t.stackOrderInsideOut=function(t){var e,i,n=t.length,r=t.map(Fy),o=Iy(t),a=0,s=0,l=[],c=[];for(e=0;e<n;++e)i=o[e],a<s?(a+=r[i],l.push(i)):(s+=r[i],c.push(i));return c.reverse().concat(l)},t.stackOrderNone=Py,t.stackOrderReverse=function(t){return Py(t).reverse()},t.timeInterval=Wd,t.timeMillisecond=Ud,t.timeMilliseconds=Yd,t.utcMillisecond=Ud,t.utcMilliseconds=Yd,t.timeSecond=qd,t.timeSeconds=$d,t.utcSecond=qd,t.utcSeconds=$d,t.timeMinute=Zd,t.timeMinutes=Kd,t.timeHour=Qd,t.timeHours=Jd,t.timeDay=tf,t.timeDays=ef,t.timeWeek=rf,t.timeWeeks=hf,t.timeSunday=rf,t.timeSundays=hf,t.timeMonday=of,t.timeMondays=df,t.timeTuesday=af,t.timeTuesdays=ff,t.timeWednesday=sf,t.timeWednesdays=pf,t.timeThursday=lf,t.timeThursdays=gf,t.timeFriday=cf,t.timeFridays=mf,t.timeSaturday=uf,t.timeSaturdays=vf,t.timeMonth=yf,t.timeMonths=bf,t.timeYear=Lf,t.timeYears=xf,t.utcMinute=wf,t.utcMinutes=_f,t.utcHour=Sf,t.utcHours=Cf,t.utcDay=kf,t.utcDays=Tf,t.utcWeek=Af,t.utcWeeks=Rf,t.utcSunday=Af,t.utcSundays=Rf,t.utcMonday=Mf,t.utcMondays=Ff,t.utcTuesday=Df,t.utcTuesdays=Bf,t.utcWednesday=Pf,t.utcWednesdays=zf,t.utcThursday=Of,t.utcThursdays=Hf,t.utcFriday=If,t.utcFridays=Vf,t.utcSaturday=Nf,t.utcSaturdays=jf,t.utcMonth=Wf,t.utcMonths=Uf,t.utcYear=Yf,t.utcYears=Gf,t.timeFormatDefaultLocale=lg,t.timeFormatLocale=Zf,t.isoFormat=cg,t.isoParse=ug,t.now=Qi,t.timer=en,t.timerFlush=nn,t.timeout=sn,t.interval=function(t,e,i){var n=new tn,r=e;return null==e?(n.restart(t,e,i),n):(e=+e,i=null==i?Qi():+i,n.restart(function o(a){a+=r,n.restart(o,r+=e,i),t(a)},e,i),n)},t.transition=En,t.active=function(t,e){var i,n,r=t.__transition;if(r)for(n in e=null==e?null:e+"",r)if((i=r[n]).state>hn&&i.name===e)return new Tn([[t]],sr,e,+n);return null},t.interrupt=xn,t.voronoi=function(){var t=zy,e=Hy,i=null;function n(n){return new Lb(n.map(function(i,r){var o=[Math.round(t(i,r,n)/vb)*vb,Math.round(e(i,r,n)/vb)*vb];return o.index=r,o.data=i,o}),i)}return n.polygons=function(t){return n(t).polygons()},n.links=function(t){return n(t).links()},n.triangles=function(t){return n(t).triangles()},n.x=function(e){return arguments.length?(t="function"==typeof e?e:By(+e),n):t},n.y=function(t){return arguments.length?(e="function"==typeof t?t:By(+t),n):e},n.extent=function(t){return arguments.length?(i=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],n):i&&[[i[0][0],i[0][1]],[i[1][0],i[1][1]]]},n.size=function(t){return arguments.length?(i=null==t?null:[[0,0],[+t[0],+t[1]]],n):i&&[i[1][0]-i[0][0],i[1][1]-i[0][1]]},n},t.zoom=function(){var e,i,n=Eb,r=Ab,o=Ob,a=Db,s=Pb,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],u=250,h=Di,d=[],f=j("start","zoom","end"),p=500,g=150,m=0;function v(t){t.property("__zoom",Mb).on("wheel.zoom",S).on("mousedown.zoom",C).on("dblclick.zoom",k).filter(s).on("touchstart.zoom",T).on("touchmove.zoom",E).on("touchend.zoom touchcancel.zoom",A).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function y(t,e){return(e=Math.max(l[0],Math.min(l[1],e)))===t.k?t:new _b(e,t.x,t.y)}function b(t,e,i){var n=e[0]-i[0]*t.k,r=e[1]-i[1]*t.k;return n===t.x&&r===t.y?t:new _b(t.k,n,r)}function L(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,e,i){t.on("start.zoom",function(){w(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).end()}).tween("zoom",function(){var t=arguments,n=w(this,t),o=r.apply(this,t),a=i||L(o),s=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),l=this.__zoom,c="function"==typeof e?e.apply(this,t):e,u=h(l.invert(a).concat(s/l.k),c.invert(a).concat(s/c.k));return function(t){if(1===t)t=c;else{var e=u(t),i=s/e[2];t=new _b(i,a[0]-e[0]*i,a[1]-e[1]*i)}n.zoom(null,t)}})}function w(t,e){for(var i,n=0,r=d.length;n<r;++n)if((i=d[n]).that===t)return i;return new _(t,e)}function _(t,e){this.that=t,this.args=e,this.index=-1,this.active=0,this.extent=r.apply(t,e)}function S(){if(n.apply(this,arguments)){var t=w(this,arguments),e=this.__zoom,i=Math.max(l[0],Math.min(l[1],e.k*Math.pow(2,a.apply(this,arguments)))),r=Bt(this);if(t.wheel)t.mouse[0][0]===r[0]&&t.mouse[0][1]===r[1]||(t.mouse[1]=e.invert(t.mouse[0]=r)),clearTimeout(t.wheel);else{if(e.k===i)return;t.mouse=[r,e.invert(r)],xn(this),t.start()}Tb(),t.wheel=setTimeout(function(){t.wheel=null,t.end()},g),t.zoom("mouse",o(b(y(e,i),t.mouse[0],t.mouse[1]),t.extent,c))}}function C(){if(!i&&n.apply(this,arguments)){var e=w(this,arguments),r=Pt(t.event.view).on("mousemove.zoom",function(){if(Tb(),!e.moved){var i=t.event.clientX-s,n=t.event.clientY-l;e.moved=i*i+n*n>m}e.zoom("mouse",o(b(e.that.__zoom,e.mouse[0]=Bt(e.that),e.mouse[1]),e.extent,c))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Wt(t.event.view,e.moved),Tb(),e.end()},!0),a=Bt(this),s=t.event.clientX,l=t.event.clientY;jt(t.event.view),kb(),e.mouse=[a,this.__zoom.invert(a)],xn(this),e.start()}}function k(){if(n.apply(this,arguments)){var e=this.__zoom,i=Bt(this),a=e.invert(i),s=e.k*(t.event.shiftKey?.5:2),l=o(b(y(e,s),i,a),r.apply(this,arguments),c);Tb(),u>0?Pt(this).transition().duration(u).call(x,l,i):Pt(this).call(v.transform,l)}}function T(){if(n.apply(this,arguments)){var i,r,o,a,s=w(this,arguments),l=t.event.changedTouches,c=l.length;for(kb(),r=0;r<c;++r)a=[a=zt(this,l,(o=l[r]).identifier),this.__zoom.invert(a),o.identifier],s.touch0?s.touch1||(s.touch1=a):(s.touch0=a,i=!0);if(e&&(e=clearTimeout(e),!s.touch1))return s.end(),void((a=Pt(this).on("dblclick.zoom"))&&a.apply(this,arguments));i&&(e=setTimeout(function(){e=null},p),xn(this),s.start())}}function E(){var i,n,r,a,s=w(this,arguments),l=t.event.changedTouches,u=l.length;for(Tb(),e&&(e=clearTimeout(e)),i=0;i<u;++i)r=zt(this,l,(n=l[i]).identifier),s.touch0&&s.touch0[2]===n.identifier?s.touch0[0]=r:s.touch1&&s.touch1[2]===n.identifier&&(s.touch1[0]=r);if(n=s.that.__zoom,s.touch1){var h=s.touch0[0],d=s.touch0[1],f=s.touch1[0],p=s.touch1[1],g=(g=f[0]-h[0])*g+(g=f[1]-h[1])*g,m=(m=p[0]-d[0])*m+(m=p[1]-d[1])*m;n=y(n,Math.sqrt(g/m)),r=[(h[0]+f[0])/2,(h[1]+f[1])/2],a=[(d[0]+p[0])/2,(d[1]+p[1])/2]}else{if(!s.touch0)return;r=s.touch0[0],a=s.touch0[1]}s.zoom("touch",o(b(n,r,a),s.extent,c))}function A(){var e,n,r=w(this,arguments),o=t.event.changedTouches,a=o.length;for(kb(),i&&clearTimeout(i),i=setTimeout(function(){i=null},p),e=0;e<a;++e)n=o[e],r.touch0&&r.touch0[2]===n.identifier?delete r.touch0:r.touch1&&r.touch1[2]===n.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0?r.touch0[1]=this.__zoom.invert(r.touch0[0]):r.end()}return v.transform=function(t,e){var i=t.selection?t.selection():t;i.property("__zoom",Mb),t!==i?x(t,e):i.interrupt().each(function(){w(this,arguments).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},v.scaleBy=function(t,e){v.scaleTo(t,function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)})},v.scaleTo=function(t,e){v.transform(t,function(){var t=r.apply(this,arguments),i=this.__zoom,n=L(t),a=i.invert(n),s="function"==typeof e?e.apply(this,arguments):e;return o(b(y(i,s),n,a),t,c)})},v.translateBy=function(t,e,i){v.transform(t,function(){return o(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof i?i.apply(this,arguments):i),r.apply(this,arguments),c)})},v.translateTo=function(t,e,i){v.transform(t,function(){var t=r.apply(this,arguments),n=this.__zoom,a=L(t);return o(Sb.translate(a[0],a[1]).scale(n.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof i?-i.apply(this,arguments):-i),t,c)})},_.prototype={start:function(){return 1==++this.active&&(this.index=d.push(this)-1,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(d.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(t){Tt(new wb(v,t,this.that.__zoom),f.apply,f,[t,this.that,this.args])}},v.wheelDelta=function(t){return arguments.length?(a="function"==typeof t?t:xb(+t),v):a},v.filter=function(t){return arguments.length?(n="function"==typeof t?t:xb(!!t),v):n},v.touchable=function(t){return arguments.length?(s="function"==typeof t?t:xb(!!t),v):s},v.extent=function(t){return arguments.length?(r="function"==typeof t?t:xb([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),v):r},v.scaleExtent=function(t){return arguments.length?(l[0]=+t[0],l[1]=+t[1],v):[l[0],l[1]]},v.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v.constrain=function(t){return arguments.length?(o=t,v):o},v.duration=function(t){return arguments.length?(u=+t,v):u},v.interpolate=function(t){return arguments.length?(h=t,v):h},v.on=function(){var t=f.on.apply(f,arguments);return t===f?v:t},v.clickDistance=function(t){return arguments.length?(m=(t=+t)*t,v):Math.sqrt(m)},v},t.zoomTransform=Cb,t.zoomIdentity=Sb,Object.defineProperty(t,"__esModule",{value:!0})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).c3=e()}(this,function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t){var e=this;e.d3=window.d3?window.d3:"undefined"!=typeof require?require("d3"):void 0,e.api=t,e.config=e.getDefaultConfig(),e.data={},e.cache={},e.axes={}}function i(t){this.internal=new e(this),this.internal.loadConfig(t),this.internal.beforeInit(t),this.internal.init(),this.internal.afterInit(t),function t(e,i,n){Object.keys(e).forEach(function(r){i[r]=e[r].bind(n),0<Object.keys(e[r]).length&&t(e[r],i[r],n)})}(i.prototype,this,this)}function n(t,e){var i=this;i.component=t,i.params=e||{},i.d3=t.d3,i.scale=i.d3.scaleLinear(),i.range,i.orient="bottom",i.innerTickSize=6,i.outerTickSize=this.params.withOuterTick?6:0,i.tickPadding=3,i.tickValues=null,i.tickFormat,i.tickArguments,i.tickOffset=0,i.tickCulling=!0,i.tickCentered,i.tickTextCharSize,i.tickTextRotate=i.params.tickTextRotate,i.tickLength,i.axis=i.generateAxis()}n.prototype.axisX=function(t,e,i){t.attr("transform",function(t){return"translate("+Math.ceil(e(t)+i)+", 0)"})},n.prototype.axisY=function(t,e){t.attr("transform",function(t){return"translate(0,"+Math.ceil(e(t))+")"})},n.prototype.scaleExtent=function(t){var e=t[0],i=t[t.length-1];return e<i?[e,i]:[i,e]},n.prototype.generateTicks=function(t){var e,i,n=[];if(t.ticks)return t.ticks.apply(t,this.tickArguments);for(i=t.domain(),e=Math.ceil(i[0]);e<i[1];e++)n.push(e);return 0<n.length&&0<n[0]&&n.unshift(n[0]-(n[1]-n[0])),n},n.prototype.copyScale=function(){var t,e=this.scale.copy();return this.params.isCategory&&(t=this.scale.domain(),e.domain([t[0],t[1]-1])),e},n.prototype.textFormatted=function(t){var e=this.tickFormat?this.tickFormat(t):t;return void 0!==e?e:""},n.prototype.updateRange=function(){var t=this;return t.range=t.scale.rangeExtent?t.scale.rangeExtent():t.scaleExtent(t.scale.range()),t.range},n.prototype.updateTickTextCharSize=function(t){var e=this;if(e.tickTextCharSize)return e.tickTextCharSize;var i={h:11.5,w:5.5};return t.select("text").text(function(t){return e.textFormatted(t)}).each(function(t){var n=this.getBoundingClientRect(),r=e.textFormatted(t),o=n.height,a=r?n.width/r.length:void 0;o&&a&&(i.h=o,i.w=a)}).text(""),e.tickTextCharSize=i},n.prototype.isVertical=function(){return"left"===this.orient||"right"===this.orient},n.prototype.tspanData=function(t,e,i){var n=this,r=n.params.tickMultiline?n.splitTickText(t,i):[].concat(n.textFormatted(t));return n.params.tickMultiline&&0<n.params.tickMultilineMax&&(r=n.ellipsify(r,n.params.tickMultilineMax)),r.map(function(t){return{index:e,splitted:t,length:r.length}})},n.prototype.splitTickText=function(t,e){var i,n,r,o=this,a=o.textFormatted(t),s=o.params.tickWidth;return"[object Array]"===Object.prototype.toString.call(a)?a:((!s||s<=0)&&(s=o.isVertical()?95:o.params.isCategory?Math.ceil(e(1)-e(0))-12:110),function t(e,a){n=void 0;for(var l=1;l<a.length;l++)if(" "===a.charAt(l)&&(n=l),i=a.substr(0,l+1),r=o.tickTextCharSize.w*i.length,s<r)return t(e.concat(a.substr(0,n||l)),a.slice(n?n+1:l));return e.concat(a)}([],a+""))},n.prototype.ellipsify=function(t,e){if(t.length<=e)return t;for(var i=t.slice(0,e),n=3,r=e-1;0<=r;r--){var o=i[r].length;if(i[r]=i[r].substr(0,o-n).padEnd(o,"."),(n-=o)<=0)break}return i},n.prototype.updateTickLength=function(){this.tickLength=Math.max(this.innerTickSize,0)+this.tickPadding},n.prototype.lineY2=function(t){var e=this,i=e.scale(t)+(e.tickCentered?0:e.tickOffset);return e.range[0]<i&&i<e.range[1]?e.innerTickSize:0},n.prototype.textY=function(){var t=this.tickTextRotate;return t?11.5-t/15*2.5*(0<t?1:-1):this.tickLength},n.prototype.textTransform=function(){var t=this.tickTextRotate;return t?"rotate("+t+")":""},n.prototype.textTextAnchor=function(){var t=this.tickTextRotate;return t?0<t?"start":"end":"middle"},n.prototype.tspanDx=function(){var t=this.tickTextRotate;return t?8*Math.sin(Math.PI*(t/180)):0},n.prototype.tspanDy=function(t,e){var i=this.tickTextCharSize.h;return 0===e&&(i=this.isVertical()?-((t.length-1)*(this.tickTextCharSize.h/2)-3):".71em"),i},n.prototype.generateAxis=function(){var t=this,e=t.d3,i=t.params;function n(r,o){var a;return r.each(function(){var r,s,l,c=n.g=e.select(this),u=this.__chart__||t.scale,h=this.__chart__=t.copyScale(),d=t.tickValues?t.tickValues:t.generateTicks(h),f=c.selectAll(".tick").data(d,h),p=f.enter().insert("g",".domain").attr("class","tick").style("opacity",1e-6),g=f.exit().remove(),m=f.merge(p);i.isCategory?(t.tickOffset=Math.ceil((h(1)-h(0))/2),s=t.tickCentered?0:t.tickOffset,l=t.tickCentered?t.tickOffset:0):t.tickOffset=s=0,t.updateRange(),t.updateTickLength(),t.updateTickTextCharSize(c.select(".tick"));var v=m.select("line").merge(p.append("line")),y=m.select("text").merge(p.append("text")),b=m.selectAll("text").selectAll("tspan").data(function(e,i){return t.tspanData(e,i,h)}),L=b.enter().append("tspan").merge(b).text(function(t){return t.splitted});b.exit().remove();var x=c.selectAll(".domain").data([0]),w=x.enter().append("path").merge(x).attr("class","domain");switch(t.orient){case"bottom":r=t.axisX,v.attr("x1",s).attr("x2",s).attr("y2",function(e,i){return t.lineY2(e,i)}),y.attr("x",0).attr("y",function(e,i){return t.textY(e,i)}).attr("transform",function(e,i){return t.textTransform(e,i)}).style("text-anchor",function(e,i){return t.textTextAnchor(e,i)}),L.attr("x",0).attr("dy",function(e,i){return t.tspanDy(e,i)}).attr("dx",function(e,i){return t.tspanDx(e,i)}),w.attr("d","M"+t.range[0]+","+t.outerTickSize+"V0H"+t.range[1]+"V"+t.outerTickSize);break;case"top":r=t.axisX,v.attr("x1",s).attr("x2",s).attr("y2",function(e,i){return-1*t.lineY2(e,i)}),y.attr("x",0).attr("y",function(e,n){return-1*t.textY(e,n)-(i.isCategory?2:t.tickLength-2)}).attr("transform",function(e,i){return t.textTransform(e,i)}).style("text-anchor",function(e,i){return t.textTextAnchor(e,i)}),L.attr("x",0).attr("dy",function(e,i){return t.tspanDy(e,i)}).attr("dx",function(e,i){return t.tspanDx(e,i)}),w.attr("d","M"+t.range[0]+","+-t.outerTickSize+"V0H"+t.range[1]+"V"+-t.outerTickSize);break;case"left":r=t.axisY,v.attr("x2",-t.innerTickSize).attr("y1",l).attr("y2",l),y.attr("x",-t.tickLength).attr("y",t.tickOffset).style("text-anchor","end"),L.attr("x",-t.tickLength).attr("dy",function(e,i){return t.tspanDy(e,i)}),w.attr("d","M"+-t.outerTickSize+","+t.range[0]+"H0V"+t.range[1]+"H"+-t.outerTickSize);break;case"right":r=t.axisY,v.attr("x2",t.innerTickSize).attr("y1",l).attr("y2",l),y.attr("x",t.tickLength).attr("y",t.tickOffset).style("text-anchor","start"),L.attr("x",t.tickLength).attr("dy",function(e,i){return t.tspanDy(e,i)}),w.attr("d","M"+t.outerTickSize+","+t.range[0]+"H0V"+t.range[1]+"H"+t.outerTickSize)}if(h.rangeBand){var _=h,S=_.rangeBand()/2;u=h=function(t){return _(t)+S}}else u.rangeBand?u=h:g.call(r,h,t.tickOffset);p.call(r,u,t.tickOffset),a=(o?m.transition(o):m).style("opacity",1).call(r,h,t.tickOffset)}),a}return n.scale=function(e){return arguments.length?(t.scale=e,n):t.scale},n.orient=function(e){return arguments.length?(t.orient=e in{top:1,right:1,bottom:1,left:1}?e+"":"bottom",n):t.orient},n.tickFormat=function(e){return arguments.length?(t.tickFormat=e,n):t.tickFormat},n.tickCentered=function(e){return arguments.length?(t.tickCentered=e,n):t.tickCentered},n.tickOffset=function(){return t.tickOffset},n.tickInterval=function(){var e;return(e=i.isCategory?2*t.tickOffset:(n.g.select("path.domain").node().getTotalLength()-2*t.outerTickSize)/n.g.selectAll("line").size())==1/0?0:e},n.ticks=function(){return arguments.length?(t.tickArguments=arguments,n):t.tickArguments},n.tickCulling=function(e){return arguments.length?(t.tickCulling=e,n):t.tickCulling},n.tickValues=function(e){if("function"==typeof e)t.tickValues=function(){return e(t.scale.domain())};else{if(!arguments.length)return t.tickValues;t.tickValues=e}return n},n};var r={target:"c3-target",chart:"c3-chart",chartLine:"c3-chart-line",chartLines:"c3-chart-lines",chartBar:"c3-chart-bar",chartBars:"c3-chart-bars",chartText:"c3-chart-text",chartTexts:"c3-chart-texts",chartArc:"c3-chart-arc",chartArcs:"c3-chart-arcs",chartArcsTitle:"c3-chart-arcs-title",chartArcsBackground:"c3-chart-arcs-background",chartArcsGaugeUnit:"c3-chart-arcs-gauge-unit",chartArcsGaugeMax:"c3-chart-arcs-gauge-max",chartArcsGaugeMin:"c3-chart-arcs-gauge-min",selectedCircle:"c3-selected-circle",selectedCircles:"c3-selected-circles",eventRect:"c3-event-rect",eventRects:"c3-event-rects",eventRectsSingle:"c3-event-rects-single",eventRectsMultiple:"c3-event-rects-multiple",zoomRect:"c3-zoom-rect",brush:"c3-brush",dragZoom:"c3-drag-zoom",focused:"c3-focused",defocused:"c3-defocused",region:"c3-region",regions:"c3-regions",title:"c3-title",tooltipContainer:"c3-tooltip-container",tooltip:"c3-tooltip",tooltipName:"c3-tooltip-name",shape:"c3-shape",shapes:"c3-shapes",line:"c3-line",lines:"c3-lines",bar:"c3-bar",bars:"c3-bars",circle:"c3-circle",circles:"c3-circles",arc:"c3-arc",arcLabelLine:"c3-arc-label-line",arcs:"c3-arcs",area:"c3-area",areas:"c3-areas",empty:"c3-empty",text:"c3-text",texts:"c3-texts",gaugeValue:"c3-gauge-value",grid:"c3-grid",gridLines:"c3-grid-lines",xgrid:"c3-xgrid",xgrids:"c3-xgrids",xgridLine:"c3-xgrid-line",xgridLines:"c3-xgrid-lines",xgridFocus:"c3-xgrid-focus",ygrid:"c3-ygrid",ygrids:"c3-ygrids",ygridLine:"c3-ygrid-line",ygridLines:"c3-ygrid-lines",axis:"c3-axis",axisX:"c3-axis-x",axisXLabel:"c3-axis-x-label",axisY:"c3-axis-y",axisYLabel:"c3-axis-y-label",axisY2:"c3-axis-y2",axisY2Label:"c3-axis-y2-label",legendBackground:"c3-legend-background",legendItem:"c3-legend-item",legendItemEvent:"c3-legend-item-event",legendItemTile:"c3-legend-item-tile",legendItemHidden:"c3-legend-item-hidden",legendItemFocused:"c3-legend-item-focused",dragarea:"c3-dragarea",EXPANDED:"_expanded_",SELECTED:"_selected_",INCLUDED:"_included_"},o=function(t){return Math.ceil(t)+.5},a=function(t){return 10*Math.ceil(t/10)},s=function(t){return t[1]-t[0]},l=function(t,e,i){return h(t[e])?t[e]:i},c=function(t){var e=t.getBoundingClientRect(),i=[t.pathSegList.getItem(0),t.pathSegList.getItem(1)];return{x:i[0].x,y:Math.min(i[0].y,i[1].y),width:e.width,height:e.height}},u=function(t){return Array.isArray(t)},h=function(t){return void 0!==t},d=function(e){return null==e||p(e)&&0===e.length||"object"===t(e)&&0===Object.keys(e).length},f=function(t){return"function"==typeof t},p=function(t){return"string"==typeof t},g=function(t){return void 0===t},m=function(t){return t||0===t},v=function(t){return!d(t)},y=function(t){return"string"==typeof t?t.replace(/</g,"&lt;").replace(/>/g,"&gt;"):t},b=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.owner=e,this.d3=e.d3,this.internal=n};b.prototype.init=function(){var t=this.owner,e=t.config,i=t.main;t.axes.x=i.append("g").attr("class",r.axis+" "+r.axisX).attr("clip-path",e.axis_x_inner?"":t.clipPathForXAxis).attr("transform",t.getTranslate("x")).style("visibility",e.axis_x_show?"visible":"hidden"),t.axes.x.append("text").attr("class",r.axisXLabel).attr("transform",e.axis_rotated?"rotate(-90)":"").style("text-anchor",this.textAnchorForXAxisLabel.bind(this)),t.axes.y=i.append("g").attr("class",r.axis+" "+r.axisY).attr("clip-path",e.axis_y_inner?"":t.clipPathForYAxis).attr("transform",t.getTranslate("y")).style("visibility",e.axis_y_show?"visible":"hidden"),t.axes.y.append("text").attr("class",r.axisYLabel).attr("transform",e.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForYAxisLabel.bind(this)),t.axes.y2=i.append("g").attr("class",r.axis+" "+r.axisY2).attr("transform",t.getTranslate("y2")).style("visibility",e.axis_y2_show?"visible":"hidden"),t.axes.y2.append("text").attr("class",r.axisY2Label).attr("transform",e.axis_rotated?"":"rotate(-90)").style("text-anchor",this.textAnchorForY2AxisLabel.bind(this))},b.prototype.getXAxis=function(t,e,i,n,r,o,a){var s=this.owner,l=s.config,c={isCategory:s.isCategorized(),withOuterTick:r,tickMultiline:l.axis_x_tick_multiline,tickMultilineMax:l.axis_x_tick_multiline?Number(l.axis_x_tick_multilineMax):0,tickWidth:l.axis_x_tick_width,tickTextRotate:a?0:l.axis_x_tick_rotate,withoutTransition:o},u=new this.internal(this,c).axis.scale(t).orient(e);return s.isTimeSeries()&&n&&"function"!=typeof n&&(n=n.map(function(t){return s.parseDate(t)})),u.tickFormat(i).tickValues(n),s.isCategorized()&&(u.tickCentered(l.axis_x_tick_centered),d(l.axis_x_tick_culling)&&(l.axis_x_tick_culling=!1)),u},b.prototype.updateXAxisTickValues=function(t,e){var i,n=this.owner,r=n.config;return(r.axis_x_tick_fit||r.axis_x_tick_count)&&(i=this.generateTickValues(n.mapTargetsToUniqueXs(t),r.axis_x_tick_count,n.isTimeSeries())),e?e.tickValues(i):(n.xAxis.tickValues(i),n.subXAxis.tickValues(i)),i},b.prototype.getYAxis=function(t,e,i,n,r,o,a){var s=this.owner,l=s.config,c={withOuterTick:r,withoutTransition:o,tickTextRotate:a?0:l.axis_y_tick_rotate},u=new this.internal(this,c).axis.scale(t).orient(e).tickFormat(i);return s.isTimeSeriesY()?u.ticks(l.axis_y_tick_time_type,l.axis_y_tick_time_interval):u.tickValues(n),u},b.prototype.getId=function(t){var e=this.owner.config;return t in e.data_axes?e.data_axes[t]:"y"},b.prototype.getXAxisTickFormat=function(){var t=this.owner,e=t.config,i=t.isTimeSeries()?t.defaultAxisTimeFormat:t.isCategorized()?t.categoryName:function(t){return t};return e.axis_x_tick_format&&(f(e.axis_x_tick_format)?i=e.axis_x_tick_format:t.isTimeSeries()&&(i=function(i){return i?t.axisTimeFormat(e.axis_x_tick_format)(i):""})),f(i)?function(e){return i.call(t,e)}:i},b.prototype.getTickValues=function(t,e){return t||(e?e.tickValues():void 0)},b.prototype.getXAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_x_tick_values,this.owner.xAxis)},b.prototype.getYAxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y_tick_values,this.owner.yAxis)},b.prototype.getY2AxisTickValues=function(){return this.getTickValues(this.owner.config.axis_y2_tick_values,this.owner.y2Axis)},b.prototype.getLabelOptionByAxisId=function(t){var e,i=this.owner.config;return"y"===t?e=i.axis_y_label:"y2"===t?e=i.axis_y2_label:"x"===t&&(e=i.axis_x_label),e},b.prototype.getLabelText=function(t){var e=this.getLabelOptionByAxisId(t);return p(e)?e:e?e.text:null},b.prototype.setLabelText=function(t,e){var i=this.owner.config,n=this.getLabelOptionByAxisId(t);p(n)?"y"===t?i.axis_y_label=e:"y2"===t?i.axis_y2_label=e:"x"===t&&(i.axis_x_label=e):n&&(n.text=e)},b.prototype.getLabelPosition=function(e,i){var n=this.getLabelOptionByAxisId(e),r=n&&"object"===t(n)&&n.position?n.position:i;return{isInner:0<=r.indexOf("inner"),isOuter:0<=r.indexOf("outer"),isLeft:0<=r.indexOf("left"),isCenter:0<=r.indexOf("center"),isRight:0<=r.indexOf("right"),isTop:0<=r.indexOf("top"),isMiddle:0<=r.indexOf("middle"),isBottom:0<=r.indexOf("bottom")}},b.prototype.getXAxisLabelPosition=function(){return this.getLabelPosition("x",this.owner.config.axis_rotated?"inner-top":"inner-right")},b.prototype.getYAxisLabelPosition=function(){return this.getLabelPosition("y",this.owner.config.axis_rotated?"inner-right":"inner-top")},b.prototype.getY2AxisLabelPosition=function(){return this.getLabelPosition("y2",this.owner.config.axis_rotated?"inner-right":"inner-top")},b.prototype.getLabelPositionById=function(t){return"y2"===t?this.getY2AxisLabelPosition():"y"===t?this.getYAxisLabelPosition():this.getXAxisLabelPosition()},b.prototype.textForXAxisLabel=function(){return this.getLabelText("x")},b.prototype.textForYAxisLabel=function(){return this.getLabelText("y")},b.prototype.textForY2AxisLabel=function(){return this.getLabelText("y2")},b.prototype.xForAxisLabel=function(t,e){var i=this.owner;return t?e.isLeft?0:e.isCenter?i.width/2:i.width:e.isBottom?-i.height:e.isMiddle?-i.height/2:0},b.prototype.dxForAxisLabel=function(t,e){return t?e.isLeft?"0.5em":e.isRight?"-0.5em":"0":e.isTop?"-0.5em":e.isBottom?"0.5em":"0"},b.prototype.textAnchorForAxisLabel=function(t,e){return t?e.isLeft?"start":e.isCenter?"middle":"end":e.isBottom?"start":e.isMiddle?"middle":"end"},b.prototype.xForXAxisLabel=function(){return this.xForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},b.prototype.xForYAxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},b.prototype.xForY2AxisLabel=function(){return this.xForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},b.prototype.dxForXAxisLabel=function(){return this.dxForAxisLabel(!this.owner.config.axis_rotated,this.getXAxisLabelPosition())},b.prototype.dxForYAxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getYAxisLabelPosition())},b.prototype.dxForY2AxisLabel=function(){return this.dxForAxisLabel(this.owner.config.axis_rotated,this.getY2AxisLabelPosition())},b.prototype.dyForXAxisLabel=function(){var t=this.owner,e=t.config,i=this.getXAxisLabelPosition();return e.axis_rotated?i.isInner?"1.2em":-25-(t.config.axis_x_inner?0:this.getMaxTickWidth("x")):i.isInner?"-0.5em":e.axis_x_height?e.axis_x_height-10:"3em"},b.prototype.dyForYAxisLabel=function(){var t=this.owner,e=this.getYAxisLabelPosition();return t.config.axis_rotated?e.isInner?"-0.5em":"3em":e.isInner?"1.2em":-10-(t.config.axis_y_inner?0:this.getMaxTickWidth("y")+10)},b.prototype.dyForY2AxisLabel=function(){var t=this.owner,e=this.getY2AxisLabelPosition();return t.config.axis_rotated?e.isInner?"1.2em":"-2.2em":e.isInner?"-0.5em":15+(t.config.axis_y2_inner?0:this.getMaxTickWidth("y2")+15)},b.prototype.textAnchorForXAxisLabel=function(){var t=this.owner;return this.textAnchorForAxisLabel(!t.config.axis_rotated,this.getXAxisLabelPosition())},b.prototype.textAnchorForYAxisLabel=function(){var t=this.owner;return this.textAnchorForAxisLabel(t.config.axis_rotated,this.getYAxisLabelPosition())},b.prototype.textAnchorForY2AxisLabel=function(){var t=this.owner;return this.textAnchorForAxisLabel(t.config.axis_rotated,this.getY2AxisLabelPosition())},b.prototype.getMaxTickWidth=function(t,e){var i,n,r,o,a=this.owner,s=a.config,l=0;return e&&a.currentMaxTickWidths[t]||(a.svg&&(i=a.filterTargetsToShow(a.data.targets),"y"===t?(n=a.y.copy().domain(a.getYDomain(i,"y")),r=this.getYAxis(n,a.yOrient,s.axis_y_tick_format,a.yAxisTickValues,!1,!0,!0)):"y2"===t?(n=a.y2.copy().domain(a.getYDomain(i,"y2")),r=this.getYAxis(n,a.y2Orient,s.axis_y2_tick_format,a.y2AxisTickValues,!1,!0,!0)):(n=a.x.copy().domain(a.getXDomain(i)),r=this.getXAxis(n,a.xOrient,a.xAxisTickFormat,a.xAxisTickValues,!1,!0,!0),this.updateXAxisTickValues(i,r)),(o=a.d3.select("body").append("div").classed("c3",!0)).append("svg").style("visibility","hidden").style("position","fixed").style("top",0).style("left",0).append("g").call(r).each(function(){a.d3.select(this).selectAll("text").each(function(){var t=this.getBoundingClientRect();l<t.width&&(l=t.width)}),o.remove()})),a.currentMaxTickWidths[t]=l<=0?a.currentMaxTickWidths[t]:l),a.currentMaxTickWidths[t]},b.prototype.updateLabels=function(t){var e=this.owner,i=e.main.select("."+r.axisX+" ."+r.axisXLabel),n=e.main.select("."+r.axisY+" ."+r.axisYLabel),o=e.main.select("."+r.axisY2+" ."+r.axisY2Label);(t?i.transition():i).attr("x",this.xForXAxisLabel.bind(this)).attr("dx",this.dxForXAxisLabel.bind(this)).attr("dy",this.dyForXAxisLabel.bind(this)).text(this.textForXAxisLabel.bind(this)),(t?n.transition():n).attr("x",this.xForYAxisLabel.bind(this)).attr("dx",this.dxForYAxisLabel.bind(this)).attr("dy",this.dyForYAxisLabel.bind(this)).text(this.textForYAxisLabel.bind(this)),(t?o.transition():o).attr("x",this.xForY2AxisLabel.bind(this)).attr("dx",this.dxForY2AxisLabel.bind(this)).attr("dy",this.dyForY2AxisLabel.bind(this)).text(this.textForY2AxisLabel.bind(this))},b.prototype.getPadding=function(t,e,i,n){var r="number"==typeof t?t:t[e];return m(r)?"ratio"===t.unit?t[e]*n:this.convertPixelsToAxisPadding(r,n):i},b.prototype.convertPixelsToAxisPadding=function(t,e){var i=this.owner;return e*(t/(i.config.axis_rotated?i.width:i.height))},b.prototype.generateTickValues=function(t,e,i){var n,r,o,a,s,l,c,u=t;if(e)if(1===(n=f(e)?e():e))u=[t[0]];else if(2===n)u=[t[0],t[t.length-1]];else if(2<n){for(a=n-2,r=t[0],s=((o=t[t.length-1])-r)/(a+1),u=[r],l=0;l<a;l++)c=+r+s*(l+1),u.push(i?new Date(c):c);u.push(o)}return i||(u=u.sort(function(t,e){return t-e})),u},b.prototype.generateTransitions=function(t){var e=this.owner.axes;return{axisX:t?e.x.transition().duration(t):e.x,axisY:t?e.y.transition().duration(t):e.y,axisY2:t?e.y2.transition().duration(t):e.y2,axisSubX:t?e.subx.transition().duration(t):e.subx}},b.prototype.redraw=function(t,e){var i=this.owner,n=t?i.d3.transition().duration(t):null;i.axes.x.style("opacity",e?0:1).call(i.xAxis,n),i.axes.y.style("opacity",e?0:1).call(i.yAxis,n),i.axes.y2.style("opacity",e?0:1).call(i.y2Axis,n),i.axes.subx.style("opacity",e?0:1).call(i.subXAxis,n)};var L={version:"0.6.14",chart:{fn:i.prototype,internal:{fn:e.prototype,axis:{fn:b.prototype,internal:{fn:n.prototype}}}},generate:function(t){return new i(t)}};return e.prototype.beforeInit=function(){},e.prototype.afterInit=function(){},e.prototype.init=function(){var t=this,e=t.config;if(t.initParams(),e.data_url)t.convertUrlToData(e.data_url,e.data_mimeType,e.data_headers,e.data_keys,t.initWithData);else if(e.data_json)t.initWithData(t.convertJsonToData(e.data_json,e.data_keys));else if(e.data_rows)t.initWithData(t.convertRowsToData(e.data_rows));else{if(!e.data_columns)throw Error("url or json or rows or columns is required.");t.initWithData(t.convertColumnsToData(e.data_columns))}},e.prototype.initParams=function(){var t=this,e=t.d3,i=t.config;t.clipId="c3-"+ +new Date+"-clip",t.clipIdForXAxis=t.clipId+"-xaxis",t.clipIdForYAxis=t.clipId+"-yaxis",t.clipIdForGrid=t.clipId+"-grid",t.clipIdForSubchart=t.clipId+"-subchart",t.clipPath=t.getClipPath(t.clipId),t.clipPathForXAxis=t.getClipPath(t.clipIdForXAxis),t.clipPathForYAxis=t.getClipPath(t.clipIdForYAxis),t.clipPathForGrid=t.getClipPath(t.clipIdForGrid),t.clipPathForSubchart=t.getClipPath(t.clipIdForSubchart),t.dragStart=null,t.dragging=!1,t.flowing=!1,t.cancelClick=!1,t.mouseover=!1,t.transiting=!1,t.color=t.generateColor(),t.levelColor=t.generateLevelColor(),t.dataTimeParse=(i.data_xLocaltime?e.timeParse:e.utcParse)(t.config.data_xFormat),t.axisTimeFormat=i.axis_x_localtime?e.timeFormat:e.utcFormat,t.defaultAxisTimeFormat=function(t){return t.getMilliseconds()?e.timeFormat(".%L")(t):t.getSeconds()?e.timeFormat(":%S")(t):t.getMinutes()?e.timeFormat("%I:%M")(t):t.getHours()?e.timeFormat("%I %p")(t):t.getDay()&&1!==t.getDate()?e.timeFormat("%-m/%-d")(t):1!==t.getDate()?e.timeFormat("%-m/%-d")(t):t.getMonth()?e.timeFormat("%-m/%-d")(t):e.timeFormat("%Y/%-m/%-d")(t)},t.hiddenTargetIds=[],t.hiddenLegendIds=[],t.focusedTargetIds=[],t.defocusedTargetIds=[],t.xOrient=i.axis_rotated?i.axis_x_inner?"right":"left":i.axis_x_inner?"top":"bottom",t.yOrient=i.axis_rotated?i.axis_y_inner?"top":"bottom":i.axis_y_inner?"right":"left",t.y2Orient=i.axis_rotated?i.axis_y2_inner?"bottom":"top":i.axis_y2_inner?"left":"right",t.subXOrient=i.axis_rotated?"left":"bottom",t.isLegendRight="right"===i.legend_position,t.isLegendInset="inset"===i.legend_position,t.isLegendTop="top-left"===i.legend_inset_anchor||"top-right"===i.legend_inset_anchor,t.isLegendLeft="top-left"===i.legend_inset_anchor||"bottom-left"===i.legend_inset_anchor,t.legendStep=0,t.legendItemWidth=0,t.legendItemHeight=0,t.currentMaxTickWidths={x:0,y:0,y2:0},t.rotated_padding_left=30,t.rotated_padding_right=i.axis_rotated&&!i.axis_x_show?0:30,t.rotated_padding_top=5,t.withoutFadeIn={},t.intervalForObserveInserted=void 0,t.axes.subx=e.selectAll([])},e.prototype.initChartElements=function(){this.initBar&&this.initBar(),this.initLine&&this.initLine(),this.initArc&&this.initArc(),this.initGauge&&this.initGauge(),this.initText&&this.initText()},e.prototype.initWithData=function(t){var e,i,n=this,o=n.d3,a=n.config,s=!0;n.axis=new b(n),a.bindto?"function"==typeof a.bindto.node?n.selectChart=a.bindto:n.selectChart=o.select(a.bindto):n.selectChart=o.selectAll([]),n.selectChart.empty()&&(n.selectChart=o.select(document.createElement("div")).style("opacity",0),n.observeInserted(n.selectChart),s=!1),n.selectChart.html("").classed("c3",!0),n.data.xs={},n.data.targets=n.convertDataToTargets(t),a.data_filter&&(n.data.targets=n.data.targets.filter(a.data_filter)),a.data_hide&&n.addHiddenTargetIds(!0===a.data_hide?n.mapToIds(n.data.targets):a.data_hide),a.legend_hide&&n.addHiddenLegendIds(!0===a.legend_hide?n.mapToIds(n.data.targets):a.legend_hide),n.updateSizes(),n.updateScales(),n.x.domain(o.extent(n.getXDomain(n.data.targets))),n.y.domain(n.getYDomain(n.data.targets,"y")),n.y2.domain(n.getYDomain(n.data.targets,"y2")),n.subX.domain(n.x.domain()),n.subY.domain(n.y.domain()),n.subY2.domain(n.y2.domain()),n.orgXDomain=n.x.domain(),n.svg=n.selectChart.append("svg").style("overflow","hidden").on("mouseenter",function(){return a.onmouseover.call(n)}).on("mouseleave",function(){return a.onmouseout.call(n)}),n.config.svg_classname&&n.svg.attr("class",n.config.svg_classname),e=n.svg.append("defs"),n.clipChart=n.appendClip(e,n.clipId),n.clipXAxis=n.appendClip(e,n.clipIdForXAxis),n.clipYAxis=n.appendClip(e,n.clipIdForYAxis),n.clipGrid=n.appendClip(e,n.clipIdForGrid),n.clipSubchart=n.appendClip(e,n.clipIdForSubchart),n.updateSvgSize(),i=n.main=n.svg.append("g").attr("transform",n.getTranslate("main")),n.initPie&&n.initPie(),n.initDragZoom&&n.initDragZoom(),n.initSubchart&&n.initSubchart(),n.initTooltip&&n.initTooltip(),n.initLegend&&n.initLegend(),n.initTitle&&n.initTitle(),n.initZoom&&n.initZoom(),n.initSubchartBrush&&n.initSubchartBrush(),i.append("text").attr("class",r.text+" "+r.empty).attr("text-anchor","middle").attr("dominant-baseline","middle"),n.initRegion(),n.initGrid(),i.append("g").attr("clip-path",n.clipPath).attr("class",r.chart),a.grid_lines_front&&n.initGridLines(),n.initEventRect(),n.initChartElements(),n.axis.init(),n.updateTargets(n.data.targets),a.axis_x_selection&&n.brush.selectionAsValue(n.getDefaultSelection()),s&&(n.updateDimension(),n.config.oninit.call(n),n.redraw({withTransition:!1,withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransitionForAxis:!1})),n.bindResize(),n.bindWindowFocus(),n.api.element=n.selectChart.node()},e.prototype.smoothLines=function(t,e){var i=this;"grid"===e&&t.each(function(){var t=i.d3.select(this),e=t.attr("x1"),n=t.attr("x2"),r=t.attr("y1"),o=t.attr("y2");t.attr({x1:Math.ceil(e),x2:Math.ceil(n),y1:Math.ceil(r),y2:Math.ceil(o)})})},e.prototype.updateSizes=function(){var t=this,e=t.config,i=t.legend?t.getLegendHeight():0,n=t.legend?t.getLegendWidth():0,r=t.isLegendRight||t.isLegendInset?0:i,o=t.hasArcType(),a=e.axis_rotated||o?0:t.getHorizontalAxisHeight("x"),s=e.subchart_show&&!o?e.subchart_size_height+a:0;t.currentWidth=t.getCurrentWidth(),t.currentHeight=t.getCurrentHeight(),t.margin=e.axis_rotated?{top:t.getHorizontalAxisHeight("y2")+t.getCurrentPaddingTop(),right:o?0:t.getCurrentPaddingRight(),bottom:t.getHorizontalAxisHeight("y")+r+t.getCurrentPaddingBottom(),left:s+(o?0:t.getCurrentPaddingLeft())}:{top:4+t.getCurrentPaddingTop(),right:o?0:t.getCurrentPaddingRight(),bottom:a+s+r+t.getCurrentPaddingBottom(),left:o?0:t.getCurrentPaddingLeft()},t.margin2=e.axis_rotated?{top:t.margin.top,right:NaN,bottom:20+r,left:t.rotated_padding_left}:{top:t.currentHeight-s-r,right:NaN,bottom:a+r,left:t.margin.left},t.margin3={top:0,right:NaN,bottom:0,left:0},t.updateSizeForLegend&&t.updateSizeForLegend(i,n),t.width=t.currentWidth-t.margin.left-t.margin.right,t.height=t.currentHeight-t.margin.top-t.margin.bottom,t.width<0&&(t.width=0),t.height<0&&(t.height=0),t.width2=e.axis_rotated?t.margin.left-t.rotated_padding_left-t.rotated_padding_right:t.width,t.height2=e.axis_rotated?t.height:t.currentHeight-t.margin2.top-t.margin2.bottom,t.width2<0&&(t.width2=0),t.height2<0&&(t.height2=0),t.arcWidth=t.width-(t.isLegendRight?n+10:0),t.arcHeight=t.height-(t.isLegendRight?0:10),t.hasType("gauge")&&!e.gauge_fullCircle&&(t.arcHeight+=t.height-t.getGaugeLabelHeight()),t.updateRadius&&t.updateRadius(),t.isLegendRight&&o&&(t.margin3.left=t.arcWidth/2+1.1*t.radiusExpanded)},e.prototype.updateTargets=function(t){var e=this;e.updateTargetsForText(t),e.updateTargetsForBar(t),e.updateTargetsForLine(t),e.hasArcType()&&e.updateTargetsForArc&&e.updateTargetsForArc(t),e.updateTargetsForSubchart&&e.updateTargetsForSubchart(t),e.showTargets()},e.prototype.showTargets=function(){var t=this;t.svg.selectAll("."+r.target).filter(function(e){return t.isTargetToShow(e.id)}).transition().duration(t.config.transition_duration).style("opacity",1)},e.prototype.redraw=function(t,e){var i,n,o,a,s,c,u,h,d,f,p,g,m,v,y,b,L,x,w,_,S,C,k,T,E,A,M,D,P,O,I,N=this,R=N.main,F=N.d3,B=N.config,z=N.getShapeIndices(N.isAreaType),H=N.getShapeIndices(N.isBarType),V=N.getShapeIndices(N.isLineType),j=N.hasArcType(),W=N.filterTargetsToShow(N.data.targets),U=N.xv.bind(N);if(i=l(t=t||{},"withY",!0),n=l(t,"withSubchart",!0),o=l(t,"withTransition",!0),c=l(t,"withTransform",!1),u=l(t,"withUpdateXDomain",!1),h=l(t,"withUpdateOrgXDomain",!1),d=l(t,"withTrimXDomain",!0),m=l(t,"withUpdateXAxis",u),f=l(t,"withLegend",!1),p=l(t,"withEventRect",!0),g=l(t,"withDimension",!0),a=l(t,"withTransitionForExit",o),s=l(t,"withTransitionForAxis",o),w=o?B.transition_duration:0,_=a?w:0,S=s?w:0,e=e||N.axis.generateTransitions(S),f&&B.legend_show?N.updateLegend(N.mapToIds(N.data.targets),t,e):g&&N.updateDimension(!0),N.isCategorized()&&0===W.length&&N.x.domain([0,N.axes.x.selectAll(".tick").size()]),W.length?(N.updateXDomain(W,u,h,d),B.axis_x_tick_values||(A=N.axis.updateXAxisTickValues(W))):(N.xAxis.tickValues([]),N.subXAxis.tickValues([])),B.zoom_rescale&&!t.flow&&(P=N.x.orgDomain()),N.y.domain(N.getYDomain(W,"y",P)),N.y2.domain(N.getYDomain(W,"y2",P)),!B.axis_y_tick_values&&B.axis_y_tick_count&&N.yAxis.tickValues(N.axis.generateTickValues(N.y.domain(),B.axis_y_tick_count)),!B.axis_y2_tick_values&&B.axis_y2_tick_count&&N.y2Axis.tickValues(N.axis.generateTickValues(N.y2.domain(),B.axis_y2_tick_count)),N.axis.redraw(S,j),N.axis.updateLabels(o),(u||m)&&W.length)if(B.axis_x_tick_culling&&A){for(M=1;M<A.length;M++)if(A.length/M<B.axis_x_tick_culling_max){D=M;break}N.svg.selectAll("."+r.axisX+" .tick text").each(function(t){var e=A.indexOf(t);0<=e&&F.select(this).style("display",e%D?"none":"block")})}else N.svg.selectAll("."+r.axisX+" .tick text").style("display","block");v=N.generateDrawArea?N.generateDrawArea(z,!1):void 0,y=N.generateDrawBar?N.generateDrawBar(H):void 0,b=N.generateDrawLine?N.generateDrawLine(V,!1):void 0,L=N.generateXYForText(z,H,V,!0),x=N.generateXYForText(z,H,V,!1),N.updateCircleY(),O=(N.config.axis_rotated?N.circleY:N.circleX).bind(N),I=(N.config.axis_rotated?N.circleX:N.circleY).bind(N),i&&(N.subY.domain(N.getYDomain(W,"y")),N.subY2.domain(N.getYDomain(W,"y2"))),N.updateXgridFocus(),R.select("text."+r.text+"."+r.empty).attr("x",N.width/2).attr("y",N.height/2).text(B.data_empty_label_text).transition().style("opacity",W.length?0:1),p&&N.redrawEventRect(),N.updateGrid(w),N.updateRegion(w),N.updateBar(_),N.updateLine(_),N.updateArea(_),N.updateCircle(O,I),N.hasDataLabel()&&N.updateText(L,x,_),N.redrawTitle&&N.redrawTitle(),N.redrawArc&&N.redrawArc(w,_,c),N.redrawSubchart&&N.redrawSubchart(n,e,w,_,z,H,V),R.selectAll("."+r.selectedCircles).filter(N.isBarType.bind(N)).selectAll("circle").remove(),t.flow&&(T=N.generateFlow({targets:W,flow:t.flow,duration:t.flow.duration,drawBar:y,drawLine:b,drawArea:v,cx:O,cy:I,xv:U,xForText:L,yForText:x})),N.isTabVisible()&&(w?(E=F.transition().duration(w),C=[],[N.redrawBar(y,!0,E),N.redrawLine(b,!0,E),N.redrawArea(v,!0,E),N.redrawCircle(O,I,!0,E),N.redrawText(L,x,t.flow,!0,E),N.redrawRegion(!0,E),N.redrawGrid(!0,E)].forEach(function(t){t.forEach(function(t){C.push(t)})}),k=N.generateWait(),C.forEach(function(t){k.add(t)}),k(function(){T&&T(),B.onrendered&&B.onrendered.call(N)})):(N.redrawBar(y),N.redrawLine(b),N.redrawArea(v),N.redrawCircle(O,I),N.redrawText(L,x,t.flow),N.redrawRegion(),N.redrawGrid(),T&&T(),B.onrendered&&B.onrendered.call(N))),N.mapToIds(N.data.targets).forEach(function(t){N.withoutFadeIn[t]=!0})},e.prototype.updateAndRedraw=function(t){var e,i=this,n=i.config;(t=t||{}).withTransition=l(t,"withTransition",!0),t.withTransform=l(t,"withTransform",!1),t.withLegend=l(t,"withLegend",!1),t.withUpdateXDomain=l(t,"withUpdateXDomain",!0),t.withUpdateOrgXDomain=l(t,"withUpdateOrgXDomain",!0),t.withTransitionForExit=!1,t.withTransitionForTransform=l(t,"withTransitionForTransform",t.withTransition),i.updateSizes(),t.withLegend&&n.legend_show||(e=i.axis.generateTransitions(t.withTransitionForAxis?n.transition_duration:0),i.updateScales(),i.updateSvgSize(),i.transformAll(t.withTransitionForTransform,e)),i.redraw(t,e)},e.prototype.redrawWithoutRescale=function(){this.redraw({withY:!1,withSubchart:!1,withEventRect:!1,withTransitionForAxis:!1})},e.prototype.isTimeSeries=function(){return"timeseries"===this.config.axis_x_type},e.prototype.isCategorized=function(){return 0<=this.config.axis_x_type.indexOf("categor")},e.prototype.isCustomX=function(){var t=this.config;return!this.isTimeSeries()&&(t.data_x||v(t.data_xs))},e.prototype.isTimeSeriesY=function(){return"timeseries"===this.config.axis_y_type},e.prototype.getTranslate=function(t){var e,i,n=this,r=n.config;return"main"===t?(e=o(n.margin.left),i=o(n.margin.top)):"context"===t?(e=o(n.margin2.left),i=o(n.margin2.top)):"legend"===t?(e=n.margin3.left,i=n.margin3.top):"x"===t?(e=0,i=r.axis_rotated?0:n.height):"y"===t?(e=0,i=r.axis_rotated?n.height:0):"y2"===t?(e=r.axis_rotated?0:n.width,i=r.axis_rotated?1:0):"subx"===t?(e=0,i=r.axis_rotated?0:n.height2):"arc"===t&&(e=n.arcWidth/2,i=n.arcHeight/2-(n.hasType("gauge")?6:0)),"translate("+e+","+i+")"},e.prototype.initialOpacity=function(t){return null!==t.value&&this.withoutFadeIn[t.id]?1:0},e.prototype.initialOpacityForCircle=function(t){return null!==t.value&&this.withoutFadeIn[t.id]?this.opacityForCircle(t):0},e.prototype.opacityForCircle=function(t){var e=(f(this.config.point_show)?this.config.point_show(t):this.config.point_show)?1:0;return m(t.value)?this.isScatterType(t)?.5:e:0},e.prototype.opacityForText=function(){return this.hasDataLabel()?1:0},e.prototype.xx=function(t){return t?this.x(t.x):null},e.prototype.xv=function(t){var e=this,i=t.value;return e.isTimeSeries()?i=e.parseDate(t.value):e.isCategorized()&&"string"==typeof t.value&&(i=e.config.axis_x_categories.indexOf(t.value)),Math.ceil(e.x(i))},e.prototype.yv=function(t){var e=t.axis&&"y2"===t.axis?this.y2:this.y;return Math.ceil(e(t.value))},e.prototype.subxx=function(t){return t?this.subX(t.x):null},e.prototype.transformMain=function(t,e){var i,n,o,a=this;e&&e.axisX?i=e.axisX:(i=a.main.select("."+r.axisX),t&&(i=i.transition())),e&&e.axisY?n=e.axisY:(n=a.main.select("."+r.axisY),t&&(n=n.transition())),e&&e.axisY2?o=e.axisY2:(o=a.main.select("."+r.axisY2),t&&(o=o.transition())),(t?a.main.transition():a.main).attr("transform",a.getTranslate("main")),i.attr("transform",a.getTranslate("x")),n.attr("transform",a.getTranslate("y")),o.attr("transform",a.getTranslate("y2")),a.main.select("."+r.chartArcs).attr("transform",a.getTranslate("arc"))},e.prototype.transformAll=function(t,e){var i=this;i.transformMain(t,e),i.config.subchart_show&&i.transformContext(t,e),i.legend&&i.transformLegend(t)},e.prototype.updateSvgSize=function(){var t=this,e=t.svg.select(".c3-brush .overlay");t.svg.attr("width",t.currentWidth).attr("height",t.currentHeight),t.svg.selectAll(["#"+t.clipId,"#"+t.clipIdForGrid]).select("rect").attr("width",t.width).attr("height",t.height),t.svg.select("#"+t.clipIdForXAxis).select("rect").attr("x",t.getXAxisClipX.bind(t)).attr("y",t.getXAxisClipY.bind(t)).attr("width",t.getXAxisClipWidth.bind(t)).attr("height",t.getXAxisClipHeight.bind(t)),t.svg.select("#"+t.clipIdForYAxis).select("rect").attr("x",t.getYAxisClipX.bind(t)).attr("y",t.getYAxisClipY.bind(t)).attr("width",t.getYAxisClipWidth.bind(t)).attr("height",t.getYAxisClipHeight.bind(t)),t.svg.select("#"+t.clipIdForSubchart).select("rect").attr("width",t.width).attr("height",e.size()?e.attr("height"):0),t.selectChart.style("max-height",t.currentHeight+"px")},e.prototype.updateDimension=function(t){var e=this;t||(e.config.axis_rotated?(e.axes.x.call(e.xAxis),e.axes.subx.call(e.subXAxis)):(e.axes.y.call(e.yAxis),e.axes.y2.call(e.y2Axis))),e.updateSizes(),e.updateScales(),e.updateSvgSize(),e.transformAll(!1)},e.prototype.observeInserted=function(t){var e,i=this;"undefined"!=typeof MutationObserver?(e=new MutationObserver(function(n){n.forEach(function(n){"childList"===n.type&&n.previousSibling&&(e.disconnect(),i.intervalForObserveInserted=window.setInterval(function(){t.node().parentNode&&(window.clearInterval(i.intervalForObserveInserted),i.updateDimension(),i.brush&&i.brush.update(),i.config.oninit.call(i),i.redraw({withTransform:!0,withUpdateXDomain:!0,withUpdateOrgXDomain:!0,withTransition:!1,withTransitionForTransform:!1,withLegend:!0}),t.transition().style("opacity",1))},10))})})).observe(t.node(),{attributes:!0,childList:!0,characterData:!0}):window.console.error("MutationObserver not defined.")},e.prototype.bindResize=function(){var t=this,e=t.config;if(t.resizeFunction=t.generateResize(),t.resizeFunction.add(function(){e.onresize.call(t)}),e.resize_auto&&t.resizeFunction.add(function(){void 0!==t.resizeTimeout&&window.clearTimeout(t.resizeTimeout),t.resizeTimeout=window.setTimeout(function(){delete t.resizeTimeout,t.updateAndRedraw({withUpdateXDomain:!1,withUpdateOrgXDomain:!1,withTransition:!1,withTransitionForTransform:!1,withLegend:!0}),t.brush&&t.brush.update()},100)}),t.resizeFunction.add(function(){e.onresized.call(t)}),t.resizeIfElementDisplayed=function(){null!=t.api&&t.api.element.offsetParent&&t.resizeFunction()},window.attachEvent)window.attachEvent("onresize",t.resizeIfElementDisplayed);else if(window.addEventListener)window.addEventListener("resize",t.resizeIfElementDisplayed,!1);else{var i=window.onresize;i?i.add&&i.remove||(i=t.generateResize()).add(window.onresize):i=t.generateResize(),i.add(t.resizeFunction),window.onresize=function(){t.api.element.offsetParent&&i()}}},e.prototype.bindWindowFocus=function(){var t=this;this.windowFocusHandler||(this.windowFocusHandler=function(){t.redraw()},window.addEventListener("focus",this.windowFocusHandler))},e.prototype.unbindWindowFocus=function(){window.removeEventListener("focus",this.windowFocusHandler),delete this.windowFocusHandler},e.prototype.generateResize=function(){var t=[];function e(){t.forEach(function(t){t()})}return e.add=function(e){t.push(e)},e.remove=function(e){for(var i=0;i<t.length;i++)if(t[i]===e){t.splice(i,1);break}},e},e.prototype.endall=function(t,e){var i=0;t.each(function(){++i}).on("end",function(){--i||e.apply(this,arguments)})},e.prototype.generateWait=function(){var t=this,e=[],i=function(i){var n=setInterval(function(){if(t.isTabVisible()){var r=0;e.forEach(function(t){if(t.empty())r+=1;else try{t.transition()}catch(t){r+=1}}),r===e.length&&(clearInterval(n),i&&i())}},50)};return i.add=function(t){e.push(t)},i},e.prototype.parseDate=function(e){var i;return e instanceof Date?i=e:"string"==typeof e?i=this.dataTimeParse(e):"object"===t(e)?i=new Date(+e):"number"!=typeof e||isNaN(e)||(i=new Date(+e)),i&&!isNaN(+i)||window.console.error("Failed to parse x '"+e+"' to Date object"),i},e.prototype.isTabVisible=function(){return!document.hidden},e.prototype.getPathBox=c,e.prototype.CLASS=r,"SVGPathSeg"in window||(window.SVGPathSeg=function(t,e,i){this.pathSegType=t,this.pathSegTypeAsLetter=e,this._owningPathSegList=i},window.SVGPathSeg.prototype.classname="SVGPathSeg",window.SVGPathSeg.PATHSEG_UNKNOWN=0,window.SVGPathSeg.PATHSEG_CLOSEPATH=1,window.SVGPathSeg.PATHSEG_MOVETO_ABS=2,window.SVGPathSeg.PATHSEG_MOVETO_REL=3,window.SVGPathSeg.PATHSEG_LINETO_ABS=4,window.SVGPathSeg.PATHSEG_LINETO_REL=5,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS=6,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL=7,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS=8,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL=9,window.SVGPathSeg.PATHSEG_ARC_ABS=10,window.SVGPathSeg.PATHSEG_ARC_REL=11,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS=12,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL=13,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS=14,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL=15,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19,window.SVGPathSeg.prototype._segmentChanged=function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)},window.SVGPathSegClosePath=function(t){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CLOSEPATH,"z",t)},window.SVGPathSegClosePath.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegClosePath.prototype.toString=function(){return"[object SVGPathSegClosePath]"},window.SVGPathSegClosePath.prototype._asPathString=function(){return this.pathSegTypeAsLetter},window.SVGPathSegClosePath.prototype.clone=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathSegMovetoAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_ABS,"M",t),this._x=e,this._y=i},window.SVGPathSegMovetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoAbs.prototype.toString=function(){return"[object SVGPathSegMovetoAbs]"},window.SVGPathSegMovetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegMovetoAbs.prototype.clone=function(){return new window.SVGPathSegMovetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegMovetoRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_MOVETO_REL,"m",t),this._x=e,this._y=i},window.SVGPathSegMovetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegMovetoRel.prototype.toString=function(){return"[object SVGPathSegMovetoRel]"},window.SVGPathSegMovetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegMovetoRel.prototype.clone=function(){return new window.SVGPathSegMovetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegMovetoRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_ABS,"L",t),this._x=e,this._y=i},window.SVGPathSegLinetoAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoAbs.prototype.toString=function(){return"[object SVGPathSegLinetoAbs]"},window.SVGPathSegLinetoAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegLinetoAbs.prototype.clone=function(){return new window.SVGPathSegLinetoAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_REL,"l",t),this._x=e,this._y=i},window.SVGPathSegLinetoRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoRel.prototype.toString=function(){return"[object SVGPathSegLinetoRel]"},window.SVGPathSegLinetoRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegLinetoRel.prototype.clone=function(){return new window.SVGPathSegLinetoRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegLinetoRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicAbs=function(t,e,i,n,r,o,a){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS,"C",t),this._x=e,this._y=i,this._x1=n,this._y1=r,this._x2=o,this._y2=a},window.SVGPathSegCurvetoCubicAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicAbs]"},window.SVGPathSegCurvetoCubicAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicAbs(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicAbs.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicRel=function(t,e,i,n,r,o,a){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL,"c",t),this._x=e,this._y=i,this._x1=n,this._y1=r,this._x2=o,this._y2=a},window.SVGPathSegCurvetoCubicRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicRel]"},window.SVGPathSegCurvetoCubicRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicRel(void 0,this._x,this._y,this._x1,this._y1,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicRel.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticAbs=function(t,e,i,n,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS,"Q",t),this._x=e,this._y=i,this._x1=n,this._y1=r},window.SVGPathSegCurvetoQuadraticAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticAbs]"},window.SVGPathSegCurvetoQuadraticAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticAbs.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticRel=function(t,e,i,n,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL,"q",t),this._x=e,this._y=i,this._x1=n,this._y1=r},window.SVGPathSegCurvetoQuadraticRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticRel]"},window.SVGPathSegCurvetoQuadraticRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x1+" "+this._y1+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticRel(void 0,this._x,this._y,this._x1,this._y1)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"x1",{get:function(){return this._x1},set:function(t){this._x1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticRel.prototype,"y1",{get:function(){return this._y1},set:function(t){this._y1=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcAbs=function(t,e,i,n,r,o,a,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_ABS,"A",t),this._x=e,this._y=i,this._r1=n,this._r2=r,this._angle=o,this._largeArcFlag=a,this._sweepFlag=s},window.SVGPathSegArcAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcAbs.prototype.toString=function(){return"[object SVGPathSegArcAbs]"},window.SVGPathSegArcAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},window.SVGPathSegArcAbs.prototype.clone=function(){return new window.SVGPathSegArcAbs(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r1",{get:function(){return this._r1},set:function(t){this._r1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"r2",{get:function(){return this._r2},set:function(t){this._r2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(t){this._largeArcFlag=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcAbs.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(t){this._sweepFlag=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegArcRel=function(t,e,i,n,r,o,a,s){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_ARC_REL,"a",t),this._x=e,this._y=i,this._r1=n,this._r2=r,this._angle=o,this._largeArcFlag=a,this._sweepFlag=s},window.SVGPathSegArcRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegArcRel.prototype.toString=function(){return"[object SVGPathSegArcRel]"},window.SVGPathSegArcRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._r1+" "+this._r2+" "+this._angle+" "+(this._largeArcFlag?"1":"0")+" "+(this._sweepFlag?"1":"0")+" "+this._x+" "+this._y},window.SVGPathSegArcRel.prototype.clone=function(){return new window.SVGPathSegArcRel(void 0,this._x,this._y,this._r1,this._r2,this._angle,this._largeArcFlag,this._sweepFlag)},Object.defineProperty(window.SVGPathSegArcRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r1",{get:function(){return this._r1},set:function(t){this._r1=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"r2",{get:function(){return this._r2},set:function(t){this._r2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"angle",{get:function(){return this._angle},set:function(t){this._angle=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"largeArcFlag",{get:function(){return this._largeArcFlag},set:function(t){this._largeArcFlag=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegArcRel.prototype,"sweepFlag",{get:function(){return this._sweepFlag},set:function(t){this._sweepFlag=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalAbs=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS,"H",t),this._x=e},window.SVGPathSegLinetoHorizontalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalAbs]"},window.SVGPathSegLinetoHorizontalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},window.SVGPathSegLinetoHorizontalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalAbs(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoHorizontalRel=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL,"h",t),this._x=e},window.SVGPathSegLinetoHorizontalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoHorizontalRel.prototype.toString=function(){return"[object SVGPathSegLinetoHorizontalRel]"},window.SVGPathSegLinetoHorizontalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x},window.SVGPathSegLinetoHorizontalRel.prototype.clone=function(){return new window.SVGPathSegLinetoHorizontalRel(void 0,this._x)},Object.defineProperty(window.SVGPathSegLinetoHorizontalRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalAbs=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS,"V",t),this._y=e},window.SVGPathSegLinetoVerticalAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalAbs.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalAbs]"},window.SVGPathSegLinetoVerticalAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},window.SVGPathSegLinetoVerticalAbs.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalAbs(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegLinetoVerticalRel=function(t,e){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL,"v",t),this._y=e},window.SVGPathSegLinetoVerticalRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegLinetoVerticalRel.prototype.toString=function(){return"[object SVGPathSegLinetoVerticalRel]"},window.SVGPathSegLinetoVerticalRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._y},window.SVGPathSegLinetoVerticalRel.prototype.clone=function(){return new window.SVGPathSegLinetoVerticalRel(void 0,this._y)},Object.defineProperty(window.SVGPathSegLinetoVerticalRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothAbs=function(t,e,i,n,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS,"S",t),this._x=e,this._y=i,this._x2=n,this._y2=r},window.SVGPathSegCurvetoCubicSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothAbs]"},window.SVGPathSegCurvetoCubicSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothAbs.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoCubicSmoothRel=function(t,e,i,n,r){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL,"s",t),this._x=e,this._y=i,this._x2=n,this._y2=r},window.SVGPathSegCurvetoCubicSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoCubicSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoCubicSmoothRel]"},window.SVGPathSegCurvetoCubicSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x2+" "+this._y2+" "+this._x+" "+this._y},window.SVGPathSegCurvetoCubicSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,this._x,this._y,this._x2,this._y2)},Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"x2",{get:function(){return this._x2},set:function(t){this._x2=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoCubicSmoothRel.prototype,"y2",{get:function(){return this._y2},set:function(t){this._y2=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothAbs=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS,"T",t),this._x=e,this._y=i},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothAbs]"},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothAbs.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathSegCurvetoQuadraticSmoothRel=function(t,e,i){window.SVGPathSeg.call(this,window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL,"t",t),this._x=e,this._y=i},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype=Object.create(window.SVGPathSeg.prototype),window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.toString=function(){return"[object SVGPathSegCurvetoQuadraticSmoothRel]"},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype._asPathString=function(){return this.pathSegTypeAsLetter+" "+this._x+" "+this._y},window.SVGPathSegCurvetoQuadraticSmoothRel.prototype.clone=function(){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,this._x,this._y)},Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"x",{get:function(){return this._x},set:function(t){this._x=t,this._segmentChanged()},enumerable:!0}),Object.defineProperty(window.SVGPathSegCurvetoQuadraticSmoothRel.prototype,"y",{get:function(){return this._y},set:function(t){this._y=t,this._segmentChanged()},enumerable:!0}),window.SVGPathElement.prototype.createSVGPathSegClosePath=function(){return new window.SVGPathSegClosePath(void 0)},window.SVGPathElement.prototype.createSVGPathSegMovetoAbs=function(t,e){return new window.SVGPathSegMovetoAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegMovetoRel=function(t,e){return new window.SVGPathSegMovetoRel(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoAbs=function(t,e){return new window.SVGPathSegLinetoAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegLinetoRel=function(t,e){return new window.SVGPathSegLinetoRel(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicAbs=function(t,e,i,n,r,o){return new window.SVGPathSegCurvetoCubicAbs(void 0,t,e,i,n,r,o)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicRel=function(t,e,i,n,r,o){return new window.SVGPathSegCurvetoCubicRel(void 0,t,e,i,n,r,o)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticAbs=function(t,e,i,n){return new window.SVGPathSegCurvetoQuadraticAbs(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticRel=function(t,e,i,n){return new window.SVGPathSegCurvetoQuadraticRel(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegArcAbs=function(t,e,i,n,r,o,a){return new window.SVGPathSegArcAbs(void 0,t,e,i,n,r,o,a)},window.SVGPathElement.prototype.createSVGPathSegArcRel=function(t,e,i,n,r,o,a){return new window.SVGPathSegArcRel(void 0,t,e,i,n,r,o,a)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalAbs=function(t){return new window.SVGPathSegLinetoHorizontalAbs(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoHorizontalRel=function(t){return new window.SVGPathSegLinetoHorizontalRel(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalAbs=function(t){return new window.SVGPathSegLinetoVerticalAbs(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegLinetoVerticalRel=function(t){return new window.SVGPathSegLinetoVerticalRel(void 0,t)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothAbs=function(t,e,i,n){return new window.SVGPathSegCurvetoCubicSmoothAbs(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoCubicSmoothRel=function(t,e,i,n){return new window.SVGPathSegCurvetoCubicSmoothRel(void 0,t,e,i,n)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothAbs=function(t,e){return new window.SVGPathSegCurvetoQuadraticSmoothAbs(void 0,t,e)},window.SVGPathElement.prototype.createSVGPathSegCurvetoQuadraticSmoothRel=function(t,e){return new window.SVGPathSegCurvetoQuadraticSmoothRel(void 0,t,e)},"getPathSegAtLength"in window.SVGPathElement.prototype||(window.SVGPathElement.prototype.getPathSegAtLength=function(t){if(void 0===t||!isFinite(t))throw"Invalid arguments.";var e=document.createElementNS("http://www.w3.org/2000/svg","path");e.setAttribute("d",this.getAttribute("d"));var i=e.pathSegList.numberOfItems-1;if(i<=0)return 0;do{if(e.pathSegList.removeItem(i),t>e.getTotalLength())break;i--}while(0<i);return i})),"SVGPathSegList"in window||(window.SVGPathSegList=function(t){this._pathElement=t,this._list=this._parsePath(this._pathElement.getAttribute("d")),this._mutationObserverConfig={attributes:!0,attributeFilter:["d"]},this._pathElementMutationObserver=new MutationObserver(this._updateListFromPathMutations.bind(this)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.classname="SVGPathSegList",Object.defineProperty(window.SVGPathSegList.prototype,"numberOfItems",{get:function(){return this._checkPathSynchronizedToList(),this._list.length},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"pathSegList",{get:function(){return this._pathSegList||(this._pathSegList=new window.SVGPathSegList(this)),this._pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"normalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),Object.defineProperty(window.SVGPathElement.prototype,"animatedNormalizedPathSegList",{get:function(){return this.pathSegList},enumerable:!0}),window.SVGPathSegList.prototype._checkPathSynchronizedToList=function(){this._updateListFromPathMutations(this._pathElementMutationObserver.takeRecords())},window.SVGPathSegList.prototype._updateListFromPathMutations=function(t){if(this._pathElement){var e=!1;t.forEach(function(t){"d"==t.attributeName&&(e=!0)}),e&&(this._list=this._parsePath(this._pathElement.getAttribute("d")))}},window.SVGPathSegList.prototype._writeListToPath=function(){this._pathElementMutationObserver.disconnect(),this._pathElement.setAttribute("d",window.SVGPathSegList._pathSegArrayAsString(this._list)),this._pathElementMutationObserver.observe(this._pathElement,this._mutationObserverConfig)},window.SVGPathSegList.prototype.segmentChanged=function(t){this._writeListToPath()},window.SVGPathSegList.prototype.clear=function(){this._checkPathSynchronizedToList(),this._list.forEach(function(t){t._owningPathSegList=null}),this._list=[],this._writeListToPath()},window.SVGPathSegList.prototype.initialize=function(t){return this._checkPathSynchronizedToList(),this._list=[t],(t._owningPathSegList=this)._writeListToPath(),t},window.SVGPathSegList.prototype._checkValidIndex=function(t){if(isNaN(t)||t<0||t>=this.numberOfItems)throw"INDEX_SIZE_ERR"},window.SVGPathSegList.prototype.getItem=function(t){return this._checkPathSynchronizedToList(),this._checkValidIndex(t),this._list[t]},window.SVGPathSegList.prototype.insertItemBefore=function(t,e){return this._checkPathSynchronizedToList(),e>this.numberOfItems&&(e=this.numberOfItems),t._owningPathSegList&&(t=t.clone()),this._list.splice(e,0,t),(t._owningPathSegList=this)._writeListToPath(),t},window.SVGPathSegList.prototype.replaceItem=function(t,e){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._checkValidIndex(e),((this._list[e]=t)._owningPathSegList=this)._writeListToPath(),t},window.SVGPathSegList.prototype.removeItem=function(t){this._checkPathSynchronizedToList(),this._checkValidIndex(t);var e=this._list[t];return this._list.splice(t,1),this._writeListToPath(),e},window.SVGPathSegList.prototype.appendItem=function(t){return this._checkPathSynchronizedToList(),t._owningPathSegList&&(t=t.clone()),this._list.push(t),(t._owningPathSegList=this)._writeListToPath(),t},window.SVGPathSegList._pathSegArrayAsString=function(t){var e="",i=!0;return t.forEach(function(t){i?(i=!1,e+=t._asPathString()):e+=" "+t._asPathString()}),e},window.SVGPathSegList.prototype._parsePath=function(t){if(!t||0==t.length)return[];var e=this,i=function(){this.pathSegList=[]};i.prototype.appendSegment=function(t){this.pathSegList.push(t)};var n=function(t){this._string=t,this._currentIndex=0,this._endIndex=this._string.length,this._previousCommand=window.SVGPathSeg.PATHSEG_UNKNOWN,this._skipOptionalSpaces()};n.prototype._isCurrentSpace=function(){var t=this._string[this._currentIndex];return t<=" "&&(" "==t||"\n"==t||"\t"==t||"\r"==t||"\f"==t)},n.prototype._skipOptionalSpaces=function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex++;return this._currentIndex<this._endIndex},n.prototype._skipOptionalSpacesOrDelimiter=function(){return!(this._currentIndex<this._endIndex&&!this._isCurrentSpace()&&","!=this._string.charAt(this._currentIndex))&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&","==this._string.charAt(this._currentIndex)&&(this._currentIndex++,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},n.prototype.hasMoreData=function(){return this._currentIndex<this._endIndex},n.prototype.peekSegmentType=function(){var t=this._string[this._currentIndex];return this._pathSegTypeFromChar(t)},n.prototype._pathSegTypeFromChar=function(t){switch(t){case"Z":case"z":return window.SVGPathSeg.PATHSEG_CLOSEPATH;case"M":return window.SVGPathSeg.PATHSEG_MOVETO_ABS;case"m":return window.SVGPathSeg.PATHSEG_MOVETO_REL;case"L":return window.SVGPathSeg.PATHSEG_LINETO_ABS;case"l":return window.SVGPathSeg.PATHSEG_LINETO_REL;case"C":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS;case"c":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL;case"Q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS;case"q":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL;case"A":return window.SVGPathSeg.PATHSEG_ARC_ABS;case"a":return window.SVGPathSeg.PATHSEG_ARC_REL;case"H":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS;case"h":return window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL;case"V":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS;case"v":return window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL;case"S":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS;case"s":return window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL;case"T":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS;case"t":return window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL;default:return window.SVGPathSeg.PATHSEG_UNKNOWN}},n.prototype._nextCommandHelper=function(t,e){return("+"==t||"-"==t||"."==t||"0"<=t&&t<="9")&&e!=window.SVGPathSeg.PATHSEG_CLOSEPATH?e==window.SVGPathSeg.PATHSEG_MOVETO_ABS?window.SVGPathSeg.PATHSEG_LINETO_ABS:e==window.SVGPathSeg.PATHSEG_MOVETO_REL?window.SVGPathSeg.PATHSEG_LINETO_REL:e:window.SVGPathSeg.PATHSEG_UNKNOWN},n.prototype.initialCommandIsMoveTo=function(){if(!this.hasMoreData())return!0;var t=this.peekSegmentType();return t==window.SVGPathSeg.PATHSEG_MOVETO_ABS||t==window.SVGPathSeg.PATHSEG_MOVETO_REL},n.prototype._parseNumber=function(){var t=0,e=0,i=1,n=0,r=1,o=1,a=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:this._currentIndex<this._endIndex&&"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,r=-1),!(this._currentIndex==this._endIndex||(this._string.charAt(this._currentIndex)<"0"||"9"<this._string.charAt(this._currentIndex))&&"."!=this._string.charAt(this._currentIndex))){for(var s=this._currentIndex;this._currentIndex<this._endIndex&&"0"<=this._string.charAt(this._currentIndex)&&this._string.charAt(this._currentIndex)<="9";)this._currentIndex++;if(this._currentIndex!=s)for(var l=this._currentIndex-1,c=1;s<=l;)e+=c*(this._string.charAt(l--)-"0"),c*=10;if(this._currentIndex<this._endIndex&&"."==this._string.charAt(this._currentIndex)){if(this._currentIndex++,this._currentIndex>=this._endIndex||this._string.charAt(this._currentIndex)<"0"||"9"<this._string.charAt(this._currentIndex))return;for(;this._currentIndex<this._endIndex&&"0"<=this._string.charAt(this._currentIndex)&&this._string.charAt(this._currentIndex)<="9";)i*=10,n+=(this._string.charAt(this._currentIndex)-"0")/i,this._currentIndex+=1}if(this._currentIndex!=a&&this._currentIndex+1<this._endIndex&&("e"==this._string.charAt(this._currentIndex)||"E"==this._string.charAt(this._currentIndex))&&"x"!=this._string.charAt(this._currentIndex+1)&&"m"!=this._string.charAt(this._currentIndex+1)){if(this._currentIndex++,"+"==this._string.charAt(this._currentIndex)?this._currentIndex++:"-"==this._string.charAt(this._currentIndex)&&(this._currentIndex++,o=-1),this._currentIndex>=this._endIndex||this._string.charAt(this._currentIndex)<"0"||"9"<this._string.charAt(this._currentIndex))return;for(;this._currentIndex<this._endIndex&&"0"<=this._string.charAt(this._currentIndex)&&this._string.charAt(this._currentIndex)<="9";)t*=10,t+=this._string.charAt(this._currentIndex)-"0",this._currentIndex++}var u=e+n;if(u*=r,t&&(u*=Math.pow(10,o*t)),a!=this._currentIndex)return this._skipOptionalSpacesOrDelimiter(),u}},n.prototype._parseArcFlag=function(){if(!(this._currentIndex>=this._endIndex)){var t=!1,e=this._string.charAt(this._currentIndex++);if("0"==e)t=!1;else{if("1"!=e)return;t=!0}return this._skipOptionalSpacesOrDelimiter(),t}},n.prototype.parseSegment=function(){var t=this._string[this._currentIndex],i=this._pathSegTypeFromChar(t);if(i==window.SVGPathSeg.PATHSEG_UNKNOWN){if(this._previousCommand==window.SVGPathSeg.PATHSEG_UNKNOWN)return null;if((i=this._nextCommandHelper(t,this._previousCommand))==window.SVGPathSeg.PATHSEG_UNKNOWN)return null}else this._currentIndex++;switch(this._previousCommand=i){case window.SVGPathSeg.PATHSEG_MOVETO_REL:return new window.SVGPathSegMovetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_MOVETO_ABS:return new window.SVGPathSegMovetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_REL:return new window.SVGPathSegLinetoRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_ABS:return new window.SVGPathSegLinetoAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL:return new window.SVGPathSegLinetoHorizontalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS:return new window.SVGPathSegLinetoHorizontalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL:return new window.SVGPathSegLinetoVerticalRel(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS:return new window.SVGPathSegLinetoVerticalAbs(e,this._parseNumber());case window.SVGPathSeg.PATHSEG_CLOSEPATH:return this._skipOptionalSpaces(),new window.SVGPathSegClosePath(e);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL:var n={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()};return new window.SVGPathSegCurvetoCubicRel(e,n.x,n.y,n.x1,n.y1,n.x2,n.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS:return n={x1:this._parseNumber(),y1:this._parseNumber(),x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicAbs(e,n.x,n.y,n.x1,n.y1,n.x2,n.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL:return n={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothRel(e,n.x,n.y,n.x2,n.y2);case window.SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS:return n={x2:this._parseNumber(),y2:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoCubicSmoothAbs(e,n.x,n.y,n.x2,n.y2);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL:return n={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticRel(e,n.x,n.y,n.x1,n.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS:return n={x1:this._parseNumber(),y1:this._parseNumber(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegCurvetoQuadraticAbs(e,n.x,n.y,n.x1,n.y1);case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL:return new window.SVGPathSegCurvetoQuadraticSmoothRel(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS:return new window.SVGPathSegCurvetoQuadraticSmoothAbs(e,this._parseNumber(),this._parseNumber());case window.SVGPathSeg.PATHSEG_ARC_REL:return n={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcRel(e,n.x,n.y,n.x1,n.y1,n.arcAngle,n.arcLarge,n.arcSweep);case window.SVGPathSeg.PATHSEG_ARC_ABS:return n={x1:this._parseNumber(),y1:this._parseNumber(),arcAngle:this._parseNumber(),arcLarge:this._parseArcFlag(),arcSweep:this._parseArcFlag(),x:this._parseNumber(),y:this._parseNumber()},new window.SVGPathSegArcAbs(e,n.x,n.y,n.x1,n.y1,n.arcAngle,n.arcLarge,n.arcSweep);default:throw"Unknown path seg type."}};var r=new i,o=new n(t);if(!o.initialCommandIsMoveTo())return[];for(;o.hasMoreData();){var a=o.parseSegment();if(!a)return[];r.appendSegment(a)}return r.pathSegList}),String.prototype.padEnd||(String.prototype.padEnd=function(t,e){return t>>=0,e=String(void 0!==e?e:" "),this.length>t?String(this):((t-=this.length)>e.length&&(e+=e.repeat(t/e.length)),String(this)+e.slice(0,t))}),(i.prototype.axis=function(){}).labels=function(t){var e=this.internal;arguments.length&&(Object.keys(t).forEach(function(i){e.axis.setLabelText(i,t[i])}),e.axis.updateLabels())},i.prototype.axis.max=function(e){var i=this.internal,n=i.config;if(!arguments.length)return{x:n.axis_x_max,y:n.axis_y_max,y2:n.axis_y2_max};"object"===t(e)?(m(e.x)&&(n.axis_x_max=e.x),m(e.y)&&(n.axis_y_max=e.y),m(e.y2)&&(n.axis_y2_max=e.y2)):n.axis_y_max=n.axis_y2_max=e,i.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},i.prototype.axis.min=function(e){var i=this.internal,n=i.config;if(!arguments.length)return{x:n.axis_x_min,y:n.axis_y_min,y2:n.axis_y2_min};"object"===t(e)?(m(e.x)&&(n.axis_x_min=e.x),m(e.y)&&(n.axis_y_min=e.y),m(e.y2)&&(n.axis_y2_min=e.y2)):n.axis_y_min=n.axis_y2_min=e,i.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})},i.prototype.axis.range=function(t){if(!arguments.length)return{max:this.axis.max(),min:this.axis.min()};h(t.max)&&this.axis.max(t.max),h(t.min)&&this.axis.min(t.min)},i.prototype.category=function(t,e){var i=this.internal,n=i.config;return 1<arguments.length&&(n.axis_x_categories[t]=e,i.redraw()),n.axis_x_categories[t]},i.prototype.categories=function(t){var e=this.internal,i=e.config;return arguments.length&&(i.axis_x_categories=t,e.redraw()),i.axis_x_categories},i.prototype.resize=function(t){var e=this.internal.config;e.size_width=t?t.width:null,e.size_height=t?t.height:null,this.flush()},i.prototype.flush=function(){this.internal.updateAndRedraw({withLegend:!0,withTransition:!1,withTransitionForTransform:!1})},i.prototype.destroy=function(){var t=this.internal;if(window.clearInterval(t.intervalForObserveInserted),void 0!==t.resizeTimeout&&window.clearTimeout(t.resizeTimeout),window.detachEvent)window.detachEvent("onresize",t.resizeIfElementDisplayed);else if(window.removeEventListener)window.removeEventListener("resize",t.resizeIfElementDisplayed);else{var e=window.onresize;e&&e.add&&e.remove&&e.remove(t.resizeFunction)}return t.resizeFunction.remove(),t.unbindWindowFocus(),t.selectChart.classed("c3",!1).html(""),Object.keys(t).forEach(function(e){t[e]=null}),null},i.prototype.color=function(t){return this.internal.color(t)},(i.prototype.data=function(t){var e=this.internal.data.targets;return void 0===t?e:e.filter(function(e){return 0<=[].concat(t).indexOf(e.id)})}).shown=function(t){return this.internal.filterTargetsToShow(this.data(t))},i.prototype.data.values=function(t){var e,i=null;return t&&(i=(e=this.data(t))[0]?e[0].values.map(function(t){return t.value}):null),i},i.prototype.data.names=function(t){return this.internal.clearLegendItemTextBoxCache(),this.internal.updateDataAttributes("names",t)},i.prototype.data.colors=function(t){return this.internal.updateDataAttributes("colors",t)},i.prototype.data.axes=function(t){return this.internal.updateDataAttributes("axes",t)},i.prototype.flow=function(t){var e,i,n,r,o,a,s,l=this.internal,c=[],u=l.getMaxDataCount(),d=0,f=0;if(t.json)i=l.convertJsonToData(t.json,t.keys);else if(t.rows)i=l.convertRowsToData(t.rows);else{if(!t.columns)return;i=l.convertColumnsToData(t.columns)}e=l.convertDataToTargets(i,!0),l.data.targets.forEach(function(t){var i,n,r=!1;for(i=0;i<e.length;i++)if(t.id===e[i].id){for(r=!0,t.values[t.values.length-1]&&(f=t.values[t.values.length-1].index+1),d=e[i].values.length,n=0;n<d;n++)e[i].values[n].index=f+n,l.isTimeSeries()||(e[i].values[n].x=f+n);t.values=t.values.concat(e[i].values),e.splice(i,1);break}r||c.push(t.id)}),l.data.targets.forEach(function(t){var e,i;for(e=0;e<c.length;e++)if(t.id===c[e])for(f=t.values[t.values.length-1].index+1,i=0;i<d;i++)t.values.push({id:t.id,index:f+i,x:l.isTimeSeries()?l.getOtherTargetX(f+i):f+i,value:null})}),l.data.targets.length&&e.forEach(function(t){var e,i=[];for(e=l.data.targets[0].values[0].index;e<f;e++)i.push({id:t.id,index:e,x:l.isTimeSeries()?l.getOtherTargetX(e):e,value:null});t.values.forEach(function(t){t.index+=f,l.isTimeSeries()||(t.x+=f)}),t.values=i.concat(t.values)}),l.data.targets=l.data.targets.concat(e),l.getMaxDataCount(),o=(r=l.data.targets[0]).values[0],h(t.to)?(d=0,s=l.isTimeSeries()?l.parseDate(t.to):t.to,r.values.forEach(function(t){t.x<s&&d++})):h(t.length)&&(d=t.length),u?1===u&&l.isTimeSeries()&&(a=(r.values[r.values.length-1].x-o.x)/2,n=[new Date(+o.x-a),new Date(+o.x+a)],l.updateXDomain(null,!0,!0,!1,n)):(a=l.isTimeSeries()?1<r.values.length?r.values[r.values.length-1].x-o.x:o.x-l.getXDomain(l.data.targets)[0]:1,n=[o.x-a,o.x],l.updateXDomain(null,!0,!0,!1,n)),l.updateTargets(l.data.targets),l.redraw({flow:{index:o.index,length:d,duration:m(t.duration)?t.duration:l.config.transition_duration,done:t.done,orgDataCount:u},withLegend:!0,withTransition:1<u,withTrimXDomain:!1,withUpdateXAxis:!0})},e.prototype.generateFlow=function(t){var e=this,i=e.config,n=e.d3;return function(){var o,a,l,c,u,h,d,f,p,g,m=t.targets,v=t.flow,y=t.drawBar,b=t.drawLine,L=t.drawArea,x=t.cx,w=t.cy,_=t.xv,S=t.xForText,C=t.yForText,k=t.duration,T=v.index,E=v.length,A=e.getValueOnIndex(e.data.targets[0].values,T),M=e.getValueOnIndex(e.data.targets[0].values,T+E),D=e.x.domain(),P=v.duration||k,O=v.done||function(){},I=e.generateWait();e.flowing=!0,e.data.targets.forEach(function(t){t.values.splice(0,E)}),a=e.updateXDomain(m,!0,!0),e.updateXGrid&&e.updateXGrid(!0),l=e.xgrid||n.selectAll([]),c=e.xgridLines||n.selectAll([]),u=e.mainRegion||n.selectAll([]),h=e.mainText||n.selectAll([]),d=e.mainBar||n.selectAll([]),f=e.mainLine||n.selectAll([]),p=e.mainArea||n.selectAll([]),g=e.mainCircle||n.selectAll([]),o="translate("+(v.orgDataCount?1===v.orgDataCount||(A&&A.x)===(M&&M.x)?e.x(D[0])-e.x(a[0]):e.isTimeSeries()?e.x(D[0])-e.x(a[0]):e.x(A.x)-e.x(M.x):1!==e.data.targets[0].values.length?e.x(D[0])-e.x(a[0]):e.isTimeSeries()?(A=e.getValueOnIndex(e.data.targets[0].values,0),M=e.getValueOnIndex(e.data.targets[0].values,e.data.targets[0].values.length-1),e.x(A.x)-e.x(M.x)):s(a)/2)+",0) scale("+s(D)/s(a)+",1)",e.hideXGridFocus();var N=n.transition().ease(n.easeLinear).duration(P);I.add(e.xAxis(e.axes.x,N)),I.add(d.transition(N).attr("transform",o)),I.add(f.transition(N).attr("transform",o)),I.add(p.transition(N).attr("transform",o)),I.add(g.transition(N).attr("transform",o)),I.add(h.transition(N).attr("transform",o)),I.add(u.filter(e.isRegionOnX).transition(N).attr("transform",o)),I.add(l.transition(N).attr("transform",o)),I.add(c.transition(N).attr("transform",o)),I(function(){var t,n=[],o=[];if(E){for(t=0;t<E;t++)n.push("."+r.shape+"-"+(T+t)),o.push("."+r.text+"-"+(T+t));e.svg.selectAll("."+r.shapes).selectAll(n).remove(),e.svg.selectAll("."+r.texts).selectAll(o).remove(),e.svg.select("."+r.xgrid).remove()}l.attr("transform",null).attr("x1",e.xgridAttr.x1).attr("x2",e.xgridAttr.x2).attr("y1",e.xgridAttr.y1).attr("y2",e.xgridAttr.y2).style("opacity",e.xgridAttr.opacity),c.attr("transform",null),c.select("line").attr("x1",i.axis_rotated?0:_).attr("x2",i.axis_rotated?e.width:_),c.select("text").attr("x",i.axis_rotated?e.width:0).attr("y",_),d.attr("transform",null).attr("d",y),f.attr("transform",null).attr("d",b),p.attr("transform",null).attr("d",L),g.attr("transform",null).attr("cx",x).attr("cy",w),h.attr("transform",null).attr("x",S).attr("y",C).style("fill-opacity",e.opacityForText.bind(e)),u.attr("transform",null),u.filter(e.isRegionOnX).attr("x",e.regionX.bind(e)).attr("width",e.regionWidth.bind(e)),O(),e.flowing=!1})}},i.prototype.focus=function(t){var e,i=this.internal;t=i.mapToTargetIds(t),e=i.svg.selectAll(i.selectorTargets(t.filter(i.isTargetToShow,i))),this.revert(),this.defocus(),e.classed(r.focused,!0).classed(r.defocused,!1),i.hasArcType()&&i.expandArc(t),i.toggleFocusLegend(t,!0),i.focusedTargetIds=t,i.defocusedTargetIds=i.defocusedTargetIds.filter(function(e){return t.indexOf(e)<0})},i.prototype.defocus=function(t){var e=this.internal;t=e.mapToTargetIds(t),e.svg.selectAll(e.selectorTargets(t.filter(e.isTargetToShow,e))).classed(r.focused,!1).classed(r.defocused,!0),e.hasArcType()&&e.unexpandArc(t),e.toggleFocusLegend(t,!1),e.focusedTargetIds=e.focusedTargetIds.filter(function(e){return t.indexOf(e)<0}),e.defocusedTargetIds=t},i.prototype.revert=function(t){var e=this.internal;t=e.mapToTargetIds(t),e.svg.selectAll(e.selectorTargets(t)).classed(r.focused,!1).classed(r.defocused,!1),e.hasArcType()&&e.unexpandArc(t),e.config.legend_show&&(e.showLegend(t.filter(e.isLegendToShow.bind(e))),e.legend.selectAll(e.selectorLegends(t)).filter(function(){return e.d3.select(this).classed(r.legendItemFocused)}).classed(r.legendItemFocused,!1)),e.focusedTargetIds=[],e.defocusedTargetIds=[]},(i.prototype.xgrids=function(t){var e=this.internal,i=e.config;return t&&(i.grid_x_lines=t,e.redrawWithoutRescale()),i.grid_x_lines}).add=function(t){var e=this.internal;return this.xgrids(e.config.grid_x_lines.concat(t||[]))},i.prototype.xgrids.remove=function(t){this.internal.removeGridLines(t,!0)},(i.prototype.ygrids=function(t){var e=this.internal,i=e.config;return t&&(i.grid_y_lines=t,e.redrawWithoutRescale()),i.grid_y_lines}).add=function(t){var e=this.internal;return this.ygrids(e.config.grid_y_lines.concat(t||[]))},i.prototype.ygrids.remove=function(t){this.internal.removeGridLines(t,!1)},i.prototype.groups=function(t){var e=this.internal,i=e.config;return g(t)||(i.data_groups=t,e.redraw()),i.data_groups},(i.prototype.legend=function(){}).show=function(t){var e=this.internal;e.showLegend(e.mapToTargetIds(t)),e.updateAndRedraw({withLegend:!0})},i.prototype.legend.hide=function(t){var e=this.internal;e.hideLegend(e.mapToTargetIds(t)),e.updateAndRedraw({withLegend:!1})},i.prototype.load=function(t){var e=this.internal,n=e.config;t.xs&&e.addXs(t.xs),"names"in t&&i.prototype.data.names.bind(this)(t.names),"classes"in t&&Object.keys(t.classes).forEach(function(e){n.data_classes[e]=t.classes[e]}),"categories"in t&&e.isCategorized()&&(n.axis_x_categories=t.categories),"axes"in t&&Object.keys(t.axes).forEach(function(e){n.data_axes[e]=t.axes[e]}),"colors"in t&&Object.keys(t.colors).forEach(function(e){n.data_colors[e]=t.colors[e]}),"cacheIds"in t&&e.hasCaches(t.cacheIds)?e.load(e.getCaches(t.cacheIds),t.done):"unload"in t?e.unload(e.mapToTargetIds("boolean"==typeof t.unload&&t.unload?null:t.unload),function(){e.loadFromArgs(t)}):e.loadFromArgs(t)},i.prototype.unload=function(t){var e=this.internal;(t=t||{})instanceof Array?t={ids:t}:"string"==typeof t&&(t={ids:[t]}),e.unload(e.mapToTargetIds(t.ids),function(){e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),t.done&&t.done()})},(i.prototype.regions=function(t){var e=this.internal,i=e.config;return t&&(i.regions=t,e.redrawWithoutRescale()),i.regions}).add=function(t){var e=this.internal,i=e.config;return t&&(i.regions=i.regions.concat(t),e.redrawWithoutRescale()),i.regions},i.prototype.regions.remove=function(t){var e,i,n,o=this.internal,a=o.config;return e=l(t=t||{},"duration",a.transition_duration),i=l(t,"classes",[r.region]),n=o.main.select("."+r.regions).selectAll(i.map(function(t){return"."+t})),(e?n.transition().duration(e):n).style("opacity",0).remove(),a.regions=a.regions.filter(function(t){var e=!1;return!t.class||(t.class.split(" ").forEach(function(t){0<=i.indexOf(t)&&(e=!0)}),!e)}),a.regions},i.prototype.selected=function(t){var e=this.internal,i=e.d3;return e.main.selectAll("."+r.shapes+e.getTargetSelectorSuffix(t)).selectAll("."+r.shape).filter(function(){return i.select(this).classed(r.SELECTED)}).nodes().map(function(t){var e=t.__data__;return e.data?e.data:e})},i.prototype.select=function(t,e,i){var n=this.internal,o=n.d3,a=n.config;a.data_selection_enabled&&n.main.selectAll("."+r.shapes).selectAll("."+r.shape).each(function(s,l){var c=o.select(this),u=s.data?s.data.id:s.id,d=n.getToggle(this,s).bind(n),f=a.data_selection_grouped||!t||0<=t.indexOf(u),p=!e||0<=e.indexOf(l),g=c.classed(r.SELECTED);c.classed(r.line)||c.classed(r.area)||(f&&p?a.data_selection_isselectable(s)&&!g&&d(!0,c.classed(r.SELECTED,!0),s,l):h(i)&&i&&g&&d(!1,c.classed(r.SELECTED,!1),s,l))})},i.prototype.unselect=function(t,e){var i=this.internal,n=i.d3,o=i.config;o.data_selection_enabled&&i.main.selectAll("."+r.shapes).selectAll("."+r.shape).each(function(a,s){var l=n.select(this),c=a.data?a.data.id:a.id,u=i.getToggle(this,a).bind(i),h=o.data_selection_grouped||!t||0<=t.indexOf(c),d=!e||0<=e.indexOf(s),f=l.classed(r.SELECTED);l.classed(r.line)||l.classed(r.area)||h&&d&&o.data_selection_isselectable(a)&&f&&u(!1,l.classed(r.SELECTED,!1),a,s)})},i.prototype.show=function(t,e){var i,n=this.internal;t=n.mapToTargetIds(t),e=e||{},n.removeHiddenTargetIds(t),(i=n.svg.selectAll(n.selectorTargets(t))).transition().style("display","initial","important").style("opacity",1,"important").call(n.endall,function(){i.style("opacity",null).style("opacity",1)}),e.withLegend&&n.showLegend(t),n.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},i.prototype.hide=function(t,e){var i,n=this.internal;t=n.mapToTargetIds(t),e=e||{},n.addHiddenTargetIds(t),(i=n.svg.selectAll(n.selectorTargets(t))).transition().style("opacity",0,"important").call(n.endall,function(){i.style("opacity",null).style("opacity",0),i.style("display","none")}),e.withLegend&&n.hideLegend(t),n.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0})},i.prototype.toggle=function(t,e){var i=this,n=this.internal;n.mapToTargetIds(t).forEach(function(t){n.isTargetToShow(t)?i.hide(t,e):i.show(t,e)})},(i.prototype.tooltip=function(){}).show=function(t){var e,i,n,r=this.internal;n=t.mouse?t.mouse:(t.data?i=t.data:void 0!==t.x&&(e=t.id?r.data.targets.filter(function(e){return e.id===t.id}):r.data.targets,i=r.filterByX(e,t.x).slice(0,1)[0]),i?r.getMousePosition(i):null),r.dispatchEvent("mousemove",n),r.config.tooltip_onshow.call(r,i)},i.prototype.tooltip.hide=function(){this.internal.dispatchEvent("mouseout",0),this.internal.config.tooltip_onhide.call(this)},i.prototype.transform=function(t,e){var i=this.internal,n=0<=["pie","donut"].indexOf(t)?{withTransform:!0}:null;i.transformTo(e,t,n)},e.prototype.transformTo=function(t,e,i){var n=this,r=!n.hasArcType(),o=i||{withTransitionForAxis:r};o.withTransitionForTransform=!1,n.transiting=!1,n.setTargetType(t,e),n.updateTargets(n.data.targets),n.updateAndRedraw(o)},i.prototype.x=function(t){var e=this.internal;return arguments.length&&(e.updateTargetX(e.data.targets,t),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),e.data.xs},i.prototype.xs=function(t){var e=this.internal;return arguments.length&&(e.updateTargetXs(e.data.targets,t),e.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0})),e.data.xs},(i.prototype.zoom=function(t){var e=this.internal;return t?(e.isTimeSeries()&&(t=t.map(function(t){return e.parseDate(t)})),e.config.subchart_show?e.brush.selectionAsValue(t,!0):(e.updateXDomain(null,!0,!1,!1,t),e.redraw({withY:e.config.zoom_rescale,withSubchart:!1})),e.config.zoom_onzoom.call(this,e.x.orgDomain()),t):e.x.domain()}).enable=function(t){var e=this.internal;e.config.zoom_enabled=t,e.updateAndRedraw()},i.prototype.unzoom=function(){var t=this.internal;t.config.subchart_show?t.brush.clear():(t.updateXDomain(null,!0,!1,!1,t.subX.domain()),t.redraw({withY:t.config.zoom_rescale,withSubchart:!1}))},i.prototype.zoom.max=function(t){var e=this.internal,i=e.config,n=e.d3;if(0!==t&&!t)return i.zoom_x_max;i.zoom_x_max=n.max([e.orgXDomain[1],t])},i.prototype.zoom.min=function(t){var e=this.internal,i=e.config,n=e.d3;if(0!==t&&!t)return i.zoom_x_min;i.zoom_x_min=n.min([e.orgXDomain[0],t])},i.prototype.zoom.range=function(t){if(!arguments.length)return{max:this.domain.max(),min:this.domain.min()};h(t.max)&&this.domain.max(t.max),h(t.min)&&this.domain.min(t.min)},e.prototype.initPie=function(){var t=this,e=t.d3;t.pie=e.pie().value(function(t){return t.values.reduce(function(t,e){return t+e.value},0)});var i=t.getOrderFunction();if(i&&(t.isOrderAsc()||t.isOrderDesc())){var n=i;i=function(t,e){return-1*n(t,e)}}t.pie.sort(i||null)},e.prototype.updateRadius=function(){var t=this,e=t.config,i=e.gauge_width||e.donut_width,n=t.filterTargetsToShow(t.data.targets).length*t.config.gauge_arcs_minWidth;t.radiusExpanded=Math.min(t.arcWidth,t.arcHeight)/2*(t.hasType("gauge")?.85:1),t.radius=.95*t.radiusExpanded,t.innerRadiusRatio=i?(t.radius-i)/t.radius:.6,t.innerRadius=t.hasType("donut")||t.hasType("gauge")?t.radius*t.innerRadiusRatio:0,t.gaugeArcWidth=i||(n<=t.radius-t.innerRadius?t.radius-t.innerRadius:n<=t.radius?n:t.radius)},e.prototype.updateArc=function(){var t=this;t.svgArc=t.getSvgArc(),t.svgArcExpanded=t.getSvgArcExpanded(),t.svgArcExpandedSub=t.getSvgArcExpanded(.98)},e.prototype.updateAngle=function(t){var e,i,n,r,o=this,a=o.config,s=!1,l=0;return a?(o.pie(o.filterTargetsToShow(o.data.targets)).forEach(function(e){s||e.data.id!==t.data.id||(s=!0,(t=e).index=l),l++}),isNaN(t.startAngle)&&(t.startAngle=0),isNaN(t.endAngle)&&(t.endAngle=t.startAngle),o.isGaugeType(t.data)&&(e=a.gauge_min,i=a.gauge_max,n=Math.PI*(a.gauge_fullCircle?2:1)/(i-e),r=t.value<e?0:t.value<i?t.value-e:i-e,t.startAngle=a.gauge_startingAngle,t.endAngle=t.startAngle+n*r),s?t:null):null},e.prototype.getSvgArc=function(){var t=this,e=t.hasType("gauge"),i=t.gaugeArcWidth/t.filterTargetsToShow(t.data.targets).length,n=t.d3.arc().outerRadius(function(n){return e?t.radius-i*n.index:t.radius}).innerRadius(function(n){return e?t.radius-i*(n.index+1):t.innerRadius}),r=function(e,i){var r;return i?n(e):(r=t.updateAngle(e))?n(r):"M 0 0"};return r.centroid=n.centroid,r},e.prototype.getSvgArcExpanded=function(t){t=t||1;var e=this,i=e.hasType("gauge"),n=e.gaugeArcWidth/e.filterTargetsToShow(e.data.targets).length,r=Math.min(e.radiusExpanded*t-e.radius,.8*n-100*(1-t)),o=e.d3.arc().outerRadius(function(o){return i?e.radius-n*o.index+r:e.radiusExpanded*t}).innerRadius(function(t){return i?e.radius-n*(t.index+1):e.innerRadius});return function(t){var i=e.updateAngle(t);return i?o(i):"M 0 0"}},e.prototype.getArc=function(t,e,i){return i||this.isArcType(t.data)?this.svgArc(t,e):"M 0 0"},e.prototype.transformForArcLabel=function(t){var e,i,n,r,o,a=this,s=a.config,l=a.updateAngle(t),c="",u=a.hasType("gauge");if(l&&!u)e=this.svgArc.centroid(l),i=isNaN(e[0])?0:e[0],n=isNaN(e[1])?0:e[1],r=Math.sqrt(i*i+n*n),c="translate("+i*(o=a.hasType("donut")&&s.donut_label_ratio?f(s.donut_label_ratio)?s.donut_label_ratio(t,a.radius,r):s.donut_label_ratio:a.hasType("pie")&&s.pie_label_ratio?f(s.pie_label_ratio)?s.pie_label_ratio(t,a.radius,r):s.pie_label_ratio:a.radius&&r?(.375<36/a.radius?1.175-36/a.radius:.8)*a.radius/r:0)+","+n*o+")";else if(l&&u&&1<a.filterTargetsToShow(a.data.targets).length){var h=Math.sin(l.endAngle-Math.PI/2);c="translate("+(i=Math.cos(l.endAngle-Math.PI/2)*(a.radiusExpanded+25))+","+(n=h*(a.radiusExpanded+15-Math.abs(10*h))+3)+")"}return c},e.prototype.getArcRatio=function(t){var e=this.config,i=Math.PI*(this.hasType("gauge")&&!e.gauge_fullCircle?1:2);return t?(t.endAngle-t.startAngle)/i:null},e.prototype.convertToArcData=function(t){return this.addName({id:t.data.id,value:t.value,ratio:this.getArcRatio(t),index:t.index})},e.prototype.textForArcLabel=function(t){var e,i,n,r,o,a=this;return a.shouldShowArcLabel()?(i=(e=a.updateAngle(t))?e.value:null,n=a.getArcRatio(e),r=t.data.id,a.hasType("gauge")||a.meetsArcLabelThreshold(n)?(o=a.getArcLabelFormat())?o(i,n,r):a.defaultArcValueFormat(i,n):""):""},e.prototype.textForGaugeMinMax=function(t,e){var i=this.getGaugeLabelExtents();return i?i(t,e):t},e.prototype.expandArc=function(t){var e,i=this;i.transiting?e=window.setInterval(function(){i.transiting||(window.clearInterval(e),0<i.legend.selectAll(".c3-legend-item-focused").size()&&i.expandArc(t))},10):(t=i.mapToTargetIds(t),i.svg.selectAll(i.selectorTargets(t,"."+r.chartArc)).each(function(t){i.shouldExpand(t.data.id)&&i.d3.select(this).selectAll("path").transition().duration(i.expandDuration(t.data.id)).attr("d",i.svgArcExpanded).transition().duration(2*i.expandDuration(t.data.id)).attr("d",i.svgArcExpandedSub).each(function(t){i.isDonutType(t.data)})}))},e.prototype.unexpandArc=function(t){var e=this;e.transiting||(t=e.mapToTargetIds(t),e.svg.selectAll(e.selectorTargets(t,"."+r.chartArc)).selectAll("path").transition().duration(function(t){return e.expandDuration(t.data.id)}).attr("d",e.svgArc),e.svg.selectAll("."+r.arc))},e.prototype.expandDuration=function(t){var e=this.config;return this.isDonutType(t)?e.donut_expand_duration:this.isGaugeType(t)?e.gauge_expand_duration:this.isPieType(t)?e.pie_expand_duration:50},e.prototype.shouldExpand=function(t){var e=this.config;return this.isDonutType(t)&&e.donut_expand||this.isGaugeType(t)&&e.gauge_expand||this.isPieType(t)&&e.pie_expand},e.prototype.shouldShowArcLabel=function(){var t=this.config,e=!0;return this.hasType("donut")?e=t.donut_label_show:this.hasType("pie")&&(e=t.pie_label_show),e},e.prototype.meetsArcLabelThreshold=function(t){var e=this.config;return(this.hasType("donut")?e.donut_label_threshold:e.pie_label_threshold)<=t},e.prototype.getArcLabelFormat=function(){var t=this.config,e=t.pie_label_format;return this.hasType("gauge")?e=t.gauge_label_format:this.hasType("donut")&&(e=t.donut_label_format),e},e.prototype.getGaugeLabelExtents=function(){return this.config.gauge_label_extents},e.prototype.getArcTitle=function(){return this.hasType("donut")?this.config.donut_title:""},e.prototype.updateTargetsForArc=function(t){var e,i=this,n=i.main,o=i.classChartArc.bind(i),a=i.classArcs.bind(i),s=i.classFocus.bind(i);(e=n.select("."+r.chartArcs).selectAll("."+r.chartArc).data(i.pie(t)).attr("class",function(t){return o(t)+s(t.data)}).enter().append("g").attr("class",o)).append("g").attr("class",a),e.append("text").attr("dy",i.hasType("gauge")?"-.1em":".35em").style("opacity",0).style("text-anchor","middle").style("pointer-events","none")},e.prototype.initArc=function(){var t=this;t.arcs=t.main.select("."+r.chart).append("g").attr("class",r.chartArcs).attr("transform",t.getTranslate("arc")),t.arcs.append("text").attr("class",r.chartArcsTitle).style("text-anchor","middle").text(t.getArcTitle())},e.prototype.redrawArc=function(t,e,i){var n,o,a,s,l=this,c=l.d3,u=l.config,h=l.main,d=l.hasType("gauge");if(o=(n=h.selectAll("."+r.arcs).selectAll("."+r.arc).data(l.arcData.bind(l))).enter().append("path").attr("class",l.classArc.bind(l)).style("fill",function(t){return l.color(t.data)}).style("cursor",function(t){return u.interaction_enabled&&u.data_selection_isselectable(t)?"pointer":null}).each(function(t){l.isGaugeType(t.data)&&(t.startAngle=t.endAngle=u.gauge_startingAngle),this._current=t}).merge(n),d&&(s=(a=h.selectAll("."+r.arcs).selectAll("."+r.arcLabelLine).data(l.arcData.bind(l))).enter().append("rect").attr("class",function(t){return r.arcLabelLine+" "+r.target+" "+r.target+"-"+t.data.id}).merge(a),1===l.filterTargetsToShow(l.data.targets).length?s.style("display","none"):s.style("fill",function(t){return l.levelColor?l.levelColor(t.data.values[0].value):l.color(t.data)}).style("display",u.gauge_labelLine_show?"":"none").each(function(t){var e=0,i=0,n=0,r="";if(l.hiddenTargetIds.indexOf(t.data.id)<0){var o=l.updateAngle(t),a=l.gaugeArcWidth/l.filterTargetsToShow(l.data.targets).length*(o.index+1),s=o.endAngle-Math.PI/2,u=l.radius-a,h=s-(0===u?0:1/u);e=l.radiusExpanded-l.radius+a,i=Math.cos(h)*u,n=Math.sin(h)*u,r="rotate("+180*s/Math.PI+", "+i+", "+n+")"}c.select(this).attr("x",i).attr("y",n).attr("width",e).attr("height",2).attr("transform",r).style("stroke-dasharray","0, "+(e+2)+", 0")})),o.attr("transform",function(t){return!l.isGaugeType(t.data)&&i?"scale(0)":""}).on("mouseover",u.interaction_enabled?function(t){var e,i;l.transiting||(e=l.updateAngle(t))&&(i=l.convertToArcData(e),l.expandArc(e.data.id),l.api.focus(e.data.id),l.toggleFocusLegend(e.data.id,!0),l.config.data_onmouseover(i,this))}:null).on("mousemove",u.interaction_enabled?function(t){var e,i=l.updateAngle(t);i&&(e=[l.convertToArcData(i)],l.showTooltip(e,this))}:null).on("mouseout",u.interaction_enabled?function(t){var e,i;l.transiting||(e=l.updateAngle(t))&&(i=l.convertToArcData(e),l.unexpandArc(e.data.id),l.api.revert(),l.revertLegend(),l.hideTooltip(),l.config.data_onmouseout(i,this))}:null).on("click",u.interaction_enabled?function(t,e){var i,n=l.updateAngle(t);n&&(i=l.convertToArcData(n),l.toggleShape&&l.toggleShape(this,i,e),l.config.data_onclick.call(l.api,i,this))}:null).each(function(){l.transiting=!0}).transition().duration(t).attrTween("d",function(t){var e,i=l.updateAngle(t);return i?(isNaN(this._current.startAngle)&&(this._current.startAngle=0),isNaN(this._current.endAngle)&&(this._current.endAngle=this._current.startAngle),e=c.interpolate(this._current,i),this._current=e(0),function(i){var n=e(i);return n.data=t.data,l.getArc(n,!0)}):function(){return"M 0 0"}}).attr("transform",i?"scale(1)":"").style("fill",function(t){return l.levelColor?l.levelColor(t.data.values[0].value):l.color(t.data.id)}).call(l.endall,function(){l.transiting=!1}),n.exit().transition().duration(e).style("opacity",0).remove(),h.selectAll("."+r.chartArc).select("text").style("opacity",0).attr("class",function(t){return l.isGaugeType(t.data)?r.gaugeValue:""}).text(l.textForArcLabel.bind(l)).attr("transform",l.transformForArcLabel.bind(l)).style("font-size",function(t){return l.isGaugeType(t.data)&&1===l.filterTargetsToShow(l.data.targets).length?Math.round(l.radius/5)+"px":""}).transition().duration(t).style("opacity",function(t){return l.isTargetToShow(t.data.id)&&l.isArcType(t.data)?1:0}),h.select("."+r.chartArcsTitle).style("opacity",l.hasType("donut")||d?1:0),d){var f=0,p=l.arcs.select("g."+r.chartArcsBackground).selectAll("path."+r.chartArcsBackground).data(l.data.targets);p.enter().append("path").attr("class",function(t,e){return r.chartArcsBackground+" "+r.chartArcsBackground+"-"+e}).merge(p).attr("d",function(t){if(0<=l.hiddenTargetIds.indexOf(t.id))return"M 0 0";var e={data:[{value:u.gauge_max}],startAngle:u.gauge_startingAngle,endAngle:-1*u.gauge_startingAngle*(u.gauge_fullCircle?Math.PI:1),index:f++};return l.getArc(e,!0,!0)}),p.exit().remove(),l.arcs.select("."+r.chartArcsGaugeUnit).attr("dy",".75em").text(u.gauge_label_show?u.gauge_units:""),l.arcs.select("."+r.chartArcsGaugeMin).attr("dx",-1*(l.innerRadius+(l.radius-l.innerRadius)/(u.gauge_fullCircle?1:2))+"px").attr("dy","1.2em").text(u.gauge_label_show?l.textForGaugeMinMax(u.gauge_min,!1):""),l.arcs.select("."+r.chartArcsGaugeMax).attr("dx",l.innerRadius+(l.radius-l.innerRadius)/(u.gauge_fullCircle?1:2)+"px").attr("dy","1.2em").text(u.gauge_label_show?l.textForGaugeMinMax(u.gauge_max,!0):"")}},e.prototype.initGauge=function(){var t=this.arcs;this.hasType("gauge")&&(t.append("g").attr("class",r.chartArcsBackground),t.append("text").attr("class",r.chartArcsGaugeUnit).style("text-anchor","middle").style("pointer-events","none"),t.append("text").attr("class",r.chartArcsGaugeMin).style("text-anchor","middle").style("pointer-events","none"),t.append("text").attr("class",r.chartArcsGaugeMax).style("text-anchor","middle").style("pointer-events","none"))},e.prototype.getGaugeLabelHeight=function(){return this.config.gauge_label_show?20:0},e.prototype.hasCaches=function(t){for(var e=0;e<t.length;e++)if(!(t[e]in this.cache))return!1;return!0},e.prototype.addCache=function(t,e){this.cache[t]=this.cloneTarget(e)},e.prototype.getCaches=function(t){var e,i=[];for(e=0;e<t.length;e++)t[e]in this.cache&&i.push(this.cloneTarget(this.cache[t[e]]));return i},e.prototype.categoryName=function(t){var e=this.config;return t<e.axis_x_categories.length?e.axis_x_categories[t]:t},e.prototype.generateTargetClass=function(t){return t||0===t?("-"+t).replace(/\s/g,"-"):""},e.prototype.generateClass=function(t,e){return" "+t+" "+t+this.generateTargetClass(e)},e.prototype.classText=function(t){return this.generateClass(r.text,t.index)},e.prototype.classTexts=function(t){return this.generateClass(r.texts,t.id)},e.prototype.classShape=function(t){return this.generateClass(r.shape,t.index)},e.prototype.classShapes=function(t){return this.generateClass(r.shapes,t.id)},e.prototype.classLine=function(t){return this.classShape(t)+this.generateClass(r.line,t.id)},e.prototype.classLines=function(t){return this.classShapes(t)+this.generateClass(r.lines,t.id)},e.prototype.classCircle=function(t){return this.classShape(t)+this.generateClass(r.circle,t.index)},e.prototype.classCircles=function(t){return this.classShapes(t)+this.generateClass(r.circles,t.id)},e.prototype.classBar=function(t){return this.classShape(t)+this.generateClass(r.bar,t.index)},e.prototype.classBars=function(t){return this.classShapes(t)+this.generateClass(r.bars,t.id)},e.prototype.classArc=function(t){return this.classShape(t.data)+this.generateClass(r.arc,t.data.id)},e.prototype.classArcs=function(t){return this.classShapes(t.data)+this.generateClass(r.arcs,t.data.id)},e.prototype.classArea=function(t){return this.classShape(t)+this.generateClass(r.area,t.id)},e.prototype.classAreas=function(t){return this.classShapes(t)+this.generateClass(r.areas,t.id)},e.prototype.classRegion=function(t,e){return this.generateClass(r.region,e)+" "+("class"in t?t.class:"")},e.prototype.classEvent=function(t){return this.generateClass(r.eventRect,t.index)},e.prototype.classTarget=function(t){var e=this.config.data_classes[t],i="";return e&&(i=" "+r.target+"-"+e),this.generateClass(r.target,t)+i},e.prototype.classFocus=function(t){return this.classFocused(t)+this.classDefocused(t)},e.prototype.classFocused=function(t){return" "+(0<=this.focusedTargetIds.indexOf(t.id)?r.focused:"")},e.prototype.classDefocused=function(t){return" "+(0<=this.defocusedTargetIds.indexOf(t.id)?r.defocused:"")},e.prototype.classChartText=function(t){return r.chartText+this.classTarget(t.id)},e.prototype.classChartLine=function(t){return r.chartLine+this.classTarget(t.id)},e.prototype.classChartBar=function(t){return r.chartBar+this.classTarget(t.id)},e.prototype.classChartArc=function(t){return r.chartArc+this.classTarget(t.data.id)},e.prototype.getTargetSelectorSuffix=function(t){return this.generateTargetClass(t).replace(/([?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\])/g,"\\$1")},e.prototype.selectorTarget=function(t,e){return(e||"")+"."+r.target+this.getTargetSelectorSuffix(t)},e.prototype.selectorTargets=function(t,e){var i=this;return(t=t||[]).length?t.map(function(t){return i.selectorTarget(t,e)}):null},e.prototype.selectorLegend=function(t){return"."+r.legendItem+this.getTargetSelectorSuffix(t)},e.prototype.selectorLegends=function(t){var e=this;return t&&t.length?t.map(function(t){return e.selectorLegend(t)}):null},e.prototype.getClipPath=function(t){return"url("+(0<=window.navigator.appVersion.toLowerCase().indexOf("msie 9.")?"":document.URL.split("#")[0])+"#"+t+")"},e.prototype.appendClip=function(t,e){return t.append("clipPath").attr("id",e).append("rect")},e.prototype.getAxisClipX=function(t){var e=Math.max(30,this.margin.left);return t?-(1+e):-(e-1)},e.prototype.getAxisClipY=function(t){return t?-20:-this.margin.top},e.prototype.getXAxisClipX=function(){return this.getAxisClipX(!this.config.axis_rotated)},e.prototype.getXAxisClipY=function(){return this.getAxisClipY(!this.config.axis_rotated)},e.prototype.getYAxisClipX=function(){return this.config.axis_y_inner?-1:this.getAxisClipX(this.config.axis_rotated)},e.prototype.getYAxisClipY=function(){return this.getAxisClipY(this.config.axis_rotated)},e.prototype.getAxisClipWidth=function(t){var e=Math.max(30,this.margin.left),i=Math.max(30,this.margin.right);return t?this.width+2+e+i:this.margin.left+20},e.prototype.getAxisClipHeight=function(t){return(t?this.margin.bottom:this.margin.top+this.height)+20},e.prototype.getXAxisClipWidth=function(){return this.getAxisClipWidth(!this.config.axis_rotated)},e.prototype.getXAxisClipHeight=function(){return this.getAxisClipHeight(!this.config.axis_rotated)},e.prototype.getYAxisClipWidth=function(){return this.getAxisClipWidth(this.config.axis_rotated)+(this.config.axis_y_inner?20:0)},e.prototype.getYAxisClipHeight=function(){return this.getAxisClipHeight(this.config.axis_rotated)},e.prototype.generateColor=function(){var t=this.config,e=this.d3,i=t.data_colors,n=v(t.color_pattern)?t.color_pattern:e.schemeCategory10,r=t.data_color,o=[];return function(t){var e,a=t.id||t.data&&t.data.id||t;return i[a]instanceof Function?e=i[a](t):i[a]?e=i[a]:(o.indexOf(a)<0&&o.push(a),e=n[o.indexOf(a)%n.length],i[a]=e),r instanceof Function?r(e,t):e}},e.prototype.generateLevelColor=function(){var t=this.config,e=t.color_pattern,i=t.color_threshold,n="value"===i.unit,r=i.values&&i.values.length?i.values:[],o=i.max||100;return v(i)&&v(e)?function(t){var i,a=e[e.length-1];for(i=0;i<r.length;i++)if((n?t:100*t/o)<r[i]){a=e[i];break}return a}:null},e.prototype.getDefaultConfig=function(){var t={bindto:"#chart",svg_classname:void 0,size_width:void 0,size_height:void 0,padding_left:void 0,padding_right:void 0,padding_top:void 0,padding_bottom:void 0,resize_auto:!0,zoom_enabled:!1,zoom_initialRange:void 0,zoom_type:"scroll",zoom_disableDefaultBehavior:!1,zoom_privileged:!1,zoom_rescale:!1,zoom_onzoom:function(){},zoom_onzoomstart:function(){},zoom_onzoomend:function(){},zoom_x_min:void 0,zoom_x_max:void 0,interaction_brighten:!0,interaction_enabled:!0,onmouseover:function(){},onmouseout:function(){},onresize:function(){},onresized:function(){},oninit:function(){},onrendered:function(){},transition_duration:350,data_x:void 0,data_xs:{},data_xFormat:"%Y-%m-%d",data_xLocaltime:!0,data_xSort:!0,data_idConverter:function(t){return t},data_names:{},data_classes:{},data_groups:[],data_axes:{},data_type:void 0,data_types:{},data_labels:{},data_order:"desc",data_regions:{},data_color:void 0,data_colors:{},data_hide:!1,data_filter:void 0,data_selection_enabled:!1,data_selection_grouped:!1,data_selection_isselectable:function(){return!0},data_selection_multiple:!0,data_selection_draggable:!1,data_onclick:function(){},data_onmouseover:function(){},data_onmouseout:function(){},data_onselected:function(){},data_onunselected:function(){},data_url:void 0,data_headers:void 0,data_json:void 0,data_rows:void 0,data_columns:void 0,data_mimeType:void 0,data_keys:void 0,data_empty_label_text:"",subchart_show:!1,subchart_size_height:60,subchart_axis_x_show:!0,subchart_onbrush:function(){},color_pattern:[],color_threshold:{},legend_show:!0,legend_hide:!1,legend_position:"bottom",legend_inset_anchor:"top-left",legend_inset_x:10,legend_inset_y:0,legend_inset_step:void 0,legend_item_onclick:void 0,legend_item_onmouseover:void 0,legend_item_onmouseout:void 0,legend_equally:!1,legend_padding:0,legend_item_tile_width:10,legend_item_tile_height:10,axis_rotated:!1,axis_x_show:!0,axis_x_type:"indexed",axis_x_localtime:!0,axis_x_categories:[],axis_x_tick_centered:!1,axis_x_tick_format:void 0,axis_x_tick_culling:{},axis_x_tick_culling_max:10,axis_x_tick_count:void 0,axis_x_tick_fit:!0,axis_x_tick_values:null,axis_x_tick_rotate:0,axis_x_tick_outer:!0,axis_x_tick_multiline:!0,axis_x_tick_multilineMax:0,axis_x_tick_width:null,axis_x_max:void 0,axis_x_min:void 0,axis_x_padding:{},axis_x_height:void 0,axis_x_selection:void 0,axis_x_label:{},axis_x_inner:void 0,axis_y_show:!0,axis_y_type:void 0,axis_y_max:void 0,axis_y_min:void 0,axis_y_inverted:!1,axis_y_center:void 0,axis_y_inner:void 0,axis_y_label:{},axis_y_tick_format:void 0,axis_y_tick_outer:!0,axis_y_tick_values:null,axis_y_tick_rotate:0,axis_y_tick_count:void 0,axis_y_tick_time_type:void 0,axis_y_tick_time_interval:void 0,axis_y_padding:{},axis_y_default:void 0,axis_y2_show:!1,axis_y2_max:void 0,axis_y2_min:void 0,axis_y2_inverted:!1,axis_y2_center:void 0,axis_y2_inner:void 0,axis_y2_label:{},axis_y2_tick_format:void 0,axis_y2_tick_outer:!0,axis_y2_tick_values:null,axis_y2_tick_count:void 0,axis_y2_padding:{},axis_y2_default:void 0,grid_x_show:!1,grid_x_type:"tick",grid_x_lines:[],grid_y_show:!1,grid_y_lines:[],grid_y_ticks:10,grid_focus_show:!0,grid_lines_front:!0,point_show:!0,point_r:2.5,point_sensitivity:10,point_focus_expand_enabled:!0,point_focus_expand_r:void 0,point_select_r:void 0,line_connectNull:!1,line_step_type:"step",bar_width:void 0,bar_width_ratio:.6,bar_width_max:void 0,bar_zerobased:!0,bar_space:0,area_zerobased:!0,area_above:!1,pie_label_show:!0,pie_label_format:void 0,pie_label_threshold:.05,pie_label_ratio:void 0,pie_expand:{},pie_expand_duration:50,gauge_fullCircle:!1,gauge_label_show:!0,gauge_labelLine_show:!0,gauge_label_format:void 0,gauge_min:0,gauge_max:100,gauge_startingAngle:-1*Math.PI/2,gauge_label_extents:void 0,gauge_units:void 0,gauge_width:void 0,gauge_arcs_minWidth:5,gauge_expand:{},gauge_expand_duration:50,donut_label_show:!0,donut_label_format:void 0,donut_label_threshold:.05,donut_label_ratio:void 0,donut_width:void 0,donut_title:"",donut_expand:{},donut_expand_duration:50,spline_interpolation_type:"cardinal",regions:[],tooltip_show:!0,tooltip_grouped:!0,tooltip_order:void 0,tooltip_format_title:void 0,tooltip_format_name:void 0,tooltip_format_value:void 0,tooltip_position:void 0,tooltip_contents:function(t,e,i,n){return this.getTooltipContent?this.getTooltipContent(t,e,i,n):""},tooltip_init_show:!1,tooltip_init_x:0,tooltip_init_position:{top:"0px",left:"50px"},tooltip_onshow:function(){},tooltip_onhide:function(){},title_text:void 0,title_padding:{top:0,right:0,bottom:0,left:0},title_position:"top-center"};return Object.keys(this.additionalConfig).forEach(function(e){t[e]=this.additionalConfig[e]},this),t},e.prototype.additionalConfig={},e.prototype.loadConfig=function(e){var i,n,r,o=this.config;Object.keys(o).forEach(function(a){i=e,n=a.split("_"),r=function e(){var r=n.shift();return r&&i&&"object"===t(i)&&r in i?(i=i[r],e()):r?void 0:i}(),h(r)&&(o[a]=r)})},e.prototype.convertUrlToData=function(t,e,i,n,r){var o,a,s=this,l=e||"csv";a="json"===l?(o=s.d3.json,s.convertJsonToData):(o="tsv"===l?s.d3.tsv:s.d3.csv,s.convertXsvToData),o(t,i).then(function(t){r.call(s,a.call(s,t,n))}).catch(function(t){throw t})},e.prototype.convertXsvToData=function(t){var e=t.columns;return 0===t.length?{keys:e,rows:[e.reduce(function(t,e){return Object.assign(t,(null,(n=e)in(i={})?Object.defineProperty(i,n,{value:null,enumerable:!0,configurable:!0,writable:!0}):i[n]=null,i));var i,n},{})]}:{keys:e,rows:[].concat(t)}},e.prototype.convertJsonToData=function(t,e){var i,n=this,r=[];return e?(e.x?(i=e.value.concat(e.x),n.config.data_x=e.x):i=e.value,r.push(i),t.forEach(function(t){var e=[];i.forEach(function(i){var r=n.findValueInJson(t,i);g(r)&&(r=null),e.push(r)}),r.push(e)}),n.convertRowsToData(r)):(Object.keys(t).forEach(function(e){r.push([e].concat(t[e]))}),n.convertColumnsToData(r))},e.prototype.findValueInJson=function(t,e){for(var i=(e=(e=e.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),n=0;n<i.length;++n){var r=i[n];if(!(r in t))return;t=t[r]}return t},e.prototype.convertRowsToData=function(t){for(var e=[],i=t[0],n=1;n<t.length;n++){for(var r={},o=0;o<t[n].length;o++){if(g(t[n][o]))throw new Error("Source data is missing a component at ("+n+","+o+")!");r[i[o]]=t[n][o]}e.push(r)}return{keys:i,rows:e}},e.prototype.convertColumnsToData=function(t){for(var e=[],i=[],n=0;n<t.length;n++){for(var r=t[n][0],o=1;o<t[n].length;o++){if(g(e[o-1])&&(e[o-1]={}),g(t[n][o]))throw new Error("Source data is missing a component at ("+n+","+o+")!");e[o-1][r]=t[n][o]}i.push(r)}return{keys:i,rows:e}},e.prototype.convertDataToTargets=function(t,e){var i,n,r,o,a=this,s=a.config;return u(t)?o=Object.keys(t[0]):(o=t.keys,t=t.rows),n=o.filter(a.isNotX,a),r=o.filter(a.isX,a),n.forEach(function(i){var n=a.getXKey(i);a.isCustomX()||a.isTimeSeries()?0<=r.indexOf(n)?a.data.xs[i]=(e&&a.data.xs[i]?a.data.xs[i]:[]).concat(t.map(function(t){return t[n]}).filter(m).map(function(t,e){return a.generateTargetX(t,i,e)})):s.data_x?a.data.xs[i]=a.getOtherTargetXs():v(s.data_xs)&&(a.data.xs[i]=a.getXValuesOfXKey(n,a.data.targets)):a.data.xs[i]=t.map(function(t,e){return e})}),n.forEach(function(t){if(!a.data.xs[t])throw new Error('x is not defined for id = "'+t+'".')}),(i=n.map(function(e,i){var n=s.data_idConverter(e);return{id:n,id_org:e,values:t.map(function(t,r){var o,l=t[a.getXKey(e)],c=null===t[e]||isNaN(t[e])?null:+t[e];return a.isCustomX()&&a.isCategorized()&&!g(l)?(0===i&&0===r&&(s.axis_x_categories=[]),-1===(o=s.axis_x_categories.indexOf(l))&&(o=s.axis_x_categories.length,s.axis_x_categories.push(l))):o=a.generateTargetX(l,e,r),(g(t[e])||a.data.xs[e].length<=r)&&(o=void 0),{x:o,value:c,id:n}}).filter(function(t){return h(t.x)})}})).forEach(function(t){var e;s.data_xSort&&(t.values=t.values.sort(function(t,e){return(t.x||0===t.x?t.x:1/0)-(e.x||0===e.x?e.x:1/0)})),e=0,t.values.forEach(function(t){t.index=e++}),a.data.xs[t.id].sort(function(t,e){return t-e})}),a.hasNegativeValue=a.hasNegativeValueInTargets(i),a.hasPositiveValue=a.hasPositiveValueInTargets(i),s.data_type&&a.setTargetType(a.mapToIds(i).filter(function(t){return!(t in s.data_types)}),s.data_type),i.forEach(function(t){a.addCache(t.id_org,t)}),i},e.prototype.isX=function(t){var e,i,n,r=this.config;return r.data_x&&t===r.data_x||v(r.data_xs)&&(e=r.data_xs,i=t,n=!1,Object.keys(e).forEach(function(t){e[t]===i&&(n=!0)}),n)},e.prototype.isNotX=function(t){return!this.isX(t)},e.prototype.getXKey=function(t){var e=this.config;return e.data_x?e.data_x:v(e.data_xs)?e.data_xs[t]:null},e.prototype.getXValuesOfXKey=function(t,e){var i,n=this;return(e&&v(e)?n.mapToIds(e):[]).forEach(function(e){n.getXKey(e)===t&&(i=n.data.xs[e])}),i},e.prototype.getXValue=function(t,e){return t in this.data.xs&&this.data.xs[t]&&m(this.data.xs[t][e])?this.data.xs[t][e]:e},e.prototype.getOtherTargetXs=function(){var t=Object.keys(this.data.xs);return t.length?this.data.xs[t[0]]:null},e.prototype.getOtherTargetX=function(t){var e=this.getOtherTargetXs();return e&&t<e.length?e[t]:null},e.prototype.addXs=function(t){var e=this;Object.keys(t).forEach(function(i){e.config.data_xs[i]=t[i]})},e.prototype.addName=function(t){var e;return t&&(e=this.config.data_names[t.id],t.name=void 0!==e?e:t.id),t},e.prototype.getValueOnIndex=function(t,e){var i=t.filter(function(t){return t.index===e});return i.length?i[0]:null},e.prototype.updateTargetX=function(t,e){var i=this;t.forEach(function(t){t.values.forEach(function(n,r){n.x=i.generateTargetX(e[r],t.id,r)}),i.data.xs[t.id]=e})},e.prototype.updateTargetXs=function(t,e){var i=this;t.forEach(function(t){e[t.id]&&i.updateTargetX([t],e[t.id])})},e.prototype.generateTargetX=function(t,e,i){var n=this;return n.isTimeSeries()?t?n.parseDate(t):n.parseDate(n.getXValue(e,i)):n.isCustomX()&&!n.isCategorized()?m(t)?+t:n.getXValue(e,i):i},e.prototype.cloneTarget=function(t){return{id:t.id,id_org:t.id_org,values:t.values.map(function(t){return{x:t.x,value:t.value,id:t.id}})}},e.prototype.getMaxDataCount=function(){return this.d3.max(this.data.targets,function(t){return t.values.length})},e.prototype.mapToIds=function(t){return t.map(function(t){return t.id})},e.prototype.mapToTargetIds=function(t){return t?[].concat(t):this.mapToIds(this.data.targets)},e.prototype.hasTarget=function(t,e){var i,n=this.mapToIds(t);for(i=0;i<n.length;i++)if(n[i]===e)return!0;return!1},e.prototype.isTargetToShow=function(t){return this.hiddenTargetIds.indexOf(t)<0},e.prototype.isLegendToShow=function(t){return this.hiddenLegendIds.indexOf(t)<0},e.prototype.filterTargetsToShow=function(t){var e=this;return t.filter(function(t){return e.isTargetToShow(t.id)})},e.prototype.mapTargetsToUniqueXs=function(t){var e=this.d3.set(this.d3.merge(t.map(function(t){return t.values.map(function(t){return+t.x})}))).values();return(e=this.isTimeSeries()?e.map(function(t){return new Date(+t)}):e.map(function(t){return+t})).sort(function(t,e){return t<e?-1:e<t?1:e<=t?0:NaN})},e.prototype.addHiddenTargetIds=function(t){t=t instanceof Array?t:new Array(t);for(var e=0;e<t.length;e++)this.hiddenTargetIds.indexOf(t[e])<0&&(this.hiddenTargetIds=this.hiddenTargetIds.concat(t[e]))},e.prototype.removeHiddenTargetIds=function(t){this.hiddenTargetIds=this.hiddenTargetIds.filter(function(e){return t.indexOf(e)<0})},e.prototype.addHiddenLegendIds=function(t){t=t instanceof Array?t:new Array(t);for(var e=0;e<t.length;e++)this.hiddenLegendIds.indexOf(t[e])<0&&(this.hiddenLegendIds=this.hiddenLegendIds.concat(t[e]))},e.prototype.removeHiddenLegendIds=function(t){this.hiddenLegendIds=this.hiddenLegendIds.filter(function(e){return t.indexOf(e)<0})},e.prototype.getValuesAsIdKeyed=function(t){var e={};return t.forEach(function(t){e[t.id]=[],t.values.forEach(function(i){e[t.id].push(i.value)})}),e},e.prototype.checkValueInTargets=function(t,e){var i,n,r,o=Object.keys(t);for(i=0;i<o.length;i++)for(r=t[o[i]].values,n=0;n<r.length;n++)if(e(r[n].value))return!0;return!1},e.prototype.hasNegativeValueInTargets=function(t){return this.checkValueInTargets(t,function(t){return t<0})},e.prototype.hasPositiveValueInTargets=function(t){return this.checkValueInTargets(t,function(t){return 0<t})},e.prototype.isOrderDesc=function(){var t=this.config;return"string"==typeof t.data_order&&"desc"===t.data_order.toLowerCase()},e.prototype.isOrderAsc=function(){var t=this.config;return"string"==typeof t.data_order&&"asc"===t.data_order.toLowerCase()},e.prototype.getOrderFunction=function(){var t=this.config,e=this.isOrderAsc(),i=this.isOrderDesc();if(e||i){var n=function(t,e){return t+Math.abs(e.value)};return function(t,i){var r=t.values.reduce(n,0),o=i.values.reduce(n,0);return e?o-r:r-o}}if(f(t.data_order))return t.data_order;if(u(t.data_order)){var r=t.data_order;return function(t,e){return r.indexOf(t.id)-r.indexOf(e.id)}}},e.prototype.orderTargets=function(t){var e=this.getOrderFunction();return e&&t.sort(e),t},e.prototype.filterByX=function(t,e){return this.d3.merge(t.map(function(t){return t.values})).filter(function(t){return t.x-e==0})},e.prototype.filterRemoveNull=function(t){return t.filter(function(t){return m(t.value)})},e.prototype.filterByXDomain=function(t,e){return t.map(function(t){return{id:t.id,id_org:t.id_org,values:t.values.filter(function(t){return e[0]<=t.x&&t.x<=e[1]})}})},e.prototype.hasDataLabel=function(){var e=this.config;return!("boolean"!=typeof e.data_labels||!e.data_labels)||!("object"!==t(e.data_labels)||!v(e.data_labels))},e.prototype.getDataLabelLength=function(t,e,i){var n=this,r=[0,0];return n.selectChart.select("svg").selectAll(".dummy").data([t,e]).enter().append("text").text(function(t){return n.dataLabelFormat(t.id)(t)}).each(function(t,e){r[e]=1.3*this.getBoundingClientRect()[i]}).remove(),r},e.prototype.isNoneArc=function(t){return this.hasTarget(this.data.targets,t.id)},e.prototype.isArc=function(t){return"data"in t&&this.hasTarget(this.data.targets,t.data.id)},e.prototype.findClosestFromTargets=function(t,e){var i,n=this;return i=t.map(function(t){return n.findClosest(t.values,e)}),n.findClosest(i,e)},e.prototype.findClosest=function(t,e){var i,n=this,o=n.config.point_sensitivity;return t.filter(function(t){return t&&n.isBarType(t.id)}).forEach(function(t){var e=n.main.select("."+r.bars+n.getTargetSelectorSuffix(t.id)+" ."+r.bar+"-"+t.index).node();!i&&n.isWithinBar(n.d3.mouse(e),e)&&(i=t)}),t.filter(function(t){return t&&!n.isBarType(t.id)}).forEach(function(t){var r=n.dist(t,e);r<o&&(o=r,i=t)}),i},e.prototype.dist=function(t,e){var i=this.config,n=i.axis_rotated?1:0,r=i.axis_rotated?0:1,o=this.circleY(t,t.index),a=this.x(t.x);return Math.sqrt(Math.pow(a-e[n],2)+Math.pow(o-e[r],2))},e.prototype.convertValuesToStep=function(t){var e,i=[].concat(t);if(!this.isCategorized())return t;for(e=t.length+1;0<e;e--)i[e]=i[e-1];return i[0]={x:i[0].x-1,value:i[0].value,id:i[0].id},i[t.length+1]={x:i[t.length].x+1,value:i[t.length].value,id:i[t.length].id},i},e.prototype.updateDataAttributes=function(t,e){var i=this.config["data_"+t];return void 0===e||(Object.keys(e).forEach(function(t){i[t]=e[t]}),this.redraw({withLegend:!0})),i},e.prototype.load=function(t,e){var i=this;t&&(e.filter&&(t=t.filter(e.filter)),(e.type||e.types)&&t.forEach(function(t){var n=e.types&&e.types[t.id]?e.types[t.id]:e.type;i.setTargetType(t.id,n)}),i.data.targets.forEach(function(e){for(var i=0;i<t.length;i++)if(e.id===t[i].id){e.values=t[i].values,t.splice(i,1);break}}),i.data.targets=i.data.targets.concat(t)),i.updateTargets(i.data.targets),i.redraw({withUpdateOrgXDomain:!0,withUpdateXDomain:!0,withLegend:!0}),e.done&&e.done()},e.prototype.loadFromArgs=function(t){var e=this;t.data?e.load(e.convertDataToTargets(t.data),t):t.url?e.convertUrlToData(t.url,t.mimeType,t.headers,t.keys,function(i){e.load(e.convertDataToTargets(i),t)}):t.json?e.load(e.convertDataToTargets(e.convertJsonToData(t.json,t.keys)),t):t.rows?e.load(e.convertDataToTargets(e.convertRowsToData(t.rows)),t):t.columns?e.load(e.convertDataToTargets(e.convertColumnsToData(t.columns)),t):e.load(null,t)},e.prototype.unload=function(t,e){var i=this;e||(e=function(){}),(t=t.filter(function(t){return i.hasTarget(i.data.targets,t)}))&&0!==t.length?(i.svg.selectAll(t.map(function(t){return i.selectorTarget(t)})).transition().style("opacity",0).remove().call(i.endall,e),t.forEach(function(t){i.withoutFadeIn[t]=!1,i.legend&&i.legend.selectAll("."+r.legendItem+i.getTargetSelectorSuffix(t)).remove(),i.data.targets=i.data.targets.filter(function(e){return e.id!==t})})):e()},e.prototype.getYDomainMin=function(t){var e,i,n,r,o,a,s=this,l=s.config,c=s.mapToIds(t),u=s.getValuesAsIdKeyed(t);if(0<l.data_groups.length)for(a=s.hasNegativeValueInTargets(t),e=0;e<l.data_groups.length;e++)if(0!==(r=l.data_groups[e].filter(function(t){return 0<=c.indexOf(t)})).length)for(n=r[0],a&&u[n]&&u[n].forEach(function(t,e){u[n][e]=t<0?t:0}),i=1;i<r.length;i++)o=r[i],u[o]&&u[o].forEach(function(t,e){s.axis.getId(o)!==s.axis.getId(n)||!u[n]||a&&0<+t||(u[n][e]+=+t)});return s.d3.min(Object.keys(u).map(function(t){return s.d3.min(u[t])}))},e.prototype.getYDomainMax=function(t){var e,i,n,r,o,a,s=this,l=s.config,c=s.mapToIds(t),u=s.getValuesAsIdKeyed(t);if(0<l.data_groups.length)for(a=s.hasPositiveValueInTargets(t),e=0;e<l.data_groups.length;e++)if(0!==(r=l.data_groups[e].filter(function(t){return 0<=c.indexOf(t)})).length)for(n=r[0],a&&u[n]&&u[n].forEach(function(t,e){u[n][e]=0<t?t:0}),i=1;i<r.length;i++)o=r[i],u[o]&&u[o].forEach(function(t,e){s.axis.getId(o)!==s.axis.getId(n)||!u[n]||a&&+t<0||(u[n][e]+=+t)});return s.d3.max(Object.keys(u).map(function(t){return s.d3.max(u[t])}))},e.prototype.getYDomain=function(t,e,i){var n,r,o,a,l,c,u,h,d,f,p=this,g=p.config,y=t.filter(function(t){return p.axis.getId(t.id)===e}),b=i?p.filterByXDomain(y,i):y,L="y2"===e?g.axis_y2_min:g.axis_y_min,x="y2"===e?g.axis_y2_max:g.axis_y_max,w=p.getYDomainMin(b),_=p.getYDomainMax(b),S="y2"===e?g.axis_y2_center:g.axis_y_center,C=p.hasType("bar",b)&&g.bar_zerobased||p.hasType("area",b)&&g.area_zerobased,k="y2"===e?g.axis_y2_inverted:g.axis_y_inverted,T=p.hasDataLabel()&&g.axis_rotated,E=p.hasDataLabel()&&!g.axis_rotated;return w=m(L)?L:m(x)?w<x?w:x-10:w,_=m(x)?x:m(L)?L<_?_:L+10:_,0===b.length?"y2"===e?p.y2.domain():p.y.domain():(isNaN(w)&&(w=0),isNaN(_)&&(_=w),w===_&&(w<0?_=0:w=0),d=0<=w&&0<=_,f=w<=0&&_<=0,(m(L)&&d||m(x)&&f)&&(C=!1),C&&(d&&(w=0),f&&(_=0)),o=a=.1*(r=Math.abs(_-w)),void 0!==S&&(_=S+(l=Math.max(Math.abs(w),Math.abs(_))),w=S-l),T?(c=p.getDataLabelLength(w,_,"width"),u=s(p.y.range()),o+=r*((h=[c[0]/u,c[1]/u])[1]/(1-h[0]-h[1])),a+=r*(h[0]/(1-h[0]-h[1]))):E&&(c=p.getDataLabelLength(w,_,"height"),o+=p.axis.convertPixelsToAxisPadding(c[1],r),a+=p.axis.convertPixelsToAxisPadding(c[0],r)),"y"===e&&v(g.axis_y_padding)&&(o=p.axis.getPadding(g.axis_y_padding,"top",o,r),a=p.axis.getPadding(g.axis_y_padding,"bottom",a,r)),"y2"===e&&v(g.axis_y2_padding)&&(o=p.axis.getPadding(g.axis_y2_padding,"top",o,r),a=p.axis.getPadding(g.axis_y2_padding,"bottom",a,r)),C&&(d&&(a=w),f&&(o=-_)),n=[w-a,_+o],k?n.reverse():n)},e.prototype.getXDomainMin=function(t){var e=this,i=e.config;return h(i.axis_x_min)?e.isTimeSeries()?this.parseDate(i.axis_x_min):i.axis_x_min:e.d3.min(t,function(t){return e.d3.min(t.values,function(t){return t.x})})},e.prototype.getXDomainMax=function(t){var e=this,i=e.config;return h(i.axis_x_max)?e.isTimeSeries()?this.parseDate(i.axis_x_max):i.axis_x_max:e.d3.max(t,function(t){return e.d3.max(t.values,function(t){return t.x})})},e.prototype.getXDomainPadding=function(e){var i,n,r,o,a=this.config,s=e[1]-e[0];return n=this.isCategorized()?0:this.hasType("bar")?1<(i=this.getMaxDataCount())?s/(i-1)/2:.5:.01*s,"object"===t(a.axis_x_padding)&&v(a.axis_x_padding)?(r=m(a.axis_x_padding.left)?a.axis_x_padding.left:n,o=m(a.axis_x_padding.right)?a.axis_x_padding.right:n):r=o="number"==typeof a.axis_x_padding?a.axis_x_padding:n,{left:r,right:o}},e.prototype.getXDomain=function(t){var e=this,i=[e.getXDomainMin(t),e.getXDomainMax(t)],n=i[0],r=i[1],o=e.getXDomainPadding(i),a=0,s=0;return n-r!=0||e.isCategorized()||(r=e.isTimeSeries()?(n=new Date(.5*n.getTime()),new Date(1.5*r.getTime())):(n=0===n?1:.5*n,0===r?-1:1.5*r)),(n||0===n)&&(a=e.isTimeSeries()?new Date(n.getTime()-o.left):n-o.left),(r||0===r)&&(s=e.isTimeSeries()?new Date(r.getTime()+o.right):r+o.right),[a,s]},e.prototype.updateXDomain=function(t,e,i,n,r){var o=this,a=o.config;return i&&(o.x.domain(r||o.d3.extent(o.getXDomain(t))),o.orgXDomain=o.x.domain(),a.zoom_enabled&&o.zoom.update(),o.subX.domain(o.x.domain()),o.brush&&o.brush.updateScale(o.subX)),e&&o.x.domain(r||(!o.brush||o.brush.empty()?o.orgXDomain:o.brush.selectionAsValue())),n&&o.x.domain(o.trimXDomain(o.x.orgDomain())),o.x.domain()},e.prototype.trimXDomain=function(t){var e=this.getZoomDomain(),i=e[0],n=e[1];return t[0]<=i&&(t[1]=+t[1]+(i-t[0]),t[0]=i),n<=t[1]&&(t[0]=+t[0]-(t[1]-n),t[1]=n),t},e.prototype.drag=function(t){var e,i,n,o,a,s,l,u,h=this,d=h.config,f=h.main,p=h.d3;h.hasArcType()||d.data_selection_enabled&&d.data_selection_multiple&&(e=h.dragStart[0],i=h.dragStart[1],n=t[0],o=t[1],a=Math.min(e,n),s=Math.max(e,n),l=d.data_selection_grouped?h.margin.top:Math.min(i,o),u=d.data_selection_grouped?h.height:Math.max(i,o),f.select("."+r.dragarea).attr("x",a).attr("y",l).attr("width",s-a).attr("height",u-l),f.selectAll("."+r.shapes).selectAll("."+r.shape).filter(function(t){return d.data_selection_isselectable(t)}).each(function(t,e){var i,n,o,d,f,g,m=p.select(this),v=m.classed(r.SELECTED),y=m.classed(r.INCLUDED),b=!1;if(m.classed(r.circle))i=1*m.attr("cx"),n=1*m.attr("cy"),f=h.togglePoint,b=a<i&&i<s&&l<n&&n<u;else{if(!m.classed(r.bar))return;i=(g=c(this)).x,n=g.y,o=g.width,d=g.height,f=h.togglePath,b=!(s<i||i+o<a||u<n||n+d<l)}b^y&&(m.classed(r.INCLUDED,!y),m.classed(r.SELECTED,!v),f.call(h,!v,m,t,e))}))},e.prototype.dragstart=function(t){var e=this,i=e.config;e.hasArcType()||i.data_selection_enabled&&(e.dragStart=t,e.main.select("."+r.chart).append("rect").attr("class",r.dragarea).style("opacity",.1),e.dragging=!0)},e.prototype.dragend=function(){var t=this,e=t.config;t.hasArcType()||e.data_selection_enabled&&(t.main.select("."+r.dragarea).transition().duration(100).style("opacity",0).remove(),t.main.selectAll("."+r.shape).classed(r.INCLUDED,!1),t.dragging=!1)},e.prototype.getYFormat=function(t){var e=this,i=t&&!e.hasType("gauge")?e.defaultArcValueFormat:e.yFormat,n=t&&!e.hasType("gauge")?e.defaultArcValueFormat:e.y2Format;return function(t,r,o){return("y2"===e.axis.getId(o)?n:i).call(e,t,r)}},e.prototype.yFormat=function(t){var e=this.config;return(e.axis_y_tick_format?e.axis_y_tick_format:this.defaultValueFormat)(t)},e.prototype.y2Format=function(t){var e=this.config;return(e.axis_y2_tick_format?e.axis_y2_tick_format:this.defaultValueFormat)(t)},e.prototype.defaultValueFormat=function(t){return m(t)?+t:""},e.prototype.defaultArcValueFormat=function(t,e){return(100*e).toFixed(1)+"%"},e.prototype.dataLabelFormat=function(e){var i=this.config.data_labels,n=function(t){return m(t)?+t:""};return"function"==typeof i.format?i.format:"object"===t(i.format)?i.format[e]?!0===i.format[e]?n:i.format[e]:function(){return""}:n},e.prototype.initGrid=function(){var t=this,e=t.config,i=t.d3;t.grid=t.main.append("g").attr("clip-path",t.clipPathForGrid).attr("class",r.grid),e.grid_x_show&&t.grid.append("g").attr("class",r.xgrids),e.grid_y_show&&t.grid.append("g").attr("class",r.ygrids),e.grid_focus_show&&t.grid.append("g").attr("class",r.xgridFocus).append("line").attr("class",r.xgridFocus),t.xgrid=i.selectAll([]),e.grid_lines_front||t.initGridLines()},e.prototype.initGridLines=function(){var t=this,e=t.d3;t.gridLines=t.main.append("g").attr("clip-path",t.clipPathForGrid).attr("class",r.grid+" "+r.gridLines),t.gridLines.append("g").attr("class",r.xgridLines),t.gridLines.append("g").attr("class",r.ygridLines),t.xgridLines=e.selectAll([])},e.prototype.updateXGrid=function(t){var e=this,i=e.config,n=e.d3,o=e.generateGridData(i.grid_x_type,e.x),a=e.isCategorized()?e.xAxis.tickOffset():0;e.xgridAttr=i.axis_rotated?{x1:0,x2:e.width,y1:function(t){return e.x(t)-a},y2:function(t){return e.x(t)-a}}:{x1:function(t){return e.x(t)+a},x2:function(t){return e.x(t)+a},y1:0,y2:e.height},e.xgridAttr.opacity=function(){return+n.select(this).attr(i.axis_rotated?"y1":"x1")===(i.axis_rotated?e.height:0)?0:1};var s=e.main.select("."+r.xgrids).selectAll("."+r.xgrid).data(o),l=s.enter().append("line").attr("class",r.xgrid).attr("x1",e.xgridAttr.x1).attr("x2",e.xgridAttr.x2).attr("y1",e.xgridAttr.y1).attr("y2",e.xgridAttr.y2).style("opacity",0);e.xgrid=l.merge(s),t||e.xgrid.attr("x1",e.xgridAttr.x1).attr("x2",e.xgridAttr.x2).attr("y1",e.xgridAttr.y1).attr("y2",e.xgridAttr.y2).style("opacity",e.xgridAttr.opacity),s.exit().remove()},e.prototype.updateYGrid=function(){var t=this,e=t.config,i=t.yAxis.tickValues()||t.y.ticks(e.grid_y_ticks),n=t.main.select("."+r.ygrids).selectAll("."+r.ygrid).data(i),o=n.enter().append("line").attr("class",r.ygrid);t.ygrid=o.merge(n),t.ygrid.attr("x1",e.axis_rotated?t.y:0).attr("x2",e.axis_rotated?t.y:t.width).attr("y1",e.axis_rotated?0:t.y).attr("y2",e.axis_rotated?t.height:t.y),n.exit().remove(),t.smoothLines(t.ygrid,"grid")},e.prototype.gridTextAnchor=function(t){return t.position?t.position:"end"},e.prototype.gridTextDx=function(t){return"start"===t.position?4:"middle"===t.position?0:-4},e.prototype.xGridTextX=function(t){return"start"===t.position?-this.height:"middle"===t.position?-this.height/2:0},e.prototype.yGridTextX=function(t){return"start"===t.position?0:"middle"===t.position?this.width/2:this.width},e.prototype.updateGrid=function(t){var e,i,n,o,a=this,s=a.main,l=a.config,c=a.xv.bind(a),u=a.yv.bind(a),h=a.xGridTextX.bind(a),d=a.yGridTextX.bind(a);a.grid.style("visibility",a.hasArcType()?"hidden":"visible"),s.select("line."+r.xgridFocus).style("visibility","hidden"),l.grid_x_show&&a.updateXGrid(),(i=(e=s.select("."+r.xgridLines).selectAll("."+r.xgridLine).data(l.grid_x_lines)).enter().append("g").attr("class",function(t){return r.xgridLine+(t.class?" "+t.class:"")})).append("line").attr("x1",l.axis_rotated?0:c).attr("x2",l.axis_rotated?a.width:c).attr("y1",l.axis_rotated?c:0).attr("y2",l.axis_rotated?c:a.height).style("opacity",0),i.append("text").attr("text-anchor",a.gridTextAnchor).attr("transform",l.axis_rotated?"":"rotate(-90)").attr("x",l.axis_rotated?d:h).attr("y",c).attr("dx",a.gridTextDx).attr("dy",-5).style("opacity",0),a.xgridLines=i.merge(e),e.exit().transition().duration(t).style("opacity",0).remove(),l.grid_y_show&&a.updateYGrid(),(o=(n=s.select("."+r.ygridLines).selectAll("."+r.ygridLine).data(l.grid_y_lines)).enter().append("g").attr("class",function(t){return r.ygridLine+(t.class?" "+t.class:"")})).append("line").attr("x1",l.axis_rotated?u:0).attr("x2",l.axis_rotated?u:a.width).attr("y1",l.axis_rotated?0:u).attr("y2",l.axis_rotated?a.height:u).style("opacity",0),o.append("text").attr("text-anchor",a.gridTextAnchor).attr("transform",l.axis_rotated?"rotate(-90)":"").attr("x",l.axis_rotated?h:d).attr("y",u).attr("dx",a.gridTextDx).attr("dy",-5).style("opacity",0),a.ygridLines=o.merge(n),a.ygridLines.select("line").transition().duration(t).attr("x1",l.axis_rotated?u:0).attr("x2",l.axis_rotated?u:a.width).attr("y1",l.axis_rotated?0:u).attr("y2",l.axis_rotated?a.height:u).style("opacity",1),a.ygridLines.select("text").transition().duration(t).attr("x",l.axis_rotated?a.xGridTextX.bind(a):a.yGridTextX.bind(a)).attr("y",u).text(function(t){return t.text}).style("opacity",1),n.exit().transition().duration(t).style("opacity",0).remove()},e.prototype.redrawGrid=function(t,e){var i=this,n=i.config,r=i.xv.bind(i),o=i.xgridLines.select("line"),a=i.xgridLines.select("text");return[(t?o.transition(e):o).attr("x1",n.axis_rotated?0:r).attr("x2",n.axis_rotated?i.width:r).attr("y1",n.axis_rotated?r:0).attr("y2",n.axis_rotated?r:i.height).style("opacity",1),(t?a.transition(e):a).attr("x",n.axis_rotated?i.yGridTextX.bind(i):i.xGridTextX.bind(i)).attr("y",r).text(function(t){return t.text}).style("opacity",1)]},e.prototype.showXGridFocus=function(t){var e=this,i=e.config,n=t.filter(function(t){return t&&m(t.value)}),o=e.main.selectAll("line."+r.xgridFocus),a=e.xx.bind(e);i.tooltip_show&&(e.hasType("scatter")||e.hasArcType()||(o.style("visibility","visible").data([n[0]]).attr(i.axis_rotated?"y1":"x1",a).attr(i.axis_rotated?"y2":"x2",a),e.smoothLines(o,"grid")))},e.prototype.hideXGridFocus=function(){this.main.select("line."+r.xgridFocus).style("visibility","hidden")},e.prototype.updateXgridFocus=function(){var t=this.config;this.main.select("line."+r.xgridFocus).attr("x1",t.axis_rotated?0:-10).attr("x2",t.axis_rotated?this.width:-10).attr("y1",t.axis_rotated?-10:0).attr("y2",t.axis_rotated?-10:this.height)},e.prototype.generateGridData=function(t,e){var i,n,o,a,s=[],l=this.main.select("."+r.axisX).selectAll(".tick").size();if("year"===t)for(n=(i=this.getXDomain())[0].getFullYear(),o=i[1].getFullYear(),a=n;a<=o;a++)s.push(new Date(a+"-01-01 00:00:00"));else(s=e.ticks(10)).length>l&&(s=s.filter(function(t){return(""+t).indexOf(".")<0}));return s},e.prototype.getGridFilterToRemove=function(t){return t?function(e){var i=!1;return[].concat(t).forEach(function(t){("value"in t&&e.value===t.value||"class"in t&&e.class===t.class)&&(i=!0)}),i}:function(){return!0}},e.prototype.removeGridLines=function(t,e){var i=this.config,n=this.getGridFilterToRemove(t),o=function(t){return!n(t)},a=e?r.xgridLines:r.ygridLines,s=e?r.xgridLine:r.ygridLine;this.main.select("."+a).selectAll("."+s).filter(n).transition().duration(i.transition_duration).style("opacity",0).remove(),e?i.grid_x_lines=i.grid_x_lines.filter(o):i.grid_y_lines=i.grid_y_lines.filter(o)},e.prototype.initEventRect=function(){var t=this,e=t.config;t.main.select("."+r.chart).append("g").attr("class",r.eventRects).style("fill-opacity",0),t.eventRect=t.main.select("."+r.eventRects).append("rect").attr("class",r.eventRect),e.zoom_enabled&&t.zoom&&(t.eventRect.call(t.zoom).on("dblclick.zoom",null),e.zoom_initialRange&&t.eventRect.transition().duration(0).call(t.zoom.transform,t.zoomTransform(e.zoom_initialRange)))},e.prototype.redrawEventRect=function(){var t,e,i=this,n=i.d3,o=i.config;function a(){i.svg.select("."+r.eventRect).style("cursor",null),i.hideXGridFocus(),i.hideTooltip(),i.unexpandCircles(),i.unexpandBars()}t=i.width,e=i.height,i.main.select("."+r.eventRects).style("cursor",o.zoom_enabled?o.axis_rotated?"ns-resize":"ew-resize":null),i.eventRect.attr("x",0).attr("y",0).attr("width",t).attr("height",e).on("mouseout",o.interaction_enabled?function(){o&&(i.hasArcType()||a())}:null).on("mousemove",o.interaction_enabled?function(){var t,e,s,l;i.dragging||i.hasArcType(t)||(t=i.filterTargetsToShow(i.data.targets),e=n.mouse(this),s=i.findClosestFromTargets(t,e),!i.mouseover||s&&s.id===i.mouseover.id||(o.data_onmouseout.call(i.api,i.mouseover),i.mouseover=void 0),s?(l=(i.isScatterType(s)||!o.tooltip_grouped?[s]:i.filterByX(t,s.x)).map(function(t){return i.addName(t)}),i.showTooltip(l,this),o.point_focus_expand_enabled&&(i.unexpandCircles(),l.forEach(function(t){i.expandCircles(t.index,t.id,!1)})),i.expandBars(s.index,s.id,!0),i.showXGridFocus(l),(i.isBarType(s.id)||i.dist(s,e)<o.point_sensitivity)&&(i.svg.select("."+r.eventRect).style("cursor","pointer"),i.mouseover||(o.data_onmouseover.call(i.api,s),i.mouseover=s))):a())}:null).on("click",o.interaction_enabled?function(){var t,e,a;i.hasArcType(t)||(t=i.filterTargetsToShow(i.data.targets),e=n.mouse(this),(a=i.findClosestFromTargets(t,e))&&(i.isBarType(a.id)||i.dist(a,e)<o.point_sensitivity)&&(i.isScatterType(a)||!o.data_selection_grouped?[a]:i.filterByX(t,a.x)).forEach(function(t){i.main.selectAll("."+r.shapes+i.getTargetSelectorSuffix(t.id)).selectAll("."+r.shape+"-"+t.index).each(function(){(o.data_selection_grouped||i.isWithinShape(this,t))&&(i.toggleShape(this,t,t.index),o.data_onclick.call(i.api,t,this))})}))}:null).call(o.interaction_enabled&&o.data_selection_draggable&&i.drag?n.drag().on("drag",function(){i.drag(n.mouse(this))}).on("start",function(){i.dragstart(n.mouse(this))}).on("end",function(){i.dragend()}):function(){})},e.prototype.getMousePosition=function(t){return[this.x(t.x),this.getYScale(t.id)(t.value)]},e.prototype.dispatchEvent=function(t,e){var i="."+r.eventRect,n=this.main.select(i).node(),o=n.getBoundingClientRect(),a=o.left+(e?e[0]:0),s=o.top+(e?e[1]:0),l=document.createEvent("MouseEvents");l.initMouseEvent(t,!0,!0,window,0,a,s,a,s,!1,!1,!1,!1,0,null),n.dispatchEvent(l)},e.prototype.initLegend=function(){var t=this;if(t.legendItemTextBox={},t.legendHasRendered=!1,t.legend=t.svg.append("g").attr("transform",t.getTranslate("legend")),!t.config.legend_show)return t.legend.style("visibility","hidden"),void(t.hiddenLegendIds=t.mapToIds(t.data.targets));t.updateLegendWithDefaults()},e.prototype.updateLegendWithDefaults=function(){this.updateLegend(this.mapToIds(this.data.targets),{withTransform:!1,withTransitionForTransform:!1,withTransition:!1})},e.prototype.updateSizeForLegend=function(t,e){var i=this,n=i.config,r={top:i.isLegendTop?i.getCurrentPaddingTop()+n.legend_inset_y+5.5:i.currentHeight-t-i.getCurrentPaddingBottom()-n.legend_inset_y,left:i.isLegendLeft?i.getCurrentPaddingLeft()+n.legend_inset_x+.5:i.currentWidth-e-i.getCurrentPaddingRight()-n.legend_inset_x+.5};i.margin3={top:i.isLegendRight?0:i.isLegendInset?r.top:i.currentHeight-t,right:NaN,bottom:0,left:i.isLegendRight?i.currentWidth-e:i.isLegendInset?r.left:0}},e.prototype.transformLegend=function(t){(t?this.legend.transition():this.legend).attr("transform",this.getTranslate("legend"))},e.prototype.updateLegendStep=function(t){this.legendStep=t},e.prototype.updateLegendItemWidth=function(t){this.legendItemWidth=t},e.prototype.updateLegendItemHeight=function(t){this.legendItemHeight=t},e.prototype.getLegendWidth=function(){var t=this;return t.config.legend_show?t.isLegendRight||t.isLegendInset?t.legendItemWidth*(t.legendStep+1):t.currentWidth:0},e.prototype.getLegendHeight=function(){var t=this,e=0;return t.config.legend_show&&(e=t.isLegendRight?t.currentHeight:Math.max(20,t.legendItemHeight)*(t.legendStep+1)),e},e.prototype.opacityForLegend=function(t){return t.classed(r.legendItemHidden)?null:1},e.prototype.opacityForUnfocusedLegend=function(t){return t.classed(r.legendItemHidden)?null:.3},e.prototype.toggleFocusLegend=function(t,e){var i=this;t=i.mapToTargetIds(t),i.legend.selectAll("."+r.legendItem).filter(function(e){return 0<=t.indexOf(e)}).classed(r.legendItemFocused,e).transition().duration(100).style("opacity",function(){return(e?i.opacityForLegend:i.opacityForUnfocusedLegend).call(i,i.d3.select(this))})},e.prototype.revertLegend=function(){var t=this,e=t.d3;t.legend.selectAll("."+r.legendItem).classed(r.legendItemFocused,!1).transition().duration(100).style("opacity",function(){return t.opacityForLegend(e.select(this))})},e.prototype.showLegend=function(t){var e=this,i=e.config;i.legend_show||(i.legend_show=!0,e.legend.style("visibility","visible"),e.legendHasRendered||e.updateLegendWithDefaults()),e.removeHiddenLegendIds(t),e.legend.selectAll(e.selectorLegends(t)).style("visibility","visible").transition().style("opacity",function(){return e.opacityForLegend(e.d3.select(this))})},e.prototype.hideLegend=function(t){var e=this,i=e.config;i.legend_show&&d(t)&&(i.legend_show=!1,e.legend.style("visibility","hidden")),e.addHiddenLegendIds(t),e.legend.selectAll(e.selectorLegends(t)).style("opacity",0).style("visibility","hidden")},e.prototype.clearLegendItemTextBoxCache=function(){this.legendItemTextBox={}},e.prototype.updateLegend=function(t,e,i){var n,o,a,s,c,u,d,f,p,g,m,v,y,b,L,x,w=this,_=w.config,S=4,C=10,k=0,T=0,E=10,A=_.legend_item_tile_width+5,M=0,D={},P={},O={},I=[0],N={},R=0;function F(e,i,n){var o,a,s,l,c=0===n,u=n===t.length-1,h=(s=e,l=i,w.legendItemTextBox[l]||(w.legendItemTextBox[l]=w.getTextRect(s.textContent,r.legendItem,s)),w.legendItemTextBox[l]),d=h.width+A+(!u||w.isLegendRight||w.isLegendInset?C:0)+_.legend_padding,f=h.height+S,p=w.isLegendRight||w.isLegendInset?f:d,g=w.isLegendRight||w.isLegendInset?w.getLegendHeight():w.getLegendWidth();function m(t,e){e||(o=(g-M-p)/2)<E&&(o=(g-p)/2,M=0,R++),N[t]=R,I[R]=w.isLegendInset?10:o,D[t]=M,M+=p}c&&(T=k=R=M=0),!_.legend_show||w.isLegendToShow(i)?(P[i]=d,O[i]=f,(!k||k<=d)&&(k=d),(!T||T<=f)&&(T=f),a=w.isLegendRight||w.isLegendInset?T:k,_.legend_equally?(Object.keys(P).forEach(function(t){P[t]=k}),Object.keys(O).forEach(function(t){O[t]=T}),(o=(g-a*t.length)/2)<E?(R=M=0,t.forEach(function(t){m(t)})):m(i,!0)):m(i)):P[i]=O[i]=N[i]=D[i]=0}t=t.filter(function(t){return!h(_.data_names[t])||null!==_.data_names[t]}),m=l(e=e||{},"withTransition",!0),v=l(e,"withTransitionForTransform",!0),w.isLegendInset&&(R=_.legend_inset_step?_.legend_inset_step:t.length,w.updateLegendStep(R)),s=w.isLegendRight?(n=function(t){return k*N[t]},function(t){return I[N[t]]+D[t]}):w.isLegendInset?(n=function(t){return k*N[t]+10},function(t){return I[N[t]]+D[t]}):(n=function(t){return I[N[t]]+D[t]},function(t){return T*N[t]}),o=function(t,e){return n(t,e)+4+_.legend_item_tile_width},c=function(t,e){return s(t,e)+9},a=function(t,e){return n(t,e)},u=function(t,e){return s(t,e)-5},d=function(t,e){return n(t,e)-2},f=function(t,e){return n(t,e)-2+_.legend_item_tile_width},p=function(t,e){return s(t,e)+4},(g=w.legend.selectAll("."+r.legendItem).data(t).enter().append("g").attr("class",function(t){return w.generateClass(r.legendItem,t)}).style("visibility",function(t){return w.isLegendToShow(t)?"visible":"hidden"}).style("cursor","pointer").on("click",function(t){_.legend_item_onclick?_.legend_item_onclick.call(w,t):w.d3.event.altKey?(w.api.hide(),w.api.show(t)):(w.api.toggle(t),w.isTargetToShow(t)?w.api.focus(t):w.api.revert())}).on("mouseover",function(t){_.legend_item_onmouseover?_.legend_item_onmouseover.call(w,t):(w.d3.select(this).classed(r.legendItemFocused,!0),!w.transiting&&w.isTargetToShow(t)&&w.api.focus(t))}).on("mouseout",function(t){_.legend_item_onmouseout?_.legend_item_onmouseout.call(w,t):(w.d3.select(this).classed(r.legendItemFocused,!1),w.api.revert())})).append("text").text(function(t){return h(_.data_names[t])?_.data_names[t]:t}).each(function(t,e){F(this,t,e)}).style("pointer-events","none").attr("x",w.isLegendRight||w.isLegendInset?o:-200).attr("y",w.isLegendRight||w.isLegendInset?-200:c),g.append("rect").attr("class",r.legendItemEvent).style("fill-opacity",0).attr("x",w.isLegendRight||w.isLegendInset?a:-200).attr("y",w.isLegendRight||w.isLegendInset?-200:u),g.append("line").attr("class",r.legendItemTile).style("stroke",w.color).style("pointer-events","none").attr("x1",w.isLegendRight||w.isLegendInset?d:-200).attr("y1",w.isLegendRight||w.isLegendInset?-200:p).attr("x2",w.isLegendRight||w.isLegendInset?f:-200).attr("y2",w.isLegendRight||w.isLegendInset?-200:p).attr("stroke-width",_.legend_item_tile_height),x=w.legend.select("."+r.legendBackground+" rect"),w.isLegendInset&&0<k&&0===x.size()&&(x=w.legend.insert("g","."+r.legendItem).attr("class",r.legendBackground).append("rect")),y=w.legend.selectAll("text").data(t).text(function(t){return h(_.data_names[t])?_.data_names[t]:t}).each(function(t,e){F(this,t,e)}),(m?y.transition():y).attr("x",o).attr("y",c),b=w.legend.selectAll("rect."+r.legendItemEvent).data(t),(m?b.transition():b).attr("width",function(t){return P[t]}).attr("height",function(t){return O[t]}).attr("x",a).attr("y",u),L=w.legend.selectAll("line."+r.legendItemTile).data(t),(m?L.transition():L).style("stroke",w.levelColor?function(t){return w.levelColor(w.cache[t].values[0].value)}:w.color).attr("x1",d).attr("y1",p).attr("x2",f).attr("y2",p),x&&(m?x.transition():x).attr("height",w.getLegendHeight()-12).attr("width",k*(R+1)+10),w.legend.selectAll("."+r.legendItem).classed(r.legendItemHidden,function(t){return!w.isTargetToShow(t)}),w.updateLegendItemWidth(k),w.updateLegendItemHeight(T),w.updateLegendStep(R),w.updateSizes(),w.updateScales(),w.updateSvgSize(),w.transformAll(v,i),w.legendHasRendered=!0},e.prototype.initRegion=function(){this.region=this.main.append("g").attr("clip-path",this.clipPath).attr("class",r.regions)},e.prototype.updateRegion=function(t){var e=this,i=e.config;e.region.style("visibility",e.hasArcType()?"hidden":"visible");var n=e.main.select("."+r.regions).selectAll("."+r.region).data(i.regions),o=n.enter().append("rect").attr("x",e.regionX.bind(e)).attr("y",e.regionY.bind(e)).attr("width",e.regionWidth.bind(e)).attr("height",e.regionHeight.bind(e)).style("fill-opacity",0);e.mainRegion=o.merge(n).attr("class",e.classRegion.bind(e)),n.exit().transition().duration(t).style("opacity",0).remove()},e.prototype.redrawRegion=function(t,e){var i=this,n=i.mainRegion;return[(t?n.transition(e):n).attr("x",i.regionX.bind(i)).attr("y",i.regionY.bind(i)).attr("width",i.regionWidth.bind(i)).attr("height",i.regionHeight.bind(i)).style("fill-opacity",function(t){return m(t.opacity)?t.opacity:.1})]},e.prototype.regionX=function(t){var e=this,i=e.config,n="y"===t.axis?e.y:e.y2;return"y"===t.axis||"y2"===t.axis?i.axis_rotated&&"start"in t?n(t.start):0:i.axis_rotated?0:"start"in t?e.x(e.isTimeSeries()?e.parseDate(t.start):t.start):0},e.prototype.regionY=function(t){var e=this,i=e.config,n="y"===t.axis?e.y:e.y2;return"y"===t.axis||"y2"===t.axis?i.axis_rotated?0:"end"in t?n(t.end):0:i.axis_rotated&&"start"in t?e.x(e.isTimeSeries()?e.parseDate(t.start):t.start):0},e.prototype.regionWidth=function(t){var e,i=this,n=i.config,r=i.regionX(t),o="y"===t.axis?i.y:i.y2;return(e="y"===t.axis||"y2"===t.axis?n.axis_rotated&&"end"in t?o(t.end):i.width:n.axis_rotated?i.width:"end"in t?i.x(i.isTimeSeries()?i.parseDate(t.end):t.end):i.width)<r?0:e-r},e.prototype.regionHeight=function(t){var e,i=this,n=i.config,r=this.regionY(t),o="y"===t.axis?i.y:i.y2;return(e="y"===t.axis||"y2"===t.axis?n.axis_rotated?i.height:"start"in t?o(t.start):i.height:n.axis_rotated&&"end"in t?i.x(i.isTimeSeries()?i.parseDate(t.end):t.end):i.height)<r?0:e-r},e.prototype.isRegionOnX=function(t){return!t.axis||"x"===t.axis},e.prototype.getScale=function(t,e,i){return(i?this.d3.scaleTime():this.d3.scaleLinear()).range([t,e])},e.prototype.getX=function(t,e,i,n){var r,o=this.getScale(t,e,this.isTimeSeries()),a=i?o.domain(i):o;for(r in o=this.isCategorized()?(n=n||function(){return 0},function(t,e){var i=a(t)+n(t);return e?i:Math.ceil(i)}):function(t,e){var i=a(t);return e?i:Math.ceil(i)},a)o[r]=a[r];return o.orgDomain=function(){return a.domain()},this.isCategorized()&&(o.domain=function(t){return arguments.length?(a.domain(t),o):[(t=this.orgDomain())[0],t[1]+1]}),o},e.prototype.getY=function(t,e,i){var n=this.getScale(t,e,this.isTimeSeriesY());return i&&n.domain(i),n},e.prototype.getYScale=function(t){return"y2"===this.axis.getId(t)?this.y2:this.y},e.prototype.getSubYScale=function(t){return"y2"===this.axis.getId(t)?this.subY2:this.subY},e.prototype.updateScales=function(){var t=this,e=t.config,i=!t.x;t.xMin=e.axis_rotated?1:0,t.xMax=e.axis_rotated?t.height:t.width,t.yMin=e.axis_rotated?0:t.height,t.yMax=e.axis_rotated?t.width:1,t.subXMin=t.xMin,t.subXMax=t.xMax,t.subYMin=e.axis_rotated?0:t.height2,t.subYMax=e.axis_rotated?t.width2:1,t.x=t.getX(t.xMin,t.xMax,i?void 0:t.x.orgDomain(),function(){return t.xAxis.tickOffset()}),t.y=t.getY(t.yMin,t.yMax,i?e.axis_y_default:t.y.domain()),t.y2=t.getY(t.yMin,t.yMax,i?e.axis_y2_default:t.y2.domain()),t.subX=t.getX(t.xMin,t.xMax,t.orgXDomain,function(e){return e%1?0:t.subXAxis.tickOffset()}),t.subY=t.getY(t.subYMin,t.subYMax,i?e.axis_y_default:t.subY.domain()),t.subY2=t.getY(t.subYMin,t.subYMax,i?e.axis_y2_default:t.subY2.domain()),t.xAxisTickFormat=t.axis.getXAxisTickFormat(),t.xAxisTickValues=t.axis.getXAxisTickValues(),t.yAxisTickValues=t.axis.getYAxisTickValues(),t.y2AxisTickValues=t.axis.getY2AxisTickValues(),t.xAxis=t.axis.getXAxis(t.x,t.xOrient,t.xAxisTickFormat,t.xAxisTickValues,e.axis_x_tick_outer),t.subXAxis=t.axis.getXAxis(t.subX,t.subXOrient,t.xAxisTickFormat,t.xAxisTickValues,e.axis_x_tick_outer),t.yAxis=t.axis.getYAxis(t.y,t.yOrient,e.axis_y_tick_format,t.yAxisTickValues,e.axis_y_tick_outer),t.y2Axis=t.axis.getYAxis(t.y2,t.y2Orient,e.axis_y2_tick_format,t.y2AxisTickValues,e.axis_y2_tick_outer),i||t.brush&&t.brush.updateScale(t.subX),t.updateArc&&t.updateArc()},e.prototype.selectPoint=function(t,e,i){var n=this,o=n.config,a=(o.axis_rotated?n.circleY:n.circleX).bind(n),s=(o.axis_rotated?n.circleX:n.circleY).bind(n),l=n.pointSelectR.bind(n);o.data_onselected.call(n.api,e,t.node()),n.main.select("."+r.selectedCircles+n.getTargetSelectorSuffix(e.id)).selectAll("."+r.selectedCircle+"-"+i).data([e]).enter().append("circle").attr("class",function(){return n.generateClass(r.selectedCircle,i)}).attr("cx",a).attr("cy",s).attr("stroke",function(){return n.color(e)}).attr("r",function(t){return 1.4*n.pointSelectR(t)}).transition().duration(100).attr("r",l)},e.prototype.unselectPoint=function(t,e,i){this.config.data_onunselected.call(this.api,e,t.node()),this.main.select("."+r.selectedCircles+this.getTargetSelectorSuffix(e.id)).selectAll("."+r.selectedCircle+"-"+i).transition().duration(100).attr("r",0).remove()},e.prototype.togglePoint=function(t,e,i,n){t?this.selectPoint(e,i,n):this.unselectPoint(e,i,n)},e.prototype.selectPath=function(t,e){var i=this;i.config.data_onselected.call(i,e,t.node()),i.config.interaction_brighten&&t.transition().duration(100).style("fill",function(){return i.d3.rgb(i.color(e)).brighter(.75)})},e.prototype.unselectPath=function(t,e){var i=this;i.config.data_onunselected.call(i,e,t.node()),i.config.interaction_brighten&&t.transition().duration(100).style("fill",function(){return i.color(e)})},e.prototype.togglePath=function(t,e,i,n){t?this.selectPath(e,i,n):this.unselectPath(e,i,n)},e.prototype.getToggle=function(t,e){var i;return"circle"===t.nodeName?i=this.isStepType(e)?function(){}:this.togglePoint:"path"===t.nodeName&&(i=this.togglePath),i},e.prototype.toggleShape=function(t,e,i){var n=this,o=n.d3,a=n.config,s=o.select(t),l=s.classed(r.SELECTED),c=n.getToggle(t,e).bind(n);a.data_selection_enabled&&a.data_selection_isselectable(e)&&(a.data_selection_multiple||n.main.selectAll("."+r.shapes+(a.data_selection_grouped?n.getTargetSelectorSuffix(e.id):"")).selectAll("."+r.shape).each(function(t,e){var i=o.select(this);i.classed(r.SELECTED)&&c(!1,i.classed(r.SELECTED,!1),t,e)}),s.classed(r.SELECTED,!l),c(!l,s,e,i))},e.prototype.initBar=function(){this.main.select("."+r.chart).append("g").attr("class",r.chartBars)},e.prototype.updateTargetsForBar=function(t){var e=this,i=e.config,n=e.classChartBar.bind(e),o=e.classBars.bind(e),a=e.classFocus.bind(e);e.main.select("."+r.chartBars).selectAll("."+r.chartBar).data(t).attr("class",function(t){return n(t)+a(t)}).enter().append("g").attr("class",n).style("pointer-events","none").append("g").attr("class",o).style("cursor",function(t){return i.data_selection_isselectable(t)?"pointer":null})},e.prototype.updateBar=function(t){var e=this,i=e.barData.bind(e),n=e.classBar.bind(e),o=e.initialOpacity.bind(e),a=function(t){return e.color(t.id)},s=e.main.selectAll("."+r.bars).selectAll("."+r.bar).data(i),l=s.enter().append("path").attr("class",n).style("stroke",a).style("fill",a);e.mainBar=l.merge(s).style("opacity",o),s.exit().transition().duration(t).style("opacity",0)},e.prototype.redrawBar=function(t,e,i){return[(e?this.mainBar.transition(i):this.mainBar).attr("d",t).style("stroke",this.color).style("fill",this.color).style("opacity",1)]},e.prototype.getBarW=function(t,e){var i=this.config,n="number"==typeof i.bar_width?i.bar_width:e?t.tickInterval()*i.bar_width_ratio/e:0;return i.bar_width_max&&n>i.bar_width_max?i.bar_width_max:n},e.prototype.getBars=function(t,e){return(e?this.main.selectAll("."+r.bars+this.getTargetSelectorSuffix(e)):this.main).selectAll("."+r.bar+(m(t)?"-"+t:""))},e.prototype.expandBars=function(t,e,i){i&&this.unexpandBars(),this.getBars(t,e).classed(r.EXPANDED,!0)},e.prototype.unexpandBars=function(t){this.getBars(t).classed(r.EXPANDED,!1)},e.prototype.generateDrawBar=function(t,e){var i=this.config,n=this.generateGetBarPoints(t,e);return function(t,e){var r=n(t,e),o=i.axis_rotated?1:0,a=i.axis_rotated?0:1;return"M "+r[0][o]+","+r[0][a]+" L"+r[1][o]+","+r[1][a]+" L"+r[2][o]+","+r[2][a]+" L"+r[3][o]+","+r[3][a]+" z"}},e.prototype.generateGetBarPoints=function(t,e){var i=this,n=e?i.subXAxis:i.xAxis,r=t.__max__+1,o=i.getBarW(n,r),a=i.getShapeX(o,r,t,!!e),s=i.getShapeY(!!e),l=i.getShapeOffset(i.isBarType,t,!!e),c=o*(i.config.bar_space/2),u=e?i.getSubYScale:i.getYScale;return function(t,e){var n=u.call(i,t.id)(0),r=l(t,e)||n,h=a(t),d=s(t);return i.config.axis_rotated&&(0<t.value&&d<n||t.value<0&&n<d)&&(d=n),[[h+c,r],[h+c,d-(n-r)],[h+o-c,d-(n-r)],[h+o-c,r]]}},e.prototype.isWithinBar=function(t,e){var i=e.getBoundingClientRect(),n=e.pathSegList.getItem(0),r=e.pathSegList.getItem(1),o=Math.min(n.x,r.x),a=Math.min(n.y,r.y),s=o+i.width+2,l=a+i.height+2,c=a-2;return o-2<t[0]&&t[0]<s&&c<t[1]&&t[1]<l},e.prototype.getShapeIndices=function(t){var e,i,n=this.config,r={},o=0;return this.filterTargetsToShow(this.data.targets.filter(t,this)).forEach(function(t){for(e=0;e<n.data_groups.length;e++)if(!(n.data_groups[e].indexOf(t.id)<0))for(i=0;i<n.data_groups[e].length;i++)if(n.data_groups[e][i]in r){r[t.id]=r[n.data_groups[e][i]];break}g(r[t.id])&&(r[t.id]=o++)}),r.__max__=o-1,r},e.prototype.getShapeX=function(t,e,i,n){var r=n?this.subX:this.x;return function(n){var o=n.id in i?i[n.id]:0;return n.x||0===n.x?r(n.x)-t*(e/2-o):0}},e.prototype.getShapeY=function(t){var e=this;return function(i){return(t?e.getSubYScale(i.id):e.getYScale(i.id))(i.value)}},e.prototype.getShapeOffset=function(t,e,i){var n=this,r=n.orderTargets(n.filterTargetsToShow(n.data.targets.filter(t,n))),o=r.map(function(t){return t.id});return function(t,a){var s=i?n.getSubYScale(t.id):n.getYScale(t.id),l=s(0),c=l;return r.forEach(function(i){var r=n.isStepType(t)?n.convertValuesToStep(i.values):i.values;i.id!==t.id&&e[i.id]===e[t.id]&&o.indexOf(i.id)<o.indexOf(t.id)&&(void 0!==r[a]&&+r[a].x==+t.x||(a=-1,r.forEach(function(e,i){e.x===t.x&&(a=i)})),a in r&&0<=r[a].value*t.value&&(c+=s(r[a].value)-l))}),c}},e.prototype.isWithinShape=function(t,e){var i,n=this,o=n.d3.select(t);return n.isTargetToShow(e.id)?"circle"===t.nodeName?i=n.isStepType(e)?n.isWithinStep(t,n.getYScale(e.id)(e.value)):n.isWithinCircle(t,1.5*n.pointSelectR(e)):"path"===t.nodeName&&(i=!o.classed(r.bar)||n.isWithinBar(n.d3.mouse(t),t)):i=!1,i},e.prototype.getInterpolate=function(t){var e=this,i=e.d3,n={linear:i.curveLinear,"linear-closed":i.curveLinearClosed,basis:i.curveBasis,"basis-open":i.curveBasisOpen,"basis-closed":i.curveBasisClosed,bundle:i.curveBundle,cardinal:i.curveCardinal,"cardinal-open":i.curveCardinalOpen,"cardinal-closed":i.curveCardinalClosed,monotone:i.curveMonotoneX,step:i.curveStep,"step-before":i.curveStepBefore,"step-after":i.curveStepAfter};return e.isSplineType(t)?n[e.config.spline_interpolation_type]||n.cardinal:e.isStepType(t)?n[e.config.line_step_type]:n.linear},e.prototype.initLine=function(){this.main.select("."+r.chart).append("g").attr("class",r.chartLines)},e.prototype.updateTargetsForLine=function(t){var e,i=this,n=i.config,o=i.classChartLine.bind(i),a=i.classLines.bind(i),s=i.classAreas.bind(i),l=i.classCircles.bind(i),c=i.classFocus.bind(i);(e=i.main.select("."+r.chartLines).selectAll("."+r.chartLine).data(t).attr("class",function(t){return o(t)+c(t)}).enter().append("g").attr("class",o).style("opacity",0).style("pointer-events","none")).append("g").attr("class",a),e.append("g").attr("class",s),e.append("g").attr("class",function(t){return i.generateClass(r.selectedCircles,t.id)}),e.append("g").attr("class",l).style("cursor",function(t){return n.data_selection_isselectable(t)?"pointer":null}),t.forEach(function(t){i.main.selectAll("."+r.selectedCircles+i.getTargetSelectorSuffix(t.id)).selectAll("."+r.selectedCircle).each(function(e){e.value=t.values[e.index].value})})},e.prototype.updateLine=function(t){var e=this,i=e.main.selectAll("."+r.lines).selectAll("."+r.line).data(e.lineData.bind(e)),n=i.enter().append("path").attr("class",e.classLine.bind(e)).style("stroke",e.color);e.mainLine=n.merge(i).style("opacity",e.initialOpacity.bind(e)).style("shape-rendering",function(t){return e.isStepType(t)?"crispEdges":""}).attr("transform",null),i.exit().transition().duration(t).style("opacity",0)},e.prototype.redrawLine=function(t,e,i){return[(e?this.mainLine.transition(i):this.mainLine).attr("d",t).style("stroke",this.color).style("opacity",1)]},e.prototype.generateDrawLine=function(t,e){var i=this,n=i.config,r=i.d3.line(),o=i.generateGetLinePoints(t,e),a=e?i.getSubYScale:i.getYScale,s=function(t){return(e?i.subxx:i.xx).call(i,t)},l=function(t,e){return 0<n.data_groups.length?o(t,e)[0][1]:a.call(i,t.id)(t.value)};return r=n.axis_rotated?r.x(l).y(s):r.x(s).y(l),n.line_connectNull||(r=r.defined(function(t){return null!=t.value})),function(t){var o=n.line_connectNull?i.filterRemoveNull(t.values):t.values,s=e?i.subX:i.x,l=a.call(i,t.id),c=0,u=0;return(i.isLineType(t)?n.data_regions[t.id]?i.lineWithRegions(o,s,l,n.data_regions[t.id]):(i.isStepType(t)&&(o=i.convertValuesToStep(o)),r.curve(i.getInterpolate(t))(o)):(o[0]&&(c=s(o[0].x),u=l(o[0].value)),n.axis_rotated?"M "+u+" "+c:"M "+c+" "+u))||"M 0 0"}},e.prototype.generateGetLinePoints=function(t,e){var i=this,n=i.config,r=t.__max__+1,o=i.getShapeX(0,r,t,!!e),a=i.getShapeY(!!e),s=i.getShapeOffset(i.isLineType,t,!!e),l=e?i.getSubYScale:i.getYScale;return function(t,e){var r=l.call(i,t.id)(0),c=s(t,e)||r,u=o(t),h=a(t);return n.axis_rotated&&(0<t.value&&h<r||t.value<0&&r<h)&&(h=r),[[u,h-(r-c)],[u,h-(r-c)],[u,h-(r-c)],[u,h-(r-c)]]}},e.prototype.lineWithRegions=function(t,e,i,n){var r,o,a,s,l,c,u,d,f,p,m,v=this,y=v.config,b="M",L=v.isCategorized()?.5:0,x=[];function w(t,e){var i;for(i=0;i<e.length;i++)if(e[i].start<t&&t<=e[i].end)return!0;return!1}if(h(n))for(r=0;r<n.length;r++)x[r]={},g(n[r].start)?x[r].start=t[0].x:x[r].start=v.isTimeSeries()?v.parseDate(n[r].start):n[r].start,g(n[r].end)?x[r].end=t[t.length-1].x:x[r].end=v.isTimeSeries()?v.parseDate(n[r].end):n[r].end;function _(t){return"M"+t[0][0]+" "+t[0][1]+" "+t[1][0]+" "+t[1][1]}for(p=y.axis_rotated?function(t){return i(t.value)}:function(t){return e(t.x)},m=y.axis_rotated?function(t){return e(t.x)}:function(t){return i(t.value)},a=v.isTimeSeries()?function(t,n,r,o){var a=t.x.getTime(),s=n.x-t.x,c=new Date(a+s*r),u=new Date(a+s*(r+o));return _(y.axis_rotated?[[i(l(r)),e(c)],[i(l(r+o)),e(u)]]:[[e(c),i(l(r))],[e(u),i(l(r+o))]])}:function(t,n,r,o){return _(y.axis_rotated?[[i(l(r),!0),e(s(r))],[i(l(r+o),!0),e(s(r+o))]]:[[e(s(r),!0),i(l(r))],[e(s(r+o),!0),i(l(r+o))]])},r=0;r<t.length;r++){if(g(x)||!w(t[r].x,x))b+=" "+p(t[r])+" "+m(t[r]);else for(s=v.getScale(t[r-1].x+L,t[r].x+L,v.isTimeSeries()),l=v.getScale(t[r-1].value,t[r].value),c=e(t[r].x)-e(t[r-1].x),u=i(t[r].value)-i(t[r-1].value),f=2*(d=2/Math.sqrt(Math.pow(c,2)+Math.pow(u,2))),o=d;o<=1;o+=f)b+=a(t[r-1],t[r],o,d);t[r].x}return b},e.prototype.updateArea=function(t){var e=this,i=e.d3,n=e.main.selectAll("."+r.areas).selectAll("."+r.area).data(e.lineData.bind(e)),o=n.enter().append("path").attr("class",e.classArea.bind(e)).style("fill",e.color).style("opacity",function(){return e.orgAreaOpacity=+i.select(this).style("opacity"),0});e.mainArea=o.merge(n).style("opacity",e.orgAreaOpacity),n.exit().transition().duration(t).style("opacity",0)},e.prototype.redrawArea=function(t,e,i){return[(e?this.mainArea.transition(i):this.mainArea).attr("d",t).style("fill",this.color).style("opacity",this.orgAreaOpacity)]},e.prototype.generateDrawArea=function(t,e){var i=this,n=i.config,r=i.d3.area(),o=i.generateGetAreaPoints(t,e),a=e?i.getSubYScale:i.getYScale,s=function(t){return(e?i.subxx:i.xx).call(i,t)},l=function(t,e){return 0<n.data_groups.length?o(t,e)[0][1]:a.call(i,t.id)(i.getAreaBaseValue(t.id))},c=function(t,e){return 0<n.data_groups.length?o(t,e)[1][1]:a.call(i,t.id)(t.value)};return r=n.axis_rotated?r.x0(l).x1(c).y(s):r.x(s).y0(n.area_above?0:l).y1(c),n.line_connectNull||(r=r.defined(function(t){return null!==t.value})),function(t){var e=n.line_connectNull?i.filterRemoveNull(t.values):t.values,o=0,a=0;return(i.isAreaType(t)?(i.isStepType(t)&&(e=i.convertValuesToStep(e)),r.curve(i.getInterpolate(t))(e)):(e[0]&&(o=i.x(e[0].x),a=i.getYScale(t.id)(e[0].value)),n.axis_rotated?"M "+a+" "+o:"M "+o+" "+a))||"M 0 0"}},e.prototype.getAreaBaseValue=function(){return 0},e.prototype.generateGetAreaPoints=function(t,e){var i=this,n=i.config,r=t.__max__+1,o=i.getShapeX(0,r,t,!!e),a=i.getShapeY(!!e),s=i.getShapeOffset(i.isAreaType,t,!!e),l=e?i.getSubYScale:i.getYScale;return function(t,e){var r=l.call(i,t.id)(0),c=s(t,e)||r,u=o(t),h=a(t);return n.axis_rotated&&(0<t.value&&h<r||t.value<0&&r<h)&&(h=r),[[u,c],[u,h-(r-c)],[u,h-(r-c)],[u,c]]}},e.prototype.updateCircle=function(t,e){var i=this,n=i.main.selectAll("."+r.circles).selectAll("."+r.circle).data(i.lineOrScatterData.bind(i)),o=n.enter().append("circle").attr("class",i.classCircle.bind(i)).attr("cx",t).attr("cy",e).attr("r",i.pointR.bind(i)).style("fill",i.color);i.mainCircle=o.merge(n).style("opacity",i.initialOpacityForCircle.bind(i)),n.exit().style("opacity",0)},e.prototype.redrawCircle=function(t,e,i,n){var o=this,a=o.main.selectAll("."+r.selectedCircle);return[(i?o.mainCircle.transition(n):o.mainCircle).style("opacity",this.opacityForCircle.bind(o)).style("fill",o.color).attr("cx",t).attr("cy",e),(i?a.transition(n):a).attr("cx",t).attr("cy",e)]},e.prototype.circleX=function(t){return t.x||0===t.x?this.x(t.x):null},e.prototype.updateCircleY=function(){var t,e,i=this;0<i.config.data_groups.length?(t=i.getShapeIndices(i.isLineType),e=i.generateGetLinePoints(t),i.circleY=function(t,i){return e(t,i)[0][1]}):i.circleY=function(t){return i.getYScale(t.id)(t.value)}},e.prototype.getCircles=function(t,e){return(e?this.main.selectAll("."+r.circles+this.getTargetSelectorSuffix(e)):this.main).selectAll("."+r.circle+(m(t)?"-"+t:""))},e.prototype.expandCircles=function(t,e,i){var n=this.pointExpandedR.bind(this);i&&this.unexpandCircles(),this.getCircles(t,e).classed(r.EXPANDED,!0).attr("r",n)},e.prototype.unexpandCircles=function(t){var e=this,i=e.pointR.bind(e);e.getCircles(t).filter(function(){return e.d3.select(this).classed(r.EXPANDED)}).classed(r.EXPANDED,!1).attr("r",i)},e.prototype.pointR=function(t){var e=this.config;return this.isStepType(t)?0:f(e.point_r)?e.point_r(t):e.point_r},e.prototype.pointExpandedR=function(t){var e=this.config;return e.point_focus_expand_enabled?f(e.point_focus_expand_r)?e.point_focus_expand_r(t):e.point_focus_expand_r?e.point_focus_expand_r:1.75*this.pointR(t):this.pointR(t)},e.prototype.pointSelectR=function(t){var e=this.config;return f(e.point_select_r)?e.point_select_r(t):e.point_select_r?e.point_select_r:4*this.pointR(t)},e.prototype.isWithinCircle=function(t,e){var i=this.d3,n=i.mouse(t),r=i.select(t),o=+r.attr("cx"),a=+r.attr("cy");return Math.sqrt(Math.pow(o-n[0],2)+Math.pow(a-n[1],2))<e},e.prototype.isWithinStep=function(t,e){return Math.abs(e-this.d3.mouse(t)[1])<30},e.prototype.getCurrentWidth=function(){var t=this.config;return t.size_width?t.size_width:this.getParentWidth()},e.prototype.getCurrentHeight=function(){var t=this.config,e=t.size_height?t.size_height:this.getParentHeight();return 0<e?e:320/(this.hasType("gauge")&&!t.gauge_fullCircle?2:1)},e.prototype.getCurrentPaddingTop=function(){var t=this.config,e=m(t.padding_top)?t.padding_top:0;return this.title&&this.title.node()&&(e+=this.getTitlePadding()),e},e.prototype.getCurrentPaddingBottom=function(){var t=this.config;return m(t.padding_bottom)?t.padding_bottom:0},e.prototype.getCurrentPaddingLeft=function(t){var e=this.config;return m(e.padding_left)?e.padding_left:e.axis_rotated?!e.axis_x_show||e.axis_x_inner?1:Math.max(a(this.getAxisWidthByAxisId("x",t)),40):!e.axis_y_show||e.axis_y_inner?this.axis.getYAxisLabelPosition().isOuter?30:1:a(this.getAxisWidthByAxisId("y",t))},e.prototype.getCurrentPaddingRight=function(){var t=this,e=t.config,i=t.isLegendRight?t.getLegendWidth()+20:0;return m(e.padding_right)?e.padding_right+1:e.axis_rotated?10+i:!e.axis_y2_show||e.axis_y2_inner?2+i+(t.axis.getY2AxisLabelPosition().isOuter?20:0):a(t.getAxisWidthByAxisId("y2"))+i},e.prototype.getParentRectValue=function(t){for(var e,i=this.selectChart.node();i&&"BODY"!==i.tagName;){try{e=i.getBoundingClientRect()[t]}catch(n){"width"===t&&(e=i.offsetWidth)}if(e)break;i=i.parentNode}return e},e.prototype.getParentWidth=function(){return this.getParentRectValue("width")},e.prototype.getParentHeight=function(){var t=this.selectChart.style("height");return 0<t.indexOf("px")?+t.replace("px",""):0},e.prototype.getSvgLeft=function(t){var e=this,i=e.config,n=i.axis_rotated||!i.axis_rotated&&!i.axis_y_inner,o=i.axis_rotated?r.axisX:r.axisY,a=e.main.select("."+o).node(),s=a&&n?a.getBoundingClientRect():{right:0},l=e.selectChart.node().getBoundingClientRect(),c=e.hasArcType(),u=s.right-l.left-(c?0:e.getCurrentPaddingLeft(t));return 0<u?u:0},e.prototype.getAxisWidthByAxisId=function(t,e){var i=this.axis.getLabelPositionById(t);return this.axis.getMaxTickWidth(t,e)+(i.isInner?20:40)},e.prototype.getHorizontalAxisHeight=function(t){var e=this,i=e.config,n=30;return"x"!==t||i.axis_x_show?"x"===t&&i.axis_x_height?i.axis_x_height:"y"!==t||i.axis_y_show?"y2"!==t||i.axis_y2_show?("x"===t&&!i.axis_rotated&&i.axis_x_tick_rotate&&(n=30+e.axis.getMaxTickWidth(t)*Math.cos(Math.PI*(90-Math.abs(i.axis_x_tick_rotate))/180)),"y"===t&&i.axis_rotated&&i.axis_y_tick_rotate&&(n=30+e.axis.getMaxTickWidth(t)*Math.cos(Math.PI*(90-Math.abs(i.axis_y_tick_rotate))/180)),n+(e.axis.getLabelPositionById(t).isInner?0:10)+("y2"===t?-10:0)):e.rotated_padding_top:!i.legend_show||e.isLegendRight||e.isLegendInset?1:10:8},e.prototype.initBrush=function(t){var e=this,i=e.d3;return e.brush=(e.config.axis_rotated?i.brushY():i.brushX()).on("brush",function(){var t=i.event.sourceEvent;t&&"zoom"===t.type||e.redrawForBrush()}).on("end",function(){var t=i.event.sourceEvent;t&&"zoom"===t.type||e.brush.empty()&&t&&"end"!==t.type&&e.brush.clear()}),e.brush.updateExtent=function(){var t,i=this.scale.range();return t=e.config.axis_rotated?[[0,i[0]],[e.width2,i[1]]]:[[i[0],0],[i[1],e.height2]],this.extent(t),this},e.brush.updateScale=function(t){return this.scale=t,this},e.brush.update=function(t){this.updateScale(t||e.subX).updateExtent(),e.context.select("."+r.brush).call(this)},e.brush.clear=function(){e.context.select("."+r.brush).call(e.brush.move,null)},e.brush.selection=function(){return i.brushSelection(e.context.select("."+r.brush).node())},e.brush.selectionAsValue=function(t,i){var n,o;return t?(e.context&&(n=[this.scale(t[0]),this.scale(t[1])],o=e.context.select("."+r.brush),i&&(o=o.transition()),e.brush.move(o,n)),[]):(n=e.brush.selection()||[0,0],[this.scale.invert(n[0]),this.scale.invert(n[1])])},e.brush.empty=function(){var t=e.brush.selection();return!t||t[0]===t[1]},e.brush.updateScale(t)},e.prototype.initSubchart=function(){var t=this,e=t.config,i=t.context=t.svg.append("g").attr("transform",t.getTranslate("context")),n=e.subchart_show?"visible":"hidden";i.style("visibility",n),i.append("g").attr("clip-path",t.clipPathForSubchart).attr("class",r.chart),i.select("."+r.chart).append("g").attr("class",r.chartBars),i.select("."+r.chart).append("g").attr("class",r.chartLines),i.append("g").attr("clip-path",t.clipPath).attr("class",r.brush),t.axes.subx=i.append("g").attr("class",r.axisX).attr("transform",t.getTranslate("subx")).attr("clip-path",e.axis_rotated?"":t.clipPathForXAxis)},e.prototype.initSubchartBrush=function(){this.initBrush(this.subX).updateExtent(),this.context.select("."+r.brush).call(this.brush)},e.prototype.updateTargetsForSubchart=function(t){var e,i,n,o,a=this,s=a.context,l=a.config,c=a.classChartBar.bind(a),u=a.classBars.bind(a),h=a.classChartLine.bind(a),d=a.classLines.bind(a),f=a.classAreas.bind(a);l.subchart_show&&((n=(o=s.select("."+r.chartBars).selectAll("."+r.chartBar).data(t)).enter().append("g").style("opacity",0)).merge(o).attr("class",c),n.append("g").attr("class",u),(e=(i=s.select("."+r.chartLines).selectAll("."+r.chartLine).data(t)).enter().append("g").style("opacity",0)).merge(i).attr("class",h),e.append("g").attr("class",d),e.append("g").attr("class",f),s.selectAll("."+r.brush+" rect").attr(l.axis_rotated?"width":"height",l.axis_rotated?a.width2:a.height2))},e.prototype.updateBarForSubchart=function(t){var e=this,i=e.context.selectAll("."+r.bars).selectAll("."+r.bar).data(e.barData.bind(e)),n=i.enter().append("path").attr("class",e.classBar.bind(e)).style("stroke","none").style("fill",e.color);i.exit().transition().duration(t).style("opacity",0).remove(),e.contextBar=n.merge(i).style("opacity",e.initialOpacity.bind(e))},e.prototype.redrawBarForSubchart=function(t,e,i){(e?this.contextBar.transition(Math.random().toString()).duration(i):this.contextBar).attr("d",t).style("opacity",1)},e.prototype.updateLineForSubchart=function(t){var e=this,i=e.context.selectAll("."+r.lines).selectAll("."+r.line).data(e.lineData.bind(e)),n=i.enter().append("path").attr("class",e.classLine.bind(e)).style("stroke",e.color);i.exit().transition().duration(t).style("opacity",0).remove(),e.contextLine=n.merge(i).style("opacity",e.initialOpacity.bind(e))},e.prototype.redrawLineForSubchart=function(t,e,i){(e?this.contextLine.transition(Math.random().toString()).duration(i):this.contextLine).attr("d",t).style("opacity",1)},e.prototype.updateAreaForSubchart=function(t){var e=this,i=e.d3,n=e.context.selectAll("."+r.areas).selectAll("."+r.area).data(e.lineData.bind(e)),o=n.enter().append("path").attr("class",e.classArea.bind(e)).style("fill",e.color).style("opacity",function(){return e.orgAreaOpacity=+i.select(this).style("opacity"),0});n.exit().transition().duration(t).style("opacity",0).remove(),e.contextArea=o.merge(n).style("opacity",0)},e.prototype.redrawAreaForSubchart=function(t,e,i){(e?this.contextArea.transition(Math.random().toString()).duration(i):this.contextArea).attr("d",t).style("fill",this.color).style("opacity",this.orgAreaOpacity)},e.prototype.redrawSubchart=function(t,e,i,n,r,o,a){var s,l,c,u=this,h=u.d3,d=u.config;u.context.style("visibility",d.subchart_show?"visible":"hidden"),d.subchart_show&&(h.event&&"zoom"===h.event.type&&u.brush.selectionAsValue(u.x.orgDomain()),t&&(u.brush.empty()||u.brush.selectionAsValue(u.x.orgDomain()),s=u.generateDrawArea(r,!0),l=u.generateDrawBar(o,!0),c=u.generateDrawLine(a,!0),u.updateBarForSubchart(i),u.updateLineForSubchart(i),u.updateAreaForSubchart(i),u.redrawBarForSubchart(l,i,i),u.redrawLineForSubchart(c,i,i),u.redrawAreaForSubchart(s,i,i)))},e.prototype.redrawForBrush=function(){var t,e=this,i=e.x,n=e.d3;e.redraw({withTransition:!1,withY:e.config.zoom_rescale,withSubchart:!1,withUpdateXDomain:!0,withEventRect:!1,withDimension:!1}),t=n.event.selection||e.brush.scale.range(),e.main.select("."+r.eventRect).call(e.zoom.transform,n.zoomIdentity.scale(e.width/(t[1]-t[0])).translate(-t[0],0)),e.config.subchart_onbrush.call(e.api,i.orgDomain())},e.prototype.transformContext=function(t,e){var i;e&&e.axisSubX?i=e.axisSubX:(i=this.context.select("."+r.axisX),t&&(i=i.transition())),this.context.attr("transform",this.getTranslate("context")),i.attr("transform",this.getTranslate("subx"))},e.prototype.getDefaultSelection=function(){var t=this,e=t.config,i=f(e.axis_x_selection)?e.axis_x_selection(t.getXDomain(t.data.targets)):e.axis_x_selection;return t.isTimeSeries()&&(i=[t.parseDate(i[0]),t.parseDate(i[1])]),i},e.prototype.initText=function(){this.main.select("."+r.chart).append("g").attr("class",r.chartTexts),this.mainText=this.d3.selectAll([])},e.prototype.updateTargetsForText=function(t){var e=this,i=e.classChartText.bind(e),n=e.classTexts.bind(e),o=e.classFocus.bind(e),a=e.main.select("."+r.chartTexts).selectAll("."+r.chartText).data(t),s=a.enter().append("g").attr("class",i).style("opacity",0).style("pointer-events","none");s.append("g").attr("class",n),s.merge(a).attr("class",function(t){return i(t)+o(t)})},e.prototype.updateText=function(t,e,i){var n=this,o=n.config,a=n.barOrLineData.bind(n),s=n.classText.bind(n),l=n.main.selectAll("."+r.texts).selectAll("."+r.text).data(a),c=l.enter().append("text").attr("class",s).attr("text-anchor",function(t){return o.axis_rotated?t.value<0?"end":"start":"middle"}).style("stroke","none").attr("x",t).attr("y",e).style("fill",function(t){return n.color(t)}).style("fill-opacity",0);n.mainText=c.merge(l).text(function(t,e,i){return n.dataLabelFormat(t.id)(t.value,t.id,e,i)}),l.exit().transition().duration(i).style("fill-opacity",0).remove()},e.prototype.redrawText=function(t,e,i,n,r){return[(n?this.mainText.transition(r):this.mainText).attr("x",t).attr("y",e).style("fill",this.color).style("fill-opacity",i?0:this.opacityForText.bind(this))]},e.prototype.getTextRect=function(t,e,i){var n,r=this.d3.select("body").append("div").classed("c3",!0),o=r.append("svg").style("visibility","hidden").style("position","fixed").style("top",0).style("left",0),a=this.d3.select(i).style("font");return o.selectAll(".dummy").data([t]).enter().append("text").classed(e||"",!0).style("font",a).text(t).each(function(){n=this.getBoundingClientRect()}),r.remove(),n},e.prototype.generateXYForText=function(t,e,i,n){var r=this,o=r.generateGetAreaPoints(t,!1),a=r.generateGetBarPoints(e,!1),s=r.generateGetLinePoints(i,!1),l=n?r.getXForText:r.getYForText;return function(t,e){var i=r.isAreaType(t)?o:r.isBarType(t)?a:s;return l.call(r,i(t,e),t,this)}},e.prototype.getXForText=function(t,e,i){var n,r,o=this,a=i.getBoundingClientRect();return n=o.config.axis_rotated?(r=o.isBarType(e)?4:6,t[2][1]+r*(e.value<0?-1:1)):o.hasType("bar")?(t[2][0]+t[0][0])/2:t[0][0],null===e.value&&(n>o.width?n=o.width-a.width:n<0&&(n=4)),n},e.prototype.getYForText=function(t,e,i){var n,r=this,o=i.getBoundingClientRect();return r.config.axis_rotated?n=(t[0][0]+t[2][0]+.6*o.height)/2:(n=t[2][1],e.value<0||0===e.value&&!r.hasPositiveValue?(n+=o.height,r.isBarType(e)&&r.isSafari()?n-=3:!r.isBarType(e)&&r.isChrome()&&(n+=3)):n+=r.isBarType(e)?-3:-6),null!==e.value||r.config.axis_rotated||(n<o.height?n=o.height:n>this.height&&(n=this.height-4)),n},e.prototype.initTitle=function(){this.title=this.svg.append("text").text(this.config.title_text).attr("class",this.CLASS.title)},e.prototype.redrawTitle=function(){var t=this;t.title.attr("x",t.xForTitle.bind(t)).attr("y",t.yForTitle.bind(t))},e.prototype.xForTitle=function(){var t=this,e=t.config,i=e.title_position||"left";return 0<=i.indexOf("right")?t.currentWidth-t.getTextRect(t.title.node().textContent,t.CLASS.title,t.title.node()).width-e.title_padding.right:0<=i.indexOf("center")?(t.currentWidth-t.getTextRect(t.title.node().textContent,t.CLASS.title,t.title.node()).width)/2:e.title_padding.left},e.prototype.yForTitle=function(){var t=this;return t.config.title_padding.top+t.getTextRect(t.title.node().textContent,t.CLASS.title,t.title.node()).height},e.prototype.getTitlePadding=function(){return this.yForTitle()+this.config.title_padding.bottom},e.prototype.initTooltip=function(){var t,e=this,i=e.config;if(e.tooltip=e.selectChart.style("position","relative").append("div").attr("class",r.tooltipContainer).style("position","absolute").style("pointer-events","none").style("display","none"),i.tooltip_init_show){if(e.isTimeSeries()&&p(i.tooltip_init_x)){for(i.tooltip_init_x=e.parseDate(i.tooltip_init_x),t=0;t<e.data.targets[0].values.length&&e.data.targets[0].values[t].x-i.tooltip_init_x!=0;t++);i.tooltip_init_x=t}e.tooltip.html(i.tooltip_contents.call(e,e.data.targets.map(function(t){return e.addName(t.values[i.tooltip_init_x])}),e.axis.getXAxisTickFormat(),e.getYFormat(e.hasArcType()),e.color)),e.tooltip.style("top",i.tooltip_init_position.top).style("left",i.tooltip_init_position.left).style("display","block")}},e.prototype.getTooltipSortFunction=function(){var t=this,e=t.config;if(0!==e.data_groups.length&&void 0===e.tooltip_order){var i=t.orderTargets(t.data.targets).map(function(t){return t.id});return(t.isOrderAsc()||t.isOrderDesc())&&(i=i.reverse()),function(t,e){return i.indexOf(t.id)-i.indexOf(e.id)}}var n=e.tooltip_order;void 0===n&&(n=e.data_order);var r=function(t){return t?t.value:null};if(p(n)&&"asc"===n.toLowerCase())return function(t,e){return r(t)-r(e)};if(p(n)&&"desc"===n.toLowerCase())return function(t,e){return r(e)-r(t)};if(f(n)){var o=n;return void 0===e.tooltip_order&&(o=function(t,e){return n(t?{id:t.id,values:[t]}:null,e?{id:e.id,values:[e]}:null)}),o}return u(n)?function(t,e){return n.indexOf(t.id)-n.indexOf(e.id)}:void 0},e.prototype.getTooltipContent=function(t,e,i,n){var r,o,a,s,l,c,u=this,h=u.config,d=h.tooltip_format_title||e,f=h.tooltip_format_name||function(t){return t},p=h.tooltip_format_value||i,g=this.getTooltipSortFunction();for(g&&t.sort(g),o=0;o<t.length;o++)if(t[o]&&(t[o].value||0===t[o].value)&&(r||(a=y(d?d(t[o].x,t[o].index):t[o].x),r="<table class='"+u.CLASS.tooltip+"'>"+(a||0===a?"<tr><th colspan='2'>"+a+"</th></tr>":"")),void 0!==(s=y(p(t[o].value,t[o].ratio,t[o].id,t[o].index,t))))){if(null===t[o].name)continue;l=y(f(t[o].name,t[o].ratio,t[o].id,t[o].index)),c=u.levelColor?u.levelColor(t[o].value):n(t[o].id),r+="<tr class='"+u.CLASS.tooltipName+"-"+u.getTargetSelectorSuffix(t[o].id)+"'>",r+="<td class='name'><span style='background-color:"+c+"'></span>"+l+"</td>",r+="<td class='value'>"+s+"</td>",r+="</tr>"}return r+"</table>"},e.prototype.tooltipPosition=function(t,e,i,n){var r,o,a,s,l,c=this,u=c.config,h=c.d3,d=c.hasArcType(),f=h.mouse(n);return d?(o=(c.width-(c.isLegendRight?c.getLegendWidth():0))/2+f[0],s=(c.hasType("gauge")?c.height:c.height/2)+f[1]+20):(r=c.getSvgLeft(!0),s=u.axis_rotated?(a=(o=r+f[0]+100)+e,l=c.currentWidth-c.getCurrentPaddingRight(),c.x(t[0].x)+20):(a=(o=r+c.getCurrentPaddingLeft(!0)+c.x(t[0].x)+20)+e,l=r+c.currentWidth-c.getCurrentPaddingRight(),f[1]+15),l<a&&(o-=a-l+20),s+i>c.currentHeight&&(s-=i+30)),s<0&&(s=0),{top:s,left:o}},e.prototype.showTooltip=function(t,i){var n,r,o,a=this,s=a.config,l=a.hasArcType(),c=t.filter(function(t){return t&&m(t.value)}),u=s.tooltip_position||e.prototype.tooltipPosition;0!==c.length&&s.tooltip_show&&(a.tooltip.html(s.tooltip_contents.call(a,t,a.axis.getXAxisTickFormat(),a.getYFormat(l),a.color)).style("display","block"),n=a.tooltip.property("offsetWidth"),r=a.tooltip.property("offsetHeight"),o=u.call(this,c,n,r,i),a.tooltip.style("top",o.top+"px").style("left",o.left+"px"))},e.prototype.hideTooltip=function(){this.tooltip.style("display","none")},e.prototype.setTargetType=function(t,e){var i=this,n=i.config;i.mapToTargetIds(t).forEach(function(t){i.withoutFadeIn[t]=e===n.data_types[t],n.data_types[t]=e}),t||(n.data_type=e)},e.prototype.hasType=function(t,e){var i=this.config.data_types,n=!1;return(e=e||this.data.targets)&&e.length?e.forEach(function(e){var r=i[e.id];(r&&0<=r.indexOf(t)||!r&&"line"===t)&&(n=!0)}):Object.keys(i).length?Object.keys(i).forEach(function(e){i[e]===t&&(n=!0)}):n=this.config.data_type===t,n},e.prototype.hasArcType=function(t){return this.hasType("pie",t)||this.hasType("donut",t)||this.hasType("gauge",t)},e.prototype.isLineType=function(t){var e=this.config,i=p(t)?t:t.id;return!e.data_types[i]||0<=["line","spline","area","area-spline","step","area-step"].indexOf(e.data_types[i])},e.prototype.isStepType=function(t){var e=p(t)?t:t.id;return 0<=["step","area-step"].indexOf(this.config.data_types[e])},e.prototype.isSplineType=function(t){var e=p(t)?t:t.id;return 0<=["spline","area-spline"].indexOf(this.config.data_types[e])},e.prototype.isAreaType=function(t){var e=p(t)?t:t.id;return 0<=["area","area-spline","area-step"].indexOf(this.config.data_types[e])},e.prototype.isBarType=function(t){var e=p(t)?t:t.id;return"bar"===this.config.data_types[e]},e.prototype.isScatterType=function(t){var e=p(t)?t:t.id;return"scatter"===this.config.data_types[e]},e.prototype.isPieType=function(t){var e=p(t)?t:t.id;return"pie"===this.config.data_types[e]},e.prototype.isGaugeType=function(t){var e=p(t)?t:t.id;return"gauge"===this.config.data_types[e]},e.prototype.isDonutType=function(t){var e=p(t)?t:t.id;return"donut"===this.config.data_types[e]},e.prototype.isArcType=function(t){return this.isPieType(t)||this.isDonutType(t)||this.isGaugeType(t)},e.prototype.lineData=function(t){return this.isLineType(t)?[t]:[]},e.prototype.arcData=function(t){return this.isArcType(t.data)?[t]:[]},e.prototype.barData=function(t){return this.isBarType(t)?t.values:[]},e.prototype.lineOrScatterData=function(t){return this.isLineType(t)||this.isScatterType(t)?t.values:[]},e.prototype.barOrLineData=function(t){return this.isBarType(t)||this.isLineType(t)?t.values:[]},e.prototype.isSafari=function(){var t=window.navigator.userAgent;return 0<=t.indexOf("Safari")&&t.indexOf("Chrome")<0},e.prototype.isChrome=function(){return 0<=window.navigator.userAgent.indexOf("Chrome")},e.prototype.initZoom=function(){var t,e=this,i=e.d3,n=e.config;return e.zoom=i.zoom().on("start",function(){if("scroll"===n.zoom_type){var r=i.event.sourceEvent;r&&"brush"===r.type||(t=r,n.zoom_onzoomstart.call(e.api,r))}}).on("zoom",function(){if("scroll"===n.zoom_type){var t=i.event.sourceEvent;t&&"brush"===t.type||(e.redrawForZoom(),n.zoom_onzoom.call(e.api,e.x.orgDomain()))}}).on("end",function(){if("scroll"===n.zoom_type){var r=i.event.sourceEvent;r&&"brush"===r.type||r&&t.clientX===r.clientX&&t.clientY===r.clientY||n.zoom_onzoomend.call(e.api,e.x.orgDomain())}}),e.zoom.updateDomain=function(){return i.event&&i.event.transform&&e.x.domain(i.event.transform.rescaleX(e.subX).domain()),this},e.zoom.updateExtent=function(){return this.scaleExtent([1,1/0]).translateExtent([[0,0],[e.width,e.height]]).extent([[0,0],[e.width,e.height]]),this},e.zoom.update=function(){return this.updateExtent().updateDomain()},e.zoom.updateExtent()},e.prototype.zoomTransform=function(t){var e=[this.x(t[0]),this.x(t[1])];return this.d3.zoomIdentity.scale(this.width/(e[1]-e[0])).translate(-e[0],0)},e.prototype.initDragZoom=function(){var t=this,e=t.d3,i=t.config,n=t.context=t.svg,o=t.margin.left+20.5,a=t.margin.top+.5;if("drag"===i.zoom_type&&i.zoom_enabled){var s=function(e){return e&&e.map(function(e){return t.x.invert(e)})},l=t.dragZoomBrush=e.brushX().on("start",function(){t.api.unzoom(),t.svg.select("."+r.dragZoom).classed("disabled",!1),i.zoom_onzoomstart.call(t.api,e.event.sourceEvent)}).on("brush",function(){i.zoom_onzoom.call(t.api,s(e.event.selection))}).on("end",function(){if(null!=e.event.selection){var n=s(e.event.selection);i.zoom_disableDefaultBehavior||t.api.zoom(n),t.svg.select("."+r.dragZoom).classed("disabled",!0),i.zoom_onzoomend.call(t.api,n)}});n.append("g").classed(r.dragZoom,!0).attr("clip-path",t.clipPath).attr("transform","translate("+o+","+a+")").call(l)}},e.prototype.getZoomDomain=function(){var t=this.config,e=this.d3;return[e.min([this.orgXDomain[0],t.zoom_x_min]),e.max([this.orgXDomain[1],t.zoom_x_max])]},e.prototype.redrawForZoom=function(){var t=this,e=t.d3,i=t.config,n=t.zoom,r=t.x;i.zoom_enabled&&0!==t.filterTargetsToShow(t.data.targets).length&&(n.update(),i.zoom_disableDefaultBehavior||(t.isCategorized()&&r.orgDomain()[0]===t.orgXDomain[0]&&r.domain([t.orgXDomain[0]-1e-10,r.orgDomain()[1]]),t.redraw({withTransition:!1,withY:i.zoom_rescale,withSubchart:!1,withEventRect:!1,withDimension:!1}),e.event.sourceEvent&&"mousemove"===e.event.sourceEvent.type&&(t.cancelClick=!0)))},L}),function(t,e,i){var n;n=function(i){"use strict";var n,r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L,x,w,_,S,C,k,T,E,A,M,D,P={},O=0;n=function(){return{common:{type:"line",lineColor:"#00f",fillColor:"#cdf",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!1,disableInteraction:!1},line:{spotColor:"#f80",highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:"#f80",maxSpotColor:"#f80",lineWidth:1,normalRangeMin:void 0,normalRangeMax:void 0,normalRangeColor:"#ccc",drawNormalOnTop:!1,chartRangeMin:void 0,chartRangeMax:void 0,chartRangeMinX:void 0,chartRangeMaxX:void 0,tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{y}}{{suffix}}')},bar:{barColor:"#3366cc",negBarColor:"#f44",stackedBarColor:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],zeroColor:void 0,nullColor:void 0,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,colorMap:void 0,tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{prefix}}{{value}}{{suffix}}')},tristate:{barWidth:4,barSpacing:1,posBarColor:"#6f6",negBarColor:"#f44",zeroBarColor:"#999",colorMap:{},tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{value:map}}'),tooltipValueLookups:{map:{"-1":"Loss",0:"Draw",1:"Win"}}},discrete:{lineHeight:"auto",thresholdColor:void 0,thresholdValue:0,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,tooltipFormat:new o("{{prefix}}{{value}}{{suffix}}")},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff"],base:void 0,tooltipFormat:new o("{{fieldkey:fields}} - {{value}}"),tooltipValueLookups:{fields:{r:"Range",p:"Performance",t:"Target"}}},pie:{offset:0,sliceColors:["#3366cc","#dc3912","#ff9900","#109618","#66aa00","#dd4477","#0099c6","#990099"],borderWidth:0,borderColor:"#000",tooltipFormat:new o('<span style="color: {{color}}">&#9679;</span> {{value}} ({{percent.1}}%)')},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#333",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:void 0,targetColor:"#4a2",chartRangeMax:void 0,chartRangeMin:void 0,tooltipFormat:new o("{{field:fields}}: {{value}}"),tooltipFormatFieldlistKey:"field",tooltipValueLookups:{fields:{lq:"Lower Quartile",med:"Median",uq:"Upper Quartile",lo:"Left Outlier",ro:"Right Outlier",lw:"Left Whisker",rw:"Right Whisker"}}}}},r=function(){var t,e;return t=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(t.prototype=i.extend(new arguments[0],arguments[arguments.length-1]),t._super=arguments[0].prototype):t.prototype=arguments[arguments.length-1],arguments.length>2&&((e=Array.prototype.slice.call(arguments,1,-1)).unshift(t.prototype),i.extend.apply(i,e))):t.prototype=arguments[0],t.prototype.cls=t,t},i.SPFormatClass=o=r({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(t,e){this.format=t,this.fclass=e},render:function(t,e,i){var n,r,o,a,s,l=this,c=t;return this.format.replace(this.fre,function(){return r=arguments[1],o=arguments[3],(n=l.precre.exec(r))?(s=n[2],r=n[1]):s=!1,void 0===(a=c[r])?"":o&&e&&e[o]?e[o].get?e[o].get(a)||a:e[o][a]||a:(h(a)&&(a=i.get("numberFormatter")?i.get("numberFormatter")(a):g(a,s,i.get("numberDigitGroupCount"),i.get("numberDigitGroupSep"),i.get("numberDecimalMark"))),a)})}}),i.spformat=function(t,e){return new o(t,e)},a=function(t,e,i){return t<e?e:t>i?i:t},s=function(t,i){var n;return 2===i?(n=e.floor(t.length/2),t.length%2?t[n]:(t[n-1]+t[n])/2):t.length%2?(n=(t.length*i+i)/4)%1?(t[e.floor(n)]+t[e.floor(n)-1])/2:t[n-1]:(n=(t.length*i+2)/4)%1?(t[e.floor(n)]+t[e.floor(n)-1])/2:t[n-1]},l=function(t){var e;switch(t){case"undefined":t=void 0;break;case"null":t=null;break;case"true":t=!0;break;case"false":t=!1;break;default:t==(e=parseFloat(t))&&(t=e)}return t},c=function(t){var e,i=[];for(e=t.length;e--;)i[e]=l(t[e]);return i},u=function(t,e){var i,n,r=[];for(i=0,n=t.length;i<n;i++)t[i]!==e&&r.push(t[i]);return r},h=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},g=function(t,e,n,r,o){var a,s;for(t=(!1===e?parseFloat(t).toString():t.toFixed(e)).split(""),(a=(a=i.inArray(".",t))<0?t.length:a)<t.length&&(t[a]=o),s=a-n;s>0;s-=n)t.splice(s,0,r);return t.join("")},d=function(t,e,i){var n;for(n=e.length;n--;)if((!i||null!==e[n])&&e[n]!==t)return!1;return!0},p=function(t){return i.isArray(t)?t:[t]},f=function(e){var i,n;if(t.createStyleSheet)try{return void(t.createStyleSheet().cssText=e)}catch(t){n=!0}(i=t.createElement("style")).type="text/css",t.getElementsByTagName("head")[0].appendChild(i),n?t.styleSheets[t.styleSheets.length-1].cssText=e:i["string"==typeof t.body.style.WebkitAppearance?"innerText":"innerHTML"]=e},i.fn.simpledraw=function(e,n,r,o){var a,s;if(r&&(a=this.data("_jqs_vcanvas")))return a;if(!1===i.fn.sparkline.canvas)return!1;if(void 0===i.fn.sparkline.canvas){var l=t.createElement("canvas");if(l.getContext&&l.getContext("2d"))i.fn.sparkline.canvas=function(t,e,i,n){return new A(t,e,i,n)};else{if(!t.namespaces||t.namespaces.v)return i.fn.sparkline.canvas=!1,!1;t.namespaces.add("v","urn:schemas-microsoft-com:vml","#default#VML"),i.fn.sparkline.canvas=function(t,e,i,n){return new M(t,e,i)}}}return void 0===e&&(e=i(this).innerWidth()),void 0===n&&(n=i(this).innerHeight()),a=i.fn.sparkline.canvas(e,n,this,o),(s=i(this).data("_jqs_mhandler"))&&s.registerCanvas(a),a},i.fn.cleardraw=function(){var t=this.data("_jqs_vcanvas");t&&t.reset()},i.RangeMapClass=m=r({init:function(t){var e,i,n=[];for(e in t)t.hasOwnProperty(e)&&"string"==typeof e&&e.indexOf(":")>-1&&((i=e.split(":"))[0]=0===i[0].length?-1/0:parseFloat(i[0]),i[1]=0===i[1].length?1/0:parseFloat(i[1]),i[2]=t[e],n.push(i));this.map=t,this.rangelist=n||!1},get:function(t){var e,i,n,r=this.rangelist;if(void 0!==(n=this.map[t]))return n;if(r)for(e=r.length;e--;)if((i=r[e])[0]<=t&&i[1]>=t)return i[2]}}),i.range_map=function(t){return new m(t)},v=r({init:function(t,e){var n=i(t);this.$el=n,this.options=e,this.currentPageX=0,this.currentPageY=0,this.el=t,this.splist=[],this.tooltip=null,this.over=!1,this.displayTooltips=!e.get("disableTooltips"),this.highlightEnabled=!e.get("disableHighlight")},registerSparkline:function(t){this.splist.push(t),this.over&&this.updateDisplay()},registerCanvas:function(t){var e=i(t.canvas);this.canvas=t,this.$canvas=e,e.mouseenter(i.proxy(this.mouseenter,this)),e.mouseleave(i.proxy(this.mouseleave,this)),e.click(i.proxy(this.mouseclick,this))},reset:function(t){this.splist=[],this.tooltip&&t&&(this.tooltip.remove(),this.tooltip=void 0)},mouseclick:function(t){var e=i.Event("sparklineClick");e.originalEvent=t,e.sparklines=this.splist,this.$el.trigger(e)},mouseenter:function(e){i(t.body).unbind("mousemove.jqs"),i(t.body).bind("mousemove.jqs",i.proxy(this.mousemove,this)),this.over=!0,this.currentPageX=e.pageX,this.currentPageY=e.pageY,this.currentEl=e.target,!this.tooltip&&this.displayTooltips&&(this.tooltip=new y(this.options),this.tooltip.updatePosition(e.pageX,e.pageY)),this.updateDisplay()},mouseleave:function(){i(t.body).unbind("mousemove.jqs");var e,n=this.splist,r=n.length,o=!1;for(this.over=!1,this.currentEl=null,this.tooltip&&(this.tooltip.remove(),this.tooltip=null),e=0;e<r;e++)n[e].clearRegionHighlight()&&(o=!0);o&&this.canvas.render()},mousemove:function(t){this.currentPageX=t.pageX,this.currentPageY=t.pageY,this.currentEl=t.target,this.tooltip&&this.tooltip.updatePosition(t.pageX,t.pageY),this.updateDisplay()},updateDisplay:function(){var t,e,n,r,o=this.splist,a=o.length,s=!1,l=this.$canvas.offset(),c=this.currentPageX-l.left,u=this.currentPageY-l.top;if(this.over){for(e=0;e<a;e++)(n=o[e].setRegionHighlight(this.currentEl,c,u))&&(s=!0);if(s){if((r=i.Event("sparklineRegionChange")).sparklines=this.splist,this.$el.trigger(r),this.tooltip){for(t="",e=0;e<a;e++)t+=o[e].getCurrentRegionTooltip();this.tooltip.setContent(t)}this.disableHighlight||this.canvas.render()}null===n&&this.mouseleave()}}}),y=r({sizeStyle:"position: static !important;display: block !important;visibility: hidden !important;float: left !important;",init:function(e){var n,r=e.get("tooltipClassname","jqstooltip"),o=this.sizeStyle;this.container=e.get("tooltipContainer")||t.body,this.tooltipOffsetX=e.get("tooltipOffsetX",10),this.tooltipOffsetY=e.get("tooltipOffsetY",12),i("#jqssizetip").remove(),i("#jqstooltip").remove(),this.sizetip=i("<div/>",{id:"jqssizetip",style:o,class:r}),this.tooltip=i("<div/>",{id:"jqstooltip",class:r}).appendTo(this.container),n=this.tooltip.offset(),this.offsetLeft=n.left,this.offsetTop=n.top,this.hidden=!0,i(window).unbind("resize.jqs scroll.jqs"),i(window).bind("resize.jqs scroll.jqs",i.proxy(this.updateWindowDims,this)),this.updateWindowDims()},updateWindowDims:function(){this.scrollTop=i(window).scrollTop(),this.scrollLeft=i(window).scrollLeft(),this.scrollRight=this.scrollLeft+i(window).width(),this.updatePosition()},getSize:function(t){this.sizetip.html(t).appendTo(this.container),this.width=this.sizetip.width()+1,this.height=this.sizetip.height(),this.sizetip.remove()},setContent:function(t){if(!t)return this.tooltip.css("visibility","hidden"),void(this.hidden=!0);this.getSize(t),this.tooltip.html(t).css({width:this.width,height:this.height,visibility:"visible"}),this.hidden&&(this.hidden=!1,this.updatePosition())},updatePosition:function(t,e){if(void 0===t){if(void 0===this.mousex)return;t=this.mousex-this.offsetLeft,e=this.mousey-this.offsetTop}else this.mousex=t-=this.offsetLeft,this.mousey=e-=this.offsetTop;this.height&&this.width&&!this.hidden&&(e-=this.height+this.tooltipOffsetY,t+=this.tooltipOffsetX,e<this.scrollTop&&(e=this.scrollTop),t<this.scrollLeft?t=this.scrollLeft:t+this.width>this.scrollRight&&(t=this.scrollRight-this.width),this.tooltip.css({left:t,top:e}))},remove:function(){this.tooltip.remove(),this.sizetip.remove(),this.sizetip=this.tooltip=void 0,i(window).unbind("resize.jqs scroll.jqs")}}),i(function(){f('.jqstooltip { position: absolute;left: 0px;top: 0px;visibility: hidden;background: rgb(0, 0, 0) transparent;background-color: rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";color: white;font: 10px arial, san serif;text-align: left;white-space: nowrap;padding: 5px;border: 1px solid white;box-sizing: content-box;z-index: 10000;}.jqsfield { color: white;font: 10px arial, san serif;text-align: left;}')}),D=[],i.fn.sparkline=function(e,n){return this.each(function(){var r,o,a=new i.fn.sparkline.options(this,n),s=i(this);if(r=function(){var n,r,o,l,c,u,h;"html"===e||void 0===e?(null==(h=this.getAttribute(a.get("tagValuesAttribute")))&&(h=s.html()),n=h.replace(/(^\s*<!--)|(-->\s*$)|\s+/g,"").split(",")):n=e,r="auto"===a.get("width")?n.length*a.get("defaultPixelsPerValue"):a.get("width"),"auto"===a.get("height")?a.get("composite")&&i.data(this,"_jqs_vcanvas")||((l=t.createElement("span")).innerHTML="a",s.html(l),o=i(l).innerHeight()||i(l).height(),i(l).remove(),l=null):o=a.get("height"),a.get("disableInteraction")?c=!1:(c=i.data(this,"_jqs_mhandler"))?a.get("composite")||c.reset():(c=new v(this,a),i.data(this,"_jqs_mhandler",c)),!a.get("composite")||i.data(this,"_jqs_vcanvas")?((u=new(i.fn.sparkline[a.get("type")])(this,n,a,r,o)).render(),c&&c.registerSparkline(u)):i.data(this,"_jqs_errnotify")||(alert("Attempted to attach a composite sparkline to an element with no existing sparkline"),i.data(this,"_jqs_errnotify",!0))},i(this).html()&&!a.get("disableHiddenCheck")&&i(this).is(":hidden")||!i(this).parents("body").length){if(!a.get("composite")&&i.data(this,"_jqs_pending"))for(o=D.length;o;o--)D[o-1][0]==this&&D.splice(o-1,1);D.push([this,r]),i.data(this,"_jqs_pending",!0)}else r.call(this)})},i.fn.sparkline.defaults=n(),i.sparkline_display_visible=function(){var t,e,n,r=[];for(e=0,n=D.length;e<n;e++)t=D[e][0],i(t).is(":visible")&&!i(t).parents().is(":hidden")?(D[e][1].call(t),i.data(D[e][0],"_jqs_pending",!1),r.push(e)):i(t).closest("html").length||i.data(t,"_jqs_pending")||(i.data(D[e][0],"_jqs_pending",!1),r.push(e));for(e=r.length;e;e--)D.splice(r[e-1],1)},i.fn.sparkline.options=r({init:function(t,e){var n,r,o,a;this.userOptions=e=e||{},this.tag=t,this.tagValCache={},o=(r=i.fn.sparkline.defaults).common,this.tagOptionsPrefix=e.enableTagOptions&&(e.tagOptionsPrefix||o.tagOptionsPrefix),n=(a=this.getTagSetting("type"))===P?r[e.type||o.type]:r[a],this.mergedOptions=i.extend({},o,n,e)},getTagSetting:function(t){var e,i,n,r,o=this.tagOptionsPrefix;if(!1===o||void 0===o)return P;if(this.tagValCache.hasOwnProperty(t))e=this.tagValCache.key;else{if(null==(e=this.tag.getAttribute(o+t)))e=P;else if("["===e.substr(0,1))for(i=(e=e.substr(1,e.length-2).split(",")).length;i--;)e[i]=l(e[i].replace(/(^\s*)|(\s*$)/g,""));else if("{"===e.substr(0,1))for(n=e.substr(1,e.length-2).split(","),e={},i=n.length;i--;)e[(r=n[i].split(":",2))[0].replace(/(^\s*)|(\s*$)/g,"")]=l(r[1].replace(/(^\s*)|(\s*$)/g,""));else e=l(e);this.tagValCache.key=e}return e},get:function(t,e){var i,n=this.getTagSetting(t);return n!==P?n:void 0===(i=this.mergedOptions[t])?e:i}}),i.fn.sparkline._base=r({disabled:!1,init:function(t,e,n,r,o){this.el=t,this.$el=i(t),this.values=e,this.options=n,this.width=r,this.height=o,this.currentRegion=void 0},initTarget:function(){var t=!this.options.get("disableInteraction");(this.target=this.$el.simpledraw(this.width,this.height,this.options.get("composite"),t))?(this.canvasWidth=this.target.pixelWidth,this.canvasHeight=this.target.pixelHeight):this.disabled=!0},render:function(){return!this.disabled||(this.el.innerHTML="",!1)},getRegion:function(t,e){},setRegionHighlight:function(t,e,i){var n,r=this.currentRegion,o=!this.options.get("disableHighlight");return e>this.canvasWidth||i>this.canvasHeight||e<0||i<0?null:r!==(n=this.getRegion(t,e,i))&&(void 0!==r&&o&&this.removeHighlight(),this.currentRegion=n,void 0!==n&&o&&this.renderHighlight(),!0)},clearRegionHighlight:function(){return void 0!==this.currentRegion&&(this.removeHighlight(),this.currentRegion=void 0,!0)},renderHighlight:function(){this.changeHighlight(!0)},removeHighlight:function(){this.changeHighlight(!1)},changeHighlight:function(t){},getCurrentRegionTooltip:function(){var t,e,n,r,a,s,l,c,u,h,d,f,p,g,m=this.options,v="",y=[];if(void 0===this.currentRegion)return"";if(t=this.getCurrentRegionFields(),d=m.get("tooltipFormatter"))return d(this,m,t);if(m.get("tooltipChartTitle")&&(v+='<div class="jqs jqstitle">'+m.get("tooltipChartTitle")+"</div>\n"),!(e=this.options.get("tooltipFormat")))return"";if(i.isArray(e)||(e=[e]),i.isArray(t)||(t=[t]),l=this.options.get("tooltipFormatFieldlist"),c=this.options.get("tooltipFormatFieldlistKey"),l&&c){for(u=[],s=t.length;s--;)h=t[s][c],-1!=(g=i.inArray(h,l))&&(u[g]=t[s]);t=u}for(n=e.length,p=t.length,s=0;s<n;s++)for("string"==typeof(f=e[s])&&(f=new o(f)),r=f.fclass||"jqsfield",g=0;g<p;g++)t[g].isNull&&m.get("tooltipSkipNull")||(i.extend(t[g],{prefix:m.get("tooltipPrefix"),suffix:m.get("tooltipSuffix")}),a=f.render(t[g],m.get("tooltipValueLookups"),m),y.push('<div class="'+r+'">'+a+"</div>"));return y.length?v+y.join("\n"):""},getCurrentRegionFields:function(){},calcHighlightColor:function(t,i){var n,r,o,s,l=i.get("highlightColor"),c=i.get("highlightLighten");if(l)return l;if(c&&(n=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(t)||/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(t))){for(o=[],r=4===t.length?16:1,s=0;s<3;s++)o[s]=a(e.round(parseInt(n[s+1],16)*r*c),0,255);return"rgb("+o.join(",")+")"}return t}}),b={changeHighlight:function(t){var e,n=this.currentRegion,r=this.target,o=this.regionShapes[n];o&&(e=this.renderRegion(n,t),i.isArray(e)||i.isArray(o)?(r.replaceWithShapes(o,e),this.regionShapes[n]=i.map(e,function(t){return t.id})):(r.replaceWithShape(o,e),this.regionShapes[n]=e.id))},render:function(){var t,e,n,r,o=this.values,a=this.target,s=this.regionShapes;if(this.cls._super.render.call(this)){for(n=o.length;n--;)if(t=this.renderRegion(n))if(i.isArray(t)){for(e=[],r=t.length;r--;)t[r].append(),e.push(t[r].id);s[n]=e}else t.append(),s[n]=t.id;else s[n]=null;a.render()}}},i.fn.sparkline.line=L=r(i.fn.sparkline._base,{type:"line",init:function(t,e,i,n,r){L._super.init.call(this,t,e,i,n,r),this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.initTarget()},getRegion:function(t,e,i){var n,r=this.regionMap;for(n=r.length;n--;)if(null!==r[n]&&e>=r[n][0]&&e<=r[n][1])return r[n][2]},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:null===this.yvalues[t],x:this.xvalues[t],y:this.yvalues[t],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:t}},renderHighlight:function(){var t,e,i=this.currentRegion,n=this.target,r=this.vertices[i],o=this.options,a=o.get("spotRadius"),s=o.get("highlightSpotColor"),l=o.get("highlightLineColor");r&&(a&&s&&(t=n.drawCircle(r[0],r[1],a,void 0,s),this.highlightSpotId=t.id,n.insertAfterShape(this.lastShapeId,t)),l&&(e=n.drawLine(r[0],this.canvasTop,r[0],this.canvasTop+this.canvasHeight,l),this.highlightLineId=e.id,n.insertAfterShape(this.lastShapeId,e)))},removeHighlight:function(){var t=this.target;this.highlightSpotId&&(t.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(t.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){var t,i,n,r,o,a=this.values,s=a.length,l=this.xvalues,c=this.yvalues,u=this.yminmax;for(t=0;t<s;t++)i=a[t],n="string"==typeof a[t],r="object"==typeof a[t]&&a[t]instanceof Array,o=n&&a[t].split(":"),n&&2===o.length?(l.push(Number(o[0])),c.push(Number(o[1])),u.push(Number(o[1]))):r?(l.push(i[0]),c.push(i[1]),u.push(i[1])):(l.push(t),null===a[t]||"null"===a[t]?c.push(null):(c.push(Number(i)),u.push(Number(i))));this.options.get("xvalues")&&(l=this.options.get("xvalues")),this.maxy=this.maxyorg=e.max.apply(e,u),this.miny=this.minyorg=e.min.apply(e,u),this.maxx=e.max.apply(e,l),this.minx=e.min.apply(e,l),this.xvalues=l,this.yvalues=c,this.yminmax=u},processRangeOptions:function(){var t=this.options,e=t.get("normalRangeMin"),i=t.get("normalRangeMax");void 0!==e&&(e<this.miny&&(this.miny=e),i>this.maxy&&(this.maxy=i)),void 0!==t.get("chartRangeMin")&&(t.get("chartRangeClip")||t.get("chartRangeMin")<this.miny)&&(this.miny=t.get("chartRangeMin")),void 0!==t.get("chartRangeMax")&&(t.get("chartRangeClip")||t.get("chartRangeMax")>this.maxy)&&(this.maxy=t.get("chartRangeMax")),void 0!==t.get("chartRangeMinX")&&(t.get("chartRangeClipX")||t.get("chartRangeMinX")<this.minx)&&(this.minx=t.get("chartRangeMinX")),void 0!==t.get("chartRangeMaxX")&&(t.get("chartRangeClipX")||t.get("chartRangeMaxX")>this.maxx)&&(this.maxx=t.get("chartRangeMaxX"))},drawNormalRange:function(t,i,n,r,o){var a=this.options.get("normalRangeMin"),s=this.options.get("normalRangeMax"),l=i+e.round(n-n*((s-this.miny)/o)),c=e.round(n*(s-a)/o);this.target.drawRect(t,l,r,c,void 0,this.options.get("normalRangeColor")).append()},render:function(){var t,n,r,o,a,s,l,c,u,h,d,f,p,g,v,y,b,x,w,_,S,C,k,T,E=this.options,A=this.target,M=this.canvasWidth,D=this.canvasHeight,P=this.vertices,O=E.get("spotRadius"),I=this.regionMap;if(L._super.render.call(this)&&(this.scanValues(),this.processRangeOptions(),C=this.xvalues,k=this.yvalues,this.yminmax.length&&!(this.yvalues.length<2))){for(o=a=0,t=this.maxx-this.minx==0?1:this.maxx-this.minx,n=this.maxy-this.miny==0?1:this.maxy-this.miny,r=this.yvalues.length-1,O&&(M<4*O||D<4*O)&&(O=0),O&&(((_=E.get("highlightSpotColor")&&!E.get("disableInteraction"))||E.get("minSpotColor")||E.get("spotColor")&&k[r]===this.miny)&&(D-=e.ceil(O)),(_||E.get("maxSpotColor")||E.get("spotColor")&&k[r]===this.maxy)&&(D-=e.ceil(O),o+=e.ceil(O)),(_||(E.get("minSpotColor")||E.get("maxSpotColor"))&&(k[0]===this.miny||k[0]===this.maxy))&&(a+=e.ceil(O),M-=e.ceil(O)),(_||E.get("spotColor")||E.get("minSpotColor")||E.get("maxSpotColor")&&(k[r]===this.miny||k[r]===this.maxy))&&(M-=e.ceil(O))),D--,void 0===E.get("normalRangeMin")||E.get("drawNormalOnTop")||this.drawNormalRange(a,o,D,M,n),c=[l=[]],p=g=null,v=k.length,T=0;T<v;T++)u=C[T],d=C[T+1],h=k[T],g=(f=a+e.round((u-this.minx)*(M/t)))+((T<v-1?a+e.round((d-this.minx)*(M/t)):M)-f)/2,I[T]=[p||0,g,T],p=g,null===h?T&&(null!==k[T-1]&&(l=[],c.push(l)),P.push(null)):(h<this.miny&&(h=this.miny),h>this.maxy&&(h=this.maxy),l.length||l.push([f,o+D]),s=[f,o+e.round(D-D*((h-this.miny)/n))],l.push(s),P.push(s));for(y=[],b=[],x=c.length,T=0;T<x;T++)(l=c[T]).length&&(E.get("fillColor")&&(l.push([l[l.length-1][0],o+D]),b.push(l.slice(0)),l.pop()),l.length>2&&(l[0]=[l[0][0],l[1][1]]),y.push(l));for(x=b.length,T=0;T<x;T++)A.drawShape(b[T],E.get("fillColor"),E.get("fillColor")).append();for(void 0!==E.get("normalRangeMin")&&E.get("drawNormalOnTop")&&this.drawNormalRange(a,o,D,M,n),x=y.length,T=0;T<x;T++)A.drawShape(y[T],E.get("lineColor"),void 0,E.get("lineWidth")).append();if(O&&E.get("valueSpots"))for(void 0===(w=E.get("valueSpots")).get&&(w=new m(w)),T=0;T<v;T++)(S=w.get(k[T]))&&A.drawCircle(a+e.round((C[T]-this.minx)*(M/t)),o+e.round(D-D*((k[T]-this.miny)/n)),O,void 0,S).append();O&&E.get("spotColor")&&null!==k[r]&&A.drawCircle(a+e.round((C[C.length-1]-this.minx)*(M/t)),o+e.round(D-D*((k[r]-this.miny)/n)),O,void 0,E.get("spotColor")).append(),this.maxy!==this.minyorg&&(O&&E.get("minSpotColor")&&(u=C[i.inArray(this.minyorg,k)],A.drawCircle(a+e.round((u-this.minx)*(M/t)),o+e.round(D-D*((this.minyorg-this.miny)/n)),O,void 0,E.get("minSpotColor")).append()),O&&E.get("maxSpotColor")&&(u=C[i.inArray(this.maxyorg,k)],A.drawCircle(a+e.round((u-this.minx)*(M/t)),o+e.round(D-D*((this.maxyorg-this.miny)/n)),O,void 0,E.get("maxSpotColor")).append())),this.lastShapeId=A.getLastShapeId(),this.canvasTop=o,A.render()}}}),i.fn.sparkline.bar=x=r(i.fn.sparkline._base,b,{type:"bar",init:function(t,n,r,o,s){var h,d,f,p,g,v,y,b,L,w,_,S,C,k,T,E,A,M,D,P,O,I=parseInt(r.get("barWidth"),10),N=parseInt(r.get("barSpacing"),10),R=r.get("chartRangeMin"),F=r.get("chartRangeMax"),B=r.get("chartRangeClip"),z=1/0,H=-1/0;for(x._super.init.call(this,t,n,r,o,s),v=0,y=n.length;v<y;v++)((h="string"==typeof(P=n[v])&&P.indexOf(":")>-1)||i.isArray(P))&&(T=!0,h&&(P=n[v]=c(P.split(":"))),P=u(P,null),(d=e.min.apply(e,P))<z&&(z=d),(f=e.max.apply(e,P))>H&&(H=f));this.stacked=T,this.regionShapes={},this.barWidth=I,this.barSpacing=N,this.totalBarWidth=I+N,this.width=o=n.length*I+(n.length-1)*N,this.initTarget(),B&&(C=void 0===R?-1/0:R,k=void 0===F?1/0:F),g=[],p=T?[]:g;var V=[],j=[];for(v=0,y=n.length;v<y;v++)if(T)for(E=n[v],n[v]=D=[],V[v]=0,p[v]=j[v]=0,A=0,M=E.length;A<M;A++)null!==(P=D[A]=B?a(E[A],C,k):E[A])&&(P>0&&(V[v]+=P),z<0&&H>0?P<0?j[v]+=e.abs(P):p[v]+=P:p[v]+=e.abs(P-(P<0?H:z)),g.push(P));else P=B?a(n[v],C,k):n[v],null!==(P=n[v]=l(P))&&g.push(P);this.max=S=e.max.apply(e,g),this.min=_=e.min.apply(e,g),this.stackMax=H=T?e.max.apply(e,V):S,this.stackMin=z=T?e.min.apply(e,g):_,void 0!==r.get("chartRangeMin")&&(r.get("chartRangeClip")||r.get("chartRangeMin")<_)&&(_=r.get("chartRangeMin")),void 0!==r.get("chartRangeMax")&&(r.get("chartRangeClip")||r.get("chartRangeMax")>S)&&(S=r.get("chartRangeMax")),this.zeroAxis=L=r.get("zeroAxis",!0),w=_<=0&&S>=0&&L?0:0==L?_:_>0?_:S,this.xaxisOffset=w,b=T?e.max.apply(e,p)+e.max.apply(e,j):S-_,this.canvasHeightEf=L&&_<0?this.canvasHeight-2:this.canvasHeight-1,_<w?(O=((T&&S>=0?H:S)-w)/b*this.canvasHeight)!==e.ceil(O)&&(this.canvasHeightEf-=2,O=e.ceil(O)):O=this.canvasHeight,this.yoffset=O,i.isArray(r.get("colorMap"))?(this.colorMapByIndex=r.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=r.get("colorMap"),this.colorMapByValue&&void 0===this.colorMapByValue.get&&(this.colorMapByValue=new m(this.colorMapByValue))),this.range=b},getRegion:function(t,i,n){var r=e.floor(i/this.totalBarWidth);return r<0||r>=this.values.length?void 0:r},getCurrentRegionFields:function(){var t,e,i=this.currentRegion,n=p(this.values[i]),r=[];for(e=n.length;e--;)t=n[e],r.push({isNull:null===t,value:t,color:this.calcColor(e,t,i),offset:i});return r},calcColor:function(t,e,n){var r,o,a=this.colorMapByIndex,s=this.colorMapByValue,l=this.options;return r=this.stacked?l.get("stackedBarColor"):e<0?l.get("negBarColor"):l.get("barColor"),0===e&&void 0!==l.get("zeroColor")&&(r=l.get("zeroColor")),s&&(o=s.get(e))?r=o:a&&a.length>n&&(r=a[n]),i.isArray(r)?r[t%r.length]:r},renderRegion:function(t,n){var r,o,a,s,l,c,u,h,f,p,g=this.values[t],m=this.options,v=this.xaxisOffset,y=[],b=this.range,L=this.stacked,x=this.target,w=t*this.totalBarWidth,_=this.canvasHeightEf,S=this.yoffset;if(u=(g=i.isArray(g)?g:[g]).length,h=g[0],s=d(null,g),p=d(v,g,!0),s)return m.get("nullColor")?(a=n?m.get("nullColor"):this.calcHighlightColor(m.get("nullColor"),m),r=S>0?S-1:S,x.drawRect(w,r,this.barWidth-1,0,a,a)):void 0;for(l=S,c=0;c<u;c++){if(h=g[c],L&&h===v){if(!p||f)continue;f=!0}o=b>0?e.floor(_*(e.abs(h-v)/b))+1:1,h<v||h===v&&0===S?(r=l,l+=o):(r=S-o,S-=o),a=this.calcColor(c,h,t),n&&(a=this.calcHighlightColor(a,m)),y.push(x.drawRect(w,r,this.barWidth-1,o-1,a,a))}return 1===y.length?y[0]:y}}),i.fn.sparkline.tristate=w=r(i.fn.sparkline._base,b,{type:"tristate",init:function(t,e,n,r,o){var a=parseInt(n.get("barWidth"),10),s=parseInt(n.get("barSpacing"),10);w._super.init.call(this,t,e,n,r,o),this.regionShapes={},this.barWidth=a,this.barSpacing=s,this.totalBarWidth=a+s,this.values=i.map(e,Number),this.width=r=e.length*a+(e.length-1)*s,i.isArray(n.get("colorMap"))?(this.colorMapByIndex=n.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=n.get("colorMap"),this.colorMapByValue&&void 0===this.colorMapByValue.get&&(this.colorMapByValue=new m(this.colorMapByValue))),this.initTarget()},getRegion:function(t,i,n){return e.floor(i/this.totalBarWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:void 0===this.values[t],value:this.values[t],color:this.calcColor(this.values[t],t),offset:t}},calcColor:function(t,e){var i,n=this.values,r=this.options,o=this.colorMapByIndex,a=this.colorMapByValue;return a&&(i=a.get(t))?i:o&&o.length>e?o[e]:n[e]<0?r.get("negBarColor"):n[e]>0?r.get("posBarColor"):r.get("zeroBarColor")},renderRegion:function(t,i){var n,r,o,a,s,l,c=this.values,u=this.options,h=this.target;if(n=h.pixelHeight,o=e.round(n/2),a=t*this.totalBarWidth,c[t]<0?(s=o,r=o-1):c[t]>0?(s=0,r=o-1):(s=o-1,r=2),null!==(l=this.calcColor(c[t],t)))return i&&(l=this.calcHighlightColor(l,u)),h.drawRect(a,s,this.barWidth-1,r-1,l,l)}}),i.fn.sparkline.discrete=_=r(i.fn.sparkline._base,b,{type:"discrete",init:function(t,n,r,o,a){_._super.init.call(this,t,n,r,o,a),this.regionShapes={},this.values=n=i.map(n,Number),this.min=e.min.apply(e,n),this.max=e.max.apply(e,n),this.range=this.max-this.min,this.width=o="auto"===r.get("width")?2*n.length:this.width,this.interval=e.floor(o/n.length),this.itemWidth=o/n.length,void 0!==r.get("chartRangeMin")&&(r.get("chartRangeClip")||r.get("chartRangeMin")<this.min)&&(this.min=r.get("chartRangeMin")),void 0!==r.get("chartRangeMax")&&(r.get("chartRangeClip")||r.get("chartRangeMax")>this.max)&&(this.max=r.get("chartRangeMax")),this.initTarget(),this.target&&(this.lineHeight="auto"===r.get("lineHeight")?e.round(.3*this.canvasHeight):r.get("lineHeight"))},getRegion:function(t,i,n){return e.floor(i/this.itemWidth)},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:void 0===this.values[t],value:this.values[t],offset:t}},renderRegion:function(t,i){var n,r,o,s,l=this.values,c=this.options,u=this.min,h=this.max,d=this.range,f=this.interval,p=this.target,g=this.canvasHeight,m=this.lineHeight,v=g-m;return r=a(l[t],u,h),s=t*f,n=e.round(v-v*((r-u)/d)),o=c.get("thresholdColor")&&r<c.get("thresholdValue")?c.get("thresholdColor"):c.get("lineColor"),i&&(o=this.calcHighlightColor(o,c)),p.drawLine(s,n,s,n+m,o)}}),i.fn.sparkline.bullet=S=r(i.fn.sparkline._base,{type:"bullet",init:function(t,i,n,r,o){var a,s,l;S._super.init.call(this,t,i,n,r,o),this.values=i=c(i),(l=i.slice())[0]=null===l[0]?l[2]:l[0],l[1]=null===i[1]?l[2]:l[1],a=e.min.apply(e,i),s=e.max.apply(e,i),a=void 0===n.get("base")?a<0?a:0:n.get("base"),this.min=a,this.max=s,this.range=s-a,this.shapes={},this.valueShapes={},this.regiondata={},this.width=r="auto"===n.get("width")?"4.0em":r,this.target=this.$el.simpledraw(r,o,n.get("composite")),i.length||(this.disabled=!0),this.initTarget()},getRegion:function(t,e,i){var n=this.target.getShapeAt(t,e,i);return void 0!==n&&void 0!==this.shapes[n]?this.shapes[n]:void 0},getCurrentRegionFields:function(){var t=this.currentRegion;return{fieldkey:t.substr(0,1),value:this.values[t.substr(1)],region:t}},changeHighlight:function(t){var e,i=this.currentRegion,n=this.valueShapes[i];switch(delete this.shapes[n],i.substr(0,1)){case"r":e=this.renderRange(i.substr(1),t);break;case"p":e=this.renderPerformance(t);break;case"t":e=this.renderTarget(t)}this.valueShapes[i]=e.id,this.shapes[e.id]=i,this.target.replaceWithShape(n,e)},renderRange:function(t,i){var n=this.values[t],r=e.round(this.canvasWidth*((n-this.min)/this.range)),o=this.options.get("rangeColors")[t-2];return i&&(o=this.calcHighlightColor(o,this.options)),this.target.drawRect(0,0,r-1,this.canvasHeight-1,o,o)},renderPerformance:function(t){var i=this.values[1],n=e.round(this.canvasWidth*((i-this.min)/this.range)),r=this.options.get("performanceColor");return t&&(r=this.calcHighlightColor(r,this.options)),this.target.drawRect(0,e.round(.3*this.canvasHeight),n-1,e.round(.4*this.canvasHeight)-1,r,r)},renderTarget:function(t){var i=this.values[0],n=e.round(this.canvasWidth*((i-this.min)/this.range)-this.options.get("targetWidth")/2),r=e.round(.1*this.canvasHeight),o=this.canvasHeight-2*r,a=this.options.get("targetColor");return t&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(n,r,this.options.get("targetWidth")-1,o-1,a,a)},render:function(){var t,e,i=this.values.length,n=this.target;if(S._super.render.call(this)){for(t=2;t<i;t++)e=this.renderRange(t).append(),this.shapes[e.id]="r"+t,this.valueShapes["r"+t]=e.id;null!==this.values[1]&&(e=this.renderPerformance().append(),this.shapes[e.id]="p1",this.valueShapes.p1=e.id),null!==this.values[0]&&(e=this.renderTarget().append(),this.shapes[e.id]="t0",this.valueShapes.t0=e.id),n.render()}}}),i.fn.sparkline.pie=C=r(i.fn.sparkline._base,{type:"pie",init:function(t,n,r,o,a){var s,l=0;if(C._super.init.call(this,t,n,r,o,a),this.shapes={},this.valueShapes={},this.values=n=i.map(n,Number),"auto"===r.get("width")&&(this.width=this.height),n.length>0)for(s=n.length;s--;)l+=n[s];this.total=l,this.initTarget(),this.radius=e.floor(e.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(t,e,i){var n=this.target.getShapeAt(t,e,i);return void 0!==n&&void 0!==this.shapes[n]?this.shapes[n]:void 0},getCurrentRegionFields:function(){var t=this.currentRegion;return{isNull:void 0===this.values[t],value:this.values[t],percent:this.values[t]/this.total*100,color:this.options.get("sliceColors")[t%this.options.get("sliceColors").length],offset:t}},changeHighlight:function(t){var e=this.currentRegion,i=this.renderSlice(e,t),n=this.valueShapes[e];delete this.shapes[n],this.target.replaceWithShape(n,i),this.valueShapes[e]=i.id,this.shapes[i.id]=e},renderSlice:function(t,i){var n,r,o,a,s,l=this.target,c=this.options,u=this.radius,h=c.get("borderWidth"),d=c.get("offset"),f=2*e.PI,p=this.values,g=this.total,m=d?2*e.PI*(d/360):0;for(a=p.length,o=0;o<a;o++){if(n=m,r=m,g>0&&(r=m+f*(p[o]/g)),t===o)return s=c.get("sliceColors")[o%c.get("sliceColors").length],i&&(s=this.calcHighlightColor(s,c)),l.drawPieSlice(u,u,u-h,n,r,void 0,s);m=r}},render:function(){var t,i,n=this.target,r=this.values,o=this.options,a=this.radius,s=o.get("borderWidth"),l=o.get("donutWidth");if(C._super.render.call(this)){for(s&&n.drawCircle(a,a,e.floor(a-s/2),o.get("borderColor"),void 0,s).append(),i=r.length;i--;)r[i]&&(t=this.renderSlice(i).append(),this.valueShapes[i]=t.id,this.shapes[t.id]=i);l&&n.drawCircle(a,a,a-l,o.get("donutColor"),o.get("donutColor"),0).append(),n.render()}}}),i.fn.sparkline.box=k=r(i.fn.sparkline._base,{type:"box",init:function(t,e,n,r,o){k._super.init.call(this,t,e,n,r,o),this.values=i.map(e,Number),this.width="auto"===n.get("width")?"4.0em":r,this.initTarget(),this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){var t=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return void 0!==this.loutlier&&t.push({field:"lo",value:this.loutlier}),void 0!==this.routlier&&t.push({field:"ro",value:this.routlier}),void 0!==this.lwhisker&&t.push({field:"lw",value:this.lwhisker}),void 0!==this.rwhisker&&t.push({field:"rw",value:this.rwhisker}),t},render:function(){var t,i,n,r,o,a,l,c,u,h,d,f=this.target,p=this.values,g=p.length,m=this.options,v=this.canvasWidth,y=this.canvasHeight,b=void 0===m.get("chartRangeMin")?e.min.apply(e,p):m.get("chartRangeMin"),L=void 0===m.get("chartRangeMax")?e.max.apply(e,p):m.get("chartRangeMax"),x=0;if(k._super.render.call(this)){if(m.get("raw"))m.get("showOutliers")&&p.length>5?(i=p[0],t=p[1],r=p[2],o=p[3],a=p[4],l=p[5],c=p[6]):(t=p[0],r=p[1],o=p[2],a=p[3],l=p[4]);else if(p.sort(function(t,e){return t-e}),r=s(p,1),o=s(p,2),n=(a=s(p,3))-r,m.get("showOutliers")){for(t=l=void 0,u=0;u<g;u++)void 0===t&&p[u]>r-n*m.get("outlierIQR")&&(t=p[u]),p[u]<a+n*m.get("outlierIQR")&&(l=p[u]);i=p[0],c=p[g-1]}else t=p[0],l=p[g-1];this.quartiles=[r,o,a],this.lwhisker=t,this.rwhisker=l,this.loutlier=i,this.routlier=c,d=v/(L-b+1),m.get("showOutliers")&&(x=e.ceil(m.get("spotRadius")),d=(v-=2*e.ceil(m.get("spotRadius")))/(L-b+1),i<t&&f.drawCircle((i-b)*d+x,y/2,m.get("spotRadius"),m.get("outlierLineColor"),m.get("outlierFillColor")).append(),c>l&&f.drawCircle((c-b)*d+x,y/2,m.get("spotRadius"),m.get("outlierLineColor"),m.get("outlierFillColor")).append()),f.drawRect(e.round((r-b)*d+x),e.round(.1*y),e.round((a-r)*d),e.round(.8*y),m.get("boxLineColor"),m.get("boxFillColor")).append(),f.drawLine(e.round((t-b)*d+x),e.round(y/2),e.round((r-b)*d+x),e.round(y/2),m.get("lineColor")).append(),f.drawLine(e.round((t-b)*d+x),e.round(y/4),e.round((t-b)*d+x),e.round(y-y/4),m.get("whiskerColor")).append(),f.drawLine(e.round((l-b)*d+x),e.round(y/2),e.round((a-b)*d+x),e.round(y/2),m.get("lineColor")).append(),f.drawLine(e.round((l-b)*d+x),e.round(y/4),e.round((l-b)*d+x),e.round(y-y/4),m.get("whiskerColor")).append(),f.drawLine(e.round((o-b)*d+x),e.round(.1*y),e.round((o-b)*d+x),e.round(.9*y),m.get("medianColor")).append(),m.get("target")&&(h=e.ceil(m.get("spotRadius")),f.drawLine(e.round((m.get("target")-b)*d+x),e.round(y/2-h),e.round((m.get("target")-b)*d+x),e.round(y/2+h),m.get("targetColor")).append(),f.drawLine(e.round((m.get("target")-b)*d+x-h),e.round(y/2),e.round((m.get("target")-b)*d+x+h),e.round(y/2),m.get("targetColor")).append()),f.render()}}}),T=r({init:function(t,e,i,n){this.target=t,this.id=e,this.type=i,this.args=n},append:function(){return this.target.appendShape(this),this}}),E=r({_pxregex:/(\d+)(px)?\s*$/i,init:function(t,e,n){t&&(this.width=t,this.height=e,this.target=n,this.lastShapeId=null,n[0]&&(n=n[0]),i.data(n,"_jqs_vcanvas",this))},drawLine:function(t,e,i,n,r,o){return this.drawShape([[t,e],[i,n]],r,o)},drawShape:function(t,e,i,n){return this._genShape("Shape",[t,e,i,n])},drawCircle:function(t,e,i,n,r,o){return this._genShape("Circle",[t,e,i,n,r,o])},drawPieSlice:function(t,e,i,n,r,o,a){return this._genShape("PieSlice",[t,e,i,n,r,o,a])},drawRect:function(t,e,i,n,r,o){return this._genShape("Rect",[t,e,i,n,r,o])},getElement:function(){return this.canvas},getLastShapeId:function(){return this.lastShapeId},reset:function(){alert("reset not implemented")},_insert:function(t,e){i(e).html(t)},_calculatePixelDims:function(t,e,n){var r;r=this._pxregex.exec(e),this.pixelHeight=r?r[1]:i(n).height(),r=this._pxregex.exec(t),this.pixelWidth=r?r[1]:i(n).width()},_genShape:function(t,e){var i=O++;return e.unshift(i),new T(this,i,t,e)},appendShape:function(t){alert("appendShape not implemented")},replaceWithShape:function(t,e){alert("replaceWithShape not implemented")},insertAfterShape:function(t,e){alert("insertAfterShape not implemented")},removeShapeId:function(t){alert("removeShapeId not implemented")},getShapeAt:function(t,e,i){alert("getShapeAt not implemented")},render:function(){alert("render not implemented")}}),A=r(E,{init:function(e,n,r,o){A._super.init.call(this,e,n,r),this.canvas=t.createElement("canvas"),r[0]&&(r=r[0]),i.data(r,"_jqs_vcanvas",this),i(this.canvas).css({display:"inline-block",width:e,height:n,verticalAlign:"top"}),this._insert(this.canvas,r),this._calculatePixelDims(e,n,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,this.interact=o,this.shapes={},this.shapeseq=[],this.currentTargetShapeId=void 0,i(this.canvas).css({width:this.pixelWidth,height:this.pixelHeight})},_getContext:function(t,e,i){var n=this.canvas.getContext("2d");return void 0!==t&&(n.strokeStyle=t),n.lineWidth=void 0===i?1:i,void 0!==e&&(n.fillStyle=e),n},reset:function(){this._getContext().clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=void 0},_drawShape:function(t,e,i,n,r){var o,a,s=this._getContext(i,n,r);for(s.beginPath(),s.moveTo(e[0][0]+.5,e[0][1]+.5),o=1,a=e.length;o<a;o++)s.lineTo(e[o][0]+.5,e[o][1]+.5);void 0!==i&&s.stroke(),void 0!==n&&s.fill(),void 0!==this.targetX&&void 0!==this.targetY&&s.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawCircle:function(t,i,n,r,o,a,s){var l=this._getContext(o,a,s);l.beginPath(),l.arc(i,n,r,0,2*e.PI,!1),void 0!==this.targetX&&void 0!==this.targetY&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t),void 0!==o&&l.stroke(),void 0!==a&&l.fill()},_drawPieSlice:function(t,e,i,n,r,o,a,s){var l=this._getContext(a,s);l.beginPath(),l.moveTo(e,i),l.arc(e,i,n,r,o,!1),l.lineTo(e,i),l.closePath(),void 0!==a&&l.stroke(),s&&l.fill(),void 0!==this.targetX&&void 0!==this.targetY&&l.isPointInPath(this.targetX,this.targetY)&&(this.currentTargetShapeId=t)},_drawRect:function(t,e,i,n,r,o,a){return this._drawShape(t,[[e,i],[e+n,i],[e+n,i+r],[e,i+r],[e,i]],o,a)},appendShape:function(t){return this.shapes[t.id]=t,this.shapeseq.push(t.id),this.lastShapeId=t.id,t.id},replaceWithShape:function(t,e){var i,n=this.shapeseq;for(this.shapes[e.id]=e,i=n.length;i--;)n[i]==t&&(n[i]=e.id);delete this.shapes[t]},replaceWithShapes:function(t,e){var i,n,r,o=this.shapeseq,a={};for(n=t.length;n--;)a[t[n]]=!0;for(n=o.length;n--;)a[i=o[n]]&&(o.splice(n,1),delete this.shapes[i],r=n);for(n=e.length;n--;)o.splice(r,0,e[n].id),this.shapes[e[n].id]=e[n]},insertAfterShape:function(t,e){var i,n=this.shapeseq;for(i=n.length;i--;)if(n[i]===t)return n.splice(i+1,0,e.id),void(this.shapes[e.id]=e)},removeShapeId:function(t){var e,i=this.shapeseq;for(e=i.length;e--;)if(i[e]===t){i.splice(e,1);break}delete this.shapes[t]},getShapeAt:function(t,e,i){return this.targetX=e,this.targetY=i,this.render(),this.currentTargetShapeId},render:function(){var t,e,i=this.shapeseq,n=this.shapes,r=i.length;for(this._getContext().clearRect(0,0,this.pixelWidth,this.pixelHeight),e=0;e<r;e++)this["_draw"+(t=n[i[e]]).type].apply(this,t.args);this.interact||(this.shapes={},this.shapeseq=[])}}),M=r(E,{init:function(e,n,r){var o;M._super.init.call(this,e,n,r),r[0]&&(r=r[0]),i.data(r,"_jqs_vcanvas",this),this.canvas=t.createElement("span"),i(this.canvas).css({display:"inline-block",position:"relative",overflow:"hidden",width:e,height:n,margin:"0px",padding:"0px",verticalAlign:"top"}),this._insert(this.canvas,r),this._calculatePixelDims(e,n,this.canvas),this.canvas.width=this.pixelWidth,this.canvas.height=this.pixelHeight,o='<v:group coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" style="position:absolute;top:0;left:0;width:'+this.pixelWidth+"px;height="+this.pixelHeight+'px;"></v:group>',this.canvas.insertAdjacentHTML("beforeEnd",o),this.group=i(this.canvas).children()[0],this.rendered=!1,this.prerender=""},_drawShape:function(t,e,i,n,r){var o,a,s,l,c,u,h=[];for(u=0,c=e.length;u<c;u++)h[u]=e[u][0]+","+e[u][1];return o=h.splice(0,1),r=void 0===r?1:r,a=void 0===i?' stroked="false" ':' strokeWeight="'+r+'px" strokeColor="'+i+'" ',s=void 0===n?' filled="false"':' fillColor="'+n+'" filled="true" ',l=h[0]===h[h.length-1]?"x ":"",'<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+t+'" '+a+s+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+o+" l "+h.join(", ")+" "+l+'e"> </v:shape>'},_drawCircle:function(t,e,i,n,r,o,a){return'<v:oval id="jqsshape'+t+'" '+(void 0===r?' stroked="false" ':' strokeWeight="'+a+'px" strokeColor="'+r+'" ')+(void 0===o?' filled="false"':' fillColor="'+o+'" filled="true" ')+' style="position:absolute;top:'+(i-=n)+"px; left:"+(e-=n)+"px; width:"+2*n+"px; height:"+2*n+'px"></v:oval>'},_drawPieSlice:function(t,i,n,r,o,a,s,l){var c,u,h,d,f,p,g;if(o===a)return"";if(a-o==2*e.PI&&(o=0,a=2*e.PI),u=i+e.round(e.cos(o)*r),h=n+e.round(e.sin(o)*r),d=i+e.round(e.cos(a)*r),f=n+e.round(e.sin(a)*r),u===d&&h===f){if(a-o<e.PI)return"";u=d=i+r,h=f=n}return u===d&&h===f&&a-o<e.PI?"":(c=[i-r,n-r,i+r,n+r,u,h,d,f],p=void 0===s?' stroked="false" ':' strokeWeight="1px" strokeColor="'+s+'" ',g=void 0===l?' filled="false"':' fillColor="'+l+'" filled="true" ','<v:shape coordorigin="0 0" coordsize="'+this.pixelWidth+" "+this.pixelHeight+'" id="jqsshape'+t+'" '+p+g+' style="position:absolute;left:0px;top:0px;height:'+this.pixelHeight+"px;width:"+this.pixelWidth+'px;padding:0px;margin:0px;" path="m '+i+","+n+" wa "+c.join(", ")+' x e"> </v:shape>')},_drawRect:function(t,e,i,n,r,o,a){return this._drawShape(t,[[e,i],[e,i+r],[e+n,i+r],[e+n,i],[e,i]],o,a)},reset:function(){this.group.innerHTML=""},appendShape:function(t){var e=this["_draw"+t.type].apply(this,t.args);return this.rendered?this.group.insertAdjacentHTML("beforeEnd",e):this.prerender+=e,this.lastShapeId=t.id,t.id},replaceWithShape:function(t,e){var n=i("#jqsshape"+t),r=this["_draw"+e.type].apply(this,e.args);n[0].outerHTML=r},replaceWithShapes:function(t,e){var n,r=i("#jqsshape"+t[0]),o="",a=e.length;for(n=0;n<a;n++)o+=this["_draw"+e[n].type].apply(this,e[n].args);for(r[0].outerHTML=o,n=1;n<t.length;n++)i("#jqsshape"+t[n]).remove()},insertAfterShape:function(t,e){var n=i("#jqsshape"+t),r=this["_draw"+e.type].apply(this,e.args);n[0].insertAdjacentHTML("afterEnd",r)},removeShapeId:function(t){var e=i("#jqsshape"+t);this.group.removeChild(e[0])},getShapeAt:function(t,e,i){return t.id.substr(8)},render:function(){this.rendered||(this.group.innerHTML=this.prerender,this.rendered=!0)}})},"function"==typeof define&&define.amd?define(["jquery"],n):jQuery&&!jQuery.fn.sparkline&&n(jQuery)}(document,Math),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){"use strict";var e={},i=Math.max,n=Math.min;e.c={},e.c.d=t(document),e.c.t=function(t){return t.originalEvent.touches.length-1},e.o=function(){var i=this;this.o=null,this.$=null,this.i=null,this.g=null,this.v=null,this.cv=null,this.x=0,this.y=0,this.w=0,this.h=0,this.$c=null,this.c=null,this.t=0,this.isInit=!1,this.fgColor=null,this.pColor=null,this.dH=null,this.cH=null,this.eH=null,this.rH=null,this.scale=1,this.relative=!1,this.relativeWidth=!1,this.relativeHeight=!1,this.$div=null,this.run=function(){var e=function(t,e){var n;for(n in e)i.o[n]=e[n];i._carve().init(),i._configure()._draw()};if(!this.$.data("kontroled")){if(this.$.data("kontroled",!0),this.extend(),this.o=t.extend({min:void 0!==this.$.data("min")?this.$.data("min"):0,max:void 0!==this.$.data("max")?this.$.data("max"):100,stopper:!0,readOnly:this.$.data("readonly")||"readonly"===this.$.attr("readonly"),cursor:(!0===this.$.data("cursor")?30:this.$.data("cursor"))||0,thickness:this.$.data("thickness")&&Math.max(Math.min(this.$.data("thickness"),1),.01)||.35,lineCap:this.$.data("linecap")||"butt",width:this.$.data("width")||200,height:this.$.data("height")||200,displayInput:null==this.$.data("displayinput")||this.$.data("displayinput"),displayPrevious:this.$.data("displayprevious"),fgColor:this.$.data("fgcolor")||"#87CEEB",inputColor:this.$.data("inputcolor"),font:this.$.data("font")||"Arial",fontWeight:this.$.data("font-weight")||"bold",inline:!1,step:this.$.data("step")||1,rotation:this.$.data("rotation"),draw:null,change:null,cancel:null,release:null,format:function(t){return t},parse:function(t){return parseFloat(t)}},this.o),this.o.flip="anticlockwise"===this.o.rotation||"acw"===this.o.rotation,this.o.inputColor||(this.o.inputColor=this.o.fgColor),this.$.is("fieldset")?(this.v={},this.i=this.$.find("input"),this.i.each(function(e){var n=t(this);i.i[e]=n,i.v[e]=i.o.parse(n.val()),n.bind("change blur",function(){var t={};t[e]=n.val(),i.val(i._validate(t))})}),this.$.find("legend").remove()):(this.i=this.$,this.v=this.o.parse(this.$.val()),""===this.v&&(this.v=this.o.min),this.$.bind("change blur",function(){i.val(i._validate(i.o.parse(i.$.val())))})),!this.o.displayInput&&this.$.hide(),this.$c=t(document.createElement("canvas")).attr({width:this.o.width,height:this.o.height}),this.$div=t('<div style="'+(this.o.inline?"display:inline;":"")+"width:"+this.o.width+"px;height:"+this.o.height+'px;"></div>'),this.$.wrap(this.$div).before(this.$c),this.$div=this.$.parent(),"undefined"!=typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(this.$c[0]),this.c=this.$c[0].getContext?this.$c[0].getContext("2d"):null,!this.c)throw{name:"CanvasNotSupportedException",message:"Canvas not supported. Please use excanvas on IE8.0.",toString:function(){return this.name+": "+this.message}};return this.scale=(window.devicePixelRatio||1)/(this.c.webkitBackingStorePixelRatio||this.c.mozBackingStorePixelRatio||this.c.msBackingStorePixelRatio||this.c.oBackingStorePixelRatio||this.c.backingStorePixelRatio||1),this.relativeWidth=this.o.width%1!=0&&this.o.width.indexOf("%"),this.relativeHeight=this.o.height%1!=0&&this.o.height.indexOf("%"),this.relative=this.relativeWidth||this.relativeHeight,this._carve(),this.v instanceof Object?(this.cv={},this.copy(this.v,this.cv)):this.cv=this.v,this.$.bind("configure",e).parent().bind("configure",e),this._listen()._configure()._xy().init(),this.isInit=!0,this.$.val(this.o.format(this.v)),this._draw(),this}},this._carve=function(){if(this.relative){var t=this.relativeWidth?this.$div.parent().width()*parseInt(this.o.width)/100:this.$div.parent().width(),e=this.relativeHeight?this.$div.parent().height()*parseInt(this.o.height)/100:this.$div.parent().height();this.w=this.h=Math.min(t,e)}else this.w=this.o.width,this.h=this.o.height;return this.$div.css({width:this.w+"px",height:this.h+"px"}),this.$c.attr({width:this.w,height:this.h}),1!==this.scale&&(this.$c[0].width=this.$c[0].width*this.scale,this.$c[0].height=this.$c[0].height*this.scale,this.$c.width(this.w),this.$c.height(this.h)),this},this._draw=function(){var t=!0;i.g=i.c,i.clear(),i.dH&&(t=i.dH()),!1!==t&&i.draw()},this._touch=function(t){var n=function(t){var e=i.xy2val(t.originalEvent.touches[i.t].pageX,t.originalEvent.touches[i.t].pageY);e!=i.cv&&(i.cH&&!1===i.cH(e)||(i.change(i._validate(e)),i._draw()))};return this.t=e.c.t(t),n(t),e.c.d.bind("touchmove.k",n).bind("touchend.k",function(){e.c.d.unbind("touchmove.k touchend.k"),i.val(i.cv)}),this},this._mouse=function(t){var n=function(t){var e=i.xy2val(t.pageX,t.pageY);e!=i.cv&&(i.cH&&!1===i.cH(e)||(i.change(i._validate(e)),i._draw()))};return n(t),e.c.d.bind("mousemove.k",n).bind("keyup.k",function(t){if(27===t.keyCode){if(e.c.d.unbind("mouseup.k mousemove.k keyup.k"),i.eH&&!1===i.eH())return;i.cancel()}}).bind("mouseup.k",function(t){e.c.d.unbind("mousemove.k mouseup.k keyup.k"),i.val(i.cv)}),this},this._xy=function(){var t=this.$c.offset();return this.x=t.left,this.y=t.top,this},this._listen=function(){return this.o.readOnly?this.$.attr("readonly","readonly"):(this.$c.bind("mousedown",function(t){t.preventDefault(),i._xy()._mouse(t)}).bind("touchstart",function(t){t.preventDefault(),i._xy()._touch(t)}),this.listen()),this.relative&&t(window).resize(function(){i._carve().init(),i._draw()}),this},this._configure=function(){return this.o.draw&&(this.dH=this.o.draw),this.o.change&&(this.cH=this.o.change),this.o.cancel&&(this.eH=this.o.cancel),this.o.release&&(this.rH=this.o.release),this.o.displayPrevious?(this.pColor=this.h2rgba(this.o.fgColor,"0.4"),this.fgColor=this.h2rgba(this.o.fgColor,"0.6")):this.fgColor=this.o.fgColor,this},this._clear=function(){this.$c[0].width=this.$c[0].width},this._validate=function(t){var e=~~((t<0?-.5:.5)+t/this.o.step)*this.o.step;return Math.round(100*e)/100},this.listen=function(){},this.extend=function(){},this.init=function(){},this.change=function(t){},this.val=function(t){},this.xy2val=function(t,e){},this.draw=function(){},this.clear=function(){this._clear()},this.h2rgba=function(t,e){var i;return t=t.substring(1,7),"rgba("+(i=[parseInt(t.substring(0,2),16),parseInt(t.substring(2,4),16),parseInt(t.substring(4,6),16)])[0]+","+i[1]+","+i[2]+","+e+")"},this.copy=function(t,e){for(var i in t)e[i]=t[i]}},e.Dial=function(){e.o.call(this),this.startAngle=null,this.xy=null,this.radius=null,this.lineWidth=null,this.cursorExt=null,this.w2=null,this.PI2=2*Math.PI,this.extend=function(){this.o=t.extend({bgColor:this.$.data("bgcolor")||"#EEEEEE",angleOffset:this.$.data("angleoffset")||0,angleArc:this.$.data("anglearc")||360,inline:!0},this.o)},this.val=function(t,e){if(null==t)return this.v;t=this.o.parse(t),!1!==e&&t!=this.v&&this.rH&&!1===this.rH(t)||(this.cv=this.o.stopper?i(n(t,this.o.max),this.o.min):t,this.v=this.cv,this.$.val(this.o.format(this.v)),this._draw())},this.xy2val=function(t,e){var r,o;return r=Math.atan2(t-(this.x+this.w2),-(e-this.y-this.w2))-this.angleOffset,this.o.flip&&(r=this.angleArc-r-this.PI2),this.angleArc!=this.PI2&&r<0&&r>-.5?r=0:r<0&&(r+=this.PI2),o=r*(this.o.max-this.o.min)/this.angleArc+this.o.min,this.o.stopper&&(o=i(n(o,this.o.max),this.o.min)),o},this.listen=function(){var e,r,o,a,s=this,l=function(t){t.preventDefault();var o=t.originalEvent,a=o.detail||o.wheelDeltaX,l=o.detail||o.wheelDeltaY,c=s._validate(s.o.parse(s.$.val()))+(a>0||l>0?s.o.step:a<0||l<0?-s.o.step:0);c=i(n(c,s.o.max),s.o.min),s.val(c,!1),s.rH&&(clearTimeout(e),e=setTimeout(function(){s.rH(c),e=null},100),r||(r=setTimeout(function(){e&&s.rH(c),r=null},200)))},c=1,u={37:-s.o.step,38:s.o.step,39:s.o.step,40:-s.o.step};this.$.bind("keydown",function(e){var r=e.keyCode;if(r>=96&&r<=105&&(r=e.keyCode=r-48),o=parseInt(String.fromCharCode(r)),isNaN(o)&&(13!==r&&8!==r&&9!==r&&189!==r&&(190!==r||s.$.val().match(/\./))&&e.preventDefault(),t.inArray(r,[37,38,39,40])>-1)){e.preventDefault();var l=s.o.parse(s.$.val())+u[r]*c;s.o.stopper&&(l=i(n(l,s.o.max),s.o.min)),s.change(s._validate(l)),s._draw(),a=window.setTimeout(function(){c*=2},30)}}).bind("keyup",function(t){isNaN(o)?a&&(window.clearTimeout(a),a=null,c=1,s.val(s.$.val())):s.$.val()>s.o.max&&s.$.val(s.o.max)||s.$.val()<s.o.min&&s.$.val(s.o.min)}),this.$c.bind("mousewheel DOMMouseScroll",l),this.$.bind("mousewheel DOMMouseScroll",l)},this.init=function(){(this.v<this.o.min||this.v>this.o.max)&&(this.v=this.o.min),this.$.val(this.v),this.w2=this.w/2,this.cursorExt=this.o.cursor/100,this.xy=this.w2*this.scale,this.lineWidth=this.xy*this.o.thickness,this.lineCap=this.o.lineCap,this.radius=this.xy-this.lineWidth/2,this.o.angleOffset&&(this.o.angleOffset=isNaN(this.o.angleOffset)?0:this.o.angleOffset),this.o.angleArc&&(this.o.angleArc=isNaN(this.o.angleArc)?this.PI2:this.o.angleArc),this.angleOffset=this.o.angleOffset*Math.PI/180,this.angleArc=this.o.angleArc*Math.PI/180,this.startAngle=1.5*Math.PI+this.angleOffset,this.endAngle=1.5*Math.PI+this.angleOffset+this.angleArc;var t=i(String(Math.abs(this.o.max)).length,String(Math.abs(this.o.min)).length,2)+2;this.o.displayInput&&this.i.css({width:(this.w/2+4>>0)+"px",height:(this.w/3>>0)+"px",position:"absolute","vertical-align":"middle","margin-top":(this.w/3>>0)+"px","margin-left":"-"+(3*this.w/4+2>>0)+"px",border:0,background:"none",font:this.o.fontWeight+" "+(this.w/t>>0)+"px "+this.o.font,"text-align":"center",color:this.o.inputColor||this.o.fgColor,padding:"0px","-webkit-appearance":"none"})||this.i.css({width:"0px",visibility:"hidden"})},this.change=function(t){this.cv=t,this.$.val(this.o.format(t))},this.angle=function(t){return(t-this.o.min)*this.angleArc/(this.o.max-this.o.min)},this.arc=function(t){var e,i;return t=this.angle(t),i=this.o.flip?(e=this.endAngle+1e-5)-t-1e-5:(e=this.startAngle-1e-5)+t+1e-5,this.o.cursor&&(e=i-this.cursorExt)&&(i+=this.cursorExt),{s:e,e:i,d:this.o.flip&&!this.o.cursor}},this.draw=function(){var t,e=this.g,i=this.arc(this.cv),n=1;e.lineWidth=this.lineWidth,e.lineCap=this.lineCap,"none"!==this.o.bgColor&&(e.beginPath(),e.strokeStyle=this.o.bgColor,e.arc(this.xy,this.xy,this.radius,this.endAngle-1e-5,this.startAngle+1e-5,!0),e.stroke()),this.o.displayPrevious&&(t=this.arc(this.v),e.beginPath(),e.strokeStyle=this.pColor,e.arc(this.xy,this.xy,this.radius,t.s,t.e,t.d),e.stroke(),n=this.cv==this.v),e.beginPath(),e.strokeStyle=n?this.o.fgColor:this.fgColor,e.arc(this.xy,this.xy,this.radius,i.s,i.e,i.d),e.stroke()},this.cancel=function(){this.val(this.v)}},t.fn.dial=t.fn.knob=function(i){return this.each(function(){var n=new e.Dial;n.o=i,n.$=t(this),n.run()}).parent()}}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).ApexCharts=e()}(this,function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),n.forEach(function(e){r(t,e,i[e])})}return t}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&function(t,e){(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}(t,e)}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function l(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return function(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e<t.length;e++)i[e]=t[e];return i}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var u=function(){function i(){e(this,i)}return n(i,[{key:"shadeRGBColor",value:function(t,e){var i=e.split(","),n=t<0?0:255,r=t<0?-1*t:t,o=parseInt(i[0].slice(4)),a=parseInt(i[1]),s=parseInt(i[2]);return"rgb("+(Math.round((n-o)*r)+o)+","+(Math.round((n-a)*r)+a)+","+(Math.round((n-s)*r)+s)+")"}},{key:"shadeHexColor",value:function(t,e){var i=parseInt(e.slice(1),16),n=t<0?0:255,r=t<0?-1*t:t,o=i>>16,a=i>>8&255,s=255&i;return"#"+(16777216+65536*(Math.round((n-o)*r)+o)+256*(Math.round((n-a)*r)+a)+(Math.round((n-s)*r)+s)).toString(16).slice(1)}},{key:"shadeColor",value:function(t,e){return e.length>7?this.shadeRGBColor(t,e):this.shadeHexColor(t,e)}}],[{key:"bind",value:function(t,e){return function(){return t.apply(e,arguments)}}},{key:"isObject",value:function(e){return e&&"object"===t(e)&&!Array.isArray(e)&&null!=e}},{key:"listToArray",value:function(t){var e,i=[];for(e=0;e<t.length;e++)i[e]=t[e];return i}},{key:"extend",value:function(t,e){var i=this;"function"!=typeof Object.assign&&(Object.assign=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(null!=n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e});var n=Object.assign({},t);return this.isObject(t)&&this.isObject(e)&&Object.keys(e).forEach(function(o){i.isObject(e[o])&&o in t?n[o]=i.extend(t[o],e[o]):Object.assign(n,r({},o,e[o]))}),n}},{key:"extendArray",value:function(t,e){var n=[];return t.map(function(t){n.push(i.extend(e,t))}),n}},{key:"monthMod",value:function(t){return t%12}},{key:"addProps",value:function(t,e,i){"string"==typeof e&&(e=e.split(".")),t[e[0]]=t[e[0]]||{};var n=t[e[0]];return e.length>1?(e.shift(),this.addProps(n,e,i)):t[e[0]]=i,t}},{key:"clone",value:function(e){if("[object Array]"===Object.prototype.toString.call(e)){for(var i=[],n=0;n<e.length;n++)i[n]=this.clone(e[n]);return i}if("object"===t(e)){var r={};for(var o in e)e.hasOwnProperty(o)&&(r[o]=this.clone(e[o]));return r}return e}},{key:"log10",value:function(t){return Math.log(t)/Math.LN10}},{key:"roundToBase10",value:function(t){return Math.pow(10,Math.floor(Math.log10(t)))}},{key:"roundToBase",value:function(t,e){return Math.pow(e,Math.floor(Math.log(t)/Math.log(e)))}},{key:"parseNumber",value:function(t){return null===t?t:parseFloat(t)}},{key:"noExponents",value:function(t){var e=String(t).split(/[eE]/);if(1==e.length)return e[0];var i="",n=t<0?"-":"",r=e[0].replace(".",""),o=Number(e[1])+1;if(o<0){for(i=n+"0.";o++;)i+="0";return i+r.replace(/^\-/,"")}for(o-=r.length;o--;)i+="0";return r+i}},{key:"getDimensions",value:function(t){var e=getComputedStyle(t),i=[],n=t.clientHeight,r=t.clientWidth;return n-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),r-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),i.push(r),i.push(n),i}},{key:"getBoundingClientRect",value:function(t){var e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height,x:e.x,y:e.y}}},{key:"hexToRgba",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#999999",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.6;"#"!==t.substring(0,1)&&(t="#999999");var i=t.replace("#","");i=i.match(new RegExp("(.{"+i.length/3+"})","g"));for(var n=0;n<i.length;n++)i[n]=parseInt(1===i[n].length?i[n]+i[n]:i[n],16);return void 0!==e&&i.push(e),"rgba("+i.join(",")+")"}},{key:"getOpacityFromRGBA",value:function(t){return(t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))[3]}},{key:"rgb2hex",value:function(t){return(t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):""}},{key:"isColorHex",value:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)}},{key:"polarToCartesian",value:function(t,e,i,n){var r=(n-90)*Math.PI/180;return{x:t+i*Math.cos(r),y:e+i*Math.sin(r)}}},{key:"escapeString",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",i=t.toString().slice();return i.replace(/[` ~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,e)}},{key:"negToZero",value:function(t){return t<0?0:t}},{key:"moveIndexInArray",value:function(t,e,i){if(i>=t.length)for(var n=i-t.length+1;n--;)t.push(void 0);return t.splice(i,0,t.splice(e,1)[0]),t}},{key:"extractNumber",value:function(t){return parseFloat(t.replace(/[^\d\.]*/g,""))}},{key:"randomString",value:function(t){for(var e="",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",n=0;n<t;n++)e+=i.charAt(Math.floor(Math.random()*i.length));return e}},{key:"findAncestor",value:function(t,e){for(;(t=t.parentElement)&&!t.classList.contains(e););return t}},{key:"setELstyles",value:function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t.style.key=e[i])}},{key:"isNumber",value:function(t){return!isNaN(t)&&parseFloat(Number(t))===t&&!isNaN(parseInt(t,10))}},{key:"isFloat",value:function(t){return Number(t)===t&&t%1!=0}},{key:"isSafari",value:function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},{key:"isFirefox",value:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1}},{key:"isIE11",value:function(){if(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>-1)return!0}},{key:"isIE",value:function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}var n=t.indexOf("Edge/");return n>0&&parseInt(t.substring(n+5,t.indexOf(".",n)),10)}}]),i}(),h=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"getDefaultFilter",value:function(t,e){var i=this.w;t.unfilter(!0),(new window.SVG.Filter).size("120%","180%","-5%","-40%"),"none"!==i.config.states.normal.filter?this.applyFilter(t,e,i.config.states.normal.filter.type,i.config.states.normal.filter.value):i.config.chart.dropShadow.enabled&&this.dropShadow(t,i.config.chart.dropShadow,e)}},{key:"addNormalFilter",value:function(t,e){var i=this.w;i.config.chart.dropShadow.enabled&&this.dropShadow(t,i.config.chart.dropShadow,e)}},{key:"addLightenFilter",value:function(t,e,i){var n=this,r=this.w,o=i.intensity;if(!u.isFirefox()){t.unfilter(!0);var a=new window.SVG.Filter;a.size("120%","180%","-5%","-40%"),t.filter(function(t){var i=r.config.chart.dropShadow;(a=i.enabled?n.addShadow(t,e,i):t).componentTransfer({rgb:{type:"linear",slope:1.5,intercept:o}})}),t.filterer.node.setAttribute("filterUnits","userSpaceOnUse")}}},{key:"addDarkenFilter",value:function(t,e,i){var n=this,r=this.w,o=i.intensity;if(!u.isFirefox()){t.unfilter(!0);var a=new window.SVG.Filter;a.size("120%","180%","-5%","-40%"),t.filter(function(t){var i=r.config.chart.dropShadow;(a=i.enabled?n.addShadow(t,e,i):t).componentTransfer({rgb:{type:"linear",slope:o}})}),t.filterer.node.setAttribute("filterUnits","userSpaceOnUse")}}},{key:"applyFilter",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;switch(i){case"none":this.addNormalFilter(t,e);break;case"lighten":this.addLightenFilter(t,e,{intensity:n});break;case"darken":this.addDarkenFilter(t,e,{intensity:n})}}},{key:"addShadow",value:function(t,e,i){var n=i.blur,r=i.top,o=i.left,a=i.color,s=i.opacity,l=t.flood(Array.isArray(a)?a[e]:a,s).composite(t.sourceAlpha,"in").offset(o,r).gaussianBlur(n).merge(t.source);return t.blend(t.source,l)}},{key:"dropShadow",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=e.top,r=e.left,o=e.blur,a=e.color,s=e.opacity,l=e.noUserSpaceOnUse;return t.unfilter(!0),a=Array.isArray(a)?a[i]:a,(new window.SVG.Filter).size("120%","180%","-5%","-40%"),t.filter(function(t){var e;e=u.isSafari()||u.isFirefox()||u.isIE()?t.flood(a,s).composite(t.sourceAlpha,"in").offset(r,n).gaussianBlur(o):t.flood(a,s).composite(t.sourceAlpha,"in").offset(r,n).gaussianBlur(o).merge(t.source),t.blend(t.source,e)}),l||t.filterer.node.setAttribute("filterUnits","userSpaceOnUse"),t}},{key:"setSelectionFilter",value:function(t,e,i){var n=this.w;if(void 0!==n.globals.selectedDataPoints[e]&&n.globals.selectedDataPoints[e].indexOf(i)>-1){t.node.setAttribute("selected",!0);var r=n.config.states.active.filter;"none"!==r&&this.applyFilter(t,e,r.type,r.value)}}}]),t}(),d=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.setEasingFunctions()}return n(t,[{key:"setEasingFunctions",value:function(){var t;switch(this.w.config.chart.animations.easing){case"linear":t="-";break;case"easein":t="<";break;case"easeout":t=">";break;case"easeinout":t="<>";break;case"swing":t=function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1};break;case"bounce":t=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};break;case"elastic":t=function(t){return t===!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1};break;default:t="<>"}this.w.globals.easing=t}},{key:"animateLine",value:function(t,e,i,n){t.attr(e).animate(n).attr(i)}},{key:"animateCircleRadius",value:function(t,e,i,n,r){e||(e=0),t.attr({r:e}).animate(n,r).attr({r:i})}},{key:"animateCircle",value:function(t,e,i,n,r){t.attr({r:e.r,cx:e.cx,cy:e.cy}).animate(n,r).attr({r:i.r,cx:i.cx,cy:i.cy})}},{key:"animateRect",value:function(t,e,i,n,r){t.attr(e).animate(n).attr(i).afterAll(function(){r()})}},{key:"animatePathsGradually",value:function(t){var e=t.el,i=t.j,n=t.pathFrom,r=t.pathTo,o=t.speed,a=t.delay,s=t.strokeWidth,l=this.w,c=0;l.config.chart.animations.animateGradually.enabled&&(c=l.config.chart.animations.animateGradually.delay),l.config.chart.animations.dynamicAnimation.enabled&&l.globals.dataChanged&&(c=0),this.morphSVG(e,i,n,r,o,s,a*c)}},{key:"showDelayedElements",value:function(){this.w.globals.delayedElements.forEach(function(t){t.el.classList.remove("hidden")})}},{key:"morphSVG",value:function(t,e,i,n,r,o,a){var s=this,l=this.w;i||(i=t.attr("pathFrom")),n||(n=t.attr("pathTo")),(!i||i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i="M 0 ".concat(l.globals.gridHeight),r=1),(n.indexOf("undefined")>-1||n.indexOf("NaN")>-1)&&(n="M 0 ".concat(l.globals.gridHeight),r=1),l.globals.shouldAnimate||(r=1),t.plot(i).animate(1,l.globals.easing,a).plot(i).animate(r,l.globals.easing,a).plot(n).afterAll(function(){u.isNumber(e)?e===l.globals.series[l.globals.maxValsInArrayIndex].length-2&&l.globals.shouldAnimate&&(l.globals.animationEnded=!0):l.globals.shouldAnimate&&(l.globals.animationEnded=!0,"function"==typeof l.config.chart.events.animationEnd&&l.config.chart.events.animationEnd(s.ctx,l)),s.showDelayedElements()})}}]),t}(),f=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"drawLine",value:function(t,e,i,n){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#a8a8a8",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;return this.w.globals.dom.Paper.line().attr({x1:t,y1:e,x2:i,y2:n,stroke:r,"stroke-dasharray":o,"stroke-width":a})}},{key:"drawRect",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#fefefe",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:1,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,u=this.w.globals.dom.Paper.rect();return u.attr({x:t,y:e,width:i>0?i:0,height:n>0?n:0,rx:r,ry:r,fill:o,opacity:a,"stroke-width":null!==s?s:0,stroke:null!==l?l:"none","stroke-dasharray":c}),u}},{key:"drawPolygon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e1e1e1",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"none";return this.w.globals.dom.Paper.polygon(t).attr({fill:i,stroke:e})}},{key:"drawCircle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.w.globals.dom.Paper.circle(2*t);return null!==e&&i.attr(e),i}},{key:"drawPath",value:function(t){var e=t.d,i=void 0===e?"":e,n=t.stroke,r=void 0===n?"#a8a8a8":n,o=t.strokeWidth,a=void 0===o?1:o,s=t.fill,l=t.fillOpacity,c=void 0===l?1:l,u=t.strokeOpacity,h=void 0===u?1:u,d=t.classes,f=t.strokeLinecap,p=void 0===f?null:f,g=t.strokeDashArray,m=void 0===g?0:g,v=this.w;return null===p&&(p=v.config.stroke.lineCap),(i.indexOf("undefined")>-1||i.indexOf("NaN")>-1)&&(i="M 0 ".concat(v.globals.gridHeight)),v.globals.dom.Paper.path(i).attr({fill:s,"fill-opacity":c,stroke:r,"stroke-opacity":h,"stroke-linecap":p,"stroke-width":a,"stroke-dasharray":m,class:d})}},{key:"group",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.w.globals.dom.Paper.group();return null!==t&&e.attr(t),e}},{key:"move",value:function(t,e){return["M",t,e].join(" ")}},{key:"line",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=null;return null===i?n=["L",t,e].join(" "):"H"===i?n=["H",t].join(" "):"V"===i&&(n=["V",e].join(" ")),n}},{key:"curve",value:function(t,e,i,n,r,o){return["C",t,e,i,n,r,o].join(" ")}},{key:"quadraticCurve",value:function(t,e,i,n){return["Q",t,e,i,n].join(" ")}},{key:"arc",value:function(t,e,i,n,r,o,a){var s="A";return arguments.length>7&&void 0!==arguments[7]&&arguments[7]&&(s="a"),[s,t,e,i,n,r,o,a].join(" ")}},{key:"renderPaths",value:function(t){var e,i=t.i,n=t.j,r=t.realIndex,a=t.pathFrom,s=t.pathTo,l=t.stroke,c=t.strokeWidth,u=t.strokeLinecap,f=t.fill,p=t.animationDelay,g=t.initialSpeed,m=t.dataChangeSpeed,v=t.className,y=t.id,b=t.shouldClipToGrid,L=void 0===b||b,x=t.bindEventsOnPaths,w=void 0===x||x,_=t.drawShadow,S=void 0===_||_,C=this.w,k=new h(this.ctx),T=new d(this.ctx),E=this.w.config.chart.animations.enabled,A=E&&this.w.config.chart.animations.dynamicAnimation.enabled,M=!!(E&&!C.globals.resized||A&&C.globals.dataChanged&&C.globals.shouldAnimate);M?e=a:(e=s,this.w.globals.animationEnded=!0);var D,P=C.config.stroke.dashArray;D=Array.isArray(P)?P[r]:C.config.stroke.dashArray;var O=this.drawPath({d:e,stroke:l,strokeWidth:c,fill:f,fillOpacity:1,classes:v,strokeLinecap:u,strokeDashArray:D});if(O.attr("id","".concat(y,"-").concat(i)),O.attr("index",r),L&&O.attr({"clip-path":"url(#gridRectMask".concat(C.globals.cuid,")")}),"none"!==C.config.states.normal.filter.type)k.getDefaultFilter(O,r);else if(C.config.chart.dropShadow.enabled&&S&&(!C.config.chart.dropShadow.enabledSeries||C.config.chart.dropShadow.enabledSeries&&-1!==C.config.chart.dropShadow.enabledSeries.indexOf(r))){var I=C.config.chart.dropShadow;k.dropShadow(O,I,r)}w&&(O.node.addEventListener("mouseenter",this.pathMouseEnter.bind(this,O)),O.node.addEventListener("mouseleave",this.pathMouseLeave.bind(this,O)),O.node.addEventListener("mousedown",this.pathMouseDown.bind(this,O))),O.attr({pathTo:s,pathFrom:a});var N={el:O,j:n,pathFrom:a,pathTo:s,strokeWidth:c};return!E||C.globals.resized||C.globals.dataChanged?!C.globals.resized&&C.globals.dataChanged||T.showDelayedElements():T.animatePathsGradually(o({},N,{speed:g,delay:p})),C.globals.dataChanged&&A&&M&&T.animatePathsGradually(o({},N,{speed:m})),O}},{key:"drawPattern",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#a8a8a8",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return this.w.globals.dom.Paper.pattern(e,i,function(o){"horizontalLines"===t?o.line(0,0,i,0).stroke({color:n,width:r+1}):"verticalLines"===t?o.line(0,0,0,e).stroke({color:n,width:r+1}):"slantedLines"===t?o.line(0,0,e,i).stroke({color:n,width:r}):"squares"===t?o.rect(e,i).fill("none").stroke({color:n,width:r}):"circles"===t&&o.circle(e).fill("none").stroke({color:n,width:r})})}},{key:"drawGradient",value:function(t,e,i,n,r){var o,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,h=this.w;e=u.hexToRgba(e,n),i=u.hexToRgba(i,r);var d=0,f=1,p=1,g=null;null!==s&&(d=void 0!==s[0]?s[0]/100:0,f=void 0!==s[1]?s[1]/100:1,p=void 0!==s[2]?s[2]/100:1,g=void 0!==s[3]?s[3]/100:null);var m=!("donut"!==h.config.chart.type&&"pie"!==h.config.chart.type&&"bubble"!==h.config.chart.type);if(o=null===l||0===l.length?h.globals.dom.Paper.gradient(m?"radial":"linear",function(t){t.at(d,e,n),t.at(f,i,r),t.at(p,i,r),null!==g&&t.at(g,e,n)}):h.globals.dom.Paper.gradient(m?"radial":"linear",function(t){(Array.isArray(l[c])?l[c]:l).forEach(function(e){t.at(e.offset/100,e.color,e.opacity)})}),m){var v=h.globals.gridWidth/2,y=h.globals.gridHeight/2;"bubble"!==h.config.chart.type?o.attr({gradientUnits:"userSpaceOnUse",cx:v,cy:y,r:a}):o.attr({cx:.5,cy:.5,r:.8,fx:.2,fy:.2})}else"vertical"===t?o.from(0,0).to(0,1):"diagonal"===t?o.from(0,0).to(1,1):"horizontal"===t?o.from(0,1).to(1,1):"diagonal2"===t&&o.from(0,1).to(2,2);return o}},{key:"drawText",value:function(t){var e,i=this.w,n=t.x,r=t.y,o=t.text,a=t.textAnchor,s=t.fontSize,l=t.fontFamily,c=t.foreColor,u=t.opacity;return void 0===o&&(o=""),a||(a="start"),c||(c=i.config.chart.foreColor),l=l||i.config.chart.fontFamily,(e=Array.isArray(o)?i.globals.dom.Paper.text(function(t){for(var e=0;e<o.length;e++)t.tspan(o[e])}):i.globals.dom.Paper.plain(o)).attr({x:n,y:r,"text-anchor":a,"dominant-baseline":"auto","font-size":s,"font-family":l,fill:c,class:(t.cssClass,t.cssClass)}),e.node.style.fontFamily=l,e.node.style.opacity=u,e}},{key:"addTspan",value:function(t,e,i){var n=t.tspan(e);i||(i=this.w.config.chart.fontFamily),n.node.style.fontFamily=i}},{key:"drawMarker",value:function(t,e,i){t=t||0;var n=i.pSize||0,r=null;if("square"===i.shape){var o=void 0===i.pRadius?n/2:i.pRadius;null===e&&(n=0,o=0);var a=1.2*n+o,s=this.drawRect(a,a,a,a,o);s.attr({x:t-a/2,y:e-a/2,cx:t,cy:e,class:i.class?i.class:"",fill:i.pointFillColor,"fill-opacity":i.pointFillOpacity?i.pointFillOpacity:1,stroke:i.pointStrokeColor,"stroke-width":i.pWidth?i.pWidth:0,"stroke-opacity":i.pointStrokeOpacity?i.pointStrokeOpacity:1}),r=s}else"circle"===i.shape&&(u.isNumber(e)||(n=0,e=0),r=this.drawCircle(n,{cx:t,cy:e,class:i.class?i.class:"",stroke:i.pointStrokeColor,fill:i.pointFillColor,"fill-opacity":i.pointFillOpacity?i.pointFillOpacity:1,"stroke-width":i.pWidth?i.pWidth:0,"stroke-opacity":i.pointStrokeOpacity?i.pointStrokeOpacity:1}));return r}},{key:"pathMouseEnter",value:function(t,e){var i=this.w,n=new h(this.ctx),r=parseInt(t.node.getAttribute("index")),o=parseInt(t.node.getAttribute("j"));if("function"==typeof i.config.chart.events.dataPointMouseEnter&&i.config.chart.events.dataPointMouseEnter(e,this.ctx,{seriesIndex:r,dataPointIndex:o,w:i}),this.ctx.fireEvent("dataPointMouseEnter",[e,this.ctx,{seriesIndex:r,dataPointIndex:o,w:i}]),("none"===i.config.states.active.filter.type||"true"!==t.node.getAttribute("selected"))&&"none"!==i.config.states.hover.filter.type&&"none"!==i.config.states.active.filter.type&&!i.globals.isTouchDevice){var a=i.config.states.hover.filter;n.applyFilter(t,r,a.type,a.value)}}},{key:"pathMouseLeave",value:function(t,e){var i=this.w,n=new h(this.ctx),r=parseInt(t.node.getAttribute("index")),o=parseInt(t.node.getAttribute("j"));"function"==typeof i.config.chart.events.dataPointMouseLeave&&i.config.chart.events.dataPointMouseLeave(e,this.ctx,{seriesIndex:r,dataPointIndex:o,w:i}),this.ctx.fireEvent("dataPointMouseLeave",[e,this.ctx,{seriesIndex:r,dataPointIndex:o,w:i}]),"none"!==i.config.states.active.filter.type&&"true"===t.node.getAttribute("selected")||"none"!==i.config.states.hover.filter.type&&n.getDefaultFilter(t,r)}},{key:"pathMouseDown",value:function(t,e){var i=this.w,n=new h(this.ctx),r=parseInt(t.node.getAttribute("index")),o=parseInt(t.node.getAttribute("j")),a="false";if("true"===t.node.getAttribute("selected")){if(t.node.setAttribute("selected","false"),i.globals.selectedDataPoints[r].indexOf(o)>-1){var s=i.globals.selectedDataPoints[r].indexOf(o);i.globals.selectedDataPoints[r].splice(s,1)}}else{if(!i.config.states.active.allowMultipleDataPointsSelection&&i.globals.selectedDataPoints.length>0){i.globals.selectedDataPoints=[];var l=i.globals.dom.Paper.select(".apexcharts-series path").members,c=i.globals.dom.Paper.select(".apexcharts-series circle, .apexcharts-series rect").members;l.forEach(function(t){t.node.setAttribute("selected","false"),n.getDefaultFilter(t,r)}),c.forEach(function(t){t.node.setAttribute("selected","false"),n.getDefaultFilter(t,r)})}t.node.setAttribute("selected","true"),a="true",void 0===i.globals.selectedDataPoints[r]&&(i.globals.selectedDataPoints[r]=[]),i.globals.selectedDataPoints[r].push(o)}if("true"===a){var u=i.config.states.active.filter;"none"!==u&&n.applyFilter(t,r,u.type,u.value)}else"none"!==i.config.states.active.filter.type&&n.getDefaultFilter(t,r);"function"==typeof i.config.chart.events.dataPointSelection&&i.config.chart.events.dataPointSelection(e,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:o,w:i}),e&&this.ctx.fireEvent("dataPointSelection",[e,this.ctx,{selectedDataPoints:i.globals.selectedDataPoints,seriesIndex:r,dataPointIndex:o,w:i}])}},{key:"rotateAroundCenter",value:function(t){var e=t.getBBox();return{x:e.x+e.width/2,y:e.y+e.height/2}}},{key:"getTextRects",value:function(t,e,i,n){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=this.w,a=this.drawText({x:-200,y:-200,text:t,textAnchor:"start",fontSize:e,fontFamily:i,foreColor:"#fff",opacity:0});n&&a.attr("transform",n),o.globals.dom.Paper.add(a);var s=a.bbox();return r||(s=a.node.getBoundingClientRect()),a.remove(),{width:s.width,height:s.height}}},{key:"placeTextWithEllipsis",value:function(t,e,i){if(t.textContent=e,e.length>0&&t.getComputedTextLength()>=i){for(var n=e.length-3;n>0;n-=3)if(t.getSubStringLength(0,n)<=i)return void(t.textContent=e.substring(0,n)+"...");t.textContent="..."}}}],[{key:"setAttrs",value:function(t,e){for(var i in e)e.hasOwnProperty(i)&&t.setAttribute(i,e[i])}}]),t}(),p={name:"en",options:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],toolbar:{exportToSVG:"Download SVG",exportToPNG:"Download PNG",menu:"Menu",selection:"Selection",selectionZoom:"Selection Zoom",zoomIn:"Zoom In",zoomOut:"Zoom Out",pan:"Panning",reset:"Reset Zoom"}}},g=function(){function t(){e(this,t),this.yAxis={show:!0,showAlways:!1,seriesName:void 0,opposite:!1,reversed:!1,logarithmic:!1,tickAmount:void 0,forceNiceScale:!1,max:void 0,min:void 0,floating:!1,decimalsInFloat:void 0,labels:{show:!0,minWidth:0,maxWidth:160,offsetX:0,offsetY:0,align:void 0,rotate:0,padding:20,style:{colors:[],fontSize:"11px",fontFamily:void 0,cssClass:""},formatter:void 0},axisBorder:{show:!1,color:"#78909C",offsetX:0,offsetY:0},axisTicks:{show:!1,color:"#78909C",width:6,offsetX:0,offsetY:0},title:{text:void 0,rotate:90,offsetY:0,offsetX:0,style:{color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:""}},tooltip:{enabled:!1,offsetX:0},crosshairs:{show:!0,position:"front",stroke:{color:"#b6b6b6",width:1,dashArray:0}}},this.xAxisAnnotation={x:0,x2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",opacity:.3,offsetX:0,offsetY:0,label:{borderColor:"#c2c2c2",borderWidth:1,text:void 0,textAnchor:"middle",orientation:"vertical",position:"top",offsetX:0,offsetY:0,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"",padding:{left:5,right:5,top:2,bottom:2}}}},this.yAxisAnnotation={y:0,y2:null,strokeDashArray:1,fillColor:"#c2c2c2",borderColor:"#c2c2c2",opacity:.3,offsetX:0,offsetY:0,yAxisIndex:0,label:{borderColor:"#c2c2c2",borderWidth:1,text:void 0,textAnchor:"end",position:"right",offsetX:0,offsetY:-3,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"",padding:{left:5,right:5,top:0,bottom:2}}}},this.pointAnnotation={x:0,y:null,yAxisIndex:0,seriesIndex:0,marker:{size:0,fillColor:"#fff",strokeWidth:2,strokeColor:"#333",shape:"circle",offsetX:0,offsetY:0,radius:2,cssClass:""},label:{borderColor:"#c2c2c2",borderWidth:1,text:void 0,textAnchor:"middle",offsetX:0,offsetY:-15,style:{background:"#fff",color:void 0,fontSize:"11px",fontFamily:void 0,cssClass:"",padding:{left:5,right:5,top:0,bottom:2}}},customSVG:{SVG:void 0,cssClass:void 0,offsetX:0,offsetY:0}}}return n(t,[{key:"init",value:function(){return{annotations:{position:"front",yaxis:[this.yAxisAnnotation],xaxis:[this.xAxisAnnotation],points:[this.pointAnnotation]},chart:{animations:{enabled:!0,easing:"easeinout",speed:800,animateGradually:{delay:150,enabled:!0},dynamicAnimation:{enabled:!0,speed:350}},background:"transparent",locales:[p],defaultLocale:"en",dropShadow:{enabled:!1,enabledSeries:void 0,top:2,left:2,blur:4,color:"#000",opacity:.35},events:{animationEnd:void 0,beforeMount:void 0,mounted:void 0,updated:void 0,click:void 0,legendClick:void 0,markerClick:void 0,selection:void 0,dataPointSelection:void 0,dataPointMouseEnter:void 0,dataPointMouseLeave:void 0,beforeZoom:void 0,zoomed:void 0,scrolled:void 0},foreColor:"#373d3f",fontFamily:"Helvetica, Arial, sans-serif",height:"auto",parentHeightOffset:15,id:void 0,group:void 0,offsetX:0,offsetY:0,selection:{enabled:!1,type:"x",fill:{color:"#24292e",opacity:.1},stroke:{width:1,color:"#24292e",opacity:.4,dashArray:3},xaxis:{min:void 0,max:void 0},yaxis:{min:void 0,max:void 0}},sparkline:{enabled:!1},brush:{enabled:!1,autoScaleYaxis:!0,target:void 0},stacked:!1,stackType:"normal",toolbar:{show:!0,tools:{download:!0,selection:!0,zoom:!0,zoomin:!0,zoomout:!0,pan:!0,reset:!0,customIcons:[]},autoSelected:"zoom"},type:"line",width:"100%",zoom:{enabled:!0,type:"x",autoScaleYaxis:!1,zoomedArea:{fill:{color:"#90CAF9",opacity:.4},stroke:{color:"#0D47A1",opacity:.4,width:1}}}},plotOptions:{bar:{horizontal:!1,columnWidth:"70%",barHeight:"70%",distributed:!1,endingShape:"flat",colors:{ranges:[],backgroundBarColors:[],backgroundBarOpacity:1},dataLabels:{maxItems:100,hideOverflowingLabels:!0,position:"top"}},candlestick:{colors:{upward:"#00B746",downward:"#EF403C"},wick:{useFillColor:!0}},heatmap:{radius:2,enableShades:!0,shadeIntensity:.5,reverseNegativeShade:!0,distributed:!1,colorScale:{inverse:!1,ranges:[],min:void 0,max:void 0}},radialBar:{size:void 0,inverseOrder:!1,startAngle:0,endAngle:360,offsetX:0,offsetY:0,hollow:{margin:5,size:"50%",background:"transparent",image:void 0,imageWidth:150,imageHeight:150,imageOffsetX:0,imageOffsetY:0,imageClipped:!0,position:"front",dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},track:{show:!0,startAngle:void 0,endAngle:void 0,background:"#f2f2f2",strokeWidth:"97%",opacity:1,margin:5,dropShadow:{enabled:!1,top:0,left:0,blur:3,color:"#000",opacity:.5}},dataLabels:{show:!0,name:{show:!0,fontSize:"16px",fontFamily:void 0,color:void 0,offsetY:0},value:{show:!0,fontSize:"14px",fontFamily:void 0,color:void 0,offsetY:16,formatter:function(t){return t+"%"}},total:{show:!1,label:"Total",color:void 0,formatter:function(t){return t.globals.seriesTotals.reduce(function(t,e){return t+e},0)/t.globals.series.length+"%"}}}},rangeBar:{},pie:{size:void 0,customScale:1,offsetX:0,offsetY:0,expandOnClick:!0,dataLabels:{offset:0,minAngleToShowLabel:10},donut:{size:"65%",background:"transparent",labels:{show:!1,name:{show:!0,fontSize:"16px",fontFamily:void 0,color:void 0,offsetY:-10},value:{show:!0,fontSize:"20px",fontFamily:void 0,color:void 0,offsetY:10,formatter:function(t){return t}},total:{show:!1,label:"Total",color:void 0,formatter:function(t){return t.globals.seriesTotals.reduce(function(t,e){return t+e},0)}}}}},radar:{size:void 0,offsetX:0,offsetY:0,polygons:{strokeColors:"#e8e8e8",connectorColors:"#e8e8e8",fill:{colors:void 0}}}},colors:void 0,dataLabels:{enabled:!0,enabledOnSeries:void 0,formatter:function(t){return null!==t?t:""},textAnchor:"middle",offsetX:0,offsetY:0,style:{fontSize:"12px",fontFamily:void 0,colors:void 0},dropShadow:{enabled:!1,top:1,left:1,blur:1,color:"#000",opacity:.45}},fill:{type:"solid",colors:void 0,opacity:.85,gradient:{shade:"dark",type:"horizontal",shadeIntensity:.5,gradientToColors:void 0,inverseColors:!0,opacityFrom:1,opacityTo:1,stops:[0,50,100],colorStops:[]},image:{src:[],width:void 0,height:void 0},pattern:{style:"sqaures",width:6,height:6,strokeWidth:2}},grid:{show:!0,borderColor:"#e0e0e0",strokeDashArray:0,position:"back",xaxis:{lines:{show:!1,animate:!1}},yaxis:{lines:{show:!0,animate:!1}},row:{colors:void 0,opacity:.5},column:{colors:void 0,opacity:.5},padding:{top:0,right:10,bottom:0,left:12}},labels:[],legend:{show:!0,showForSingleSeries:!1,showForNullSeries:!0,showForZeroSeries:!0,floating:!1,position:"bottom",horizontalAlign:"center",fontSize:"12px",fontFamily:void 0,width:void 0,height:void 0,formatter:void 0,offsetX:-20,offsetY:0,labels:{colors:void 0,useSeriesColors:!1},markers:{width:12,height:12,strokeWidth:0,strokeColor:"#fff",radius:12,customHTML:void 0,offsetX:0,offsetY:0,onClick:void 0},itemMargin:{horizontal:0,vertical:5},onItemClick:{toggleDataSeries:!0},onItemHover:{highlightDataSeries:!0}},markers:{discrete:[],size:0,colors:void 0,strokeColors:"#fff",strokeWidth:2,strokeOpacity:.9,fillOpacity:1,shape:"circle",radius:2,offsetX:0,offsetY:0,hover:{size:void 0,sizeOffset:3}},noData:{text:void 0,align:"center",verticalAlign:"middle",offsetX:0,offsetY:0,style:{color:void 0,fontSize:"14px",fontFamily:void 0}},responsive:[],series:void 0,states:{normal:{filter:{type:"none",value:0}},hover:{filter:{type:"lighten",value:.15}},active:{allowMultipleDataPointsSelection:!1,filter:{type:"darken",value:.65}}},title:{text:void 0,align:"left",margin:10,offsetX:0,offsetY:0,floating:!1,style:{fontSize:"14px",fontFamily:void 0,color:void 0}},subtitle:{text:void 0,align:"left",margin:10,offsetX:0,offsetY:30,floating:!1,style:{fontSize:"12px",fontFamily:void 0,color:void 0}},stroke:{show:!0,curve:"smooth",lineCap:"butt",width:2,colors:void 0,dashArray:0},tooltip:{enabled:!0,enabledOnSeries:void 0,shared:!0,followCursor:!1,intersect:!1,inverseOrder:!1,custom:void 0,fillSeriesColor:!1,theme:"light",style:{fontSize:"12px",fontFamily:void 0},onDatasetHover:{highlightDataSeries:!1},x:{show:!0,format:"dd MMM",formatter:void 0},y:{formatter:void 0,title:{formatter:function(t){return t}}},z:{formatter:void 0,title:"Size: "},marker:{show:!0},items:{display:"flex"},fixed:{enabled:!1,position:"topRight",offsetX:0,offsetY:0}},xaxis:{type:"category",categories:[],offsetX:0,offsetY:0,labels:{show:!0,rotate:-45,rotateAlways:!1,hideOverlappingLabels:!0,trim:!0,minHeight:void 0,maxHeight:120,showDuplicates:!0,style:{colors:[],fontSize:"12px",fontFamily:void 0,cssClass:""},offsetX:0,offsetY:0,format:void 0,formatter:void 0,datetimeFormatter:{year:"yyyy",month:"MMM 'yy",day:"dd MMM",hour:"HH:mm",minute:"HH:mm:ss"}},axisBorder:{show:!0,color:"#78909C",width:"100%",height:1,offsetX:0,offsetY:0},axisTicks:{show:!0,color:"#78909C",height:6,offsetX:0,offsetY:0},tickAmount:void 0,tickPlacement:"on",min:void 0,max:void 0,range:void 0,floating:!1,position:"bottom",title:{text:void 0,offsetX:0,offsetY:0,style:{color:void 0,fontSize:"12px",fontFamily:void 0,cssClass:""}},crosshairs:{show:!0,width:1,position:"back",opacity:.9,stroke:{color:"#b6b6b6",width:1,dashArray:3},fill:{type:"solid",color:"#B1B9C4",gradient:{colorFrom:"#D8E3F0",colorTo:"#BED1E6",stops:[0,100],opacityFrom:.4,opacityTo:.5}},dropShadow:{enabled:!1,left:0,top:0,blur:1,opacity:.4}},tooltip:{enabled:!0,offsetY:0,formatter:void 0,style:{fontSize:"12px",fontFamily:void 0}}},yaxis:this.yAxis,theme:{mode:"light",palette:"palette1",monochrome:{enabled:!1,color:"#008FFB",shadeTo:"light",shadeIntensity:.65}}}}}]),t}(),m=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.graphics=new f(this.ctx),this.w.globals.isBarHorizontal&&(this.invertAxis=!0),this.xDivision=this.w.globals.gridWidth/this.w.globals.dataPoints}return n(t,[{key:"drawAnnotations",value:function(){var t=this.w;if(t.globals.axisCharts){for(var e=this.drawYAxisAnnotations(),i=this.drawXAxisAnnotations(),n=this.drawPointAnnotations(),r=t.config.chart.animations.enabled,o=[e,i,n],a=[i.node,e.node,n.node],s=0;s<3;s++)t.globals.dom.elGraphical.add(o[s]),!r||t.globals.resized||t.globals.dataChanged||a[s].classList.add("hidden"),t.globals.delayedElements.push({el:a[s],index:0});this.annotationsBackground()}}},{key:"getStringX",value:function(t){var e=this.w,i=t,n=e.globals.labels.indexOf(t),r=e.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(n+1)+")");return r&&(i=parseFloat(r.getAttribute("x"))),i}},{key:"addXaxisAnnotation",value:function(t,e,i){var n=this.w,r=this.invertAxis?n.globals.minY:n.globals.minX,o=this.invertAxis?n.globals.yRange[0]:n.globals.xRange,a=(t.x-r)/(o/n.globals.gridWidth),s=t.label.text;"category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.invertAxis||(a=this.getStringX(t.x));var l=t.strokeDashArray;if(!(a<0||a>n.globals.gridWidth)){if(null===t.x2){var c=this.graphics.drawLine(a+t.offsetX,0+t.offsetY,a+t.offsetX,n.globals.gridHeight+t.offsetY,t.borderColor,l);e.appendChild(c.node)}else{var u=(t.x2-r)/(o/n.globals.gridWidth);if("category"!==n.config.xaxis.type&&!n.config.xaxis.convertedCatToNumeric||this.invertAxis||(u=this.getStringX(t.x2)),u<a){var h=a;a=u,u=h}if(s){var d=this.graphics.drawRect(a+t.offsetX,0+t.offsetY,u-a,n.globals.gridHeight+t.offsetY,0,t.fillColor,t.opacity,1,t.borderColor,l);e.appendChild(d.node)}}var f="top"===t.label.position?-3:n.globals.gridHeight,p=this.graphics.drawText({x:a+t.label.offsetX,y:f+t.label.offsetY,text:s,textAnchor:t.label.textAnchor,fontSize:t.label.style.fontSize,fontFamily:t.label.style.fontFamily,foreColor:t.label.style.color,cssClass:"apexcharts-xaxis-annotation-label "+t.label.style.cssClass});p.attr({rel:i}),e.appendChild(p.node),this.setOrientations(t,i)}}},{key:"drawXAxisAnnotations",value:function(){var t=this,e=this.w,i=this.graphics.group({class:"apexcharts-xaxis-annotations"});return e.config.annotations.xaxis.map(function(e,n){t.addXaxisAnnotation(e,i.node,n)}),i}},{key:"addYaxisAnnotation",value:function(t,e,i){var n,r,o=this.w,a=t.strokeDashArray;if(this.invertAxis){var s=o.globals.labels.indexOf(t.y),l=o.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(s+1)+")");l&&(n=parseFloat(l.getAttribute("y")))}else n=o.globals.gridHeight-(t.y-o.globals.minYArr[t.yAxisIndex])/(o.globals.yRange[t.yAxisIndex]/o.globals.gridHeight),o.config.yaxis[t.yAxisIndex]&&o.config.yaxis[t.yAxisIndex].reversed&&(n=(t.y-o.globals.minYArr[t.yAxisIndex])/(o.globals.yRange[t.yAxisIndex]/o.globals.gridHeight));var c=t.label.text;if(null===t.y2){var u=this.graphics.drawLine(0+t.offsetX,n+t.offsetY,o.globals.gridWidth+t.offsetX,n+t.offsetY,t.borderColor,a);e.appendChild(u.node)}else{if(this.invertAxis){var h=o.globals.labels.indexOf(t.y2),d=o.globals.dom.baseEl.querySelector(".apexcharts-yaxis-texts-g text:nth-child("+(h+1)+")");d&&(r=parseFloat(d.getAttribute("y")))}else r=o.globals.gridHeight-(t.y2-o.globals.minYArr[t.yAxisIndex])/(o.globals.yRange[t.yAxisIndex]/o.globals.gridHeight),o.config.yaxis[t.yAxisIndex]&&o.config.yaxis[t.yAxisIndex].reversed&&(r=(t.y2-o.globals.minYArr[t.yAxisIndex])/(o.globals.yRange[t.yAxisIndex]/o.globals.gridHeight));if(r>n){var f=n;n=r,r=f}if(c){var p=this.graphics.drawRect(0+t.offsetX,r+t.offsetY,o.globals.gridWidth+t.offsetX,n-r,0,t.fillColor,t.opacity,1,t.borderColor,a);e.appendChild(p.node)}}var g="right"===t.label.position?o.globals.gridWidth:0,m=this.graphics.drawText({x:g+t.label.offsetX,y:(r||n)+t.label.offsetY-3,text:c,textAnchor:t.label.textAnchor,fontSize:t.label.style.fontSize,fontFamily:t.label.style.fontFamily,foreColor:t.label.style.color,cssClass:"apexcharts-yaxis-annotation-label "+t.label.style.cssClass});m.attr({rel:i}),e.appendChild(m.node)}},{key:"drawYAxisAnnotations",value:function(){var t=this,e=this.w,i=this.graphics.group({class:"apexcharts-yaxis-annotations"});return e.config.annotations.yaxis.map(function(e,n){t.addYaxisAnnotation(e,i.node,n)}),i}},{key:"clearAnnotations",value:function(t){var e=t.w.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-annotations, .apexcharts-xaxis-annotations, .apexcharts-point-annotations");(e=u.listToArray(e)).forEach(function(t){for(;t.firstChild;)t.removeChild(t.firstChild)})}},{key:"addPointAnnotation",value:function(t,e,i){var n=this.w,r=0,o=0,a=0;if(this.invertAxis&&console.warn("Point annotation is not supported in horizontal bar charts."),"string"==typeof t.x){var s=n.globals.labels.indexOf(t.x),l=n.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g text:nth-child("+(s+1)+")");r=parseFloat(l.getAttribute("x"));var c=t.y;null===t.y&&(c=n.globals.series[t.seriesIndex][s]),o=n.globals.gridHeight-(c-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight)-parseInt(t.label.style.fontSize)-t.marker.size,a=n.globals.gridHeight-(c-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight),n.config.yaxis[t.yAxisIndex]&&n.config.yaxis[t.yAxisIndex].reversed&&(o=(c-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight)+parseInt(t.label.style.fontSize)+t.marker.size,a=(c-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight))}else r=(t.x-n.globals.minX)/(n.globals.xRange/n.globals.gridWidth),o=n.globals.gridHeight-(parseFloat(t.y)-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight)-parseInt(t.label.style.fontSize)-t.marker.size,a=n.globals.gridHeight-(t.y-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight),n.config.yaxis[t.yAxisIndex]&&n.config.yaxis[t.yAxisIndex].reversed&&(o=(parseFloat(t.y)-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight)-parseInt(t.label.style.fontSize)-t.marker.size,a=(t.y-n.globals.minYArr[t.yAxisIndex])/(n.globals.yRange[t.yAxisIndex]/n.globals.gridHeight));if(!(r<0||r>n.globals.gridWidth)){var u={pSize:t.marker.size,pWidth:t.marker.strokeWidth,pointFillColor:t.marker.fillColor,pointStrokeColor:t.marker.strokeColor,shape:t.marker.shape,radius:t.marker.radius,class:"apexcharts-point-annotation-marker "+t.marker.cssClass},h=this.graphics.drawMarker(r+t.marker.offsetX,a+t.marker.offsetY,u);e.appendChild(h.node);var d=t.label.text?t.label.text:"",f=this.graphics.drawText({x:r+t.label.offsetX,y:o+t.label.offsetY,text:d,textAnchor:t.label.textAnchor,fontSize:t.label.style.fontSize,fontFamily:t.label.style.fontFamily,foreColor:t.label.style.color,cssClass:"apexcharts-point-annotation-label "+t.label.style.cssClass});if(f.attr({rel:i}),e.appendChild(f.node),t.customSVG.SVG){var p=this.graphics.group({class:"apexcharts-point-annotations-custom-svg "+t.customSVG.cssClass});p.attr({transform:"translate(".concat(r+t.customSVG.offsetX,", ").concat(o+t.customSVG.offsetY,")")}),p.node.innerHTML=t.customSVG.SVG,e.appendChild(p.node)}}}},{key:"drawPointAnnotations",value:function(){var t=this,e=this.w,i=this.graphics.group({class:"apexcharts-point-annotations"});return e.config.annotations.points.map(function(e,n){t.addPointAnnotation(e,i.node,n)}),i}},{key:"setOrientations",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.w;if("vertical"===t.label.orientation){var n=null!==e?e:0,r=i.globals.dom.baseEl.querySelector(".apexcharts-xaxis-annotations .apexcharts-xaxis-annotation-label[rel='".concat(n,"']"));if(null!==r){var o=r.getBoundingClientRect();r.setAttribute("x",parseFloat(r.getAttribute("x"))-o.height+4),"top"===t.label.position?r.setAttribute("y",parseFloat(r.getAttribute("y"))+o.width):r.setAttribute("y",parseFloat(r.getAttribute("y"))-o.width);var a=this.graphics.rotateAroundCenter(r),s=a.x,l=a.y;r.setAttribute("transform","rotate(-90 ".concat(s," ").concat(l,")"))}}}},{key:"addBackgroundToAnno",value:function(t,e){var i=this.w;if(!e.label.text||e.label.text&&!e.label.text.trim())return null;var n=i.globals.dom.baseEl.querySelector(".apexcharts-grid").getBoundingClientRect(),r=t.getBoundingClientRect(),o=e.label.style.padding.left,a=e.label.style.padding.right,s=e.label.style.padding.top,l=e.label.style.padding.bottom;"vertical"===e.label.orientation&&(s=e.label.style.padding.left,l=e.label.style.padding.right,o=e.label.style.padding.top,a=e.label.style.padding.bottom);var c=r.left-n.left-o,u=r.top-n.top-s;return this.graphics.drawRect(c,u,r.width+o+a,r.height+s+l,0,e.label.style.background,1,e.label.borderWidth,e.label.borderColor,0)}},{key:"annotationsBackground",value:function(){var t=this,e=this.w,i=function(i,n,r){var o=e.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(n,"']"));if(o){var a=o.parentNode,s=t.addBackgroundToAnno(o,i);s&&a.insertBefore(s.node,o)}};e.config.annotations.xaxis.map(function(t,e){i(t,e,"xaxis")}),e.config.annotations.yaxis.map(function(t,e){i(t,e,"yaxis")}),e.config.annotations.points.map(function(t,e){i(t,e,"point")})}},{key:"addText",value:function(t,e,i){var n=t.x,r=t.y,o=t.text,a=t.textAnchor,s=t.appendTo,l=void 0===s?".apexcharts-inner":s,c=t.foreColor,u=t.fontSize,h=t.fontFamily,d=t.cssClass,f=t.backgroundColor,p=t.borderWidth,g=t.strokeDashArray,m=t.radius,v=t.borderColor,y=t.paddingLeft,b=void 0===y?4:y,L=t.paddingRight,x=void 0===L?4:L,w=t.paddingBottom,_=void 0===w?2:w,S=t.paddingTop,C=void 0===S?2:S,k=i,T=k.w,E=T.globals.dom.baseEl.querySelector(l),A=this.graphics.drawText({x:n,y:r,text:o,textAnchor:a||"start",fontSize:u||"12px",fontFamily:h||T.config.chart.fontFamily,foreColor:c||T.config.chart.foreColor,cssClass:d});E.appendChild(A.node);var M=A.bbox();if(o){var D=this.graphics.drawRect(M.x-b,M.y-C,M.width+b+x,M.height+_+C,m,f,1,p,v,g);A.before(D)}return e&&T.globals.memory.methodsToExec.push({context:k,method:k.addText,params:{x:n,y:r,text:o,textAnchor:a,appendTo:l,foreColor:c,fontSize:u,cssClass:d,backgroundColor:f,borderWidth:p,strokeDashArray:g,radius:m,borderColor:v,paddingLeft:b,paddingRight:x,paddingBottom:_,paddingTop:C}}),i}},{key:"addPointAnnotationExternal",value:function(t,e,i){return void 0===this.invertAxis&&(this.invertAxis=i.w.globals.isBarHorizontal),this.addAnnotationExternal({params:t,pushToMemory:e,context:i,type:"point",contextMethod:i.addPointAnnotation}),i}},{key:"addYaxisAnnotationExternal",value:function(t,e,i){return this.addAnnotationExternal({params:t,pushToMemory:e,context:i,type:"yaxis",contextMethod:i.addYaxisAnnotation}),i}},{key:"addXaxisAnnotationExternal",value:function(t,e,i){return this.addAnnotationExternal({params:t,pushToMemory:e,context:i,type:"xaxis",contextMethod:i.addXaxisAnnotation}),i}},{key:"addAnnotationExternal",value:function(t){var e=t.params,i=t.pushToMemory,n=t.context,r=t.type,o=t.contextMethod,a=n,s=a.w,l=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations")),c=l.childNodes.length+1,h=new g,d=Object.assign({},"xaxis"===r?h.xAxisAnnotation:"yaxis"===r?h.yAxisAnnotation:h.pointAnnotation),f=u.extend(d,e);switch(r){case"xaxis":this.addXaxisAnnotation(f,l,c);break;case"yaxis":this.addYaxisAnnotation(f,l,c);break;case"point":this.addPointAnnotation(f,l,c)}var p=s.globals.dom.baseEl.querySelector(".apexcharts-".concat(r,"-annotations .apexcharts-").concat(r,"-annotation-label[rel='").concat(c,"']")),m=this.addBackgroundToAnno(p,f);return m&&l.insertBefore(m.node,p),i&&s.globals.memory.methodsToExec.push({context:a,method:o,params:e}),n}}]),t}(),v=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.months31=[1,3,5,7,8,10,12],this.months30=[2,4,6,9,11],this.daysCntOfYear=[0,31,59,90,120,151,181,212,243,273,304,334]}return n(t,[{key:"isValidDate",value:function(t){return!isNaN(this.parseDate(t))}},{key:"getUTCTimeStamp",value:function(t){return Date.parse(t)?new Date(new Date(t).toISOString().substr(0,25)).getTime():t}},{key:"parseDate",value:function(t){var e=Date.parse(t);if(!isNaN(e))return this.getUTCTimeStamp(t);var i=Date.parse(t.replace(/-/g,"/").replace(/[a-z]+/gi," "));return this.getUTCTimeStamp(i)}},{key:"treatAsUtc",value:function(t){var e=new Date(t);return e.setMinutes(e.getMinutes()-e.getTimezoneOffset()),e}},{key:"formatDate",value:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this.w.globals.locale,o=["\0"].concat(c(r.months)),a=[""].concat(c(r.shortMonths)),s=[""].concat(c(r.days)),l=[""].concat(c(r.shortDays));function u(t,e){var i=t+"";for(e=e||2;i.length<e;)i="0"+i;return i}n&&(t=this.treatAsUtc(t));var h=i?t.getUTCFullYear():t.getFullYear();e=(e=(e=e.replace(/(^|[^\\])yyyy+/g,"$1"+h)).replace(/(^|[^\\])yy/g,"$1"+h.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+h);var d=(i?t.getUTCMonth():t.getMonth())+1;e=(e=(e=(e=e.replace(/(^|[^\\])MMMM+/g,"$1"+o[0])).replace(/(^|[^\\])MMM/g,"$1"+a[0])).replace(/(^|[^\\])MM/g,"$1"+u(d))).replace(/(^|[^\\])M/g,"$1"+d);var f=i?t.getUTCDate():t.getDate();e=(e=(e=(e=e.replace(/(^|[^\\])dddd+/g,"$1"+s[0])).replace(/(^|[^\\])ddd/g,"$1"+l[0])).replace(/(^|[^\\])dd/g,"$1"+u(f))).replace(/(^|[^\\])d/g,"$1"+f);var p=i?t.getUTCHours():t.getHours(),g=p>12?p-12:0===p?12:p;e=(e=(e=(e=e.replace(/(^|[^\\])HH+/g,"$1"+u(p))).replace(/(^|[^\\])H/g,"$1"+p)).replace(/(^|[^\\])hh+/g,"$1"+u(g))).replace(/(^|[^\\])h/g,"$1"+g);var m=i?t.getUTCMinutes():t.getMinutes();e=(e=e.replace(/(^|[^\\])mm+/g,"$1"+u(m))).replace(/(^|[^\\])m/g,"$1"+m);var v=i?t.getUTCSeconds():t.getSeconds();e=(e=e.replace(/(^|[^\\])ss+/g,"$1"+u(v))).replace(/(^|[^\\])s/g,"$1"+v);var y=i?t.getUTCMilliseconds():t.getMilliseconds();e=e.replace(/(^|[^\\])fff+/g,"$1"+u(y,3)),y=Math.round(y/10),e=e.replace(/(^|[^\\])ff/g,"$1"+u(y)),y=Math.round(y/10);var b=p<12?"AM":"PM";e=(e=(e=e.replace(/(^|[^\\])f/g,"$1"+y)).replace(/(^|[^\\])TT+/g,"$1"+b)).replace(/(^|[^\\])T/g,"$1"+b.charAt(0));var L=b.toLowerCase();e=(e=e.replace(/(^|[^\\])tt+/g,"$1"+L)).replace(/(^|[^\\])t/g,"$1"+L.charAt(0));var x=-t.getTimezoneOffset(),w=i||!x?"Z":x>0?"+":"-";if(!i){var _=(x=Math.abs(x))%60;w+=u(Math.floor(x/60))+":"+u(_)}e=e.replace(/(^|[^\\])K/g,"$1"+w);var S=(i?t.getUTCDay():t.getDay())+1;return(e=(e=(e=(e=e.replace(new RegExp(s[0],"g"),s[S])).replace(new RegExp(l[0],"g"),l[S])).replace(new RegExp(o[0],"g"),o[d])).replace(new RegExp(a[0],"g"),a[d])).replace(/\\(.)/g,"$1")}},{key:"getTimeUnitsfromTimestamp",value:function(t,e){var i=this.w;void 0!==i.config.xaxis.min&&(t=i.config.xaxis.min),void 0!==i.config.xaxis.max&&(e=i.config.xaxis.max);var n=new Date(t).getFullYear(),r=new Date(e).getFullYear(),o=new Date(t).getMonth(),a=new Date(e).getMonth(),s=new Date(t).getDate(),l=new Date(e).getDate(),c=new Date(t).getHours(),u=new Date(e).getHours();return{minMinute:new Date(t).getMinutes(),maxMinute:new Date(e).getMinutes(),minHour:c,maxHour:u,minDate:s,maxDate:l,minMonth:o,maxMonth:a,minYear:n,maxYear:r}}},{key:"isLeapYear",value:function(t){return t%4==0&&t%100!=0||t%400==0}},{key:"calculcateLastDaysOfMonth",value:function(t,e,i){return this.determineDaysOfMonths(t,e)-i}},{key:"determineDaysOfYear",value:function(t){var e=365;return this.isLeapYear(t)&&(e=366),e}},{key:"determineRemainingDaysOfYear",value:function(t,e,i){var n=this.daysCntOfYear[e]+i;return e>1&&this.isLeapYear()&&n++,n}},{key:"determineDaysOfMonths",value:function(t,e){var i=30;switch(t=u.monthMod(t),!0){case this.months30.indexOf(t)>-1:2===t&&(i=this.isLeapYear(e)?29:28);break;case this.months31.indexOf(t)>-1:default:i=31}return i}}]),t}(),y=function(){function t(i){e(this,t),this.opts=i}return n(t,[{key:"line",value:function(){return{chart:{animations:{easing:"swing"}},dataLabels:{enabled:!1},stroke:{width:5,curve:"straight"},markers:{size:0,hover:{sizeOffset:6}},xaxis:{crosshairs:{width:1}}}}},{key:"sparkline",value:function(t){return this.opts.yaxis[0].labels.show=!1,this.opts.yaxis[0].floating=!0,u.extend(t,{grid:{show:!1,padding:{left:0,right:0,top:0,bottom:0}},legend:{show:!1},xaxis:{labels:{show:!1},tooltip:{enabled:!1},axisBorder:{show:!1}},chart:{toolbar:{show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1}})}},{key:"bar",value:function(){return{chart:{stacked:!1,animations:{easing:"swing"}},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{style:{colors:["#fff"]}},stroke:{width:0},fill:{opacity:.85},legend:{markers:{shape:"square",radius:2,size:8}},tooltip:{shared:!1},xaxis:{tooltip:{enabled:!1},crosshairs:{width:"barWidth",position:"back",fill:{type:"gradient"},dropShadow:{enabled:!1},stroke:{width:0}}}}}},{key:"candlestick",value:function(){return{stroke:{width:1,colors:["#333"]},dataLabels:{enabled:!1},tooltip:{shared:!0,custom:function(t){var e=t.seriesIndex,i=t.dataPointIndex,n=t.w;return'<div class="apexcharts-tooltip-candlestick"><div>Open: <span class="value">'+n.globals.seriesCandleO[e][i]+'</span></div><div>High: <span class="value">'+n.globals.seriesCandleH[e][i]+'</span></div><div>Low: <span class="value">'+n.globals.seriesCandleL[e][i]+'</span></div><div>Close: <span class="value">'+n.globals.seriesCandleC[e][i]+"</span></div></div>"}},states:{active:{filter:{type:"none"}}},xaxis:{crosshairs:{width:1}}}}},{key:"rangeBar",value:function(){return{stroke:{width:0},plotOptions:{bar:{dataLabels:{position:"center"}}},dataLabels:{enabled:!1,formatter:function(t,e){e.ctx;var i=e.seriesIndex,n=e.dataPointIndex,r=e.w,o=r.globals.seriesRangeStart[i][n];return r.globals.seriesRangeEnd[i][n]-o},style:{colors:["#fff"]}},tooltip:{shared:!1,followCursor:!0,custom:function(t){var e=t.ctx,i=t.seriesIndex,n=t.dataPointIndex,r=t.w,o=r.globals.seriesRangeStart[i][n],a=r.globals.seriesRangeEnd[i][n],s="",l="",c=r.globals.colors[i];if(void 0===r.config.tooltip.x.formatter)if("datetime"===r.config.xaxis.type){var u=new v(e);s=u.formatDate(new Date(o),r.config.tooltip.x.format,!0,!0),l=u.formatDate(new Date(a),r.config.tooltip.x.format,!0,!0)}else s=o,l=a;else s=r.config.tooltip.x.formatter(o),l=r.config.tooltip.x.formatter(a);var h=r.globals.labels[n];return'<div class="apexcharts-tooltip-rangebar"><div> <span class="series-name" style="color: '+c+'">'+(r.config.series[i].name?r.config.series[i].name:"")+'</span></div><div> <span class="category">'+h+': </span> <span class="value start-value">'+s+'</span> <span class="separator">-</span> <span class="value end-value">'+l+"</span></div></div>"}},xaxis:{tooltip:{enabled:!1},crosshairs:{stroke:{width:0}}}}}},{key:"area",value:function(){return{stroke:{width:4},fill:{type:"gradient",gradient:{inverseColors:!1,shade:"light",type:"vertical",opacityFrom:.65,opacityTo:.5,stops:[0,100,100]}},markers:{size:0,hover:{sizeOffset:6}},tooltip:{followCursor:!1}}}},{key:"brush",value:function(t){return u.extend(t,{chart:{toolbar:{autoSelected:"selection",show:!1},zoom:{enabled:!1}},dataLabels:{enabled:!1},stroke:{width:1},tooltip:{enabled:!1},xaxis:{tooltip:{enabled:!1}}})}},{key:"stacked100",value:function(){var t=this;this.opts.dataLabels=this.opts.dataLabels||{},this.opts.dataLabels.formatter=this.opts.dataLabels.formatter||void 0;var e=this.opts.dataLabels.formatter;this.opts.yaxis.forEach(function(e,i){t.opts.yaxis[i].min=0,t.opts.yaxis[i].max=100}),"bar"===this.opts.chart.type&&(this.opts.dataLabels.formatter=e||function(t){return"number"==typeof t&&t?t.toFixed(0)+"%":t})}},{key:"bubble",value:function(){return{dataLabels:{style:{colors:["#fff"]}},tooltip:{shared:!1,intersect:!0},xaxis:{crosshairs:{width:0}},fill:{type:"solid",gradient:{shade:"light",inverse:!0,shadeIntensity:.55,opacityFrom:.4,opacityTo:.8}}}}},{key:"scatter",value:function(){return{dataLabels:{enabled:!1},tooltip:{shared:!1,intersect:!0},markers:{size:6,strokeWidth:2,hover:{sizeOffset:2}}}}},{key:"heatmap",value:function(){return{chart:{stacked:!1,zoom:{enabled:!1}},fill:{opacity:1},dataLabels:{style:{colors:["#fff"]}},stroke:{colors:["#fff"]},tooltip:{followCursor:!0,marker:{show:!1},x:{show:!1}},legend:{position:"top",markers:{shape:"square",size:10,offsetY:2}},grid:{padding:{right:20}}}}},{key:"pie",value:function(){return{chart:{toolbar:{show:!1}},plotOptions:{pie:{donut:{labels:{show:!1}}}},dataLabels:{formatter:function(t){return t.toFixed(1)+"%"},style:{colors:["#fff"]},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"dark",shadeIntensity:.35,inverseColors:!1,stops:[0,100,100]}},padding:{right:0,left:0},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"donut",value:function(){return{chart:{toolbar:{show:!1}},dataLabels:{formatter:function(t){return t.toFixed(1)+"%"},style:{colors:["#fff"]},dropShadow:{enabled:!0}},stroke:{colors:["#fff"]},fill:{opacity:1,gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"vertical",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},padding:{right:0,left:0},tooltip:{theme:"dark",fillSeriesColor:!0},legend:{position:"right"}}}},{key:"radar",value:function(){return this.opts.yaxis[0].labels.style.fontSize="13px",this.opts.yaxis[0].labels.offsetY=6,{dataLabels:{enabled:!0,style:{colors:["#a8a8a8"],fontSize:"11px"}},stroke:{width:2},markers:{size:3,strokeWidth:1,strokeOpacity:1},fill:{opacity:.2},tooltip:{shared:!1,intersect:!0,followCursor:!0},grid:{show:!1},xaxis:{tooltip:{enabled:!1},crosshairs:{show:!1}}}}},{key:"radialBar",value:function(){return{chart:{animations:{dynamicAnimation:{enabled:!0,speed:800}},toolbar:{show:!1}},fill:{gradient:{shade:"dark",shadeIntensity:.4,inverseColors:!1,type:"diagonal2",opacityFrom:1,opacityTo:1,stops:[70,98,100]}},padding:{right:0,left:0},legend:{show:!1,position:"right"},tooltip:{enabled:!1,fillSeriesColor:!0}}}}],[{key:"convertCatToNumeric",value:function(t){t.xaxis.type="numeric",t.xaxis.convertedCatToNumeric=!0,t.xaxis.labels=t.xaxis.labels||{},t.xaxis.labels.formatter=t.xaxis.labels.formatter||function(t){return t},t.chart=t.chart||{},t.chart.zoom=t.chart.zoom||window.Apex.chart&&window.Apex.chart.zoom||{};var e=t.xaxis.labels.formatter,i=t.xaxis.categories&&t.xaxis.categories.length?t.xaxis.categories:t.labels;return i&&i.length&&(t.xaxis.labels.formatter=function(t){return e(i[t-1])}),t.xaxis.categories=[],t.labels=[],t.chart.zoom.enabled=t.chart.zoom.enabled||!1,t}}]),t}(),b=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"getStackedSeriesTotals",value:function(){for(var t=this.w,e=[],i=0;i<t.globals.series[t.globals.maxValsInArrayIndex].length;i++){for(var n=0,r=0;r<t.globals.series.length;r++)n+=t.globals.series[r][i];e.push(n)}return t.globals.stackedSeriesTotals=e,e}},{key:"getSeriesTotalByIndex",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===t?this.w.config.series.reduce(function(t,e){return t+e},0):this.w.globals.series[t].reduce(function(t,e){return t+e},0)}},{key:"isSeriesNull",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 0===(null===t?this.w.config.series.filter(function(t){return null!==t}):this.w.globals.series[t].filter(function(t){return null!==t})).length}},{key:"seriesHaveSameValues",value:function(t){return this.w.globals.series[t].every(function(t,e,i){return t===i[0]})}},{key:"getLargestSeries",value:function(){var t=this.w;t.globals.maxValsInArrayIndex=t.globals.series.map(function(t){return t.length}).indexOf(Math.max.apply(Math,t.globals.series.map(function(t){return t.length})))}},{key:"getLargestMarkerSize",value:function(){var t=this.w,e=0;return t.globals.markers.size.forEach(function(t){e=Math.max(e,t)}),t.globals.markers.largestSize=e,e}},{key:"getSeriesTotals",value:function(){var t=this.w;t.globals.seriesTotals=t.globals.series.map(function(t,e){var i=0;if(Array.isArray(t))for(var n=0;n<t.length;n++)i+=t[n];else i+=t;return i})}},{key:"getSeriesTotalsXRange",value:function(t,e){var i=this.w;return i.globals.series.map(function(n,r){for(var o=0,a=0;a<n.length;a++)i.globals.seriesX[r][a]>t&&i.globals.seriesX[r][a]<e&&(o+=n[a]);return o})}},{key:"getPercentSeries",value:function(){var t=this.w;t.globals.seriesPercent=t.globals.series.map(function(e,i){var n=[];if(Array.isArray(e))for(var r=0;r<e.length;r++){var o=t.globals.stackedSeriesTotals[r],a=100*e[r]/o;n.push(a)}else{var s=100*e/t.globals.seriesTotals.reduce(function(t,e){return t+e},0);n.push(s)}return n})}},{key:"getCalculatedRatios",value:function(){var t,e,i,n,r,o=this.w.globals,a=[],s=[],l=.1,c=0;if(o.yRange=[],o.isMultipleYAxis)for(var u=0;u<o.minYArr.length;u++)o.yRange.push(Math.abs(o.minYArr[u]-o.maxYArr[u])),s.push(0);else o.yRange.push(Math.abs(o.minY-o.maxY));o.xRange=Math.abs(o.maxX-o.minX),o.zRange=Math.abs(o.maxZ-o.minZ);for(var h=0;h<o.yRange.length;h++)a.push(o.yRange[h]/o.gridHeight);if(e=o.xRange/o.gridWidth,i=Math.abs(o.initialmaxX-o.initialminX)/o.gridWidth,t=o.yRange/o.gridWidth,n=o.xRange/o.gridHeight,r=o.zRange/o.gridHeight*16,o.minY!==Number.MIN_VALUE&&0!==Math.abs(o.minY)&&(o.hasNegs=!0),o.isMultipleYAxis){s=[];for(var d=0;d<a.length;d++)s.push(-o.minYArr[d]/a[d])}else s.push(-o.minY/a[0]),o.minY!==Number.MIN_VALUE&&0!==Math.abs(o.minY)&&(l=-o.minY/t,c=o.minX/e);return{yRatio:a,invertedYRatio:t,zRatio:r,xRatio:e,initialXRatio:i,invertedXRatio:n,baseLineInvertedY:l,baseLineY:s,baseLineX:c}}},{key:"getLogSeries",value:function(t){var e=this.w;return e.globals.seriesLog=t.map(function(t,i){return e.config.yaxis[i]&&e.config.yaxis[i].logarithmic?t.map(function(t){return null===t?null:(Math.log(t)-Math.log(e.globals.minYArr[i]))/(Math.log(e.globals.maxYArr[i])-Math.log(e.globals.minYArr[i]))}):t}),e.globals.seriesLog}},{key:"getLogYRatios",value:function(t){var e=this,i=this.w,n=this.w.globals;return n.yLogRatio=t.slice(),n.logYRange=n.yRange.map(function(t,r){if(i.config.yaxis[r]&&e.w.config.yaxis[r].logarithmic){var o,a=-Number.MAX_VALUE,s=Number.MIN_VALUE;return n.seriesLog.forEach(function(t,e){t.forEach(function(t){i.config.yaxis[e]&&i.config.yaxis[e].logarithmic&&(a=Math.max(t,a),s=Math.min(t,s))})}),o=Math.pow(n.yRange[r],Math.abs(s-a)/n.yRange[r]),n.yLogRatio[r]=o/n.gridHeight,o}}),n.yLogRatio}}],[{key:"checkComboSeries",value:function(t){var e=!1,i=!1;return t.length&&void 0!==t[0].type&&(e=!0,t.forEach(function(t){"bar"!==t.type&&"column"!==t.type||(i=!0)})),{comboCharts:e,comboChartsHasBars:i}}},{key:"extendArrayProps",value:function(t,e){return e.yaxis&&(e=t.extendYAxis(e)),e.annotations&&(e.annotations.yaxis&&(e=t.extendYAxisAnnotations(e)),e.annotations.xaxis&&(e=t.extendXAxisAnnotations(e)),e.annotations.points&&(e=t.extendPointAnnotations(e))),e}}]),t}(),L=function(){function i(t){e(this,i),this.opts=t}return n(i,[{key:"init",value:function(){var e=this.opts,i=new g,n=new y(e);this.chartType=e.chart.type,"histogram"===this.chartType&&(e.chart.type="bar",e=u.extend({plotOptions:{bar:{columnWidth:"99.99%"}}},e)),e.series=this.checkEmptySeries(e.series),e=this.extendYAxis(e),e=this.extendAnnotations(e);var r=i.init(),o={};if(e&&"object"===t(e)){var a={};switch(this.chartType){case"line":a=n.line();break;case"area":a=n.area();break;case"bar":a=n.bar();break;case"candlestick":a=n.candlestick();break;case"rangeBar":a=n.rangeBar();break;case"histogram":a=n.bar();break;case"bubble":a=n.bubble();break;case"scatter":a=n.scatter();break;case"heatmap":a=n.heatmap();break;case"pie":a=n.pie();break;case"donut":a=n.donut();break;case"radar":a=n.radar();break;case"radialBar":a=n.radialBar();break;default:a=n.line()}e.chart.brush&&e.chart.brush.enabled&&(a=n.brush(a)),e.chart.stacked&&"100%"===e.chart.stackType&&n.stacked100(),this.checkForDarkTheme(window.Apex),this.checkForDarkTheme(e),e.xaxis=e.xaxis||window.Apex.xaxis||{};var s=b.checkComboSeries(e.series);"line"!==e.chart.type&&"area"!==e.chart.type&&"scatter"!==e.chart.type||s.comboChartsHasBars||"datetime"===e.xaxis.type||"numeric"===e.xaxis.type||"between"===e.xaxis.tickPlacement||(e=y.convertCatToNumeric(e)),(e.chart.sparkline&&e.chart.sparkline.enabled||window.Apex.chart&&window.Apex.chart.sparkline&&window.Apex.chart.sparkline.enabled)&&(a=n.sparkline(a)),o=u.extend(r,a)}var l=u.extend(o,window.Apex);return r=u.extend(l,e),this.handleUserInputErrors(r)}},{key:"extendYAxis",value:function(t){var e=new g;return void 0===t.yaxis&&(t.yaxis={}),t.yaxis.constructor!==Array&&window.Apex.yaxis&&window.Apex.yaxis.constructor!==Array&&(t.yaxis=u.extend(t.yaxis,window.Apex.yaxis)),t.yaxis.constructor!==Array?t.yaxis=[u.extend(e.yAxis,t.yaxis)]:t.yaxis=u.extendArray(t.yaxis,e.yAxis),t}},{key:"extendAnnotations",value:function(t){return void 0===t.annotations&&(t.annotations={},t.annotations.yaxis=[],t.annotations.xaxis=[],t.annotations.points=[]),t=this.extendYAxisAnnotations(t),t=this.extendXAxisAnnotations(t),this.extendPointAnnotations(t)}},{key:"extendYAxisAnnotations",value:function(t){var e=new g;return t.annotations.yaxis=u.extendArray(void 0!==t.annotations.yaxis?t.annotations.yaxis:[],e.yAxisAnnotation),t}},{key:"extendXAxisAnnotations",value:function(t){var e=new g;return t.annotations.xaxis=u.extendArray(void 0!==t.annotations.xaxis?t.annotations.xaxis:[],e.xAxisAnnotation),t}},{key:"extendPointAnnotations",value:function(t){var e=new g;return t.annotations.points=u.extendArray(void 0!==t.annotations.points?t.annotations.points:[],e.pointAnnotation),t}},{key:"checkForDarkTheme",value:function(t){t.theme&&"dark"===t.theme.mode&&(t.tooltip||(t.tooltip={}),"light"!==t.tooltip.theme&&(t.tooltip.theme="dark"),t.chart.foreColor||(t.chart.foreColor="#f6f7f8"),t.theme.palette||(t.theme.palette="palette4"))}},{key:"checkEmptySeries",value:function(t){return 0===t.length?[{data:[]}]:t}},{key:"handleUserInputErrors",value:function(t){var e=t;if(e.tooltip.shared&&e.tooltip.intersect)throw new Error("tooltip.shared cannot be enabled when tooltip.intersect is true. Turn off any other option by setting it to false.");if(e.chart.scroller&&console.warn("Scroller has been deprecated since v2.0.0. Please remove the configuration for chart.scroller"),("bar"===e.chart.type||"rangeBar"===e.chart.type)&&e.plotOptions.bar.horizontal){if(e.yaxis.length>1)throw new Error("Multiple Y Axis for bars are not supported. Switch to column chart by setting plotOptions.bar.horizontal=false");e.yaxis[0].reversed&&(e.yaxis[0].opposite=!0),e.xaxis.tooltip.enabled=!1,e.yaxis[0].tooltip.enabled=!1,e.chart.zoom.enabled=!1}return"bar"!==e.chart.type&&"rangeBar"!==e.chart.type||e.tooltip.shared&&("barWidth"===e.xaxis.crosshairs.width&&e.series.length>1&&(console.warn('crosshairs.width = "barWidth" is only supported in single series, not in a multi-series barChart.'),e.xaxis.crosshairs.width="tickWidth"),e.plotOptions.bar.horizontal&&(e.states.hover.type="none",e.tooltip.shared=!1),e.tooltip.followCursor||(console.warn("followCursor option in shared columns cannot be turned off. Please set %ctooltip.followCursor: true","color: blue;"),e.tooltip.followCursor=!0)),"candlestick"===e.chart.type&&e.yaxis[0].reversed&&(console.warn("Reversed y-axis in candlestick chart is not supported."),e.yaxis[0].reversed=!1),e.chart.group&&0===e.yaxis[0].labels.minWidth&&console.warn("It looks like you have multiple charts in synchronization. You must provide yaxis.labels.minWidth which must be EQUAL for all grouped charts to prevent incorrect behaviour."),Array.isArray(e.stroke.width)&&"line"!==e.chart.type&&"area"!==e.chart.type&&(console.warn("stroke.width option accepts array only for line and area charts. Reverted back to Number"),e.stroke.width=e.stroke.width[0]),e}}]),i}(),x=function(){function t(){e(this,t)}return n(t,[{key:"globalVars",value:function(t){return{chartID:null,cuid:null,events:{beforeMount:[],mounted:[],updated:[],clicked:[],selection:[],dataPointSelection:[],zoomed:[],scrolled:[]},colors:[],clientX:null,clientY:null,fill:{colors:[]},stroke:{colors:[]},dataLabels:{style:{colors:[]}},radarPolygons:{fill:{colors:[]}},markers:{colors:[],size:t.markers.size,largestSize:0},animationEnded:!1,isTouchDevice:"ontouchstart"in window||navigator.msMaxTouchPoints,isDirty:!1,isExecCalled:!1,initialConfig:null,lastXAxis:[],lastYAxis:[],series:[],seriesRangeStart:[],seriesRangeEnd:[],seriesPercent:[],seriesTotals:[],stackedSeriesTotals:[],seriesX:[],seriesZ:[],labels:[],timelineLabels:[],invertedTimelineLabels:[],seriesNames:[],noLabelsProvided:!1,allSeriesCollapsed:!1,collapsedSeries:[],collapsedSeriesIndices:[],ancillaryCollapsedSeries:[],ancillaryCollapsedSeriesIndices:[],risingSeries:[],dataFormatXNumeric:!1,selectedDataPoints:[],ignoreYAxisIndexes:[],padHorizontal:0,maxValsInArrayIndex:0,radialSize:0,zoomEnabled:"zoom"===t.chart.toolbar.autoSelected&&t.chart.toolbar.tools.zoom&&t.chart.zoom.enabled,panEnabled:"pan"===t.chart.toolbar.autoSelected&&t.chart.toolbar.tools.pan,selectionEnabled:"selection"===t.chart.toolbar.autoSelected&&t.chart.toolbar.tools.selection,yaxis:null,minY:Number.MIN_VALUE,maxY:-Number.MAX_VALUE,minYArr:[],maxYArr:[],maxX:-Number.MAX_VALUE,initialmaxX:-Number.MAX_VALUE,minX:Number.MIN_VALUE,initialminX:Number.MIN_VALUE,minZ:Number.MIN_VALUE,maxZ:-Number.MAX_VALUE,minXDiff:Number.MAX_VALUE,mousedown:!1,lastClientPosition:{},visibleXRange:void 0,yRange:[],zRange:0,xRange:0,yValueDecimal:0,total:0,SVGNS:"http://www.w3.org/2000/svg",svgWidth:0,svgHeight:0,noData:!1,locale:{},dom:{},memory:{methodsToExec:[]},shouldAnimate:!0,skipLastTimelinelabel:!1,delayedElements:[],axisCharts:!0,isXNumeric:!1,isDataXYZ:!1,resized:!1,resizeTimer:null,comboCharts:!1,comboChartsHasBars:!1,dataChanged:!1,previousPaths:[],seriesXvalues:[],seriesYvalues:[],seriesCandleO:[],seriesCandleH:[],seriesCandleL:[],seriesCandleC:[],allSeriesHasEqualX:!0,dataPoints:0,pointsArray:[],dataLabelsRects:[],lastDrawnDataLabelsIndexes:[],hasNullValues:!1,easing:null,zoomed:!1,gridWidth:0,gridHeight:0,yAxisScale:[],xAxisScale:null,xAxisTicksPositions:[],timescaleTicks:[],rotateXLabels:!1,defaultLabels:!1,xLabelFormatter:void 0,yLabelFormatters:[],xaxisTooltipFormatter:void 0,ttKeyFormatter:void 0,ttVal:void 0,ttZFormatter:void 0,LINE_HEIGHT_RATIO:1.618,xAxisLabelsHeight:0,yAxisLabelsWidth:0,scaleX:1,scaleY:1,translateX:0,translateY:0,translateYAxisX:[],yLabelsCoords:[],yTitleCoords:[],yAxisWidths:[],translateXAxisY:0,translateXAxisX:0,tooltip:null,tooltipOpts:null}}},{key:"init",value:function(t){var e=this.globalVars(t);return e.initialConfig=u.extend({},t),e.initialSeries=JSON.parse(JSON.stringify(e.initialConfig.series)),e.lastXAxis=JSON.parse(JSON.stringify(e.initialConfig.xaxis)),e.lastYAxis=JSON.parse(JSON.stringify(e.initialConfig.yaxis)),e}}]),t}(),w=function(){function t(i){e(this,t),this.opts=i}return n(t,[{key:"init",value:function(){var t=new L(this.opts).init();return{config:t,globals:(new x).init(t)}}}]),t}(),_=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.opts=null,this.seriesIndex=0}return n(t,[{key:"clippedImgArea",value:function(t){var e=this.w,i=e.config,n=parseInt(e.globals.gridWidth),r=parseInt(e.globals.gridHeight),o=n>r?n:r,a=t.image,s=0,l=0;void 0===t.width&&void 0===t.height?void 0!==i.fill.image.width&&void 0!==i.fill.image.height?(s=i.fill.image.width+1,l=i.fill.image.height):(s=o+1,l=o):(s=t.width,l=t.height);var c=document.createElementNS(e.globals.SVGNS,"pattern");f.setAttrs(c,{id:t.patternID,patternUnits:t.patternUnits?t.patternUnits:"userSpaceOnUse",width:s+"px",height:l+"px"});var u=document.createElementNS(e.globals.SVGNS,"image");c.appendChild(u),u.setAttributeNS("http://www.w3.org/1999/xlink","href",a),f.setAttrs(u,{x:0,y:0,preserveAspectRatio:"none",width:s+"px",height:l+"px"}),u.style.opacity=t.opacity,e.globals.dom.elDefs.node.appendChild(c)}},{key:"getSeriesIndex",value:function(t){var e=this.w;return"bar"===e.config.chart.type&&e.config.plotOptions.bar.distributed||"heatmap"===e.config.chart.type?this.seriesIndex=t.seriesNumber:this.seriesIndex=t.seriesNumber%e.globals.series.length,this.seriesIndex}},{key:"fillPath",value:function(t){var e=this.w;this.opts=t;var i,n,r,o=this.w.config;this.seriesIndex=this.getSeriesIndex(t);var a=this.getFillColors(),s=a[this.seriesIndex];"function"==typeof s&&(s=s({seriesIndex:this.seriesIndex,value:t.value,w:e}));var l=this.getFillType(this.seriesIndex),c=Array.isArray(o.fill.opacity)?o.fill.opacity[this.seriesIndex]:o.fill.opacity,h=s;return t.color&&(s=t.color),-1===s.indexOf("rgb")?h=u.hexToRgba(s,c):s.indexOf("rgba")>-1&&(c="0."+u.getOpacityFromRGBA(a[this.seriesIndex])),"pattern"===l&&(n=this.handlePatternFill(n,s,c,h)),"gradient"===l&&(r=this.handleGradientFill(r,s,c,this.seriesIndex)),o.fill.image.src.length>0&&"image"===l?t.seriesNumber<o.fill.image.src.length?(this.clippedImgArea({opacity:c,image:o.fill.image.src[t.seriesNumber],patternUnits:t.patternUnits,patternID:"pattern".concat(e.globals.cuid).concat(t.seriesNumber+1)}),i="url(#pattern".concat(e.globals.cuid).concat(t.seriesNumber+1,")")):i=h:i="gradient"===l?r:"pattern"===l?n:h,t.solid&&(i=h),i}},{key:"getFillType",value:function(t){var e=this.w;return Array.isArray(e.config.fill.type)?e.config.fill.type[t]:e.config.fill.type}},{key:"getFillColors",value:function(){var t=this.w,e=t.config,i=this.opts,n=[];return t.globals.comboCharts?"line"===t.config.series[this.seriesIndex].type?t.globals.stroke.colors instanceof Array?n=t.globals.stroke.colors:n.push(t.globals.stroke.colors):t.globals.fill.colors instanceof Array?n=t.globals.fill.colors:n.push(t.globals.fill.colors):"line"===e.chart.type?t.globals.stroke.colors instanceof Array?n=t.globals.stroke.colors:n.push(t.globals.stroke.colors):t.globals.fill.colors instanceof Array?n=t.globals.fill.colors:n.push(t.globals.fill.colors),void 0!==i.fillColors&&(n=[],i.fillColors instanceof Array?n=i.fillColors.slice():n.push(i.fillColors)),n}},{key:"handlePatternFill",value:function(t,e,i,n){var r=this.w.config,o=this.opts,a=new f(this.ctx),s=void 0===r.fill.pattern.strokeWidth?Array.isArray(r.stroke.width)?r.stroke.width[this.seriesIndex]:r.stroke.width:Array.isArray(r.fill.pattern.strokeWidth)?r.fill.pattern.strokeWidth[this.seriesIndex]:r.fill.pattern.strokeWidth,l=e;return r.fill.pattern.style instanceof Array?void 0!==r.fill.pattern.style[o.seriesNumber]?a.drawPattern(r.fill.pattern.style[o.seriesNumber],r.fill.pattern.width,r.fill.pattern.height,l,s,i):n:a.drawPattern(r.fill.pattern.style,r.fill.pattern.width,r.fill.pattern.height,l,s,i)}},{key:"handleGradientFill",value:function(t,e,i,n){var r,o,a=this.w.config,s=this.opts,l=new f(this.ctx),c=new u,h=a.fill.gradient.type,d=void 0===a.fill.gradient.opacityFrom?i:Array.isArray(a.fill.gradient.opacityFrom)?a.fill.gradient.opacityFrom[n]:a.fill.gradient.opacityFrom,p=void 0===a.fill.gradient.opacityTo?i:Array.isArray(a.fill.gradient.opacityTo)?a.fill.gradient.opacityTo[n]:a.fill.gradient.opacityTo;if(r=e,o=void 0===a.fill.gradient.gradientToColors||0===a.fill.gradient.gradientToColors.length?"dark"===a.fill.gradient.shade?c.shadeColor(-1*parseFloat(a.fill.gradient.shadeIntensity),e):c.shadeColor(parseFloat(a.fill.gradient.shadeIntensity),e):a.fill.gradient.gradientToColors[s.seriesNumber],a.fill.gradient.inverseColors){var g=r;r=o,o=g}return l.drawGradient(h,r,o,d,p,s.size,a.fill.gradient.stops,a.fill.gradient.colorStops,n)}}]),t}(),S=function(){function t(i,n){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"setGlobalMarkerSize",value:function(){var t=this.w;if(t.globals.markers.size=Array.isArray(t.config.markers.size)?t.config.markers.size:[t.config.markers.size],t.globals.markers.size.length>0){if(t.globals.markers.size.length<t.globals.series.length+1)for(var e=0;e<=t.globals.series.length;e++)void 0===t.globals.markers.size[e]&&t.globals.markers.size.push(t.globals.markers.size[0])}else t.globals.markers.size=t.config.series.map(function(e){return t.config.markers.size})}},{key:"plotChartMarkers",value:function(t,e,i){var n,r=this,o=this.w,a=e,s=t,l=null,c=new f(this.ctx);if(o.globals.markers.size[e]>0&&(l=c.group({class:"apexcharts-series-markers"})).attr("clip-path","url(#gridRectMarkerMask".concat(o.globals.cuid,")")),s.x instanceof Array)for(var d=function(t){var d=i;1===i&&0===t&&(d=0),1===i&&1===t&&(d=1);var f="apexcharts-marker";if("line"!==o.config.chart.type&&"area"!==o.config.chart.type||o.globals.comboCharts||o.config.tooltip.intersect||(f+=" no-pointer-events"),Array.isArray(o.config.markers.size)?o.globals.markers.size[e]>0:o.config.markers.size>0){u.isNumber(s.y[t])?f+=" w".concat((Math.random()+1).toString(36).substring(4)):f="apexcharts-nullpoint";var p=r.getMarkerConfig(f,e);o.config.markers.discrete.map(function(t){t.seriesIndex===e&&t.dataPointIndex===d&&(p.pointStrokeColor=t.strokeColor,p.pointFillColor=t.fillColor,p.pSize=t.size)}),o.config.series[a].data[i]&&(o.config.series[a].data[i].fillColor&&(p.pointFillColor=o.config.series[a].data[i].fillColor),o.config.series[a].data[i].strokeColor&&(p.pointStrokeColor=o.config.series[a].data[i].strokeColor)),(n=c.drawMarker(s.x[t],s.y[t],p)).attr("rel",d),n.attr("j",d),n.attr("index",e),n.node.setAttribute("default-marker-size",p.pSize),new h(r.ctx).setSelectionFilter(n,e,d),r.addEvents(n),l&&l.add(n)}else void 0===o.globals.pointsArray[e]&&(o.globals.pointsArray[e]=[]),o.globals.pointsArray[e].push([s.x[t],s.y[t]])},p=0;p<s.x.length;p++)d(p);return l}},{key:"getMarkerConfig",value:function(t,e){var i=this.w,n=this.getMarkerStyle(e);return{pSize:i.globals.markers.size[e],pRadius:i.config.markers.radius,pWidth:i.config.markers.strokeWidth,pointStrokeColor:n.pointStrokeColor,pointFillColor:n.pointFillColor,shape:i.config.markers.shape instanceof Array?i.config.markers.shape[e]:i.config.markers.shape,class:t,pointStrokeOpacity:i.config.markers.strokeOpacity,pointFillOpacity:i.config.markers.fillOpacity,seriesIndex:e}}},{key:"addEvents",value:function(t){var e=new f(this.ctx);t.node.addEventListener("mouseenter",e.pathMouseEnter.bind(this.ctx,t)),t.node.addEventListener("mouseleave",e.pathMouseLeave.bind(this.ctx,t)),t.node.addEventListener("mousedown",e.pathMouseDown.bind(this.ctx,t)),t.node.addEventListener("touchstart",e.pathMouseDown.bind(this.ctx,t),{passive:!0})}},{key:"getMarkerStyle",value:function(t){var e=this.w,i=e.globals.markers.colors,n=e.config.markers.strokeColor||e.config.markers.strokeColors;return{pointStrokeColor:n instanceof Array?n[t]:n,pointFillColor:i instanceof Array?i[t]:i}}}]),t}(),C=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.radiusSizes=[]}return n(t,[{key:"draw",value:function(t,e,i){var n=this.w,r=new f(this.ctx),o=i.realIndex,a=i.pointsPos,s=i.zRatio,l=i.elParent,c=r.group({class:"apexcharts-series-markers apexcharts-series-".concat(n.config.chart.type)});if(c.attr("clip-path","url(#gridRectMarkerMask".concat(n.globals.cuid,")")),a.x instanceof Array)for(var u=0;u<a.x.length;u++){var h=e+1,d=!0;0===e&&0===u&&(h=0),0===e&&1===u&&(h=1);var p=0,g=n.globals.markers.size[o];s!==1/0&&(g=n.globals.seriesZ[o][h]/s,void 0===this.radiusSizes[o]&&this.radiusSizes.push([]),this.radiusSizes[o].push(g)),n.config.chart.animations.enabled||(p=g);var m=a.x[u],v=a.y[u];if(p=p||0,(0===m&&0===v||null===v||void 0===n.globals.series[o][h])&&(d=!1),d){var y=this.drawPoint(m,v,p,g,o,h,e);c.add(y)}l.add(c)}}},{key:"drawPoint",value:function(t,e,i,n,r,o,a){var s=this.w,l=r,c=new d(this.ctx),u=new h(this.ctx),p=new _(this.ctx),g=new S(this.ctx),m=new f(this.ctx),v=g.getMarkerConfig("apexcharts-marker",l),y=p.fillPath({seriesNumber:r,patternUnits:"objectBoundingBox",value:s.globals.series[r][a]}),b=m.drawCircle(i);if(s.config.series[l].data[o]&&s.config.series[l].data[o].fillColor&&(y=s.config.series[l].data[o].fillColor),b.attr({cx:t,cy:e,fill:y,stroke:v.pointStrokeColor,strokeWidth:v.pWidth}),s.config.chart.dropShadow.enabled){var L=s.config.chart.dropShadow;u.dropShadow(b,L,r)}if(this.initialAnim&&!s.globals.dataChanged){var x=1;s.globals.resized||(x=s.config.chart.animations.speed),c.animateCircleRadius(b,0,n,x,s.globals.easing)}if(s.globals.dataChanged)if(this.dynamicAnim){var w,C,k,T,E=s.config.chart.animations.dynamicAnimation.speed;null!=(T=s.globals.previousPaths[r]&&s.globals.previousPaths[r][a])&&(w=T.x,C=T.y,k=void 0!==T.r?T.r:n);for(var A=0;A<s.globals.collapsedSeries.length;A++)s.globals.collapsedSeries[A].index===r&&(E=1,n=0);0===t&&0===e&&(n=0),c.animateCircle(b,{cx:w,cy:C,r:k},{cx:t,cy:e,r:n},E,s.globals.easing)}else b.attr({r:n});return b.attr({rel:o,j:o,index:r,"default-marker-size":n}),u.setSelectionFilter(b,r,o),g.addEvents(b),b.node.classList.add("apexcharts-marker"),b}},{key:"centerTextInBubble",value:function(t){var e=this.w;return{y:t+=parseInt(e.config.dataLabels.style.fontSize)/4}}}]),t}(),k=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"dataLabelsCorrection",value:function(t,e,i,n,r,o,a){var s=this.w,l=!1,c=new f(this.ctx).getTextRects(i,a),u=c.width,h=c.height;void 0===s.globals.dataLabelsRects[n]&&(s.globals.dataLabelsRects[n]=[]),s.globals.dataLabelsRects[n].push({x:t,y:e,width:u,height:h});var d=s.globals.dataLabelsRects[n].length-2,p=void 0!==s.globals.lastDrawnDataLabelsIndexes[n]?s.globals.lastDrawnDataLabelsIndexes[n][s.globals.lastDrawnDataLabelsIndexes[n].length-1]:0;if(void 0!==s.globals.dataLabelsRects[n][d]){var g=s.globals.dataLabelsRects[n][p];(t>g.x+g.width+2||e>g.y+g.height+2||t+u<g.x)&&(l=!0)}return(0===r||o)&&(l=!0),{x:t,y:e,drawnextLabel:l}}},{key:"drawDataLabel",value:function(t,e,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"top",r=this.w,o=new f(this.ctx),a=r.config.dataLabels,s=0,l=0,c=i,u=null;if(!a.enabled||t.x instanceof Array!=1)return u;(u=o.group({class:"apexcharts-data-labels"})).attr("clip-path","url(#gridRectMarkerMask".concat(r.globals.cuid,")"));for(var h=0;h<t.x.length;h++)if(s=t.x[h]+a.offsetX,l=t.y[h]+a.offsetY-r.globals.markers.size[e]-5,"bottom"===n&&(l=l+2*r.globals.markers.size[e]+1.4*parseInt(a.style.fontSize)),!isNaN(s)){1===i&&0===h&&(c=0),1===i&&1===h&&(c=1);var d=r.globals.series[e][c],p="";"bubble"===r.config.chart.type?(p=r.globals.seriesZ[e][c],l=t.y[h]+r.config.dataLabels.offsetY,l=new C(this.ctx).centerTextInBubble(l,e,c).y):void 0!==d&&(p=r.config.dataLabels.formatter(d,{ctx:this.ctx,seriesIndex:e,dataPointIndex:c,w:r})),this.plotDataLabelsText({x:s,y:l,text:p,i:e,j:c,parent:u,offsetCorrection:!0,dataLabelsConfig:r.config.dataLabels})}return u}},{key:"plotDataLabelsText",value:function(t){var e=this.w,i=new f(this.ctx),n=t.x,r=t.y,o=t.i,a=t.j,s=t.text,l=t.textAnchor,c=t.parent,u=t.dataLabelsConfig,d=t.alwaysDrawDataLabel,p=t.offsetCorrection;if(!(Array.isArray(e.config.dataLabels.enabledOnSeries)&&e.config.dataLabels.enabledOnSeries.indexOf(o)>-1)){var g={x:n,y:r,drawnextLabel:!0};if(p&&(g=this.dataLabelsCorrection(n,r,s,o,a,d,parseInt(u.style.fontSize))),e.globals.zoomed||(n=g.x,r=g.y),g.drawnextLabel){var m=i.drawText({width:100,height:parseInt(u.style.fontSize),x:n,y:r,foreColor:e.globals.dataLabels.style.colors[o],textAnchor:l||u.textAnchor,text:s,fontSize:u.style.fontSize,fontFamily:u.style.fontFamily});if(m.attr({class:"apexcharts-datalabel",cx:n,cy:r}),u.dropShadow.enabled){var v=u.dropShadow;new h(this.ctx).dropShadow(m,v)}c.add(m),void 0===e.globals.lastDrawnDataLabelsIndexes[o]&&(e.globals.lastDrawnDataLabelsIndexes[o]=[]),e.globals.lastDrawnDataLabelsIndexes[o].push(a)}}}}]),t}(),T=function(){function t(i,n){e(this,t),this.ctx=i,this.w=i.w;var r=this.w;this.barOptions=r.config.plotOptions.bar,this.isHorizontal=this.barOptions.horizontal,this.strokeWidth=r.config.stroke.width,this.isNullValue=!1,this.xyRatios=n,null!==this.xyRatios&&(this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.invertedXRatio=n.invertedXRatio,this.invertedYRatio=n.invertedYRatio,this.baseLineY=n.baseLineY,this.baseLineInvertedY=n.baseLineInvertedY),this.yaxisIndex=0,this.seriesLen=0}return n(t,[{key:"draw",value:function(t,e){var i=this.w,n=new f(this.ctx),r=new b(this.ctx,i);t=r.getLogSeries(t),this.series=t,this.yRatio=r.getLogYRatios(this.yRatio),this.initVariables(t);var o=n.group({class:"apexcharts-bar-series apexcharts-plot-series"});i.config.dataLabels.enabled&&this.totalItems>i.config.plotOptions.bar.dataLabels.maxItems&&console.warn("WARNING: DataLabels are enabled but there are too many to display. This may cause performance issue when rendering.");for(var a=0,s=0;a<t.length;a++,s++){var l,c,h,d,p=void 0,g=void 0,m=void 0,v=void 0,y=[],L=[],x=i.globals.comboCharts?e[a]:a,w=n.group({class:"apexcharts-series",rel:a+1,seriesName:u.escapeString(i.globals.seriesNames[x]),"data:realIndex":x});this.ctx.series.addCollapsedClassToSeries(w,x),t[a].length>0&&(this.visibleI=this.visibleI+1);var _=0,S=0,C=0;this.yRatio.length>1&&(this.yaxisIndex=x),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed;var k=this.initialPositions();v=k.y,S=k.barHeight,c=k.yDivision,d=k.zeroW,m=k.x,C=k.barWidth,l=k.xDivision,h=k.zeroH,this.horizontal||L.push(m+C/2);for(var T=n.group({class:"apexcharts-datalabels"}),E=0,A=i.globals.dataPoints;E<i.globals.dataPoints;E++,A--){void 0===this.series[a][E]||null===t[a][E]?this.isNullValue=!0:this.isNullValue=!1,i.config.stroke.show&&(_=this.isNullValue?0:Array.isArray(this.strokeWidth)?this.strokeWidth[x]:this.strokeWidth);var M=null;this.isHorizontal?(M=this.drawBarPaths({indexes:{i:a,j:E,realIndex:x,bc:s},barHeight:S,strokeWidth:_,pathTo:p,pathFrom:g,zeroW:d,x:m,y:v,yDivision:c,elSeries:w}),C=this.series[a][E]/this.invertedYRatio):(M=this.drawColumnPaths({indexes:{i:a,j:E,realIndex:x,bc:s},x:m,y:v,xDivision:l,pathTo:p,pathFrom:g,barWidth:C,zeroH:h,strokeWidth:_,elSeries:w}),S=this.series[a][E]/this.yRatio[this.yaxisIndex]),p=M.pathTo,g=M.pathFrom,v=M.y,m=M.x,E>0&&L.push(m+C/2),y.push(v);var D=this.getPathFillColor(t,a,E,x);w=this.renderSeries({realIndex:x,pathFill:D,j:E,i:a,pathFrom:g,pathTo:p,strokeWidth:_,elSeries:w,x:m,y:v,series:t,barHeight:S,barWidth:C,elDataLabelsWrap:T,visibleSeries:this.visibleI,type:"bar"})}i.globals.seriesXvalues[x]=L,i.globals.seriesYvalues[x]=y,o.add(w)}return o}},{key:"getPathFillColor",value:function(t,e,i,n){var r=this.w,o=new _(this.ctx),a=null,s=this.barOptions.distributed?i:e;return this.barOptions.colors.ranges.length>0&&this.barOptions.colors.ranges.map(function(n){t[e][i]>=n.from&&t[e][i]<=n.to&&(a=n.color)}),r.config.series[e].data[i]&&r.config.series[e].data[i].fillColor&&(a=r.config.series[e].data[i].fillColor),o.fillPath({seriesNumber:this.barOptions.distributed?s:n,color:a,value:t[e][i]})}},{key:"renderSeries",value:function(t){var e=t.realIndex,i=t.pathFill,n=t.lineFill,r=t.j,o=t.i,a=t.pathFrom,s=t.pathTo,l=t.strokeWidth,c=t.elSeries,u=t.x,d=t.y,p=t.series,g=t.barHeight,m=t.barWidth,v=t.elDataLabelsWrap,y=t.visibleSeries,b=t.type,L=this.w,x=new f(this.ctx);n||(n=this.barOptions.distributed?L.globals.stroke.colors[r]:L.globals.stroke.colors[e]),L.config.series[o].data[r]&&L.config.series[o].data[r].strokeColor&&(n=L.config.series[o].data[r].strokeColor),this.isNullValue&&(i="none");var w=r/L.config.chart.animations.animateGradually.delay*(L.config.chart.animations.speed/L.globals.dataPoints)/2.4,_=x.renderPaths({i:o,j:r,realIndex:e,pathFrom:a,pathTo:s,stroke:n,strokeWidth:l,strokeLineCap:L.config.stroke.lineCap,fill:i,animationDelay:w,initialSpeed:L.config.chart.animations.speed,dataChangeSpeed:L.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(b,"-area"),id:"apexcharts-".concat(b,"-area")});_.attr("clip-path","url(#gridRectMask".concat(L.globals.cuid,")")),new h(this.ctx).setSelectionFilter(_,e,r),c.add(_);var S=this.calculateDataLabelsPos({x:u,y:d,i:o,j:r,series:p,realIndex:e,barHeight:g,barWidth:m,renderedPath:_,visibleSeries:y});return null!==S&&v.add(S),c.add(v),c}},{key:"initVariables",value:function(t){var e=this.w;this.series=t,this.totalItems=0,this.seriesLen=0,this.visibleI=-1,this.visibleItems=1;for(var i=0;i<t.length;i++)if(t[i].length>0&&(this.seriesLen=this.seriesLen+1,this.totalItems+=t[i].length),e.globals.isXNumeric)for(var n=0;n<t[i].length;n++)e.globals.seriesX[i][n]>e.globals.minX&&e.globals.seriesX[i][n]<e.globals.maxX&&this.visibleItems++;else this.visibleItems=e.globals.dataPoints;0===this.seriesLen&&(this.seriesLen=1)}},{key:"initialPositions",value:function(){var t,e,i,n,r,o,a,s,l=this.w;return this.isHorizontal?(r=(i=l.globals.gridHeight/l.globals.dataPoints)/this.seriesLen,l.globals.isXNumeric&&(r=(i=l.globals.gridHeight/this.totalItems)/this.seriesLen),r=r*parseInt(this.barOptions.barHeight)/100,s=this.baseLineInvertedY+l.globals.padHorizontal+(this.isReversed?l.globals.gridWidth:0)-(this.isReversed?2*this.baseLineInvertedY:0),e=(i-r*this.seriesLen)/2):(o=(n=l.globals.gridWidth/this.visibleItems)/this.seriesLen*parseInt(this.barOptions.columnWidth)/100,l.globals.isXNumeric&&(o=(n=l.globals.minXDiff/this.xRatio)/this.seriesLen*parseInt(this.barOptions.columnWidth)/100),a=l.globals.gridHeight-this.baseLineY[this.yaxisIndex]-(this.isReversed?l.globals.gridHeight:0)+(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),t=l.globals.padHorizontal+(n-o*this.seriesLen)/2),{x:t,y:e,yDivision:i,xDivision:n,barHeight:r,barWidth:o,zeroH:a,zeroW:s}}},{key:"drawBarPaths",value:function(t){var e=t.indexes,i=t.barHeight,n=t.strokeWidth,r=t.pathTo,o=t.pathFrom,a=t.zeroW,s=t.x,l=t.y,c=t.yDivision,u=t.elSeries,h=this.w,d=new f(this.ctx),p=e.i,g=e.j,m=e.realIndex,v=e.bc;h.globals.isXNumeric&&(l=(h.globals.seriesX[p][g]-h.globals.minX)/this.invertedXRatio-i);var y=l+i*this.visibleI;r=d.move(a,y),o=d.move(a,y),h.globals.previousPaths.length>0&&(o=this.getPathFrom(m,g));var b={barHeight:i,strokeWidth:n,barYPosition:y,x:s=void 0===this.series[p][g]||null===this.series[p][g]?a:a+this.series[p][g]/this.invertedYRatio-2*(this.isReversed?this.series[p][g]/this.invertedYRatio:0),zeroW:a},L=this.barEndingShape(h,b,this.series,p,g);if(r=r+d.line(L.newX,y)+L.path+d.line(a,y+i-n)+d.line(a,y),o=o+d.line(a,y)+L.ending_p_from+d.line(a,y+i-n)+d.line(a,y+i-n)+d.line(a,y),h.globals.isXNumeric||(l+=c),this.barOptions.colors.backgroundBarColors.length>0&&0===p){v>=this.barOptions.colors.backgroundBarColors.length&&(v=0);var x=this.barOptions.colors.backgroundBarColors[v],w=d.drawRect(0,y-i*this.visibleI,h.globals.gridWidth,i*this.seriesLen,0,x,this.barOptions.colors.backgroundBarOpacity);u.add(w),w.node.classList.add("apexcharts-backgroundBar")}return{pathTo:r,pathFrom:o,x:s,y:l,barYPosition:y}}},{key:"drawColumnPaths",value:function(t){var e=t.indexes,i=t.x,n=t.y,r=t.xDivision,o=t.pathTo,a=t.pathFrom,s=t.barWidth,l=t.zeroH,c=t.strokeWidth,u=t.elSeries,h=this.w,d=new f(this.ctx),p=e.i,g=e.j,m=e.realIndex,v=e.bc;h.globals.isXNumeric&&(i=(h.globals.seriesX[p][g]-h.globals.minX)/this.xRatio-s/2);var y=i+s*this.visibleI;o=d.move(y,l),a=d.move(y,l),h.globals.previousPaths.length>0&&(a=this.getPathFrom(m,g));var b={barWidth:s,strokeWidth:c,barXPosition:y,y:n=void 0===this.series[p][g]||null===this.series[p][g]?l:l-this.series[p][g]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[p][g]/this.yRatio[this.yaxisIndex]:0),zeroH:l},L=this.barEndingShape(h,b,this.series,p,g);if(o=o+d.line(y,L.newY)+L.path+d.line(y+s-c,l)+d.line(y-c/2,l),a=a+d.line(y,l)+L.ending_p_from+d.line(y+s-c,l)+d.line(y+s-c,l)+d.line(y-c/2,l),h.globals.isXNumeric||(i+=r),this.barOptions.colors.backgroundBarColors.length>0&&0===p){v>=this.barOptions.colors.backgroundBarColors.length&&(v=0);var x=this.barOptions.colors.backgroundBarColors[v],w=d.drawRect(y-s*this.visibleI,0,s*this.seriesLen,h.globals.gridHeight,0,x,this.barOptions.colors.backgroundBarOpacity);u.add(w),w.node.classList.add("apexcharts-backgroundBar")}return{pathTo:o,pathFrom:a,x:i,y:n,barXPosition:y}}},{key:"getPathFrom",value:function(t,e){for(var i,n=this.w,r=0;r<n.globals.previousPaths.length;r++){var o=n.globals.previousPaths[r];o.paths.length>0&&parseInt(o.realIndex)===parseInt(t)&&void 0!==n.globals.previousPaths[r].paths[e]&&(i=n.globals.previousPaths[r].paths[e].d)}return i}},{key:"calculateDataLabelsPos",value:function(t){var e=t.x,i=t.y,n=t.i,r=t.j,o=t.realIndex,a=t.series,s=t.barHeight,l=t.barWidth,c=t.visibleSeries,u=t.renderedPath,h=this.w,d=new f(this.ctx),p=Array.isArray(this.strokeWidth)?this.strokeWidth[o]:this.strokeWidth,g=e+parseFloat(l*c),m=i+parseFloat(s*c);h.globals.isXNumeric&&!h.globals.isBarHorizontal&&(g=e+parseFloat(l*(c+1))-p,m=i+parseFloat(s*(c+1))-p);var v,y=e,b=i,L=h.config.dataLabels,x=this.barOptions.dataLabels,w=L.offsetX,_=L.offsetY,S={width:0,height:0};return h.config.dataLabels.enabled&&(S=d.getTextRects(h.globals.yLabelFormatters[0](h.globals.maxY),parseInt(L.style.fontSize))),v=this.isHorizontal?this.calculateBarsDataLabelsPosition({x:e,y:i,i:n,j:r,renderedPath:u,bcy:m,barHeight:s,barWidth:l,textRects:S,strokeWidth:p,dataLabelsX:y,dataLabelsY:b,barDataLabelsConfig:x,offX:w,offY:_}):this.calculateColumnsDataLabelsPosition({x:e,y:i,i:n,j:r,renderedPath:u,realIndex:o,bcx:g,bcy:m,barHeight:s,barWidth:l,textRects:S,strokeWidth:p,dataLabelsY:b,barDataLabelsConfig:x,offX:w,offY:_}),u.attr({cy:v.bcy,cx:v.bcx,j:r,val:a[n][r],barHeight:s,barWidth:l}),this.drawCalculatedDataLabels({x:v.dataLabelsX,y:v.dataLabelsY,val:a[n][r],i:o,j:r,barWidth:l,barHeight:s,textRects:S,dataLabelsConfig:L})}},{key:"calculateColumnsDataLabelsPosition",value:function(t){var e,i=this.w,n=t.i,r=t.j,o=t.y,a=t.bcx,s=t.barWidth,l=t.barHeight,c=t.textRects,u=t.dataLabelsY,h=t.barDataLabelsConfig,d=t.strokeWidth,f=t.offX,p=t.offY,g=i.globals.gridWidth/i.globals.dataPoints;a-=d/2,e=i.globals.isXNumeric?a-s/2+f:a-g+s/2+f;var m=this.series[n][r]<=0;switch(this.isReversed&&(o-=l),h.position){case"center":u=m?o+l/2+c.height/2+p:o+l/2+c.height/2-p;break;case"bottom":u=m?o+l+c.height+d+p:o+l-c.height/2+d-p;break;case"top":u=m?o-c.height/2-p:o+c.height+p}return i.config.chart.stacked||(u<0?u=0+d:u+c.height/3>i.globals.gridHeight&&(u=i.globals.gridHeight-d)),{bcx:a,bcy:o,dataLabelsX:e,dataLabelsY:u}}},{key:"calculateBarsDataLabelsPosition",value:function(t){var e=this.w,i=t.x,n=t.i,r=t.j,o=t.bcy,a=t.barHeight,s=t.barWidth,l=t.textRects,c=t.dataLabelsX,u=t.strokeWidth,h=t.barDataLabelsConfig,d=t.offX,f=t.offY,p=o-e.globals.gridHeight/e.globals.dataPoints+a/2+l.height/2+f-3,g=this.series[n][r]<=0;switch(this.isReversed&&(i+=s),h.position){case"center":c=g?i-s/2-d:i-s/2+d;break;case"bottom":c=g?i-s-u-Math.round(l.width/2)-d:i-s+u+Math.round(l.width/2)+d;break;case"top":c=g?i-u+Math.round(l.width/2)-d:i-u-Math.round(l.width/2)+d}return e.config.chart.stacked||(c<0?c=c+l.width+u:c+l.width/2>e.globals.gridWidth&&(c=e.globals.gridWidth-l.width-u)),{bcx:i,bcy:o,dataLabelsX:c,dataLabelsY:p}}},{key:"drawCalculatedDataLabels",value:function(t){var e=t.x,i=t.y,n=t.val,r=t.i,o=t.j,a=t.textRects,s=t.barHeight,l=t.barWidth,c=t.dataLabelsConfig,u=this.w,h=new k(this.ctx),d=new f(this.ctx),p=c.formatter,g=null,m=u.globals.collapsedSeriesIndices.indexOf(r)>-1;if(c.enabled&&!m){g=d.group({class:"apexcharts-data-labels"});var v="";void 0!==n&&(v=p(n,{seriesIndex:r,dataPointIndex:o,w:u})),0===n&&u.config.chart.stacked&&(v=""),u.config.chart.stacked&&this.barOptions.dataLabels.hideOverflowingLabels&&(this.isHorizontal?(l=this.series[r][o]/this.yRatio[this.yaxisIndex],a.width/1.6>l&&(v="")):(s=this.series[r][o]/this.yRatio[this.yaxisIndex],a.height/1.6>s&&(v=""))),h.plotDataLabelsText({x:e,y:i,text:v,i:r,j:o,parent:g,dataLabelsConfig:c,alwaysDrawDataLabel:!0,offsetCorrection:!0})}return g}},{key:"barEndingShape",value:function(t,e,i,n,r){var o=new f(this.ctx);if(this.isHorizontal){var a=null,s=e.x;if(void 0!==i[n][r]||null!==i[n][r]){var l=i[n][r]<0,c=e.barHeight/2-e.strokeWidth;switch(l&&(c=-e.barHeight/2-e.strokeWidth),t.config.chart.stacked||"rounded"===this.barOptions.endingShape&&(s=e.x-c/2),this.barOptions.endingShape){case"flat":a=o.line(s,e.barYPosition+e.barHeight-e.strokeWidth);break;case"rounded":a=o.quadraticCurve(s+c,e.barYPosition+(e.barHeight-e.strokeWidth)/2,s,e.barYPosition+e.barHeight-e.strokeWidth)}}return{path:a,ending_p_from:"",newX:s}}var u=null,h=e.y;if(void 0!==i[n][r]||null!==i[n][r]){var d=i[n][r]<0,p=e.barWidth/2-e.strokeWidth;switch(d&&(p=-e.barWidth/2-e.strokeWidth),t.config.chart.stacked||"rounded"===this.barOptions.endingShape&&(h+=p/2),this.barOptions.endingShape){case"flat":u=o.line(e.barXPosition+e.barWidth-e.strokeWidth,h);break;case"rounded":u=o.quadraticCurve(e.barXPosition+(e.barWidth-e.strokeWidth)/2,h-p,e.barXPosition+e.barWidth-e.strokeWidth,h)}}return{path:u,ending_p_from:"",newY:h}}}]),t}(),E=function(t){function i(){return e(this,i),l(this,s(i).apply(this,arguments))}return a(i,T),n(i,[{key:"draw",value:function(t,e){var i=this.w;this.graphics=new f(this.ctx),this.fill=new _(this.ctx),this.bar=new T(this.ctx,this.xyRatios);var n=new b(this.ctx,i);t=n.getLogSeries(t),this.yRatio=n.getLogYRatios(this.yRatio),this.initVariables(t),"100%"===i.config.chart.stackType&&(t=i.globals.seriesPercent.slice()),this.series=t,this.totalItems=0,this.prevY=[],this.prevX=[],this.prevYF=[],this.prevXF=[],this.prevYVal=[],this.prevXVal=[],this.xArrj=[],this.xArrjF=[],this.xArrjVal=[],this.yArrj=[],this.yArrjF=[],this.yArrjVal=[];for(var r=0;r<t.length;r++)t[r].length>0&&(this.totalItems+=t[r].length);for(var o=this.graphics.group({class:"apexcharts-bar-series apexcharts-plot-series"}),a=0,s=0,l=0,c=0;l<t.length;l++,c++){var h=void 0,d=void 0,p=void 0,g=void 0,m=void 0,v=void 0,y=[],L=[],x=i.globals.comboCharts?e[l]:l;this.yRatio.length>1&&(this.yaxisIndex=x),this.isReversed=i.config.yaxis[this.yaxisIndex]&&i.config.yaxis[this.yaxisIndex].reversed;var w=this.graphics.group({class:"apexcharts-series",seriesName:u.escapeString(i.globals.seriesNames[x]),rel:l+1,"data:realIndex":x}),S=this.graphics.group({class:"apexcharts-datalabels"}),C=0,k=0,E=0,A=this.initialPositions(a,s,p,g,m,v);s=A.y,k=A.barHeight,g=A.yDivision,v=A.zeroW,a=A.x,E=A.barWidth,p=A.xDivision,m=A.zeroH,this.yArrj=[],this.yArrjF=[],this.yArrjVal=[],this.xArrj=[],this.xArrjF=[],this.xArrjVal=[];for(var M=0;M<i.globals.dataPoints;M++){i.config.stroke.show&&(C=this.isNullValue?0:Array.isArray(this.strokeWidth)?this.strokeWidth[x]:this.strokeWidth);var D=null;this.isHorizontal?(D=this.drawBarPaths({indexes:{i:l,j:M,realIndex:x,bc:c},barHeight:k,strokeWidth:C,pathTo:h,pathFrom:d,zeroW:v,x:a,y:s,yDivision:g,elSeries:w}),E=this.series[l][M]/this.invertedYRatio):(D=this.drawColumnPaths({indexes:{i:l,j:M,realIndex:x,bc:c},x:a,y:s,xDivision:p,pathTo:h,pathFrom:d,barWidth:E,zeroH:m,strokeWidth:C,elSeries:w}),k=this.series[l][M]/this.yRatio[this.yaxisIndex]),h=D.pathTo,d=D.pathFrom,s=D.y,a=D.x,y.push(a),L.push(s);var P=this.bar.getPathFillColor(t,l,M,x);w=this.renderSeries({realIndex:x,pathFill:P,j:M,i:l,pathFrom:d,pathTo:h,strokeWidth:C,elSeries:w,x:a,y:s,series:t,barHeight:k,barWidth:E,elDataLabelsWrap:S,type:"bar",visibleSeries:0})}i.globals.seriesXvalues[x]=y,i.globals.seriesYvalues[x]=L,this.prevY.push(this.yArrj),this.prevYF.push(this.yArrjF),this.prevYVal.push(this.yArrjVal),this.prevX.push(this.xArrj),this.prevXF.push(this.xArrjF),this.prevXVal.push(this.xArrjVal),o.add(w)}return o}},{key:"initialPositions",value:function(t,e,i,n,r,o){var a,s,l=this.w;return this.isHorizontal?(a=(a=n=l.globals.gridHeight/l.globals.dataPoints)*parseInt(l.config.plotOptions.bar.barHeight)/100,o=this.baseLineInvertedY+l.globals.padHorizontal+(this.isReversed?l.globals.gridWidth:0)-(this.isReversed?2*this.baseLineInvertedY:0),e=(n-a)/2):(s=i=l.globals.gridWidth/l.globals.dataPoints,s=l.globals.isXNumeric?(i=l.globals.minXDiff/this.xRatio)*parseInt(this.barOptions.columnWidth)/100:s*parseInt(l.config.plotOptions.bar.columnWidth)/100,r=this.baseLineY[this.yaxisIndex]+(this.isReversed?l.globals.gridHeight:0)-(this.isReversed?2*this.baseLineY[this.yaxisIndex]:0),t=l.globals.padHorizontal+(i-s)/2),{x:t,y:e,yDivision:n,xDivision:i,barHeight:a,barWidth:s,zeroH:r,zeroW:o}}},{key:"drawBarPaths",value:function(t){for(var e,i=t.indexes,n=t.barHeight,r=t.strokeWidth,o=t.pathTo,a=t.pathFrom,s=t.zeroW,l=t.x,c=t.y,u=t.yDivision,h=t.elSeries,d=this.w,f=c,p=i.i,g=i.j,m=i.realIndex,v=i.bc,y=0,b=0;b<this.prevXF.length;b++)y+=this.prevXF[b][g];if(p>0){var L=s;this.prevXVal[p-1][g]<0?L=this.series[p][g]>=0?this.prevX[p-1][g]+y-2*(this.isReversed?y:0):this.prevX[p-1][g]:this.prevXVal[p-1][g]>=0&&(L=this.series[p][g]>=0?this.prevX[p-1][g]:this.prevX[p-1][g]-y+2*(this.isReversed?y:0)),e=L}else e=s;l=null===this.series[p][g]?e:e+this.series[p][g]/this.invertedYRatio-2*(this.isReversed?this.series[p][g]/this.invertedYRatio:0);var x={barHeight:n,strokeWidth:r,invertedYRatio:this.invertedYRatio,barYPosition:f,x:l},w=this.bar.barEndingShape(d,x,this.series,p,g);if(this.series.length>1&&p!==this.endingShapeOnSeriesNumber&&(w.path=this.graphics.line(w.newX,f+n-r)),this.xArrj.push(w.newX),this.xArrjF.push(Math.abs(e-w.newX)),this.xArrjVal.push(this.series[p][g]),o=this.graphics.move(e,f),a=this.graphics.move(e,f),d.globals.previousPaths.length>0&&(a=this.bar.getPathFrom(m,g,!1)),o=o+this.graphics.line(w.newX,f)+w.path+this.graphics.line(e,f+n-r)+this.graphics.line(e,f),a=a+this.graphics.line(e,f)+this.graphics.line(e,f+n-r)+this.graphics.line(e,f+n-r)+this.graphics.line(e,f+n-r)+this.graphics.line(e,f),d.config.plotOptions.bar.colors.backgroundBarColors.length>0&&0===p){v>=d.config.plotOptions.bar.colors.backgroundBarColors.length&&(v=0);var _=d.config.plotOptions.bar.colors.backgroundBarColors[v],S=this.graphics.drawRect(0,f,d.globals.gridWidth,n,0,_,d.config.plotOptions.bar.colors.backgroundBarOpacity);h.add(S),S.node.classList.add("apexcharts-backgroundBar")}return{pathTo:o,pathFrom:a,x:l,y:c+=u}}},{key:"drawColumnPaths",value:function(t){var e=t.indexes,i=t.x,n=t.y,r=t.xDivision,o=t.pathTo,a=t.pathFrom,s=t.barWidth,l=t.zeroH,c=t.strokeWidth,u=t.elSeries,h=this.w,d=e.i,f=e.j,p=e.realIndex,g=e.bc;if(h.globals.isXNumeric){var m=h.globals.seriesX[d][f];m||(m=0),i=(m-h.globals.minX)/this.xRatio-s/2}for(var v,y=i,b=0,L=0;L<this.prevYF.length;L++)b+=this.prevYF[L][f];if(d>0&&!h.globals.isXNumeric||d>0&&h.globals.isXNumeric&&h.globals.seriesX[d-1][f]===h.globals.seriesX[d][f]){var x=this.prevY[d-1][f];v=this.prevYVal[d-1][f]<0?this.series[d][f]>=0?x-b+2*(this.isReversed?b:0):x:this.series[d][f]>=0?x:x+b-2*(this.isReversed?b:0)}else v=h.globals.gridHeight-l;n=v-this.series[d][f]/this.yRatio[this.yaxisIndex]+2*(this.isReversed?this.series[d][f]/this.yRatio[this.yaxisIndex]:0);var w={barWidth:s,strokeWidth:c,yRatio:this.yRatio[this.yaxisIndex],barXPosition:y,y:n},_=this.bar.barEndingShape(h,w,this.series,d,f);if(this.yArrj.push(_.newY),this.yArrjF.push(Math.abs(v-_.newY)),this.yArrjVal.push(this.series[d][f]),o=this.graphics.move(y,v),a=this.graphics.move(y,v),h.globals.previousPaths.length>0&&(a=this.bar.getPathFrom(p,f,!1)),o=o+this.graphics.line(y,_.newY)+_.path+this.graphics.line(y+s-c,v)+this.graphics.line(y-c/2,v),a=a+this.graphics.line(y,v)+this.graphics.line(y+s-c,v)+this.graphics.line(y+s-c,v)+this.graphics.line(y+s-c,v)+this.graphics.line(y-c/2,v),h.config.plotOptions.bar.colors.backgroundBarColors.length>0&&0===d){g>=h.config.plotOptions.bar.colors.backgroundBarColors.length&&(g=0);var S=h.config.plotOptions.bar.colors.backgroundBarColors[g],C=this.graphics.drawRect(y,0,s,h.globals.gridHeight,0,S,h.config.plotOptions.bar.colors.backgroundBarOpacity);u.add(C),C.node.classList.add("apexcharts-backgroundBar")}return i+=r,{pathTo:o,pathFrom:a,x:h.globals.isXNumeric?i-r:i,y:n}}},{key:"checkZeroSeries",value:function(t){for(var e=t.series,i=this.w,n=0;n<e.length;n++){for(var r=0,o=0;o<e[i.globals.maxValsInArrayIndex].length;o++)r+=e[n][o];0===r&&this.zeroSerieses.push(n)}for(var a=e.length-1;a>=0;a--)this.zeroSerieses.indexOf(a)>-1&&a===this.endingShapeOnSeriesNumber&&(this.endingShapeOnSeriesNumber-=1)}}]),i}(),A=function(t){function i(){return e(this,i),l(this,s(i).apply(this,arguments))}return a(i,T),n(i,[{key:"draw",value:function(t,e){var i=this.w,n=new f(this.ctx),r=new _(this.ctx);this.candlestickOptions=this.w.config.plotOptions.candlestick;var o=new b(this.ctx,i);t=o.getLogSeries(t),this.series=t,this.yRatio=o.getLogYRatios(this.yRatio),this.initVariables(t);for(var a=n.group({class:"apexcharts-candlestick-series apexcharts-plot-series"}),s=0,l=0;s<t.length;s++,l++){var c,h,d=void 0,p=void 0,g=void 0,m=void 0,v=[],y=[],L=i.globals.comboCharts?e[s]:s,x=n.group({class:"apexcharts-series",seriesName:u.escapeString(i.globals.seriesNames[L]),rel:s+1,"data:realIndex":L});t[s].length>0&&(this.visibleI=this.visibleI+1);var w,S,C=0;this.yRatio.length>1&&(this.yaxisIndex=L);var k=this.initialPositions();m=k.y,w=k.barHeight,g=k.x,S=k.barWidth,c=k.xDivision,h=k.zeroH,y.push(g+S/2);for(var T=n.group({class:"apexcharts-datalabels"}),E=0,A=i.globals.dataPoints;E<i.globals.dataPoints;E++,A--){void 0===this.series[s][E]||null===t[s][E]?this.isNullValue=!0:this.isNullValue=!1,i.config.stroke.show&&(C=this.isNullValue?0:Array.isArray(this.strokeWidth)?this.strokeWidth[L]:this.strokeWidth);var M,D=this.drawCandleStickPaths({indexes:{i:s,j:E,realIndex:L,bc:l},x:g,y:m,xDivision:c,pathTo:d,pathFrom:p,barWidth:S,zeroH:h,strokeWidth:C,elSeries:x});d=D.pathTo,p=D.pathFrom,m=D.y,g=D.x,M=D.color,E>0&&y.push(g+S/2),v.push(m);var P=r.fillPath({seriesNumber:L,color:M,value:t[s][E]}),O=this.candlestickOptions.wick.useFillColor?M:void 0;x=this.renderSeries({realIndex:L,pathFill:P,lineFill:O,j:E,i:s,pathFrom:p,pathTo:d,strokeWidth:C,elSeries:x,x:g,y:m,series:t,barHeight:w,barWidth:S,elDataLabelsWrap:T,visibleSeries:this.visibleI,type:"candlestick"})}i.globals.seriesXvalues[L]=y,i.globals.seriesYvalues[L]=v,a.add(x)}return a}},{key:"drawCandleStickPaths",value:function(t){var e=t.indexes,i=t.x,n=(t.y,t.xDivision),r=t.pathTo,o=t.pathFrom,a=t.barWidth,s=t.zeroH,l=t.strokeWidth,c=this.w,u=new f(this.ctx),h=e.i,d=e.j,p=!0,g=c.config.plotOptions.candlestick.colors.upward,m=c.config.plotOptions.candlestick.colors.downward,v=this.yRatio[this.yaxisIndex],y=e.realIndex,b=this.getOHLCValue(y,d),L=s,x=s;b.o>b.c&&(p=!1);var w=Math.min(b.o,b.c),_=Math.max(b.o,b.c);c.globals.isXNumeric&&(i=(c.globals.seriesX[h][d]-c.globals.minX)/this.xRatio-a/2);var S=i+a*this.visibleI;return void 0===this.series[h][d]||null===this.series[h][d]?w=s:(w=s-w/v,_=s-_/v,L=s-b.h/v,x=s-b.l/v),u.move(S,s),o=u.move(S,w),c.globals.previousPaths.length>0&&(o=this.getPathFrom(y,d,!0)),r=u.move(S,_)+u.line(S+a/2,_)+u.line(S+a/2,L)+u.line(S+a/2,_)+u.line(S+a,_)+u.line(S+a,w)+u.line(S+a/2,w)+u.line(S+a/2,x)+u.line(S+a/2,w)+u.line(S,w)+u.line(S,_-l/2),o+=u.move(S,w),c.globals.isXNumeric||(i+=n),{pathTo:r,pathFrom:o,x:i,y:_,barXPosition:S,color:p?g:m}}},{key:"getOHLCValue",value:function(t,e){var i=this.w;return{o:i.globals.seriesCandleO[t][e],h:i.globals.seriesCandleH[t][e],l:i.globals.seriesCandleL[t][e],c:i.globals.seriesCandleC[t][e]}}}]),i}(),M=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"drawXCrosshairs",value:function(){var t=this.w,e=new f(this.ctx),i=new h(this.ctx),n=t.config.xaxis.crosshairs.fill.gradient,r=t.config.xaxis.crosshairs.dropShadow,o=t.config.xaxis.crosshairs.fill.type,a=n.colorFrom,s=n.colorTo,l=n.opacityFrom,c=n.opacityTo,d=n.stops,p=r.enabled,g=r.left,m=r.top,v=r.blur,y=r.color,b=r.opacity,L=t.config.xaxis.crosshairs.fill.color;if(t.config.xaxis.crosshairs.show){"gradient"===o&&(L=e.drawGradient("vertical",a,s,l,c,null,d,null));var x=e.drawRect();1===t.config.xaxis.crosshairs.width&&(x=e.drawLine()),x.attr({class:"apexcharts-xcrosshairs",x:0,y:0,y2:t.globals.gridHeight,width:u.isNumber(t.config.xaxis.crosshairs.width)?t.config.xaxis.crosshairs.width:0,height:t.globals.gridHeight,fill:L,filter:"none","fill-opacity":t.config.xaxis.crosshairs.opacity,stroke:t.config.xaxis.crosshairs.stroke.color,"stroke-width":t.config.xaxis.crosshairs.stroke.width,"stroke-dasharray":t.config.xaxis.crosshairs.stroke.dashArray}),p&&(x=i.dropShadow(x,{left:g,top:m,blur:v,color:y,opacity:b})),t.globals.dom.elGraphical.add(x)}}},{key:"drawYCrosshairs",value:function(){var t=this.w,e=new f(this.ctx),i=t.config.yaxis[0].crosshairs;if(t.config.yaxis[0].crosshairs.show){var n=e.drawLine(0,0,t.globals.gridWidth,0,i.stroke.color,i.stroke.dashArray,i.stroke.width);n.attr({class:"apexcharts-ycrosshairs"}),t.globals.dom.elGraphical.add(n)}var r=e.drawLine(0,0,t.globals.gridWidth,0,i.stroke.color,0,0);r.attr({class:"apexcharts-ycrosshairs-hidden"}),t.globals.dom.elGraphical.add(r)}}]),t}(),D=function(){function t(i,n){e(this,t),this.ctx=i,this.w=i.w,this.xRatio=n.xRatio,this.yRatio=n.yRatio,this.negRange=!1,this.dynamicAnim=this.w.config.chart.animations.dynamicAnimation,this.rectRadius=this.w.config.plotOptions.heatmap.radius,this.strokeWidth=this.w.config.stroke.width}return n(t,[{key:"draw",value:function(t){var e=this.w,i=new f(this.ctx),n=i.group({class:"apexcharts-heatmap"});n.attr("clip-path","url(#gridRectMask".concat(e.globals.cuid,")"));var r=e.globals.gridWidth/e.globals.dataPoints,o=e.globals.gridHeight/e.globals.series.length,a=0,s=!1;this.checkColorRange();var l=t.slice();e.config.yaxis[0].reversed&&(s=!0,l.reverse());for(var c=s?0:l.length-1;s?c<l.length:c>=0;s?c++:c--){var d=i.group({class:"apexcharts-series apexcharts-heatmap-series",seriesName:u.escapeString(e.globals.seriesNames[c]),rel:c+1,"data:realIndex":c});if(e.config.chart.dropShadow.enabled){var p=e.config.chart.dropShadow;new h(this.ctx).dropShadow(d,p,c)}for(var g=0,m=0;m<l[c].length;m++){var v=1,y=this.determineHeatColor(c,m);if(e.globals.hasNegs||this.negRange){var b=e.config.plotOptions.heatmap.shadeIntensity;v=e.config.plotOptions.heatmap.reverseNegativeShade?y.percent<0?y.percent/100*(1.25*b):(1-y.percent/100)*(1.25*b):y.percent<0?1-(1+y.percent/100)*b:(1-y.percent/100)*b}else v=1-y.percent/100;var L=y.color;if(e.config.plotOptions.heatmap.enableShades){var x=new u;L=u.hexToRgba(x.shadeColor(v,y.color),e.config.fill.opacity)}var w=this.rectRadius,_=i.drawRect(g,a,r,o,w);if(_.attr({cx:g,cy:a}),_.node.classList.add("apexcharts-heatmap-rect"),d.add(_),_.attr({fill:L,i:c,index:c,j:m,val:l[c][m],"stroke-width":this.strokeWidth,stroke:e.globals.stroke.colors[0],color:L}),_.node.addEventListener("mouseenter",i.pathMouseEnter.bind(this,_)),_.node.addEventListener("mouseleave",i.pathMouseLeave.bind(this,_)),_.node.addEventListener("mousedown",i.pathMouseDown.bind(this,_)),e.config.chart.animations.enabled&&!e.globals.dataChanged){var S=1;e.globals.resized||(S=e.config.chart.animations.speed),this.animateHeatMap(_,g,a,r,o,S)}if(e.globals.dataChanged){var C=1;if(this.dynamicAnim.enabled&&e.globals.shouldAnimate){C=this.dynamicAnim.speed;var k=e.globals.previousPaths[c]&&e.globals.previousPaths[c][m]&&e.globals.previousPaths[c][m].color;k||(k="rgba(255, 255, 255, 0)"),this.animateHeatColor(_,u.isColorHex(k)?k:u.rgb2hex(k),u.isColorHex(L)?L:u.rgb2hex(L),C)}}var T=this.calculateHeatmapDataLabels({x:g,y:a,i:c,j:m,series:l,rectHeight:o,rectWidth:r});null!==T&&d.add(T),g+=r}a+=o,n.add(d)}var E=e.globals.yAxisScale[0].result.slice();e.config.yaxis[0].reversed?E.unshift(""):E.push(""),e.globals.yAxisScale[0].result=E;var A=e.globals.gridHeight/e.globals.series.length;return e.config.yaxis[0].labels.offsetY=-A/2,n}},{key:"checkColorRange",value:function(){var t=this,e=this.w.config.plotOptions.heatmap;e.colorScale.ranges.length>0&&e.colorScale.ranges.map(function(e,i){e.from<0&&(t.negRange=!0)})}},{key:"determineHeatColor",value:function(t,e){var i=this.w,n=i.globals.series[t][e],r=i.config.plotOptions.heatmap,o=r.colorScale.inverse?e:t,a=i.globals.colors[o],s=Math.min.apply(Math,c(i.globals.series[t])),l=Math.max.apply(Math,c(i.globals.series[t]));r.distributed||(s=i.globals.minY,l=i.globals.maxY),void 0!==r.colorScale.min&&(s=r.colorScale.min<i.globals.minY?r.colorScale.min:i.globals.minY,l=r.colorScale.max>i.globals.maxY?r.colorScale.max:i.globals.maxY);var u=Math.abs(l)+Math.abs(s),h=100*n/(0===u?u-1e-6:u);return r.colorScale.ranges.length>0&&r.colorScale.ranges.map(function(t,e){if(n>=t.from&&n<=t.to){a=t.color,s=t.from,l=t.to;var i=Math.abs(l)+Math.abs(s);h=100*n/(0===i?i-1e-6:i)}}),{color:a,percent:h}}},{key:"calculateHeatmapDataLabels",value:function(t){var e=t.x,i=t.y,n=t.i,r=t.j,o=(t.series,t.rectHeight),a=t.rectWidth,s=this.w,l=s.config.dataLabels,c=new f(this.ctx),u=new k(this.ctx),h=l.formatter,d=null;if(l.enabled){d=c.group({class:"apexcharts-data-labels"});var p=l.offsetX,g=l.offsetY,m=e+a/2+p,v=i+o/2+parseInt(l.style.fontSize)/3+g,y=h(s.globals.series[n][r],{seriesIndex:n,dataPointIndex:r,w:s});u.plotDataLabelsText({x:m,y:v,text:y,i:n,j:r,parent:d,dataLabelsConfig:l})}return d}},{key:"animateHeatMap",value:function(t,e,i,n,r,o){var a=this;new d(this.ctx).animateRect(t,{x:e+n/2,y:i+r/2,width:0,height:0},{x:e,y:i,width:n,height:r},o,function(){a.w.globals.animationEnded=!0})}},{key:"animateHeatColor",value:function(t,e,i,n){t.attr({fill:e}).animate(n).attr({fill:i})}}]),t}(),P=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animBeginArr=[0],this.animDur=0,this.donutDataLabels=this.w.config.plotOptions.pie.donut.labels;var n=this.w;this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight<n.globals.svgWidth?n.globals.svgHeight-35:n.globals.gridWidth,this.centerY=this.defaultSize/2,this.centerX=n.globals.gridWidth/2,this.fullAngle=360,this.donutSize=0,this.sliceLabels=[],this.prevSectorAngleArr=[]}return n(t,[{key:"draw",value:function(t){var e=this.w,i=new f(this.ctx),n=i.group({class:"apexcharts-pie"});if(e.globals.noData)return n;for(var r=0,o=0;o<t.length;o++)r+=u.negToZero(t[o]);var a=[],s=i.group();0===r&&(r=1e-5);for(var l=0;l<t.length;l++){var c=this.fullAngle*u.negToZero(t[l])/r;a.push(c)}if(e.globals.dataChanged){for(var h,d=0,p=0;p<e.globals.previousPaths.length;p++)d+=u.negToZero(e.globals.previousPaths[p]);for(var g=0;g<e.globals.previousPaths.length;g++)h=this.fullAngle*u.negToZero(e.globals.previousPaths[g])/d,this.prevSectorAngleArr.push(h)}e.globals.radialSize=this.defaultSize/2.05-e.config.stroke.width-e.config.chart.dropShadow.blur,void 0!==e.config.plotOptions.pie.size&&(e.globals.radialSize=e.config.plotOptions.pie.size),this.donutSize=e.globals.radialSize*parseInt(e.config.plotOptions.pie.donut.size)/100,this.donutSize<0&&(this.donutSize=0);var m=e.config.plotOptions.pie.customScale,v=e.globals.gridWidth/2,y=e.globals.gridHeight/2,b=v-e.globals.gridWidth/2*m,L=y-e.globals.gridHeight/2*m;if(this.donutDataLabels.show){var x=this.renderInnerDataLabels(this.donutDataLabels,{hollowSize:this.donutSize,centerX:this.centerX,centerY:this.centerY,opacity:this.donutDataLabels.show,translateX:b,translateY:L});n.add(x)}if("donut"===e.config.chart.type){var w=i.drawCircle(this.donutSize);w.attr({cx:this.centerX,cy:this.centerY,fill:e.config.plotOptions.pie.donut.background}),s.add(w)}var _=this.drawArcs(a,t);return this.sliceLabels.forEach(function(t){_.add(t)}),s.attr({transform:"translate(".concat(b,", ").concat(L-5,") scale(").concat(m,")")}),n.attr({"data:innerTranslateX":b,"data:innerTranslateY":L-25}),s.add(_),n.add(s),n}},{key:"drawArcs",value:function(t,e){var i=this.w,n=new h(this.ctx),r=new f(this.ctx),o=new _(this.ctx),a=r.group({class:"apexcharts-slices"}),s=0,l=0,c=0,d=0;this.strokeWidth=i.config.stroke.show?i.config.stroke.width:0;for(var p=0;p<t.length;p++){var g=r.group({class:"apexcharts-series apexcharts-pie-series",seriesName:u.escapeString(i.globals.seriesNames[p]),id:"apexcharts-series-"+p,rel:p+1,"data:realIndex":p});a.add(g),l=d,c=(s=c)+t[p],d=l+this.prevSectorAngleArr[p];var m=c-s,v=o.fillPath({seriesNumber:p,size:i.globals.radialSize,value:e[p]}),y=this.getChangedPath(l,d),b=r.drawPath({d:y,stroke:this.lineColorArr instanceof Array?this.lineColorArr[p]:this.lineColorArr,strokeWidth:this.strokeWidth,fill:v,fillOpacity:i.config.fill.opacity,classes:"apexcharts-pie-area"});if(b.attr({id:"apexcharts-".concat(i.config.chart.type,"-slice-").concat(p),index:0,j:p}),i.config.chart.dropShadow.enabled){var L=i.config.chart.dropShadow;n.dropShadow(b,L,p)}this.addListeners(b,this.donutDataLabels),f.setAttrs(b.node,{"data:angle":m,"data:startAngle":s,"data:strokeWidth":this.strokeWidth,"data:value":e[p]});var x={x:0,y:0};"pie"===i.config.chart.type?x=u.polarToCartesian(this.centerX,this.centerY,i.globals.radialSize/1.25+i.config.plotOptions.pie.dataLabels.offset,s+(c-s)/2):"donut"===i.config.chart.type&&(x=u.polarToCartesian(this.centerX,this.centerY,(i.globals.radialSize+this.donutSize)/2+i.config.plotOptions.pie.dataLabels.offset,s+(c-s)/2)),g.add(b);var w=0;if(!this.initialAnim||i.globals.resized||i.globals.dataChanged?this.animBeginArr.push(0):(w=(c-s)/this.fullAngle*i.config.chart.animations.speed,this.animDur=w+this.animDur,this.animBeginArr.push(this.animDur)),this.dynamicAnim&&i.globals.dataChanged?this.animatePaths(b,{size:i.globals.radialSize,endAngle:c,startAngle:s,prevStartAngle:l,prevEndAngle:d,animateStartingPos:!0,i:p,animBeginArr:this.animBeginArr,dur:i.config.chart.animations.dynamicAnimation.speed}):this.animatePaths(b,{size:i.globals.radialSize,endAngle:c,startAngle:s,i:p,totalItems:t.length-1,animBeginArr:this.animBeginArr,dur:w}),i.config.plotOptions.pie.expandOnClick&&b.click(this.pieClicked.bind(this,p)),i.config.dataLabels.enabled){var S=x.x,C=x.y,k=100*(c-s)/360+"%";if(0!==m&&i.config.plotOptions.pie.dataLabels.minAngleToShowLabel<t[p]){var T=i.config.dataLabels.formatter;void 0!==T&&(k=T(i.globals.seriesPercent[p][0],{seriesIndex:p,w:i}));var E=i.globals.dataLabels.style.colors[p],A=r.drawText({x:S,y:C,text:k,textAnchor:"middle",fontSize:i.config.dataLabels.style.fontSize,fontFamily:i.config.dataLabels.style.fontFamily,foreColor:E});if(i.config.dataLabels.dropShadow.enabled){var M=i.config.dataLabels.dropShadow;new h(this.ctx).dropShadow(A,M)}A.node.classList.add("apexcharts-pie-label"),i.config.chart.animations.animate&&!1===i.globals.resized&&(A.node.classList.add("apexcharts-pie-label-delay"),A.node.style.animationDelay=i.config.chart.animations.speed/940+"s"),this.sliceLabels.push(A)}}}return a}},{key:"addListeners",value:function(t,e){var i=new f(this.ctx);t.node.addEventListener("mouseenter",i.pathMouseEnter.bind(this,t)),t.node.addEventListener("mouseenter",this.printDataLabelsInner.bind(this,t.node,e)),t.node.addEventListener("mouseleave",i.pathMouseLeave.bind(this,t)),t.node.addEventListener("mouseleave",this.revertDataLabelsInner.bind(this,t.node,e)),t.node.addEventListener("mousedown",i.pathMouseDown.bind(this,t)),t.node.addEventListener("mousedown",this.printDataLabelsInner.bind(this,t.node,e))}},{key:"animatePaths",value:function(t,e){var i=this.w,n=e.endAngle-e.startAngle,r=n,o=e.startAngle,a=e.startAngle;void 0!==e.prevStartAngle&&void 0!==e.prevEndAngle&&(o=e.prevEndAngle,r=e.prevEndAngle-e.prevStartAngle),e.i===i.config.series.length-1&&(n+a>this.fullAngle?e.endAngle=e.endAngle-(n+a):n+a<this.fullAngle&&(e.endAngle=e.endAngle+(this.fullAngle-(n+a)))),n===this.fullAngle&&(n=this.fullAngle-.01),this.animateArc(t,o,a,n,r,e)}},{key:"animateArc",value:function(t,e,i,n,r,o){var a,s=this,l=this.w,c=o.size;(isNaN(e)||isNaN(r))&&(e=i,r=n,o.dur=0);var u=n,h=i,d=e-i;l.globals.dataChanged&&o.shouldSetPrevPaths&&(a=s.getPiePath({me:s,startAngle:h,angle:r,size:c}),t.attr({d:a})),0!==o.dur?t.animate(o.dur,l.globals.easing,o.animBeginArr[o.i]).afterAll(function(){"pie"!==l.config.chart.type&&"donut"!==l.config.chart.type||this.animate(300).attr({"stroke-width":l.config.stroke.width}),l.globals.animationEnded=!0}).during(function(l){u=d+(n-d)*l,o.animateStartingPos&&(u=r+(n-r)*l,h=e-r+(i-(e-r))*l),a=s.getPiePath({me:s,startAngle:h,angle:u,size:c}),t.node.setAttribute("data:pathOrig",a),t.attr({d:a})}):(a=s.getPiePath({me:s,startAngle:h,angle:n,size:c}),o.isTrack||(l.globals.animationEnded=!0),t.node.setAttribute("data:pathOrig",a),t.attr({d:a}))}},{key:"pieClicked",value:function(t){var e,i=this.w,n=this.w.globals.radialSize+4,r=i.globals.dom.Paper.select("#apexcharts-".concat(i.config.chart.type.toLowerCase(),"-slice-").concat(t)).members[0],o=r.attr("d");if("true"!==r.attr("data:pieClicked")){var a=i.globals.dom.baseEl.querySelectorAll(".apexcharts-pie-area");Array.prototype.forEach.call(a,function(t){t.setAttribute("data:pieClicked","false");var e=t.getAttribute("data:pathOrig");t.setAttribute("d",e)}),r.attr("data:pieClicked","true");var s=parseInt(r.attr("data:startAngle")),l=parseInt(r.attr("data:angle"));e=this.getPiePath({me:this,startAngle:s,angle:l,size:n}),360!==l&&r.plot(e).animate(1).plot(o).animate(100).plot(e)}else{r.attr({"data:pieClicked":"false"}),this.revertDataLabelsInner(r.node,this.donutDataLabels);var c=r.attr("data:pathOrig");r.attr({d:c})}}},{key:"getChangedPath",value:function(t,e){var i="";return this.dynamicAnim&&this.w.globals.dataChanged&&(i=this.getPiePath({me:this,startAngle:t,angle:e-t,size:this.size})),i}},{key:"getPiePath",value:function(t){var e=t.me,i=t.startAngle,n=t.angle,r=t.size,o=this.w,a=i,s=Math.PI*(a-90)/180,l=n+i;Math.ceil(l)>=360&&(l=359.99);var c=Math.PI*(l-90)/180,h=e.centerX+r*Math.cos(s),d=e.centerY+r*Math.sin(s),f=e.centerX+r*Math.cos(c),p=e.centerY+r*Math.sin(c),g=u.polarToCartesian(e.centerX,e.centerY,e.donutSize,l),m=u.polarToCartesian(e.centerX,e.centerY,e.donutSize,a),v=n>180?1:0;return"donut"===o.config.chart.type?["M",h,d,"A",r,r,0,v,1,f,p,"L",g.x,g.y,"A",e.donutSize,e.donutSize,0,v,0,m.x,m.y,"L",h,d,"z"].join(" "):"pie"===o.config.chart.type?["M",h,d,"A",r,r,0,v,1,f,p,"L",e.centerX,e.centerY,"L",h,d].join(" "):["M",h,d,"A",r,r,0,v,1,f,p].join(" ")}},{key:"renderInnerDataLabels",value:function(t,e){var i=this.w,n=new f(this.ctx),r=n.group({class:"apexcharts-datalabels-group",transform:"translate(".concat(e.translateX?e.translateX:0,", ").concat(e.translateY?e.translateY:0,")")}),o=t.total.show;r.node.style.opacity=e.opacity;var a,s,l=e.centerX,c=e.centerY;a=void 0===t.name.color?i.globals.colors[0]:t.name.color,s=void 0===t.value.color?i.config.chart.foreColor:t.value.color;var u=t.value.formatter,h="",d="";if(o?(a=t.total.color,d=t.total.label,h=t.total.formatter(i)):1===i.globals.series.length&&(h=u(i.globals.series[0],i),d=i.globals.seriesNames[0]),t.name.show){var p=n.drawText({x:l,y:c+parseInt(t.name.offsetY),text:d,textAnchor:"middle",foreColor:a,fontSize:t.name.fontSize,fontFamily:t.name.fontFamily});p.node.classList.add("apexcharts-datalabel-label"),r.add(p)}if(t.value.show){var g=t.name.show?parseInt(t.value.offsetY)+16:t.value.offsetY,m=n.drawText({x:l,y:c+g,text:h,textAnchor:"middle",foreColor:s,fontSize:t.value.fontSize,fontFamily:t.value.fontFamily});m.node.classList.add("apexcharts-datalabel-value"),r.add(m)}return r}},{key:"printInnerLabels",value:function(t,e,i,n){var r,o=this.w;n?r=void 0===t.name.color?o.globals.colors[parseInt(n.parentNode.getAttribute("rel"))-1]:t.name.color:o.globals.series.length>1&&t.total.show&&(r=t.total.color);var a=o.globals.dom.baseEl.querySelector(".apexcharts-datalabel-label"),s=o.globals.dom.baseEl.querySelector(".apexcharts-datalabel-value");i=(0,t.value.formatter)(i,o),n||"function"!=typeof t.total.formatter||(i=t.total.formatter(o)),null!==a&&(a.textContent=e),null!==s&&(s.textContent=i),null!==a&&(a.style.fill=r)}},{key:"printDataLabelsInner",value:function(t,e){var i=this.w,n=t.getAttribute("data:value"),r=i.globals.seriesNames[parseInt(t.parentNode.getAttribute("rel"))-1];i.globals.series.length>1&&this.printInnerLabels(e,r,n,t);var o=i.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");null!==o&&(o.style.opacity=1)}},{key:"revertDataLabelsInner",value:function(e,i,n){var r=this.w,o=r.globals.dom.baseEl.querySelector(".apexcharts-datalabels-group");if(i.total.show&&r.globals.series.length>1)new t(this.ctx).printInnerLabels(i,i.total.label,i.total.formatter(r));else{var a=document.querySelectorAll(".apexcharts-pie-area"),s=!1;if(Array.prototype.forEach.call(a,function(t){"true"===t.getAttribute("data:pieClicked")&&(s=!0,this.printDataLabelsInner(t,i))}),!s)if(r.globals.selectedDataPoints.length&&r.globals.series.length>1)if(r.globals.selectedDataPoints[0].length>0){var l=r.globals.selectedDataPoints[0],c=r.globals.dom.baseEl.querySelector("#apexcharts-".concat(r.config.chart.type.toLowerCase(),"-slice-").concat(l));this.printDataLabelsInner(c,i)}else o&&r.globals.selectedDataPoints.length&&0===r.globals.selectedDataPoints[0].length&&(o.style.opacity=0);else o&&r.globals.series.length>1&&(o.style.opacity=0)}}}]),t}(),O=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.chartType=this.w.config.chart.type,this.initialAnim=this.w.config.chart.animations.enabled,this.dynamicAnim=this.initialAnim&&this.w.config.chart.animations.dynamicAnimation.enabled,this.animDur=0;var n=this.w;this.graphics=new f(this.ctx),this.lineColorArr=void 0!==n.globals.stroke.colors?n.globals.stroke.colors:n.globals.colors,this.defaultSize=n.globals.svgHeight<n.globals.svgWidth?n.globals.svgHeight-35:n.globals.gridWidth,this.maxValue=this.w.globals.maxY,this.polygons=n.config.plotOptions.radar.polygons,this.maxLabelWidth=20;var r=n.globals.labels.slice().sort(function(t,e){return e.length-t.length})[0],o=this.graphics.getTextRects(r,n.config.dataLabels.style.fontSize);this.size=this.defaultSize/2.1-n.config.stroke.width-n.config.chart.dropShadow.blur-o.width/1.75,void 0!==n.config.plotOptions.radar.size&&(this.size=n.config.plotOptions.radar.size),this.dataRadiusOfPercent=[],this.dataRadius=[],this.angleArr=[],this.yaxisLabelsTextsPos=[]}return n(t,[{key:"draw",value:function(t){var e=this,i=this.w,n=new _(this.ctx),r=[];this.dataPointsLen=t[i.globals.maxValsInArrayIndex].length,this.disAngle=2*Math.PI/this.dataPointsLen;var a=i.globals.gridWidth/2,s=i.globals.gridHeight/2,l=this.graphics.group({class:"apexcharts-radar-series","data:innerTranslateX":a,"data:innerTranslateY":s-25,transform:"translate(".concat(a||0,", ").concat(s||0,")")}),c=[],d=null;if(this.yaxisLabels=this.graphics.group({class:"apexcharts-yaxis"}),t.forEach(function(t,a){var s=e.graphics.group().attr({class:"apexcharts-series",seriesName:u.escapeString(i.globals.seriesNames[a]),rel:a+1,"data:realIndex":a});e.dataRadiusOfPercent[a]=[],e.dataRadius[a]=[],e.angleArr[a]=[],t.forEach(function(t,i){e.dataRadiusOfPercent[a][i]=t/e.maxValue,e.dataRadius[a][i]=e.dataRadiusOfPercent[a][i]*e.size,e.angleArr[a][i]=i*e.disAngle}),c=e.getDataPointsPos(e.dataRadius[a],e.angleArr[a]);var l=e.createPaths(c,{x:0,y:0});d=e.graphics.group({class:"apexcharts-series-markers-wrap hidden"}),i.globals.delayedElements.push({el:d.node,index:a});var f={i:a,realIndex:a,animationDelay:a,initialSpeed:i.config.chart.animations.speed,dataChangeSpeed:i.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-radar",id:"apexcharts-radar",shouldClipToGrid:!1,bindEventsOnPaths:!1,stroke:i.globals.stroke.colors[a],strokeLineCap:i.config.stroke.lineCap},p=null;i.globals.previousPaths.length>0&&(p=e.getPathFrom(a));for(var g=0;g<l.linePathsTo.length;g++){var m=e.graphics.renderPaths(o({},f,{pathFrom:null===p?l.linePathsFrom[g]:p,pathTo:l.linePathsTo[g],strokeWidth:Array.isArray(i.config.stroke.width)?i.config.stroke.width[a]:i.config.stroke.width,fill:"none",drawShadow:!1}));s.add(m);var v=n.fillPath({seriesNumber:a}),y=e.graphics.renderPaths(o({},f,{pathFrom:null===p?l.areaPathsFrom[g]:p,pathTo:l.areaPathsTo[g],strokeWidth:0,fill:v,drawShadow:!1}));if(i.config.chart.dropShadow.enabled){var b=new h(e.ctx),L=i.config.chart.dropShadow;b.dropShadow(y,Object.assign({},L,{noUserSpaceOnUse:!0}),a)}s.add(y)}t.forEach(function(t,i){var n=new S(e.ctx).getMarkerConfig("apexcharts-marker",a),r=e.graphics.drawMarker(c[i].x,c[i].y,n);r.attr("rel",i),r.attr("j",i),r.attr("index",a),r.node.setAttribute("default-marker-size",n.pSize);var o=e.graphics.group({class:"apexcharts-series-markers"});o&&o.add(r),d.add(o),s.add(d)}),r.push(s)}),this.drawPolygons({parent:l}),i.config.dataLabels.enabled){var f=this.drawLabels();l.add(f)}return l.add(this.yaxisLabels),r.forEach(function(t){l.add(t)}),l}},{key:"drawPolygons",value:function(t){for(var e=this,i=this.w,n=t.parent,r=i.globals.yAxisScale[0].result.reverse(),o=r.length,a=[],s=this.size/(o-1),l=0;l<o;l++)a[l]=s*l;a.reverse();var c=[],u=[];a.forEach(function(t,i){var n=e.getPolygonPos(t),r="";n.forEach(function(t,n){if(0===i){var o=e.graphics.drawLine(t.x,t.y,0,0,Array.isArray(e.polygons.connectorColors)?e.polygons.connectorColors[n]:e.polygons.connectorColors);u.push(o)}0===n&&e.yaxisLabelsTextsPos.push({x:t.x,y:t.y}),r+=t.x+","+t.y+" "}),c.push(r)}),c.forEach(function(t,r){var o=e.polygons.strokeColors,a=e.graphics.drawPolygon(t,Array.isArray(o)?o[r]:o,i.globals.radarPolygons.fill.colors[r]);n.add(a)}),u.forEach(function(t){n.add(t)}),i.config.yaxis[0].show&&this.yaxisLabelsTextsPos.forEach(function(t,i){var n=e.drawYAxisText(t.x,t.y,i,r[i]);e.yaxisLabels.add(n)})}},{key:"drawYAxisText",value:function(t,e,i,n){var r=this.w,o=r.config.yaxis[0],a=r.globals.yLabelFormatters[0];return this.graphics.drawText({x:t+o.labels.offsetX,y:e+o.labels.offsetY,text:a(n,i),textAnchor:"middle",fontSize:o.labels.style.fontSize,fontFamily:o.labels.style.fontFamily,foreColor:o.labels.style.color})}},{key:"drawLabels",value:function(){var t=this,e=this.w,i="middle",n=e.config.dataLabels,r=this.graphics.group({class:"apexcharts-datalabels"}),o=this.getPolygonPos(this.size),a=0,s=0;return e.globals.labels.forEach(function(l,c){var u=n.formatter,h=new k(t.ctx);if(o[c]){a=o[c].x,s=o[c].y,Math.abs(o[c].x)>=10?o[c].x>0?(i="start",a+=10):o[c].x<0&&(i="end",a-=10):i="middle",Math.abs(o[c].y)>=t.size-10&&(o[c].y<0?s-=10:o[c].y>0&&(s+=10));var d=u(l,{seriesIndex:-1,dataPointIndex:c,w:e});h.plotDataLabelsText({x:a,y:s,text:d,textAnchor:i,i:c,j:c,parent:r,dataLabelsConfig:n,offsetCorrection:!1})}}),r}},{key:"createPaths",value:function(t,e){var i=this,n=[],r=[],o=[],a=[];if(t.length){r=[this.graphics.move(e.x,e.y)],a=[this.graphics.move(e.x,e.y)];var s=this.graphics.move(t[0].x,t[0].y),l=this.graphics.move(t[0].x,t[0].y);t.forEach(function(e,n){s+=i.graphics.line(e.x,e.y),l+=i.graphics.line(e.x,e.y),n===t.length-1&&(s+="Z",l+="Z")}),n.push(s),o.push(l)}return{linePathsFrom:r,linePathsTo:n,areaPathsFrom:a,areaPathsTo:o}}},{key:"getPathFrom",value:function(t){for(var e=this.w,i=null,n=0;n<e.globals.previousPaths.length;n++){var r=e.globals.previousPaths[n];r.paths.length>0&&parseInt(r.realIndex)===parseInt(t)&&void 0!==e.globals.previousPaths[n].paths[0]&&(i=e.globals.previousPaths[n].paths[0].d)}return i}},{key:"getDataPointsPos",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.dataPointsLen;t=t||[],e=e||[];for(var n=[],r=0;r<i;r++){var o={};o.x=t[r]*Math.sin(e[r]),o.y=-t[r]*Math.cos(e[r]),n.push(o)}return n}},{key:"getPolygonPos",value:function(t){for(var e=[],i=2*Math.PI/this.dataPointsLen,n=0;n<this.dataPointsLen;n++){var r={};r.x=t*Math.sin(n*i),r.y=-t*Math.cos(n*i),e.push(r)}return e}}]),t}(),I=function(t){function i(t){var n;e(this,i),(n=l(this,s(i).call(this,t))).ctx=t,n.w=t.w,n.animBeginArr=[0],n.animDur=0;var r=n.w;return n.startAngle=r.config.plotOptions.radialBar.startAngle,n.endAngle=r.config.plotOptions.radialBar.endAngle,n.trackStartAngle=r.config.plotOptions.radialBar.track.startAngle,n.trackEndAngle=r.config.plotOptions.radialBar.track.endAngle,n.radialDataLabels=r.config.plotOptions.radialBar.dataLabels,n.trackStartAngle||(n.trackStartAngle=n.startAngle),n.trackEndAngle||(n.trackEndAngle=n.endAngle),360===n.endAngle&&(n.endAngle=359.99),n.fullAngle=360-r.config.plotOptions.radialBar.endAngle-r.config.plotOptions.radialBar.startAngle,n.margin=parseInt(r.config.plotOptions.radialBar.track.margin),n}return a(i,P),n(i,[{key:"draw",value:function(t){var e=this.w,i=new f(this.ctx),n=i.group({class:"apexcharts-radialbar"});if(e.globals.noData)return n;var r=i.group(),o=this.defaultSize/2,a=e.globals.gridWidth/2,s=this.defaultSize/2.05-e.config.stroke.width-e.config.chart.dropShadow.blur;void 0!==e.config.plotOptions.radialBar.size&&(s=e.config.plotOptions.radialBar.size);var l=e.globals.fill.colors;if(e.config.plotOptions.radialBar.track.show){var c=this.drawTracks({size:s,centerX:a,centerY:o,colorArr:l,series:t});r.add(c)}var u=this.drawArcs({size:s,centerX:a,centerY:o,colorArr:l,series:t}),h=360;return e.config.plotOptions.radialBar.startAngle<0&&(h=Math.abs(e.config.plotOptions.radialBar.endAngle-e.config.plotOptions.radialBar.startAngle)),e.globals.radialSize=s-s/(360/(360-h))+10,r.add(u.g),"front"===e.config.plotOptions.radialBar.hollow.position&&(u.g.add(u.elHollow),u.dataLabels&&u.g.add(u.dataLabels)),n.add(r),n}},{key:"drawTracks",value:function(t){var e=this.w,i=new f(this.ctx),n=i.group({class:"apexcharts-tracks"}),r=new h(this.ctx),o=new _(this.ctx),a=this.getStrokeWidth(t);t.size=t.size-a/2;for(var s=0;s<t.series.length;s++){var l=i.group({class:"apexcharts-radialbar-track apexcharts-track"});n.add(l),l.attr({id:"apexcharts-track-"+s,rel:s+1}),t.size=t.size-a-this.margin;var c=e.config.plotOptions.radialBar.track,u=o.fillPath({seriesNumber:0,size:t.size,fillColors:Array.isArray(c.background)?c.background[s]:c.background,solid:!0}),d=this.trackStartAngle,p=this.trackEndAngle;Math.abs(p)+Math.abs(d)>=360&&(p=360-Math.abs(this.startAngle)-.1);var g=i.drawPath({d:"",stroke:u,strokeWidth:a*parseInt(c.strokeWidth)/100,fill:"none",strokeOpacity:c.opacity,classes:"apexcharts-radialbar-area"});if(c.dropShadow.enabled){var m=c.dropShadow;r.dropShadow(g,m)}l.add(g),g.attr("id","apexcharts-radialbarTrack-"+s),this.animatePaths(g,{centerX:t.centerX,centerY:t.centerY,endAngle:p,startAngle:d,size:t.size,i:s,totalItems:2,animBeginArr:0,dur:0,isTrack:!0,easing:e.globals.easing})}return n}},{key:"drawArcs",value:function(t){var e=this.w,i=new f(this.ctx),n=new _(this.ctx),r=new h(this.ctx),o=i.group(),a=this.getStrokeWidth(t);t.size=t.size-a/2;var s=e.config.plotOptions.radialBar.hollow.background,l=t.size-a*t.series.length-this.margin*t.series.length-a*parseInt(e.config.plotOptions.radialBar.track.strokeWidth)/100/2,c=l-e.config.plotOptions.radialBar.hollow.margin;void 0!==e.config.plotOptions.radialBar.hollow.image&&(s=this.drawHollowImage(t,o,l,s));var d=this.drawHollow({size:c,centerX:t.centerX,centerY:t.centerY,fill:s});if(e.config.plotOptions.radialBar.hollow.dropShadow.enabled){var p=e.config.plotOptions.radialBar.hollow.dropShadow;r.dropShadow(d,p)}var g=1;!this.radialDataLabels.total.show&&e.globals.series.length>1&&(g=0);var m=null;this.radialDataLabels.show&&(m=this.renderInnerDataLabels(this.radialDataLabels,{hollowSize:l,centerX:t.centerX,centerY:t.centerY,opacity:g})),"back"===e.config.plotOptions.radialBar.hollow.position&&(o.add(d),m&&o.add(m));var v=!1;e.config.plotOptions.radialBar.inverseOrder&&(v=!0);for(var y=v?t.series.length-1:0;v?y>=0:y<t.series.length;v?y--:y++){var b=i.group({class:"apexcharts-series apexcharts-radial-series",seriesName:u.escapeString(e.globals.seriesNames[y])});o.add(b),b.attr({id:"apexcharts-series-"+y,rel:y+1,"data:realIndex":y}),this.ctx.series.addCollapsedClassToSeries(b,y),t.size=t.size-a-this.margin;var L=n.fillPath({seriesNumber:y,size:t.size,value:t.series[y]}),x=this.startAngle,w=void 0,S=Math.abs(e.config.plotOptions.radialBar.endAngle-e.config.plotOptions.radialBar.startAngle),C=u.negToZero(t.series[y]>100?100:t.series[y])/100,k=Math.round(S*C)+this.startAngle,T=void 0;e.globals.dataChanged&&(w=this.startAngle,T=Math.round(S*u.negToZero(e.globals.previousPaths[y])/100)+w),Math.abs(k)+Math.abs(x)>=360&&(k-=.01),Math.abs(T)+Math.abs(w)>=360&&(T-=.01);var E=k-x,A=Array.isArray(e.config.stroke.dashArray)?e.config.stroke.dashArray[y]:e.config.stroke.dashArray,M=i.drawPath({d:"",stroke:L,strokeWidth:a,fill:"none",fillOpacity:e.config.fill.opacity,classes:"apexcharts-radialbar-area",strokeDashArray:A});if(f.setAttrs(M.node,{"data:angle":E,"data:value":t.series[y]}),e.config.chart.dropShadow.enabled){var D=e.config.chart.dropShadow;r.dropShadow(M,D,y)}this.addListeners(M,this.radialDataLabels),b.add(M),M.attr({id:"apexcharts-radialbar-slice-"+y,index:0,j:y});var P=0;!this.initialAnim||e.globals.resized||e.globals.dataChanged||(P=(k-x)/360*e.config.chart.animations.speed,this.animDur=P/(1.2*t.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),e.globals.dataChanged&&(P=(k-x)/360*e.config.chart.animations.dynamicAnimation.speed,this.animDur=P/(1.2*t.series.length)+this.animDur,this.animBeginArr.push(this.animDur)),this.animatePaths(M,{centerX:t.centerX,centerY:t.centerY,endAngle:k,startAngle:x,prevEndAngle:T,prevStartAngle:w,size:t.size,i:y,totalItems:2,animBeginArr:this.animBeginArr,dur:P,shouldSetPrevPaths:!0,easing:e.globals.easing})}return{g:o,elHollow:d,dataLabels:m}}},{key:"drawHollow",value:function(t){var e=new f(this.ctx).drawCircle(2*t.size);return e.attr({class:"apexcharts-radialbar-hollow",cx:t.centerX,cy:t.centerY,r:t.size,fill:t.fill}),e}},{key:"drawHollowImage",value:function(t,e,i,n){var r=this.w,o=new _(this.ctx),a=(Math.random()+1).toString(36).substring(4),s=r.config.plotOptions.radialBar.hollow.image;if(r.config.plotOptions.radialBar.hollow.imageClipped)o.clippedImgArea({width:i,height:i,image:s,patternID:"pattern".concat(r.globals.cuid).concat(a)}),n="url(#pattern".concat(r.globals.cuid).concat(a,")");else{var l=r.config.plotOptions.radialBar.hollow.imageWidth,c=r.config.plotOptions.radialBar.hollow.imageHeight;if(void 0===l&&void 0===c){var u=r.globals.dom.Paper.image(s).loaded(function(e){this.move(t.centerX-e.width/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,t.centerY-e.height/2+r.config.plotOptions.radialBar.hollow.imageOffsetY)});e.add(u)}else{var h=r.globals.dom.Paper.image(s).loaded(function(e){this.move(t.centerX-l/2+r.config.plotOptions.radialBar.hollow.imageOffsetX,t.centerY-c/2+r.config.plotOptions.radialBar.hollow.imageOffsetY),this.size(l,c)});e.add(h)}}return n}},{key:"getStrokeWidth",value:function(t){var e=this.w;return t.size*(100-parseInt(e.config.plotOptions.radialBar.hollow.size))/100/(t.series.length+1)-this.margin}}]),i}(),N=function(t){function i(){return e(this,i),l(this,s(i).apply(this,arguments))}return a(i,T),n(i,[{key:"draw",value:function(t,e){var i=this.w,n=new f(this.ctx),r=new _(this.ctx);this.rangeBarOptions=this.w.config.plotOptions.rangeBar,this.series=t,this.seriesRangeStart=i.globals.seriesRangeStart,this.seriesRangeEnd=i.globals.seriesRangeEnd,this.initVariables(t);for(var o=n.group({class:"apexcharts-rangebar-series apexcharts-plot-series"}),a=0,s=0;a<t.length;a++,s++){var l,c,h,d,p=void 0,g=void 0,m=void 0,v=void 0,y=[],b=[],L=i.globals.comboCharts?e[a]:a,x=n.group({class:"apexcharts-series",seriesName:u.escapeString(i.globals.seriesNames[L]),rel:a+1,"data:realIndex":L});t[a].length>0&&(this.visibleI=this.visibleI+1);var w=0,S=0,C=0;this.yRatio.length>1&&(this.yaxisIndex=L);var k=this.initialPositions();v=k.y,c=k.yDivision,S=k.barHeight,d=k.zeroW,m=k.x,C=k.barWidth,l=k.xDivision,h=k.zeroH,b.push(m+C/2);for(var T=n.group({class:"apexcharts-datalabels"}),E=0,A=i.globals.dataPoints;E<i.globals.dataPoints;E++,A--){void 0===this.series[a][E]||null===t[a][E]?this.isNullValue=!0:this.isNullValue=!1,i.config.stroke.show&&(w=this.isNullValue?0:Array.isArray(this.strokeWidth)?this.strokeWidth[L]:this.strokeWidth);var M=null;this.isHorizontal?C=(M=this.drawRangeBarPaths({indexes:{i:a,j:E,realIndex:L,bc:s},barHeight:S,strokeWidth:w,pathTo:p,pathFrom:g,zeroW:d,x:m,y:v,yDivision:c,elSeries:x})).barWidth:S=(M=this.drawRangeColumnPaths({indexes:{i:a,j:E,realIndex:L,bc:s},x:m,y:v,xDivision:l,pathTo:p,pathFrom:g,barWidth:C,zeroH:h,strokeWidth:w,elSeries:x})).barHeight,p=M.pathTo,g=M.pathFrom,v=M.y,m=M.x,E>0&&b.push(m+C/2),y.push(v);var D=r.fillPath({seriesNumber:L}),P=i.globals.stroke.colors[L];x=this.renderSeries({realIndex:L,pathFill:D,lineFill:P,j:E,i:a,pathFrom:g,pathTo:p,strokeWidth:w,elSeries:x,x:m,y:v,series:t,barHeight:S,barWidth:C,elDataLabelsWrap:T,visibleSeries:this.visibleI,type:"rangebar"})}i.globals.seriesXvalues[L]=b,i.globals.seriesYvalues[L]=y,o.add(x)}return o}},{key:"drawRangeColumnPaths",value:function(t){var e=t.indexes,i=t.x,n=(t.y,t.strokeWidth),r=t.xDivision,o=t.pathTo,a=t.pathFrom,s=t.barWidth,l=t.zeroH,c=this.w,u=new f(this.ctx),h=e.i,d=e.j,p=this.yRatio[this.yaxisIndex],g=e.realIndex,m=this.getRangeValue(g,d),v=Math.min(m.start,m.end),y=Math.max(m.start,m.end);c.globals.isXNumeric&&(i=(c.globals.seriesX[h][d]-c.globals.minX)/this.xRatio-s/2);var b=i+s*this.visibleI;void 0===this.series[h][d]||null===this.series[h][d]?v=l:(v=l-v/p,y=l-y/p);var L=Math.abs(y-v);return u.move(b,l),a=u.move(b,v),c.globals.previousPaths.length>0&&(a=this.getPathFrom(g,d,!0)),o=u.move(b,y)+u.line(b+s,y)+u.line(b+s,v)+u.line(b,v)+u.line(b,y-n/2),a=a+u.move(b,v)+u.line(b+s,v)+u.line(b+s,v)+u.line(b,v),c.globals.isXNumeric||(i+=r),{pathTo:o,pathFrom:a,barHeight:L,x:i,y:y,barXPosition:b}}},{key:"drawRangeBarPaths",value:function(t){var e=t.indexes,i=(t.x,t.y),n=t.yDivision,r=t.pathTo,o=t.pathFrom,a=t.barHeight,s=t.zeroW,l=this.w,c=new f(this.ctx),u=e.i,h=e.j,d=e.realIndex,p=s,g=s;l.globals.isXNumeric&&(i=(l.globals.seriesX[u][h]-l.globals.minX)/this.invertedXRatio-a);var m=i+a*this.visibleI;void 0!==this.series[u][h]&&null!==this.series[u][h]&&(p=s+this.seriesRangeStart[u][h]/this.invertedYRatio,g=s+this.seriesRangeEnd[u][h]/this.invertedYRatio),c.move(s,m),o=c.move(s,m),l.globals.previousPaths.length>0&&(o=this.getPathFrom(d,h));var v=Math.abs(g-p);return r=c.move(p,m)+c.line(g,m)+c.line(g,m+a)+c.line(p,m+a)+c.line(p,m),o=o+c.line(p,m)+c.line(p,m+a)+c.line(p,m+a)+c.line(p,m),l.globals.isXNumeric||(i+=n),{pathTo:r,pathFrom:o,barWidth:v,x:g,y:i,barYPosition:m}}},{key:"getRangeValue",value:function(t,e){var i=this.w;return{start:i.globals.seriesRangeStart[t][e],end:i.globals.seriesRangeEnd[t][e]}}}]),i}(),R=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.tooltipKeyFormat="dd MMM"}return n(t,[{key:"xLabelFormat",value:function(t,e){var i=this.w;return"datetime"===i.config.xaxis.type&&void 0===i.config.tooltip.x.formatter?new v(this.ctx).formatDate(new Date(e),i.config.tooltip.x.format,!0,!0):t(e)}},{key:"setLabelFormatters",value:function(){var t=this.w;return t.globals.xLabelFormatter=function(t){return t},t.globals.xaxisTooltipFormatter=function(t){return t},t.globals.ttKeyFormatter=function(t){return t},t.globals.ttZFormatter=function(t){return t},t.globals.legendFormatter=function(t){return t},"function"==typeof t.config.tooltip.x.formatter&&(t.globals.ttKeyFormatter=t.config.tooltip.x.formatter),"function"==typeof t.config.xaxis.tooltip.formatter&&(t.globals.xaxisTooltipFormatter=t.config.xaxis.tooltip.formatter),Array.isArray(t.config.tooltip.y)?t.globals.ttVal=t.config.tooltip.y:void 0!==t.config.tooltip.y.formatter&&(t.globals.ttVal=t.config.tooltip.y),void 0!==t.config.tooltip.z.formatter&&(t.globals.ttZFormatter=t.config.tooltip.z.formatter),void 0!==t.config.legend.formatter&&(t.globals.legendFormatter=t.config.legend.formatter),void 0!==t.config.xaxis.labels.formatter?t.globals.xLabelFormatter=t.config.xaxis.labels.formatter:t.globals.xLabelFormatter=function(e){return u.isNumber(e)?"numeric"===t.config.xaxis.type&&t.globals.dataPoints<50?e.toFixed(1):e.toFixed(0):e},t.config.yaxis.forEach(function(e,i){void 0!==e.labels.formatter?t.globals.yLabelFormatters[i]=e.labels.formatter:t.globals.yLabelFormatters[i]=function(n){return u.isNumber(n)?0!==t.globals.yValueDecimal?n.toFixed(void 0!==e.decimalsInFloat?e.decimalsInFloat:t.globals.yValueDecimal):t.globals.maxYArr[i]-t.globals.minYArr[i]<5?n.toFixed(1):n.toFixed(0):n}}),t.globals}},{key:"heatmapLabelFormatters",value:function(){var t=this.w;if("heatmap"===t.config.chart.type){t.globals.yAxisScale[0].result=t.globals.seriesNames.slice();var e=t.globals.seriesNames.reduce(function(t,e){return t.length>e.length?t:e},0);t.globals.yAxisScale[0].niceMax=e,t.globals.yAxisScale[0].niceMin=e}}}]),t}(),F=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"getLabel",value:function(t,e,i,n){var r,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=this.w,s=void 0===t[n]?"":t[n],l=a.globals.xLabelFormatter,c=a.config.xaxis.labels.formatter;return r=new R(this.ctx).xLabelFormat(l,s),void 0!==c&&(r=c(s,t[n],n)),e.length>0?(i=e[n].position,r=e[n].value):"datetime"===a.config.xaxis.type&&void 0===c&&(r=""),void 0===r&&(r=""),(0===(r=r.toString()).indexOf("NaN")||0===r.toLowerCase().indexOf("invalid")||r.toLowerCase().indexOf("infinity")>=0||o.indexOf(r)>=0&&!a.config.xaxis.labels.showDuplicates)&&(r=""),{x:i,text:r}}},{key:"drawYAxisTicks",value:function(t,e,i,n,r,o,a){var s=this.w,l=new f(this.ctx),c=s.globals.translateY;if(n.show){!0===s.config.yaxis[r].opposite&&(t+=n.width);for(var u=e;u>=0;u--){var h=c+e/10+s.config.yaxis[r].labels.offsetY-1;s.globals.isBarHorizontal&&(h=o*u);var d=l.drawLine(t+i.offsetX-n.width+n.offsetX,h+n.offsetY,t+i.offsetX+n.offsetX,h+n.offsetY,i.color);a.add(d),c+=o}}}}]),t}(),B=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w;var n=this.w;this.xaxisFontSize=n.config.xaxis.labels.style.fontSize,this.axisFontFamily=n.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=n.config.xaxis.labels.style.colors,this.xAxisoffX=0,"bottom"===n.config.xaxis.position&&(this.xAxisoffX=n.globals.gridHeight),this.drawnLabels=[],this.axesUtils=new F(i)}return n(t,[{key:"drawYaxis",value:function(t){var e=this.w,i=new f(this.ctx),n=e.config.yaxis[t].labels.style.fontSize,r=e.config.yaxis[t].labels.style.fontFamily,o=i.group({class:"apexcharts-yaxis",rel:t,transform:"translate("+e.globals.translateYAxisX[t]+", 0)"});if(!e.config.yaxis[t].show)return o;var a=i.group({class:"apexcharts-yaxis-texts-g"});o.add(a);var s=e.globals.yAxisScale[t].result.length-1,l=e.globals.gridHeight/s+.1,c=e.globals.translateY,u=e.globals.yLabelFormatters[t],h=e.globals.yAxisScale[t].result.slice();if(e.config.yaxis[t]&&e.config.yaxis[t].reversed&&h.reverse(),e.config.yaxis[t].labels.show)for(var d=s;d>=0;d--){var p=h[d];p=u(p,d);var g=e.config.yaxis[t].labels.padding;e.config.yaxis[t].opposite&&0!==e.config.yaxis.length&&(g*=-1);var m=i.drawText({x:g,y:c+s/10+e.config.yaxis[t].labels.offsetY+1,text:p,textAnchor:e.config.yaxis[t].opposite?"start":"end",fontSize:n,fontFamily:r,foreColor:e.config.yaxis[t].labels.style.color,cssClass:"apexcharts-yaxis-label "+e.config.yaxis[t].labels.style.cssClass});a.add(m);var v=i.rotateAroundCenter(m.node);0!==e.config.yaxis[t].labels.rotate&&m.node.setAttribute("transform","rotate(".concat(e.config.yaxis[t].labels.rotate," ").concat(v.x," ").concat(v.y,")")),c+=l}if(void 0!==e.config.yaxis[t].title.text){var y=i.group({class:"apexcharts-yaxis-title"}),b=0;e.config.yaxis[t].opposite&&(b=e.globals.translateYAxisX[t]);var L=i.drawText({x:b,y:e.globals.gridHeight/2+e.globals.translateY,text:e.config.yaxis[t].title.text,textAnchor:"end",foreColor:e.config.yaxis[t].title.style.color,fontSize:e.config.yaxis[t].title.style.fontSize,fontFamily:e.config.yaxis[t].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+e.config.yaxis[t].title.style.cssClass});y.add(L),o.add(y)}var x=e.config.yaxis[t].axisBorder;if(x.show){var w=31+x.offsetX;e.config.yaxis[t].opposite&&(w=-31-x.offsetX);var _=i.drawLine(w,e.globals.translateY+x.offsetY-2,w,e.globals.gridHeight+e.globals.translateY+x.offsetY+2,x.color);o.add(_),this.axesUtils.drawYAxisTicks(w,s,x,e.config.yaxis[t].axisTicks,t,l,o)}return o}},{key:"drawYaxisInversed",value:function(t){var e=this.w,i=new f(this.ctx),n=i.group({class:"apexcharts-xaxis apexcharts-yaxis-inversed"}),r=i.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});n.add(r);var o=e.globals.yAxisScale[t].result.length-1,a=e.globals.gridWidth/o+.1,s=a+e.config.xaxis.labels.offsetX,l=e.globals.xLabelFormatter,c=e.globals.yAxisScale[t].result.slice(),u=e.globals.invertedTimelineLabels;u.length>0&&(this.xaxisLabels=u.slice(),o=(c=u.slice()).length),e.config.yaxis[t]&&e.config.yaxis[t].reversed&&c.reverse();var h=u.length;if(e.config.xaxis.labels.show)for(var d=h?0:o;h?d<h-1:d>=0;h?d++:d--){var p=c[d];p=l(p,d);var g=e.globals.gridWidth+e.globals.padHorizontal-(s-a+e.config.xaxis.labels.offsetX);if(u.length){var m=this.axesUtils.getLabel(c,u,g,d,this.drawnLabels);g=m.x,p=m.text,this.drawnLabels.push(m.text)}var v=i.drawText({x:g,y:this.xAxisoffX+e.config.xaxis.labels.offsetY+30,text:"",textAnchor:"middle",foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[t]:this.xaxisForeColors,fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,cssClass:"apexcharts-xaxis-label "+e.config.xaxis.labels.style.cssClass});r.add(v),v.tspan(p);var y=document.createElementNS(e.globals.SVGNS,"title");y.textContent=p,v.node.appendChild(y),s+=a}if(void 0!==e.config.xaxis.title.text){var b=i.group({class:"apexcharts-xaxis-title apexcharts-yaxis-title-inversed"}),L=i.drawText({x:e.globals.gridWidth/2,y:this.xAxisoffX+parseInt(this.xaxisFontSize)+parseInt(e.config.xaxis.title.style.fontSize)+20,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});b.add(L),n.add(b)}var x=e.config.yaxis[t].axisBorder;if(x.show){var w=i.drawLine(e.globals.padHorizontal+x.offsetX,1+x.offsetY,e.globals.padHorizontal+x.offsetX,e.globals.gridHeight+x.offsetY,x.color);n.add(w)}return n}},{key:"yAxisTitleRotate",value:function(t,e){var i=this.w,n=new f(this.ctx),r={width:0,height:0},o={width:0,height:0},a=i.globals.dom.baseEl.querySelector(" .apexcharts-yaxis[rel='".concat(t,"'] .apexcharts-yaxis-texts-g"));null!==a&&(r=a.getBoundingClientRect());var s=i.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(t,"'] .apexcharts-yaxis-title text"));if(null!==s&&(o=s.getBoundingClientRect()),null!==s){var l=this.xPaddingForYAxisTitle(t,r,o,e);s.setAttribute("x",l.xPos-(e?10:0))}if(null!==s){var c=n.rotateAroundCenter(s);e?s.setAttribute("transform","rotate(".concat(i.config.yaxis[t].title.rotate," ").concat(c.x," ").concat(c.y,")")):s.setAttribute("transform","rotate(-".concat(i.config.yaxis[t].title.rotate," ").concat(c.x," ").concat(c.y,")"))}}},{key:"xPaddingForYAxisTitle",value:function(t,e,i,n){var r=this.w,o=0,a=0,s=10;return void 0===r.config.yaxis[t].title.text||t<0?{xPos:a,padd:0}:(n?(a=e.width+r.config.yaxis[t].title.offsetX+i.width/2+s/2,0===(o+=1)&&(a-=s/2)):(a=-1*e.width+r.config.yaxis[t].title.offsetX+s/2+i.width/2,r.globals.isBarHorizontal&&(s=25,a=-1*e.width-r.config.yaxis[t].title.offsetX-s)),{xPos:a,padd:s})}},{key:"setYAxisXPosition",value:function(t,e){var i=this.w,n=0,r=0,o=21,a=1;i.config.yaxis.length>1&&(this.multipleYs=!0),i.config.yaxis.map(function(s,l){var c=i.globals.ignoreYAxisIndexes.indexOf(l)>-1||!s.show||s.floating||0===t[l].width,u=t[l].width+e[l].width;s.opposite?i.globals.isBarHorizontal?(r=i.globals.gridWidth+i.globals.translateX-1,i.globals.translateYAxisX[l]=r-s.labels.offsetX):(r=i.globals.gridWidth+i.globals.translateX+a,c||(a=a+u+20),i.globals.translateYAxisX[l]=r-s.labels.offsetX+20):(n=i.globals.translateX-o,c||(o=o+u+20),i.globals.translateYAxisX[l]=n+s.labels.offsetX)})}},{key:"setYAxisTextAlignments",value:function(){var t=this.w,e=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis");(e=u.listToArray(e)).forEach(function(e,i){var n=t.config.yaxis[i];if(void 0!==n.labels.align){var r=t.globals.dom.baseEl.querySelector(".apexcharts-yaxis[rel='".concat(i,"'] .apexcharts-yaxis-texts-g")),o=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis[rel='".concat(i,"'] .apexcharts-yaxis-label"));o=u.listToArray(o);var a=r.getBoundingClientRect();"left"===n.labels.align?(o.forEach(function(t,e){t.setAttribute("text-anchor","start")}),n.opposite||r.setAttribute("transform","translate(-".concat(a.width,", 0)"))):"center"===n.labels.align?(o.forEach(function(t,e){t.setAttribute("text-anchor","middle")}),r.setAttribute("transform","translate(".concat(a.width/2*(n.opposite?1:-1),", 0)"))):"right"===n.labels.align&&(o.forEach(function(t,e){t.setAttribute("text-anchor","end")}),n.opposite&&r.setAttribute("transform","translate(".concat(a.width,", 0)")))}})}}]),t}(),z=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.lgRect={},this.yAxisWidth=0,this.xAxisHeight=0,this.isSparkline=this.w.config.chart.sparkline.enabled,this.xPadRight=0,this.xPadLeft=0}return n(t,[{key:"plotCoords",value:function(){var t=this.w,e=t.globals,i=this.getLegendsRect();e.axisCharts?this.setGridCoordsForAxisCharts(i):this.setGridCoordsForNonAxisCharts(i),this.titleSubtitleOffset(),e.gridHeight=e.gridHeight-t.config.grid.padding.top-t.config.grid.padding.bottom,e.gridWidth=e.gridWidth-t.config.grid.padding.left-t.config.grid.padding.right-this.xPadRight-this.xPadLeft,e.translateX=e.translateX+t.config.grid.padding.left+this.xPadLeft,e.translateY=e.translateY+t.config.grid.padding.top}},{key:"conditionalChecksForAxisCoords",value:function(t,e){var i=this.w;this.xAxisHeight=(t.height+e.height)*i.globals.LINE_HEIGHT_RATIO+15,this.xAxisWidth=t.width,this.xAxisHeight-e.height>i.config.xaxis.labels.maxHeight&&(this.xAxisHeight=i.config.xaxis.labels.maxHeight),i.config.xaxis.labels.minHeight&&this.xAxisHeight<i.config.xaxis.labels.minHeight&&(this.xAxisHeight=i.config.xaxis.labels.minHeight),i.config.xaxis.floating&&(this.xAxisHeight=0),i.globals.isBarHorizontal?this.yAxisWidth=i.globals.yLabelsCoords[0].width+i.globals.yTitleCoords[0].width+15:this.yAxisWidth=this.getTotalYAxisWidth();var n=0,r=0;i.config.yaxis.forEach(function(t){n+=t.labels.minWidth,r+=t.labels.maxWidth}),this.yAxisWidth<n&&(this.yAxisWidth=n),this.yAxisWidth>r&&(this.yAxisWidth=r)}},{key:"setGridCoordsForAxisCharts",value:function(t){var e=this.w,i=e.globals,n=this.getyAxisLabelsCoords(),r=this.getxAxisLabelsCoords(),o=this.getyAxisTitleCoords(),a=this.getxAxisTitleCoords();e.globals.yLabelsCoords=[],e.globals.yTitleCoords=[],e.config.yaxis.map(function(t,i){e.globals.yLabelsCoords.push({width:n[i].width,index:i}),e.globals.yTitleCoords.push({width:o[i].width,index:i})}),this.conditionalChecksForAxisCoords(r,a),i.translateXAxisY=e.globals.rotateXLabels?this.xAxisHeight/8:-4,i.translateXAxisX=e.globals.rotateXLabels&&e.globals.isXNumeric&&e.config.xaxis.labels.rotate<=-45?-this.xAxisWidth/4:0,e.globals.isBarHorizontal&&(i.rotateXLabels=!1,i.translateXAxisY=parseInt(e.config.xaxis.labels.style.fontSize)/1.5*-1),i.translateXAxisY=i.translateXAxisY+e.config.xaxis.labels.offsetY,i.translateXAxisX=i.translateXAxisX+e.config.xaxis.labels.offsetX;var s=this.yAxisWidth,l=this.xAxisHeight;i.xAxisLabelsHeight=this.xAxisHeight,i.xAxisHeight=this.xAxisHeight;var c=10;switch(e.config.grid.show&&"radar"!==e.config.chart.type||(s=0,l=35),this.isSparkline&&(t={height:0,width:0},l=0,s=0,c=0),this.additionalPaddingXLabels(r),e.config.legend.position){case"bottom":i.translateY=c,i.translateX=s,i.gridHeight=i.svgHeight-t.height-l-(this.isSparkline?0:e.globals.rotateXLabels?10:15),i.gridWidth=i.svgWidth-s;break;case"top":i.translateY=t.height+c,i.translateX=s,i.gridHeight=i.svgHeight-t.height-l-(this.isSparkline?0:e.globals.rotateXLabels?10:15),i.gridWidth=i.svgWidth-s;break;case"left":i.translateY=c,i.translateX=t.width+s,i.gridHeight=i.svgHeight-l-12,i.gridWidth=i.svgWidth-t.width-s;break;case"right":i.translateY=c,i.translateX=s,i.gridHeight=i.svgHeight-l-12,i.gridWidth=i.svgWidth-t.width-s-5;break;default:throw new Error("Legend position not supported")}this.setGridXPosForDualYAxis(o,n),new B(this.ctx).setYAxisXPosition(n,o)}},{key:"setGridCoordsForNonAxisCharts",value:function(t){var e=this.w,i=e.globals,n=0;e.config.legend.show&&!e.config.legend.floating&&(n=20);var r=10,o=0;if("pie"===e.config.chart.type||"donut"===e.config.chart.type?(r+=e.config.plotOptions.pie.offsetY,o+=e.config.plotOptions.pie.offsetX):"radialBar"===e.config.chart.type&&(r+=e.config.plotOptions.radialBar.offsetY,o+=e.config.plotOptions.radialBar.offsetX),!e.config.legend.show)return i.gridHeight=i.svgHeight-35,i.gridWidth=i.gridHeight,i.translateY=r-10,void(i.translateX=o+(i.svgWidth-i.gridWidth)/2);switch(e.config.legend.position){case"bottom":i.gridHeight=i.svgHeight-t.height-35,i.gridWidth=i.gridHeight,i.translateY=r-20,i.translateX=o+(i.svgWidth-i.gridWidth)/2;break;case"top":i.gridHeight=i.svgHeight-t.height-35,i.gridWidth=i.gridHeight,i.translateY=t.height+r+10,i.translateX=o+(i.svgWidth-i.gridWidth)/2;break;case"left":i.gridWidth=i.svgWidth-t.width-n,i.gridHeight=i.gridWidth,i.translateY=r,i.translateX=o+t.width+n;break;case"right":i.gridWidth=i.svgWidth-t.width-n-5,i.gridHeight=i.gridWidth,i.translateY=r,i.translateX=o+10;break;default:throw new Error("Legend position not supported")}}},{key:"setGridXPosForDualYAxis",value:function(t,e){var i=this.w;i.config.yaxis.map(function(n,r){-1===i.globals.ignoreYAxisIndexes.indexOf(r)&&!i.config.yaxis[r].floating&&i.config.yaxis[r].show&&n.opposite&&(i.globals.translateX=i.globals.translateX-(e[r].width+t[r].width)-parseInt(i.config.yaxis[r].labels.style.fontSize)/1.2-12)})}},{key:"additionalPaddingXLabels",value:function(t){var e=this,i=this.w;if("category"===i.config.xaxis.type&&i.globals.isBarHorizontal||"numeric"===i.config.xaxis.type||"datetime"===i.config.xaxis.type){var n=i.globals.isXNumeric;i.config.yaxis.forEach(function(r,o){var a;(!r.show||r.floating||-1!==i.globals.collapsedSeriesIndices.indexOf(o)||n||r.opposite&&i.globals.isBarHorizontal)&&((n&&i.globals.isMultipleYAxis&&-1!==i.globals.collapsedSeriesIndices.indexOf(o)||i.globals.isBarHorizontal&&r.opposite)&&(a=t,i.config.grid.padding.left<a.width&&(e.xPadLeft=a.width/2+1)),(!i.globals.isBarHorizontal&&r.opposite&&-1!==i.globals.collapsedSeriesIndices.indexOf(o)||n&&!i.globals.isMultipleYAxis)&&function(t){e.timescaleLabels?e.timescaleLabels[e.timescaleLabels.length-1].position+t.width>i.globals.gridWidth?i.globals.skipLastTimelinelabel=!0:i.globals.skipLastTimelinelabel=!1:"datetime"!==i.config.xaxis.type&&i.config.grid.padding.right<t.width&&(e.xPadRight=t.width/2+1)}(t))})}}},{key:"titleSubtitleOffset",value:function(){var t=this.w,e=t.globals,i=this.isSparkline||!t.globals.axisCharts?0:10;void 0!==t.config.title.text?i+=t.config.title.margin:i+=this.isSparkline||!t.globals.axisCharts?0:5,void 0!==t.config.subtitle.text?i+=t.config.subtitle.margin:i+=this.isSparkline||!t.globals.axisCharts?0:5,t.config.legend.show&&"bottom"===t.config.legend.position&&!t.config.legend.floating&&(t.config.series.length>1||!t.globals.axisCharts||t.config.legend.showForSingleSeries)&&(i+=10);var n=this.getTitleSubtitleCoords("title"),r=this.getTitleSubtitleCoords("subtitle");e.gridHeight=e.gridHeight-n.height-r.height-i,e.translateY=e.translateY+n.height+r.height+i}},{key:"getTotalYAxisWidth",value:function(){var t=this.w,e=0,i=10,n=function(e){return t.globals.ignoreYAxisIndexes.indexOf(e)>-1};return t.globals.yLabelsCoords.map(function(r,o){var a=t.config.yaxis[o].floating;r.width>0&&!a?(e=e+r.width+i,n(o)&&(e=e-r.width-i)):e+=a||!t.config.yaxis[o].show?0:5}),t.globals.yTitleCoords.map(function(r,o){var a=t.config.yaxis[o].floating;i=parseInt(t.config.yaxis[o].title.style.fontSize),r.width>0&&!a?(e=e+r.width+i,n(o)&&(e=e-r.width-i)):e+=a||!t.config.yaxis[o].show?0:5}),e}},{key:"getxAxisTimeScaleLabelsCoords",value:function(){var t,e=this.w;this.timescaleLabels=e.globals.timelineLabels.slice(),e.globals.isBarHorizontal&&"datetime"===e.config.xaxis.type&&(this.timescaleLabels=e.globals.invertedTimelineLabels.slice());var i=this.timescaleLabels.map(function(t){return t.value}),n=i.reduce(function(t,e){return void 0===t?(console.error("You have possibly supplied invalid Date format. Please supply a valid JavaScript Date"),0):t.length>e.length?t:e},0);return 1.05*(t=new f(this.ctx).getTextRects(n,e.config.xaxis.labels.style.fontSize)).width*i.length>e.globals.gridWidth&&0!==e.config.xaxis.labels.rotate&&(e.globals.overlappingXLabels=!0),t}},{key:"getxAxisLabelsCoords",value:function(){var t,e=this.w,i=e.globals.labels.slice();if(e.globals.timelineLabels.length>0){var n=this.getxAxisTimeScaleLabelsCoords();t={width:n.width,height:n.height}}else{var r="left"!==e.config.legend.position||"right"!==e.config.legend.position||e.config.legend.floating?0:this.lgRect.width,o=e.globals.xLabelFormatter,a=i.reduce(function(t,e){return t.length>e.length?t:e},0);e.globals.isBarHorizontal&&(a=e.globals.yAxisScale[0].result.reduce(function(t,e){return t.length>e.length?t:e},0)),a=new R(this.ctx).xLabelFormat(o,a);var s=new f(this.ctx),l=s.getTextRects(a,e.config.xaxis.labels.style.fontSize);(t={width:l.width,height:l.height}).width*i.length>e.globals.svgWidth-r-this.yAxisWidth&&0!==e.config.xaxis.labels.rotate?e.globals.isBarHorizontal||(e.globals.rotateXLabels=!0,l=s.getTextRects(a,e.config.xaxis.labels.style.fontSize,e.config.xaxis.labels.style.fontFamily,"rotate(".concat(e.config.xaxis.labels.rotate," 0 0)"),!1),t.height=l.height/1.66):e.globals.rotateXLabels=!1}return e.config.xaxis.labels.show||(t={width:0,height:0}),{width:t.width,height:t.height}}},{key:"getyAxisLabelsCoords",value:function(){var t=this,e=this.w,i=[],n=10;return e.config.yaxis.map(function(r,o){if(r.show&&r.labels.show&&e.globals.yAxisScale[o].result.length){var a=e.globals.yLabelFormatters[o],s=a(e.globals.yAxisScale[o].niceMax,-1);void 0!==s&&0!==s.length||(s=e.globals.yAxisScale[o].niceMax),e.globals.isBarHorizontal&&(n=0,s=a(s=e.globals.labels.slice().reduce(function(t,e){return t.length>e.length?t:e},0),-1));var l=new f(t.ctx).getTextRects(s,r.labels.style.fontSize);i.push({width:l.width+n,height:l.height})}else i.push({width:0,height:0})}),i}},{key:"getxAxisTitleCoords",value:function(){var t=this.w,e=0,i=0;if(void 0!==t.config.xaxis.title.text){var n=new f(this.ctx).getTextRects(t.config.xaxis.title.text,t.config.xaxis.title.style.fontSize);e=n.width,i=n.height}return{width:e,height:i}}},{key:"getyAxisTitleCoords",value:function(){var t=this,e=this.w,i=[];return e.config.yaxis.map(function(e,n){if(e.show&&void 0!==e.title.text){var r=new f(t.ctx).getTextRects(e.title.text,e.title.style.fontSize,e.title.style.fontFamily,"rotate(-90 0 0)",!1);i.push({width:r.width,height:r.height})}else i.push({width:0,height:0})}),i}},{key:"getTitleSubtitleCoords",value:function(t){var e=this.w,i=0,n=0,r="title"===t?e.config.title.floating:e.config.subtitle.floating,o=e.globals.dom.baseEl.querySelector(".apexcharts-".concat(t,"-text"));if(null!==o&&!r){var a=o.getBoundingClientRect();i=a.width,n=e.globals.axisCharts?a.height+5:a.height}return{width:i,height:n}}},{key:"getLegendsRect",value:function(){var t=this.w,e=t.globals.dom.baseEl.querySelector(".apexcharts-legend"),i=Object.assign({},u.getBoundingClientRect(e));return null!==e&&!t.config.legend.floating&&t.config.legend.show?this.lgRect={x:i.x,y:i.y,height:i.height,width:0===i.height?0:i.width}:this.lgRect={x:0,y:0,height:0,width:0},this.lgRect}}]),t}(),H=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"getAllSeriesEls",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series")}},{key:"getSeriesByName",value:function(t){return this.w.globals.dom.baseEl.querySelector("[seriesName='".concat(u.escapeString(t),"']"))}},{key:"addCollapsedClassToSeries",value:function(t,e){var i=this.w;function n(i){for(var n=0;n<i.length;n++)i[n].index===e&&t.node.classList.add("apexcharts-series-collapsed")}n(i.globals.collapsedSeries),n(i.globals.ancillaryCollapsedSeries)}},{key:"resetSeries",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.w,i=e.globals.initialSeries.slice();e.config.series=i,e.globals.collapsedSeries=[],e.globals.ancillaryCollapsedSeries=[],e.globals.collapsedSeriesIndices=[],e.globals.ancillaryCollapsedSeriesIndices=[],e.globals.previousPaths=[],t&&this.ctx._updateSeries(i,e.config.chart.animations.dynamicAnimation.enabled)}},{key:"toggleSeriesOnHover",value:function(t,e){var i=this.w,n=i.globals.dom.baseEl.querySelectorAll(".apexcharts-series");if("mousemove"===t.type){var r=parseInt(e.getAttribute("rel"))-1,o=null;o=i.globals.axisCharts||"radialBar"===i.config.chart.type?i.globals.axisCharts?i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(r,"']")):i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"']")):i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(r+1,"'] path"));for(var a=0;a<n.length;a++)n[a].classList.add("legend-mouseover-inactive");null!==o&&(i.globals.axisCharts||o.parentNode.classList.remove("legend-mouseover-inactive"),o.classList.remove("legend-mouseover-inactive"))}else if("mouseout"===t.type)for(var s=0;s<n.length;s++)n[s].classList.remove("legend-mouseover-inactive")}},{key:"highlightRangeInSeries",value:function(t,e){var i=this.w,n=i.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap-rect"),r=function(){for(var t=0;t<n.length;t++)n[t].classList.remove("legend-mouseover-inactive")};if("mousemove"===t.type){var o=parseInt(e.getAttribute("rel"))-1;r(),function(){for(var t=0;t<n.length;t++)n[t].classList.add("legend-mouseover-inactive")}(),function(t){for(var e=0;e<n.length;e++){var i=parseInt(n[e].getAttribute("val"));i>=t.from&&i<=t.to&&n[e].classList.remove("legend-mouseover-inactive")}}(i.config.plotOptions.heatmap.colorScale.ranges[o])}else"mouseout"===t.type&&r()}},{key:"getActiveSeriesIndex",value:function(){var t=this.w,e=0;if(t.globals.series.length>1)for(var i=t.globals.series.map(function(e,i){return e.length>0&&"bar"!==t.config.series[i].type&&"column"!==t.config.series[i].type?i:-1}),n=0;n<i.length;n++)if(-1!==i[n]){e=i[n];break}return e}},{key:"getActiveConfigSeriesIndex",value:function(){var t=this.w,e=0;if(t.config.series.length>1)for(var i=t.config.series.map(function(t,e){return t.data&&t.data.length>0?e:-1}),n=0;n<i.length;n++)if(-1!==i[n]){e=i[n];break}return e}},{key:"getPreviousPaths",value:function(){var t=this.w;function e(e,i,n){for(var r=e[i].childNodes,o={type:n,paths:[],realIndex:e[i].getAttribute("data:realIndex")},a=0;a<r.length;a++)if(r[a].hasAttribute("pathTo")){var s=r[a].getAttribute("pathTo");o.paths.push({d:s})}t.globals.previousPaths.push(o)}t.globals.previousPaths=[];var i=t.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-series");if(i.length>0)for(var n=i.length-1;n>=0;n--)e(i,n,"line");var r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-area-series .apexcharts-series");if(r.length>0)for(var o=r.length-1;o>=0;o--)e(r,o,"area");var a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series .apexcharts-series");if(a.length>0)for(var s=0;s<a.length;s++)e(a,s,"bar");var l=t.globals.dom.baseEl.querySelectorAll(".apexcharts-candlestick-series .apexcharts-series");if(l.length>0)for(var c=0;c<l.length;c++)e(l,c,"candlestick");var u=t.globals.dom.baseEl.querySelectorAll(".apexcharts-radar-series .apexcharts-series");if(u.length>0)for(var h=0;h<u.length;h++)e(u,h,"radar");var d=t.globals.dom.baseEl.querySelectorAll(".apexcharts-bubble-series .apexcharts-series");if(d.length>0)for(var f=0;f<d.length;f++){for(var p=t.globals.dom.baseEl.querySelectorAll(".apexcharts-bubble-series .apexcharts-series[data\\:realIndex='".concat(f,"'] circle")),g=[],m=0;m<p.length;m++)g.push({x:p[m].getAttribute("cx"),y:p[m].getAttribute("cy"),r:p[m].getAttribute("r")});t.globals.previousPaths.push(g)}var v=t.globals.dom.baseEl.querySelectorAll(".apexcharts-scatter-series .apexcharts-series");if(v.length>0)for(var y=0;y<v.length;y++){for(var b=t.globals.dom.baseEl.querySelectorAll(".apexcharts-scatter-series .apexcharts-series[data\\:realIndex='".concat(y,"'] circle")),L=[],x=0;x<b.length;x++)L.push({x:b[x].getAttribute("cx"),y:b[x].getAttribute("cy"),r:b[x].getAttribute("r")});t.globals.previousPaths.push(L)}var w=t.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap .apexcharts-series");if(w.length>0)for(var _=0;_<w.length;_++){for(var S=t.globals.dom.baseEl.querySelectorAll(".apexcharts-heatmap .apexcharts-series[data\\:realIndex='".concat(_,"'] rect")),C=[],k=0;k<S.length;k++)C.push({color:S[k].getAttribute("color")});t.globals.previousPaths.push(C)}t.globals.axisCharts||(t.globals.previousPaths=t.globals.series)}},{key:"handleNoData",value:function(){var t=this.w,e=t.config.noData,i=new f(this.ctx),n=t.globals.svgWidth/2,r=t.globals.svgHeight/2,o="middle";if(t.globals.noData=!0,t.globals.animationEnded=!0,"left"===e.align?(n=10,o="start"):"right"===e.align&&(n=t.globals.svgWidth-10,o="end"),"top"===e.verticalAlign?r=50:"bottom"===e.verticalAlign&&(r=t.globals.svgHeight-50),n+=e.offsetX,r=r+parseInt(e.style.fontSize)+2,void 0!==e.text&&""!==e.text){var a=i.drawText({x:n,y:r,text:e.text,textAnchor:o,fontSize:e.style.fontSize,fontFamily:e.style.fontFamily,foreColor:e.style.color,opacity:1,class:"apexcharts-text-nodata"});a.node.setAttribute("class","apexcharts-title-text"),t.globals.dom.Paper.add(a)}}},{key:"setNullSeriesToZeroValues",value:function(t){for(var e=this.w,i=0;i<t.length;i++)if(0===t[i].length)for(var n=0;n<t[e.globals.maxValsInArrayIndex].length;n++)t[i].push(0);return t}},{key:"hasAllSeriesEqualX",value:function(){for(var t=!0,e=this.w,i=this.filteredSeriesX(),n=0;n<i.length-1;n++)if(i[n][0]!==i[n+1][0]){t=!1;break}return e.globals.allSeriesHasEqualX=t,t}},{key:"filteredSeriesX",value:function(){return this.w.globals.seriesX.map(function(t,e){return t.length>0?t:[]})}}]),t}(),V=function(){function t(i,n){e(this,t),this.ctx=i,this.w=i.w,this.onLegendClick=this.onLegendClick.bind(this),this.onLegendHovered=this.onLegendHovered.bind(this)}return n(t,[{key:"init",value:function(){var t=this.w,e=t.globals,i=t.config;if((i.legend.showForSingleSeries&&1===e.series.length||e.series.length>1||!e.axisCharts)&&i.legend.show){for(;e.dom.elLegendWrap.firstChild;)e.dom.elLegendWrap.removeChild(e.dom.elLegendWrap.firstChild);this.drawLegends(),u.isIE11()?document.getElementsByTagName("head")[0].appendChild(this.getLegendStyles()):this.appendToForeignObject(),"bottom"===i.legend.position||"top"===i.legend.position?this.legendAlignHorizontal():"right"!==i.legend.position&&"left"!==i.legend.position||this.legendAlignVertical()}}},{key:"appendToForeignObject",value:function(){var t=this.w.globals;t.dom.elLegendForeign=document.createElementNS(t.SVGNS,"foreignObject");var e=t.dom.elLegendForeign;e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("width",t.svgWidth),e.setAttribute("height",t.svgHeight),t.dom.elLegendWrap.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),e.appendChild(t.dom.elLegendWrap),e.appendChild(this.getLegendStyles()),t.dom.Paper.node.insertBefore(e,t.dom.elGraphical.node)}},{key:"drawLegends",value:function(){var t=this.w,e=t.config.legend.fontFamily,i=t.globals.seriesNames,n=t.globals.colors.slice();if("heatmap"===t.config.chart.type){var r=t.config.plotOptions.heatmap.colorScale.ranges;i=r.map(function(t){return t.name?t.name:t.from+" - "+t.to}),n=r.map(function(t){return t.color})}for(var o=t.globals.legendFormatter,a=0;a<=i.length-1;a++){var s=o(i[a],{seriesIndex:a,w:t}),l=!1,c=!1;if(t.globals.collapsedSeries.length>0)for(var u=0;u<t.globals.collapsedSeries.length;u++)t.globals.collapsedSeries[u].index===a&&(l=!0);if(t.globals.ancillaryCollapsedSeriesIndices.length>0)for(var h=0;h<t.globals.ancillaryCollapsedSeriesIndices.length;h++)t.globals.ancillaryCollapsedSeriesIndices[h]===a&&(c=!0);var d=document.createElement("span");d.classList.add("apexcharts-legend-marker");var p=t.config.legend.markers.offsetX,g=t.config.legend.markers.offsetY,m=t.config.legend.markers.height,v=t.config.legend.markers.width,y=t.config.legend.markers.strokeWidth,L=t.config.legend.markers.strokeColor,x=t.config.legend.markers.radius,w=d.style;w.background=n[a],w.color=n[a],w.height=Array.isArray(m)?parseFloat(m[a])+"px":parseFloat(m)+"px",w.width=Array.isArray(v)?parseFloat(v[a])+"px":parseFloat(v)+"px",w.left=Array.isArray(p)?p[a]:p,w.top=Array.isArray(g)?g[a]:g,w.borderWidth=Array.isArray(y)?y[a]:y,w.borderColor=Array.isArray(L)?L[a]:L,w.borderRadius=Array.isArray(x)?parseFloat(x[a])+"px":parseFloat(x)+"px",t.config.legend.markers.customHTML&&(Array.isArray(t.config.legend.markers.customHTML)?d.innerHTML=t.config.legend.markers.customHTML[a]():d.innerHTML=t.config.legend.markers.customHTML()),f.setAttrs(d,{rel:a+1,"data:collapsed":l||c}),(l||c)&&d.classList.add("inactive-legend");var _=document.createElement("div"),S=document.createElement("span");S.classList.add("apexcharts-legend-text"),S.innerHTML=s;var C=t.config.legend.labels.useSeriesColors?t.globals.colors[a]:t.config.legend.labels.colors;C||(C=t.config.chart.foreColor),S.style.color=C,S.style.fontSize=parseFloat(t.config.legend.fontSize)+"px",S.style.fontFamily=e||t.config.chart.fontFamily,f.setAttrs(S,{rel:a+1,"data:collapsed":l||c}),_.appendChild(d),_.appendChild(S);var k=new b(this.ctx);t.config.legend.showForZeroSeries||0===k.getSeriesTotalByIndex(a)&&k.seriesHaveSameValues(a)&&!k.isSeriesNull(a)&&-1===t.globals.collapsedSeriesIndices.indexOf(a)&&-1===t.globals.ancillaryCollapsedSeriesIndices.indexOf(a)&&_.classList.add("apexcharts-hidden-zero-series"),t.config.legend.showForNullSeries||k.isSeriesNull(a)&&-1===t.globals.collapsedSeriesIndices.indexOf(a)&&-1===t.globals.ancillaryCollapsedSeriesIndices.indexOf(a)&&_.classList.add("apexcharts-hidden-null-series"),t.globals.dom.elLegendWrap.appendChild(_),t.globals.dom.elLegendWrap.classList.add(t.config.legend.horizontalAlign),t.globals.dom.elLegendWrap.classList.add("position-"+t.config.legend.position),_.classList.add("apexcharts-legend-series"),_.style.margin="".concat(t.config.legend.itemMargin.horizontal,"px ").concat(t.config.legend.itemMargin.vertical,"px"),t.globals.dom.elLegendWrap.style.width=t.config.legend.width?t.config.legend.width+"px":"",t.globals.dom.elLegendWrap.style.height=t.config.legend.height?t.config.legend.height+"px":"",f.setAttrs(_,{rel:a+1,"data:collapsed":l||c}),(l||c)&&_.classList.add("inactive-legend"),t.config.legend.onItemClick.toggleDataSeries||_.classList.add("no-click")}"heatmap"!==t.config.chart.type&&t.config.legend.onItemClick.toggleDataSeries&&t.globals.dom.elWrap.addEventListener("click",this.onLegendClick,!0),t.config.legend.onItemHover.highlightDataSeries&&(t.globals.dom.elWrap.addEventListener("mousemove",this.onLegendHovered,!0),t.globals.dom.elWrap.addEventListener("mouseout",this.onLegendHovered,!0))}},{key:"getLegendBBox",value:function(){var t=this.w.globals.dom.baseEl.querySelector(".apexcharts-legend").getBoundingClientRect(),e=t.width;return{clwh:t.height,clww:e}}},{key:"setLegendWrapXY",value:function(t,e){var i=this.w,n=i.globals.dom.baseEl.querySelector(".apexcharts-legend"),r=n.getBoundingClientRect(),o=0,a=0;if("bottom"===i.config.legend.position)a+=i.globals.svgHeight-r.height/2;else if("top"===i.config.legend.position){var s=new z(this.ctx),l=s.getTitleSubtitleCoords("title").height,c=s.getTitleSubtitleCoords("subtitle").height;a=a+(l>0?l-10:0)+(c>0?c-10:0)}n.style.position="absolute",o=o+t+i.config.legend.offsetX,a=a+e+i.config.legend.offsetY,n.style.left=o+"px",n.style.top=a+"px","bottom"===i.config.legend.position?(n.style.top="auto",n.style.bottom=10+i.config.legend.offsetY+"px"):"right"===i.config.legend.position&&(n.style.left="auto",n.style.right=25+i.config.legend.offsetX+"px"),n.style.width&&(n.style.width=parseInt(i.config.legend.width)+"px"),n.style.height&&(n.style.height=parseInt(i.config.legend.height)+"px")}},{key:"legendAlignHorizontal",value:function(){var t=this.w;t.globals.dom.baseEl.querySelector(".apexcharts-legend").style.right=0;var e=this.getLegendBBox(),i=new z(this.ctx),n=i.getTitleSubtitleCoords("title"),r=i.getTitleSubtitleCoords("subtitle"),o=0;"bottom"===t.config.legend.position?o=-e.clwh/1.8:"top"===t.config.legend.position&&(o=n.height+r.height+t.config.title.margin+t.config.subtitle.margin-15),this.setLegendWrapXY(20,o)}},{key:"legendAlignVertical",value:function(){var t=this.w,e=this.getLegendBBox(),i=0;"left"===t.config.legend.position&&(i=20),"right"===t.config.legend.position&&(i=t.globals.svgWidth-e.clww-10),this.setLegendWrapXY(i,20)}},{key:"onLegendHovered",value:function(t){var e=this.w,i=t.target.classList.contains("apexcharts-legend-text")||t.target.classList.contains("apexcharts-legend-marker");if("heatmap"!==e.config.chart.type)!t.target.classList.contains("inactive-legend")&&i&&new H(this.ctx).toggleSeriesOnHover(t,t.target);else if(i){var n=parseInt(t.target.getAttribute("rel"))-1;this.ctx.fireEvent("legendHover",[this.ctx,n,this.w]),new H(this.ctx).highlightRangeInSeries(t,t.target)}}},{key:"onLegendClick",value:function(t){if(t.target.classList.contains("apexcharts-legend-text")||t.target.classList.contains("apexcharts-legend-marker")){var e=parseInt(t.target.getAttribute("rel"))-1,i="true"===t.target.getAttribute("data:collapsed"),n=this.w.config.chart.events.legendClick;"function"==typeof n&&n(this.ctx,e,this.w),this.ctx.fireEvent("legendClick",[this.ctx,e,this.w]);var r=this.w.config.legend.markers.onClick;"function"==typeof r&&t.target.classList.contains("apexcharts-legend-marker")&&(r(this.ctx,e,this.w),this.ctx.fireEvent("legendMarkerClick",[this.ctx,e,this.w])),this.toggleDataSeries(e,i)}}},{key:"getLegendStyles",value:function(){var t=document.createElement("style");t.setAttribute("type","text/css");var e=document.createTextNode("\n \n .apexcharts-legend {\n display: flex;\n overflow: auto;\n padding: 0 10px;\n }\n\n .apexcharts-legend.position-bottom, .apexcharts-legend.position-top {\n flex-wrap: wrap\n }\n .apexcharts-legend.position-right, .apexcharts-legend.position-left {\n flex-direction: column;\n bottom: 0;\n }\n\n .apexcharts-legend.position-bottom.left, .apexcharts-legend.position-top.left, .apexcharts-legend.position-right, .apexcharts-legend.position-left {\n justify-content: flex-start;\n }\n\n .apexcharts-legend.position-bottom.center, .apexcharts-legend.position-top.center {\n justify-content: center; \n }\n\n .apexcharts-legend.position-bottom.right, .apexcharts-legend.position-top.right {\n justify-content: flex-end;\n }\n\n .apexcharts-legend-series {\n cursor: pointer;\n line-height: normal;\n }\n\n .apexcharts-legend.position-bottom .apexcharts-legend-series, .apexcharts-legend.position-top .apexcharts-legend-series{\n display: flex;\n align-items: center;\n }\n\n .apexcharts-legend-text {\n position: relative;\n font-size: 14px;\n }\n\n .apexcharts-legend-text *, .apexcharts-legend-marker * {\n pointer-events: none;\n }\n\n .apexcharts-legend-marker {\n position: relative;\n display: inline-block;\n cursor: pointer;\n margin-right: 3px;\n }\n \n .apexcharts-legend.right .apexcharts-legend-series, .apexcharts-legend.left .apexcharts-legend-series{\n display: inline-block;\n }\n\n .apexcharts-legend-series.no-click {\n cursor: auto;\n }\n\n .apexcharts-legend .apexcharts-hidden-zero-series, .apexcharts-legend .apexcharts-hidden-null-series {\n display: none !important;\n }\n\n .inactive-legend {\n opacity: 0.45;\n }");return t.appendChild(e),t}},{key:"toggleDataSeries",value:function(t,e){var i=this.w;if(i.globals.axisCharts||"radialBar"===i.config.chart.type){i.globals.resized=!0;var n=null,r=null;if(i.globals.risingSeries=[],i.globals.axisCharts?(n=i.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(t,"']")),r=parseInt(n.getAttribute("data:realIndex"))):(n=i.globals.dom.baseEl.querySelector(".apexcharts-series[rel='".concat(t+1,"']")),r=parseInt(n.getAttribute("rel"))-1),e)this.riseCollapsedSeries(i.globals.collapsedSeries,i.globals.collapsedSeriesIndices,r),this.riseCollapsedSeries(i.globals.ancillaryCollapsedSeries,i.globals.ancillaryCollapsedSeriesIndices,r);else{if(i.globals.axisCharts){var o=!1;if(i.config.yaxis[r]&&i.config.yaxis[r].show&&i.config.yaxis[r].showAlways&&(o=!0,i.globals.ancillaryCollapsedSeriesIndices.indexOf(r)<0&&(i.globals.ancillaryCollapsedSeries.push({index:r,data:i.config.series[r].data.slice(),type:n.parentNode.className.baseVal.split("-")[1]}),i.globals.ancillaryCollapsedSeriesIndices.push(r))),!o){i.globals.collapsedSeries.push({index:r,data:i.config.series[r].data.slice(),type:n.parentNode.className.baseVal.split("-")[1]}),i.globals.collapsedSeriesIndices.push(r);var a=i.globals.risingSeries.indexOf(r);i.globals.risingSeries.splice(a,1)}i.config.series[r].data=[]}else i.globals.collapsedSeries.push({index:r,data:i.config.series[r]}),i.globals.collapsedSeriesIndices.push(r),i.config.series[r]=0;for(var s=n.childNodes,l=0;l<s.length;l++)s[l].classList.contains("apexcharts-series-markers-wrap")&&(s[l].classList.contains("apexcharts-hide")?s[l].classList.remove("apexcharts-hide"):s[l].classList.add("apexcharts-hide"));i.globals.allSeriesCollapsed=i.globals.collapsedSeries.length===i.globals.series.length,this.ctx._updateSeries(i.config.series,i.config.chart.animations.dynamicAnimation.enabled)}}else{var c=i.globals.dom.Paper.select(" .apexcharts-series[rel='".concat(t+1,"'] path")),u=i.config.chart.type;if("pie"===u||"donut"===u){var h=i.config.plotOptions.pie.donut.labels,d=new f(this.ctx),p=new P(this.ctx);d.pathMouseDown(c.members[0],null),p.printDataLabelsInner(c.members[0].node,h)}c.fire("click")}}},{key:"riseCollapsedSeries",value:function(t,e,i){var n=this.w;if(t.length>0)for(var r=0;r<t.length;r++)t[r].index===i&&(n.globals.axisCharts?(n.config.series[i].data=t[r].data.slice(),t.splice(r,1),e.splice(r,1),n.globals.risingSeries.push(i)):(n.config.series[i]=t[r].data,t.splice(r,1),e.splice(r,1),n.globals.risingSeries.push(i)),this.ctx._updateSeries(n.config.series,n.config.chart.animations.dynamicAnimation.enabled))}}]),t}(),j=function(){function t(i,n,r){e(this,t),this.ctx=i,this.w=i.w,this.xyRatios=n,this.pointsChart=!("bubble"!==this.w.config.chart.type&&"scatter"!==this.w.config.chart.type)||r,this.scatter=new C(this.ctx),this.noNegatives=this.w.globals.minX===Number.MAX_VALUE,this.yaxisIndex=0}return n(t,[{key:"draw",value:function(t,e,i){var n=this.w,r=new f(this.ctx),a=new _(this.ctx),s=n.globals.comboCharts?e:n.config.chart.type,l=r.group({class:"apexcharts-".concat(s,"-series apexcharts-plot-series")}),c=new b(this.ctx,n);t=c.getLogSeries(t);var h=this.xyRatios.yRatio;h=c.getLogYRatios(h);for(var d=this.xyRatios.zRatio,p=this.xyRatios.xRatio,g=this.xyRatios.baseLineY,m=[],v=[],y=0,L=0;L<t.length;L++){if("line"===s&&("gradient"===n.config.fill.type||"gradient"===n.config.fill.type[L])&&c.seriesHaveSameValues(L)){var x=t[L].slice();x[x.length-1]=x[x.length-1]+1e-6,t[L]=x}var w=n.globals.gridWidth/n.globals.dataPoints,C=n.globals.comboCharts?i[L]:L;h.length>1&&(this.yaxisIndex=C),this.isReversed=n.config.yaxis[this.yaxisIndex]&&n.config.yaxis[this.yaxisIndex].reversed;var T=[],E=[],A=n.globals.gridHeight-g[this.yaxisIndex]-(this.isReversed?n.globals.gridHeight:0)+(this.isReversed?2*g[this.yaxisIndex]:0),M=A;A>n.globals.gridHeight&&(M=n.globals.gridHeight),y=w/2;var D=n.globals.padHorizontal+y,P=1;n.globals.isXNumeric&&n.globals.seriesX.length>0&&(D=(n.globals.seriesX[C][0]-n.globals.minX)/p),E.push(D);var O=void 0,I=void 0,N=void 0,R=void 0,F=[],B=[],z=r.group({class:"apexcharts-series",seriesName:u.escapeString(n.globals.seriesNames[C])}),H=r.group({class:"apexcharts-series-markers-wrap"}),V=r.group({class:"apexcharts-datalabels"});this.ctx.series.addCollapsedClassToSeries(z,C);var j=t[L].length===n.globals.dataPoints;z.attr({"data:longestSeries":j,rel:L+1,"data:realIndex":C}),this.appendPathFrom=!0;var W=D,U=void 0,Y=W,G=A,X=0;if(G=this.determineFirstPrevY({i:L,series:t,yRatio:h[this.yaxisIndex],zeroY:A,prevY:G,prevSeriesY:v,lineYPosition:X}).prevY,T.push(G),U=G,null===t[L][0]){for(var q=0;q<t[L].length;q++)if(null!==t[L][q]){Y=w*q,G=A-t[L][q]/h[this.yaxisIndex],O=r.move(Y,G),I=r.move(Y,M);break}}else O=r.move(Y,G),I=r.move(Y,M)+r.line(Y,G);if(N=r.move(-1,A)+r.line(-1,A),R=r.move(-1,A)+r.line(-1,A),n.globals.previousPaths.length>0){var $=this.checkPreviousPaths({pathFromLine:N,pathFromArea:R,realIndex:C});N=$.pathFromLine,R=$.pathFromArea}for(var Z=n.globals.dataPoints>1?n.globals.dataPoints-1:n.globals.dataPoints,K=0;K<Z;K++){if(n.globals.isXNumeric){var Q=n.globals.seriesX[C][K+1];void 0===n.globals.seriesX[C][K+1]&&(Q=n.globals.seriesX[C][Z-1]),D=(Q-n.globals.minX)/p}else D+=w;var J=u.isNumber(n.globals.minYArr[C])?n.globals.minYArr[C]:n.globals.minY;n.config.chart.stacked?(X=L>0&&n.globals.collapsedSeries.length<n.config.series.length-1?v[L-1][K+1]:A,P=void 0===t[L][K+1]||null===t[L][K+1]?X-J/h[this.yaxisIndex]+2*(this.isReversed?J/h[this.yaxisIndex]:0):X-t[L][K+1]/h[this.yaxisIndex]+2*(this.isReversed?t[L][K+1]/h[this.yaxisIndex]:0)):P=void 0===t[L][K+1]||null===t[L][K+1]?A-J/h[this.yaxisIndex]+2*(this.isReversed?J/h[this.yaxisIndex]:0):A-t[L][K+1]/h[this.yaxisIndex]+2*(this.isReversed?t[L][K+1]/h[this.yaxisIndex]:0),E.push(D),T.push(P);var tt=this.createPaths({series:t,i:L,j:K,x:D,y:P,xDivision:w,pX:W,pY:U,areaBottomY:M,linePath:O,areaPath:I,linePaths:F,areaPaths:B,seriesIndex:i});B=tt.areaPaths,F=tt.linePaths,W=tt.pX,U=tt.pY,I=tt.areaPath,O=tt.linePath,this.appendPathFrom&&(N+=r.line(D,A),R+=r.line(D,A));var et=this.calculatePoints({series:t,x:D,y:P,realIndex:C,i:L,j:K,prevY:G,categoryAxisCorrection:y,xRatio:p});if(this.pointsChart)this.scatter.draw(z,K,{realIndex:C,pointsPos:et,zRatio:d,elParent:H});else{var it=new S(this.ctx);n.globals.dataPoints>1&&H.node.classList.add("hidden");var nt=it.plotChartMarkers(et,C,K+1);null!==nt&&H.add(nt)}var rt=!t[L][K+1]||t[L][K+1]>t[L][K]?"top":"bottom",ot=new k(this.ctx).drawDataLabel(et,C,K+1,null,rt);null!==ot&&V.add(ot)}v.push(T),n.globals.seriesXvalues[C]=E,n.globals.seriesYvalues[C]=T,this.pointsChart||n.globals.delayedElements.push({el:H.node,index:C});var at={i:L,realIndex:C,animationDelay:L,initialSpeed:n.config.chart.animations.speed,dataChangeSpeed:n.config.chart.animations.dynamicAnimation.speed,className:"apexcharts-".concat(s),id:"apexcharts-".concat(s)};if("area"===s)for(var st=a.fillPath({seriesNumber:C}),lt=0;lt<B.length;lt++){var ct=r.renderPaths(o({},at,{pathFrom:R,pathTo:B[lt],stroke:"none",strokeWidth:0,strokeLineCap:null,fill:st}));z.add(ct)}if(n.config.stroke.show&&!this.pointsChart){var ut;ut="line"===s?a.fillPath({seriesNumber:C,i:L}):n.globals.stroke.colors[C];for(var ht=0;ht<F.length;ht++){var dt=r.renderPaths(o({},at,{pathFrom:N,pathTo:F[ht],stroke:ut,strokeWidth:Array.isArray(n.config.stroke.width)?n.config.stroke.width[C]:n.config.stroke.width,strokeLineCap:n.config.stroke.lineCap,fill:"none"}));z.add(dt)}}z.add(H),z.add(V),m.push(z)}for(var ft=m.length;ft>0;ft--)l.add(m[ft-1]);return l}},{key:"createPaths",value:function(t){var e=t.series,i=t.i,n=t.j,r=t.x,o=t.y,a=t.pX,s=t.pY,l=t.xDivision,c=t.areaBottomY,u=t.linePath,h=t.areaPath,d=t.linePaths,p=t.areaPaths,g=t.seriesIndex,m=this.w,v=new f(this.ctx),y=m.config.stroke.curve;if(Array.isArray(m.config.stroke.curve)&&(y=Array.isArray(g)?m.config.stroke.curve[g[i]]:m.config.stroke.curve[i]),"smooth"===y){var b=.35*(r-a);m.globals.hasNullValues?(null!==e[i][n]&&(null!==e[i][n+1]?(u=v.move(a,s)+v.curve(a+b,s,r-b,o,r+1,o),h=v.move(a+1,s)+v.curve(a+b,s,r-b,o,r+1,o)+v.line(r,c)+v.line(a,c)+"z"):(u=v.move(a,s),h=v.move(a,s)+"z")),d.push(u),p.push(h)):(u+=v.curve(a+b,s,r-b,o,r,o),h+=v.curve(a+b,s,r-b,o,r,o)),a=r,s=o,n===e[i].length-2&&(h=h+v.curve(a,s,r,o,r,c)+v.move(r,o)+"z",m.globals.hasNullValues||(d.push(u),p.push(h)))}else null===e[i][n+1]&&(u+=v.move(r,o),h=h+v.line(r-l,c)+v.move(r,o)),null===e[i][n]&&(u+=v.move(r,o),h+=v.move(r,c)),"stepline"===y?(u=u+v.line(r,null,"H")+v.line(null,o,"V"),h=h+v.line(r,null,"H")+v.line(null,o,"V")):"straight"===y&&(u+=v.line(r,o),h+=v.line(r,o)),n===e[i].length-2&&(h=h+v.line(r,c)+v.move(r,o)+"z",d.push(u),p.push(h));return{linePaths:d,areaPaths:p,pX:a,pY:s,linePath:u,areaPath:h}}},{key:"calculatePoints",value:function(t){var e=t.series,i=t.realIndex,n=t.x,r=t.y,o=t.i,a=t.j,s=t.prevY,l=t.categoryAxisCorrection,c=t.xRatio,h=this.w,d=[],f=[];if(0===a){var p=l+h.config.markers.offsetX;h.globals.isXNumeric&&(p=(h.globals.seriesX[i][0]-h.globals.minX)/c+h.config.markers.offsetX),d.push(p),f.push(u.isNumber(e[o][0])?s+h.config.markers.offsetY:null),d.push(n+h.config.markers.offsetX),f.push(u.isNumber(e[o][a+1])?r+h.config.markers.offsetY:null)}else d.push(n+h.config.markers.offsetX),f.push(u.isNumber(e[o][a+1])?r+h.config.markers.offsetY:null);return{x:d,y:f}}},{key:"checkPreviousPaths",value:function(t){for(var e=t.pathFromLine,i=t.pathFromArea,n=t.realIndex,r=this.w,o=0;o<r.globals.previousPaths.length;o++){var a=r.globals.previousPaths[o];("line"===a.type||"area"===a.type)&&a.paths.length>0&&parseInt(a.realIndex)===parseInt(n)&&("line"===a.type?(this.appendPathFrom=!1,e=r.globals.previousPaths[o].paths[0].d):"area"===a.type&&(this.appendPathFrom=!1,i=r.globals.previousPaths[o].paths[0].d,r.config.stroke.show&&(e=r.globals.previousPaths[o].paths[1].d)))}return{pathFromLine:e,pathFromArea:i}}},{key:"determineFirstPrevY",value:function(t){var e=t.i,i=t.series,n=t.yRatio,r=t.zeroY,o=t.prevY,a=t.prevSeriesY,s=t.lineYPosition,l=this.w;if(void 0!==i[e][0])o=l.config.chart.stacked?(s=e>0?a[e-1][0]:r)-i[e][0]/n+2*(this.isReversed?i[e][0]/n:0):r-i[e][0]/n+2*(this.isReversed?i[e][0]/n:0);else if(l.config.chart.stacked&&e>0&&void 0===i[e][0])for(var c=e-1;c>=0;c--)if(null!==i[c][0]&&void 0!==i[c][0]){o=s=a[c][0];break}return{prevY:o,lineYPosition:s}}}]),t}(),W=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w;var n=this.w;this.xaxisLabels=n.globals.labels.slice(),n.globals.timelineLabels.length>0&&(this.xaxisLabels=n.globals.timelineLabels.slice()),this.drawnLabels=[],"top"===n.config.xaxis.position?this.offY=0:this.offY=n.globals.gridHeight+1,this.offY=this.offY+n.config.xaxis.axisBorder.offsetY,this.xaxisFontSize=n.config.xaxis.labels.style.fontSize,this.xaxisFontFamily=n.config.xaxis.labels.style.fontFamily,this.xaxisForeColors=n.config.xaxis.labels.style.colors,this.xaxisBorderWidth=n.config.xaxis.axisBorder.width,this.xaxisBorderWidth.indexOf("%")>-1?this.xaxisBorderWidth=n.globals.gridWidth*parseInt(this.xaxisBorderWidth)/100:this.xaxisBorderWidth=parseInt(this.xaxisBorderWidth),this.xaxisBorderHeight=n.config.xaxis.axisBorder.height,this.yaxis=n.config.yaxis[0],this.axesUtils=new F(i)}return n(t,[{key:"drawXaxis",value:function(){var t,e=this.w,i=new f(this.ctx),n=i.group({class:"apexcharts-xaxis",transform:"translate(".concat(e.config.xaxis.offsetX,", ").concat(e.config.xaxis.offsetY,")")}),r=i.group({class:"apexcharts-xaxis-texts-g",transform:"translate(".concat(e.globals.translateXAxisX,", ").concat(e.globals.translateXAxisY,")")});n.add(r);for(var o=e.globals.padHorizontal,a=[],s=0;s<this.xaxisLabels.length;s++)a.push(this.xaxisLabels[s]);o=e.globals.isXNumeric?o+(t=e.globals.gridWidth/(a.length-1))/2+e.config.xaxis.labels.offsetX:o+(t=e.globals.gridWidth/a.length)+e.config.xaxis.labels.offsetX;var l=a.length;if(e.config.xaxis.labels.show)for(var c=0;c<=l-1;c++){var u=o-t/2+e.config.xaxis.labels.offsetX,h=this.axesUtils.getLabel(a,e.globals.timelineLabels,u,c,this.drawnLabels);this.drawnLabels.push(h.text);var d=28;e.globals.rotateXLabels&&(d=22);var p=i.drawText({x:h.x,y:this.offY+e.config.xaxis.labels.offsetY+d,text:"",textAnchor:"middle",fontSize:this.xaxisFontSize,fontFamily:this.xaxisFontFamily,foreColor:Array.isArray(this.xaxisForeColors)?this.xaxisForeColors[c]:this.xaxisForeColors,cssClass:"apexcharts-xaxis-label "+e.config.xaxis.labels.style.cssClass});c===l-1&&e.globals.skipLastTimelinelabel&&(h.text=""),r.add(p),i.addTspan(p,h.text,this.xaxisFontFamily);var g=document.createElementNS(e.globals.SVGNS,"title");g.textContent=h.text,p.node.appendChild(g),o+=t}if(void 0!==e.config.xaxis.title.text){var m=i.group({class:"apexcharts-xaxis-title"}),v=i.drawText({x:e.globals.gridWidth/2+e.config.xaxis.title.offsetX,y:this.offY-parseInt(this.xaxisFontSize)+e.globals.xAxisLabelsHeight+e.config.xaxis.title.offsetY,text:e.config.xaxis.title.text,textAnchor:"middle",fontSize:e.config.xaxis.title.style.fontSize,fontFamily:e.config.xaxis.title.style.fontFamily,foreColor:e.config.xaxis.title.style.color,cssClass:"apexcharts-xaxis-title-text "+e.config.xaxis.title.style.cssClass});m.add(v),n.add(m)}if(e.config.xaxis.axisBorder.show){var y=0;"bar"===e.config.chart.type&&e.globals.isXNumeric&&(y-=15);var b=i.drawLine(e.globals.padHorizontal+y+e.config.xaxis.axisBorder.offsetX,this.offY,this.xaxisBorderWidth,this.offY,e.config.xaxis.axisBorder.color,0,this.xaxisBorderHeight);n.add(b)}return n}},{key:"drawXaxisInversed",value:function(t){var e,i,n=this.w,r=new f(this.ctx),o=n.config.yaxis[0].opposite?n.globals.translateYAxisX[t]:0,a=r.group({class:"apexcharts-yaxis apexcharts-xaxis-inversed",rel:t}),s=r.group({class:"apexcharts-yaxis-texts-g apexcharts-xaxis-inversed-texts-g",transform:"translate("+o+", 0)"});a.add(s);for(var l=[],c=0;c<this.xaxisLabels.length;c++)l.push(this.xaxisLabels[c]);i=-(e=n.globals.gridHeight/l.length)/2.2;var u=n.globals.yLabelFormatters[0],h=n.config.yaxis[0].labels;if(h.show)for(var d=0;d<=l.length-1;d++){var p=void 0===l[d]?"":l[d];p=u(p);var g=r.drawText({x:h.offsetX-15,y:i+e+h.offsetY,text:p,textAnchor:this.yaxis.opposite?"start":"end",foreColor:h.style.color?h.style.color:h.style.colors[d],fontSize:h.style.fontSize,fontFamily:h.style.fontFamily,cssClass:"apexcharts-yaxis-label "+h.style.cssClass});if(s.add(g),0!==n.config.yaxis[t].labels.rotate){var m=r.rotateAroundCenter(g.node);g.node.setAttribute("transform","rotate(".concat(n.config.yaxis[t].labels.rotate," ").concat(m.x," ").concat(m.y,")"))}i+=e}if(void 0!==n.config.yaxis[0].title.text){var v=r.group({class:"apexcharts-yaxis-title apexcharts-xaxis-title-inversed",transform:"translate("+o+", 0)"}),y=r.drawText({x:0,y:n.globals.gridHeight/2,text:n.config.yaxis[0].title.text,textAnchor:"middle",foreColor:n.config.yaxis[0].title.style.color,fontSize:n.config.yaxis[0].title.style.fontSize,fontFamily:n.config.yaxis[0].title.style.fontFamily,cssClass:"apexcharts-yaxis-title-text "+n.config.yaxis[0].title.style.cssClass});v.add(y),a.add(v)}if(n.config.xaxis.axisBorder.show){var b=r.drawLine(n.globals.padHorizontal+n.config.xaxis.axisBorder.offsetX,this.offY,this.xaxisBorderWidth,this.offY,this.yaxis.axisBorder.color,0,this.xaxisBorderHeight);a.add(b),this.axesUtils.drawYAxisTicks(0,l.length,n.config.yaxis[0].axisBorder,n.config.yaxis[0].axisTicks,0,e,a)}return a}},{key:"drawXaxisTicks",value:function(t,e){var i=this.w,n=t;if(!(t<0||t>i.globals.gridWidth)){var r=this.offY+i.config.xaxis.axisTicks.offsetY,o=r+i.config.xaxis.axisTicks.height;if(i.config.xaxis.axisTicks.show){var a=new f(this.ctx).drawLine(t+i.config.xaxis.axisTicks.offsetX,r+i.config.xaxis.offsetY,n+i.config.xaxis.axisTicks.offsetX,o+i.config.xaxis.offsetY,i.config.xaxis.axisTicks.color);e.add(a),a.node.classList.add("apexcharts-xaxis-tick")}}}},{key:"getXAxisTicksPositions",value:function(){var t=this.w,e=[],i=this.xaxisLabels.length,n=t.globals.padHorizontal;if(t.globals.timelineLabels.length>0)for(var r=0;r<i;r++)n=this.xaxisLabels[r].position,e.push(n);else for(var o=i,a=0;a<o;a++){var s=o;t.globals.isXNumeric&&"bar"!==t.config.chart.type&&(s-=1),n+=t.globals.gridWidth/s,e.push(n)}return e}},{key:"xAxisLabelCorrections",value:function(){var t=this.w,e=new f(this.ctx),i=t.globals.dom.baseEl.querySelector(".apexcharts-xaxis-texts-g"),n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-texts-g text"),r=t.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxis-inversed text"),o=t.globals.dom.baseEl.querySelectorAll(".apexcharts-xaxis-inversed-texts-g text");if(t.globals.rotateXLabels||t.config.xaxis.labels.rotateAlways)for(var a=0;a<n.length;a++){var s=e.rotateAroundCenter(n[a]);s.y=s.y-1,s.x=s.x+1,n[a].setAttribute("transform","rotate(".concat(t.config.xaxis.labels.rotate," ").concat(s.x," ").concat(s.y,")")),n[a].setAttribute("text-anchor","end"),i.setAttribute("transform","translate(0, ".concat(-10,")"));var l=n[a].childNodes;t.config.xaxis.labels.trim&&e.placeTextWithEllipsis(l[0],l[0].textContent,t.config.xaxis.labels.maxHeight-40)}else for(var c=t.globals.gridWidth/t.globals.labels.length,u=0;u<n.length;u++){var h=n[u].childNodes;t.config.xaxis.labels.trim&&"datetime"!==t.config.xaxis.type&&e.placeTextWithEllipsis(h[0],h[0].textContent,c)}if(r.length>0){var d=r[r.length-1].getBBox(),p=r[0].getBBox();d.x<-20&&r[r.length-1].parentNode.removeChild(r[r.length-1]),p.x+p.width>t.globals.gridWidth&&r[0].parentNode.removeChild(r[0]);for(var g=0;g<o.length;g++)e.placeTextWithEllipsis(o[g],o[g].textContent,t.config.yaxis[0].labels.maxWidth-2*parseInt(t.config.yaxis[0].title.style.fontSize)-20)}}}]),t}(),U=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"niceScale",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10,o=this.w,a=void 0===this.w.config.yaxis[n].max&&void 0===this.w.config.yaxis[n].min||this.w.config.yaxis[n].forceNiceScale;if(t===Number.MIN_VALUE&&0===e||!u.isNumber(t)&&!u.isNumber(e)||t===Number.MIN_VALUE&&e===-Number.MAX_VALUE)return t=0,e=r,this.linearScale(t,e,r);t>e?(console.warn("yaxis.min cannot be greater than yaxis.max"),e=t+.1):t===e&&(t=0===t?0:t-.5,e=0===e?2:e+.5);var s=[],l=Math.abs(e-t);l<1&&a&&("candlestick"===o.config.chart.type||"candlestick"===o.config.series[n].type||o.globals.isRangeData)&&(e*=1.01);var c=r+1;c<2?c=2:c>2&&(c-=2);for(var h=l/c,d=Math.floor(u.log10(h)),f=Math.pow(10,d),p=parseInt(h/f)*f,g=p*Math.floor(t/p),m=p*Math.ceil(e/p),v=g;s.push(v),!((v+=p)>m););if(a&&i>10)return{result:s,niceMin:s[0],niceMax:s[s.length-1]};var y=t;(s=[]).push(y);for(var b=Math.abs(e-t)/r,L=0;L<=r;L++)y+=b,s.push(y);return s[s.length-2]>=e&&s.pop(),{result:s,niceMin:s[0],niceMax:s[s.length-1]}}},{key:"linearScale",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,n=Math.abs(e-t)/i;i===Number.MAX_VALUE&&(i=10,n=1);for(var r=[],o=t;i>=0;)r.push(o),o+=n,i-=1;return{result:r,niceMin:r[0],niceMax:r[r.length-1]}}},{key:"logarithmicScale",value:function(t,e,i,n){(e<0||e===Number.MIN_VALUE)&&(e=.01);for(var r=Math.log(e)/Math.log(10),o=Math.log(i)/Math.log(10),a=Math.abs(i-e)/n,s=[],l=e;n>=0;)s.push(l),l+=a,n-=1;var c=s.map(function(t,n){t<=0&&(t=.01);var a=(o-r)/(i-e),s=Math.pow(10,r+a*(t-r));return Math.round(s/u.roundToBase(s,10))*u.roundToBase(s,10)});return 0===c[0]&&(c[0]=1),{result:c,niceMin:c[0],niceMax:c[c.length-1]}}},{key:"setYScaleForIndex",value:function(t,e,i){var n=this.w.globals,r=this.w.config,o=n.isBarHorizontal?r.xaxis:r.yaxis[t];if(void 0===n.yAxisScale[t]&&(n.yAxisScale[t]=[]),o.logarithmic)n.allSeriesCollapsed=!1,n.yAxisScale[t]=this.logarithmicScale(t,e,i,o.tickAmount?o.tickAmount:Math.floor(Math.log10(i)));else if(i!==-Number.MAX_VALUE&&u.isNumber(i))if(n.allSeriesCollapsed=!1,void 0===o.min&&void 0===o.max||o.forceNiceScale){var a=Math.abs(i-e);n.yAxisScale[t]=this.niceScale(e,i,a,t,o.tickAmount?o.tickAmount:a<5&&a>1?a+1:5)}else n.yAxisScale[t]=this.linearScale(e,i,o.tickAmount);else n.yAxisScale[t]=this.linearScale(0,5,5)}},{key:"setMultipleYScales",value:function(){var t=this,e=this.w.globals,i=this.w.config,n=e.minYArr.concat([]),r=e.maxYArr.concat([]),o=[];i.yaxis.forEach(function(a,s){var l=s;i.series.forEach(function(t,i){t.name===a.seriesName&&-1===e.collapsedSeriesIndices.indexOf(i)&&(l=i,s!==i?o.push({index:i,similarIndex:s,alreadyExists:!0}):o.push({index:i}))});var c=n[l],u=r[l];t.setYScaleForIndex(s,c,u)}),this.sameScaleInMultipleAxes(n,r,o)}},{key:"sameScaleInMultipleAxes",value:function(t,e,i){var n=this,r=this.w.config,o=this.w.globals,a=[];i.forEach(function(t){t.alreadyExists&&(void 0===a[t.index]&&(a[t.index]=[]),a[t.index].push(t.index),a[t.index].push(t.similarIndex))}),a.forEach(function(t,e){a.forEach(function(i,n){var r,o;e!==n&&(r=t,o=i,r.filter(function(t){return-1!==o.indexOf(t)})).length>0&&(a[e]=a[e].concat(a[n]))})});var s=a.map(function(t){return t.filter(function(e,i){return t.indexOf(e)===i})}).map(function(t){return t.sort()});a=a.filter(function(t){return!!t});var l=s.slice(),c=l.map(function(t){return JSON.stringify(t)});l=l.filter(function(t,e){return c.indexOf(JSON.stringify(t))===e});var u=[],h=[];t.forEach(function(t,i){l.forEach(function(n,r){n.indexOf(i)>-1&&(void 0===u[r]&&(u[r]=[],h[r]=[]),u[r].push({key:i,value:t}),h[r].push({key:i,value:e[i]}))})});var d=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,Number.MIN_VALUE),f=Array.apply(null,Array(l.length)).map(Number.prototype.valueOf,-Number.MAX_VALUE);u.forEach(function(t,e){t.forEach(function(t,i){d[e]=Math.min(t.value,d[e])})}),h.forEach(function(t,e){t.forEach(function(t,i){f[e]=Math.max(t.value,f[e])})}),t.forEach(function(t,e){h.forEach(function(t,i){var a=d[i],s=f[i];r.chart.stacked&&(s=0,t.forEach(function(t,e){s+=t.value,a!==Number.MIN_VALUE&&(a+=u[i][e].value)})),t.forEach(function(i,l){t[l].key===e&&(void 0!==r.yaxis[e].min&&(a="function"==typeof r.yaxis[e].min?r.yaxis[e].min(o.minY):r.yaxis[e].min),void 0!==r.yaxis[e].max&&(s="function"==typeof r.yaxis[e].max?r.yaxis[e].max(o.maxY):r.yaxis[e].max),n.setYScaleForIndex(e,a,s))})})})}},{key:"autoScaleY",value:function(t,e,i){t||(t=this);var n=t.w,r=n.globals.seriesX[0],o=n.config.chart.stacked;return e.forEach(function(t,a){for(var s=0,l=0;l<r.length;l++)if(r[l]>=i.xaxis.min){s=l;break}var c,u,h=n.globals.minYArr[a],d=n.globals.maxYArr[a],f=n.globals.stackedSeriesTotals;n.globals.series.forEach(function(a,l){var p=a[s];o?(p=f[s],c=u=p,f.forEach(function(t,e){r[e]<=i.xaxis.max&&r[e]>=i.xaxis.min&&(t>u&&null!==t&&(u=t),a[e]<c&&null!==a[e]&&(c=a[e]))})):(c=u=p,a.forEach(function(t,e){if(r[e]<=i.xaxis.max&&r[e]>=i.xaxis.min){var o=t,a=t;n.globals.series.forEach(function(i,n){null!==t&&(o=Math.min(i[e],o),a=Math.max(i[e],a))}),a>u&&null!==a&&(u=a),o<c&&null!==o&&(c=o)}})),void 0===c&&void 0===u&&(c=h,u=d),(u*=u<0?.9:1.1)<0&&u<d&&(u=d),(c*=c<0?1.1:.9)<0&&c>h&&(c=h),e.length>1?(e[l].min=void 0===t.min?c:t.min,e[l].max=void 0===t.max?u:t.max):(e[0].min=void 0===t.min?c:t.min,e[0].max=void 0===t.max?u:t.max)})}),e}}]),t}(),Y=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.scales=new U(i)}return n(t,[{key:"init",value:function(){this.setYRange(),this.setXRange(),this.setZRange()}},{key:"getMinYMaxY",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-Number.MAX_VALUE,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=this.w.globals,o=-Number.MAX_VALUE,a=Number.MIN_VALUE;null===n&&(n=t+1);var s=r.series,l=s,c=s;"candlestick"===this.w.config.chart.type?(l=r.seriesCandleL,c=r.seriesCandleH):r.isRangeData&&(l=r.seriesRangeStart,c=r.seriesRangeEnd);for(var h=t;h<n;h++){r.dataPoints=Math.max(r.dataPoints,s[h].length);for(var d=0;d<r.series[h].length;d++){var f=s[h][d];null!==f&&u.isNumber(f)?(o=Math.max(o,c[h][d]),e=Math.min(e,l[h][d]),i=Math.max(i,l[h][d]),"candlestick"===this.w.config.chart.type&&(o=Math.max(o,r.seriesCandleO[h][d]),o=Math.max(o,r.seriesCandleH[h][d]),o=Math.max(o,r.seriesCandleL[h][d]),i=o=Math.max(o,r.seriesCandleC[h][d])),u.isFloat(f)&&(f=u.noExponents(f),r.yValueDecimal=Math.max(r.yValueDecimal,f.toString().split(".")[1].length)),a>l[h][d]&&l[h][d]<0&&(a=l[h][d])):r.hasNullValues=!0}}return{minY:a,maxY:o,lowestY:e,highestY:i}}},{key:"setYRange",value:function(){var t=this.w.globals,e=this.w.config;t.maxY=-Number.MAX_VALUE,t.minY=Number.MIN_VALUE;var i=Number.MAX_VALUE;if(t.isMultipleYAxis)for(var n=0;n<t.series.length;n++){var r=this.getMinYMaxY(n,i,null,n+1);t.minYArr.push(r.minY),t.maxYArr.push(r.maxY),i=r.lowestY}var o=this.getMinYMaxY(0,i,null,t.series.length);if(t.minY=o.minY,t.maxY=o.maxY,i=o.lowestY,e.chart.stacked){for(var a=[],s=[],l=0;l<t.series[t.maxValsInArrayIndex].length;l++)for(var c=0,h=0,d=0;d<t.series.length;d++)null!==t.series[d][l]&&u.isNumber(t.series[d][l])&&(t.series[d][l]>0?c=c+parseFloat(t.series[d][l])+1e-4:h+=parseFloat(t.series[d][l])),d===t.series.length-1&&(a.push(c),s.push(h));for(var f=0;f<a.length;f++)t.maxY=Math.max(t.maxY,a[f]),t.minY=Math.min(t.minY,s[f])}if(("line"===e.chart.type||"area"===e.chart.type||"candlestick"===e.chart.type)&&t.minY===Number.MIN_VALUE&&i!==-Number.MAX_VALUE&&i!==t.maxY){var p=t.maxY-i;i>=0&&i<=10&&(p=0),t.minY=i-5*p/100,t.maxY=t.maxY+5*p/100}return e.yaxis.map(function(e,i){void 0!==e.max&&("number"==typeof e.max?t.maxYArr[i]=e.max:"function"==typeof e.max&&(t.maxYArr[i]=e.max(t.maxY)),t.maxY=t.maxYArr[i]),void 0!==e.min&&("number"==typeof e.min?t.minYArr[i]=e.min:"function"==typeof e.min&&(t.minYArr[i]=e.min(t.minY)),t.minY=t.minYArr[i])}),t.isBarHorizontal&&(void 0!==e.xaxis.min&&"number"==typeof e.xaxis.min&&(t.minY=e.xaxis.min),void 0!==e.xaxis.max&&"number"==typeof e.xaxis.max&&(t.maxY=e.xaxis.max)),t.isMultipleYAxis?(this.scales.setMultipleYScales(),t.minY=i,t.yAxisScale.forEach(function(e,i){t.minYArr[i]=e.niceMin,t.maxYArr[i]=e.niceMax})):(this.scales.setYScaleForIndex(0,t.minY,t.maxY),t.minY=t.yAxisScale[0].niceMin,t.maxY=t.yAxisScale[0].niceMax,t.minYArr[0]=t.yAxisScale[0].niceMin,t.maxYArr[0]=t.yAxisScale[0].niceMax),{minY:t.minY,maxY:t.maxY,minYArr:t.minYArr,maxYArr:t.maxYArr}}},{key:"setXRange",value:function(){var t,e=this.w.globals,i=this.w.config,n="numeric"===i.xaxis.type||"datetime"===i.xaxis.type||"category"===i.xaxis.type&&!e.noLabelsProvided||e.noLabelsProvided||e.isXNumeric;if(e.isXNumeric)for(var r=0;r<e.series.length;r++)if(e.labels[r])for(var o=0;o<e.labels[r].length;o++)null!==e.labels[r][o]&&u.isNumber(e.labels[r][o])&&(e.maxX=Math.max(e.maxX,e.labels[r][o]),e.initialmaxX=Math.max(e.maxX,e.labels[r][o]),e.minX=Math.min(e.minX,e.labels[r][o]),e.initialminX=Math.min(e.minX,e.labels[r][o]));if(e.noLabelsProvided&&0===i.xaxis.categories.length&&(e.maxX=e.labels[e.labels.length-1],e.initialmaxX=e.labels[e.labels.length-1],e.minX=1,e.initialminX=1),(e.comboChartsHasBars||"candlestick"===i.chart.type||"bar"===i.chart.type&&e.isXNumeric)&&("category"!==i.xaxis.type||e.isXNumeric)){var a=e.svgWidth/e.dataPoints*(Math.abs(e.maxX-e.minX)/e.svgWidth),s=e.minX-a/2;e.minX=s,e.initialminX=s;var l=e.maxX+a/((e.series.length+1)/e.series.length);e.maxX=l,e.initialmaxX=l}if(!e.isXNumeric&&!e.noLabelsProvided||i.xaxis.convertedCatToNumeric&&!e.dataFormatXNumeric||(void 0===i.xaxis.tickAmount?(t=Math.round(e.svgWidth/150),"numeric"===i.xaxis.type&&e.dataPoints<20&&(t=e.dataPoints-1),t>e.dataPoints&&0!==e.dataPoints&&(t=e.dataPoints-1)):t="dataPoints"===i.xaxis.tickAmount?e.series[e.maxValsInArrayIndex].length-1:i.xaxis.tickAmount,void 0!==i.xaxis.max&&"number"==typeof i.xaxis.max&&(e.maxX=i.xaxis.max),void 0!==i.xaxis.min&&"number"==typeof i.xaxis.min&&(e.minX=i.xaxis.min),void 0!==i.xaxis.range&&(e.minX=e.maxX-i.xaxis.range),e.minX!==Number.MAX_VALUE&&e.maxX!==-Number.MAX_VALUE?e.xAxisScale=this.scales.linearScale(e.minX,e.maxX,t):(e.xAxisScale=this.scales.linearScale(1,t,t),e.noLabelsProvided&&e.labels.length>0&&(e.xAxisScale=this.scales.linearScale(1,e.labels.length,t-1),e.seriesX=e.labels.slice())),n&&(e.labels=e.xAxisScale.result.slice())),e.minX===e.maxX)if("datetime"===i.xaxis.type){var c=new Date(e.minX);c.setDate(c.getDate()-2),e.minX=new Date(c).getTime();var h=new Date(e.maxX);h.setDate(h.getDate()+2),e.maxX=new Date(h).getTime()}else("numeric"===i.xaxis.type||"category"===i.xaxis.type&&!e.noLabelsProvided)&&(e.minX=e.minX-2,e.maxX=e.maxX+2);return e.isXNumeric&&(e.seriesX.forEach(function(t,i){t.forEach(function(t,n){if(n>0){var r=t-e.seriesX[i][n-1];e.minXDiff=Math.min(r,e.minXDiff)}})}),this.calcMinXDiffForTinySeries()),{minX:e.minX,maxX:e.maxX}}},{key:"calcMinXDiffForTinySeries",value:function(){var t=this.w,e=t.globals.labels.length;return 1===t.globals.labels.length?t.globals.minXDiff=(t.globals.maxX-t.globals.minX)/e/3:t.globals.minXDiff===Number.MAX_VALUE&&(t.globals.timelineLabels.length>0&&(e=t.globals.timelineLabels.length),e<3&&(e=3),t.globals.minXDiff=(t.globals.maxX-t.globals.minX)/e),t.globals.minXDiff}},{key:"setZRange",value:function(){var t=this.w.globals;if(t.isDataXYZ)for(var e=0;e<t.series.length;e++)if(void 0!==t.seriesZ[e])for(var i=0;i<t.seriesZ[e].length;i++)null!==t.seriesZ[e][i]&&u.isNumber(t.seriesZ[e][i])&&(t.maxZ=Math.max(t.maxZ,t.seriesZ[e][i]),t.minZ=Math.min(t.minZ,t.seriesZ[e][i]))}}]),t}(),G=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.timeScaleArray=[]}return n(t,[{key:"calculateTimeScaleTicks",value:function(t,e){var i=this,n=this.w;if(n.globals.allSeriesCollapsed)return n.globals.labels=[],n.globals.timelineLabels=[],[];var r=new v(this.ctx),a=(e-t)/864e5;this.determineInterval(a),n.globals.disableZoomIn=!1,n.globals.disableZoomOut=!1,a<.005?n.globals.disableZoomIn=!0:a>5e4&&(n.globals.disableZoomOut=!0);var s=r.getTimeUnitsfromTimestamp(t,e),l=n.globals.gridWidth/a,c=l/24,u=c/60,h=Math.floor(24*a),d=Math.floor(24*a*60),f=Math.floor(a),p=Math.floor(a/30),g=Math.floor(a/365),m={minMinute:s.minMinute,minHour:s.minHour,minDate:s.minDate,minMonth:s.minMonth,minYear:s.minYear},y={firstVal:m,currentMinute:m.minMinute,currentHour:m.minHour,currentMonthDate:m.minDate,currentDate:m.minDate,currentMonth:m.minMonth,currentYear:m.minYear,daysWidthOnXAxis:l,hoursWidthOnXAxis:c,minutesWidthOnXAxis:u,numberOfMinutes:d,numberOfHours:h,numberOfDays:f,numberOfMonths:p,numberOfYears:g};switch(this.tickInterval){case"years":this.generateYearScale(y);break;case"months":case"half_year":this.generateMonthScale(y);break;case"months_days":case"months_fortnight":case"days":case"week_days":this.generateDayScale(y);break;case"hours":this.generateHourScale(y);break;case"minutes":this.generateMinuteScale(y)}var b=this.timeScaleArray.map(function(t){var e={position:t.position,unit:t.unit,year:t.year,day:t.day?t.day:1,hour:t.hour?t.hour:0,month:t.month+1};return"month"===t.unit?o({},e,{value:t.value+1}):"day"===t.unit||"hour"===t.unit?o({},e,{value:t.value}):"minute"===t.unit?o({},e,{value:t.value,minute:t.value}):t});return b.filter(function(t){var e=1,r=Math.ceil(n.globals.gridWidth/120),o=t.value;void 0!==n.config.xaxis.tickAmount&&(r=n.config.xaxis.tickAmount),b.length>r&&(e=Math.floor(b.length/r));var a=!1,s=!1;switch(i.tickInterval){case"half_year":e=7,"year"===t.unit&&(a=!0);break;case"months":e=1,"year"===t.unit&&(a=!0);break;case"months_fortnight":e=15,"year"!==t.unit&&"month"!==t.unit||(a=!0),30===o&&(s=!0);break;case"months_days":e=10,"month"===t.unit&&(a=!0),30===o&&(s=!0);break;case"week_days":e=8,"month"===t.unit&&(a=!0);break;case"days":e=1,"month"===t.unit&&(a=!0);break;case"hours":"day"===t.unit&&(a=!0);break;case"minutes":o%5!=0&&(s=!0)}if("minutes"===i.tickInterval||"hours"===i.tickInterval){if(!s)return!0}else if((o%e==0||a)&&!s)return!0})}},{key:"recalcDimensionsBasedOnFormat",value:function(t,e){var i=this.w,n=this.formatDates(t),r=this.removeOverlappingTS(n);e?i.globals.invertedTimelineLabels=r.slice():i.globals.timelineLabels=r.slice(),new z(this.ctx).plotCoords()}},{key:"determineInterval",value:function(t){switch(!0){case t>1825:this.tickInterval="years";break;case t>800&&t<=1825:this.tickInterval="half_year";break;case t>180&&t<=800:this.tickInterval="months";break;case t>90&&t<=180:this.tickInterval="months_fortnight";break;case t>60&&t<=90:this.tickInterval="months_days";break;case t>30&&t<=60:this.tickInterval="week_days";break;case t>2&&t<=30:this.tickInterval="days";break;case t>.1&&t<=2:this.tickInterval="hours";break;case t<.1:this.tickInterval="minutes";break;default:this.tickInterval="days"}}},{key:"generateYearScale",value:function(t){var e=t.firstVal,i=t.currentMonth,n=t.currentYear,r=t.daysWidthOnXAxis,o=t.numberOfYears,a=e.minYear,s=0,l=new v(this.ctx);if(e.minDate>1&&e.minMonth>0){var c=l.determineRemainingDaysOfYear(e.minYear,e.minMonth,e.minDate);s=(l.determineDaysOfYear(e.minYear)-c+1)*r,a=e.minYear+1,this.timeScaleArray.push({position:s,value:a,unit:"year",year:a,month:u.monthMod(i+1)})}else 1===e.minDate&&0===e.minMonth&&this.timeScaleArray.push({position:s,value:a,unit:"year",year:n,month:u.monthMod(i+1)});for(var h=a,d=s,f=0;f<o;f++)h++,d=l.determineDaysOfYear(h-1)*r+d,this.timeScaleArray.push({position:d,value:h,unit:"year",year:h,month:1})}},{key:"generateMonthScale",value:function(t){var e=t.firstVal,i=t.currentMonthDate,n=t.currentMonth,r=t.currentYear,o=t.daysWidthOnXAxis,a=t.numberOfMonths,s=n,l=0,c=new v(this.ctx),h="month",d=0;if(e.minDate>1){l=(c.determineDaysOfMonths(n+1,e.minYear)-i+1)*o,s=u.monthMod(n+1);var f=r+d,p=u.monthMod(s),g=s;0===s&&(h="year",g=f,p=1,f+=d+=1),this.timeScaleArray.push({position:l,value:g,unit:h,year:f,month:p})}else this.timeScaleArray.push({position:l,value:s,unit:h,year:r,month:u.monthMod(n)});for(var m=s+1,y=l,b=0,L=1;b<a;b++,L++){0===(m=u.monthMod(m))?(h="year",d+=1):h="month";var x=r+Math.floor(m/12)+d;y=c.determineDaysOfMonths(m,x)*o+y;var w=0===m?x:m;this.timeScaleArray.push({position:y,value:w,unit:h,year:x,month:0===m?1:m}),m++}}},{key:"generateDayScale",value:function(t){var e=t.firstVal,i=t.currentMonth,n=t.currentYear,r=t.hoursWidthOnXAxis,o=t.numberOfDays,a=new v(this.ctx),s="day",l=(24-e.minHour)*r,c=e.minDate+1,h=c,d=function(t,e,i){return t>a.determineDaysOfMonths(e+1,i)?(f=1,s="month",h=e+=1,e):e},f=c,p=d(f,i,n);this.timeScaleArray.push({position:l,value:h,unit:s,year:n,month:u.monthMod(p),day:f});for(var g=l,m=0;m<o;m++){s="day",p=d(f+=1,p,n+Math.floor(p/12)+0);var y=n+Math.floor(p/12)+0;g=24*r+g;var b=1===f?u.monthMod(p):f;this.timeScaleArray.push({position:g,value:b,unit:s,year:y,month:u.monthMod(p),day:b})}}},{key:"generateHourScale",value:function(t){var e=t.firstVal,i=t.currentDate,n=t.currentMonth,r=t.currentYear,o=t.minutesWidthOnXAxis,a=t.numberOfHours,s=new v(this.ctx),l="hour",c=function(t,e){return t>s.determineDaysOfMonths(e+1,r)&&(m=1,e+=1),{month:e,date:m}},h=function(t,e){return t>s.determineDaysOfMonths(e+1,r)?e+=1:e},d=60-e.minMinute,f=d*o,p=e.minHour+1,g=p+1;60===d&&(f=0,g=(p=e.minHour)+1);var m=i,y=h(m,n);this.timeScaleArray.push({position:f,value:p,unit:l,day:m,hour:g,year:r,month:u.monthMod(y)});for(var b=f,L=0;L<a;L++){l="hour",g>=24&&(g=0,l="day",y=c(m+=1,y).month,y=h(m,y));var x=r+Math.floor(y/12)+0;b=0===g&&0===L?d*o:60*o+b;var w=0===g?m:g;this.timeScaleArray.push({position:b,value:w,unit:l,hour:g,day:m,year:x,month:u.monthMod(y)}),g++}}},{key:"generateMinuteScale",value:function(t){var e=t.firstVal,i=t.currentMinute,n=t.currentHour,r=t.currentDate,o=t.currentMonth,a=t.currentYear,s=t.minutesWidthOnXAxis,l=t.numberOfMinutes,c=s-(i-e.minMinute),h=e.minMinute+1,d=h+1,f=r,p=o,g=a,m=n;this.timeScaleArray.push({position:c,value:h,unit:"minute",day:f,hour:m,minute:d,year:g,month:u.monthMod(p)});for(var v=c,y=0;y<l;y++){d>=60&&(d=0,24===(m+=1)&&(m=0));var b=a+Math.floor(p/12)+0;v=s+v;var L=d;this.timeScaleArray.push({position:v,value:L,unit:"minute",hour:m,minute:d,day:f,year:b,month:u.monthMod(p)}),d++}}},{key:"createRawDateString",value:function(t,e){var i=t.year;return i+="-"+("0"+t.month.toString()).slice(-2),"day"===t.unit?i+="day"===t.unit?"-"+("0"+e).slice(-2):"-01":i+="-"+("0"+(t.day?t.day:"1")).slice(-2),"hour"===t.unit?i+="hour"===t.unit?"T"+("0"+e).slice(-2):"T00":i+="T"+("0"+(t.hour?t.hour:"0")).slice(-2),i+("minute"===t.unit?":"+("0"+e).slice(-2)+":00.000Z":":00:00.000Z")}},{key:"formatDates",value:function(t){var e=this,i=this.w;return t.map(function(t){var n=t.value.toString(),r=new v(e.ctx),o=e.createRawDateString(t,n),a=new Date(Date.parse(o));if(void 0===i.config.xaxis.labels.format){var s="dd MMM",l=i.config.xaxis.labels.datetimeFormatter;"year"===t.unit&&(s=l.year),"month"===t.unit&&(s=l.month),"day"===t.unit&&(s=l.day),"hour"===t.unit&&(s=l.hour),"minute"===t.unit&&(s=l.minute),n=r.formatDate(a,s,!0,!1)}else n=r.formatDate(a,i.config.xaxis.labels.format);return{dateString:o,position:t.position,value:n,unit:t.unit,year:t.year,month:t.month}})}},{key:"removeOverlappingTS",value:function(t){var e=this,i=new f(this.ctx),n=0,r=t.map(function(r,o){if(o>0&&e.w.config.xaxis.labels.hideOverlappingLabels){var a=i.getTextRects(t[n].value).width,s=t[n].position;return r.position>s+a+10?(n=o,r):null}return r});return r.filter(function(t){return null!==t})}}]),t}(),X=function(){function t(i,n){e(this,t),this.ctx=n,this.w=n.w,this.el=i,this.coreUtils=new b(this.ctx),this.twoDSeries=[],this.threeDSeries=[],this.twoDSeriesX=[]}return n(t,[{key:"setupElements",value:function(){var t=this.w.globals,e=this.w.config,i=e.chart.type;t.axisCharts=["line","area","bar","rangeBar","candlestick","radar","scatter","bubble","heatmap"].indexOf(i)>-1,t.xyCharts=["line","area","bar","rangeBar","candlestick","scatter","bubble"].indexOf(i)>-1,t.isBarHorizontal=("bar"===e.chart.type||"rangeBar"===e.chart.type)&&e.plotOptions.bar.horizontal,t.chartClass=".apexcharts"+t.cuid,t.dom.baseEl=this.el,t.dom.elWrap=document.createElement("div"),f.setAttrs(t.dom.elWrap,{id:t.chartClass.substring(1),class:"apexcharts-canvas "+t.chartClass.substring(1)}),this.el.appendChild(t.dom.elWrap),t.dom.Paper=new window.SVG.Doc(t.dom.elWrap),t.dom.Paper.attr({class:"apexcharts-svg","xmlns:data":"ApexChartsNS",transform:"translate(".concat(e.chart.offsetX,", ").concat(e.chart.offsetY,")")}),t.dom.Paper.node.style.background=e.chart.background,this.setSVGDimensions(),t.dom.elGraphical=t.dom.Paper.group().attr({class:"apexcharts-inner apexcharts-graphical"}),t.dom.elDefs=t.dom.Paper.defs(),t.dom.elLegendWrap=document.createElement("div"),t.dom.elLegendWrap.classList.add("apexcharts-legend"),t.dom.elWrap.appendChild(t.dom.elLegendWrap),t.dom.Paper.add(t.dom.elGraphical),t.dom.elGraphical.add(t.dom.elDefs)}},{key:"plotChartType",value:function(t,e){var i=this.w,n=i.config,r=i.globals,o={series:[],i:[]},a={series:[],i:[]},s={series:[],i:[]},l={series:[],i:[]},c={series:[],i:[]};r.series.map(function(e,n){void 0!==t[n].type?("column"===t[n].type||"bar"===t[n].type?(i.config.plotOptions.bar.horizontal=!1,l.series.push(e),l.i.push(n)):"area"===t[n].type?(a.series.push(e),a.i.push(n)):"line"===t[n].type?(o.series.push(e),o.i.push(n)):"scatter"===t[n].type?(s.series.push(e),s.i.push(n)):"bubble"===t[n].type||("candlestick"===t[n].type?(c.series.push(e),c.i.push(n)):console.warn("You have specified an unrecognized chart type. Available types for this propery are line/area/column/bar/scatter/bubble")),r.comboCharts=!0):(o.series.push(e),o.i.push(n))});var u=new j(this.ctx,e),h=new A(this.ctx,e),d=new P(this.ctx),f=new I(this.ctx),p=new N(this.ctx,e),g=new O(this.ctx),m=[];if(r.comboCharts){if(a.series.length>0&&m.push(u.draw(a.series,"area",a.i)),l.series.length>0)if(i.config.chart.stacked){var v=new E(this.ctx,e);m.push(v.draw(l.series,l.i))}else{var y=new T(this.ctx,e);m.push(y.draw(l.series,l.i))}if(o.series.length>0&&m.push(u.draw(o.series,"line",o.i)),c.series.length>0&&m.push(h.draw(c.series,c.i)),s.series.length>0){var b=new j(this.ctx,e,!0);m.push(b.draw(s.series,"scatter",s.i))}}else switch(n.chart.type){case"line":m=u.draw(r.series,"line");break;case"area":m=u.draw(r.series,"area");break;case"bar":m=n.chart.stacked?new E(this.ctx,e).draw(r.series):new T(this.ctx,e).draw(r.series);break;case"candlestick":m=new A(this.ctx,e).draw(r.series);break;case"rangeBar":m=p.draw(r.series);break;case"heatmap":m=new D(this.ctx,e).draw(r.series);break;case"pie":case"donut":m=d.draw(r.series);break;case"radialBar":m=f.draw(r.series);break;case"radar":m=g.draw(r.series);break;default:m=u.draw(r.series)}return m}},{key:"setSVGDimensions",value:function(){var t=this.w.globals,e=this.w.config;t.svgWidth=e.chart.width,t.svgHeight=e.chart.height;var i=u.getDimensions(this.el),n=e.chart.width.toString().split(/[0-9]+/g).pop();if("%"===n?u.isNumber(i[0])&&(0===i[0].width&&(i=u.getDimensions(this.el.parentNode)),t.svgWidth=i[0]*parseInt(e.chart.width)/100):"px"!==n&&""!==n||(t.svgWidth=parseInt(e.chart.width)),"auto"!==t.svgHeight&&""!==t.svgHeight)if("%"===e.chart.height.toString().split(/[0-9]+/g).pop()){var r=u.getDimensions(this.el.parentNode);t.svgHeight=r[1]*parseInt(e.chart.height)/100}else t.svgHeight=parseInt(e.chart.height);else t.axisCharts?t.svgHeight=t.svgWidth/1.61:t.svgHeight=t.svgWidth;t.svgWidth<0&&(t.svgWidth=0),t.svgHeight<0&&(t.svgHeight=0),f.setAttrs(t.dom.Paper.node,{width:t.svgWidth,height:t.svgHeight});var o=e.chart.sparkline.enabled?0:t.axisCharts?e.chart.parentHeightOffset:0;t.dom.Paper.node.parentNode.parentNode.style.minHeight=t.svgHeight+o+"px",t.dom.elWrap.style.width=t.svgWidth+"px",t.dom.elWrap.style.height=t.svgHeight+"px"}},{key:"shiftGraphPosition",value:function(){var t=this.w.globals,e=t.translateY,i={transform:"translate("+t.translateX+", "+e+")"};f.setAttrs(t.dom.elGraphical.node,i)}},{key:"resizeNonAxisCharts",value:function(){var t=this.w,e=t.globals,i=0;"top"!==t.config.legend.position&&"bottom"!==t.config.legend.position||(i=new V(this.ctx).getLegendBBox().clwh+10);var n=t.globals.dom.baseEl.querySelector(".apexcharts-radialbar"),r=2*t.globals.radialSize;n&&-90!==t.config.plotOptions.radialBar.startAngle&&(r=u.getBoundingClientRect(n).height);var o=Math.max(r,2*t.globals.radialSize)+e.translateY+i+20;e.dom.elLegendForeign&&e.dom.elLegendForeign.setAttribute("height",o),e.dom.elWrap.style.height=o+"px",f.setAttrs(e.dom.Paper.node,{height:o}),e.dom.Paper.node.parentNode.parentNode.style.minHeight=o+"px"}},{key:"coreCalculations",value:function(){new Y(this.ctx).init()}},{key:"resetGlobals",value:function(){var t=this.w.globals;t.series=[],t.seriesCandleO=[],t.seriesCandleH=[],t.seriesCandleL=[],t.seriesCandleC=[],t.seriesRangeStart=[],t.seriesRangeEnd=[],t.seriesPercent=[],t.seriesX=[],t.seriesZ=[],t.seriesNames=[],t.seriesTotals=[],t.stackedSeriesTotals=[],t.labels=[],t.timelineLabels=[],t.noLabelsProvided=!1,t.timescaleTicks=[],t.resizeTimer=null,t.selectionResizeTimer=null,t.seriesXvalues=this.w.config.series.map(function(t){return[]}),t.seriesYvalues=this.w.config.series.map(function(t){return[]}),t.delayedElements=[],t.pointsArray=[],t.dataLabelsRects=[],t.isXNumeric=!1,t.isDataXYZ=!1,t.maxY=-Number.MAX_VALUE,t.minY=Number.MIN_VALUE,t.minYArr=[],t.maxYArr=[],t.maxX=-Number.MAX_VALUE,t.minX=Number.MAX_VALUE,t.initialmaxX=-Number.MAX_VALUE,t.initialminX=Number.MAX_VALUE,t.maxDate=0,t.minDate=Number.MAX_VALUE,t.minZ=Number.MAX_VALUE,t.maxZ=-Number.MAX_VALUE,t.minXDiff=Number.MAX_VALUE,t.yAxisScale=[],t.xAxisScale=null,t.xAxisTicksPositions=[],t.yLabelsCoords=[],t.yTitleCoords=[],t.xRange=0,t.yRange=[],t.zRange=0,t.dataPoints=0}},{key:"isMultipleY",value:function(){if(this.w.config.yaxis.constructor===Array&&this.w.config.yaxis.length>1)return this.w.globals.isMultipleYAxis=!0,!0}},{key:"excludeCollapsedSeriesInYAxis",value:function(){var t=this,e=this.w;e.globals.ignoreYAxisIndexes=e.globals.collapsedSeries.map(function(e,i){if(t.w.globals.isMultipleYAxis)return e.index})}},{key:"isMultiFormat",value:function(){return this.isFormatXY()||this.isFormat2DArray()}},{key:"isFormatXY",value:function(){var t=this.w.config.series.slice(),e=new H(this.ctx);if(this.activeSeriesIndex=e.getActiveConfigSeriesIndex(),void 0!==t[this.activeSeriesIndex].data&&t[this.activeSeriesIndex].data.length>0&&null!==t[this.activeSeriesIndex].data[0]&&void 0!==t[this.activeSeriesIndex].data[0].x&&null!==t[this.activeSeriesIndex].data[0])return!0}},{key:"isFormat2DArray",value:function(){var t=this.w.config.series.slice(),e=new H(this.ctx);if(this.activeSeriesIndex=e.getActiveConfigSeriesIndex(),void 0!==t[this.activeSeriesIndex].data&&t[this.activeSeriesIndex].data.length>0&&void 0!==t[this.activeSeriesIndex].data[0]&&null!==t[this.activeSeriesIndex].data[0]&&t[this.activeSeriesIndex].data[0].constructor===Array)return!0}},{key:"handleFormat2DArray",value:function(t,e){for(var i=this.w.config,n=this.w.globals,r=0;r<t[e].data.length;r++)if(void 0!==t[e].data[r][1]&&(Array.isArray(t[e].data[r][1])&&4===t[e].data[r][1].length?this.twoDSeries.push(u.parseNumber(t[e].data[r][1][3])):this.twoDSeries.push(u.parseNumber(t[e].data[r][1])),n.dataFormatXNumeric=!0),"datetime"===i.xaxis.type){var o=new Date(t[e].data[r][0]);o=new Date(o).getTime(),this.twoDSeriesX.push(o)}else this.twoDSeriesX.push(t[e].data[r][0]);for(var a=0;a<t[e].data.length;a++)void 0!==t[e].data[a][2]&&(this.threeDSeries.push(t[e].data[a][2]),n.isDataXYZ=!0)}},{key:"handleFormatXY",value:function(t,e){var i=this.w.config,n=this.w.globals,r=new v(this.ctx),o=e;n.collapsedSeriesIndices.indexOf(e)>-1&&(o=this.activeSeriesIndex);for(var a=0;a<t[e].data.length;a++)void 0!==t[e].data[a].y&&(Array.isArray(t[e].data[a].y)?this.twoDSeries.push(u.parseNumber(t[e].data[a].y[t[e].data[a].y.length-1])):this.twoDSeries.push(u.parseNumber(t[e].data[a].y)));for(var s=0;s<t[o].data.length;s++){var l="string"==typeof t[o].data[s].x,c=!!r.isValidDate(t[o].data[s].x.toString());l||c?l?"datetime"!==i.xaxis.type||n.isRangeData?(this.fallbackToCategory=!0,this.twoDSeriesX.push(t[o].data[s].x)):this.twoDSeriesX.push(r.parseDate(t[o].data[s].x)):"datetime"===i.xaxis.type?this.twoDSeriesX.push(r.parseDate(t[o].data[s].x.toString())):(n.dataFormatXNumeric=!0,n.isXNumeric=!0,this.twoDSeriesX.push(parseFloat(t[o].data[s].x))):(n.isXNumeric=!0,n.dataFormatXNumeric=!0,this.twoDSeriesX.push(t[o].data[s].x))}if(t[e].data[0]&&void 0!==t[e].data[0].z){for(var h=0;h<t[e].data.length;h++)this.threeDSeries.push(t[e].data[h].z);n.isDataXYZ=!0}}},{key:"handleRangeData",value:function(t,e){var i=this.w.globals,n={};return this.isFormat2DArray()?n=this.handleRangeDataFormat("array",t,e):this.isFormatXY()&&(n=this.handleRangeDataFormat("xy",t,e)),i.seriesRangeStart.push(n.start),i.seriesRangeEnd.push(n.end),n}},{key:"handleCandleStickData",value:function(t,e){var i=this.w.globals,n={};return this.isFormat2DArray()?n=this.handleCandleStickDataFormat("array",t,e):this.isFormatXY()&&(n=this.handleCandleStickDataFormat("xy",t,e)),i.seriesCandleO.push(n.o),i.seriesCandleH.push(n.h),i.seriesCandleL.push(n.l),i.seriesCandleC.push(n.c),n}},{key:"handleRangeDataFormat",value:function(t,e,i){var n=[],r=[],o="Please provide [Start, End] values in valid format. Read more https://apexcharts.com/docs/series/#rangecharts",a=new H(this.ctx).getActiveConfigSeriesIndex();if("array"===t){if(2!==e[a].data[0][1].length)throw new Error(o);for(var s=0;s<e[i].data.length;s++)n.push(e[i].data[s][1][0]),r.push(e[i].data[s][1][1])}else if("xy"===t){if(2!==e[a].data[0].y.length)throw new Error(o);for(var l=0;l<e[i].data.length;l++)n.push(e[i].data[l].y[0]),r.push(e[i].data[l].y[1])}return{start:n,end:r}}},{key:"handleCandleStickDataFormat",value:function(t,e,i){var n=[],r=[],o=[],a=[],s="Please provide [Open, High, Low and Close] values in valid format. Read more https://apexcharts.com/docs/series/#candlestick";if("array"===t){if(4!==e[i].data[0][1].length)throw new Error(s);for(var l=0;l<e[i].data.length;l++)n.push(e[i].data[l][1][0]),r.push(e[i].data[l][1][1]),o.push(e[i].data[l][1][2]),a.push(e[i].data[l][1][3])}else if("xy"===t){if(4!==e[i].data[0].y.length)throw new Error(s);for(var c=0;c<e[i].data.length;c++)n.push(e[i].data[c].y[0]),r.push(e[i].data[c].y[1]),o.push(e[i].data[c].y[2]),a.push(e[i].data[c].y[3])}return{o:n,h:r,l:o,c:a}}},{key:"parseDataAxisCharts",value:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.ctx,i=this.w.config,n=this.w.globals,r=new v(e),o=0;o<t.length;o++){if(this.twoDSeries=[],this.twoDSeriesX=[],this.threeDSeries=[],void 0===t[o].data)return void console.error("It is a possibility that you may have not included 'data' property in series.");if("rangeBar"!==i.chart.type&&"rangeArea"!==i.chart.type&&"rangeBar"!==t[o].type&&"rangeArea"!==t[o].type||(n.isRangeData=!0,this.handleRangeData(t,o)),this.isMultiFormat())this.isFormat2DArray()?this.handleFormat2DArray(t,o):this.isFormatXY()&&this.handleFormatXY(t,o),"candlestick"!==i.chart.type&&"candlestick"!==t[o].type||this.handleCandleStickData(t,o),n.series.push(this.twoDSeries),n.labels.push(this.twoDSeriesX),n.seriesX.push(this.twoDSeriesX),this.fallbackToCategory||(n.isXNumeric=!0);else{if("datetime"===i.xaxis.type){n.isXNumeric=!0;for(var a=i.labels.length>0?i.labels.slice():i.xaxis.categories.slice(),s=0;s<a.length;s++)if("string"==typeof a[s]){if(!r.isValidDate(a[s]))throw new Error("You have provided invalid Date format. Please provide a valid JavaScript Date");this.twoDSeriesX.push(r.parseDate(a[s]))}else{if(13!==String(a[s]).length)throw new Error("Please provide a valid JavaScript timestamp");this.twoDSeriesX.push(a[s])}n.seriesX.push(this.twoDSeriesX)}else if("numeric"===i.xaxis.type){n.isXNumeric=!0;var l=i.labels.length>0?i.labels.slice():i.xaxis.categories.slice();l.length>0&&(this.twoDSeriesX=l,n.seriesX.push(this.twoDSeriesX))}n.labels.push(this.twoDSeriesX);var c=t[o].data.map(function(t){return u.parseNumber(t)});n.series.push(c)}n.seriesZ.push(this.threeDSeries),void 0!==t[o].name?n.seriesNames.push(t[o].name):n.seriesNames.push("series-"+parseInt(o+1))}return this.w}},{key:"parseDataNonAxisCharts",value:function(t){var e=this.w.globals,i=this.w.config;e.series=t.slice(),e.seriesNames=i.labels.slice();for(var n=0;n<e.series.length;n++)void 0===e.seriesNames[n]&&e.seriesNames.push("series-"+(n+1));return this.w}},{key:"handleExternalLabelsData",value:function(t){var e=this.w.config,i=this.w.globals;if(e.xaxis.categories.length>0)i.labels=e.xaxis.categories;else if(e.labels.length>0)i.labels=e.labels.slice();else if(this.fallbackToCategory)i.labels=i.labels[0];else{var n=[];if(i.axisCharts){for(var r=0;r<i.series[i.maxValsInArrayIndex].length;r++)n.push(r+1);for(var o=0;o<t.length;o++)i.seriesX.push(n);i.isXNumeric=!0}if(0===n.length){n=[0,10];for(var a=0;a<t.length;a++)i.seriesX.push(n)}i.labels=n,i.noLabelsProvided=!0}}},{key:"parseData",value:function(t){var e=this.w,i=e.config,n=e.globals;if(this.excludeCollapsedSeriesInYAxis(),this.fallbackToCategory=!1,this.resetGlobals(),this.isMultipleY(),n.axisCharts?this.parseDataAxisCharts(t):this.parseDataNonAxisCharts(t),this.coreUtils.getLargestSeries(),"bar"===i.chart.type&&i.chart.stacked){var r=new H(this.ctx);n.series=r.setNullSeriesToZeroValues(n.series)}this.coreUtils.getSeriesTotals(),n.axisCharts&&this.coreUtils.getStackedSeriesTotals(),this.coreUtils.getPercentSeries(),n.dataFormatXNumeric||n.isXNumeric&&("numeric"!==i.xaxis.type||0!==i.labels.length||0!==i.xaxis.categories.length)||this.handleExternalLabelsData(t)}},{key:"xySettings",value:function(){var t=null,e=this.w;if(e.globals.axisCharts&&("back"===e.config.xaxis.crosshairs.position&&new M(this.ctx).drawXCrosshairs(),"back"===e.config.yaxis[0].crosshairs.position&&new M(this.ctx).drawYCrosshairs(),t=this.coreUtils.getCalculatedRatios(),"datetime"===e.config.xaxis.type&&void 0===e.config.xaxis.labels.formatter)){var i,n=new G(this.ctx);isFinite(e.globals.minX)&&isFinite(e.globals.maxX)&&!e.globals.isBarHorizontal?(i=n.calculateTimeScaleTicks(e.globals.minX,e.globals.maxX),n.recalcDimensionsBasedOnFormat(i,!1)):e.globals.isBarHorizontal&&(i=n.calculateTimeScaleTicks(e.globals.minY,e.globals.maxY),n.recalcDimensionsBasedOnFormat(i,!0))}return t}},{key:"drawAxis",value:function(t,e){var i,n,r=this.w.globals,o=this.w.config,a=new W(this.ctx),s=new B(this.ctx);r.axisCharts&&"radar"!==t&&(r.isBarHorizontal?(n=s.drawYaxisInversed(0),i=a.drawXaxisInversed(0),r.dom.elGraphical.add(i),r.dom.elGraphical.add(n)):(i=a.drawXaxis(),r.dom.elGraphical.add(i),o.yaxis.map(function(t,e){-1===r.ignoreYAxisIndexes.indexOf(e)&&(n=s.drawYaxis(e),r.dom.Paper.add(n))}))),o.yaxis.map(function(t,e){-1===r.ignoreYAxisIndexes.indexOf(e)&&s.yAxisTitleRotate(e,t.opposite)})}},{key:"setupBrushHandler",value:function(){var t=this,e=this.w;e.config.chart.brush.enabled&&"function"!=typeof e.config.chart.events.selection&&(e.config.chart.brush.targets||[e.config.chart.brush.target]).forEach(function(i){var n=ApexCharts.getChartByID(i);n.w.globals.brushSource=t.ctx;var r=function(){t.ctx._updateOptions({chart:{selection:{xaxis:{min:n.w.globals.minX,max:n.w.globals.maxX}}}},!1,!1)};"function"!=typeof n.w.config.chart.events.zoomed&&(n.w.config.chart.events.zoomed=function(){r()}),"function"!=typeof n.w.config.chart.events.scrolled&&(n.w.config.chart.events.scrolled=function(){r()}),e.config.chart.events.selection=function(t,i){var r=u.clone(e.config.yaxis);e.config.chart.brush.autoScaleYaxis&&(r=new U(n).autoScaleY(n,r,i)),n._updateOptions({xaxis:{min:i.xaxis.min,max:i.xaxis.max},yaxis:r},!1,!1,!1)}})}}]),t}(),q=setTimeout;function $(){}function Z(t){if(!(this instanceof Z))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],it(t,this)}function K(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,Z._immediateFn(function(){var i=1===t._state?e.onFulfilled:e.onRejected;if(null!==i){var n;try{n=i(t._value)}catch(t){return void J(e.promise,t)}Q(e.promise,n)}else(1===t._state?Q:J)(e.promise,t._value)})):t._deferreds.push(e)}function Q(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var i=e.then;if(e instanceof Z)return t._state=3,t._value=e,void tt(t);if("function"==typeof i)return void it((n=i,r=e,function(){n.apply(r,arguments)}),t)}t._state=1,t._value=e,tt(t)}catch(e){J(t,e)}var n,r}function J(t,e){t._state=2,t._value=e,tt(t)}function tt(t){2===t._state&&0===t._deferreds.length&&Z._immediateFn(function(){t._handled||Z._unhandledRejectionFn(t._value)});for(var e=0,i=t._deferreds.length;e<i;e++)K(t,t._deferreds[e]);t._deferreds=null}function et(t,e,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=i}function it(t,e){var i=!1;try{t(function(t){i||(i=!0,Q(e,t))},function(t){i||(i=!0,J(e,t))})}catch(t){if(i)return;i=!0,J(e,t)}}Z.prototype.catch=function(t){return this.then(null,t)},Z.prototype.then=function(t,e){var i=new this.constructor($);return K(this,new et(t,e,i)),i},Z.prototype.finally=function(t){var e=this.constructor;return this.then(function(i){return e.resolve(t()).then(function(){return i})},function(i){return e.resolve(t()).then(function(){return e.reject(i)})})},Z.all=function(t){return new Z(function(e,i){if(!t||void 0===t.length)throw new TypeError("Promise.all accepts an array");var n=Array.prototype.slice.call(t);if(0===n.length)return e([]);var r=n.length;function o(t,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(e){o(t,e)},i)}n[t]=a,0==--r&&e(n)}catch(t){i(t)}}for(var a=0;a<n.length;a++)o(a,n[a])})},Z.resolve=function(t){return t&&"object"==typeof t&&t.constructor===Z?t:new Z(function(e){e(t)})},Z.reject=function(t){return new Z(function(e,i){i(t)})},Z.race=function(t){return new Z(function(e,i){for(var n=0,r=t.length;n<r;n++)t[n].then(e,i)})},Z._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){q(t,0)},Z._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var nt,rt,ot=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"getSvgString",value:function(){return this.w.globals.dom.Paper.svg()}},{key:"cleanup",value:function(){var t=this.w,e=t.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs"),i=t.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs");e&&e.setAttribute("x",-500),i&&(i.setAttribute("y1",-100),i.setAttribute("y2",-100))}},{key:"svgUrl",value:function(){this.cleanup();var t=this.getSvgString(),e=new Blob([t],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(e)}},{key:"dataURI",value:function(){var t=this;return new Z(function(e){var i=t.w;t.cleanup();var n=document.createElement("canvas");n.width=i.globals.svgWidth,n.height=i.globals.svgHeight;var r="transparent"===i.config.chart.background?"#fff":i.config.chart.background,o=n.getContext("2d");o.fillStyle=r,o.fillRect(0,0,n.width,n.height);var a=window.URL||window.webkitURL||window,s=new Image;s.crossOrigin="anonymous";var l=t.getSvgString(),c="data:image/svg+xml,"+encodeURIComponent(l);s.onload=function(){o.drawImage(s,0,0),a.revokeObjectURL(c);var t=n.toDataURL("image/png");e(t)},s.src=c})}},{key:"exportToSVG",value:function(){this.triggerDownload(this.svgUrl(),".svg")}},{key:"exportToPng",value:function(){var t=this;this.dataURI().then(function(e){t.triggerDownload(e,".png")})}},{key:"triggerDownload",value:function(t,e){var i=document.createElement("a");i.href=t,i.download=this.w.globals.chartID+e,document.body.appendChild(i),i.click(),document.body.removeChild(i)}}]),t}(),at=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w;var n=this.w;this.anim=new d(this.ctx),this.xaxisLabels=n.globals.labels.slice(),this.animX=n.config.grid.xaxis.lines.animate&&n.config.chart.animations.enabled,this.animY=n.config.grid.yaxis.lines.animate&&n.config.chart.animations.enabled,n.globals.timelineLabels.length>0&&(this.xaxisLabels=n.globals.timelineLabels.slice())}return n(t,[{key:"drawGridArea",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.w,i=new f(this.ctx);null===t&&(t=i.group({class:"apexcharts-grid"}));var n=i.drawLine(e.globals.padHorizontal,1,e.globals.padHorizontal,e.globals.gridHeight,"transparent"),r=i.drawLine(e.globals.padHorizontal,e.globals.gridHeight,e.globals.gridWidth,e.globals.gridHeight,"transparent");return t.add(r),t.add(n),t}},{key:"drawGrid",value:function(){var t=this.w,e=new W(this.ctx),i=new B(this.ctx),n=this.w.globals,r=null;if(n.axisCharts){if(t.config.grid.show)r=this.renderGrid(),n.dom.elGraphical.add(r.el),this.drawGridArea(r.el);else{var o=this.drawGridArea();n.dom.elGraphical.add(o)}null!==r&&e.xAxisLabelCorrections(r.xAxisTickWidth),i.setYAxisTextAlignments()}}},{key:"createGridMask",value:function(){var t=this.w,e=t.globals,i=new f(this.ctx),n=Array.isArray(t.config.stroke.width)?0:t.config.stroke.width;if(Array.isArray(t.config.stroke.width)){var r=0;t.config.stroke.width.forEach(function(t){r=Math.max(r,t)}),n=r}e.dom.elGridRectMask=document.createElementNS(e.SVGNS,"clipPath"),e.dom.elGridRectMask.setAttribute("id","gridRectMask".concat(e.cuid)),e.dom.elGridRectMarkerMask=document.createElementNS(e.SVGNS,"clipPath"),e.dom.elGridRectMarkerMask.setAttribute("id","gridRectMarkerMask".concat(e.cuid)),e.dom.elGridRect=i.drawRect(-n/2,-n/2,e.gridWidth+n,e.gridHeight+n,0,"#fff"),new b(this).getLargestMarkerSize();var o=t.globals.markers.largestSize+1;e.dom.elGridRectMarker=i.drawRect(-o,-o,e.gridWidth+2*o,e.gridHeight+2*o,0,"#fff"),e.dom.elGridRectMask.appendChild(e.dom.elGridRect.node),e.dom.elGridRectMarkerMask.appendChild(e.dom.elGridRectMarker.node);var a=e.dom.baseEl.querySelector("defs");a.appendChild(e.dom.elGridRectMask),a.appendChild(e.dom.elGridRectMarkerMask)}},{key:"renderGrid",value:function(){var t=this.w,e=new f(this.ctx),i=t.config.grid.strokeDashArray,n=e.group({class:"apexcharts-grid"}),r=e.group({class:"apexcharts-gridlines-horizontal"}),o=e.group({class:"apexcharts-gridlines-vertical"});n.add(r),n.add(o);for(var a,s=8,l=0;l<t.globals.series.length&&(void 0!==t.globals.yAxisScale[l]&&(s=t.globals.yAxisScale[l].result.length-1),!(s>2));l++);if(t.globals.isBarHorizontal){if(a=s,t.config.grid.xaxis.lines.show||t.config.xaxis.axisTicks.show)for(var c,u=t.globals.padHorizontal,h=t.globals.gridHeight,d=0;d<a+1&&(c=u=u+t.globals.gridWidth/a+.3,d!==a-1);d++){if(t.config.grid.xaxis.lines.show){var p=e.drawLine(u,0,c,h,t.config.grid.borderColor,i);p.node.classList.add("apexcharts-gridline"),o.add(p),this.animX&&this.animateLine(p,{x1:0,x2:0},{x1:u,x2:c})}new W(this.ctx).drawXaxisTicks(u,n)}if(t.config.grid.yaxis.lines.show)for(var g=0,m=0,v=t.globals.gridWidth,y=0;y<t.globals.dataPoints+1;y++){var b=e.drawLine(0,g,v,m,t.config.grid.borderColor,i);r.add(b),b.node.classList.add("apexcharts-gridline"),this.animY&&this.animateLine(b,{y1:g+20,y2:m+20},{y1:g,y2:m}),m=g+=t.globals.gridHeight/t.globals.dataPoints}}else{if(a=this.xaxisLabels.length,t.config.grid.xaxis.lines.show||t.config.xaxis.axisTicks.show){var L,x=t.globals.padHorizontal,w=t.globals.gridHeight;if(t.globals.timelineLabels.length>0)for(var _=0;_<a;_++){if(x=this.xaxisLabels[_].position,L=this.xaxisLabels[_].position,t.config.grid.xaxis.lines.show&&x>0&&x<t.globals.gridWidth){var S=e.drawLine(x,0,L,w,t.config.grid.borderColor,i);S.node.classList.add("apexcharts-gridline"),o.add(S),this.animX&&this.animateLine(S,{x1:0,x2:0},{x1:x,x2:L})}var C=new W(this.ctx);_===a-1&&t.globals.skipLastTimelinelabel||C.drawXaxisTicks(x,n)}else for(var k=a,T=0;T<k;T++){var E=k;if(t.globals.isXNumeric&&"bar"!==t.config.chart.type&&(E-=1),L=x+=t.globals.gridWidth/E,T===E-1)break;if(t.config.grid.xaxis.lines.show){var A=e.drawLine(x,0,L,w,t.config.grid.borderColor,i);A.node.classList.add("apexcharts-gridline"),o.add(A),this.animX&&this.animateLine(A,{x1:0,x2:0},{x1:x,x2:L})}new W(this.ctx).drawXaxisTicks(x,n)}}if(t.config.grid.yaxis.lines.show)for(var M=0,D=0,P=t.globals.gridWidth,O=0;O<s+1;O++){var I=e.drawLine(0,M,P,D,t.config.grid.borderColor,i);r.add(I),I.node.classList.add("apexcharts-gridline"),this.animY&&this.animateLine(I,{y1:M+20,y2:D+20},{y1:M,y2:D}),D=M+=t.globals.gridHeight/s}}return this.drawGridBands(n,a,s),{el:n,xAxisTickWidth:t.globals.gridWidth/a}}},{key:"drawGridBands",value:function(t,e,i){var n=this.w,r=new f(this.ctx);if(void 0!==n.config.grid.row.colors&&n.config.grid.row.colors.length>0)for(var o=0,a=n.globals.gridHeight/i,s=n.globals.gridWidth,l=0,c=0;l<i;l++,c++){c>=n.config.grid.row.colors.length&&(c=0);var u=n.config.grid.row.colors[c],h=r.drawRect(0,o,s,a,0,u,n.config.grid.row.opacity);t.add(h),h.node.classList.add("apexcharts-gridRow"),o+=n.globals.gridHeight/i}if(void 0!==n.config.grid.column.colors&&n.config.grid.column.colors.length>0)for(var d=n.globals.padHorizontal,p=n.globals.padHorizontal+n.globals.gridWidth/e,g=n.globals.gridHeight,m=0,v=0;m<e;m++,v++){v>=n.config.grid.column.colors.length&&(v=0);var y=n.config.grid.column.colors[v],b=r.drawRect(d,0,p,g,0,y,n.config.grid.column.opacity);b.node.classList.add("apexcharts-gridColumn"),t.add(b),d+=n.globals.gridWidth/e}}},{key:"animateLine",value:function(t,e,i){var n=this.w,r=n.config.chart.animations;if(r&&!n.globals.resized&&!n.globals.dataChanged){var o=r.speed;this.anim.animateLine(t,e,i,o)}}}]),t}(),st=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"checkResponsiveConfig",value:function(t){var e=this,i=this.w,n=i.config;if(0!==n.responsive.length){var r=n.responsive.slice();r.sort(function(t,e){return t.breakpoint>e.breakpoint?1:e.breakpoint>t.breakpoint?-1:0}).reverse();var o=new L({}),a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r[0].breakpoint,a=window.innerWidth>0?window.innerWidth:screen.width;if(a>n){var s=b.extendArrayProps(o,i.globals.initialConfig);t=u.extend(s,t),t=u.extend(i.config,t),e.overrideResponsiveOptions(t)}else for(var l=0;l<r.length;l++)a<r[l].breakpoint&&(t=b.extendArrayProps(o,r[l].options),t=u.extend(i.config,t),e.overrideResponsiveOptions(t))};if(t){var s=b.extendArrayProps(o,t);s=u.extend(i.config,s),a(s=u.extend(s,t))}else a({})}}},{key:"overrideResponsiveOptions",value:function(t){var e=new L(t).init();this.w.config=e}}]),t}(),lt=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.colors=[]}return n(t,[{key:"init",value:function(){this.setDefaultColors()}},{key:"setDefaultColors",value:function(){var t=this.w,e=new u;if(t.globals.dom.elWrap.classList.add(t.config.theme.mode),void 0===t.config.colors?t.globals.colors=this.predefined():t.globals.colors=t.config.colors,t.config.theme.monochrome.enabled){var i=[],n=t.globals.series.length;t.config.plotOptions.bar.distributed&&"bar"===t.config.chart.type&&(n=t.globals.series[0].length*t.globals.series.length);for(var r=t.config.theme.monochrome.color,o=1/(n/t.config.theme.monochrome.shadeIntensity),a=t.config.theme.monochrome.shadeTo,s=0,l=0;l<n;l++){var c=void 0;"dark"===a?(c=e.shadeColor(-1*s,r),s+=o):(c=e.shadeColor(s,r),s+=o),i.push(c)}t.globals.colors=i.slice()}var h=t.globals.colors.slice();this.pushExtraColors(t.globals.colors),void 0===t.config.stroke.colors?t.globals.stroke.colors=h:t.globals.stroke.colors=t.config.stroke.colors,this.pushExtraColors(t.globals.stroke.colors),void 0===t.config.fill.colors?t.globals.fill.colors=h:t.globals.fill.colors=t.config.fill.colors,this.pushExtraColors(t.globals.fill.colors),void 0===t.config.dataLabels.style.colors?t.globals.dataLabels.style.colors=h:t.globals.dataLabels.style.colors=t.config.dataLabels.style.colors,this.pushExtraColors(t.globals.dataLabels.style.colors,50),void 0===t.config.plotOptions.radar.polygons.fill.colors?t.globals.radarPolygons.fill.colors=["dark"===t.config.theme.mode?"#202D48":"#fff"]:t.globals.radarPolygons.fill.colors=t.config.plotOptions.radar.polygons.fill.colors,this.pushExtraColors(t.globals.radarPolygons.fill.colors,20),void 0===t.config.markers.colors?t.globals.markers.colors=h:t.globals.markers.colors=t.config.markers.colors,this.pushExtraColors(t.globals.markers.colors)}},{key:"pushExtraColors",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.w,r=e||n.globals.series.length;if(null===i&&(i="bar"===n.config.chart.type&&n.config.plotOptions.bar.distributed||"heatmap"===n.config.chart.type&&n.config.plotOptions.heatmap.colorScale.inverse),i&&(r=n.globals.series[0].length*n.globals.series.length),t.length<r)for(var o=r-t.length,a=0;a<o;a++)t.push(t[a])}},{key:"updateThemeOptions",value:function(t){t.chart=t.chart||{},t.tooltip=t.tooltip||{};var e=t.theme.mode||"light",i=t.theme.palette?t.theme.palette:"dark"===e?"palette4":"palette1",n=t.chart.foreColor?t.chart.foreColor:"dark"===e?"#f6f7f8":"#373d3f";return t.tooltip.theme=e,t.chart.foreColor=n,t.theme.palette=i,t}},{key:"predefined",value:function(){switch(this.w.config.theme.palette){case"palette1":this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"];break;case"palette2":this.colors=["#3f51b5","#03a9f4","#4caf50","#f9ce1d","#FF9800"];break;case"palette3":this.colors=["#33b2df","#546E7A","#d4526e","#13d8aa","#A5978B"];break;case"palette4":this.colors=["#4ecdc4","#c7f464","#81D4FA","#fd6a6a","#546E7A"];break;case"palette5":this.colors=["#2b908f","#f9a3a4","#90ee7e","#fa4443","#69d2e7"];break;case"palette6":this.colors=["#449DD1","#F86624","#EA3546","#662E9B","#C5D86D"];break;case"palette7":this.colors=["#D7263D","#1B998B","#2E294E","#F46036","#E2C044"];break;case"palette8":this.colors=["#662E9B","#F86624","#F9C80E","#EA3546","#43BCCD"];break;case"palette9":this.colors=["#5C4742","#A5978B","#8D5B4C","#5A2A27","#C4BBAF"];break;case"palette10":this.colors=["#A300D6","#7D02EB","#5653FE","#2983FF","#00B1F2"];break;default:this.colors=["#008FFB","#00E396","#FEB019","#FF4560","#775DD0"]}return this.colors}}]),t}(),ct=function(){function t(i){e(this,t),this.w=i.w,this.ttCtx=i,this.ctx=i.ctx}return n(t,[{key:"getNearestValues",value:function(t){var e=t.hoverArea,i=t.elGrid,n=t.clientX,r=t.clientY,o=t.hasBars,a=this.w,s=a.globals.gridWidth,l=s/(a.globals.dataPoints-1),c=i.getBoundingClientRect();(o&&a.globals.comboCharts||o)&&(l=s/a.globals.dataPoints);var u=n-c.left,h=r-c.top;u<0||h<0||u>a.globals.gridWidth||h>a.globals.gridHeight?(e.classList.remove("hovering-zoom"),e.classList.remove("hovering-pan")):a.globals.zoomEnabled?(e.classList.remove("hovering-pan"),e.classList.add("hovering-zoom")):a.globals.panEnabled&&(e.classList.remove("hovering-zoom"),e.classList.add("hovering-pan"));var d=Math.round(u/l);o&&(d=Math.ceil(u/l),d-=1);for(var f,p=null,g=null,m=[],v=0;v<a.globals.seriesXvalues.length;v++)m.push([a.globals.seriesXvalues[v][0]-1e-6].concat(a.globals.seriesXvalues[v]));return m=m.map(function(t){return t.filter(function(t){return t})}),f=a.globals.seriesYvalues.map(function(t){return t.filter(function(t){return t})}),a.globals.isXNumeric&&(p=(g=this.closestInMultiArray(u,h,m,f)).index,d=g.j,null!==p&&(m=a.globals.seriesXvalues[p],d=(g=this.closestInArray(u,m)).index)),(!d||d<1)&&(d=0),{capturedSeries:p,j:d,hoverX:u,hoverY:h}}},{key:"closestInMultiArray",value:function(t,e,i,n){var r=this.w,o=0,a=null,s=-1;r.globals.series.length>1?o=this.getFirstActiveXArray(i):a=0;var l=n[o][0],c=i[o][0],u=Math.abs(t-c),h=Math.abs(e-l),d=h+u;return n.map(function(r,o){r.map(function(r,l){var c=Math.abs(e-n[o][l]),f=Math.abs(t-i[o][l]),p=f+c;p<d&&(d=p,u=f,h=c,a=o,s=l)})}),{index:a,j:s}}},{key:"getFirstActiveXArray",value:function(t){for(var e=0,i=new b(this.ctx),n=t.map(function(t,e){return t.length>0?e:-1}),r=0;r<n.length;r++){var o=i.getSeriesTotalByIndex(r);if(-1!==n[r]&&0!==o&&!i.seriesHaveSameValues(r)){e=n[r];break}}return e}},{key:"closestInArray",value:function(t,e){for(var i=e[0],n=null,r=Math.abs(t-i),o=0;o<e.length;o++){var a=Math.abs(t-e[o]);a<r&&(r=a,i=e[o],n=o)}return{index:n}}},{key:"isXoverlap",value:function(t){var e=[],i=this.w.globals.seriesX.filter(function(t){return void 0!==t[0]});if(i.length>0)for(var n=0;n<i.length-1;n++)void 0!==i[n][t]&&void 0!==i[n+1][t]&&i[n][t]!==i[n+1][t]&&e.push("unEqual");return 0===e.length}},{key:"isinitialSeriesSameLen",value:function(){for(var t=!0,e=this.w.globals.initialSeries,i=0;i<e.length-1;i++)if(e[i].data.length!==e[i+1].data.length){t=!1;break}return t}},{key:"getBarsHeight",value:function(t){return c(t).reduce(function(t,e){return t+e.getBBox().height},0)}},{key:"toggleAllTooltipSeriesGroups",value:function(t){var e=this.w,i=this.ttCtx;0===i.allTooltipSeriesGroups.length&&(i.allTooltipSeriesGroups=e.globals.dom.baseEl.querySelectorAll(".apexcharts-tooltip-series-group"));for(var n=i.allTooltipSeriesGroups,r=0;r<n.length;r++)"enable"===t?(n[r].classList.add("active"),n[r].style.display=e.config.tooltip.items.display):(n[r].classList.remove("active"),n[r].style.display="none")}}]),t}(),ut=function(){function t(i){e(this,t),this.w=i.w,this.ctx=i.ctx,this.ttCtx=i,this.tooltipUtil=new ct(i)}return n(t,[{key:"drawSeriesTexts",value:function(t){var e=t.shared,i=void 0===e||e,n=t.ttItems,r=t.i,o=void 0===r?0:r,a=t.j,s=void 0===a?null:a;void 0!==this.w.config.tooltip.custom?this.handleCustomTooltip({i:o,j:s}):this.toggleActiveInactiveSeries(i);var l=this.getValuesToPrint({i:o,j:s});this.printLabels({i:o,j:s,values:l,ttItems:n,shared:i});var c=this.ttCtx.getElTooltip();this.ttCtx.tooltipRect.ttWidth=c.getBoundingClientRect().width,this.ttCtx.tooltipRect.ttHeight=c.getBoundingClientRect().height}},{key:"printLabels",value:function(t){var e,i=t.i,n=t.j,r=t.values,o=t.ttItems,a=t.shared,s=this.w,l=r.xVal,c=r.zVal,u=r.xAxisTTVal,h="",d=s.globals.colors[i];null!==n&&s.config.plotOptions.bar.distributed&&(d=s.globals.colors[n]);for(var f=0,p=s.globals.series.length-1;f<s.globals.series.length;f++,p--){var g=this.getFormatters(i);if(h=this.getSeriesName({fn:g.yLbTitleFormatter,index:i,seriesIndex:i,j:n}),a){var m=s.config.tooltip.inverseOrder?p:f;g=this.getFormatters(m),h=this.getSeriesName({fn:g.yLbTitleFormatter,index:m,seriesIndex:i,j:n}),d=s.globals.colors[m],e=g.yLbFormatter(s.globals.series[m][n],{series:s.globals.series,seriesIndex:m,dataPointIndex:n,w:s}),(this.ttCtx.hasBars()&&s.config.chart.stacked&&0===s.globals.series[m][n]||void 0===s.globals.series[m][n])&&(e=void 0)}else e=g.yLbFormatter(s.globals.series[i][n],{series:s.globals.series,seriesIndex:i,dataPointIndex:n,w:s});null===n&&(e=g.yLbFormatter(s.globals.series[i],s)),this.DOMHandling({t:f,ttItems:o,values:{val:e,xVal:l,xAxisTTVal:u,zVal:c},seriesName:h,shared:a,pColor:d})}}},{key:"getFormatters",value:function(t){var e,i=this.w,n=i.globals.yLabelFormatters[t];return void 0!==i.globals.ttVal?Array.isArray(i.globals.ttVal)?(n=i.globals.ttVal[t]&&i.globals.ttVal[t].formatter,e=i.globals.ttVal[t]&&i.globals.ttVal[t].title&&i.globals.ttVal[t].title.formatter):(n=i.globals.ttVal.formatter,"function"==typeof i.globals.ttVal.title.formatter&&(e=i.globals.ttVal.title.formatter)):e=i.config.tooltip.y.title.formatter,"function"!=typeof n&&(n=i.globals.yLabelFormatters[0]?i.globals.yLabelFormatters[0]:function(t){return t}),"function"!=typeof e&&(e=function(t){return t}),{yLbFormatter:n,yLbTitleFormatter:e}}},{key:"getSeriesName",value:function(t){var e=t.fn,i=t.index,n=t.seriesIndex,r=t.j,o=this.w;return e(String(o.globals.seriesNames[i]),{series:o.globals.series,seriesIndex:n,dataPointIndex:r,w:o})}},{key:"DOMHandling",value:function(t){var e=t.t,i=t.ttItems,n=t.values,r=t.seriesName,o=t.shared,a=t.pColor,s=this.w,l=this.ttCtx,c=n.val,u=n.xVal,h=n.xAxisTTVal,d=n.zVal,f=null;f=i[e].children,s.config.tooltip.fillSeriesColor&&(i[e].style.backgroundColor=a,f[0].style.display="none"),l.showTooltipTitle&&(null===l.tooltipTitle&&(l.tooltipTitle=s.globals.dom.baseEl.querySelector(".apexcharts-tooltip-title")),l.tooltipTitle.innerHTML=u),l.blxaxisTooltip&&(l.xaxisTooltipText.innerHTML=""!==h?h:u);var p=i[e].querySelector(".apexcharts-tooltip-text-label");p&&(p.innerHTML=r?r+": ":"");var g=i[e].querySelector(".apexcharts-tooltip-text-value");g&&(g.innerHTML=c),f[0]&&f[0].classList.contains("apexcharts-tooltip-marker")&&(f[0].style.backgroundColor=a),s.config.tooltip.marker.show||(f[0].style.display="none"),null!==d&&(i[e].querySelector(".apexcharts-tooltip-text-z-label").innerHTML=s.config.tooltip.z.title,i[e].querySelector(".apexcharts-tooltip-text-z-value").innerHTML=d),o&&f[0]&&(null==c||s.globals.collapsedSeriesIndices.indexOf(e)>-1?f[0].parentNode.style.display="none":f[0].parentNode.style.display=s.config.tooltip.items.display)}},{key:"toggleActiveInactiveSeries",value:function(t){var e=this.w;if(t)this.tooltipUtil.toggleAllTooltipSeriesGroups("enable");else{this.tooltipUtil.toggleAllTooltipSeriesGroups("disable");var i=e.globals.dom.baseEl.querySelector(".apexcharts-tooltip-series-group");i&&(i.classList.add("active"),i.style.display=e.config.tooltip.items.display)}}},{key:"getValuesToPrint",value:function(t){var e=t.i,i=t.j,n=this.w,r=this.ctx.series.filteredSeriesX(),o="",a=null,s=null,l={series:n.globals.series,seriesIndex:e,dataPointIndex:i,w:n},c=n.globals.ttZFormatter;null===i?s=n.globals.series[e]:n.globals.isXNumeric?(o=r[e][i],0===r[e].length&&(o=r[this.tooltipUtil.getFirstActiveXArray(r)][i])):o=void 0!==n.globals.labels[i]?n.globals.labels[i]:"";var u=o;return o=n.globals.isXNumeric&&"datetime"===n.config.xaxis.type?new R(this.ctx).xLabelFormat(n.globals.ttKeyFormatter,u):n.globals.xLabelFormatter(u,l),void 0!==n.config.tooltip.x.formatter&&(o=n.globals.ttKeyFormatter(u,l)),n.globals.seriesZ.length>0&&n.globals.seriesZ[0].length>0&&(a=c(n.globals.seriesZ[e][i],n)),{val:s,xVal:o,xAxisTTVal:"function"==typeof n.config.xaxis.tooltip.formatter?n.globals.xaxisTooltipFormatter(u,l):o,zVal:a}}},{key:"handleCustomTooltip",value:function(t){var e=t.i,i=t.j,n=this.w;this.ttCtx.getElTooltip().innerHTML=n.config.tooltip.custom({ctx:this.ctx,series:n.globals.series,seriesIndex:e,dataPointIndex:i,w:n})}}]),t}(),ht=function(){function t(i){e(this,t),this.ttCtx=i,this.ctx=i.ctx,this.w=i.w}return n(t,[{key:"moveXCrosshairs",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.ttCtx,n=this.w,r=i.getElXCrosshairs(),o=t-i.xcrosshairsWidth/2,a=n.globals.labels.slice().length;if(null!==e&&(o=n.globals.gridWidth/a*e),"tickWidth"===n.config.xaxis.crosshairs.width||"barWidth"===n.config.xaxis.crosshairs.width?o+i.xcrosshairsWidth>n.globals.gridWidth&&(o=n.globals.gridWidth-i.xcrosshairsWidth):null!==e&&(o+=n.globals.gridWidth/a/2),o<0&&(o=0),o>n.globals.gridWidth&&(o=n.globals.gridWidth),null!==r&&(r.setAttribute("x",o),r.setAttribute("x1",o),r.setAttribute("x2",o),r.setAttribute("y2",n.globals.gridHeight),r.classList.add("active")),i.blxaxisTooltip){var s=o;"tickWidth"!==n.config.xaxis.crosshairs.width&&"barWidth"!==n.config.xaxis.crosshairs.width||(s=o+i.xcrosshairsWidth/2),this.moveXAxisTooltip(s)}}},{key:"moveYCrosshairs",value:function(t){var e=this.ttCtx;null!==e.ycrosshairs&&(f.setAttrs(e.ycrosshairs,{y1:t,y2:t}),f.setAttrs(e.ycrosshairsHidden,{y1:t,y2:t}))}},{key:"moveXAxisTooltip",value:function(t){var e=this.w,i=this.ttCtx;if(null!==i.xaxisTooltip){i.xaxisTooltip.classList.add("active");var n,r=i.xaxisOffY+e.config.xaxis.tooltip.offsetY+e.globals.translateY+1+e.config.xaxis.offsetY;if(t-=i.xaxisTooltip.getBoundingClientRect().width/2,!isNaN(t))t+=e.globals.translateX,n=new f(this.ctx).getTextRects(i.xaxisTooltipText.innerHTML),i.xaxisTooltipText.style.minWidth=n.width+"px",i.xaxisTooltip.style.left=t+"px",i.xaxisTooltip.style.top=r+"px"}}},{key:"moveYAxisTooltip",value:function(t){var e=this.w,i=this.ttCtx;null===i.yaxisTTEls&&(i.yaxisTTEls=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));var n=parseInt(i.ycrosshairsHidden.getAttribute("y1")),r=e.globals.translateY+n,o=i.yaxisTTEls[t].getBoundingClientRect().height,a=e.globals.translateYAxisX[t]-2;e.config.yaxis[t].opposite&&(a-=26),r-=o/2,-1===e.globals.ignoreYAxisIndexes.indexOf(t)?(i.yaxisTTEls[t].classList.add("active"),i.yaxisTTEls[t].style.top=r+"px",i.yaxisTTEls[t].style.left=a+e.config.yaxis[t].tooltip.offsetX+"px"):i.yaxisTTEls[t].classList.remove("active")}},{key:"moveTooltip",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.w,r=this.ttCtx,o=r.getElTooltip(),a=r.tooltipRect,s=null!==i?parseInt(i):1,l=parseInt(t)+s+5,c=parseInt(e)+s/2;if(l>n.globals.gridWidth/2&&(l=l-a.ttWidth-s-15),l>n.globals.gridWidth-a.ttWidth-10&&(l=n.globals.gridWidth-a.ttWidth),l<-20&&(l=-20),n.config.tooltip.followCursor){var u=r.getElGrid().getBoundingClientRect();c=r.e.clientY+n.globals.translateY-u.top-a.ttHeight/2}var h=this.positionChecks(a,l,c);l=h.x,c=h.y,isNaN(l)||(l+=n.globals.translateX,o.style.left=l+"px",o.style.top=c+"px")}},{key:"positionChecks",value:function(t,e,i){var n=this.w;return t.ttHeight+i>n.globals.gridHeight&&(i=n.globals.gridHeight-t.ttHeight+n.globals.translateY),i<0&&(i=0),{x:e,y:i}}},{key:"moveMarkers",value:function(t,e){var i=this.w,n=this.ttCtx;if(i.globals.markers.size[t]>0)for(var r=i.globals.dom.baseEl.querySelectorAll(" .apexcharts-series[data\\:realIndex='".concat(t,"'] .apexcharts-marker")),o=0;o<r.length;o++)parseInt(r[o].getAttribute("rel"))===e&&(n.marker.resetPointsSize(),n.marker.enlargeCurrentPoint(e,r[o]));else n.marker.resetPointsSize(),this.moveDynamicPointOnHover(e,t)}},{key:"moveDynamicPointOnHover",value:function(t,e){var i,n,r=this.w,o=this.ttCtx,a=r.globals.pointsArray,s=r.config.markers.hover.size;void 0===s&&(s=r.globals.markers.size[e]+r.config.markers.hover.sizeOffset),i=a[e][t][0],n=a[e][t][1]?a[e][t][1]:0;var l=r.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(e,"'] .apexcharts-series-markers circle"));l&&(l.setAttribute("r",s),l.setAttribute("cx",i),l.setAttribute("cy",n)),this.moveXCrosshairs(i),o.fixedTooltip||this.moveTooltip(i,n,s)}},{key:"moveDynamicPointsOnHover",value:function(t){var e,i=this.ttCtx,n=i.w,r=0,o=0,a=n.globals.pointsArray;e=new H(this.ctx).getActiveSeriesIndex();var s=n.config.markers.hover.size;void 0===s&&(s=n.globals.markers.size[e]+n.config.markers.hover.sizeOffset),a[e]&&(r=a[e][t][0],o=a[e][t][1]);var l=null,c=i.getAllMarkers();if(null!==(l=null!==c?c:n.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers circle")))for(var u=0;u<l.length;u++){var h=a[u];if(h&&h.length){var d=a[u][t][1];l[u].setAttribute("cx",r);var f=parseInt(l[u].parentNode.parentNode.parentNode.getAttribute("data:realIndex"));null!==d?(l[f]&&l[f].setAttribute("r",s),l[f]&&l[f].setAttribute("cy",d)):l[f]&&l[f].setAttribute("r",0)}}if(this.moveXCrosshairs(r),!i.fixedTooltip){var p=o||n.globals.gridHeight;this.moveTooltip(r,p,s)}}},{key:"moveStickyTooltipOverBars",value:function(t){var e,i=this.w,n=this.ttCtx,r=i.globals.dom.baseEl.querySelector(".apexcharts-bar-series .apexcharts-series[rel='1'] path[j='".concat(t,"'], .apexcharts-candlestick-series .apexcharts-series[rel='1'] path[j='").concat(t,"'], .apexcharts-rangebar-series .apexcharts-series[rel='1'] path[j='").concat(t,"']")),o=r?parseFloat(r.getAttribute("cx")):0,a=r?parseFloat(r.getAttribute("barWidth")):0;i.globals.isXNumeric?o-=a/2:(o=n.xAxisTicksPositions[t-1]+n.dataPointsDividedWidth/2,isNaN(o)&&(o=n.xAxisTicksPositions[t]-n.dataPointsDividedWidth/2));var s=n.getElGrid().getBoundingClientRect();if(e=n.e.clientY-s.top-n.tooltipRect.ttHeight/2,this.moveXCrosshairs(o),!n.fixedTooltip){var l=e||i.globals.gridHeight;this.moveTooltip(o,l)}}}]),t}(),dt=function(){function t(i){e(this,t),this.w=i.w,this.ttCtx=i,this.ctx=i.ctx,this.tooltipPosition=new ht(i)}return n(t,[{key:"drawDynamicPoints",value:function(){for(var t=this.w,e=new f(this.ctx),i=new S(this.ctx),n=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series"),r=0;r<n.length;r++){var o=parseInt(n[r].getAttribute("data:realIndex")),a=t.globals.dom.baseEl.querySelector(".apexcharts-series[data\\:realIndex='".concat(o,"'] .apexcharts-series-markers-wrap"));if(null!==a){var s=void 0,l="apexcharts-marker w".concat((Math.random()+1).toString(36).substring(4));"line"!==t.config.chart.type&&"area"!==t.config.chart.type||t.globals.comboCharts||t.config.tooltip.intersect||(l+=" no-pointer-events");var c=i.getMarkerConfig(l,o);(s=e.drawMarker(0,0,c)).node.setAttribute("default-marker-size",0);var u=document.createElementNS(t.globals.SVGNS,"g");u.classList.add("apexcharts-series-markers"),u.appendChild(s.node),a.appendChild(u)}}}},{key:"enlargeCurrentPoint",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=this.w;"bubble"!==r.config.chart.type&&this.newPointSize(t,e);var o=e.getAttribute("cx"),a=e.getAttribute("cy");if(null!==i&&null!==n&&(o=i,a=n),this.tooltipPosition.moveXCrosshairs(o),!this.fixedTooltip){if("radar"===r.config.chart.type){var s=this.ttCtx.getElGrid().getBoundingClientRect();o=this.ttCtx.e.clientX-s.left}this.tooltipPosition.moveTooltip(o,a,r.config.markers.hover.size)}}},{key:"enlargePoints",value:function(t){for(var e=this.w,i=this.ttCtx,n=t,r=e.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),o=e.config.markers.hover.size,a=0;a<r.length;a++){var s=r[a].getAttribute("rel"),l=r[a].getAttribute("index");if(void 0===o&&(o=e.globals.markers.size[l]+e.config.markers.hover.sizeOffset),n===parseInt(s)){this.newPointSize(n,r[a]);var c=r[a].getAttribute("cx"),u=r[a].getAttribute("cy");this.tooltipPosition.moveXCrosshairs(c),i.fixedTooltip||this.tooltipPosition.moveTooltip(c,u,o)}else this.oldPointSize(r[a])}}},{key:"newPointSize",value:function(t,e){var i=this.w,n=i.config.markers.hover.size,r=null;r=0===t?e.parentNode.firstChild:e.parentNode.lastChild;var o=parseInt(r.getAttribute("index"));void 0===n&&(n=i.globals.markers.size[o]+i.config.markers.hover.sizeOffset),r.setAttribute("r",n)}},{key:"oldPointSize",value:function(t){var e=parseInt(t.getAttribute("default-marker-size"));t.setAttribute("r",e)}},{key:"resetPointsSize",value:function(){for(var t=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series:not(.apexcharts-series-collapsed) .apexcharts-marker"),e=0;e<t.length;e++){var i=parseInt(t[e].getAttribute("default-marker-size"));u.isNumber(i)?t[e].setAttribute("r",i):t[e].setAttribute("r",0)}}}]),t}(),ft=function(){function t(i){e(this,t),this.w=i.w,this.ttCtx=i}return n(t,[{key:"getAttr",value:function(t,e){return parseFloat(t.target.getAttribute(e))}},{key:"handleHeatTooltip",value:function(t){var e=t.e,i=t.opt,n=t.x,r=t.y,o=this.ttCtx,a=this.w;if(e.target.classList.contains("apexcharts-heatmap-rect")){var s=this.getAttr(e,"i"),l=this.getAttr(e,"j"),c=this.getAttr(e,"cx"),u=this.getAttr(e,"cy"),h=this.getAttr(e,"width"),d=this.getAttr(e,"height");if(o.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:s,j:l,shared:!1}),n=c+o.tooltipRect.ttWidth/2+h,r=u+o.tooltipRect.ttHeight/2-d/2,o.tooltipPosition.moveXCrosshairs(c+h/2),n>a.globals.gridWidth/2&&(n=c-o.tooltipRect.ttWidth/2+h),o.w.config.tooltip.followCursor){var f=o.getElGrid().getBoundingClientRect();r=o.e.clientY-f.top+a.globals.translateY/2-10}}return{x:n,y:r}}},{key:"handleMarkerTooltip",value:function(t){var e,i,n=t.e,r=t.opt,o=t.x,a=t.y,s=this.w,l=this.ttCtx;if(n.target.classList.contains("apexcharts-marker")){var c=parseInt(r.paths.getAttribute("cx")),h=parseInt(r.paths.getAttribute("cy")),d=parseFloat(r.paths.getAttribute("val"));if(i=parseInt(r.paths.getAttribute("rel")),e=parseInt(r.paths.parentNode.parentNode.parentNode.getAttribute("rel"))-1,l.intersect){var f=u.findAncestor(r.paths,"apexcharts-series");f&&(e=parseInt(f.getAttribute("data:realIndex")))}if(l.tooltipLabels.drawSeriesTexts({ttItems:r.ttItems,i:e,j:i,shared:!l.showOnIntersect&&s.config.tooltip.shared}),"mouseup"===n.type&&l.markerClick(n,e,i),o=c,a=h+s.globals.translateY-1.4*l.tooltipRect.ttHeight,l.w.config.tooltip.followCursor){var p=l.getElGrid().getBoundingClientRect();a=l.e.clientY+s.globals.translateY-p.top}d<0&&(a=h),l.marker.enlargeCurrentPoint(i,r.paths,o,a)}return{x:o,y:a}}},{key:"handleBarTooltip",value:function(t){var e,i,n=t.e,r=t.opt,o=this.w,a=this.ttCtx,s=a.getElTooltip(),l=0,c=0,u=0,h=this.getBarTooltipXY({e:n,opt:r});e=h.i;var d=h.barHeight,f=h.j;if(o.globals.isBarHorizontal&&a.hasBars()||!o.config.tooltip.shared?(c=h.x,u=h.y,i=Array.isArray(o.config.stroke.width)?o.config.stroke.width[e]:o.config.stroke.width,l=c):o.globals.comboCharts||o.config.tooltip.shared||(l/=2),isNaN(u)&&(u=o.globals.svgHeight-a.tooltipRect.ttHeight),c+a.tooltipRect.ttWidth>o.globals.gridWidth?c-=a.tooltipRect.ttWidth:c<0&&(c+=a.tooltipRect.ttWidth),a.w.config.tooltip.followCursor){var p=a.getElGrid().getBoundingClientRect();u=a.e.clientY-p.top}if(null===a.tooltip&&(a.tooltip=o.globals.dom.baseEl.querySelector(".apexcharts-tooltip")),o.config.tooltip.shared||(o.globals.comboChartsHasBars?a.tooltipPosition.moveXCrosshairs(l+i/2):a.tooltipPosition.moveXCrosshairs(l)),!a.fixedTooltip&&(!o.config.tooltip.shared||o.globals.isBarHorizontal&&a.hasBars())){m&&(c=o.globals.gridWidth-c),s.style.left=c+o.globals.translateX+"px";var g=parseInt(r.paths.parentNode.getAttribute("data:realIndex")),m=o.globals.isMultipleYAxis?o.config.yaxis[g]&&o.config.yaxis[g].reversed:o.config.yaxis[0].reversed;!m||o.globals.isBarHorizontal&&a.hasBars()||(u=u+d-2*(o.globals.series[e][f]<0?d:0)),a.tooltipRect.ttHeight+u>o.globals.gridHeight?(u=o.globals.gridHeight-a.tooltipRect.ttHeight+o.globals.translateY,s.style.top=u+"px"):s.style.top=u+o.globals.translateY-a.tooltipRect.ttHeight/2+"px"}}},{key:"getBarTooltipXY",value:function(t){var e=t.e,i=t.opt,n=this.w,r=null,o=this.ttCtx,a=0,s=0,l=0,c=0,u=0,h=e.target.classList;if(h.contains("apexcharts-bar-area")||h.contains("apexcharts-candlestick-area")||h.contains("apexcharts-rangebar-area")){var d=e.target,f=d.getBoundingClientRect(),p=i.elGrid.getBoundingClientRect(),g=f.height;u=f.height;var m=f.width,v=parseInt(d.getAttribute("cx")),y=parseInt(d.getAttribute("cy"));c=parseFloat(d.getAttribute("barWidth"));var b="touchmove"===e.type?e.touches[0].clientX:e.clientX;r=parseInt(d.getAttribute("j")),a=parseInt(d.parentNode.getAttribute("rel"))-1,n.globals.comboCharts&&(a=parseInt(d.parentNode.getAttribute("data:realIndex"))),o.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:a,j:r,shared:!o.showOnIntersect&&n.config.tooltip.shared}),n.config.tooltip.followCursor?n.globals.isBarHorizontal?(s=b-p.left+15,l=y-o.dataPointsDividedHeight+g/2-o.tooltipRect.ttHeight/2):(s=n.globals.isXNumeric?v-m/2:v-o.dataPointsDividedWidth+m/2,l=e.clientY-p.top-o.tooltipRect.ttHeight/2-15):n.globals.isBarHorizontal?((s=v)<o.xyRatios.baseLineInvertedY&&(s=v-o.tooltipRect.ttWidth),l=y-o.dataPointsDividedHeight+g/2-o.tooltipRect.ttHeight/2):(s=n.globals.isXNumeric?v-m/2:v-o.dataPointsDividedWidth+m/2,l=y)}return{x:s,y:l,barHeight:u,barWidth:c,i:a,j:r}}}]),t}(),pt=function(){function t(i){e(this,t),this.w=i.w,this.ttCtx=i}return n(t,[{key:"drawXaxisTooltip",value:function(){var t=this.w,e=this.ttCtx,i="bottom"===t.config.xaxis.position;e.xaxisOffY=i?t.globals.gridHeight+1:1;var n=i?"apexcharts-xaxistooltip apexcharts-xaxistooltip-bottom":"apexcharts-xaxistooltip apexcharts-xaxistooltip-top",r=t.globals.dom.elWrap;e.blxaxisTooltip&&null===t.globals.dom.baseEl.querySelector(".apexcharts-xaxistooltip")&&(e.xaxisTooltip=document.createElement("div"),e.xaxisTooltip.setAttribute("class",n+" "+t.config.tooltip.theme),r.appendChild(e.xaxisTooltip),e.xaxisTooltipText=document.createElement("div"),e.xaxisTooltipText.classList.add("apexcharts-xaxistooltip-text"),e.xaxisTooltipText.style.fontFamily=t.config.xaxis.tooltip.style.fontFamily||t.config.chart.fontFamily,e.xaxisTooltipText.style.fontSize=t.config.xaxis.tooltip.style.fontSize,e.xaxisTooltip.appendChild(e.xaxisTooltipText))}},{key:"drawYaxisTooltip",value:function(){for(var t=this.w,e=this.ttCtx,i=0;i<t.config.yaxis.length;i++){var n=t.config.yaxis[i].opposite||t.config.yaxis[i].crosshairs.opposite;e.yaxisOffX=n?t.globals.gridWidth+1:1;var r="apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(i,n?" apexcharts-yaxistooltip-right":" apexcharts-yaxistooltip-left"),o=t.globals.dom.elWrap;e.blyaxisTooltip&&null===t.globals.dom.baseEl.querySelector(".apexcharts-yaxistooltip apexcharts-yaxistooltip-".concat(i))&&(e.yaxisTooltip=document.createElement("div"),e.yaxisTooltip.setAttribute("class",r+" "+t.config.tooltip.theme),o.appendChild(e.yaxisTooltip),0===i&&(e.yaxisTooltipText=[]),e.yaxisTooltipText.push(document.createElement("div")),e.yaxisTooltipText[i].classList.add("apexcharts-yaxistooltip-text"),e.yaxisTooltip.appendChild(e.yaxisTooltipText[i]))}}},{key:"setXCrosshairWidth",value:function(){var t=this.w,e=this.ttCtx,i=e.getElXCrosshairs();if(e.xcrosshairsWidth=parseInt(t.config.xaxis.crosshairs.width),t.globals.comboCharts){var n=t.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==n&&"barWidth"===t.config.xaxis.crosshairs.width){var r=parseFloat(n.getAttribute("barWidth"));e.xcrosshairsWidth=r}else if("tickWidth"===t.config.xaxis.crosshairs.width){var o=t.globals.labels.length;e.xcrosshairsWidth=t.globals.gridWidth/o}}else if("tickWidth"===t.config.xaxis.crosshairs.width){var a=t.globals.labels.length;e.xcrosshairsWidth=t.globals.gridWidth/a}else if("barWidth"===t.config.xaxis.crosshairs.width){var s=t.globals.dom.baseEl.querySelector(".apexcharts-bar-area");if(null!==s){var l=parseFloat(s.getAttribute("barWidth"));e.xcrosshairsWidth=l}else e.xcrosshairsWidth=1}t.globals.isBarHorizontal&&(e.xcrosshairsWidth=0),null!==i&&e.xcrosshairsWidth>0&&i.setAttribute("width",e.xcrosshairsWidth)}},{key:"handleYCrosshair",value:function(){var t=this.w,e=this.ttCtx;e.ycrosshairs=t.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs"),e.ycrosshairsHidden=t.globals.dom.baseEl.querySelector(".apexcharts-ycrosshairs-hidden")}},{key:"drawYaxisTooltipText",value:function(t,e,i){var n=this.ttCtx,r=this.w,o=r.globals.yLabelFormatters[t];if(n.blyaxisTooltip){var a=n.getElGrid().getBoundingClientRect(),s=(e-a.top)*i.yRatio[t],l=r.globals.maxYArr[t]-r.globals.minYArr[t],c=r.globals.minYArr[t]+(l-s);n.tooltipPosition.moveYCrosshairs(e-a.top),n.yaxisTooltipText[t].innerHTML=o(c),n.tooltipPosition.moveYAxisTooltip(t)}}}]),t}(),gt=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w;var n=this.w;this.tConfig=n.config.tooltip,this.tooltipUtil=new ct(this),this.tooltipLabels=new ut(this),this.tooltipPosition=new ht(this),this.marker=new dt(this),this.intersect=new ft(this),this.axesTooltip=new pt(this),this.showOnIntersect=this.tConfig.intersect,this.showTooltipTitle=this.tConfig.x.show,this.fixedTooltip=this.tConfig.fixed.enabled,this.xaxisTooltip=null,this.yaxisTTEls=null,this.isBarShared=!n.globals.isBarHorizontal&&this.tConfig.shared}return n(t,[{key:"getElTooltip",value:function(t){return t||(t=this),t.w.globals.dom.baseEl.querySelector(".apexcharts-tooltip")}},{key:"getElXCrosshairs",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-xcrosshairs")}},{key:"getElGrid",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-grid")}},{key:"drawTooltip",value:function(t){var e=this.w;this.xyRatios=t,this.blxaxisTooltip=e.config.xaxis.tooltip.enabled&&e.globals.axisCharts,this.blyaxisTooltip=e.config.yaxis[0].tooltip.enabled&&e.globals.axisCharts,this.allTooltipSeriesGroups=[],e.globals.axisCharts||(this.showTooltipTitle=!1);var i=document.createElement("div");if(i.classList.add("apexcharts-tooltip"),i.classList.add(this.tConfig.theme),e.globals.dom.elWrap.appendChild(i),e.globals.axisCharts){this.axesTooltip.drawXaxisTooltip(),this.axesTooltip.drawYaxisTooltip(),this.axesTooltip.setXCrosshairWidth(),this.axesTooltip.handleYCrosshair();var n=new W(this.ctx);this.xAxisTicksPositions=n.getXAxisTicksPositions()}if((e.globals.comboCharts&&!this.tConfig.shared||this.tConfig.intersect&&!this.tConfig.shared||("bar"===e.config.chart.type||"rangeBar"===e.config.chart.type)&&!this.tConfig.shared)&&(this.showOnIntersect=!0),0!==e.config.markers.size&&0!==e.globals.markers.largestSize||this.marker.drawDynamicPoints(this),e.globals.collapsedSeries.length!==e.globals.series.length){this.dataPointsDividedHeight=e.globals.gridHeight/e.globals.dataPoints,this.dataPointsDividedWidth=e.globals.gridWidth/e.globals.dataPoints,this.showTooltipTitle&&(this.tooltipTitle=document.createElement("div"),this.tooltipTitle.classList.add("apexcharts-tooltip-title"),this.tooltipTitle.style.fontFamily=this.tConfig.style.fontFamily||e.config.chart.fontFamily,this.tooltipTitle.style.fontSize=this.tConfig.style.fontSize,i.appendChild(this.tooltipTitle));var r=e.globals.series.length;(e.globals.xyCharts||e.globals.comboCharts)&&this.tConfig.shared&&(r=this.showOnIntersect?1:e.globals.series.length),this.ttItems=this.createTTElements(r),this.addSVGEvents()}}},{key:"createTTElements",value:function(t){for(var e=this.w,i=[],n=this.getElTooltip(),r=0;r<t;r++){var o=document.createElement("div");o.classList.add("apexcharts-tooltip-series-group"),this.tConfig.shared&&this.tConfig.enabledOnSeries&&Array.isArray(this.tConfig.enabledOnSeries)&&this.tConfig.enabledOnSeries.indexOf(r)<0&&o.classList.add("apexcharts-tooltip-series-group-hidden");var a=document.createElement("span");a.classList.add("apexcharts-tooltip-marker"),a.style.backgroundColor=e.globals.colors[r],o.appendChild(a);var s=document.createElement("div");s.classList.add("apexcharts-tooltip-text"),s.style.fontFamily=this.tConfig.style.fontFamily||e.config.chart.fontFamily,s.style.fontSize=this.tConfig.style.fontSize;var l=document.createElement("div");l.classList.add("apexcharts-tooltip-y-group");var c=document.createElement("span");c.classList.add("apexcharts-tooltip-text-label"),l.appendChild(c);var u=document.createElement("span");u.classList.add("apexcharts-tooltip-text-value"),l.appendChild(u);var h=document.createElement("div");h.classList.add("apexcharts-tooltip-z-group");var d=document.createElement("span");d.classList.add("apexcharts-tooltip-text-z-label"),h.appendChild(d);var f=document.createElement("span");f.classList.add("apexcharts-tooltip-text-z-value"),h.appendChild(f),s.appendChild(l),s.appendChild(h),o.appendChild(s),n.appendChild(o),i.push(o)}return i}},{key:"addSVGEvents",value:function(){var t=this.w,e=t.config.chart.type,i=this.getElTooltip(),n=!("bar"!==e&&"candlestick"!==e&&"rangeBar"!==e),r=t.globals.dom.Paper.node,o=this.getElGrid();o&&(this.seriesBound=o.getBoundingClientRect());var a,s=[],l=[],c={hoverArea:r,elGrid:o,tooltipEl:i,tooltipY:s,tooltipX:l,ttItems:this.ttItems};if(t.globals.axisCharts&&("area"===e||"line"===e||"scatter"===e||"bubble"===e?a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series[data\\:longestSeries='true'] .apexcharts-marker"):n?a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-bar-area, .apexcharts-series .apexcharts-candlestick-area, .apexcharts-series .apexcharts-rangebar-area"):"heatmap"===e?a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-heatmap"):"radar"===e&&(a=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series .apexcharts-marker")),a&&a.length))for(var u=0;u<a.length;u++)s.push(a[u].getAttribute("cy")),l.push(a[u].getAttribute("cx"));if(t.globals.xyCharts&&!this.showOnIntersect||t.globals.comboCharts&&!this.showOnIntersect||n&&this.hasBars()&&this.tConfig.shared)this.addPathsEventListeners([r],c);else if(n&&!t.globals.comboCharts)this.addBarsEventListeners(c);else if("bubble"===e||"scatter"===e||"radar"===e||this.showOnIntersect&&("area"===e||"line"===e))this.addPointsEventsListeners(c);else if(!t.globals.axisCharts||"heatmap"===e){var h=t.globals.dom.baseEl.querySelectorAll(".apexcharts-series");this.addPathsEventListeners(h,c)}if(this.showOnIntersect){var d=t.globals.dom.baseEl.querySelectorAll(".apexcharts-line-series .apexcharts-marker");d.length>0&&this.addPathsEventListeners(d,c);var f=t.globals.dom.baseEl.querySelectorAll(".apexcharts-area-series .apexcharts-marker");f.length>0&&this.addPathsEventListeners(f,c),this.hasBars()&&!this.tConfig.shared&&this.addBarsEventListeners(c)}}},{key:"drawFixedTooltipRect",value:function(){var t=this.w,e=this.getElTooltip(),i=e.getBoundingClientRect(),n=i.width+10,r=i.height+10,o=this.tConfig.fixed.offsetX,a=this.tConfig.fixed.offsetY;return this.tConfig.fixed.position.toLowerCase().indexOf("right")>-1&&(o=o+t.globals.svgWidth-n+10),this.tConfig.fixed.position.toLowerCase().indexOf("bottom")>-1&&(a=a+t.globals.svgHeight-r-10),e.style.left=o+"px",e.style.top=a+"px",{x:o,y:a,ttWidth:n,ttHeight:r}}},{key:"addPointsEventsListeners",value:function(t){var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker");this.addPathsEventListeners(e,t)}},{key:"addBarsEventListeners",value:function(t){var e=this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-area, .apexcharts-candlestick-area, .apexcharts-rangebar-area");this.addPathsEventListeners(e,t)}},{key:"addPathsEventListeners",value:function(t,e){for(var i=this,n=this,r=function(r){var o={paths:t[r],tooltipEl:e.tooltipEl,tooltipY:e.tooltipY,tooltipX:e.tooltipX,elGrid:e.elGrid,hoverArea:e.hoverArea,ttItems:e.ttItems};i.w.globals.tooltipOpts=o,["mousemove","mouseup","touchmove","mouseout","touchend"].map(function(e){return t[r].addEventListener(e,n.seriesHover.bind(n,o),{capture:!1,passive:!0})})},o=0;o<t.length;o++)r(o)}},{key:"seriesHover",value:function(t,e){var i=this,n=[],r=this.w;r.config.chart.group&&(n=this.ctx.getGroupedCharts()),r.globals.axisCharts&&(r.globals.minX===-1/0&&r.globals.maxX===1/0||0===r.globals.dataPoints)||(n.length?n.forEach(function(n){var r=i.getElTooltip(n),o={paths:t.paths,tooltipEl:r,tooltipY:t.tooltipY,tooltipX:t.tooltipX,elGrid:t.elGrid,hoverArea:t.hoverArea,ttItems:n.w.globals.tooltip.ttItems};n.w.globals.minX===i.w.globals.minX&&n.w.globals.maxX===i.w.globals.maxX&&n.w.globals.tooltip.seriesHoverByContext({chartCtx:n,ttCtx:n.w.globals.tooltip,opt:o,e:e})}):this.seriesHoverByContext({chartCtx:this.ctx,ttCtx:this.w.globals.tooltip,opt:t,e:e}))}},{key:"seriesHoverByContext",value:function(t){var e=t.chartCtx,i=t.ttCtx,n=t.opt,r=t.e,o=e.w,a=this.getElTooltip();i.tooltipRect={x:0,y:0,ttWidth:a.getBoundingClientRect().width,ttHeight:a.getBoundingClientRect().height},i.e=r,!i.hasBars()||o.globals.comboCharts||i.isBarShared||this.tConfig.onDatasetHover.highlightDataSeries&&new H(e).toggleSeriesOnHover(r,r.target.parentNode),i.fixedTooltip&&i.drawFixedTooltipRect(),o.globals.axisCharts?i.axisChartsTooltips({e:r,opt:n,tooltipRect:i.tooltipRect}):i.nonAxisChartsTooltips({e:r,opt:n,tooltipRect:i.tooltipRect})}},{key:"axisChartsTooltips",value:function(t){var e,i,n,r=t.e,o=t.opt,a=this.w,s=null,l=o.elGrid.getBoundingClientRect(),c="touchmove"===r.type?r.touches[0].clientX:r.clientX,u="touchmove"===r.type?r.touches[0].clientY:r.clientY;if(this.clientY=u,this.clientX=c,u<l.top||u>l.top+l.height)this.handleMouseOut(o);else{if(Array.isArray(this.tConfig.enabledOnSeries)){var h=parseInt(o.paths.getAttribute("index"));if(this.tConfig.enabledOnSeries.indexOf(h)<0)return void this.handleMouseOut(o)}var d=this.getElTooltip(),f=this.getElXCrosshairs(),p=a.globals.xyCharts||"bar"===a.config.chart.type&&!a.globals.isBarHorizontal&&this.hasBars()&&this.tConfig.shared||a.globals.comboCharts&&this.hasBars;if(a.globals.isBarHorizontal&&this.hasBars()&&(p=!1),"mousemove"===r.type||"touchmove"===r.type||"mouseup"===r.type){if(null!==f&&f.classList.add("active"),null!==this.ycrosshairs&&this.blyaxisTooltip&&this.ycrosshairs.classList.add("active"),p&&!this.showOnIntersect){e=(s=this.tooltipUtil.getNearestValues({context:this,hoverArea:o.hoverArea,elGrid:o.elGrid,clientX:c,clientY:u,hasBars:this.hasBars})).j;var g=s.capturedSeries;if(s.hoverX<0||s.hoverX>a.globals.gridWidth)return void this.handleMouseOut(o);if(null!==g){if(null===a.globals.series[g][e])return void o.tooltipEl.classList.remove("active");void 0!==a.globals.series[g][e]?this.tConfig.shared&&this.tooltipUtil.isXoverlap(e)&&this.tooltipUtil.isinitialSeriesSameLen()?this.create(r,this,g,e,o.ttItems):this.create(r,this,g,e,o.ttItems,!1):this.tooltipUtil.isXoverlap(e)&&this.create(r,this,0,e,o.ttItems)}else this.tooltipUtil.isXoverlap(e)&&this.create(r,this,0,e,o.ttItems)}else if("heatmap"===a.config.chart.type){var m=this.intersect.handleHeatTooltip({e:r,opt:o,x:i,y:n});i=m.x,n=m.y,d.style.left=i+"px",d.style.top=n+"px"}else this.hasBars&&this.intersect.handleBarTooltip({e:r,opt:o}),this.hasMarkers&&this.intersect.handleMarkerTooltip({e:r,opt:o,x:i,y:n});if(this.blyaxisTooltip)for(var v=0;v<a.config.yaxis.length;v++)this.axesTooltip.drawYaxisTooltipText(v,u,this.xyRatios);o.tooltipEl.classList.add("active")}else"mouseout"!==r.type&&"touchend"!==r.type||this.handleMouseOut(o)}}},{key:"nonAxisChartsTooltips",value:function(t){var e=t.e,i=t.opt,n=t.tooltipRect,r=this.w,o=i.paths.getAttribute("rel"),a=this.getElTooltip(),s=r.globals.dom.elWrap.getBoundingClientRect();if("mousemove"===e.type||"touchmove"===e.type){a.classList.add("active"),this.tooltipLabels.drawSeriesTexts({ttItems:i.ttItems,i:parseInt(o)-1,shared:!1});var l=r.globals.clientX-s.left-n.ttWidth/2,c=r.globals.clientY-s.top-n.ttHeight-10;a.style.left=l+"px",a.style.top=c+"px"}else"mouseout"!==e.type&&"touchend"!==e.type||a.classList.remove("active")}},{key:"deactivateHoverFilter",value:function(){for(var t=this.w,e=new f(this.ctx),i=t.globals.dom.Paper.select(".apexcharts-bar-area"),n=0;n<i.length;n++)e.pathMouseLeave(i[n])}},{key:"handleMouseOut",value:function(t){var e=this.w,i=this.getElXCrosshairs();if(t.tooltipEl.classList.remove("active"),this.deactivateHoverFilter(),"bubble"!==e.config.chart.type&&this.marker.resetPointsSize(),null!==i&&i.classList.remove("active"),null!==this.ycrosshairs&&this.ycrosshairs.classList.remove("active"),this.blxaxisTooltip&&this.xaxisTooltip.classList.remove("active"),this.blyaxisTooltip){null===this.yaxisTTEls&&(this.yaxisTTEls=e.globals.dom.baseEl.querySelectorAll(".apexcharts-yaxistooltip"));for(var n=0;n<this.yaxisTTEls.length;n++)this.yaxisTTEls[n].classList.remove("active")}}},{key:"getElMarkers",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(" .apexcharts-series-markers")}},{key:"getAllMarkers",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-series-markers .apexcharts-marker")}},{key:"hasMarkers",value:function(){return this.getElMarkers().length>0}},{key:"getElBars",value:function(){return this.w.globals.dom.baseEl.querySelectorAll(".apexcharts-bar-series, .apexcharts-candlestick-series, .apexcharts-rangebar-series")}},{key:"hasBars",value:function(){return this.getElBars().length>0}},{key:"markerClick",value:function(t,e,i){var n=this.w;"function"==typeof n.config.chart.events.markerClick&&n.config.chart.events.markerClick(t,this.ctx,{seriesIndex:e,dataPointIndex:i,w:n}),this.ctx.fireEvent("markerClick",[t,this.ctx,{seriesIndex:e,dataPointIndex:i,w:n}])}},{key:"create",value:function(t,e,i,n,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=this.w,s=e;"mouseup"===t.type&&this.markerClick(t,i,n),null===o&&(o=this.tConfig.shared);var l=this.hasMarkers(),c=this.getElBars();if(o){if(s.tooltipLabels.drawSeriesTexts({ttItems:r,i:i,j:n,shared:!this.showOnIntersect&&this.tConfig.shared}),l&&(a.globals.markers.largestSize>0?s.marker.enlargePoints(n):s.tooltipPosition.moveDynamicPointsOnHover(n)),this.hasBars()&&(this.barSeriesHeight=this.tooltipUtil.getBarsHeight(c),this.barSeriesHeight>0)){var u=new f(this.ctx),h=a.globals.dom.Paper.select(".apexcharts-bar-area[j='".concat(n,"']"));this.deactivateHoverFilter(),this.tooltipPosition.moveStickyTooltipOverBars(n);for(var d=0;d<h.length;d++)u.pathMouseEnter(h[d])}}else s.tooltipLabels.drawSeriesTexts({shared:!1,ttItems:r,i:i,j:n}),this.hasBars()&&s.tooltipPosition.moveStickyTooltipOverBars(n),l&&s.tooltipPosition.moveMarkers(i,n)}}]),t}(),mt=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w,this.ev=this.w.config.chart.events,this.localeValues=this.w.globals.locale.toolbar}return n(t,[{key:"createToolbar",value:function(){var t=this.w,e=document.createElement("div");if(e.setAttribute("class","apexcharts-toolbar"),t.globals.dom.elWrap.appendChild(e),this.elZoom=document.createElement("div"),this.elZoomIn=document.createElement("div"),this.elZoomOut=document.createElement("div"),this.elPan=document.createElement("div"),this.elSelection=document.createElement("div"),this.elZoomReset=document.createElement("div"),this.elMenuIcon=document.createElement("div"),this.elMenu=document.createElement("div"),this.elCustomIcons=[],this.t=t.config.chart.toolbar.tools,Array.isArray(this.t.customIcons))for(var i=0;i<this.t.customIcons.length;i++)this.elCustomIcons.push(document.createElement("div"));this.elMenuItems=[];var n=[];this.t.zoomin&&t.config.chart.zoom.enabled&&n.push({el:this.elZoomIn,icon:"string"==typeof this.t.zoomin?this.t.zoomin:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n',title:this.localeValues.zoomIn,class:"apexcharts-zoom-in-icon"}),this.t.zoomout&&t.config.chart.zoom.enabled&&n.push({el:this.elZoomOut,icon:"string"==typeof this.t.zoomout?this.t.zoomout:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M7 11v2h10v-2H7zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>\n</svg>\n',title:this.localeValues.zoomOut,class:"apexcharts-zoom-out-icon"}),this.t.zoom&&t.config.chart.zoom.enabled&&n.push({el:this.elZoom,icon:"string"==typeof this.t.zoom?this.t.zoom:'<svg xmlns="http://www.w3.org/2000/svg" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/>\n <path d="M0 0h24v24H0V0z" fill="none"/>\n <path d="M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"/>\n</svg>',title:this.localeValues.selectionZoom,class:t.globals.isTouchDevice?"hidden":"apexcharts-zoom-icon"}),this.t.selection&&t.config.chart.selection.enabled&&n.push({el:this.elSelection,icon:"string"==typeof this.t.selection?this.t.selection:'<svg fill="#6E8192" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2z"/>\n</svg>',title:this.localeValues.selection,class:t.globals.isTouchDevice?"hidden":"apexcharts-selection-icon"}),this.t.pan&&t.config.chart.zoom.enabled&&n.push({el:this.elPan,icon:"string"==typeof this.t.pan?this.t.pan:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000" height="24" viewBox="0 0 24 24" width="24">\n <defs>\n <path d="M0 0h24v24H0z" id="a"/>\n </defs>\n <clipPath id="b">\n <use overflow="visible" xlink:href="#a"/>\n </clipPath>\n <path clip-path="url(#b)" d="M23 5.5V20c0 2.2-1.8 4-4 4h-7.3c-1.08 0-2.1-.43-2.85-1.19L1 14.83s1.26-1.23 1.3-1.25c.22-.19.49-.29.79-.29.22 0 .42.06.6.16.04.01 4.31 2.46 4.31 2.46V4c0-.83.67-1.5 1.5-1.5S11 3.17 11 4v7h1V1.5c0-.83.67-1.5 1.5-1.5S15 .67 15 1.5V11h1V2.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5V11h1V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5z"/>\n</svg>',title:this.localeValues.pan,class:t.globals.isTouchDevice?"hidden":"apexcharts-pan-icon"}),this.t.reset&&t.config.chart.zoom.enabled&&n.push({el:this.elZoomReset,icon:"string"==typeof this.t.reset?this.t.reset:'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>\n <path d="M0 0h24v24H0z" fill="none"/>\n</svg>',title:this.localeValues.reset,class:"apexcharts-reset-zoom-icon"}),this.t.download&&n.push({el:this.elMenuIcon,icon:"string"==typeof this.t.download?this.t.download:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><path d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"/></svg>',title:this.localeValues.menu,class:"apexcharts-menu-icon"});for(var r=0;r<this.elCustomIcons.length;r++)n.push({el:this.elCustomIcons[r],icon:this.t.customIcons[r].icon,title:this.t.customIcons[r].title,index:this.t.customIcons[r].index,class:"apexcharts-toolbar-custom-icon "+this.t.customIcons[r].class});n.forEach(function(t,e){t.index&&u.moveIndexInArray(n,e,t.index)});for(var o=0;o<n.length;o++)f.setAttrs(n[o].el,{class:n[o].class,title:n[o].title}),n[o].el.innerHTML=n[o].icon,e.appendChild(n[o].el);e.appendChild(this.elMenu),f.setAttrs(this.elMenu,{class:"apexcharts-menu"});for(var a=[{name:"exportSVG",title:this.localeValues.exportToSVG},{name:"exportPNG",title:this.localeValues.exportToPNG}],s=0;s<a.length;s++)this.elMenuItems.push(document.createElement("div")),this.elMenuItems[s].innerHTML=a[s].title,f.setAttrs(this.elMenuItems[s],{class:"apexcharts-menu-item ".concat(a[s].name),title:a[s].title}),this.elMenu.appendChild(this.elMenuItems[s]);t.globals.zoomEnabled?this.elZoom.classList.add("selected"):t.globals.panEnabled?this.elPan.classList.add("selected"):t.globals.selectionEnabled&&this.elSelection.classList.add("selected"),this.addToolbarEventListeners()}},{key:"addToolbarEventListeners",value:function(){var t=this;this.elZoomReset.addEventListener("click",this.handleZoomReset.bind(this)),this.elSelection.addEventListener("click",this.toggleSelection.bind(this)),this.elZoom.addEventListener("click",this.toggleZooming.bind(this)),this.elZoomIn.addEventListener("click",this.handleZoomIn.bind(this)),this.elZoomOut.addEventListener("click",this.handleZoomOut.bind(this)),this.elPan.addEventListener("click",this.togglePanning.bind(this)),this.elMenuIcon.addEventListener("click",this.toggleMenu.bind(this)),this.elMenuItems.forEach(function(e){e.classList.contains("exportSVG")?e.addEventListener("click",t.downloadSVG.bind(t)):e.classList.contains("exportPNG")&&e.addEventListener("click",t.downloadPNG.bind(t))});for(var e=0;e<this.t.customIcons.length;e++)this.elCustomIcons[e].addEventListener("click",this.t.customIcons[e].click)}},{key:"toggleSelection",value:function(){this.toggleOtherControls(),this.w.globals.selectionEnabled=!this.w.globals.selectionEnabled,this.elSelection.classList.contains("selected")?this.elSelection.classList.remove("selected"):this.elSelection.classList.add("selected")}},{key:"toggleZooming",value:function(){this.toggleOtherControls(),this.w.globals.zoomEnabled=!this.w.globals.zoomEnabled,this.elZoom.classList.contains("selected")?this.elZoom.classList.remove("selected"):this.elZoom.classList.add("selected")}},{key:"getToolbarIconsReference",value:function(){var t=this.w;this.elZoom||(this.elZoom=t.globals.dom.baseEl.querySelector(".apexcharts-zoom-icon")),this.elPan||(this.elPan=t.globals.dom.baseEl.querySelector(".apexcharts-pan-icon")),this.elSelection||(this.elSelection=t.globals.dom.baseEl.querySelector(".apexcharts-selection-icon"))}},{key:"enableZooming",value:function(){this.toggleOtherControls(),this.w.globals.zoomEnabled=!0,this.elZoom&&this.elZoom.classList.add("selected"),this.elPan&&this.elPan.classList.remove("selected")}},{key:"enablePanning",value:function(){this.toggleOtherControls(),this.w.globals.panEnabled=!0,this.elPan&&this.elPan.classList.add("selected"),this.elZoom&&this.elZoom.classList.remove("selected")}},{key:"togglePanning",value:function(){this.toggleOtherControls(),this.w.globals.panEnabled=!this.w.globals.panEnabled,this.elPan.classList.contains("selected")?this.elPan.classList.remove("selected"):this.elPan.classList.add("selected")}},{key:"toggleOtherControls",value:function(){var t=this.w;t.globals.panEnabled=!1,t.globals.zoomEnabled=!1,t.globals.selectionEnabled=!1,this.getToolbarIconsReference(),this.elPan&&this.elPan.classList.remove("selected"),this.elSelection&&this.elSelection.classList.remove("selected"),this.elZoom&&this.elZoom.classList.remove("selected")}},{key:"handleZoomIn",value:function(){var t=this.w,e=(t.globals.minX+t.globals.maxX)/2,i=(t.globals.minX+e)/2,n=(t.globals.maxX+e)/2;t.globals.disableZoomIn||this.zoomUpdateOptions(i,n)}},{key:"handleZoomOut",value:function(){var t=this.w;if(!("datetime"===t.config.xaxis.type&&new Date(t.globals.minX).getUTCFullYear()<1e3)){var e=(t.globals.minX+t.globals.maxX)/2,i=t.globals.minX-(e-t.globals.minX),n=t.globals.maxX-(e-t.globals.maxX);t.globals.disableZoomOut||this.zoomUpdateOptions(i,n)}}},{key:"zoomUpdateOptions",value:function(t,e){var i={min:t,max:e},n=this.getBeforeZoomRange(i);n&&(i=n.xaxis),this.w.globals.zoomed=!0,this.ctx._updateOptions({xaxis:i},!1,this.w.config.chart.animations.dynamicAnimation.enabled),this.zoomCallback(i)}},{key:"zoomCallback",value:function(t,e){"function"==typeof this.ev.zoomed&&this.ev.zoomed(this.ctx,{xaxis:t,yaxis:e})}},{key:"getBeforeZoomRange",value:function(t,e){var i=null;return"function"==typeof this.ev.beforeZoom&&(i=this.ev.beforeZoom(this,{xaxis:t,yaxis:e})),i}},{key:"toggleMenu",value:function(){this.elMenu.classList.contains("open")?this.elMenu.classList.remove("open"):this.elMenu.classList.add("open")}},{key:"downloadPNG",value:function(){new ot(this.ctx).exportToPng(this.ctx),this.toggleMenu()}},{key:"downloadSVG",value:function(){new ot(this.ctx).exportToSVG(),this.toggleMenu()}},{key:"handleZoomReset",value:function(t){var e=this;this.ctx.getSyncedCharts().forEach(function(t){var i=t.w;i.globals.minX!==i.globals.initialminX&&i.globals.maxX!==i.globals.initialmaxX&&(t.revertDefaultAxisMinMax(),"function"==typeof i.config.chart.events.zoomed&&e.zoomCallback({min:i.config.xaxis.min,max:i.config.xaxis.max}),i.globals.zoomed=!1,t._updateSeries(i.globals.initialSeries,i.config.chart.animations.dynamicAnimation.enabled))})}},{key:"destroy",value:function(){this.elZoom=null,this.elZoomIn=null,this.elZoomOut=null,this.elPan=null,this.elSelection=null,this.elZoomReset=null,this.elMenuIcon=null}}]),t}(),vt=function(t){function i(t){var n;return e(this,i),(n=l(this,s(i).call(this,t))).ctx=t,n.w=t.w,n.dragged=!1,n.graphics=new f(n.ctx),n.eventList=["mousedown","mouseleave","mousemove","touchstart","touchmove","mouseup","touchend"],n.clientX=0,n.clientY=0,n.startX=0,n.endX=0,n.dragX=0,n.startY=0,n.endY=0,n.dragY=0,n}return a(i,mt),n(i,[{key:"init",value:function(t){var e=this,i=t.xyRatios,n=this.w,r=this;this.xyRatios=i,this.zoomRect=this.graphics.drawRect(0,0,0,0),this.selectionRect=this.graphics.drawRect(0,0,0,0),this.gridRect=n.globals.dom.baseEl.querySelector(".apexcharts-grid"),this.zoomRect.node.classList.add("apexcharts-zoom-rect"),this.selectionRect.node.classList.add("apexcharts-selection-rect"),n.globals.dom.elGraphical.add(this.zoomRect),n.globals.dom.elGraphical.add(this.selectionRect),"x"===n.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,minY:0,maxX:n.globals.gridWidth,maxY:n.globals.gridHeight}).on("dragmove",this.selectionDragging.bind(this,"dragging")):"y"===n.config.chart.selection.type?this.slDraggableRect=this.selectionRect.draggable({minX:0,maxX:n.globals.gridWidth}).on("dragmove",this.selectionDragging.bind(this,"dragging")):this.slDraggableRect=this.selectionRect.draggable().on("dragmove",this.selectionDragging.bind(this,"dragging")),this.preselectedSelection(),this.hoverArea=n.globals.dom.baseEl.querySelector(n.globals.chartClass),this.hoverArea.classList.add("zoomable"),this.eventList.forEach(function(t){e.hoverArea.addEventListener(t,r.svgMouseEvents.bind(r,i),{capture:!1,passive:!0})})}},{key:"destroy",value:function(){this.slDraggableRect&&(this.slDraggableRect.draggable(!1),this.slDraggableRect.off(),this.selectionRect.off()),this.selectionRect=null,this.zoomRect=null,this.gridRect=null}},{key:"svgMouseEvents",value:function(t,e){var i=this.w,n=this,r=this.ctx.toolbar,o=i.globals.zoomEnabled?i.config.chart.zoom.type:i.config.chart.selection.type;if(e.shiftKey?(this.shiftWasPressed=!0,r.enablePanning()):this.shiftWasPressed&&(r.enableZooming(),this.shiftWasPressed=!1),!e.target.classList.contains("apexcharts-selection-rect")&&!e.target.parentNode.classList.contains("apexcharts-toolbar")){if(n.clientX="touchmove"===e.type||"touchstart"===e.type?e.touches[0].clientX:"touchend"===e.type?e.changedTouches[0].clientX:e.clientX,n.clientY="touchmove"===e.type||"touchstart"===e.type?e.touches[0].clientY:"touchend"===e.type?e.changedTouches[0].clientY:e.clientY,"mousedown"===e.type&&1===e.which){var a=n.gridRect.getBoundingClientRect();n.startX=n.clientX-a.left,n.startY=n.clientY-a.top,n.dragged=!1,n.w.globals.mousedown=!0}if(("mousemove"===e.type&&1===e.which||"touchmove"===e.type)&&(n.dragged=!0,i.globals.panEnabled?(i.globals.selection=null,n.w.globals.mousedown&&n.panDragging({context:n,zoomtype:o,xyRatios:t})):(n.w.globals.mousedown&&i.globals.zoomEnabled||n.w.globals.mousedown&&i.globals.selectionEnabled)&&(n.selection=n.selectionDrawing({context:n,zoomtype:o}))),"mouseup"===e.type||"touchend"===e.type||"mouseleave"===e.type){var s=n.gridRect.getBoundingClientRect();n.w.globals.mousedown&&(n.endX=n.clientX-s.left,n.endY=n.clientY-s.top,n.dragX=Math.abs(n.endX-n.startX),n.dragY=Math.abs(n.endY-n.startY),(i.globals.zoomEnabled||i.globals.selectionEnabled)&&n.selectionDrawn({context:n,zoomtype:o})),i.globals.zoomEnabled&&n.hideSelectionRect(this.selectionRect),n.dragged=!1,n.w.globals.mousedown=!1}this.makeSelectionRectDraggable()}}},{key:"makeSelectionRectDraggable",value:function(){var t=this.w;if(this.selectionRect){var e=this.selectionRect.node.getBoundingClientRect();e.width>0&&e.height>0&&this.slDraggableRect.selectize().resize({constraint:{minX:0,minY:0,maxX:t.globals.gridWidth,maxY:t.globals.gridHeight}}).on("resizing",this.selectionDragging.bind(this,"resizing"))}}},{key:"preselectedSelection",value:function(){var t=this.w,e=this.xyRatios;if(!t.globals.zoomEnabled)if(void 0!==t.globals.selection&&null!==t.globals.selection)this.drawSelectionRect(t.globals.selection);else if(void 0!==t.config.chart.selection.xaxis.min&&void 0!==t.config.chart.selection.xaxis.max){var i=(t.config.chart.selection.xaxis.min-t.globals.minX)/e.xRatio,n={x:i,y:0,width:t.globals.gridWidth-(t.globals.maxX-t.config.chart.selection.xaxis.max)/e.xRatio-i,height:t.globals.gridHeight,translateX:0,translateY:0,selectionEnabled:!0};this.drawSelectionRect(n),this.makeSelectionRectDraggable(),"function"==typeof t.config.chart.events.selection&&t.config.chart.events.selection(this.ctx,{xaxis:{min:t.config.chart.selection.xaxis.min,max:t.config.chart.selection.xaxis.max},yaxis:{}})}}},{key:"drawSelectionRect",value:function(t){var e=t.x,i=t.y,n=t.width,r=t.height,o=t.translateX,a=t.translateY,s=this.w,l=this.zoomRect,c=this.selectionRect;if(this.dragged||null!==s.globals.selection){var u={transform:"translate("+o+", "+a+")"};s.globals.zoomEnabled&&this.dragged&&(l.attr({x:e,y:i,width:n,height:r,fill:s.config.chart.zoom.zoomedArea.fill.color,"fill-opacity":s.config.chart.zoom.zoomedArea.fill.opacity,stroke:s.config.chart.zoom.zoomedArea.stroke.color,"stroke-width":s.config.chart.zoom.zoomedArea.stroke.width,"stroke-opacity":s.config.chart.zoom.zoomedArea.stroke.opacity}),f.setAttrs(l.node,u)),s.globals.selectionEnabled&&(c.attr({x:e,y:i,width:n>0?n:0,height:r>0?r:0,fill:s.config.chart.selection.fill.color,"fill-opacity":s.config.chart.selection.fill.opacity,stroke:s.config.chart.selection.stroke.color,"stroke-width":s.config.chart.selection.stroke.width,"stroke-dasharray":s.config.chart.selection.stroke.dashArray,"stroke-opacity":s.config.chart.selection.stroke.opacity}),f.setAttrs(c.node,u))}}},{key:"hideSelectionRect",value:function(t){t&&t.attr({x:0,y:0,width:0,height:0})}},{key:"selectionDrawing",value:function(t){var e,i=t.context,n=t.zoomtype,r=this.w,o=i,a=this.gridRect.getBoundingClientRect(),s=o.startX-1,l=o.startY,c=o.clientX-a.left-s,u=o.clientY-a.top-l,h=0,d=0;return Math.abs(c+s)>r.globals.gridWidth?c=r.globals.gridWidth-s:o.clientX-a.left<0&&(c=s),s>o.clientX-a.left&&(h=-(c=Math.abs(c))),l>o.clientY-a.top&&(d=-(u=Math.abs(u))),e="x"===n?{x:s,y:0,width:c,height:r.globals.gridHeight,translateX:h,translateY:0}:"y"===n?{x:0,y:l,width:r.globals.gridWidth,height:u,translateX:0,translateY:d}:{x:s,y:l,width:c,height:u,translateX:h,translateY:d},o.drawSelectionRect(e),o.selectionDragging("resizing"),e}},{key:"selectionDragging",value:function(t,e){var i=this,n=this.w,r=this.xyRatios,o=this.selectionRect,a=0;"resizing"===t&&(a=30),"function"==typeof n.config.chart.events.selection&&n.globals.selectionEnabled&&(clearTimeout(this.w.globals.selectionResizeTimer),this.w.globals.selectionResizeTimer=window.setTimeout(function(){var t=i.gridRect.getBoundingClientRect(),e=o.node.getBoundingClientRect(),a=n.globals.xAxisScale.niceMin+(e.left-t.left)*r.xRatio,s=n.globals.xAxisScale.niceMin+(e.right-t.left)*r.xRatio,l=n.globals.yAxisScale[0].niceMin+(t.bottom-e.bottom)*r.yRatio[0],c=n.globals.yAxisScale[0].niceMax-(e.top-t.top)*r.yRatio[0];n.config.chart.events.selection(i.ctx,{xaxis:{min:a,max:s},yaxis:{min:l,max:c}})},a))}},{key:"selectionDrawn",value:function(t){var e=t.context,i=t.zoomtype,n=this.w,r=e,o=this.xyRatios,a=this.ctx.toolbar;if(r.startX>r.endX){var s=r.startX;r.startX=r.endX,r.endX=s}if(r.startY>r.endY){var l=r.startY;r.startY=r.endY,r.endY=l}var c=n.globals.xAxisScale.niceMin+r.startX*o.xRatio,h=n.globals.xAxisScale.niceMin+r.endX*o.xRatio,d=[],f=[];if(n.config.yaxis.forEach(function(t,e){d.push(Math.floor(n.globals.yAxisScale[e].niceMax-o.yRatio[e]*r.startY)),f.push(Math.floor(n.globals.yAxisScale[e].niceMax-o.yRatio[e]*r.endY))}),r.dragged&&(r.dragX>10||r.dragY>10)&&c!==h)if(n.globals.zoomEnabled){var p=u.clone(n.globals.initialConfig.yaxis);n.globals.zoomed||(n.globals.lastXAxis=u.clone(n.config.xaxis),n.globals.lastYAxis=u.clone(n.config.yaxis));var g={min:c,max:h};if("xy"!==i&&"y"!==i||p.forEach(function(t,e){p[e].min=f[e],p[e].max=d[e]}),n.config.chart.zoom.autoScaleYaxis){var m=new U(r.ctx);p=m.autoScaleY(r.ctx,p,{xaxis:g})}if(a){var v=a.getBeforeZoomRange(g,p);v&&(g=v.xaxis?v.xaxis:g,p=v.yaxis?v.yaxe:p)}r.ctx._updateOptions({xaxis:g,yaxis:p},!1,r.w.config.chart.animations.dynamicAnimation.enabled),"function"==typeof n.config.chart.events.zoomed&&a.zoomCallback(g,p),n.globals.zoomed=!0}else if(n.globals.selectionEnabled){var y,b=null;y={min:c,max:h},"xy"!==i&&"y"!==i||(b=u.clone(n.config.yaxis)).forEach(function(t,e){b[e].min=f[e],b[e].max=d[e]}),n.globals.selection=r.selection,"function"==typeof n.config.chart.events.selection&&n.config.chart.events.selection(r.ctx,{xaxis:y,yaxis:b})}}},{key:"panDragging",value:function(t){var e,i=t.context,n=this.w,r=i;if(void 0!==n.globals.lastClientPosition.x){var o=n.globals.lastClientPosition.x-r.clientX,a=n.globals.lastClientPosition.y-r.clientY;Math.abs(o)>Math.abs(a)&&o>0?e="left":Math.abs(o)>Math.abs(a)&&o<0?e="right":Math.abs(a)>Math.abs(o)&&a>0?e="up":Math.abs(a)>Math.abs(o)&&a<0&&(e="down")}n.globals.lastClientPosition={x:r.clientX,y:r.clientY};var s=n.globals.minX,l=n.globals.maxX;r.panScrolled(e,s,l)}},{key:"panScrolled",value:function(t,e,i){var n=this.w,r=this.xyRatios,o=u.clone(n.globals.initialConfig.yaxis);"left"===t?(e=n.globals.minX+n.globals.gridWidth/15*r.xRatio,i=n.globals.maxX+n.globals.gridWidth/15*r.xRatio):"right"===t&&(e=n.globals.minX-n.globals.gridWidth/15*r.xRatio,i=n.globals.maxX-n.globals.gridWidth/15*r.xRatio),(e<n.globals.initialminX||i>n.globals.initialmaxX)&&(e=n.globals.minX,i=n.globals.maxX);var a={min:e,max:i};n.config.chart.zoom.autoScaleYaxis&&(o=new U(this.ctx).autoScaleY(this.ctx,o,{xaxis:a})),this.ctx._updateOptions({xaxis:{min:e,max:i},yaxis:o},!1,!1),"function"==typeof n.config.chart.events.scrolled&&n.config.chart.events.scrolled(this.ctx,{xaxis:{min:e,max:i}})}}]),i}(),yt=function(){function t(i){e(this,t),this.ctx=i,this.w=i.w}return n(t,[{key:"draw",value:function(){this.drawTitleSubtitle("title"),this.drawTitleSubtitle("subtitle")}},{key:"drawTitleSubtitle",value:function(t){var e=this.w,i="title"===t?e.config.title:e.config.subtitle,n=e.globals.svgWidth/2,r=i.offsetY,o="middle";if("left"===i.align?(n=10,o="start"):"right"===i.align&&(n=e.globals.svgWidth-10,o="end"),n+=i.offsetX,r=r+parseInt(i.style.fontSize)+2,void 0!==i.text){var a=new f(this.ctx).drawText({x:n,y:r,text:i.text,textAnchor:o,fontSize:i.style.fontSize,fontFamily:i.style.fontFamily,foreColor:i.style.color,opacity:1});a.node.setAttribute("class","apexcharts-".concat(t,"-text")),e.globals.dom.Paper.add(a)}}}]),t}();return nt="undefined"!=typeof window?window:void 0,rt=function(e,i){var n=(void 0!==this?this:e).SVG=function(t){if(n.supported)return t=new n.Doc(t),n.parser.draw||n.prepare(),t};if(n.ns="http://www.w3.org/2000/svg",n.xmlns="http://www.w3.org/2000/xmlns/",n.xlink="http://www.w3.org/1999/xlink",n.svgjs="http://svgjs.com/svgjs",n.supported=!0,!n.supported)return!1;n.did=1e3,n.eid=function(t){return"Svgjs"+h(t)+n.did++},n.create=function(t){var e=i.createElementNS(this.ns,t);return e.setAttribute("id",this.eid(t)),e},n.extend=function(){var t,e,i,r;for(e=(t=[].slice.call(arguments)).pop(),r=t.length-1;r>=0;r--)if(t[r])for(i in e)t[r].prototype[i]=e[i];n.Set&&n.Set.inherit&&n.Set.inherit()},n.invent=function(t){var e="function"==typeof t.create?t.create:function(){this.constructor.call(this,n.create(t.create))};return t.inherit&&(e.prototype=new t.inherit),t.extend&&n.extend(e,t.extend),t.construct&&n.extend(t.parent||n.Container,t.construct),e},n.adopt=function(t){return t?t.instance?t.instance:((i="svg"==t.nodeName?t.parentNode instanceof e.SVGElement?new n.Nested:new n.Doc:"linearGradient"==t.nodeName?new n.Gradient("linear"):"radialGradient"==t.nodeName?new n.Gradient("radial"):n[h(t.nodeName)]?new(n[h(t.nodeName)]):new n.Element(t)).type=t.nodeName,i.node=t,t.instance=i,i instanceof n.Doc&&i.namespace().defs(),i.setData(JSON.parse(t.getAttribute("svgjs:data"))||{}),i):null;var i},n.prepare=function(){var t=i.getElementsByTagName("body")[0],e=(t?new n.Doc(t):n.adopt(i.documentElement).nested()).size(2,0);n.parser={body:t||i.documentElement,draw:e.style("opacity:0;position:absolute;left:-100%;top:-100%;overflow:hidden").node,poly:e.polyline().node,path:e.path().node,native:n.create("svg")}},n.parser={native:n.create("svg")},i.addEventListener("DOMContentLoaded",function(){n.parser.draw||n.prepare()},!1),n.regex={numberAndUnit:/^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i,hex:/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,rgb:/rgb\((\d+),(\d+),(\d+)\)/,reference:/#([a-z0-9\-_]+)/i,transforms:/\)\s*,?\s*/,whitespace:/\s/g,isHex:/^#[a-f0-9]{3,6}$/i,isRgb:/^rgb\(/,isCss:/[^:]+:[^;]+;?/,isBlank:/^(\s+)?$/,isNumber:/^[+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,isPercent:/^-?[\d\.]+%$/,isImage:/\.(jpg|jpeg|png|gif|svg)(\?[^=]+.*)?/i,delimiter:/[\s,]+/,hyphen:/([^e])\-/gi,pathLetters:/[MLHVCSQTAZ]/gi,isPathLetter:/[MLHVCSQTAZ]/i,numbersWithDots:/((\d?\.\d+(?:e[+-]?\d+)?)((?:\.\d+(?:e[+-]?\d+)?)+))+/gi,dots:/\./g},n.utils={map:function(t,e){var i,n=t.length,r=[];for(i=0;i<n;i++)r.push(e(t[i]));return r},filter:function(t,e){var i,n=t.length,r=[];for(i=0;i<n;i++)e(t[i])&&r.push(t[i]);return r},radians:function(t){return t%360*Math.PI/180},degrees:function(t){return 180*t/Math.PI%360},filterSVGElements:function(t){return this.filter(t,function(t){return t instanceof e.SVGElement})}},n.defaults={attrs:{"fill-opacity":1,"stroke-opacity":1,"stroke-width":0,"stroke-linejoin":"miter","stroke-linecap":"butt",fill:"#000000",stroke:"#000000",opacity:1,x:0,y:0,cx:0,cy:0,width:0,height:0,r:0,rx:0,ry:0,offset:0,"stop-opacity":1,"stop-color":"#000000","font-size":16,"font-family":"Helvetica, Arial, sans-serif","text-anchor":"start"}},n.Color=function(e){var i,r;this.r=0,this.g=0,this.b=0,e&&("string"==typeof e?n.regex.isRgb.test(e)?(i=n.regex.rgb.exec(e.replace(n.regex.whitespace,"")),this.r=parseInt(i[1]),this.g=parseInt(i[2]),this.b=parseInt(i[3])):n.regex.isHex.test(e)&&(i=n.regex.hex.exec(4==(r=e).length?["#",r.substring(1,2),r.substring(1,2),r.substring(2,3),r.substring(2,3),r.substring(3,4),r.substring(3,4)].join(""):r),this.r=parseInt(i[1],16),this.g=parseInt(i[2],16),this.b=parseInt(i[3],16)):"object"===t(e)&&(this.r=e.r,this.g=e.g,this.b=e.b))},n.extend(n.Color,{toString:function(){return this.toHex()},toHex:function(){return"#"+d(this.r)+d(this.g)+d(this.b)},toRgb:function(){return"rgb("+[this.r,this.g,this.b].join()+")"},brightness:function(){return this.r/255*.3+this.g/255*.59+this.b/255*.11},morph:function(t){return this.destination=new n.Color(t),this},at:function(t){return this.destination?(t=t<0?0:t>1?1:t,new n.Color({r:~~(this.r+(this.destination.r-this.r)*t),g:~~(this.g+(this.destination.g-this.g)*t),b:~~(this.b+(this.destination.b-this.b)*t)})):this}}),n.Color.test=function(t){return t+="",n.regex.isHex.test(t)||n.regex.isRgb.test(t)},n.Color.isRgb=function(t){return t&&"number"==typeof t.r&&"number"==typeof t.g&&"number"==typeof t.b},n.Color.isColor=function(t){return n.Color.isRgb(t)||n.Color.test(t)},n.Array=function(t,e){0==(t=(t||[]).valueOf()).length&&e&&(t=e.valueOf()),this.value=this.parse(t)},n.extend(n.Array,{morph:function(t){if(this.destination=this.parse(t),this.value.length!=this.destination.length){for(var e=this.value[this.value.length-1],i=this.destination[this.destination.length-1];this.value.length>this.destination.length;)this.destination.push(i);for(;this.value.length<this.destination.length;)this.value.push(e)}return this},settle:function(){for(var t=0,e=this.value.length,i=[];t<e;t++)-1==i.indexOf(this.value[t])&&i.push(this.value[t]);return this.value=i},at:function(t){if(!this.destination)return this;for(var e=0,i=this.value.length,r=[];e<i;e++)r.push(this.value[e]+(this.destination[e]-this.value[e])*t);return new n.Array(r)},toString:function(){return this.value.join(" ")},valueOf:function(){return this.value},parse:function(t){return t=t.valueOf(),Array.isArray(t)?t:this.split(t)},split:function(t){return t.trim().split(n.regex.delimiter).map(parseFloat)},reverse:function(){return this.value.reverse(),this},clone:function(){var t=new this.constructor;return t.value=function t(e){for(var i=e.slice(0),n=i.length;n--;)Array.isArray(i[n])&&(i[n]=t(i[n]));return i}(this.value),t}}),n.PointArray=function(t,e){n.Array.call(this,t,e||[[0,0]])},n.PointArray.prototype=new n.Array,n.PointArray.prototype.constructor=n.PointArray,n.extend(n.PointArray,{toString:function(){for(var t=0,e=this.value.length,i=[];t<e;t++)i.push(this.value[t].join(","));return i.join(" ")},toLine:function(){return{x1:this.value[0][0],y1:this.value[0][1],x2:this.value[1][0],y2:this.value[1][1]}},at:function(t){if(!this.destination)return this;for(var e=0,i=this.value.length,r=[];e<i;e++)r.push([this.value[e][0]+(this.destination[e][0]-this.value[e][0])*t,this.value[e][1]+(this.destination[e][1]-this.value[e][1])*t]);return new n.PointArray(r)},parse:function(t){var e=[];if(t=t.valueOf(),Array.isArray(t)){if(Array.isArray(t[0]))return t.map(function(t){return t.slice()});if(null!=t[0].x)return t.map(function(t){return[t.x,t.y]})}else t=t.trim().split(n.regex.delimiter).map(parseFloat);t.length%2!=0&&t.pop();for(var i=0,r=t.length;i<r;i+=2)e.push([t[i],t[i+1]]);return e},move:function(t,e){var i=this.bbox();if(t-=i.x,e-=i.y,!isNaN(t)&&!isNaN(e))for(var n=this.value.length-1;n>=0;n--)this.value[n]=[this.value[n][0]+t,this.value[n][1]+e];return this},size:function(t,e){var i,n=this.bbox();for(i=this.value.length-1;i>=0;i--)n.width&&(this.value[i][0]=(this.value[i][0]-n.x)*t/n.width+n.x),n.height&&(this.value[i][1]=(this.value[i][1]-n.y)*e/n.height+n.y);return this},bbox:function(){return n.parser.draw||n.prepare(),n.parser.poly.setAttribute("points",this.toString()),n.parser.poly.getBBox()}});for(var r={M:function(t,e,i){return e.x=i.x=t[0],e.y=i.y=t[1],["M",e.x,e.y]},L:function(t,e){return e.x=t[0],e.y=t[1],["L",t[0],t[1]]},H:function(t,e){return e.x=t[0],["H",t[0]]},V:function(t,e){return e.y=t[0],["V",t[0]]},C:function(t,e){return e.x=t[4],e.y=t[5],["C",t[0],t[1],t[2],t[3],t[4],t[5]]},S:function(t,e){return e.x=t[2],e.y=t[3],["S",t[0],t[1],t[2],t[3]]},Q:function(t,e){return e.x=t[2],e.y=t[3],["Q",t[0],t[1],t[2],t[3]]},T:function(t,e){return e.x=t[0],e.y=t[1],["T",t[0],t[1]]},Z:function(t,e,i){return e.x=i.x,e.y=i.y,["Z"]},A:function(t,e){return e.x=t[5],e.y=t[6],["A",t[0],t[1],t[2],t[3],t[4],t[5],t[6]]}},o="mlhvqtcsaz".split(""),a=0,s=o.length;a<s;++a)r[o[a]]=function(t){return function(e,i,n){if("H"==t)e[0]=e[0]+i.x;else if("V"==t)e[0]=e[0]+i.y;else if("A"==t)e[5]=e[5]+i.x,e[6]=e[6]+i.y;else for(var o=0,a=e.length;o<a;++o)e[o]=e[o]+(o%2?i.y:i.x);return r[t](e,i,n)}}(o[a].toUpperCase());n.PathArray=function(t,e){n.Array.call(this,t,e||[["M",0,0]])},n.PathArray.prototype=new n.Array,n.PathArray.prototype.constructor=n.PathArray,n.extend(n.PathArray,{toString:function(){return function(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e][0],null!=t[e][1]&&(n+=t[e][1],null!=t[e][2]&&(n+=" ",n+=t[e][2],null!=t[e][3]&&(n+=" ",n+=t[e][3],n+=" ",n+=t[e][4],null!=t[e][5]&&(n+=" ",n+=t[e][5],n+=" ",n+=t[e][6],null!=t[e][7]&&(n+=" ",n+=t[e][7])))));return n+" "}(this.value)},move:function(t,e){var i=this.bbox();if(t-=i.x,e-=i.y,!isNaN(t)&&!isNaN(e))for(var n,r=this.value.length-1;r>=0;r--)"M"==(n=this.value[r][0])||"L"==n||"T"==n?(this.value[r][1]+=t,this.value[r][2]+=e):"H"==n?this.value[r][1]+=t:"V"==n?this.value[r][1]+=e:"C"==n||"S"==n||"Q"==n?(this.value[r][1]+=t,this.value[r][2]+=e,this.value[r][3]+=t,this.value[r][4]+=e,"C"==n&&(this.value[r][5]+=t,this.value[r][6]+=e)):"A"==n&&(this.value[r][6]+=t,this.value[r][7]+=e);return this},size:function(t,e){var i,n,r=this.bbox();for(i=this.value.length-1;i>=0;i--)"M"==(n=this.value[i][0])||"L"==n||"T"==n?(this.value[i][1]=(this.value[i][1]-r.x)*t/r.width+r.x,this.value[i][2]=(this.value[i][2]-r.y)*e/r.height+r.y):"H"==n?this.value[i][1]=(this.value[i][1]-r.x)*t/r.width+r.x:"V"==n?this.value[i][1]=(this.value[i][1]-r.y)*e/r.height+r.y:"C"==n||"S"==n||"Q"==n?(this.value[i][1]=(this.value[i][1]-r.x)*t/r.width+r.x,this.value[i][2]=(this.value[i][2]-r.y)*e/r.height+r.y,this.value[i][3]=(this.value[i][3]-r.x)*t/r.width+r.x,this.value[i][4]=(this.value[i][4]-r.y)*e/r.height+r.y,"C"==n&&(this.value[i][5]=(this.value[i][5]-r.x)*t/r.width+r.x,this.value[i][6]=(this.value[i][6]-r.y)*e/r.height+r.y)):"A"==n&&(this.value[i][1]=this.value[i][1]*t/r.width,this.value[i][2]=this.value[i][2]*e/r.height,this.value[i][6]=(this.value[i][6]-r.x)*t/r.width+r.x,this.value[i][7]=(this.value[i][7]-r.y)*e/r.height+r.y);return this},equalCommands:function(t){var e,i,r;for(t=new n.PathArray(t),r=this.value.length===t.value.length,e=0,i=this.value.length;r&&e<i;e++)r=this.value[e][0]===t.value[e][0];return r},morph:function(t){return t=new n.PathArray(t),this.equalCommands(t)?this.destination=t:this.destination=null,this},at:function(t){if(!this.destination)return this;var e,i,r,o,a=this.value,s=this.destination.value,l=[],c=new n.PathArray;for(e=0,i=a.length;e<i;e++){for(l[e]=[a[e][0]],r=1,o=a[e].length;r<o;r++)l[e][r]=a[e][r]+(s[e][r]-a[e][r])*t;"A"===l[e][0]&&(l[e][4]=+(0!=l[e][4]),l[e][5]=+(0!=l[e][5]))}return c.value=l,c},parse:function(t){if(t instanceof n.PathArray)return t.valueOf();var e,i={M:2,L:2,H:1,V:1,C:6,S:4,Q:4,T:2,A:7,Z:0};t="string"==typeof t?t.replace(n.regex.numbersWithDots,c).replace(n.regex.pathLetters," $& ").replace(n.regex.hyphen,"$1 -").trim().split(n.regex.delimiter):t.reduce(function(t,e){return[].concat.call(t,e)},[]);var o=[],a=new n.Point,s=new n.Point,l=0,u=t.length;do{n.regex.isPathLetter.test(t[l])?(e=t[l],++l):"M"==e?e="L":"m"==e&&(e="l"),o.push(r[e].call(null,t.slice(l,l+=i[e.toUpperCase()]).map(parseFloat),a,s))}while(u>l);return o},bbox:function(){return n.parser.draw||n.prepare(),n.parser.path.setAttribute("d",this.toString()),n.parser.path.getBBox()}}),n.Number=n.invent({create:function(t,e){this.value=0,this.unit=e||"","number"==typeof t?this.value=isNaN(t)?0:isFinite(t)?t:t<0?-3.4e38:3.4e38:"string"==typeof t?(e=t.match(n.regex.numberAndUnit))&&(this.value=parseFloat(e[1]),"%"==e[5]?this.value/=100:"s"==e[5]&&(this.value*=1e3),this.unit=e[5]):t instanceof n.Number&&(this.value=t.valueOf(),this.unit=t.unit)},extend:{toString:function(){return("%"==this.unit?~~(1e8*this.value)/1e6:"s"==this.unit?this.value/1e3:this.value)+this.unit},toJSON:function(){return this.toString()},valueOf:function(){return this.value},plus:function(t){return t=new n.Number(t),new n.Number(this+t,this.unit||t.unit)},minus:function(t){return t=new n.Number(t),new n.Number(this-t,this.unit||t.unit)},times:function(t){return t=new n.Number(t),new n.Number(this*t,this.unit||t.unit)},divide:function(t){return t=new n.Number(t),new n.Number(this/t,this.unit||t.unit)},to:function(t){var e=new n.Number(this);return"string"==typeof t&&(e.unit=t),e},morph:function(t){return this.destination=new n.Number(t),t.relative&&(this.destination.value+=this.value),this},at:function(t){return this.destination?new n.Number(this.destination).minus(this).times(t).plus(this):this}}}),n.Element=n.invent({create:function(t){this._stroke=n.defaults.attrs.stroke,this._event=null,this.dom={},(this.node=t)&&(this.type=t.nodeName,this.node.instance=this,this._stroke=t.getAttribute("stroke")||this._stroke)},extend:{x:function(t){return this.attr("x",t)},y:function(t){return this.attr("y",t)},cx:function(t){return null==t?this.x()+this.width()/2:this.x(t-this.width()/2)},cy:function(t){return null==t?this.y()+this.height()/2:this.y(t-this.height()/2)},move:function(t,e){return this.x(t).y(e)},center:function(t,e){return this.cx(t).cy(e)},width:function(t){return this.attr("width",t)},height:function(t){return this.attr("height",t)},size:function(t,e){var i=f(this,t,e);return this.width(new n.Number(i.width)).height(new n.Number(i.height))},clone:function(t){this.writeDataToDom();var e=v(this.node.cloneNode(!0));return t?t.add(e):this.after(e),e},remove:function(){return this.parent()&&this.parent().removeElement(this),this},replace:function(t){return this.after(t).remove(),t},addTo:function(t){return t.put(this)},putIn:function(t){return t.add(this)},id:function(t){return this.attr("id",t)},inside:function(t,e){var i=this.bbox();return t>i.x&&e>i.y&&t<i.x+i.width&&e<i.y+i.height},show:function(){return this.style("display","")},hide:function(){return this.style("display","none")},visible:function(){return"none"!=this.style("display")},toString:function(){return this.attr("id")},classes:function(){var t=this.attr("class");return null==t?[]:t.trim().split(n.regex.delimiter)},hasClass:function(t){return-1!=this.classes().indexOf(t)},addClass:function(t){if(!this.hasClass(t)){var e=this.classes();e.push(t),this.attr("class",e.join(" "))}return this},removeClass:function(t){return this.hasClass(t)&&this.attr("class",this.classes().filter(function(e){return e!=t}).join(" ")),this},toggleClass:function(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)},reference:function(t){return n.get(this.attr(t))},parent:function(t){var i=this;if(!i.node.parentNode)return null;if(i=n.adopt(i.node.parentNode),!t)return i;for(;i&&i.node instanceof e.SVGElement;){if("string"==typeof t?i.matches(t):i instanceof t)return i;if(!i.node.parentNode||"#document"==i.node.parentNode.nodeName)return null;i=n.adopt(i.node.parentNode)}},doc:function(){return this instanceof n.Doc?this:this.parent(n.Doc)},parents:function(t){var e=[],i=this;do{if(!(i=i.parent(t))||!i.node)break;e.push(i)}while(i.parent);return e},matches:function(t){return function(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,e)}(this.node,t)},native:function(){return this.node},svg:function(t){var e=i.createElement("svg");if(!(t&&this instanceof n.Parent))return e.appendChild(t=i.createElement("svg")),this.writeDataToDom(),t.appendChild(this.node.cloneNode(!0)),e.innerHTML.replace(/^<svg>/,"").replace(/<\/svg>$/,"");e.innerHTML="<svg>"+t.replace(/\n/,"").replace(/<([\w:-]+)([^<]+?)\/>/g,"<$1$2></$1>")+"</svg>";for(var r=0,o=e.firstChild.childNodes.length;r<o;r++)this.node.appendChild(e.firstChild.firstChild);return this},writeDataToDom:function(){return(this.each||this.lines)&&(this.each?this:this.lines()).each(function(){this.writeDataToDom()}),this.node.removeAttribute("svgjs:data"),Object.keys(this.dom).length&&this.node.setAttribute("svgjs:data",JSON.stringify(this.dom)),this},setData:function(t){return this.dom=t,this},is:function(t){return function(t,e){return t instanceof e}(this,t)}}}),n.easing={"-":function(t){return t},"<>":function(t){return-Math.cos(t*Math.PI)/2+.5},">":function(t){return Math.sin(t*Math.PI/2)},"<":function(t){return 1-Math.cos(t*Math.PI/2)}},n.morph=function(t){return function(e,i){return new n.MorphObj(e,i).at(t)}},n.Situation=n.invent({create:function(t){this.init=!1,this.reversed=!1,this.reversing=!1,this.duration=new n.Number(t.duration).valueOf(),this.delay=new n.Number(t.delay).valueOf(),this.start=+new Date+this.delay,this.finish=this.start+this.duration,this.ease=t.ease,this.loop=0,this.loops=!1,this.animations={},this.attrs={},this.styles={},this.transforms=[],this.once={}}}),n.FX=n.invent({create:function(t){this._target=t,this.situations=[],this.active=!1,this.situation=null,this.paused=!1,this.lastPos=0,this.pos=0,this.absPos=0,this._speed=1},extend:{animate:function(e,i,r){"object"===t(e)&&(i=e.ease,r=e.delay,e=e.duration);var o=new n.Situation({duration:e||1e3,delay:r||0,ease:n.easing[i||"-"]||i});return this.queue(o),this},delay:function(t){var e=new n.Situation({duration:t,delay:0,ease:n.easing["-"]});return this.queue(e)},target:function(t){return t&&t instanceof n.Element?(this._target=t,this):this._target},timeToAbsPos:function(t){return(t-this.situation.start)/(this.situation.duration/this._speed)},absPosToTime:function(t){return this.situation.duration/this._speed*t+this.situation.start},startAnimFrame:function(){this.stopAnimFrame(),this.animationFrame=e.requestAnimationFrame(function(){this.step()}.bind(this))},stopAnimFrame:function(){e.cancelAnimationFrame(this.animationFrame)},start:function(){return!this.active&&this.situation&&(this.active=!0,this.startCurrent()),this},startCurrent:function(){return this.situation.start=+new Date+this.situation.delay/this._speed,this.situation.finish=this.situation.start+this.situation.duration/this._speed,this.initAnimations().step()},queue:function(t){return("function"==typeof t||t instanceof n.Situation)&&this.situations.push(t),this.situation||(this.situation=this.situations.shift()),this},dequeue:function(){return this.stop(),this.situation=this.situations.shift(),this.situation&&(this.situation instanceof n.Situation?this.start():this.situation.call(this)),this},initAnimations:function(){var t,e,i,r=this.situation;if(r.init)return this;for(t in r.animations)for(i=this.target()[t](),Array.isArray(i)||(i=[i]),Array.isArray(r.animations[t])||(r.animations[t]=[r.animations[t]]),e=i.length;e--;)r.animations[t][e]instanceof n.Number&&(i[e]=new n.Number(i[e])),r.animations[t][e]=i[e].morph(r.animations[t][e]);for(t in r.attrs)r.attrs[t]=new n.MorphObj(this.target().attr(t),r.attrs[t]);for(t in r.styles)r.styles[t]=new n.MorphObj(this.target().style(t),r.styles[t]);return r.initialTransformation=this.target().matrixify(),r.init=!0,this},clearQueue:function(){return this.situations=[],this},clearCurrent:function(){return this.situation=null,this},stop:function(t,e){var i=this.active;return this.active=!1,e&&this.clearQueue(),t&&this.situation&&(!i&&this.startCurrent(),this.atEnd()),this.stopAnimFrame(),this.clearCurrent()},reset:function(){if(this.situation){var t=this.situation;this.stop(),this.situation=t,this.atStart()}return this},finish:function(){for(this.stop(!0,!1);this.dequeue().situation&&this.stop(!0,!1););return this.clearQueue().clearCurrent(),this},atStart:function(){return this.at(0,!0)},atEnd:function(){return!0===this.situation.loops&&(this.situation.loops=this.situation.loop+1),"number"==typeof this.situation.loops?this.at(this.situation.loops,!0):this.at(1,!0)},at:function(t,e){var i=this.situation.duration/this._speed;return this.absPos=t,e||(this.situation.reversed&&(this.absPos=1-this.absPos),this.absPos+=this.situation.loop),this.situation.start=+new Date-this.absPos*i,this.situation.finish=this.situation.start+i,this.step(!0)},speed:function(t){return 0===t?this.pause():t?(this._speed=t,this.at(this.absPos,!0)):this._speed},loop:function(t,e){var i=this.last();return i.loops=null==t||t,i.loop=0,e&&(i.reversing=!0),this},pause:function(){return this.paused=!0,this.stopAnimFrame(),this},play:function(){return this.paused?(this.paused=!1,this.at(this.absPos,!0)):this},reverse:function(t){var e=this.last();return e.reversed=void 0===t?!e.reversed:t,this},progress:function(t){return t?this.situation.ease(this.pos):this.pos},after:function(t){var e=this.last();return this.target().on("finished.fx",function i(n){n.detail.situation==e&&(t.call(this,e),this.off("finished.fx",i))}),this._callStart()},during:function(t){var e=this.last(),i=function(i){i.detail.situation==e&&t.call(this,i.detail.pos,n.morph(i.detail.pos),i.detail.eased,e)};return this.target().off("during.fx",i).on("during.fx",i),this.after(function(){this.off("during.fx",i)}),this._callStart()},afterAll:function(t){var e=function e(i){t.call(this),this.off("allfinished.fx",e)};return this.target().off("allfinished.fx",e).on("allfinished.fx",e),this._callStart()},duringAll:function(t){var e=function(e){t.call(this,e.detail.pos,n.morph(e.detail.pos),e.detail.eased,e.detail.situation)};return this.target().off("during.fx",e).on("during.fx",e),this.afterAll(function(){this.off("during.fx",e)}),this._callStart()},last:function(){return this.situations.length?this.situations[this.situations.length-1]:this.situation},add:function(t,e,i){return this.last()[i||"animations"][t]=e,this._callStart()},step:function(t){var e,i,n;t||(this.absPos=this.timeToAbsPos(+new Date)),!1!==this.situation.loops?(e=Math.max(this.absPos,0),i=Math.floor(e),!0===this.situation.loops||i<this.situation.loops?(this.pos=e-i,n=this.situation.loop,this.situation.loop=i):(this.absPos=this.situation.loops,this.pos=1,n=this.situation.loop-1,this.situation.loop=this.situation.loops),this.situation.reversing&&(this.situation.reversed=this.situation.reversed!=Boolean((this.situation.loop-n)%2))):(this.absPos=Math.min(this.absPos,1),this.pos=this.absPos),this.pos<0&&(this.pos=0),this.situation.reversed&&(this.pos=1-this.pos);var r=this.situation.ease(this.pos);for(var o in this.situation.once)o>this.lastPos&&o<=r&&(this.situation.once[o].call(this.target(),this.pos,r),delete this.situation.once[o]);return this.active&&this.target().fire("during",{pos:this.pos,eased:r,fx:this,situation:this.situation}),this.situation?(this.eachAt(),1==this.pos&&!this.situation.reversed||this.situation.reversed&&0==this.pos?(this.stopAnimFrame(),this.target().fire("finished",{fx:this,situation:this.situation}),this.situations.length||(this.target().fire("allfinished"),this.situations.length||(this.target().off(".fx"),this.active=!1)),this.active?this.dequeue():this.clearCurrent()):!this.paused&&this.active&&this.startAnimFrame(),this.lastPos=r,this):this},eachAt:function(){var t,e,i,r=this,o=this.target(),a=this.situation;for(t in a.animations)i=[].concat(a.animations[t]).map(function(t){return"string"!=typeof t&&t.at?t.at(a.ease(r.pos),r.pos):t}),o[t].apply(o,i);for(t in a.attrs)i=[t].concat(a.attrs[t]).map(function(t){return"string"!=typeof t&&t.at?t.at(a.ease(r.pos),r.pos):t}),o.attr.apply(o,i);for(t in a.styles)i=[t].concat(a.styles[t]).map(function(t){return"string"!=typeof t&&t.at?t.at(a.ease(r.pos),r.pos):t}),o.style.apply(o,i);if(a.transforms.length){for(i=a.initialTransformation,t=0,e=a.transforms.length;t<e;t++){var s=a.transforms[t];s instanceof n.Matrix?i=s.relative?i.multiply((new n.Matrix).morph(s).at(a.ease(this.pos))):i.morph(s).at(a.ease(this.pos)):(s.relative||s.undo(i.extract()),i=i.multiply(s.at(a.ease(this.pos))))}o.matrix(i)}return this},once:function(t,e,i){var n=this.last();return i||(t=n.ease(t)),n.once[t]=e,this},_callStart:function(){return setTimeout(function(){this.start()}.bind(this),0),this}},parent:n.Element,construct:{animate:function(t,e,i){return(this.fx||(this.fx=new n.FX(this))).animate(t,e,i)},delay:function(t){return(this.fx||(this.fx=new n.FX(this))).delay(t)},stop:function(t,e){return this.fx&&this.fx.stop(t,e),this},finish:function(){return this.fx&&this.fx.finish(),this},pause:function(){return this.fx&&this.fx.pause(),this},play:function(){return this.fx&&this.fx.play(),this},speed:function(t){if(this.fx){if(null==t)return this.fx.speed();this.fx.speed(t)}return this}}}),n.MorphObj=n.invent({create:function(t,e){return n.Color.isColor(e)?new n.Color(t).morph(e):n.regex.delimiter.test(t)?n.regex.pathLetters.test(t)?new n.PathArray(t).morph(e):new n.Array(t).morph(e):n.regex.numberAndUnit.test(e)?new n.Number(t).morph(e):(this.value=t,void(this.destination=e))},extend:{at:function(t,e){return e<1?this.value:this.destination},valueOf:function(){return this.value}}}),n.extend(n.FX,{attr:function(e,i,n){if("object"===t(e))for(var r in e)this.attr(r,e[r]);else this.add(e,i,"attrs");return this},style:function(e,i){if("object"===t(e))for(var n in e)this.style(n,e[n]);else this.add(e,i,"styles");return this},x:function(t,e){if(this.target()instanceof n.G)return this.transform({x:t},e),this;var i=new n.Number(t);return i.relative=e,this.add("x",i)},y:function(t,e){if(this.target()instanceof n.G)return this.transform({y:t},e),this;var i=new n.Number(t);return i.relative=e,this.add("y",i)},cx:function(t){return this.add("cx",new n.Number(t))},cy:function(t){return this.add("cy",new n.Number(t))},move:function(t,e){return this.x(t).y(e)},center:function(t,e){return this.cx(t).cy(e)},size:function(t,e){var i;return this.target()instanceof n.Text?this.attr("font-size",t):(t&&e||(i=this.target().bbox()),t||(t=i.width/i.height*e),e||(e=i.height/i.width*t),this.add("width",new n.Number(t)).add("height",new n.Number(e))),this},width:function(t){return this.add("width",new n.Number(t))},height:function(t){return this.add("height",new n.Number(t))},plot:function(t,e,i,n){return 4==arguments.length?this.plot([t,e,i,n]):this.add("plot",new(this.target().morphArray)(t))},leading:function(t){return this.target().leading?this.add("leading",new n.Number(t)):this},viewbox:function(t,e,i,r){return this.target()instanceof n.Container&&this.add("viewbox",new n.ViewBox(t,e,i,r)),this},update:function(t){if(this.target()instanceof n.Stop){if("number"==typeof t||t instanceof n.Number)return this.update({offset:arguments[0],color:arguments[1],opacity:arguments[2]});null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",t.offset)}return this}}),n.Box=n.invent({create:function(e,i,r,o){if(!("object"!==t(e)||e instanceof n.Element))return n.Box.call(this,null!=e.left?e.left:e.x,null!=e.top?e.top:e.y,e.width,e.height);4==arguments.length&&(this.x=e,this.y=i,this.width=r,this.height=o),y(this)},extend:{merge:function(t){var e=new this.constructor;return e.x=Math.min(this.x,t.x),e.y=Math.min(this.y,t.y),e.width=Math.max(this.x+this.width,t.x+t.width)-e.x,e.height=Math.max(this.y+this.height,t.y+t.height)-e.y,y(e)},transform:function(t){var e,i=1/0,r=-1/0,o=1/0,a=-1/0;return[new n.Point(this.x,this.y),new n.Point(this.x2,this.y),new n.Point(this.x,this.y2),new n.Point(this.x2,this.y2)].forEach(function(e){e=e.transform(t),i=Math.min(i,e.x),r=Math.max(r,e.x),o=Math.min(o,e.y),a=Math.max(a,e.y)}),(e=new this.constructor).x=i,e.width=r-i,e.y=o,e.height=a-o,y(e),e}}}),n.BBox=n.invent({create:function(t){if(n.Box.apply(this,[].slice.call(arguments)),t instanceof n.Element){var e;try{if(!i.documentElement.contains){for(var r=t.node;r.parentNode;)r=r.parentNode;if(r!=i)throw new Error("Element not in the dom")}e=t.node.getBBox()}catch(i){if(t instanceof n.Shape){n.parser.draw||n.prepare();var o=t.clone(n.parser.draw.instance).show();e=o.node.getBBox(),o.remove()}else e={x:t.node.clientLeft,y:t.node.clientTop,width:t.node.clientWidth,height:t.node.clientHeight}}n.Box.call(this,e)}},inherit:n.Box,parent:n.Element,construct:{bbox:function(){return new n.BBox(this)}}}),n.BBox.prototype.constructor=n.BBox,n.extend(n.Element,{tbox:function(){return console.warn("Use of TBox is deprecated and mapped to RBox. Use .rbox() instead."),this.rbox(this.doc())}}),n.RBox=n.invent({create:function(t){n.Box.apply(this,[].slice.call(arguments)),t instanceof n.Element&&n.Box.call(this,t.node.getBoundingClientRect())},inherit:n.Box,parent:n.Element,extend:{addOffset:function(){return this.x+=e.pageXOffset,this.y+=e.pageYOffset,this}},construct:{rbox:function(t){return t?new n.RBox(this).transform(t.screenCTM().inverse()):new n.RBox(this).addOffset()}}}),n.RBox.prototype.constructor=n.RBox,n.Matrix=n.invent({create:function(e){var i,r=g([1,0,0,1,0,0]);for(e=e instanceof n.Element?e.matrixify():"string"==typeof e?g(e.split(n.regex.delimiter).map(parseFloat)):6==arguments.length?g([].slice.call(arguments)):Array.isArray(e)?g(e):"object"===t(e)?e:r,i=L.length-1;i>=0;--i)this[L[i]]=null!=e[L[i]]?e[L[i]]:r[L[i]]},extend:{extract:function(){var t=p(this,0,1),e=p(this,1,0),i=180/Math.PI*Math.atan2(t.y,t.x)-90;return{x:this.e,y:this.f,transformedX:(this.e*Math.cos(i*Math.PI/180)+this.f*Math.sin(i*Math.PI/180))/Math.sqrt(this.a*this.a+this.b*this.b),transformedY:(this.f*Math.cos(i*Math.PI/180)+this.e*Math.sin(-i*Math.PI/180))/Math.sqrt(this.c*this.c+this.d*this.d),skewX:-i,skewY:180/Math.PI*Math.atan2(e.y,e.x),scaleX:Math.sqrt(this.a*this.a+this.b*this.b),scaleY:Math.sqrt(this.c*this.c+this.d*this.d),rotation:i,a:this.a,b:this.b,c:this.c,d:this.d,e:this.e,f:this.f,matrix:new n.Matrix(this)}},clone:function(){return new n.Matrix(this)},morph:function(t){return this.destination=new n.Matrix(t),this},at:function(t){return this.destination?new n.Matrix({a:this.a+(this.destination.a-this.a)*t,b:this.b+(this.destination.b-this.b)*t,c:this.c+(this.destination.c-this.c)*t,d:this.d+(this.destination.d-this.d)*t,e:this.e+(this.destination.e-this.e)*t,f:this.f+(this.destination.f-this.f)*t}):this},multiply:function(t){return new n.Matrix(this.native().multiply(function(t){return t instanceof n.Matrix||(t=new n.Matrix(t)),t}(t).native()))},inverse:function(){return new n.Matrix(this.native().inverse())},translate:function(t,e){return new n.Matrix(this.native().translate(t||0,e||0))},scale:function(t,e,i,r){return 1==arguments.length?e=t:3==arguments.length&&(r=i,i=e,e=t),this.around(i,r,new n.Matrix(t,0,0,e,0,0))},rotate:function(t,e,i){return t=n.utils.radians(t),this.around(e,i,new n.Matrix(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0))},flip:function(t,e){return"x"==t?this.scale(-1,1,e,0):"y"==t?this.scale(1,-1,0,e):this.scale(-1,-1,t,null!=e?e:t)},skew:function(t,e,i,r){return 1==arguments.length?e=t:3==arguments.length&&(r=i,i=e,e=t),t=n.utils.radians(t),e=n.utils.radians(e),this.around(i,r,new n.Matrix(1,Math.tan(e),Math.tan(t),1,0,0))},skewX:function(t,e,i){return this.skew(t,0,e,i)},skewY:function(t,e,i){return this.skew(0,t,e,i)},around:function(t,e,i){return this.multiply(new n.Matrix(1,0,0,1,t||0,e||0)).multiply(i).multiply(new n.Matrix(1,0,0,1,-t||0,-e||0))},native:function(){for(var t=n.parser.native.createSVGMatrix(),e=L.length-1;e>=0;e--)t[L[e]]=this[L[e]];return t},toString:function(){return"matrix("+b(this.a)+","+b(this.b)+","+b(this.c)+","+b(this.d)+","+b(this.e)+","+b(this.f)+")"}},parent:n.Element,construct:{ctm:function(){return new n.Matrix(this.node.getCTM())},screenCTM:function(){if(this instanceof n.Nested){var t=this.rect(1,1),e=t.node.getScreenCTM();return t.remove(),new n.Matrix(e)}return new n.Matrix(this.node.getScreenCTM())}}}),n.Point=n.invent({create:function(e,i){var n;n=Array.isArray(e)?{x:e[0],y:e[1]}:"object"===t(e)?{x:e.x,y:e.y}:null!=e?{x:e,y:null!=i?i:e}:{x:0,y:0},this.x=n.x,this.y=n.y},extend:{clone:function(){return new n.Point(this)},morph:function(t,e){return this.destination=new n.Point(t,e),this},at:function(t){return this.destination?new n.Point({x:this.x+(this.destination.x-this.x)*t,y:this.y+(this.destination.y-this.y)*t}):this},native:function(){var t=n.parser.native.createSVGPoint();return t.x=this.x,t.y=this.y,t},transform:function(t){return new n.Point(this.native().matrixTransform(t.native()))}}}),n.extend(n.Element,{point:function(t,e){return new n.Point(t,e).transform(this.screenCTM().inverse())}}),n.extend(n.Element,{attr:function(e,i,r){if(null==e){for(e={},r=(i=this.node.attributes).length-1;r>=0;r--)e[i[r].nodeName]=n.regex.isNumber.test(i[r].nodeValue)?parseFloat(i[r].nodeValue):i[r].nodeValue;return e}if("object"===t(e))for(i in e)this.attr(i,e[i]);else if(null===i)this.node.removeAttribute(e);else{if(null==i)return null==(i=this.node.getAttribute(e))?n.defaults.attrs[e]:n.regex.isNumber.test(i)?parseFloat(i):i;"stroke-width"==e?this.attr("stroke",parseFloat(i)>0?this._stroke:null):"stroke"==e&&(this._stroke=i),"fill"!=e&&"stroke"!=e||(n.regex.isImage.test(i)&&(i=this.doc().defs().image(i,0,0)),i instanceof n.Image&&(i=this.doc().defs().pattern(0,0,function(){this.add(i)}))),"number"==typeof i?i=new n.Number(i):n.Color.isColor(i)?i=new n.Color(i):Array.isArray(i)&&(i=new n.Array(i)),"leading"==e?this.leading&&this.leading(i):"string"==typeof r?this.node.setAttributeNS(r,e,i.toString()):this.node.setAttribute(e,i.toString()),!this.rebuild||"font-size"!=e&&"x"!=e||this.rebuild(e,i)}return this}}),n.extend(n.Element,{transform:function(e,i){var r,o;if("object"!==t(e))return r=new n.Matrix(this).extract(),"string"==typeof e?r[e]:r;if(r=new n.Matrix(this),i=!!i||!!e.relative,null!=e.a)r=i?r.multiply(new n.Matrix(e)):new n.Matrix(e);else if(null!=e.rotation)m(e,this),r=i?r.rotate(e.rotation,e.cx,e.cy):r.rotate(e.rotation-r.extract().rotation,e.cx,e.cy);else if(null!=e.scale||null!=e.scaleX||null!=e.scaleY){if(m(e,this),e.scaleX=null!=e.scale?e.scale:null!=e.scaleX?e.scaleX:1,e.scaleY=null!=e.scale?e.scale:null!=e.scaleY?e.scaleY:1,!i){var a=r.extract();e.scaleX=1*e.scaleX/a.scaleX,e.scaleY=1*e.scaleY/a.scaleY}r=r.scale(e.scaleX,e.scaleY,e.cx,e.cy)}else null!=e.skew||null!=e.skewX||null!=e.skewY?(m(e,this),e.skewX=null!=e.skew?e.skew:null!=e.skewX?e.skewX:0,e.skewY=null!=e.skew?e.skew:null!=e.skewY?e.skewY:0,i||(a=r.extract(),r=r.multiply((new n.Matrix).skew(a.skewX,a.skewY,e.cx,e.cy).inverse())),r=r.skew(e.skewX,e.skewY,e.cx,e.cy)):e.flip?("x"==e.flip||"y"==e.flip?e.offset=null==e.offset?this.bbox()["c"+e.flip]:e.offset:null==e.offset?(o=this.bbox(),e.flip=o.cx,e.offset=o.cy):e.flip=e.offset,r=(new n.Matrix).flip(e.flip,e.offset)):null==e.x&&null==e.y||(i?r=r.translate(e.x,e.y):(null!=e.x&&(r.e=e.x),null!=e.y&&(r.f=e.y)));return this.attr("transform",r)}}),n.extend(n.FX,{transform:function(e,i){var r,o,a=this.target();return"object"!==t(e)?(r=new n.Matrix(a).extract(),"string"==typeof e?r[e]:r):(i=!!i||!!e.relative,null!=e.a?r=new n.Matrix(e):null!=e.rotation?(m(e,a),r=new n.Rotate(e.rotation,e.cx,e.cy)):null!=e.scale||null!=e.scaleX||null!=e.scaleY?(m(e,a),e.scaleX=null!=e.scale?e.scale:null!=e.scaleX?e.scaleX:1,e.scaleY=null!=e.scale?e.scale:null!=e.scaleY?e.scaleY:1,r=new n.Scale(e.scaleX,e.scaleY,e.cx,e.cy)):null!=e.skewX||null!=e.skewY?(m(e,a),e.skewX=null!=e.skewX?e.skewX:0,e.skewY=null!=e.skewY?e.skewY:0,r=new n.Skew(e.skewX,e.skewY,e.cx,e.cy)):e.flip?("x"==e.flip||"y"==e.flip?e.offset=null==e.offset?a.bbox()["c"+e.flip]:e.offset:null==e.offset?(o=a.bbox(),e.flip=o.cx,e.offset=o.cy):e.flip=e.offset,r=(new n.Matrix).flip(e.flip,e.offset)):null==e.x&&null==e.y||(r=new n.Translate(e.x,e.y)),r?(r.relative=i,this.last().transforms.push(r),this._callStart()):this)}}),n.extend(n.Element,{untransform:function(){return this.attr("transform",null)},matrixify:function(){return(this.attr("transform")||"").split(n.regex.transforms).slice(0,-1).map(function(t){var e=t.trim().split("(");return[e[0],e[1].split(n.regex.delimiter).map(function(t){return parseFloat(t)})]}).reduce(function(t,e){return"matrix"==e[0]?t.multiply(g(e[1])):t[e[0]].apply(t,e[1])},new n.Matrix)},toParent:function(t){if(this==t)return this;var e=this.screenCTM(),i=t.screenCTM().inverse();return this.addTo(t).untransform().transform(i.multiply(e)),this},toDoc:function(){return this.toParent(this.doc())}}),n.Transformation=n.invent({create:function(e,i){if(arguments.length>1&&"boolean"!=typeof i)return this.constructor.call(this,[].slice.call(arguments));if(Array.isArray(e))for(var n=0,r=this.arguments.length;n<r;++n)this[this.arguments[n]]=e[n];else if("object"===t(e))for(n=0,r=this.arguments.length;n<r;++n)this[this.arguments[n]]=e[this.arguments[n]];this.inversed=!1,!0===i&&(this.inversed=!0)},extend:{arguments:[],method:"",at:function(t){for(var e=[],i=0,r=this.arguments.length;i<r;++i)e.push(this[this.arguments[i]]);var o=this._undo||new n.Matrix;return o=(new n.Matrix).morph(n.Matrix.prototype[this.method].apply(o,e)).at(t),this.inversed?o.inverse():o},undo:function(t){for(var e=0,i=this.arguments.length;e<i;++e)t[this.arguments[e]]=void 0===this[this.arguments[e]]?0:t[this.arguments[e]];return t.cx=this.cx,t.cy=this.cy,this._undo=new(n[h(this.method)])(t,!0).at(1),this}}}),n.Translate=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(t,e){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["transformedX","transformedY"],method:"translate"}}),n.Rotate=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(t,e){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["rotation","cx","cy"],method:"rotate",at:function(t){var e=(new n.Matrix).rotate((new n.Number).morph(this.rotation-(this._undo?this._undo.rotation:0)).at(t),this.cx,this.cy);return this.inversed?e.inverse():e},undo:function(t){return this._undo=t,this}}}),n.Scale=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(t,e){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["scaleX","scaleY","cx","cy"],method:"scale"}}),n.Skew=n.invent({parent:n.Matrix,inherit:n.Transformation,create:function(t,e){this.constructor.apply(this,[].slice.call(arguments))},extend:{arguments:["skewX","skewY","cx","cy"],method:"skew"}}),n.extend(n.Element,{style:function(e,i){if(0==arguments.length)return this.node.style.cssText||"";if(arguments.length<2)if("object"===t(e))for(i in e)this.style(i,e[i]);else{if(!n.regex.isCss.test(e))return this.node.style[u(e)];for(e=e.split(/\s*;\s*/).filter(function(t){return!!t}).map(function(t){return t.split(/\s*:\s*/)});i=e.pop();)this.style(i[0],i[1])}else this.node.style[u(e)]=null===i||n.regex.isBlank.test(i)?"":i;return this}}),n.Parent=n.invent({create:function(t){this.constructor.call(this,t)},inherit:n.Element,extend:{children:function(){return n.utils.map(n.utils.filterSVGElements(this.node.childNodes),function(t){return n.adopt(t)})},add:function(t,e){return null==e?this.node.appendChild(t.node):t.node!=this.node.childNodes[e]&&this.node.insertBefore(t.node,this.node.childNodes[e]),this},put:function(t,e){return this.add(t,e),t},has:function(t){return this.index(t)>=0},index:function(t){return[].slice.call(this.node.childNodes).indexOf(t.node)},get:function(t){return n.adopt(this.node.childNodes[t])},first:function(){return this.get(0)},last:function(){return this.get(this.node.childNodes.length-1)},each:function(t,e){var i,r,o=this.children();for(i=0,r=o.length;i<r;i++)o[i]instanceof n.Element&&t.apply(o[i],[i,o]),e&&o[i]instanceof n.Container&&o[i].each(t,e);return this},removeElement:function(t){return this.node.removeChild(t.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,this},defs:function(){return this.doc().defs()}}}),n.extend(n.Parent,{ungroup:function(t,e){return 0===e||this instanceof n.Defs||this.node==n.parser.draw?this:(t=t||(this instanceof n.Doc?this:this.parent(n.Parent)),e=e||1/0,this.each(function(){return this instanceof n.Defs?this:this instanceof n.Parent?this.ungroup(t,e-1):this.toParent(t)}),this.node.firstChild||this.remove(),this)},flatten:function(t,e){return this.ungroup(t,e)}}),n.Container=n.invent({create:function(t){this.constructor.call(this,t)},inherit:n.Parent}),n.ViewBox=n.invent({create:function(e){var i,r,o,a,s,l,c,u=1,h=1,d=/[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?/gi;if(e instanceof n.Element){for(l=e,c=e,s=(e.attr("viewBox")||"").match(d),e.bbox,o=new n.Number(e.width()),a=new n.Number(e.height());"%"==o.unit;)u*=o.value,o=new n.Number(l instanceof n.Doc?l.parent().offsetWidth:l.parent().width()),l=l.parent();for(;"%"==a.unit;)h*=a.value,a=new n.Number(c instanceof n.Doc?c.parent().offsetHeight:c.parent().height()),c=c.parent();this.x=0,this.y=0,this.width=o*u,this.height=a*h,this.zoom=1,s&&(i=parseFloat(s[0]),r=parseFloat(s[1]),o=parseFloat(s[2]),a=parseFloat(s[3]),this.zoom=this.width/this.height>o/a?this.height/a:this.width/o,this.x=i,this.y=r,this.width=o,this.height=a)}else e="string"==typeof e?e.match(d).map(function(t){return parseFloat(t)}):Array.isArray(e)?e:"object"===t(e)?[e.x,e.y,e.width,e.height]:4==arguments.length?[].slice.call(arguments):[0,0,0,0],this.x=e[0],this.y=e[1],this.width=e[2],this.height=e[3]},extend:{toString:function(){return this.x+" "+this.y+" "+this.width+" "+this.height},morph:function(t,e,i,r){return this.destination=new n.ViewBox(t,e,i,r),this},at:function(t){return this.destination?new n.ViewBox([this.x+(this.destination.x-this.x)*t,this.y+(this.destination.y-this.y)*t,this.width+(this.destination.width-this.width)*t,this.height+(this.destination.height-this.height)*t]):this}},parent:n.Container,construct:{viewbox:function(t,e,i,r){return 0==arguments.length?new n.ViewBox(this):this.attr("viewBox",new n.ViewBox(t,e,i,r))}}}),["click","dblclick","mousedown","mouseup","mouseover","mouseout","mousemove","touchstart","touchmove","touchleave","touchend","touchcancel"].forEach(function(t){n.Element.prototype[t]=function(e){return n.on(this.node,t,e),this}}),n.listeners=[],n.handlerMap=[],n.listenerId=0,n.on=function(t,e,i,r,o){var a=i.bind(r||t.instance||t),s=(n.handlerMap.indexOf(t)+1||n.handlerMap.push(t))-1,l=e.split(".")[0],c=e.split(".")[1]||"*";n.listeners[s]=n.listeners[s]||{},n.listeners[s][l]=n.listeners[s][l]||{},n.listeners[s][l][c]=n.listeners[s][l][c]||{},i._svgjsListenerId||(i._svgjsListenerId=++n.listenerId),n.listeners[s][l][c][i._svgjsListenerId]=a,t.addEventListener(l,a,o||!1)},n.off=function(t,e,i){var r=n.handlerMap.indexOf(t),o=e&&e.split(".")[0],a=e&&e.split(".")[1],s="";if(-1!=r)if(i){if("function"==typeof i&&(i=i._svgjsListenerId),!i)return;n.listeners[r][o]&&n.listeners[r][o][a||"*"]&&(t.removeEventListener(o,n.listeners[r][o][a||"*"][i],!1),delete n.listeners[r][o][a||"*"][i])}else if(a&&o){if(n.listeners[r][o]&&n.listeners[r][o][a]){for(i in n.listeners[r][o][a])n.off(t,[o,a].join("."),i);delete n.listeners[r][o][a]}}else if(a)for(e in n.listeners[r])for(s in n.listeners[r][e])a===s&&n.off(t,[e,a].join("."));else if(o){if(n.listeners[r][o]){for(s in n.listeners[r][o])n.off(t,[o,s].join("."));delete n.listeners[r][o]}}else{for(e in n.listeners[r])n.off(t,e);delete n.listeners[r],delete n.handlerMap[r]}},n.extend(n.Element,{on:function(t,e,i,r){return n.on(this.node,t,e,i,r),this},off:function(t,e){return n.off(this.node,t,e),this},fire:function(t,i){return t instanceof e.Event?this.node.dispatchEvent(t):this.node.dispatchEvent(t=new n.CustomEvent(t,{detail:i,cancelable:!0})),this._event=t,this},event:function(){return this._event}}),n.Defs=n.invent({create:"defs",inherit:n.Container}),n.G=n.invent({create:"g",inherit:n.Container,extend:{x:function(t){return null==t?this.transform("x"):this.transform({x:t-this.x()},!0)},y:function(t){return null==t?this.transform("y"):this.transform({y:t-this.y()},!0)},cx:function(t){return null==t?this.gbox().cx:this.x(t-this.gbox().width/2)},cy:function(t){return null==t?this.gbox().cy:this.y(t-this.gbox().height/2)},gbox:function(){var t=this.bbox(),e=this.transform();return t.x+=e.x,t.x2+=e.x,t.cx+=e.x,t.y+=e.y,t.y2+=e.y,t.cy+=e.y,t}},construct:{group:function(){return this.put(new n.G)}}}),n.Doc=n.invent({create:function(t){t&&("svg"==(t="string"==typeof t?i.getElementById(t):t).nodeName?this.constructor.call(this,t):(this.constructor.call(this,n.create("svg")),t.appendChild(this.node),this.size("100%","100%")),this.namespace().defs())},inherit:n.Container,extend:{namespace:function(){return this.attr({xmlns:n.ns,version:"1.1"}).attr("xmlns:xlink",n.xlink,n.xmlns).attr("xmlns:svgjs",n.svgjs,n.xmlns)},defs:function(){var t;return this._defs||((t=this.node.getElementsByTagName("defs")[0])?this._defs=n.adopt(t):this._defs=new n.Defs,this.node.appendChild(this._defs.node)),this._defs},parent:function(){return this.node.parentNode&&"#document"!=this.node.parentNode.nodeName?this.node.parentNode:null},spof:function(){var t=this.node.getScreenCTM();return t&&this.style("left",-t.e%1+"px").style("top",-t.f%1+"px"),this},remove:function(){return this.parent()&&this.parent().removeChild(this.node),this},clear:function(){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return delete this._defs,n.parser.draw&&!n.parser.draw.parentNode&&this.node.appendChild(n.parser.draw),this},clone:function(t){this.writeDataToDom();var e=this.node,i=v(e.cloneNode(!0));return t?(t.node||t).appendChild(i.node):e.parentNode.insertBefore(i.node,e.nextSibling),i}}}),n.extend(n.Element,{siblings:function(){return this.parent().children()},position:function(){return this.parent().index(this)},next:function(){return this.siblings()[this.position()+1]},previous:function(){return this.siblings()[this.position()-1]},forward:function(){var t=this.position()+1,e=this.parent();return e.removeElement(this).add(this,t),e instanceof n.Doc&&e.node.appendChild(e.defs().node),this},backward:function(){var t=this.position();return t>0&&this.parent().removeElement(this).add(this,t-1),this},front:function(){var t=this.parent();return t.node.appendChild(this.node),t instanceof n.Doc&&t.node.appendChild(t.defs().node),this},back:function(){return this.position()>0&&this.parent().removeElement(this).add(this,0),this},before:function(t){t.remove();var e=this.position();return this.parent().add(t,e),this},after:function(t){t.remove();var e=this.position();return this.parent().add(t,e+1),this}}),n.Mask=n.invent({create:function(){this.constructor.call(this,n.create("mask")),this.targets=[]},inherit:n.Container,extend:{remove:function(){for(var t=this.targets.length-1;t>=0;t--)this.targets[t]&&this.targets[t].unmask();return this.targets=[],n.Element.prototype.remove.call(this),this}},construct:{mask:function(){return this.defs().put(new n.Mask)}}}),n.extend(n.Element,{maskWith:function(t){return this.masker=t instanceof n.Mask?t:this.parent().mask().add(t),this.masker.targets.push(this),this.attr("mask",'url("#'+this.masker.attr("id")+'")')},unmask:function(){return delete this.masker,this.attr("mask",null)}}),n.ClipPath=n.invent({create:function(){this.constructor.call(this,n.create("clipPath")),this.targets=[]},inherit:n.Container,extend:{remove:function(){for(var t=this.targets.length-1;t>=0;t--)this.targets[t]&&this.targets[t].unclip();return this.targets=[],this.parent().removeElement(this),this}},construct:{clip:function(){return this.defs().put(new n.ClipPath)}}}),n.extend(n.Element,{clipWith:function(t){return this.clipper=t instanceof n.ClipPath?t:this.parent().clip().add(t),this.clipper.targets.push(this),this.attr("clip-path",'url("#'+this.clipper.attr("id")+'")')},unclip:function(){return delete this.clipper,this.attr("clip-path",null)}}),n.Gradient=n.invent({create:function(t){this.constructor.call(this,n.create(t+"Gradient")),this.type=t},inherit:n.Container,extend:{at:function(t,e,i){return this.put(new n.Stop).update(t,e,i)},update:function(t){return this.clear(),"function"==typeof t&&t.call(this,this),this},fill:function(){return"url(#"+this.id()+")"},toString:function(){return this.fill()},attr:function(t,e,i){return"transform"==t&&(t="gradientTransform"),n.Container.prototype.attr.call(this,t,e,i)}},construct:{gradient:function(t,e){return this.defs().gradient(t,e)}}}),n.extend(n.Gradient,n.FX,{from:function(t,e){return"radial"==(this._target||this).type?this.attr({fx:new n.Number(t),fy:new n.Number(e)}):this.attr({x1:new n.Number(t),y1:new n.Number(e)})},to:function(t,e){return"radial"==(this._target||this).type?this.attr({cx:new n.Number(t),cy:new n.Number(e)}):this.attr({x2:new n.Number(t),y2:new n.Number(e)})}}),n.extend(n.Defs,{gradient:function(t,e){return this.put(new n.Gradient(t)).update(e)}}),n.Stop=n.invent({create:"stop",inherit:n.Element,extend:{update:function(t){return("number"==typeof t||t instanceof n.Number)&&(t={offset:arguments[0],color:arguments[1],opacity:arguments[2]}),null!=t.opacity&&this.attr("stop-opacity",t.opacity),null!=t.color&&this.attr("stop-color",t.color),null!=t.offset&&this.attr("offset",new n.Number(t.offset)),this}}}),n.Pattern=n.invent({create:"pattern",inherit:n.Container,extend:{fill:function(){return"url(#"+this.id()+")"},update:function(t){return this.clear(),"function"==typeof t&&t.call(this,this),this},toString:function(){return this.fill()},attr:function(t,e,i){return"transform"==t&&(t="patternTransform"),n.Container.prototype.attr.call(this,t,e,i)}},construct:{pattern:function(t,e,i){return this.defs().pattern(t,e,i)}}}),n.extend(n.Defs,{pattern:function(t,e,i){return this.put(new n.Pattern).update(i).attr({x:0,y:0,width:t,height:e,patternUnits:"userSpaceOnUse"})}}),n.Shape=n.invent({create:function(t){this.constructor.call(this,t)},inherit:n.Element}),n.Bare=n.invent({create:function(t,e){if(this.constructor.call(this,n.create(t)),e)for(var i in e.prototype)"function"==typeof e.prototype[i]&&(this[i]=e.prototype[i])},inherit:n.Element,extend:{words:function(t){for(;this.node.hasChildNodes();)this.node.removeChild(this.node.lastChild);return this.node.appendChild(i.createTextNode(t)),this}}}),n.extend(n.Parent,{element:function(t,e){return this.put(new n.Bare(t,e))}}),n.Symbol=n.invent({create:"symbol",inherit:n.Container,construct:{symbol:function(){return this.put(new n.Symbol)}}}),n.Use=n.invent({create:"use",inherit:n.Shape,extend:{element:function(t,e){return this.attr("href",(e||"")+"#"+t,n.xlink)}},construct:{use:function(t,e){return this.put(new n.Use).element(t,e)}}}),n.Rect=n.invent({create:"rect",inherit:n.Shape,construct:{rect:function(t,e){return this.put(new n.Rect).size(t,e)}}}),n.Circle=n.invent({create:"circle",inherit:n.Shape,construct:{circle:function(t){return this.put(new n.Circle).rx(new n.Number(t).divide(2)).move(0,0)}}}),n.extend(n.Circle,n.FX,{rx:function(t){return this.attr("r",t)},ry:function(t){return this.rx(t)}}),n.Ellipse=n.invent({create:"ellipse",inherit:n.Shape,construct:{ellipse:function(t,e){return this.put(new n.Ellipse).size(t,e).move(0,0)}}}),n.extend(n.Ellipse,n.Rect,n.FX,{rx:function(t){return this.attr("rx",t)},ry:function(t){return this.attr("ry",t)}}),n.extend(n.Circle,n.Ellipse,{x:function(t){return null==t?this.cx()-this.rx():this.cx(t+this.rx())},y:function(t){return null==t?this.cy()-this.ry():this.cy(t+this.ry())},cx:function(t){return null==t?this.attr("cx"):this.attr("cx",t)},cy:function(t){return null==t?this.attr("cy"):this.attr("cy",t)},width:function(t){return null==t?2*this.rx():this.rx(new n.Number(t).divide(2))},height:function(t){return null==t?2*this.ry():this.ry(new n.Number(t).divide(2))},size:function(t,e){var i=f(this,t,e);return this.rx(new n.Number(i.width).divide(2)).ry(new n.Number(i.height).divide(2))}}),n.Line=n.invent({create:"line",inherit:n.Shape,extend:{array:function(){return new n.PointArray([[this.attr("x1"),this.attr("y1")],[this.attr("x2"),this.attr("y2")]])},plot:function(t,e,i,r){return null==t?this.array():(t=void 0!==e?{x1:t,y1:e,x2:i,y2:r}:new n.PointArray(t).toLine(),this.attr(t))},move:function(t,e){return this.attr(this.array().move(t,e).toLine())},size:function(t,e){var i=f(this,t,e);return this.attr(this.array().size(i.width,i.height).toLine())}},construct:{line:function(t,e,i,r){return n.Line.prototype.plot.apply(this.put(new n.Line),null!=t?[t,e,i,r]:[0,0,0,0])}}}),n.Polyline=n.invent({create:"polyline",inherit:n.Shape,construct:{polyline:function(t){return this.put(new n.Polyline).plot(t||new n.PointArray)}}}),n.Polygon=n.invent({create:"polygon",inherit:n.Shape,construct:{polygon:function(t){return this.put(new n.Polygon).plot(t||new n.PointArray)}}}),n.extend(n.Polyline,n.Polygon,{array:function(){return this._array||(this._array=new n.PointArray(this.attr("points")))},plot:function(t){return null==t?this.array():this.clear().attr("points","string"==typeof t?t:this._array=new n.PointArray(t))},clear:function(){return delete this._array,this},move:function(t,e){return this.attr("points",this.array().move(t,e))},size:function(t,e){var i=f(this,t,e);return this.attr("points",this.array().size(i.width,i.height))}}),n.extend(n.Line,n.Polyline,n.Polygon,{morphArray:n.PointArray,x:function(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)},y:function(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)},width:function(t){var e=this.bbox();return null==t?e.width:this.size(t,e.height)},height:function(t){var e=this.bbox();return null==t?e.height:this.size(e.width,t)}}),n.Path=n.invent({create:"path",inherit:n.Shape,extend:{morphArray:n.PathArray,array:function(){return this._array||(this._array=new n.PathArray(this.attr("d")))},plot:function(t){return null==t?this.array():this.clear().attr("d","string"==typeof t?t:this._array=new n.PathArray(t))},clear:function(){return delete this._array,this},move:function(t,e){return this.attr("d",this.array().move(t,e))},x:function(t){return null==t?this.bbox().x:this.move(t,this.bbox().y)},y:function(t){return null==t?this.bbox().y:this.move(this.bbox().x,t)},size:function(t,e){var i=f(this,t,e);return this.attr("d",this.array().size(i.width,i.height))},width:function(t){return null==t?this.bbox().width:this.size(t,this.bbox().height)},height:function(t){return null==t?this.bbox().height:this.size(this.bbox().width,t)}},construct:{path:function(t){return this.put(new n.Path).plot(t||new n.PathArray)}}}),n.Image=n.invent({create:"image",inherit:n.Shape,extend:{load:function(t){if(!t)return this;var i=this,r=new e.Image;return n.on(r,"load",function(){n.off(r);var e=i.parent(n.Pattern);null!==e&&(0==i.width()&&0==i.height()&&i.size(r.width,r.height),e&&0==e.width()&&0==e.height()&&e.size(i.width(),i.height()),"function"==typeof i._loaded&&i._loaded.call(i,{width:r.width,height:r.height,ratio:r.width/r.height,url:t}))}),n.on(r,"error",function(t){n.off(r),"function"==typeof i._error&&i._error.call(i,t)}),this.attr("href",r.src=this.src=t,n.xlink)},loaded:function(t){return this._loaded=t,this},error:function(t){return this._error=t,this}},construct:{image:function(t,e,i){return this.put(new n.Image).load(t).size(e||0,i||e||0)}}}),n.Text=n.invent({create:function(){this.constructor.call(this,n.create("text")),this.dom.leading=new n.Number(1.3),this._rebuild=!0,this._build=!1,this.attr("font-family",n.defaults.attrs["font-family"])},inherit:n.Shape,extend:{x:function(t){return null==t?this.attr("x"):this.attr("x",t)},y:function(t){var e=this.attr("y"),i="number"==typeof e?e-this.bbox().y:0;return null==t?"number"==typeof e?e-i:e:this.attr("y","number"==typeof t.valueOf()?t+i:t)},cx:function(t){return null==t?this.bbox().cx:this.x(t-this.bbox().width/2)},cy:function(t){return null==t?this.bbox().cy:this.y(t-this.bbox().height/2)},text:function(t){if(void 0===t){t="";for(var e=this.node.childNodes,i=0,r=e.length;i<r;++i)0!=i&&3!=e[i].nodeType&&1==n.adopt(e[i]).dom.newLined&&(t+="\n"),t+=e[i].textContent;return t}if(this.clear().build(!0),"function"==typeof t)t.call(this,this);else{i=0;for(var o=(t=t.split("\n")).length;i<o;i++)this.tspan(t[i]).newLine()}return this.build(!1).rebuild()},size:function(t){return this.attr("font-size",t).rebuild()},leading:function(t){return null==t?this.dom.leading:(this.dom.leading=new n.Number(t),this.rebuild())},lines:function(){var t=(this.textPath&&this.textPath()||this).node,e=n.utils.map(n.utils.filterSVGElements(t.childNodes),function(t){return n.adopt(t)});return new n.Set(e)},rebuild:function(t){if("boolean"==typeof t&&(this._rebuild=t),this._rebuild){var e=this,i=0,r=this.dom.leading*new n.Number(this.attr("font-size"));this.lines().each(function(){this.dom.newLined&&(e.textPath()||this.attr("x",e.attr("x")),"\n"==this.text()?i+=r:(this.attr("dy",r+i),i=0))}),this.fire("rebuild")}return this},build:function(t){return this._build=!!t,this},setData:function(t){return this.dom=t,this.dom.leading=new n.Number(t.leading||1.3),this}},construct:{text:function(t){return this.put(new n.Text).text(t)},plain:function(t){return this.put(new n.Text).plain(t)}}}),n.Tspan=n.invent({create:"tspan",inherit:n.Shape,extend:{text:function(t){return null==t?this.node.textContent+(this.dom.newLined?"\n":""):("function"==typeof t?t.call(this,this):this.plain(t),this)},dx:function(t){return this.attr("dx",t)},dy:function(t){return this.attr("dy",t)},newLine:function(){var t=this.parent(n.Text);return this.dom.newLined=!0,this.dy(t.dom.leading*t.attr("font-size")).attr("x",t.x())}}}),n.extend(n.Text,n.Tspan,{plain:function(t){return!1===this._build&&this.clear(),this.node.appendChild(i.createTextNode(t)),this},tspan:function(t){var e=(this.textPath&&this.textPath()||this).node,i=new n.Tspan;return!1===this._build&&this.clear(),e.appendChild(i.node),i.text(t)},clear:function(){for(var t=(this.textPath&&this.textPath()||this).node;t.hasChildNodes();)t.removeChild(t.lastChild);return this},length:function(){return this.node.getComputedTextLength()}}),n.TextPath=n.invent({create:"textPath",inherit:n.Parent,parent:n.Text,construct:{morphArray:n.PathArray,path:function(t){for(var e=new n.TextPath,i=this.doc().defs().path(t);this.node.hasChildNodes();)e.node.appendChild(this.node.firstChild);return this.node.appendChild(e.node),e.attr("href","#"+i,n.xlink),this},array:function(){var t=this.track();return t?t.array():null},plot:function(t){var e=this.track(),i=null;return e&&(i=e.plot(t)),null==t?i:this},track:function(){var t=this.textPath();if(t)return t.reference("href")},textPath:function(){if(this.node.firstChild&&"textPath"==this.node.firstChild.nodeName)return n.adopt(this.node.firstChild)}}}),n.Nested=n.invent({create:function(){this.constructor.call(this,n.create("svg")),this.style("overflow","visible")},inherit:n.Container,construct:{nested:function(){return this.put(new n.Nested)}}}),n.A=n.invent({create:"a",inherit:n.Container,extend:{to:function(t){return this.attr("href",t,n.xlink)},show:function(t){return this.attr("show",t,n.xlink)},target:function(t){return this.attr("target",t)}},construct:{link:function(t){return this.put(new n.A).to(t)}}}),n.extend(n.Element,{linkTo:function(t){var e=new n.A;return"function"==typeof t?t.call(e,e):e.to(t),this.parent().put(e).put(this)}}),n.Marker=n.invent({create:"marker",inherit:n.Container,extend:{width:function(t){return this.attr("markerWidth",t)},height:function(t){return this.attr("markerHeight",t)},ref:function(t,e){return this.attr("refX",t).attr("refY",e)},update:function(t){return this.clear(),"function"==typeof t&&t.call(this,this),this},toString:function(){return"url(#"+this.id()+")"}},construct:{marker:function(t,e,i){return this.defs().marker(t,e,i)}}}),n.extend(n.Defs,{marker:function(t,e,i){return this.put(new n.Marker).size(t,e).ref(t/2,e/2).viewbox(0,0,t,e).attr("orient","auto").update(i)}}),n.extend(n.Line,n.Polyline,n.Polygon,n.Path,{marker:function(t,e,i,r){var o=["marker"];return"all"!=t&&o.push(t),o=o.join("-"),t=arguments[1]instanceof n.Marker?arguments[1]:this.doc().marker(e,i,r),this.attr(o,t)}});var l={stroke:["color","width","opacity","linecap","linejoin","miterlimit","dasharray","dashoffset"],fill:["color","opacity","rule"],prefix:function(t,e){return"color"==e?t:t+"-"+e}};function c(t,e,i,r){return i+r.replace(n.regex.dots," .")}function u(t){return t.toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function h(t){return t.charAt(0).toUpperCase()+t.slice(1)}function d(t){var e=t.toString(16);return 1==e.length?"0"+e:e}function f(t,e,i){if(null==e||null==i){var n=t.bbox();null==e?e=n.width/n.height*i:null==i&&(i=n.height/n.width*e)}return{width:e,height:i}}function p(t,e,i){return{x:e*t.a+i*t.c+0,y:e*t.b+i*t.d+0}}function g(t){return{a:t[0],b:t[1],c:t[2],d:t[3],e:t[4],f:t[5]}}function m(t,e){t.cx=null==t.cx?e.bbox().cx:t.cx,t.cy=null==t.cy?e.bbox().cy:t.cy}function v(t){for(var i=t.childNodes.length-1;i>=0;i--)t.childNodes[i]instanceof e.SVGElement&&v(t.childNodes[i]);return n.adopt(t).id(n.eid(t.nodeName))}function y(t){return null==t.x&&(t.x=0,t.y=0,t.width=0,t.height=0),t.w=t.width,t.h=t.height,t.x2=t.x+t.width,t.y2=t.y+t.height,t.cx=t.x+t.width/2,t.cy=t.y+t.height/2,t}function b(t){return Math.abs(t)>1e-37?t:0}["fill","stroke"].forEach(function(t){var e,i={};i[t]=function(i){if(void 0===i)return this;if("string"==typeof i||n.Color.isRgb(i)||i&&"function"==typeof i.fill)this.attr(t,i);else for(e=l[t].length-1;e>=0;e--)null!=i[l[t][e]]&&this.attr(l.prefix(t,l[t][e]),i[l[t][e]]);return this},n.extend(n.Element,n.FX,i)}),n.extend(n.Element,n.FX,{rotate:function(t,e,i){return this.transform({rotation:t,cx:e,cy:i})},skew:function(t,e,i,n){return 1==arguments.length||3==arguments.length?this.transform({skew:t,cx:e,cy:i}):this.transform({skewX:t,skewY:e,cx:i,cy:n})},scale:function(t,e,i,n){return 1==arguments.length||3==arguments.length?this.transform({scale:t,cx:e,cy:i}):this.transform({scaleX:t,scaleY:e,cx:i,cy:n})},translate:function(t,e){return this.transform({x:t,y:e})},flip:function(t,e){return e="number"==typeof t?t:e,this.transform({flip:t||"both",offset:e})},matrix:function(t){return this.attr("transform",new n.Matrix(6==arguments.length?[].slice.call(arguments):t))},opacity:function(t){return this.attr("opacity",t)},dx:function(t){return this.x(new n.Number(t).plus(this instanceof n.FX?0:this.x()),!0)},dy:function(t){return this.y(new n.Number(t).plus(this instanceof n.FX?0:this.y()),!0)},dmove:function(t,e){return this.dx(t).dy(e)}}),n.extend(n.Rect,n.Ellipse,n.Circle,n.Gradient,n.FX,{radius:function(t,e){var i=(this._target||this).type;return"radial"==i||"circle"==i?this.attr("r",new n.Number(t)):this.rx(t).ry(null==e?t:e)}}),n.extend(n.Path,{length:function(){return this.node.getTotalLength()},pointAt:function(t){return this.node.getPointAtLength(t)}}),n.extend(n.Parent,n.Text,n.Tspan,n.FX,{font:function(e,i){if("object"===t(e))for(i in e)this.font(i,e[i]);return"leading"==e?this.leading(i):"anchor"==e?this.attr("text-anchor",i):"size"==e||"family"==e||"weight"==e||"stretch"==e||"variant"==e||"style"==e?this.attr("font-"+e,i):this.attr(e,i)}}),n.Set=n.invent({create:function(t){Array.isArray(t)?this.members=t:this.clear()},extend:{add:function(){var t,e,i=[].slice.call(arguments);for(t=0,e=i.length;t<e;t++)this.members.push(i[t]);return this},remove:function(t){var e=this.index(t);return e>-1&&this.members.splice(e,1),this},each:function(t){for(var e=0,i=this.members.length;e<i;e++)t.apply(this.members[e],[e,this.members]);return this},clear:function(){return this.members=[],this},length:function(){return this.members.length},has:function(t){return this.index(t)>=0},index:function(t){return this.members.indexOf(t)},get:function(t){return this.members[t]},first:function(){return this.get(0)},last:function(){return this.get(this.members.length-1)},valueOf:function(){return this.members},bbox:function(){if(0==this.members.length)return new n.RBox;var t=this.members[0].rbox(this.members[0].doc());return this.each(function(){t=t.merge(this.rbox(this.doc()))}),t}},construct:{set:function(t){return new n.Set(t)}}}),n.FX.Set=n.invent({create:function(t){this.set=t}}),n.Set.inherit=function(){var t=[];for(var e in n.Shape.prototype)"function"==typeof n.Shape.prototype[e]&&"function"!=typeof n.Set.prototype[e]&&t.push(e);for(var e in t.forEach(function(t){n.Set.prototype[t]=function(){for(var e=0,i=this.members.length;e<i;e++)this.members[e]&&"function"==typeof this.members[e][t]&&this.members[e][t].apply(this.members[e],arguments);return"animate"==t?this.fx||(this.fx=new n.FX.Set(this)):this}}),t=[],n.FX.prototype)"function"==typeof n.FX.prototype[e]&&"function"!=typeof n.FX.Set.prototype[e]&&t.push(e);t.forEach(function(t){n.FX.Set.prototype[t]=function(){for(var e=0,i=this.set.members.length;e<i;e++)this.set.members[e].fx[t].apply(this.set.members[e].fx,arguments);return this}})},n.extend(n.Element,{data:function(e,i,n){if("object"===t(e))for(i in e)this.data(i,e[i]);else if(arguments.length<2)try{return JSON.parse(this.attr("data-"+e))}catch(t){return this.attr("data-"+e)}else this.attr("data-"+e,null===i?null:!0===n||"string"==typeof i||"number"==typeof i?i:JSON.stringify(i));return this}}),n.extend(n.Element,{remember:function(e,i){if("object"===t(arguments[0]))for(var i in e)this.remember(i,e[i]);else{if(1==arguments.length)return this.memory()[e];this.memory()[e]=i}return this},forget:function(){if(0==arguments.length)this._memory={};else for(var t=arguments.length-1;t>=0;t--)delete this.memory()[arguments[t]];return this},memory:function(){return this._memory||(this._memory={})}}),n.get=function(t){var e=i.getElementById(function(t){var e=(t||"").toString().match(n.regex.reference);if(e)return e[1]}(t)||t);return n.adopt(e)},n.select=function(t,e){return new n.Set(n.utils.map((e||i).querySelectorAll(t),function(t){return n.adopt(t)}))},n.extend(n.Parent,{select:function(t){return n.select(t,this.node)}});var L="abcdef".split("");if("function"!=typeof e.CustomEvent){var x=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=i.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n};x.prototype=e.Event.prototype,n.CustomEvent=x}else n.CustomEvent=e.CustomEvent;return function(t){for(var i=0,n=["moz","webkit"],r=0;r<n.length&&!e.requestAnimationFrame;++r)t.requestAnimationFrame=t[n[r]+"RequestAnimationFrame"],t.cancelAnimationFrame=t[n[r]+"CancelAnimationFrame"]||t[n[r]+"CancelRequestAnimationFrame"];t.requestAnimationFrame=t.requestAnimationFrame||function(e){var n=(new Date).getTime(),r=Math.max(0,16-(n-i)),o=t.setTimeout(function(){e(n+r)},r);return i=n+r,o},t.cancelAnimationFrame=t.cancelAnimationFrame||t.clearTimeout}(e),n},"function"==typeof define&&define.amd?define(function(){return rt(nt,nt.document)}):"object"===("undefined"==typeof exports?"undefined":t(exports))&&"undefined"!=typeof module?module.exports=nt.document?rt(nt,nt.document):function(t){return rt(t,t.document)}:nt.SVG=rt(nt,nt.document),function(){SVG.Filter=SVG.invent({create:"filter",inherit:SVG.Parent,extend:{source:"SourceGraphic",sourceAlpha:"SourceAlpha",background:"BackgroundImage",backgroundAlpha:"BackgroundAlpha",fill:"FillPaint",stroke:"StrokePaint",autoSetIn:!0,put:function(t,e){return this.add(t,e),!t.attr("in")&&this.autoSetIn&&t.attr("in",this.source),t.attr("result")||t.attr("result",t),t},blend:function(t,e,i){return this.put(new SVG.BlendEffect(t,e,i))},colorMatrix:function(t,e){return this.put(new SVG.ColorMatrixEffect(t,e))},convolveMatrix:function(t){return this.put(new SVG.ConvolveMatrixEffect(t))},componentTransfer:function(t){return this.put(new SVG.ComponentTransferEffect(t))},composite:function(t,e,i){return this.put(new SVG.CompositeEffect(t,e,i))},flood:function(t,e){return this.put(new SVG.FloodEffect(t,e))},offset:function(t,e){return this.put(new SVG.OffsetEffect(t,e))},image:function(t){return this.put(new SVG.ImageEffect(t))},merge:function(){var t=[void 0];for(var e in arguments)t.push(arguments[e]);return this.put(new(SVG.MergeEffect.bind.apply(SVG.MergeEffect,t)))},gaussianBlur:function(t,e){return this.put(new SVG.GaussianBlurEffect(t,e))},morphology:function(t,e){return this.put(new SVG.MorphologyEffect(t,e))},diffuseLighting:function(t,e,i){return this.put(new SVG.DiffuseLightingEffect(t,e,i))},displacementMap:function(t,e,i,n,r){return this.put(new SVG.DisplacementMapEffect(t,e,i,n,r))},specularLighting:function(t,e,i,n){return this.put(new SVG.SpecularLightingEffect(t,e,i,n))},tile:function(){return this.put(new SVG.TileEffect)},turbulence:function(t,e,i,n,r){return this.put(new SVG.TurbulenceEffect(t,e,i,n,r))},toString:function(){return"url(#"+this.attr("id")+")"}}}),SVG.extend(SVG.Defs,{filter:function(t){var e=this.put(new SVG.Filter);return"function"==typeof t&&t.call(e,e),e}}),SVG.extend(SVG.Container,{filter:function(t){return this.defs().filter(t)}}),SVG.extend(SVG.Element,SVG.G,SVG.Nested,{filter:function(t){return this.filterer=t instanceof SVG.Element?t:this.doc().filter(t),this.doc()&&this.filterer.doc()!==this.doc()&&this.doc().defs().add(this.filterer),this.attr("filter",this.filterer),this.filterer},unfilter:function(t){return this.filterer&&!0===t&&this.filterer.remove(),delete this.filterer,this.attr("filter",null)}}),SVG.Effect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(t){return null==t?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",t)},result:function(t){return null==t?this.attr("result"):this.attr("result",t)},toString:function(){return this.result()}}}),SVG.ParentEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Parent,extend:{in:function(t){return null==t?this.parent()&&this.parent().select('[result="'+this.attr("in")+'"]').get(0)||this.attr("in"):this.attr("in",t)},result:function(t){return null==t?this.attr("result"):this.attr("result",t)},toString:function(){return this.result()}}});var t={blend:function(t,e){return this.parent()&&this.parent().blend(this,t,e)},colorMatrix:function(t,e){return this.parent()&&this.parent().colorMatrix(t,e).in(this)},convolveMatrix:function(t){return this.parent()&&this.parent().convolveMatrix(t).in(this)},componentTransfer:function(t){return this.parent()&&this.parent().componentTransfer(t).in(this)},composite:function(t,e){return this.parent()&&this.parent().composite(this,t,e)},flood:function(t,e){return this.parent()&&this.parent().flood(t,e)},offset:function(t,e){return this.parent()&&this.parent().offset(t,e).in(this)},image:function(t){return this.parent()&&this.parent().image(t)},merge:function(){return this.parent()&&this.parent().merge.apply(this.parent(),[this].concat(arguments))},gaussianBlur:function(t,e){return this.parent()&&this.parent().gaussianBlur(t,e).in(this)},morphology:function(t,e){return this.parent()&&this.parent().morphology(t,e).in(this)},diffuseLighting:function(t,e,i){return this.parent()&&this.parent().diffuseLighting(t,e,i).in(this)},displacementMap:function(t,e,i,n){return this.parent()&&this.parent().displacementMap(this,t,e,i,n)},specularLighting:function(t,e,i,n){return this.parent()&&this.parent().specularLighting(t,e,i,n).in(this)},tile:function(){return this.parent()&&this.parent().tile().in(this)},turbulence:function(t,e,i,n,r){return this.parent()&&this.parent().turbulence(t,e,i,n,r).in(this)}};SVG.extend(SVG.Effect,t),SVG.extend(SVG.ParentEffect,t),SVG.ChildEffect=SVG.invent({create:function(){this.constructor.call(this)},inherit:SVG.Element,extend:{in:function(t){this.attr("in",t)}}});var e={blend:function(t,e,i){this.attr({in:t,in2:e,mode:i||"normal"})},colorMatrix:function(t,e){"matrix"==t&&(e=r(e)),this.attr({type:t,values:void 0===e?null:e})},convolveMatrix:function(t){t=r(t),this.attr({order:Math.sqrt(t.split(" ").length),kernelMatrix:t})},composite:function(t,e,i){this.attr({in:t,in2:e,operator:i})},flood:function(t,e){this.attr("flood-color",t),null!=e&&this.attr("flood-opacity",e)},offset:function(t,e){this.attr({dx:t,dy:e})},image:function(t){this.attr("href",t,SVG.xlink)},displacementMap:function(t,e,i,n,r){this.attr({in:t,in2:e,scale:i,xChannelSelector:n,yChannelSelector:r})},gaussianBlur:function(t,e){null!=t||null!=e?this.attr("stdDeviation",function(t){if(!Array.isArray(t))return t;for(var e=0,i=t.length,n=[];e<i;e++)n.push(t[e]);return n.join(" ")}(Array.prototype.slice.call(arguments))):this.attr("stdDeviation","0 0")},morphology:function(t,e){this.attr({operator:t,radius:e})},tile:function(){},turbulence:function(t,e,i,n,r){this.attr({numOctaves:e,seed:i,stitchTiles:n,baseFrequency:t,type:r})}},i={merge:function(){var t;if(arguments[0]instanceof SVG.Set){var e=this;arguments[0].each(function(t){this instanceof SVG.MergeNode?e.put(this):(this instanceof SVG.Effect||this instanceof SVG.ParentEffect)&&e.put(new SVG.MergeNode(this))})}else{t=Array.isArray(arguments[0])?arguments[0]:arguments;for(var i=0;i<t.length;i++)t[i]instanceof SVG.MergeNode?this.put(t[i]):this.put(new SVG.MergeNode(t[i]))}},componentTransfer:function(t){if(this.rgb=new SVG.Set,["r","g","b","a"].forEach(function(t){this[t]=new(SVG["Func"+t.toUpperCase()])("identity"),this.rgb.add(this[t]),this.node.appendChild(this[t].node)}.bind(this)),t)for(var e in t.rgb&&(["r","g","b"].forEach(function(e){this[e].attr(t.rgb)}.bind(this)),delete t.rgb),t)this[e].attr(t[e])},diffuseLighting:function(t,e,i){this.attr({surfaceScale:t,diffuseConstant:e,kernelUnitLength:i})},specularLighting:function(t,e,i,n){this.attr({surfaceScale:t,diffuseConstant:e,specularExponent:i,kernelUnitLength:n})}},n={distantLight:function(t,e){this.attr({azimuth:t,elevation:e})},pointLight:function(t,e,i){this.attr({x:t,y:e,z:i})},spotLight:function(t,e,i,n,r,o){this.attr({x:t,y:e,z:i,pointsAtX:n,pointsAtY:r,pointsAtZ:o})},mergeNode:function(t){this.attr("in",t)}};function r(t){return Array.isArray(t)&&(t=new SVG.Array(t)),t.toString().replace(/^\s+/,"").replace(/\s+$/,"").replace(/\s+/g," ")}function o(){var t=function(){};for(var e in"function"==typeof arguments[arguments.length-1]&&(t=arguments[arguments.length-1],Array.prototype.splice.call(arguments,arguments.length-1,1)),arguments)for(var i in arguments[e])t(arguments[e][i],i,arguments[e])}["r","g","b","a"].forEach(function(t){n["Func"+t.toUpperCase()]=function(t){switch(this.attr("type",t),t){case"table":this.attr("tableValues",arguments[1]);break;case"linear":this.attr("slope",arguments[1]),this.attr("intercept",arguments[2]);break;case"gamma":this.attr("amplitude",arguments[1]),this.attr("exponent",arguments[2]),this.attr("offset",arguments[2])}}}),o(e,function(t,e){var i=e.charAt(0).toUpperCase()+e.slice(1);SVG[i+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+i)),t.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.Effect,extend:{}})}),o(i,function(t,e){var i=e.charAt(0).toUpperCase()+e.slice(1);SVG[i+"Effect"]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+i)),t.apply(this,arguments),this.result(this.attr("id")+"Out")},inherit:SVG.ParentEffect,extend:{}})}),o(n,function(t,e){var i=e.charAt(0).toUpperCase()+e.slice(1);SVG[i]=SVG.invent({create:function(){this.constructor.call(this,SVG.create("fe"+i)),t.apply(this,arguments)},inherit:SVG.ChildEffect,extend:{}})}),SVG.extend(SVG.MergeEffect,{in:function(t){return t instanceof SVG.MergeNode?this.add(t,0):this.add(new SVG.MergeNode(t),0),this}}),SVG.extend(SVG.CompositeEffect,SVG.BlendEffect,SVG.DisplacementMapEffect,{in2:function(t){return null==t?this.parent()&&this.parent().select('[result="'+this.attr("in2")+'"]').get(0)||this.attr("in2"):this.attr("in2",t)}}),SVG.filter={sepiatone:[.343,.669,.119,0,0,.249,.626,.13,0,0,.172,.334,.111,0,0,0,0,0,1,0]}}.call(void 0),function(){function t(t,r,o,a,s,l,c){for(var u=t.slice(r,o||c),h=a.slice(s,l||c),d=0,f={pos:[0,0],start:[0,0]},p={pos:[0,0],start:[0,0]};u[d]=e.call(f,u[d]),h[d]=e.call(p,h[d]),u[d][0]!=h[d][0]||"M"==u[d][0]||"A"==u[d][0]&&(u[d][4]!=h[d][4]||u[d][5]!=h[d][5])?(Array.prototype.splice.apply(u,[d,1].concat(n.call(f,u[d]))),Array.prototype.splice.apply(h,[d,1].concat(n.call(p,h[d])))):(u[d]=i.call(f,u[d]),h[d]=i.call(p,h[d])),++d!=u.length||d!=h.length;)d==u.length&&u.push(["C",f.pos[0],f.pos[1],f.pos[0],f.pos[1],f.pos[0],f.pos[1]]),d==h.length&&h.push(["C",p.pos[0],p.pos[1],p.pos[0],p.pos[1],p.pos[0],p.pos[1]]);return{start:u,dest:h}}function e(t){switch(t[0]){case"z":case"Z":t[0]="L",t[1]=this.start[0],t[2]=this.start[1];break;case"H":t[0]="L",t[2]=this.pos[1];break;case"V":t[0]="L",t[2]=t[1],t[1]=this.pos[0];break;case"T":t[0]="Q",t[3]=t[1],t[4]=t[2],t[1]=this.reflection[1],t[2]=this.reflection[0];break;case"S":t[0]="C",t[6]=t[4],t[5]=t[3],t[4]=t[2],t[3]=t[1],t[2]=this.reflection[1],t[1]=this.reflection[0]}return t}function i(t){var e=t.length;return this.pos=[t[e-2],t[e-1]],-1!="SCQT".indexOf(t[0])&&(this.reflection=[2*this.pos[0]-t[e-4],2*this.pos[1]-t[e-3]]),t}function n(t){var e=[t];switch(t[0]){case"M":return this.pos=this.start=[t[1],t[2]],e;case"L":t[5]=t[3]=t[1],t[6]=t[4]=t[2],t[1]=this.pos[0],t[2]=this.pos[1];break;case"Q":t[6]=t[4],t[5]=t[3],t[4]=1*t[4]/3+2*t[2]/3,t[3]=1*t[3]/3+2*t[1]/3,t[2]=1*this.pos[1]/3+2*t[2]/3,t[1]=1*this.pos[0]/3+2*t[1]/3;break;case"A":t=(e=function(t,e){var i,n,r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L,x,w,_,S,C,k,T,E=Math.abs(e[1]),A=Math.abs(e[2]),M=e[3]%360,D=e[4],P=e[5],O=e[6],I=e[7],N=new SVG.Point(t),R=new SVG.Point(O,I),F=[];if(0===E||0===A||N.x===R.x&&N.y===R.y)return[["C",N.x,N.y,R.x,R.y,R.x,R.y]];for((n=(i=new SVG.Point((N.x-R.x)/2,(N.y-R.y)/2).transform((new SVG.Matrix).rotate(M))).x*i.x/(E*E)+i.y*i.y/(A*A))>1&&(E*=n=Math.sqrt(n),A*=n),r=(new SVG.Matrix).rotate(M).scale(1/E,1/A).rotate(-M),N=N.transform(r),s=(o=[(R=R.transform(r)).x-N.x,R.y-N.y])[0]*o[0]+o[1]*o[1],a=Math.sqrt(s),o[0]/=a,o[1]/=a,l=s<4?Math.sqrt(1-s/4):0,D===P&&(l*=-1),c=new SVG.Point((R.x+N.x)/2+l*-o[1],(R.y+N.y)/2+l*o[0]),u=new SVG.Point(N.x-c.x,N.y-c.y),h=new SVG.Point(R.x-c.x,R.y-c.y),d=Math.acos(u.x/Math.sqrt(u.x*u.x+u.y*u.y)),u.y<0&&(d*=-1),f=Math.acos(h.x/Math.sqrt(h.x*h.x+h.y*h.y)),h.y<0&&(f*=-1),P&&d>f&&(f+=2*Math.PI),!P&&d<f&&(f-=2*Math.PI),v=[],y=d,p=(f-d)/(g=Math.ceil(2*Math.abs(d-f)/Math.PI)),m=4*Math.tan(p/4)/3,w=0;w<=g;w++)L=Math.cos(y),b=Math.sin(y),x=new SVG.Point(c.x+L,c.y+b),v[w]=[new SVG.Point(x.x+m*b,x.y-m*L),x,new SVG.Point(x.x-m*b,x.y+m*L)],y+=p;for(v[0][0]=v[0][1].clone(),v[v.length-1][2]=v[v.length-1][1].clone(),r=(new SVG.Matrix).rotate(M).scale(E,A).rotate(-M),w=0,_=v.length;w<_;w++)v[w][0]=v[w][0].transform(r),v[w][1]=v[w][1].transform(r),v[w][2]=v[w][2].transform(r);for(w=1,_=v.length;w<_;w++)S=(x=v[w-1][2]).x,C=x.y,k=(x=v[w][0]).x,T=x.y,O=(x=v[w][1]).x,I=x.y,F.push(["C",S,C,k,T,O,I]);return F}(this.pos,t))[0]}return t[0]="C",this.pos=[t[5],t[6]],this.reflection=[2*t[5]-t[3],2*t[6]-t[4]],e}function r(t,e){if(!1===e)return!1;for(var i=e,n=t.length;i<n;++i)if("M"==t[i][0])return i;return!1}SVG.extend(SVG.PathArray,{morph:function(e){for(var i=this.value,n=this.parse(e),o=0,a=0,s=!1,l=!1;!1!==o||!1!==a;){var c;s=r(i,!1!==o&&o+1),l=r(n,!1!==a&&a+1),!1===o&&(o=0==(c=new SVG.PathArray(u.start).bbox()).height||0==c.width?i.push(i[0])-1:i.push(["M",c.x+c.width/2,c.y+c.height/2])-1),!1===a&&(a=0==(c=new SVG.PathArray(u.dest).bbox()).height||0==c.width?n.push(n[0])-1:n.push(["M",c.x+c.width/2,c.y+c.height/2])-1);var u=t(i,o,s,n,a,l);i=i.slice(0,o).concat(u.start,!1===s?[]:i.slice(s)),n=n.slice(0,a).concat(u.dest,!1===l?[]:n.slice(l)),o=!1!==s&&o+u.start.length,a=!1!==l&&a+u.dest.length}return this.value=i,this.destination=new SVG.PathArray,this.destination.value=n,this}})}(),function(){function t(t){t.remember("_draggable",this),this.el=t}t.prototype.init=function(t,e){var i=this;this.constraint=t,this.value=e,this.el.on("mousedown.drag",function(t){i.start(t)}),this.el.on("touchstart.drag",function(t){i.start(t)})},t.prototype.transformPoint=function(t,e){var i=(t=t||window.event).changedTouches&&t.changedTouches[0]||t;return this.p.x=i.clientX-(e||0),this.p.y=i.clientY,this.p.matrixTransform(this.m)},t.prototype.getBBox=function(){var t=this.el.bbox();return this.el instanceof SVG.Nested&&(t=this.el.rbox()),(this.el instanceof SVG.G||this.el instanceof SVG.Use||this.el instanceof SVG.Nested)&&(t.x=this.el.x(),t.y=this.el.y()),t},t.prototype.start=function(t){if("click"!=t.type&&"mousedown"!=t.type&&"mousemove"!=t.type||1==(t.which||t.buttons)){var e=this;if(this.el.fire("beforedrag",{event:t,handler:this}),!this.el.event().defaultPrevented){t.preventDefault(),t.stopPropagation(),this.parent=this.parent||this.el.parent(SVG.Nested)||this.el.parent(SVG.Doc),this.p=this.parent.node.createSVGPoint(),this.m=this.el.node.getScreenCTM().inverse();var i,n=this.getBBox();if(this.el instanceof SVG.Text)switch(i=this.el.node.getComputedTextLength(),this.el.attr("text-anchor")){case"middle":i/=2;break;case"start":i=0}this.startPoints={point:this.transformPoint(t,i),box:n,transform:this.el.transform()},SVG.on(window,"mousemove.drag",function(t){e.drag(t)}),SVG.on(window,"touchmove.drag",function(t){e.drag(t)}),SVG.on(window,"mouseup.drag",function(t){e.end(t)}),SVG.on(window,"touchend.drag",function(t){e.end(t)}),this.el.fire("dragstart",{event:t,p:this.startPoints.point,m:this.m,handler:this})}}},t.prototype.drag=function(t){var e=this.getBBox(),i=this.transformPoint(t),n=this.startPoints.box.x+i.x-this.startPoints.point.x,r=this.startPoints.box.y+i.y-this.startPoints.point.y,o=this.constraint,a=i.x-this.startPoints.point.x,s=i.y-this.startPoints.point.y;if(this.el.fire("dragmove",{event:t,p:i,m:this.m,handler:this}),this.el.event().defaultPrevented)return i;if("function"==typeof o){var l=o.call(this.el,n,r,this.m);"boolean"==typeof l&&(l={x:l,y:l}),!0===l.x?this.el.x(n):!1!==l.x&&this.el.x(l.x),!0===l.y?this.el.y(r):!1!==l.y&&this.el.y(l.y)}else"object"==typeof o&&(null!=o.minX&&n<o.minX?a=(n=o.minX)-this.startPoints.box.x:null!=o.maxX&&n>o.maxX-e.width&&(a=(n=o.maxX-e.width)-this.startPoints.box.x),null!=o.minY&&r<o.minY?s=(r=o.minY)-this.startPoints.box.y:null!=o.maxY&&r>o.maxY-e.height&&(s=(r=o.maxY-e.height)-this.startPoints.box.y),null!=o.snapToGrid&&(n-=n%o.snapToGrid,r-=r%o.snapToGrid,a-=a%o.snapToGrid,s-=s%o.snapToGrid),this.el instanceof SVG.G?this.el.matrix(this.startPoints.transform).transform({x:a,y:s},!0):this.el.move(n,r));return i},t.prototype.end=function(t){var e=this.drag(t);this.el.fire("dragend",{event:t,p:e,m:this.m,handler:this}),SVG.off(window,"mousemove.drag"),SVG.off(window,"touchmove.drag"),SVG.off(window,"mouseup.drag"),SVG.off(window,"touchend.drag")},SVG.extend(SVG.Element,{draggable:function(e,i){"function"!=typeof e&&"object"!=typeof e||(i=e,e=!0);var n=this.remember("_draggable")||new t(this);return(e=void 0===e||e)?n.init(i||{},e):(this.off("mousedown.drag"),this.off("touchstart.drag")),this}})}.call(void 0),function(){function t(t){this.el=t,t.remember("_selectHandler",this),this.pointSelection={isSelected:!1},this.rectSelection={isSelected:!1}}t.prototype.init=function(t,e){var i=this.el.bbox();for(var n in this.options={},this.el.selectize.defaults)this.options[n]=this.el.selectize.defaults[n],void 0!==e[n]&&(this.options[n]=e[n]);this.parent=this.el.parent(),this.nested=this.nested||this.parent.group(),this.nested.matrix(new SVG.Matrix(this.el).translate(i.x,i.y)),this.options.deepSelect&&-1!==["line","polyline","polygon"].indexOf(this.el.type)?this.selectPoints(t):this.selectRect(t),this.observe(),this.cleanup()},t.prototype.selectPoints=function(t){return this.pointSelection.isSelected=t,this.pointSelection.set?this:(this.pointSelection.set=this.parent.set(),this.drawCircles(),this)},t.prototype.getPointArray=function(){var t=this.el.bbox();return this.el.array().valueOf().map(function(e){return[e[0]-t.x,e[1]-t.y]})},t.prototype.drawCircles=function(){for(var t=this,e=this.getPointArray(),i=0,n=e.length;i<n;++i){var r=function(e){return function(i){(i=i||window.event).preventDefault?i.preventDefault():i.returnValue=!1,i.stopPropagation();var n=i.pageX||i.touches[0].pageX,r=i.pageY||i.touches[0].pageY;t.el.fire("point",{x:n,y:r,i:e,event:i})}}(i);this.pointSelection.set.add(this.nested.circle(this.options.radius).center(e[i][0],e[i][1]).addClass(this.options.classPoints).addClass(this.options.classPoints+"_point").on("touchstart",r).on("mousedown",r))}},t.prototype.updatePointSelection=function(){var t=this.getPointArray();this.pointSelection.set.each(function(e){this.cx()===t[e][0]&&this.cy()===t[e][1]||this.center(t[e][0],t[e][1])})},t.prototype.updateRectSelection=function(){var t=this.el.bbox();this.rectSelection.set.get(0).attr({width:t.width,height:t.height}),this.options.points&&(this.rectSelection.set.get(2).center(t.width,0),this.rectSelection.set.get(3).center(t.width,t.height),this.rectSelection.set.get(4).center(0,t.height),this.rectSelection.set.get(5).center(t.width/2,0),this.rectSelection.set.get(6).center(t.width,t.height/2),this.rectSelection.set.get(7).center(t.width/2,t.height),this.rectSelection.set.get(8).center(0,t.height/2)),this.options.rotationPoint&&(this.options.points?this.rectSelection.set.get(9).center(t.width/2,20):this.rectSelection.set.get(1).center(t.width/2,20))},t.prototype.selectRect=function(t){var e=this,i=this.el.bbox();function n(t){return function(i){(i=i||window.event).preventDefault?i.preventDefault():i.returnValue=!1,i.stopPropagation();var n=i.pageX||i.touches[0].pageX,r=i.pageY||i.touches[0].pageY;e.el.fire(t,{x:n,y:r,event:i})}}if(this.rectSelection.isSelected=t,this.rectSelection.set=this.rectSelection.set||this.parent.set(),this.rectSelection.set.get(0)||this.rectSelection.set.add(this.nested.rect(i.width,i.height).addClass(this.options.classRect)),this.options.points&&!this.rectSelection.set.get(1)){var r="touchstart",o="mousedown";this.rectSelection.set.add(this.nested.circle(this.options.radius).center(0,0).attr("class",this.options.classPoints+"_lt").on(o,n("lt")).on(r,n("lt"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width,0).attr("class",this.options.classPoints+"_rt").on(o,n("rt")).on(r,n("rt"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width,i.height).attr("class",this.options.classPoints+"_rb").on(o,n("rb")).on(r,n("rb"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(0,i.height).attr("class",this.options.classPoints+"_lb").on(o,n("lb")).on(r,n("lb"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width/2,0).attr("class",this.options.classPoints+"_t").on(o,n("t")).on(r,n("t"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width,i.height/2).attr("class",this.options.classPoints+"_r").on(o,n("r")).on(r,n("r"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width/2,i.height).attr("class",this.options.classPoints+"_b").on(o,n("b")).on(r,n("b"))),this.rectSelection.set.add(this.nested.circle(this.options.radius).center(0,i.height/2).attr("class",this.options.classPoints+"_l").on(o,n("l")).on(r,n("l"))),this.rectSelection.set.each(function(){this.addClass(e.options.classPoints)})}if(this.options.rotationPoint&&(this.options.points&&!this.rectSelection.set.get(9)||!this.options.points&&!this.rectSelection.set.get(1))){var a=function(t){(t=t||window.event).preventDefault?t.preventDefault():t.returnValue=!1,t.stopPropagation();var i=t.pageX||t.touches[0].pageX,n=t.pageY||t.touches[0].pageY;e.el.fire("rot",{x:i,y:n,event:t})};this.rectSelection.set.add(this.nested.circle(this.options.radius).center(i.width/2,20).attr("class",this.options.classPoints+"_rot").on("touchstart",a).on("mousedown",a))}},t.prototype.handler=function(){var t=this.el.bbox();this.nested.matrix(new SVG.Matrix(this.el).translate(t.x,t.y)),this.rectSelection.isSelected&&this.updateRectSelection(),this.pointSelection.isSelected&&this.updatePointSelection()},t.prototype.observe=function(){var t=this;if(MutationObserver)if(this.rectSelection.isSelected||this.pointSelection.isSelected)this.observerInst=this.observerInst||new MutationObserver(function(){t.handler()}),this.observerInst.observe(this.el.node,{attributes:!0});else try{this.observerInst.disconnect(),delete this.observerInst}catch(t){}else this.el.off("DOMAttrModified.select"),(this.rectSelection.isSelected||this.pointSelection.isSelected)&&this.el.on("DOMAttrModified.select",function(){t.handler()})},t.prototype.cleanup=function(){!this.rectSelection.isSelected&&this.rectSelection.set&&(this.rectSelection.set.each(function(){this.remove()}),this.rectSelection.set.clear(),delete this.rectSelection.set),!this.pointSelection.isSelected&&this.pointSelection.set&&(this.pointSelection.set.each(function(){this.remove()}),this.pointSelection.set.clear(),delete this.pointSelection.set),this.pointSelection.isSelected||this.rectSelection.isSelected||(this.nested.remove(),delete this.nested)},SVG.extend(SVG.Element,{selectize:function(e,i){return"object"==typeof e&&(i=e,e=!0),(this.remember("_selectHandler")||new t(this)).init(void 0===e||e,i||{}),this}}),SVG.Element.prototype.selectize.defaults={points:!0,classRect:"svg_select_boundingRect",classPoints:"svg_select_points",radius:7,rotationPoint:!0,deepSelect:!1}}(),function(){(function(){function t(t){t.remember("_resizeHandler",this),this.el=t,this.parameters={},this.lastUpdateCall=null,this.p=t.doc().node.createSVGPoint()}t.prototype.transformPoint=function(t,e,i){return this.p.x=t-(this.offset.x-window.pageXOffset),this.p.y=e-(this.offset.y-window.pageYOffset),this.p.matrixTransform(i||this.m)},t.prototype._extractPosition=function(t){return{x:null!=t.clientX?t.clientX:t.touches[0].clientX,y:null!=t.clientY?t.clientY:t.touches[0].clientY}},t.prototype.init=function(t){var e=this;if(this.stop(),"stop"!==t){for(var i in this.options={},this.el.resize.defaults)this.options[i]=this.el.resize.defaults[i],void 0!==t[i]&&(this.options[i]=t[i]);this.el.on("lt.resize",function(t){e.resize(t||window.event)}),this.el.on("rt.resize",function(t){e.resize(t||window.event)}),this.el.on("rb.resize",function(t){e.resize(t||window.event)}),this.el.on("lb.resize",function(t){e.resize(t||window.event)}),this.el.on("t.resize",function(t){e.resize(t||window.event)}),this.el.on("r.resize",function(t){e.resize(t||window.event)}),this.el.on("b.resize",function(t){e.resize(t||window.event)}),this.el.on("l.resize",function(t){e.resize(t||window.event)}),this.el.on("rot.resize",function(t){e.resize(t||window.event)}),this.el.on("point.resize",function(t){e.resize(t||window.event)}),this.update()}},t.prototype.stop=function(){return this.el.off("lt.resize"),this.el.off("rt.resize"),this.el.off("rb.resize"),this.el.off("lb.resize"),this.el.off("t.resize"),this.el.off("r.resize"),this.el.off("b.resize"),this.el.off("l.resize"),this.el.off("rot.resize"),this.el.off("point.resize"),this},t.prototype.resize=function(t){var e=this;this.m=this.el.node.getScreenCTM().inverse(),this.offset={x:window.pageXOffset,y:window.pageYOffset};var i=this._extractPosition(t.detail.event);if(this.parameters={type:this.el.type,p:this.transformPoint(i.x,i.y),x:t.detail.x,y:t.detail.y,box:this.el.bbox(),rotation:this.el.transform().rotation},"text"===this.el.type&&(this.parameters.fontSize=this.el.attr()["font-size"]),void 0!==t.detail.i){var n=this.el.array().valueOf();this.parameters.i=t.detail.i,this.parameters.pointCoords=[n[t.detail.i][0],n[t.detail.i][1]]}switch(t.type){case"lt":this.calc=function(t,e){var i=this.snapToGrid(t,e);if(this.parameters.box.width-i[0]>0&&this.parameters.box.height-i[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-i[0]);i=this.checkAspectRatio(i),this.el.move(this.parameters.box.x+i[0],this.parameters.box.y+i[1]).size(this.parameters.box.width-i[0],this.parameters.box.height-i[1])}};break;case"rt":this.calc=function(t,e){var i=this.snapToGrid(t,e,2);if(this.parameters.box.width+i[0]>0&&this.parameters.box.height-i[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+i[0]);i=this.checkAspectRatio(i,!0),this.el.move(this.parameters.box.x,this.parameters.box.y+i[1]).size(this.parameters.box.width+i[0],this.parameters.box.height-i[1])}};break;case"rb":this.calc=function(t,e){var i=this.snapToGrid(t,e,0);if(this.parameters.box.width+i[0]>0&&this.parameters.box.height+i[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x-i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize+i[0]);i=this.checkAspectRatio(i),this.el.move(this.parameters.box.x,this.parameters.box.y).size(this.parameters.box.width+i[0],this.parameters.box.height+i[1])}};break;case"lb":this.calc=function(t,e){var i=this.snapToGrid(t,e,1);if(this.parameters.box.width-i[0]>0&&this.parameters.box.height+i[1]>0){if("text"===this.parameters.type)return this.el.move(this.parameters.box.x+i[0],this.parameters.box.y),void this.el.attr("font-size",this.parameters.fontSize-i[0]);i=this.checkAspectRatio(i,!0),this.el.move(this.parameters.box.x+i[0],this.parameters.box.y).size(this.parameters.box.width-i[0],this.parameters.box.height+i[1])}};break;case"t":this.calc=function(t,e){var i=this.snapToGrid(t,e,2);if(this.parameters.box.height-i[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y+i[1]).height(this.parameters.box.height-i[1])}};break;case"r":this.calc=function(t,e){var i=this.snapToGrid(t,e,0);if(this.parameters.box.width+i[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).width(this.parameters.box.width+i[0])}};break;case"b":this.calc=function(t,e){var i=this.snapToGrid(t,e,0);if(this.parameters.box.height+i[1]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x,this.parameters.box.y).height(this.parameters.box.height+i[1])}};break;case"l":this.calc=function(t,e){var i=this.snapToGrid(t,e,1);if(this.parameters.box.width-i[0]>0){if("text"===this.parameters.type)return;this.el.move(this.parameters.box.x+i[0],this.parameters.box.y).width(this.parameters.box.width-i[0])}};break;case"rot":this.calc=function(t,e){var i=t+this.parameters.p.x,n=e+this.parameters.p.y,r=Math.atan2(this.parameters.p.y-this.parameters.box.y-this.parameters.box.height/2,this.parameters.p.x-this.parameters.box.x-this.parameters.box.width/2),o=Math.atan2(n-this.parameters.box.y-this.parameters.box.height/2,i-this.parameters.box.x-this.parameters.box.width/2),a=this.parameters.rotation+180*(o-r)/Math.PI+this.options.snapToAngle/2;this.el.center(this.parameters.box.cx,this.parameters.box.cy).rotate(a-a%this.options.snapToAngle,this.parameters.box.cx,this.parameters.box.cy)};break;case"point":this.calc=function(t,e){var i=this.snapToGrid(t,e,this.parameters.pointCoords[0],this.parameters.pointCoords[1]),n=this.el.array().valueOf();n[this.parameters.i][0]=this.parameters.pointCoords[0]+i[0],n[this.parameters.i][1]=this.parameters.pointCoords[1]+i[1],this.el.plot(n)}}this.el.fire("resizestart",{dx:this.parameters.x,dy:this.parameters.y,event:t}),SVG.on(window,"touchmove.resize",function(t){e.update(t||window.event)}),SVG.on(window,"touchend.resize",function(){e.done()}),SVG.on(window,"mousemove.resize",function(t){e.update(t||window.event)}),SVG.on(window,"mouseup.resize",function(){e.done()})},t.prototype.update=function(t){if(t){var e=this._extractPosition(t),i=this.transformPoint(e.x,e.y),n=i.x-this.parameters.p.x,r=i.y-this.parameters.p.y;this.lastUpdateCall=[n,r],this.calc(n,r),this.el.fire("resizing",{dx:n,dy:r,event:t})}else this.lastUpdateCall&&this.calc(this.lastUpdateCall[0],this.lastUpdateCall[1])},t.prototype.done=function(){this.lastUpdateCall=null,SVG.off(window,"mousemove.resize"),SVG.off(window,"mouseup.resize"),SVG.off(window,"touchmove.resize"),SVG.off(window,"touchend.resize"),this.el.fire("resizedone")},t.prototype.snapToGrid=function(t,e,i,n){var r;return void 0!==n?r=[(i+t)%this.options.snapToGrid,(n+e)%this.options.snapToGrid]:(i=null==i?3:i,r=[(this.parameters.box.x+t+(1&i?0:this.parameters.box.width))%this.options.snapToGrid,(this.parameters.box.y+e+(2&i?0:this.parameters.box.height))%this.options.snapToGrid]),t<0&&(r[0]-=this.options.snapToGrid),e<0&&(r[1]-=this.options.snapToGrid),t-=Math.abs(r[0])<this.options.snapToGrid/2?r[0]:r[0]-(t<0?-this.options.snapToGrid:this.options.snapToGrid),e-=Math.abs(r[1])<this.options.snapToGrid/2?r[1]:r[1]-(e<0?-this.options.snapToGrid:this.options.snapToGrid),this.constraintToBox(t,e,i,n)},t.prototype.constraintToBox=function(t,e,i,n){var r,o,a=this.options.constraint||{};return void 0!==n?(r=i,o=n):(r=this.parameters.box.x+(1&i?0:this.parameters.box.width),o=this.parameters.box.y+(2&i?0:this.parameters.box.height)),void 0!==a.minX&&r+t<a.minX&&(t=a.minX-r),void 0!==a.maxX&&r+t>a.maxX&&(t=a.maxX-r),void 0!==a.minY&&o+e<a.minY&&(e=a.minY-o),void 0!==a.maxY&&o+e>a.maxY&&(e=a.maxY-o),[t,e]},t.prototype.checkAspectRatio=function(t,e){if(!this.options.saveAspectRatio)return t;var i=t.slice(),n=this.parameters.box.width/this.parameters.box.height,r=this.parameters.box.width+t[0],o=this.parameters.box.height-t[1],a=r/o;return a<n?(i[1]=r/n-this.parameters.box.height,e&&(i[1]=-i[1])):a>n&&(i[0]=this.parameters.box.width-o*n,e&&(i[0]=-i[0])),i},SVG.extend(SVG.Element,{resize:function(e){return(this.remember("_resizeHandler")||new t(this)).init(e||{}),this}}),SVG.Element.prototype.resize.defaults={snapToAngle:.1,snapToGrid:1,constraint:{},saveAspectRatio:!1}}).call(this)}(),function(t,e){void 0===e&&(e={});var i=e.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===i&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}('.apexcharts-canvas {\n position: relative;\n user-select: none;\n /* cannot give overflow: hidden as it will crop tooltips which overflow outside chart area */\n}\n\n/* scrollbar is not visible by default for legend, hence forcing the visibility */\n.apexcharts-canvas ::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 6px;\n}\n.apexcharts-canvas ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(0,0,0,.5);\n box-shadow: 0 0 1px rgba(255,255,255,.5);\n -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);\n}\n.apexcharts-canvas.dark {\n background: #343F57;\n}\n\n.apexcharts-inner {\n position: relative;\n}\n\n.legend-mouseover-inactive {\n transition: 0.15s ease all;\n opacity: 0.20;\n}\n\n.apexcharts-series-collapsed {\n opacity: 0;\n}\n\n.apexcharts-gridline, .apexcharts-text {\n pointer-events: none;\n}\n\n.apexcharts-tooltip {\n border-radius: 5px;\n box-shadow: 2px 2px 6px -4px #999;\n cursor: default;\n font-size: 14px;\n left: 62px;\n opacity: 0;\n pointer-events: none;\n position: absolute;\n top: 20px;\n overflow: hidden;\n white-space: nowrap;\n z-index: 12;\n transition: 0.15s ease all;\n}\n.apexcharts-tooltip.light {\n border: 1px solid #e3e3e3;\n background: rgba(255, 255, 255, 0.96);\n}\n.apexcharts-tooltip.dark {\n color: #fff;\n background: rgba(30,30,30, 0.8);\n}\n.apexcharts-tooltip * {\n font-family: inherit;\n}\n\n.apexcharts-tooltip .apexcharts-marker,\n.apexcharts-area-series .apexcharts-area,\n.apexcharts-line {\n pointer-events: none;\n}\n\n.apexcharts-tooltip.active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-tooltip-title {\n padding: 6px;\n font-size: 15px;\n margin-bottom: 4px;\n}\n.apexcharts-tooltip.light .apexcharts-tooltip-title {\n background: #ECEFF1;\n border-bottom: 1px solid #ddd;\n}\n.apexcharts-tooltip.dark .apexcharts-tooltip-title {\n background: rgba(0, 0, 0, 0.7);\n border-bottom: 1px solid #333;\n}\n\n.apexcharts-tooltip-text-value,\n.apexcharts-tooltip-text-z-value {\n display: inline-block;\n font-weight: 600;\n margin-left: 5px;\n}\n\n.apexcharts-tooltip-text-z-label:empty,\n.apexcharts-tooltip-text-z-value:empty {\n display: none;\n}\n\n.apexcharts-tooltip-text-value, \n.apexcharts-tooltip-text-z-value {\n font-weight: 600;\n}\n\n.apexcharts-tooltip-marker {\n width: 12px;\n height: 12px;\n position: relative;\n top: 0px;\n margin-right: 10px;\n border-radius: 50%;\n}\n\n.apexcharts-tooltip-series-group {\n padding: 0 10px;\n display: none;\n text-align: left;\n justify-content: left;\n align-items: center;\n}\n\n.apexcharts-tooltip-series-group.active .apexcharts-tooltip-marker {\n opacity: 1;\n}\n.apexcharts-tooltip-series-group.active, .apexcharts-tooltip-series-group:last-child {\n padding-bottom: 4px;\n}\n.apexcharts-tooltip-series-group-hidden {\n opacity: 0;\n height: 0;\n line-height: 0;\n padding: 0 !important;\n}\n.apexcharts-tooltip-y-group {\n padding: 6px 0 5px;\n}\n.apexcharts-tooltip-candlestick {\n padding: 4px 8px;\n}\n.apexcharts-tooltip-candlestick > div {\n margin: 4px 0;\n}\n.apexcharts-tooltip-candlestick span.value {\n font-weight: bold;\n}\n\n.apexcharts-tooltip-rangebar {\n padding: 5px 8px;\n}\n\n.apexcharts-tooltip-rangebar .category {\n font-weight: 600;\n color: #777;\n}\n\n.apexcharts-tooltip-rangebar .series-name {\n font-weight: bold;\n display: block;\n margin-bottom: 5px;\n}\n\n.apexcharts-xaxistooltip {\n opacity: 0;\n padding: 9px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n\tbackground: #ECEFF1;\n border: 1px solid #90A4AE;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xaxistooltip.dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-xaxistooltip:after, .apexcharts-xaxistooltip:before {\n\tleft: 50%;\n\tborder: solid transparent;\n\tcontent: " ";\n\theight: 0;\n\twidth: 0;\n\tposition: absolute;\n\tpointer-events: none;\n}\n\n.apexcharts-xaxistooltip:after {\n\tborder-color: rgba(236, 239, 241, 0);\n\tborder-width: 6px;\n\tmargin-left: -6px;\n}\n.apexcharts-xaxistooltip:before {\n\tborder-color: rgba(144, 164, 174, 0);\n\tborder-width: 7px;\n\tmargin-left: -7px;\n}\n\n.apexcharts-xaxistooltip-bottom:after, .apexcharts-xaxistooltip-bottom:before {\n bottom: 100%;\n}\n\n.apexcharts-xaxistooltip-top:after, .apexcharts-xaxistooltip-top:before {\n top: 100%;\n}\n\n.apexcharts-xaxistooltip-bottom:after {\n border-bottom-color: #ECEFF1;\n}\n.apexcharts-xaxistooltip-bottom:before {\n border-bottom-color: #90A4AE;\n}\n\n.apexcharts-xaxistooltip-bottom.dark:after {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n.apexcharts-xaxistooltip-bottom.dark:before {\n border-bottom-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-xaxistooltip-top:after {\n border-top-color:#ECEFF1\n}\n.apexcharts-xaxistooltip-top:before {\n border-top-color: #90A4AE;\n}\n.apexcharts-xaxistooltip-top.dark:after {\n border-top-color:rgba(0, 0, 0, 0.5);\n}\n.apexcharts-xaxistooltip-top.dark:before {\n border-top-color: rgba(0, 0, 0, 0.5);\n}\n\n\n.apexcharts-xaxistooltip.active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-yaxistooltip {\n opacity: 0;\n padding: 4px 10px;\n pointer-events: none;\n color: #373d3f;\n font-size: 13px;\n text-align: center;\n border-radius: 2px;\n position: absolute;\n z-index: 10;\n\tbackground: #ECEFF1;\n border: 1px solid #90A4AE;\n}\n\n.apexcharts-yaxistooltip.dark {\n background: rgba(0, 0, 0, 0.7);\n border: 1px solid rgba(0, 0, 0, 0.5);\n color: #fff;\n}\n\n.apexcharts-yaxistooltip:after, .apexcharts-yaxistooltip:before {\n\ttop: 50%;\n\tborder: solid transparent;\n\tcontent: " ";\n\theight: 0;\n\twidth: 0;\n\tposition: absolute;\n\tpointer-events: none;\n}\n.apexcharts-yaxistooltip:after {\n\tborder-color: rgba(236, 239, 241, 0);\n\tborder-width: 6px;\n\tmargin-top: -6px;\n}\n.apexcharts-yaxistooltip:before {\n\tborder-color: rgba(144, 164, 174, 0);\n\tborder-width: 7px;\n\tmargin-top: -7px;\n}\n\n.apexcharts-yaxistooltip-left:after, .apexcharts-yaxistooltip-left:before {\n left: 100%;\n}\n\n.apexcharts-yaxistooltip-right:after, .apexcharts-yaxistooltip-right:before {\n right: 100%;\n}\n\n.apexcharts-yaxistooltip-left:after {\n border-left-color: #ECEFF1;\n}\n.apexcharts-yaxistooltip-left:before {\n border-left-color: #90A4AE;\n}\n.apexcharts-yaxistooltip-left.dark:after {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n.apexcharts-yaxistooltip-left.dark:before {\n border-left-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip-right:after {\n border-right-color: #ECEFF1;\n}\n.apexcharts-yaxistooltip-right:before {\n border-right-color: #90A4AE;\n}\n.apexcharts-yaxistooltip-right.dark:after {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n.apexcharts-yaxistooltip-right.dark:before {\n border-right-color: rgba(0, 0, 0, 0.5);\n}\n\n.apexcharts-yaxistooltip.active {\n opacity: 1;\n}\n\n.apexcharts-xcrosshairs, .apexcharts-ycrosshairs {\n pointer-events: none;\n opacity: 0;\n transition: 0.15s ease all;\n}\n\n.apexcharts-xcrosshairs.active, .apexcharts-ycrosshairs.active {\n opacity: 1;\n transition: 0.15s ease all;\n}\n\n.apexcharts-ycrosshairs-hidden {\n opacity: 0;\n}\n\n.apexcharts-zoom-rect {\n pointer-events: none;\n}\n.apexcharts-selection-rect {\n cursor: move;\n}\n\n.svg_select_points, .svg_select_points_rot {\n opacity: 0;\n visibility: hidden;\n}\n.svg_select_points_l, .svg_select_points_r {\n cursor: ew-resize;\n opacity: 1;\n visibility: visible;\n fill: #888;\n}\n.apexcharts-canvas.zoomable .hovering-zoom {\n cursor: crosshair\n}\n.apexcharts-canvas.zoomable .hovering-pan {\n cursor: move\n}\n\n.apexcharts-xaxis,\n.apexcharts-yaxis {\n pointer-events: none;\n}\n\n.apexcharts-zoom-icon, \n.apexcharts-zoom-in-icon,\n.apexcharts-zoom-out-icon,\n.apexcharts-reset-zoom-icon, \n.apexcharts-pan-icon, \n.apexcharts-selection-icon,\n.apexcharts-menu-icon, \n.apexcharts-toolbar-custom-icon {\n cursor: pointer;\n width: 20px;\n height: 20px;\n line-height: 24px;\n color: #6E8192;\n text-align: center;\n}\n\n\n.apexcharts-zoom-icon svg, \n.apexcharts-zoom-in-icon svg,\n.apexcharts-zoom-out-icon svg,\n.apexcharts-reset-zoom-icon svg,\n.apexcharts-menu-icon svg {\n fill: #6E8192;\n}\n.apexcharts-selection-icon svg {\n fill: #444;\n transform: scale(0.76)\n}\n\n.dark .apexcharts-zoom-icon svg, \n.dark .apexcharts-zoom-in-icon svg,\n.dark .apexcharts-zoom-out-icon svg,\n.dark .apexcharts-reset-zoom-icon svg, \n.dark .apexcharts-pan-icon svg, \n.dark .apexcharts-selection-icon svg,\n.dark .apexcharts-menu-icon svg, \n.dark .apexcharts-toolbar-custom-icon svg{\n fill: #f3f4f5;\n}\n\n.apexcharts-canvas .apexcharts-zoom-icon.selected svg, \n.apexcharts-canvas .apexcharts-selection-icon.selected svg, \n.apexcharts-canvas .apexcharts-reset-zoom-icon.selected svg {\n fill: #008FFB;\n}\n.light .apexcharts-selection-icon:not(.selected):hover svg,\n.light .apexcharts-zoom-icon:not(.selected):hover svg, \n.light .apexcharts-zoom-in-icon:hover svg, \n.light .apexcharts-zoom-out-icon:hover svg, \n.light .apexcharts-reset-zoom-icon:hover svg, \n.light .apexcharts-menu-icon:hover svg {\n fill: #333;\n}\n\n.apexcharts-selection-icon, .apexcharts-menu-icon {\n position: relative;\n}\n.apexcharts-reset-zoom-icon {\n margin-left: 5px;\n}\n.apexcharts-zoom-icon, .apexcharts-reset-zoom-icon, .apexcharts-menu-icon {\n transform: scale(0.85);\n}\n\n.apexcharts-zoom-in-icon, .apexcharts-zoom-out-icon {\n transform: scale(0.7)\n}\n\n.apexcharts-zoom-out-icon {\n margin-right: 3px;\n}\n\n.apexcharts-pan-icon {\n transform: scale(0.62);\n position: relative;\n left: 1px;\n top: 0px;\n}\n.apexcharts-pan-icon svg {\n fill: #fff;\n stroke: #6E8192;\n stroke-width: 2;\n}\n.apexcharts-pan-icon.selected svg {\n stroke: #008FFB;\n}\n.apexcharts-pan-icon:not(.selected):hover svg {\n stroke: #333;\n}\n\n.apexcharts-toolbar {\n position: absolute;\n z-index: 11;\n top: 0px;\n right: 3px;\n max-width: 176px;\n text-align: right;\n border-radius: 3px;\n padding: 0px 6px 2px 6px;\n display: flex;\n justify-content: space-between;\n align-items: center; \n}\n\n.apexcharts-toolbar svg {\n pointer-events: none;\n}\n\n.apexcharts-menu {\n background: #fff;\n position: absolute;\n top: 100%;\n border: 1px solid #ddd;\n border-radius: 3px;\n padding: 3px;\n right: 10px;\n opacity: 0;\n min-width: 110px;\n transition: 0.15s ease all;\n pointer-events: none;\n}\n\n.apexcharts-menu.open {\n opacity: 1;\n pointer-events: all;\n transition: 0.15s ease all;\n}\n\n.apexcharts-menu-item {\n padding: 6px 7px;\n font-size: 12px;\n cursor: pointer;\n}\n.light .apexcharts-menu-item:hover {\n background: #eee;\n}\n.dark .apexcharts-menu {\n background: rgba(0, 0, 0, 0.7);\n color: #fff;\n}\n\n@media screen and (min-width: 768px) {\n .apexcharts-toolbar {\n /*opacity: 0;*/\n }\n\n .apexcharts-canvas:hover .apexcharts-toolbar {\n opacity: 1;\n } \n}\n\n.apexcharts-datalabel.hidden {\n opacity: 0;\n}\n\n.apexcharts-pie-label,\n.apexcharts-datalabel, .apexcharts-datalabel-label, .apexcharts-datalabel-value {\n cursor: default;\n pointer-events: none;\n}\n\n.apexcharts-pie-label-delay {\n opacity: 0;\n animation-name: opaque;\n animation-duration: 0.3s;\n animation-fill-mode: forwards;\n animation-timing-function: ease;\n}\n\n.apexcharts-canvas .hidden {\n opacity: 0;\n}\n\n.apexcharts-hide .apexcharts-series-points {\n opacity: 0;\n}\n\n.apexcharts-area-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events,\n.apexcharts-line-series .apexcharts-series-markers .apexcharts-marker.no-pointer-events, .apexcharts-radar-series path, .apexcharts-radar-series polygon {\n pointer-events: none;\n}\n\n/* markers */\n\n.apexcharts-marker {\n transition: 0.15s ease all;\n}\n\n@keyframes opaque {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}'),"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(t){if("Element"in t){var e=t.Element.prototype,i=Object,n=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},r=Array.prototype.indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(e in this&&this[e]===t)return e;return-1},o=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},a=function(t,e){if(""===e)throw new o("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(e))throw new o("INVALID_CHARACTER_ERR","The token must not contain space characters.");return r.call(t,e)},s=function(t){for(var e=n.call(t.getAttribute("class")||""),i=e?e.split(/\s+/):[],r=0,o=i.length;r<o;r++)this.push(i[r]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},l=s.prototype=[],c=function(){return new s(this)};if(o.prototype=Error.prototype,l.item=function(t){return this[t]||null},l.contains=function(t){return~a(this,t+"")},l.add=function(){var t,e=arguments,i=0,n=e.length,r=!1;do{t=e[i]+"",~a(this,t)||(this.push(t),r=!0)}while(++i<n);r&&this._updateClassName()},l.remove=function(){var t,e,i=arguments,n=0,r=i.length,o=!1;do{for(t=i[n]+"",e=a(this,t);~e;)this.splice(e,1),o=!0,e=a(this,t)}while(++n<r);o&&this._updateClassName()},l.toggle=function(t,e){var i=this.contains(t),n=i?!0!==e&&"remove":!1!==e&&"add";return n&&this[n](t),!0===e||!1===e?e:!i},l.replace=function(t,e){var i=a(t+"");~i&&(this.splice(i,1,e),this._updateClassName())},l.toString=function(){return this.join(" ")},i.defineProperty){var u={get:c,enumerable:!0,configurable:!0};try{i.defineProperty(e,"classList",u)}catch(t){void 0!==t.number&&-2146823252!==t.number||(u.enumerable=!1,i.defineProperty(e,"classList",u))}}else i.prototype.__defineGetter__&&e.__defineGetter__("classList",c)}}(self),function(){var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e=function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var i,n=arguments.length;for(i=0;i<n;i++)t=arguments[i],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:i.call(this,t)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(t,e){var i=this.toString().split(" "),n=i.indexOf(t+"");~n&&(i=i.slice(n),this.remove.apply(this,i),this.add(e),this.add.apply(this,i.slice(1)))}),t=null}()),function(){var t=!1;function e(t){var e=t.__resizeTriggers__,i=e.firstElementChild,n=e.lastElementChild,r=i.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,r.style.width=i.offsetWidth+1+"px",r.style.height=i.offsetHeight+1+"px",i.scrollLeft=i.scrollWidth,i.scrollTop=i.scrollHeight}function i(t){var i=this;e(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=o(function(){(function(t){return t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height})(i)&&(i.__resizeLast__.width=i.offsetWidth,i.__resizeLast__.height=i.offsetHeight,i.__resizeListeners__.forEach(function(e){e.call(t)}))})}var n,r,o=(n=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)},function(t){return n(t)}),a=(r=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout,function(t){return r(t)}),s=!1,l="",c="animationstart",u="Webkit Moz O ms".split(" "),h="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d=document.createElement("fakeelement");if(void 0!==d.style.animationName&&(s=!0),!1===s)for(var f=0;f<u.length;f++)if(void 0!==d.style[u[f]+"AnimationName"]){l="-"+u[f].toLowerCase()+"-",c=h[f];break}var p="@"+l+"keyframes resizeanim { from { opacity: 0; } to { opacity: 0; } } ",g=l+"animation: 1ms resizeanim; ";window.addResizeListener=function(n,r){n.__resizeTriggers__||("static"==getComputedStyle(n).position&&(n.style.position="relative"),function(){if(!t){var e=(p||"")+".resize-triggers { "+(g||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),i.appendChild(n),t=!0}}(),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=document.createElement("div")).className="resize-triggers",n.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',n.appendChild(n.__resizeTriggers__),e(n),n.addEventListener("scroll",i,!0),c&&n.__resizeTriggers__.addEventListener(c,function(t){"resizeanim"==t.animationName&&e(n)})),n.__resizeListeners__.push(r)},window.removeResizeListener=function(t,e){t&&(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),t.__resizeListeners__.length||(t.removeEventListener("scroll",i),t.__resizeTriggers__=!t.removeChild(t.__resizeTriggers__)))}}(),window.Apex={},function(){function i(t,n){e(this,i),this.opts=n,this.ctx=this,this.w=new w(n).init(),this.el=t,this.w.globals.cuid=(Math.random()+1).toString(36).substring(4),this.w.globals.chartID=this.w.config.chart.id?this.w.config.chart.id:this.w.globals.cuid,this.eventList=["mousedown","mousemove","touchstart","touchmove","mouseup","touchend"],this.initModules(),this.create=u.bind(this.create,this),this.documentEvent=u.bind(this.documentEvent,this),this.windowResizeHandler=this.windowResize.bind(this)}return n(i,[{key:"render",value:function(){var t=this;return new Z(function(e,i){if(null!==t.el){void 0===Apex._chartInstances&&(Apex._chartInstances=[]),t.w.config.chart.id&&Apex._chartInstances.push({id:t.w.globals.chartID,group:t.w.config.chart.group,chart:t}),t.setLocale(t.w.config.chart.defaultLocale);var n=t.w.config.chart.events.beforeMount;"function"==typeof n&&n(t,t.w),t.fireEvent("beforeMount",[t,t.w]),window.addEventListener("resize",t.windowResizeHandler),window.addResizeListener(t.el.parentNode,t.parentResizeCallback.bind(t));var r=t.create(t.w.config.series,{});if(!r)return e(t);t.mount(r).then(function(){e(r),"function"==typeof t.w.config.chart.events.mounted&&t.w.config.chart.events.mounted(t,t.w),t.fireEvent("mounted",[t,t.w])}).catch(function(t){i(t)})}else i(new Error("Element not found"))})}},{key:"initModules",value:function(){this.animations=new d(this),this.core=new X(this.el,this),this.grid=new at(this),this.coreUtils=new b(this),this.config=new L({}),this.crosshairs=new M(this),this.options=new g,this.responsive=new st(this),this.series=new H(this),this.theme=new lt(this),this.formatters=new R(this),this.titleSubtitle=new yt(this),this.legend=new V(this),this.toolbar=new mt(this),this.dimensions=new z(this),this.zoomPanSelection=new vt(this),this.w.globals.tooltip=new gt(this)}},{key:"addEventListener",value:function(t,e){var i=this.w;i.globals.events.hasOwnProperty(t)?i.globals.events[t].push(e):i.globals.events[t]=[e]}},{key:"removeEventListener",value:function(t,e){var i=this.w;if(i.globals.events.hasOwnProperty(t)){var n=i.globals.events[t].indexOf(e);-1!==n&&i.globals.events[t].splice(n,1)}}},{key:"fireEvent",value:function(t,e){var i=this.w;if(i.globals.events.hasOwnProperty(t)){e&&e.length||(e=[]);for(var n=i.globals.events[t],r=n.length,o=0;o<r;o++)n[o].apply(null,e)}}},{key:"create",value:function(t,e){var i=this.w;this.initModules();var n=this.w.globals;if(n.noData=!1,n.animationEnded=!1,this.responsive.checkResponsiveConfig(e),null===this.el)return n.animationEnded=!0,null;if(this.core.setupElements(),0===n.svgWidth)return n.animationEnded=!0,null;var r=b.checkComboSeries(t);n.comboCharts=r.comboCharts,n.comboChartsHasBars=r.comboChartsHasBars,(0===t.length||1===t.length&&t[0].data&&0===t[0].data.length)&&this.series.handleNoData(),this.setupEventHandlers(),this.core.parseData(t),this.theme.init(),new S(this).setGlobalMarkerSize(),this.formatters.setLabelFormatters(),this.titleSubtitle.draw(),i.globals.noData||this.legend.init(),this.series.hasAllSeriesEqualX(),n.axisCharts&&(this.core.coreCalculations(),"category"!==i.config.xaxis.type&&this.formatters.setLabelFormatters()),this.formatters.heatmapLabelFormatters(),this.dimensions.plotCoords();var o=this.core.xySettings();this.grid.createGridMask();var a=this.core.plotChartType(t,o);this.core.shiftGraphPosition();var s={plot:{left:i.globals.translateX,top:i.globals.translateY,width:i.globals.gridWidth,height:i.globals.gridHeight}};return{elGraph:a,xyRatios:o,elInner:i.globals.dom.elGraphical,dimensions:s}}},{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this,i=e.w;return new Z(function(n,r){if(null===e.el)return r(new Error("Not enough data to display or target element not found"));if((null===t||i.globals.allSeriesCollapsed)&&e.series.handleNoData(),e.annotations=new m(e),e.core.drawAxis(i.config.chart.type,t.xyRatios),e.grid=new at(e),"back"===i.config.grid.position&&e.grid.drawGrid(),"back"===i.config.annotations.position&&e.annotations.drawAnnotations(),t.elGraph instanceof Array)for(var o=0;o<t.elGraph.length;o++)i.globals.dom.elGraphical.add(t.elGraph[o]);else i.globals.dom.elGraphical.add(t.elGraph);if("front"===i.config.grid.position&&e.grid.drawGrid(),"front"===i.config.xaxis.crosshairs.position&&e.crosshairs.drawXCrosshairs(),"front"===i.config.yaxis[0].crosshairs.position&&e.crosshairs.drawYCrosshairs(),"front"===i.config.annotations.position&&e.annotations.drawAnnotations(),!i.globals.noData){if(i.config.tooltip.enabled&&!i.globals.noData&&e.w.globals.tooltip.drawTooltip(t.xyRatios),i.globals.axisCharts&&i.globals.isXNumeric)(i.config.chart.zoom.enabled||i.config.chart.selection&&i.config.chart.selection.enabled||i.config.chart.pan&&i.config.chart.pan.enabled)&&e.zoomPanSelection.init({xyRatios:t.xyRatios});else{var a=i.config.chart.toolbar.tools;a.zoom=!1,a.zoomin=!1,a.zoomout=!1,a.selection=!1,a.pan=!1,a.reset=!1}i.config.chart.toolbar.show&&!i.globals.allSeriesCollapsed&&e.toolbar.createToolbar()}i.globals.memory.methodsToExec.length>0&&i.globals.memory.methodsToExec.forEach(function(t){t.method(t.params,!1,t.context)}),i.globals.axisCharts||i.globals.noData||e.core.resizeNonAxisCharts(),n(e)})}},{key:"clearPreviousPaths",value:function(){var t=this.w;t.globals.previousPaths=[],t.globals.allSeriesCollapsed=!1,t.globals.collapsedSeries=[],t.globals.collapsedSeriesIndices=[]}},{key:"updateOptions",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this.w;return t.series&&(this.resetSeries(!1),t.series[0].data&&(t.series=t.series.map(function(t,e){return o({},r.config.series[e],{name:t.name?t.name:r.config.series[e]&&r.config.series[e].name,type:t.type?t.type:r.config.series[e]&&r.config.series[e].type,data:t.data?t.data:r.config.series[e]&&r.config.series[e].data})})),this.revertDefaultAxisMinMax()),t.xaxis&&((t.xaxis.min||t.xaxis.max)&&this.forceXAxisUpdate(t),t.xaxis.categories&&t.xaxis.categories.length&&r.config.xaxis.convertedCatToNumeric&&(t=y.convertCatToNumeric(t))),r.globals.collapsedSeriesIndices.length>0&&this.clearPreviousPaths(),t.theme&&(t=this.theme.updateThemeOptions(t)),this._updateOptions(t,e,i,n)}},{key:"_updateOptions",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.getSyncedCharts();this.w.globals.isExecCalled&&(o=[this],this.w.globals.isExecCalled=!1),o.forEach(function(o){var a=o.w;return a.globals.shouldAnimate=n,i||(a.globals.resized=!0,a.globals.dataChanged=!0,n&&o.series.getPreviousPaths()),e&&"object"===t(e)&&(o.config=new L(e),e=b.extendArrayProps(o.config,e),a.config=u.extend(a.config,e),r&&(a.globals.lastXAxis=[],a.globals.lastYAxis=[],a.globals.initialConfig=u.extend({},a.config),a.globals.initialSeries=JSON.parse(JSON.stringify(a.config.series)))),o.update(e)})}},{key:"updateSeries",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return this.resetSeries(!1),this.revertDefaultAxisMinMax(),this._updateSeries(t,e,i)}},{key:"appendSeries",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=this.w.config.series.slice();return n.push(t),this.resetSeries(!1),this.revertDefaultAxisMinMax(),this._updateSeries(n,e,i)}},{key:"_updateSeries",value:function(t,e){var i,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.w;return this.w.globals.shouldAnimate=e,r.globals.dataChanged=!0,r.globals.allSeriesCollapsed&&(r.globals.allSeriesCollapsed=!1),e&&this.series.getPreviousPaths(),r.globals.axisCharts?(0===(i=t.map(function(t,e){return o({},r.config.series[e],{name:t.name?t.name:r.config.series[e]&&r.config.series[e].name,type:t.type?t.type:r.config.series[e]&&r.config.series[e].type,data:t.data?t.data:r.config.series[e]&&r.config.series[e].data})})).length&&(i=[{data:[]}]),r.config.series=i):r.config.series=t.slice(),n&&(r.globals.initialConfig.series=JSON.parse(JSON.stringify(r.config.series)),r.globals.initialSeries=JSON.parse(JSON.stringify(r.config.series))),this.update()}},{key:"getSyncedCharts",value:function(){var t=this.getGroupedCharts(),e=[this];return t.length&&(e=[],t.forEach(function(t){e.push(t)})),e}},{key:"getGroupedCharts",value:function(){var t=this;return Apex._chartInstances.filter(function(t){if(t.group)return!0}).map(function(e){return t.w.config.chart.group===e.group?e.chart:t})}},{key:"appendData",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this;i.w.globals.dataChanged=!0,i.series.getPreviousPaths();for(var n=i.w.config.series.slice(),r=0;r<n.length;r++)if(void 0!==t[r])for(var o=0;o<t[r].data.length;o++)n[r].data.push(t[r].data[o]);return i.w.config.series=n,e&&(i.w.globals.initialSeries=JSON.parse(JSON.stringify(i.w.config.series))),this.update()}},{key:"update",value:function(t){var e=this;return new Z(function(i,n){e.clear();var r=e.create(e.w.config.series,t);if(!r)return i(e);e.mount(r).then(function(){"function"==typeof e.w.config.chart.events.updated&&e.w.config.chart.events.updated(e,e.w),e.fireEvent("updated",[e,e.w]),e.w.globals.isDirty=!0,i(e)}).catch(function(t){n(t)})})}},{key:"forceXAxisUpdate",value:function(t){var e=this.w;void 0!==t.xaxis.min&&(e.config.xaxis.min=t.xaxis.min,e.globals.lastXAxis.min=t.xaxis.min),void 0!==t.xaxis.max&&(e.config.xaxis.max=t.xaxis.max,e.globals.lastXAxis.max=t.xaxis.max)}},{key:"revertDefaultAxisMinMax",value:function(){var t=this.w;t.config.xaxis.min=t.globals.lastXAxis.min,t.config.xaxis.max=t.globals.lastXAxis.max,t.config.yaxis.map(function(e,i){t.globals.zoomed&&void 0!==t.globals.lastYAxis[i]&&(e.min=t.globals.lastYAxis[i].min,e.max=t.globals.lastYAxis[i].max)})}},{key:"clear",value:function(){this.zoomPanSelection&&this.zoomPanSelection.destroy(),this.toolbar&&this.toolbar.destroy(),this.animations=null,this.annotations=null,this.core=null,this.grid=null,this.series=null,this.responsive=null,this.theme=null,this.formatters=null,this.titleSubtitle=null,this.legend=null,this.dimensions=null,this.options=null,this.crosshairs=null,this.zoomPanSelection=null,this.toolbar=null,this.w.globals.tooltip=null,this.clearDomElements()}},{key:"killSVG",value:function(t){return new Z(function(e,i){t.each(function(t,e){this.removeClass("*"),this.off(),this.stop()},!0),t.ungroup(),t.clear(),e("done")})}},{key:"clearDomElements",value:function(){var t=this;this.eventList.forEach(function(e){document.removeEventListener(e,t.documentEvent)});var e=this.w.globals.dom;if(null!==this.el)for(;this.el.firstChild;)this.el.removeChild(this.el.firstChild);this.killSVG(e.Paper),e.Paper.remove(),e.elWrap=null,e.elGraphical=null,e.elLegendWrap=null,e.baseEl=null,e.elGridRect=null,e.elGridRectMask=null,e.elGridRectMarkerMask=null,e.elDefs=null}},{key:"destroy",value:function(){this.clear();var t=this.w.config.chart.id;t&&Apex._chartInstances.forEach(function(e,i){e.id===t&&Apex._chartInstances.splice(i,1)}),window.removeEventListener("resize",this.windowResizeHandler),window.removeResizeListener(this.el.parentNode,this.parentResizeCallback.bind(this))}},{key:"toggleSeries",value:function(t){var e=this.series.getSeriesByName(t),i=parseInt(e.getAttribute("data:realIndex")),n=e.classList.contains("apexcharts-series-collapsed");this.legend.toggleDataSeries(i,n)}},{key:"resetSeries",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.series.resetSeries(t)}},{key:"setupEventHandlers",value:function(){var t=this,e=this.w,i=this,n=e.globals.dom.baseEl.querySelector(e.globals.chartClass);this.eventListHandlers=[],this.eventList.forEach(function(t){n.addEventListener(t,function(t){"mousedown"===t.type&&1===t.which||("mouseup"===t.type&&1===t.which||"touchend"===t.type)&&("function"==typeof e.config.chart.events.click&&e.config.chart.events.click(t,i,e),i.fireEvent("click",[t,i,e]))},{capture:!1,passive:!0})}),this.eventList.forEach(function(e){document.addEventListener(e,t.documentEvent)}),this.core.setupBrushHandler()}},{key:"documentEvent",value:function(t){var e=this.w;e.globals.clientX="touchmove"===t.type?t.touches[0].clientX:t.clientX,e.globals.clientY="touchmove"===t.type?t.touches[0].clientY:t.clientY}},{key:"addXaxisAnnotation",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addXaxisAnnotationExternal(t,e,n)}},{key:"addYaxisAnnotation",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addYaxisAnnotationExternal(t,e,n)}},{key:"addPointAnnotation",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addPointAnnotationExternal(t,e,n)}},{key:"clearAnnotations",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=this;t&&(e=t),e.annotations.clearAnnotations(e)}},{key:"addText",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this;i&&(n=i),n.annotations.addText(t,e,n)}},{key:"getChartArea",value:function(){return this.w.globals.dom.baseEl.querySelector(".apexcharts-inner")}},{key:"getSeriesTotalXRange",value:function(t,e){return this.coreUtils.getSeriesTotalsXRange(t,e)}},{key:"getHighestValueInSeries",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Y(this.ctx).getMinYMaxY(t).highestY}},{key:"getLowestValueInSeries",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Y(this.ctx).getMinYMaxY(t).lowestY}},{key:"getSeriesTotal",value:function(){return this.w.globals.seriesTotals}},{key:"setLocale",value:function(t){this.setCurrentLocaleValues(t)}},{key:"toggleDataPointSelection",value:function(t,e){var i,n=this.w;return(i=n.globals.axisCharts?n.globals.dom.Paper.select(".apexcharts-series[data\\:realIndex='".concat(t,"'] path[j='").concat(e,"'], .apexcharts-series[data\\:realIndex='").concat(t,"'] circle[j='").concat(e,"'], .apexcharts-series[data\\:realIndex='").concat(t,"'] rect[j='").concat(e,"']")).members[0]:n.globals.dom.Paper.select(".apexcharts-series[data\\:realIndex='".concat(t,"']")).members[0])?new f(this.ctx).pathMouseDown(i,null):console.warn("toggleDataPointSelection: Element not found"),i.node?i.node:null}},{key:"setCurrentLocaleValues",value:function(t){var e=this.w.config.chart.locales;window.Apex.chart&&window.Apex.chart.locales&&window.Apex.chart.locales.length>0&&(e=this.w.config.chart.locales.concat(window.Apex.chart.locales));var i=e.filter(function(e){return e.name===t})[0];if(!i)throw new Error("Wrong locale name provided. Please make sure you set the correct locale name in options");var n=u.extend(p,i);this.w.globals.locale=n.options}},{key:"dataURI",value:function(){return new ot(this.ctx).dataURI()}},{key:"paper",value:function(){return this.w.globals.dom.Paper}},{key:"parentResizeCallback",value:function(){this.w.globals.animationEnded&&this.windowResize()}},{key:"windowResize",value:function(){var t=this;clearTimeout(this.w.globals.resizeTimer),this.w.globals.resizeTimer=window.setTimeout(function(){t.w.globals.resized=!0,t.w.globals.dataChanged=!1,t.update()},150)}}],[{key:"initOnLoad",value:function(){for(var t=document.querySelectorAll("[data-apexcharts]"),e=0;e<t.length;e++)new i(t[e],JSON.parse(t[e].getAttribute("data-options"))).render()}},{key:"exec",value:function(t,e){var i=this.getChartByID(t);if(i){i.w.globals.isExecCalled=!0;for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];switch(e){case"updateOptions":return i.updateOptions.apply(i,r);case"updateSeries":return i.updateSeries.apply(i,r);case"appendData":return i.appendData.apply(i,r);case"appendSeries":return i.appendSeries.apply(i,r);case"toggleSeries":return i.toggleSeries.apply(i,r);case"dataURI":return i.dataURI.apply(i,r);case"addXaxisAnnotation":return i.addXaxisAnnotation.apply(i,r);case"addYaxisAnnotation":return i.addYaxisAnnotation.apply(i,r);case"addPointAnnotation":return i.addPointAnnotation.apply(i,r);case"addText":return i.addText.apply(i,r);case"clearAnnotations":return i.clearAnnotations.apply(i,r);case"paper":return i.paper.apply(i,r);case"destroy":return i.destroy()}}}},{key:"merge",value:function(t,e){return u.extend(t,e)}},{key:"getChartByID",value:function(t){return Apex._chartInstances.filter(function(e){return e.id===t})[0].chart}}]),i}()});var VectorCanvas=function(t,e,i){if(this.mode=window.SVGAngle?"svg":"vml",this.params=i,"svg"===this.mode)this.createSvgNode=function(t){return document.createElementNS(this.svgns,t)};else{try{document.namespaces.rvml||document.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),this.createVmlNode=function(t){return document.createElement("<rvml:"+t+' class="rvml">')}}catch(t){this.createVmlNode=function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}document.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)")}"svg"===this.mode?this.canvas=this.createSvgNode("svg"):(this.canvas=this.createVmlNode("group"),this.canvas.style.position="absolute"),this.setSize(t,e)};VectorCanvas.prototype={svgns:"http://www.w3.org/2000/svg",mode:"svg",width:0,height:0,canvas:null};var ColorScale=function(t,e,i,n){t&&this.setColors(t),e&&this.setNormalizeFunction(e),i&&this.setMin(i),i&&this.setMax(n)};ColorScale.prototype={colors:[]};var JQVMap=function(t){t=t||{};var e,i=this,n=JQVMap.maps[t.map];if(!n)throw new Error('Invalid "'+t.map+'" map parameter. Please make sure you have loaded this map file in your HTML.');for(var r in this.selectedRegions=[],this.multiSelectRegion=t.multiSelectRegion,this.container=t.container,this.defaultWidth=n.width,this.defaultHeight=n.height,this.color=t.color,this.selectedColor=t.selectedColor,this.hoverColor=t.hoverColor,this.hoverColors=t.hoverColors,this.hoverOpacity=t.hoverOpacity,this.setBackgroundColor(t.backgroundColor),this.width=t.container.width(),this.height=t.container.height(),this.resize(),jQuery(window).resize(function(){var n=t.container.width(),r=t.container.height();if(n&&r){i.width=n,i.height=r,i.resize(),i.canvas.setSize(i.width,i.height),i.applyTransform();var o=jQuery.Event("resize.jqvmap");jQuery(t.container).trigger(o,[n,r]),e&&(jQuery(".jqvmap-pin").remove(),i.pinHandlers=!1,i.placePins(e.pins,e.mode))}}),this.canvas=new VectorCanvas(this.width,this.height,t),t.container.append(this.canvas.canvas),this.rootGroup=this.canvas.createGroup(!0),this.index=JQVMap.mapIndex,this.label=jQuery("<div/>").addClass("jqvmap-label").appendTo(jQuery("body")).hide(),t.enableZoom&&(jQuery("<div/>").addClass("jqvmap-zoomin").text("+").appendTo(t.container),jQuery("<div/>").addClass("jqvmap-zoomout").html("&#x2212;").appendTo(t.container),this.makeDraggable()),i.countries=[],n.paths){var o=this.canvas.createPath({path:n.paths[r].path});o.setFill(this.color),o.id=i.getCountryId(r),i.countries[r]=o,"svg"===this.canvas.mode?o.setAttribute("class","jqvmap-region"):jQuery(o).addClass("jqvmap-region"),jQuery(this.rootGroup).append(o)}if(jQuery(t.container).delegate("svg"===this.canvas.mode?"path":"shape","mouseover mouseout",function(e){var r=e.target,o=e.target.id.split("_").pop(),a=jQuery.Event("labelShow.jqvmap"),s=jQuery.Event("regionMouseOver.jqvmap");o=o.toLowerCase(),"mouseover"===e.type?(jQuery(t.container).trigger(s,[o,n.paths[o].name]),s.isDefaultPrevented()||i.highlight(o,r),t.showTooltip&&(i.label.text(n.paths[o].name),jQuery(t.container).trigger(a,[i.label,o]),a.isDefaultPrevented()||(i.label.show(),i.labelWidth=i.label.width(),i.labelHeight=i.label.height()))):(i.unhighlight(o,r),i.label.hide(),jQuery(t.container).trigger("regionMouseOut.jqvmap",[o,n.paths[o].name]))}),jQuery(t.container).delegate("svg"===this.canvas.mode?"path":"shape","click",function(e){var r=e.target,o=e.target.id.split("_").pop(),a=jQuery.Event("regionClick.jqvmap");if(o=o.toLowerCase(),jQuery(t.container).trigger(a,[o,n.paths[o].name]),!t.multiSelectRegion&&!a.isDefaultPrevented())for(var s in n.paths)i.countries[s].currentFillColor=i.countries[s].getOriginalFill(),i.countries[s].setFill(i.countries[s].getOriginalFill());a.isDefaultPrevented()||(i.isSelected(o)?i.deselect(o,r):i.select(o,r))}),t.showTooltip&&t.container.mousemove(function(t){if(i.label.is(":visible")){var e=t.pageX-15-i.labelWidth,n=t.pageY-15-i.labelHeight;e<0&&(e=t.pageX+15),n<0&&(n=t.pageY+15),i.label.css({left:e,top:n})}}),this.setColors(t.colors),this.canvas.canvas.appendChild(this.rootGroup),this.applyTransform(),this.colorScale=new ColorScale(t.scaleColors,t.normalizeFunction,t.valueMin,t.valueMax),t.values&&(this.values=t.values,this.setValues(t.values)),t.selectedRegions)if(t.selectedRegions instanceof Array)for(var a in t.selectedRegions)this.select(t.selectedRegions[a].toLowerCase());else this.select(t.selectedRegions.toLowerCase());if(this.bindZoomButtons(),t.pins&&(e={pins:t.pins,mode:t.pinMode},this.pinHandlers=!1,this.placePins(t.pins,t.pinMode)),t.showLabels){this.pinHandlers=!1;var s={};for(r in i.countries)"function"!=typeof i.countries[r]&&(t.pins&&t.pins[r]||(s[r]=r.toUpperCase()));e={pins:s,mode:"content"},this.placePins(s,"content")}JQVMap.mapIndex++};JQVMap.prototype={transX:0,transY:0,scale:1,baseTransX:0,baseTransY:0,baseScale:1,width:0,height:0,countries:{},countriesColors:{},countriesData:{},zoomStep:1.4,zoomMaxStep:4,zoomCurStep:1},JQVMap.xlink="http://www.w3.org/1999/xlink",JQVMap.mapIndex=1,JQVMap.maps={},function(){var t={color:1,colors:1,values:1,backgroundColor:1,scaleColors:1,normalizeFunction:1,enableZoom:1,showTooltip:1,borderColor:1,borderWidth:1,borderOpacity:1,selectedRegions:1,multiSelectRegion:1},e={onLabelShow:"labelShow",onLoad:"load",onRegionOver:"regionMouseOver",onRegionOut:"regionMouseOut",onRegionClick:"regionClick",onRegionSelect:"regionSelect",onRegionDeselect:"regionDeselect",onResize:"resize"};jQuery.fn.vectorMap=function(i){var n={map:"world_en",backgroundColor:"#a5bfdd",color:"#f4f3f0",hoverColor:"#c9dfaf",hoverColors:{},selectedColor:"#c9dfaf",scaleColors:["#b6d6ff","#005ace"],normalizeFunction:"linear",enableZoom:!0,showTooltip:!0,borderColor:"#818181",borderWidth:1,borderOpacity:.25,selectedRegions:null,multiSelectRegion:!1},r=this.data("mapObject");if("addMap"===i)JQVMap.maps[arguments[1]]=arguments[2];else{if("set"!==i||!t[arguments[1]]){if("string"==typeof i&&"function"==typeof r[i])return r[i].apply(r,Array.prototype.slice.call(arguments,1));for(var o in jQuery.extend(n,i),(n.container=this).css({position:"relative",overflow:"hidden"}),r=new JQVMap(n),this.data("mapObject",r),this.unbind(".jqvmap"),e)n[o]&&this.bind(e[o]+".jqvmap",n[o]);var a=jQuery.Event("load.jqvmap");return jQuery(n.container).trigger(a,r),r}r["set"+arguments[1].charAt(0).toUpperCase()+arguments[1].substr(1)].apply(r,Array.prototype.slice.call(arguments,2))}}}(jQuery),ColorScale.arrayToRgb=function(t){for(var e,i="#",n=0;n<t.length;n++)i+=1===(e=t[n].toString(16)).length?"0"+e:e;return i},ColorScale.prototype.getColor=function(t){"function"==typeof this.normalize&&(t=this.normalize(t));for(var e,i=[],n=0,r=0;r<this.colors.length-1;r++)e=this.vectorLength(this.vectorSubtract(this.colors[r+1],this.colors[r])),i.push(e),n+=e;var o,a=(this.maxValue-this.minValue)/n;for(r=0;r<i.length;r++)i[r]*=a;for(r=0,t-=this.minValue;0<=t-i[r];)t-=i[r],r++;for(o=r===this.colors.length-1?this.vectorToNum(this.colors[r]).toString(16):this.vectorToNum(this.vectorAdd(this.colors[r],this.vectorMult(this.vectorSubtract(this.colors[r+1],this.colors[r]),t/i[r]))).toString(16);o.length<6;)o="0"+o;return"#"+o},ColorScale.rgbToArray=function(t){return t=t.substr(1),[parseInt(t.substr(0,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(4,2),16)]},ColorScale.prototype.setColors=function(t){for(var e=0;e<t.length;e++)t[e]=ColorScale.rgbToArray(t[e]);this.colors=t},ColorScale.prototype.setMax=function(t){this.clearMaxValue=t,"function"==typeof this.normalize?this.maxValue=this.normalize(t):this.maxValue=t},ColorScale.prototype.setMin=function(t){this.clearMinValue=t,"function"==typeof this.normalize?this.minValue=this.normalize(t):this.minValue=t},ColorScale.prototype.setNormalizeFunction=function(t){"polynomial"===t?this.normalize=function(t){return Math.pow(t,.2)}:"linear"===t?delete this.normalize:this.normalize=t,this.setMin(this.clearMinValue),this.setMax(this.clearMaxValue)},ColorScale.prototype.vectorAdd=function(t,e){for(var i=[],n=0;n<t.length;n++)i[n]=t[n]+e[n];return i},ColorScale.prototype.vectorLength=function(t){for(var e=0,i=0;i<t.length;i++)e+=t[i]*t[i];return Math.sqrt(e)},ColorScale.prototype.vectorMult=function(t,e){for(var i=[],n=0;n<t.length;n++)i[n]=t[n]*e;return i},ColorScale.prototype.vectorSubtract=function(t,e){for(var i=[],n=0;n<t.length;n++)i[n]=t[n]-e[n];return i},ColorScale.prototype.vectorToNum=function(t){for(var e=0,i=0;i<t.length;i++)e+=Math.round(t[i])*Math.pow(256,t.length-i-1);return e},JQVMap.prototype.applyTransform=function(){var t,e,i,n;i=this.defaultWidth*this.scale<=this.width?(t=(this.width-this.defaultWidth*this.scale)/(2*this.scale),(this.width-this.defaultWidth*this.scale)/(2*this.scale)):(t=0,(this.width-this.defaultWidth*this.scale)/this.scale),n=this.defaultHeight*this.scale<=this.height?(e=(this.height-this.defaultHeight*this.scale)/(2*this.scale),(this.height-this.defaultHeight*this.scale)/(2*this.scale)):(e=0,(this.height-this.defaultHeight*this.scale)/this.scale),this.transY>e?this.transY=e:this.transY<n&&(this.transY=n),this.transX>t?this.transX=t:this.transX<i&&(this.transX=i),this.canvas.applyTransformParams(this.scale,this.transX,this.transY)},JQVMap.prototype.bindZoomButtons=function(){var t=this;this.container.find(".jqvmap-zoomin").click(function(){t.zoomIn()}),this.container.find(".jqvmap-zoomout").click(function(){t.zoomOut()})},JQVMap.prototype.deselect=function(t,e){if(t=t.toLowerCase(),e=e||jQuery("#"+this.getCountryId(t))[0],this.isSelected(t))this.selectedRegions.splice(this.selectIndex(t),1),jQuery(this.container).trigger("regionDeselect.jqvmap",[t]),e.currentFillColor=e.getOriginalFill(),e.setFill(e.getOriginalFill());else for(var i in this.countries)this.selectedRegions.splice(this.selectedRegions.indexOf(i),1),this.countries[i].currentFillColor=this.color,this.countries[i].setFill(this.color)},JQVMap.prototype.getCountryId=function(t){return"jqvmap"+this.index+"_"+t},JQVMap.prototype.getPin=function(t){return jQuery("#"+this.getPinId(t)).html()},JQVMap.prototype.getPinId=function(t){return this.getCountryId(t)+"_pin"},JQVMap.prototype.getPins=function(){var t=this.container.find(".jqvmap-pin"),e={};return jQuery.each(t,function(t,i){var n=(i=jQuery(i)).attr("for").toLowerCase(),r=i.html();e[n]=r}),JSON.stringify(e)},JQVMap.prototype.highlight=function(t,e){e=e||jQuery("#"+this.getCountryId(t))[0],this.hoverOpacity?e.setOpacity(this.hoverOpacity):this.hoverColors&&t in this.hoverColors?(e.currentFillColor=e.getFill()+"",e.setFill(this.hoverColors[t])):this.hoverColor&&(e.currentFillColor=e.getFill()+"",e.setFill(this.hoverColor))},JQVMap.prototype.isSelected=function(t){return 0<=this.selectIndex(t)},JQVMap.prototype.makeDraggable=function(){var t,e,i,n,r,o,a,s,l,c=!1,u=this;u.isMoving=!1,u.isMovingTimeout=!1,this.container.mousemove(function(i){return c&&(u.transX-=(t-i.pageX)/u.scale,u.transY-=(e-i.pageY)/u.scale,u.applyTransform(),t=i.pageX,e=i.pageY,u.isMoving=!0,u.isMovingTimeout&&clearTimeout(u.isMovingTimeout),u.container.trigger("drag")),!1}).mousedown(function(i){return c=!0,t=i.pageX,e=i.pageY,!1}).mouseup(function(){return c=!1,clearTimeout(u.isMovingTimeout),u.isMovingTimeout=setTimeout(function(){u.isMoving=!1},100),!1}).mouseout(function(){if(c&&u.isMoving)return clearTimeout(u.isMovingTimeout),u.isMovingTimeout=setTimeout(function(){c=!1,u.isMoving=!1},100),!1}),jQuery(this.container).bind("touchmove",function(t){var e,c,h,d,f=t.originalEvent.touches;if(1===f.length){if(1===i){if(s===f[0].pageX&&l===f[0].pageY)return;h=u.transX,d=u.transY,u.transX-=(s-f[0].pageX)/u.scale,u.transY-=(l-f[0].pageY)/u.scale,u.applyTransform(),h===u.transX&&d===u.transY||t.preventDefault(),u.isMoving=!0,u.isMovingTimeout&&clearTimeout(u.isMovingTimeout)}s=f[0].pageX,l=f[0].pageY}else 2===f.length&&(2===i?(c=Math.sqrt(Math.pow(f[0].pageX-f[1].pageX,2)+Math.pow(f[0].pageY-f[1].pageY,2))/o,u.setScale(a*c,n,r),t.preventDefault()):(e=jQuery(u.container).offset(),n=f[0].pageX>f[1].pageX?f[1].pageX+(f[0].pageX-f[1].pageX)/2:f[0].pageX+(f[1].pageX-f[0].pageX)/2,r=f[0].pageY>f[1].pageY?f[1].pageY+(f[0].pageY-f[1].pageY)/2:f[0].pageY+(f[1].pageY-f[0].pageY)/2,n-=e.left,r-=e.top,a=u.scale,o=Math.sqrt(Math.pow(f[0].pageX-f[1].pageX,2)+Math.pow(f[0].pageY-f[1].pageY,2))));i=f.length}),jQuery(this.container).bind("touchstart",function(){i=0}),jQuery(this.container).bind("touchend",function(){i=0})},JQVMap.prototype.placePins=function(t,e){var i=this;if((!e||"content"!==e&&"id"!==e)&&(e="content"),"content"===e?jQuery.each(t,function(t,e){if(0!==jQuery("#"+i.getCountryId(t)).length){var n=i.getPinId(t),r=jQuery("#"+n);0<r.length&&r.remove(),i.container.append('<div id="'+n+'" for="'+t+'" class="jqvmap-pin" style="position:absolute">'+e+"</div>")}}):jQuery.each(t,function(t,e){if(0!==jQuery("#"+i.getCountryId(t)).length){var n=i.getPinId(t),r=jQuery("#"+n);0<r.length&&r.remove(),i.container.append('<div id="'+n+'" for="'+t+'" class="jqvmap-pin" style="position:absolute"></div>'),r.append(jQuery("#"+e))}}),this.positionPins(),!this.pinHandlers){this.pinHandlers=!0;var n=function(){i.positionPins()};this.container.bind("zoomIn",n).bind("zoomOut",n).bind("drag",n)}},JQVMap.prototype.positionPins=function(){var t=this,e=this.container.find(".jqvmap-pin");jQuery.each(e,function(e,i){i=jQuery(i);var n=t.getCountryId(i.attr("for").toLowerCase()),r=jQuery("#"+n)[0].getBBox(),o=t.scale,a=t.canvas.rootGroup.getBoundingClientRect(),s=t.container[0].getBoundingClientRect(),l=r.x*o+r.width*o/2,c=r.y*o+r.height*o/2;i.css({left:a.left-s.left+l-i.width()/2,top:a.top-s.top+c-i.height()/2})})},JQVMap.prototype.removePin=function(t){t=t.toLowerCase(),jQuery("#"+this.getPinId(t)).remove()},JQVMap.prototype.removePins=function(){this.container.find(".jqvmap-pin").remove()},JQVMap.prototype.reset=function(){for(var t in this.countries)this.countries[t].setFill(this.color);this.scale=this.baseScale,this.transX=this.baseTransX,this.transY=this.baseTransY,this.applyTransform()},JQVMap.prototype.resize=function(){var t=this.baseScale;this.width/this.height>this.defaultWidth/this.defaultHeight?(this.baseScale=this.height/this.defaultHeight,this.baseTransX=Math.abs(this.width-this.defaultWidth*this.baseScale)/(2*this.baseScale)):(this.baseScale=this.width/this.defaultWidth,this.baseTransY=Math.abs(this.height-this.defaultHeight*this.baseScale)/(2*this.baseScale)),this.scale*=this.baseScale/t,this.transX*=this.baseScale/t,this.transY*=this.baseScale/t},JQVMap.prototype.select=function(t,e){t=t.toLowerCase(),e=e||jQuery("#"+this.getCountryId(t))[0],this.isSelected(t)||(this.multiSelectRegion?this.selectedRegions.push(t):this.selectedRegions=[t],jQuery(this.container).trigger("regionSelect.jqvmap",[t]),this.selectedColor&&e&&(e.currentFillColor=this.selectedColor,e.setFill(this.selectedColor)))},JQVMap.prototype.selectIndex=function(t){t=t.toLowerCase();for(var e=0;e<this.selectedRegions.length;e++)if(t===this.selectedRegions[e])return e;return-1},JQVMap.prototype.setBackgroundColor=function(t){this.container.css("background-color",t)},JQVMap.prototype.setColor=function(t){for(var e in this.countries)this.countries[e].setFill(t),this.countries[e].setAttribute("original",t)},JQVMap.prototype.setColors=function(t,e){if("string"==typeof t)this.countries[t].setFill(e),this.countries[t].setAttribute("original",e);else{var i=t;for(var n in i)this.countries[n]&&(this.countries[n].setFill(i[n]),this.countries[n].setAttribute("original",i[n]))}},JQVMap.prototype.setNormalizeFunction=function(t){this.colorScale.setNormalizeFunction(t),this.values&&this.setValues(this.values)},JQVMap.prototype.setScale=function(t){this.scale=t,this.applyTransform()},JQVMap.prototype.setScaleColors=function(t){this.colorScale.setColors(t),this.values&&this.setValues(this.values)},JQVMap.prototype.setValues=function(t){var e,i=0,n=Number.MAX_VALUE;for(var r in t)r=r.toLowerCase(),e=parseFloat(t[r]),isNaN(e)||(i<e&&(i=t[r]),e<n&&(n=e));n===i&&i++,this.colorScale.setMin(n),this.colorScale.setMax(i);var o={};for(r in t)r=r.toLowerCase(),e=parseFloat(t[r]),o[r]=isNaN(e)?this.color:this.colorScale.getColor(e);this.setColors(o),this.values=t},JQVMap.prototype.unhighlight=function(t,e){t=t.toLowerCase(),(e=e||jQuery("#"+this.getCountryId(t))[0]).setOpacity(1),e.currentFillColor&&e.setFill(e.currentFillColor)},JQVMap.prototype.zoomIn=function(){var t=this,e=(jQuery("#zoom").innerHeight()-12-30-6-7-6)/(this.zoomMaxStep-this.zoomCurStep);if(t.zoomCurStep<t.zoomMaxStep){t.transX-=(t.width/t.scale-t.width/(t.scale*t.zoomStep))/2,t.transY-=(t.height/t.scale-t.height/(t.scale*t.zoomStep))/2,t.setScale(t.scale*t.zoomStep),t.zoomCurStep++;var i=jQuery("#zoomSlider");i.css("top",parseInt(i.css("top"),10)-e),t.container.trigger("zoomIn")}},JQVMap.prototype.zoomOut=function(){var t=this,e=(jQuery("#zoom").innerHeight()-12-30-6-7-6)/(this.zoomMaxStep-this.zoomCurStep);if(1<t.zoomCurStep){t.transX+=(t.width/(t.scale/t.zoomStep)-t.width/t.scale)/2,t.transY+=(t.height/(t.scale/t.zoomStep)-t.height/t.scale)/2,t.setScale(t.scale/t.zoomStep),t.zoomCurStep--;var i=jQuery("#zoomSlider");i.css("top",parseInt(i.css("top"),10)+e),t.container.trigger("zoomOut")}},VectorCanvas.prototype.applyTransformParams=function(t,e,i){"svg"===this.mode?this.rootGroup.setAttribute("transform","scale("+t+") translate("+e+", "+i+")"):(this.rootGroup.coordorigin=this.width-e+","+(this.height-i),this.rootGroup.coordsize=this.width/t+","+this.height/t)},VectorCanvas.prototype.createGroup=function(t){var e;return"svg"===this.mode?e=this.createSvgNode("g"):((e=this.createVmlNode("group")).style.width=this.width+"px",e.style.height=this.height+"px",e.style.left="0px",e.style.top="0px",e.coordorigin="0 0",e.coordsize=this.width+" "+this.height),t&&(this.rootGroup=e),e},VectorCanvas.prototype.createPath=function(t){var e;if("svg"===this.mode)(e=this.createSvgNode("path")).setAttribute("d",t.path),null!==this.params.borderColor&&e.setAttribute("stroke",this.params.borderColor),0<this.params.borderWidth&&(e.setAttribute("stroke-width",this.params.borderWidth),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-linejoin","round")),0<this.params.borderOpacity&&e.setAttribute("stroke-opacity",this.params.borderOpacity),e.setFill=function(t){this.setAttribute("fill",t),null===this.getAttribute("original")&&this.setAttribute("original",t)},e.getFill=function(){return this.getAttribute("fill")},e.getOriginalFill=function(){return this.getAttribute("original")},e.setOpacity=function(t){this.setAttribute("fill-opacity",t)};else{(e=this.createVmlNode("shape")).coordorigin="0 0",e.coordsize=this.width+" "+this.height,e.style.width=this.width+"px",e.style.height=this.height+"px",e.fillcolor=JQVMap.defaultFillColor,e.stroked=!1,e.path=VectorCanvas.pathSvgToVml(t.path);var i=this.createVmlNode("skew");i.on=!0,i.matrix="0.01,0,0,0.01,0,0",i.offset="0,0",e.appendChild(i);var n=this.createVmlNode("fill");e.appendChild(n),e.setFill=function(t){this.getElementsByTagName("fill")[0].color=t,null===this.getAttribute("original")&&this.setAttribute("original",t)},e.getFill=function(){return this.getElementsByTagName("fill")[0].color},e.getOriginalFill=function(){return this.getAttribute("original")},e.setOpacity=function(t){this.getElementsByTagName("fill")[0].opacity=parseInt(100*t,10)+"%"}}return e},VectorCanvas.prototype.pathSvgToVml=function(t){var e,i,n="",r=0,o=0;return t.replace(/([MmLlHhVvCcSs])((?:-?(?:\d+)?(?:\.\d+)?,?\s?)+)/g,function(t,a,s){(s=s.replace(/(\d)-/g,"$1,-").replace(/\s+/g,",").split(","))[0]||s.shift();for(var l=0,c=s.length;l<c;l++)s[l]=Math.round(100*s[l]);switch(a){case"m":r+=s[0],o+=s[1],n="t"+s.join(",");break;case"M":r=s[0],o=s[1],n="m"+s.join(",");break;case"l":r+=s[0],o+=s[1],n="r"+s.join(",");break;case"L":r=s[0],o=s[1],n="l"+s.join(",");break;case"h":r+=s[0],n="r"+s[0]+",0";break;case"H":r=s[0],n="l"+r+","+o;break;case"v":o+=s[0],n="r0,"+s[0];break;case"V":o=s[0],n="l"+r+","+o;break;case"c":e=r+s[s.length-4],i=o+s[s.length-3],r+=s[s.length-2],o+=s[s.length-1],n="v"+s.join(",");break;case"C":e=s[s.length-4],i=s[s.length-3],r=s[s.length-2],o=s[s.length-1],n="c"+s.join(",");break;case"s":s.unshift(o-i),s.unshift(r-e),e=r+s[s.length-4],i=o+s[s.length-3],r+=s[s.length-2],o+=s[s.length-1],n="v"+s.join(",");break;case"S":s.unshift(o+o-i),s.unshift(r+r-e),e=s[s.length-4],i=s[s.length-3],r=s[s.length-2],o=s[s.length-1],n="c"+s.join(",")}return n}).replace(/z/g,"")},VectorCanvas.prototype.setSize=function(t,e){if("svg"===this.mode)this.canvas.setAttribute("width",t),this.canvas.setAttribute("height",e);else if(this.canvas.style.width=t+"px",this.canvas.style.height=e+"px",this.canvas.coordsize=t+" "+e,this.canvas.coordorigin="0 0",this.rootGroup){for(var i=this.rootGroup.getElementsByTagName("shape"),n=0,r=i.length;n<r;n++)i[n].coordsize=t+" "+e,i[n].style.width=t+"px",i[n].style.height=e+"px";this.rootGroup.coordsize=t+" "+e,this.rootGroup.style.width=t+"px",this.rootGroup.style.height=e+"px"}this.width=t,this.height=e},jQuery.fn.vectorMap("addMap","world_en",{width:950,height:550,paths:{id:{path:"M781.68,324.4l-2.31,8.68l-12.53,4.23l-3.75-4.4l-1.82,0.5l3.4,13.12l5.09,0.57l6.79,2.57v2.57l3.11-0.57l4.53-6.27v-5.13l2.55-5.13l2.83,0.57l-3.4-7.13l-0.52-4.59L781.68,324.4L781.68,324.4M722.48,317.57l-0.28,2.28l6.79,11.41h1.98l14.15,23.67l5.66,0.57l2.83-8.27l-4.53-2.85l-0.85-4.56L722.48,317.57L722.48,317.57M789.53,349.11l2.26,2.77l-1.47,4.16v0.79h3.34l1.18-10.4l1.08,0.3l1.96,9.5l1.87,0.5l1.77-4.06l-1.77-6.14l-1.47-2.67l4.62-3.37l-1.08-1.49l-4.42,2.87h-1.18l-2.16-3.17l0.69-1.39l3.64-1.78l5.5,1.68l1.67-0.1l4.13-3.86l-1.67-1.68l-3.83,2.97h-2.46l-3.73-1.78l-2.65,0.1l-2.95,4.75l-1.87,8.22L789.53,349.11L789.53,349.11M814.19,330.5l-1.87,4.55l2.95,3.86h0.98l1.28-2.57l0.69-0.89l-1.28-1.39l-1.87-0.69L814.19,330.5L814.19,330.5M819.99,345.45l-4.03,0.89l-1.18,1.29l0.98,1.68l2.65-0.99l1.67-0.99l2.46,1.98l1.08-0.89l-1.96-2.38L819.99,345.45L819.99,345.45M753.17,358.32l-2.75,1.88l0.59,1.58l8.75,1.98l4.42,0.79l1.87,1.98l5.01,0.4l2.36,1.98l2.16-0.5l1.97-1.78l-3.64-1.68l-3.14-2.67l-8.16-1.98L753.17,358.32L753.17,358.32M781.77,366.93l-2.16,1.19l1.28,1.39l3.14-1.19L781.77,366.93L781.77,366.93M785.5,366.04l0.39,1.88l2.26,0.59l0.88-1.09l-0.98-1.49L785.5,366.04L785.5,366.04M790.91,370.99l-2.75,0.4l2.46,2.08h1.96L790.91,370.99L790.91,370.99M791.69,367.72l-0.59,1.19l4.42,0.69l3.44-1.98l-1.96-0.59l-3.14,0.89l-1.18-0.99L791.69,367.72L791.69,367.72M831.93,339.34l-4.17,0.47l-2.68,1.96l1.11,2.24l4.54,0.84v0.84l-2.87,2.33l1.39,4.85l1.39,0.09l1.2-4.76h2.22l0.93,4.66l10.83,8.96l0.28,7l3.7,4.01l1.67-0.09l0.37-24.72l-6.29-4.38l-5.93,4.01l-2.13,1.31l-3.52-2.24l-0.09-7.09L831.93,339.34L831.93,339.34z",name:"Indonesia"},pg:{path:"M852.76,348.29l-0.37,24.44l3.52-0.19l4.63-5.41l3.89,0.19l2.5,2.24l0.83,6.9l7.96,4.2l2.04-0.75v-2.52l-6.39-5.32l-3.15-7.28l2.5-1.21l-1.85-4.01l-3.7-0.09l-0.93-4.29l-9.81-6.62L852.76,348.29L852.76,348.29M880.48,349l-0.88,1.25l4.81,4.26l0.66,2.5l1.31-0.15l0.15-2.57l-1.46-1.32L880.48,349L880.48,349M882.89,355.03l-0.95,0.22l-0.58,2.57l-1.82,1.18l-5.47,0.96l0.22,2.06l5.76-0.29l3.65-2.28l-0.22-3.97L882.89,355.03L882.89,355.03M889.38,359.51l1.24,3.45l2.19,2.13l0.66-0.59l-0.22-2.28l-2.48-3.01L889.38,359.51L889.38,359.51z",name:"Papua New Guinea"},mx:{path:"M137.49,225.43l4.83,15.21l-2.25,1.26l0.25,3.02l4.25,3.27v6.05l5.25,5.04l-2.25-14.86l-3-9.83l0.75-6.8l2.5,0.25l1,2.27l-1,5.79l13,25.44v9.07l10.5,12.34l11.5,5.29l4.75-2.77l6.75,5.54l4-4.03l-1.75-4.54l5.75-1.76l1.75,1.01l1.75-1.76h2.75l5-8.82l-2.5-2.27l-9.75,2.27l-2.25,6.55l-5.75,1.01l-6.75-2.77l-3-9.57l2.27-12.07l-4.64-2.89l-2.21-11.59l-1.85-0.79l-3.38,3.43l-3.88-2.07l-1.52-7.73l-15.37-1.61l-7.94-5.97L137.49,225.43L137.49,225.43z",name:"Mexico"},ee:{path:"M517.77,143.66l-5.6-0.2l-3.55,2.17l-0.05,1.61l2.3,2.17l7.15,1.21L517.77,143.66L517.77,143.66M506.76,147.64l-1.55-0.05l-0.9,0.91l0.65,0.96l1.55,0.1l0.8-1.16L506.76,147.64L506.76,147.64z",name:"Estonia"},dz:{path:"M473.88,227.49l-4.08-1.37l-16.98,3.19l-3.7,2.81l2.26,11.67l-6.75,0.27l-4.06,6.53l-9.67,2.32l0.03,4.75l31.85,24.35l5.43,0.46l18.11-14.15l-1.81-2.28l-3.4-0.46l-2.04-3.42v-14.15l-1.36-1.37l0.23-3.65l-3.62-3.65l-0.45-3.88l1.58-1.14l-0.68-4.11L473.88,227.49L473.88,227.49z",name:"Algeria"},ma:{path:"M448.29,232.28h-11.55l-2.26,5.02l-5.21,2.51l-4.3,11.64l-8.38,5.02l-11.77,19.39l11.55-0.23l0.45-5.7h2.94v-7.76h10.19l0.23-10.04l9.74-2.28l4.08-6.62l6.34-0.23L448.29,232.28L448.29,232.28z",name:"Morocco"},mr:{path:"M404.9,276.66l2.18,2.85l-0.45,12.32l3.17-2.28l2.26-0.46l3.17,1.14l3.62,5.02l3.4-2.28l16.53-0.23l-4.08-27.61l4.38-0.02l-8.16-6.25l0.01,4.06l-10.33,0.01l-0.05,7.75l-2.97-0.01l-0.38,5.72L404.9,276.66L404.9,276.66z",name:"Mauritania"},sn:{path:"M412.03,289.84L410.12,290.31L406.18,293.18L405.28,294.78L405,296.37L406.43,297.40L411.28,297.34L414.40,296.5L414.75,298.03L414.46,300.06L414.53,300.09L406.78,300.21L408.03,303.21L408.71,301.37L418,302.15L418.06,302.21L419.03,302.25L422,302.37L422.12,300.62L418.53,296.31L414.53,290.87L412.03,289.84z",name:"Senegal"},gm:{path:"M406.89,298.34l-0.13,1.11l6.92-0.1l0.35-1.03l-0.15-1.04l-1.99,0.81L406.89,298.34L406.89,298.34z",name:"Gambia"},gw:{path:"M408.6,304.53l1.4,2.77l3.93-3.38l0.04-1.04l-4.63-0.67L408.6,304.53L408.6,304.53z",name:"Guinea-Bissau"},gn:{path:"M410.42,307.94l3.04,4.68l3.96-3.44l4.06-0.18l3.38,4.49l2.87,1.89l1.08-2.1l0.96-0.54l-0.07-4.62l-1.91-5.48l-5.86,0.65l-7.25-0.58l-0.04,1.86L410.42,307.94L410.42,307.94z",name:"Guinea"},sl:{path:"M413.93,313.13l5.65,5.46l4.03-4.89l-2.52-3.95l-3.47,0.35L413.93,313.13L413.93,313.13z",name:"Sierra Leone"},lr:{path:"M420.17,319.19l10.98,7.34l-0.26-5.56l-3.32-3.91l-3.24-2.87L420.17,319.19L420.17,319.19z",name:"Liberia"},ci:{path:"M432.07,326.75l4.28-3.03l5.32-0.93l5.43,1.17l-2.77-4.19l-0.81-2.56l0.81-7.57l-4.85,0.23l-2.2-2.1l-4.62,0.12l-2.2,0.35l0.23,5.12l-1.16,0.47l-1.39,2.56l3.58,4.19L432.07,326.75L432.07,326.75z",name:"Cote d'Ivoire"},ml:{path:"M419.46,295.84l3.08-2.11l17.12-0.1l-3.96-27.54l4.52-0.13l21.87,16.69l2.94,0.42l-1.11,9.28l-13.75,1.25l-10.61,7.92l-1.93,5.42l-7.37,0.31l-1.88-5.41l-5.65,0.4l0.22-1.77L419.46,295.84L419.46,295.84z",name:"Mali"},bf:{path:"M450.59,294.28l3.64-0.29l5.97,8.44l-5.54,4.18l-4.01-1.03l-5.39,0.07l-0.87,3.16l-4.52,0.22l-1.24-1.69l1.6-5.14L450.59,294.28L450.59,294.28z",name:"Burkina Faso"},ne:{path:"M460.89,302l2.55-0.06l2.3-3.45l3.86-0.69l4.11,2.51l8.77,0.25l6.78-2.76l2.55-2.19l0.19-2.88l4.73-4.77l1.25-10.53l-3.11-6.52l-7.96-1.94l-18.42,14.36l-2.61-0.25l-1.12,9.97l-9.4,0.94L460.89,302L460.89,302z",name:"Niger"},gh:{path:"M444.34,317.05l1.12,2.63l2.92,4.58l1.62-0.06l4.42-2.51l-0.31-14.29l-3.42-1l-4.79,0.13L444.34,317.05L444.34,317.05z",name:"Ghana"},tg:{path:"M455.22,321.25l2.68-1.57l-0.06-10.35l-1.74-2.82l-1.12,0.94L455.22,321.25L455.22,321.25z",name:"Togo"},bj:{path:"M458.71,319.49h2.12l0.12-6.02l2.68-3.89l-0.12-6.77l-2.43-0.06l-4.17,3.26l1.74,3.32L458.71,319.49L458.71,319.49z",name:"Benin"},ng:{path:"M461.57,319.37l3.92,0.19l4.73,5.27l2.3,0.63l1.8-0.88l2.74-0.38l0.93-3.82l3.73-2.45l4.04-0.19l7.4-13.61l-0.12-3.07l-3.42-2.63l-6.84,3.01l-9.15-0.13l-4.36-2.76l-3.11,0.69l-1.62,2.82l-0.12,7.96l-2.61,3.7L461.57,319.37L461.57,319.37z",name:"Nigeria"},tn:{path:"M474.91,227.33l5.53-2.23l1.82,1.18l0.07,1.44l-0.85,1.11l0.13,1.97l0.85,0.46v3.54l-0.98,1.64l0.13,1.05l3.71,1.31l-2.99,4.65l-1.17-0.07l-0.2,3.74l-1.3,0.2l-1.11-0.98l0.26-3.8l-3.64-3.54l-0.46-3.08l1.76-1.38L474.91,227.33L474.91,227.33z",name:"Tunisia"},ly:{path:"M480.05,248.03l1.56-0.26l0.46-3.6h0.78l3.19-5.24l7.87,2.29l2.15,3.34l7.74,3.54l4.03-1.7l-0.39-1.7l-1.76-1.7l0.2-1.18l2.86-2.42h5.66l2.15,2.88l4.55,0.66l0.59,36.89l-3.38-0.13l-20.42-10.62l-2.21,1.25l-8.39-2.1l-2.28-3.01l-3.32-0.46l-1.69-3.01L480.05,248.03L480.05,248.03z",name:"Libya"},eg:{path:"M521.93,243.06l2.67,0.07l5.2,1.44l2.47,0.07l3.06-2.56h1.43l2.6,1.44h3.29l0.59-0.04l2.08,5.98l0.59,1.93l0.55,2.89l-0.98,0.72l-1.69-0.85l-1.95-6.36l-1.76-0.13l-0.13,2.16l1.17,3.74l9.37,11.6l0.2,4.98l-2.73,3.15L522.32,273L521.93,243.06L521.93,243.06z",name:"Egypt"},td:{path:"M492.79,296l0.13-2.95l4.74-4.61l1.27-11.32l-3.16-6.04l2.21-1.13l21.4,11.15l-0.13,10.94l-3.77,3.21v5.64l2.47,4.78h-4.36l-7.22,7.14l-0.19,2.16l-5.33-0.07l-0.07,0.98l-3.04-0.4l-2.08-3.93l-1.56-0.77l0.2-1.2l1.96-1.5v-7.02l-2.71-0.42l-3.27-2.43L492.79,296L492.79,296L492.79,296z",name:"Chad"},sd:{path:"M520.15,292.43l0.18-11.83l2.46,0.07l-0.28-6.57l25.8,0.23l3.69-3.72l7.96,12.73l-4.36,5.14v7.85l-6.86,14.75l-2.36,1.04l0.75,4.11h2.94l3.99,5.79l-3.2,0.41l-0.82,1.49l-0.08,2.15l-9.6-0.17l-0.98-1.49l-6.71-0.38l-12.32-12.68l1.23-0.74l0.33-2.98l-2.95-1.74l-2.69-5.31l0.15-4.94L520.15,292.43L520.15,292.43z",name:"Sudan"},cm:{path:"M477.82,324.28l3.22,2.96l-0.23,4.58l17.66-0.41l1.44-1.62l-5.06-5.45l-0.75-1.97l3.22-6.03l-2.19-4l-1.84-0.99v-2.03l2.13-1.39l0.12-6.32l-1.69-0.19l-0.03,3.32l-7.42,13.85l-4.54,0.23l-3.11,2.14L477.82,324.28L477.82,324.28z",name:"Cameroon"},er:{path:"M556.71,294.7l-0.25-5.89l3.96-4.62l1.07,0.82l1.95,6.52l9.36,6.97l-1.7,2.09l-6.85-5.89H556.71L556.71,294.7z",name:"Eritrea"},dj:{path:"M571.48,301.54l-0.57,3.36l3.96-0.06l0.06-4.94l-1.45-0.89L571.48,301.54L571.48,301.54z",name:"Djibouti"},et:{path:"M549.49,311.76l7.28-16.2l7.23,0.04l6.41,5.57l-0.45,4.59h4.97l0.51,2.76l8.04,4.81l4.96,0.25l-9.43,10.13l-12.95,3.99h-3.21l-5.72-4.88l-2.26-0.95l-4.38-6.45l-2.89,0.04l-0.34-2.96L549.49,311.76L549.49,311.76z",name:"Ethiopia"},so:{path:"M575.74,305.04l4.08,2.78l1.21-0.06l10.13-3.48l1.15,3.71l-0.81,3.13l-2.19,1.74l-5.47-0.35l-7.83-4.81L575.74,305.04L575.74,305.04M591.97,304.05l4.37-1.68l1.55,0.93l-0.17,3.88l-4.03,11.48l-21.81,23.36l-2.53-1.74l-0.17-9.86l3.28-3.77l6.96-2.15l10.21-10.78l2.67-2.38l0.75-3.48L591.97,304.05L591.97,304.05z",name:"Somalia"},ye:{path:"M599.62,299.65l2.13,2.38l2.88-1.74l1.04-0.35l-1.32-1.28l-2.53,0.75L599.62,299.65L599.62,299.65M571.99,289.23l1.44,4.28v4.18l3.46,3.14l24.38-9.93l0.23-2.73l-3.91-7.02l-9.81,3.13l-5.63,5.54l-6.53-3.86L571.99,289.23L571.99,289.23z",name:"Yemen"},cf:{path:"M495.66,324.05l4.66,5.04l1.84-2.38l2.93,0.12l0.63-2.32l2.88-1.8l5.98,4.12l3.45-3.42l13.39,0.59L519,311.18l1.67-1.04l0.23-2.26l-2.82-1.33h-4.14l-6.67,6.61l-0.23,2.72l-5.29-0.17l-0.17,1.16l-3.45-0.35l-3.11,5.91L495.66,324.05L495.66,324.05z",name:"Central African Republic"},st:{path:"M470.74,337.15l1.15-0.58l0.86,0.7l-0.86,1.33l-1.04-0.41L470.74,337.15L470.74,337.15M473.05,333.5l1.73-0.29l0.58,1.1l-0.86,0.93l-0.86-0.12L473.05,333.5L473.05,333.5z",name:"Sao Tome and Principe"},gq:{path:"M476.84,327.41l-0.46,1.97l1.38,0.75l1.32-0.99l-0.46-2.03L476.84,327.41L476.84,327.41M480.99,332.69l-0.06,1.39l4.54,0.23l-0.06-1.57L480.99,332.69L480.99,332.69z",name:"Equatorial Guinea"},ga:{path:"M486.39,332.63l-0.12,2.49l-5.64-0.12l-3.45,6.67l8.11,8.87l2.01-1.68l-0.06-1.74l-1.38-0.64v-1.22l3.11-1.97l2.76,2.09l3.05,0.06l-0.06-10.49l-4.83-0.23l-0.06-2.2L486.39,332.63L486.39,332.63z",name:"Gabon"},cg:{path:"M491,332.52l-0.06,1.45l4.78,0.12l0.17,12.41l-4.37-0.12l-2.53-1.97l-1.96,1.1l-0.09,0.55l1.01,0.49l0.29,2.55l-2.7,2.32l0.58,1.22l2.99-2.32h1.44l0.46,1.39l1.9,0.81l6.1-5.16l-0.12-3.77l1.27-3.07l3.91-2.9l1.05-9.81l-2.78,0.01l-3.22,4.41L491,332.52L491,332.52z",name:"Congo"},ao:{path:"M486.55,353.23l1.74,2.26l2.25-2.13l-0.66-2.21l-0.56-0.04L486.55,353.23L486.55,353.23M488.62,356.71l3.41,12.73l-0.08,4.02l-4.99,5.36l-0.75,8.71l19.2,0.17l6.24,2.26l5.15-0.67l-3-3.76l0.01-10.74l5.9-0.25v-4.19l-4.79-0.2l-0.96-9.92l-2.02,0.03l-1.09-0.98l-1.19,0.06l-1.58,3.06H502l-1.41-1.42l0.42-2.01l-1.66-2.43L488.62,356.71L488.62,356.71z",name:"Angola"},cd:{path:"M489.38,355.71l10.31-0.18l2.09,2.97l-0.08,2.19l0.77,0.7h5.12l1.47-2.89h2.09l0.85,0.86l2.87-0.08l0.85,10.08l4.96,0.16v0.78l13.33,6.01l0.62,1.17h2.79l-0.31-4.22l-5.04-2.42l0.31-3.2l2.17-5.08l4.96-0.16l-4.26-14.14l0.08-6.01l6.74-10.54l0.08-1.48l-1.01-0.55l0.04-2.86l-1.23-0.11l-1.24-1.58l-20.35-0.92l-3.73,3.63l-6.11-4.02l-2.15,1.32l-1.56,13.13l-3.86,2.98l-1.16,2.64l0.21,3.91l-6.96,5.69l-1.85-0.84l0.25,1.09L489.38,355.71L489.38,355.71z",name:"Congo"},rw:{path:"M537.82,339.9l2.81,2.59l-0.12,2.77l-4.36,0.09v-3.06L537.82,339.9L537.82,339.9z",name:"Rwanda"},bi:{path:"M536.21,346.21l4.27-0.09l-1.11,3.74l-1.08,0.94h-1.32l-0.94-2.53L536.21,346.21L536.21,346.21z",name:"Burundi"},ug:{path:"M538.3,339.09l3.03,2.84l1.9-1.21l5.14-0.84l0.88,0.09l0.33-1.95l2.9-6.1l-2.44-5.08l-7.91,0.05l-0.05,2.09l1.06,1.02l-0.16,2.09L538.3,339.09L538.3,339.09z",name:"Uganda"},ke:{path:"M550.83,326.52l2.66,5.19l-3.19,6.69l-0.42,2.03l15.93,9.85l4.94-7.76l-2.5-2.03l-0.05-10.22l3.13-3.42l-4.99,1.66l-3.77,0.05l-5.9-4.98l-1.86-0.8l-3.45,0.32l-0.61,1.02L550.83,326.52L550.83,326.52z",name:"Kenya"},tz:{path:"M550.57,371.42l17.47-2.14l-3.93-7.6l-0.21-7.28l1.27-3.48l-16.62-10.44l-5.21,0.86l-1.81,1.34l-0.16,3.05l-1.17,4.23l-1.22,1.45l-1.75,0.16l3.35,11.61l5.47,2.57l3.77,0.11L550.57,371.42L550.57,371.42z",name:"Tanzania"},zm:{path:"M514.55,384.7l3.17,4.4l4.91,0.3l1.74,0.96l5.14,0.06l4.43-6.21l12.38-5.54l1.08-4.88l-1.44-6.99l-6.46-3.68l-4.31,0.3l-2.15,4.76l0.06,2.17l5.08,2.47l0.3,5.37l-4.37,0.24l-1.08-1.81l-12.14-5.18l-0.36,3.98l-5.74,0.18L514.55,384.7L514.55,384.7z",name:"Zambia"},mw:{path:"M547.16,379.4l3.11,3.25l-0.06,4.16l0.6,1.75l4.13-4.46l-0.48-5.67l-2.21-1.69l-1.97-9.95l-3.41-0.12l1.55,7.17L547.16,379.4L547.16,379.4z",name:"Malawi"},mz:{path:"M541.17,413.28l2.69,2.23l6.34-3.86l1.02-5.73v-9.46l10.17-8.32l1.74,0.06l6.16-5.91l-0.96-12.18L552,372.17l0.48,3.68l2.81,2.17l0.66,6.63l-5.5,5.37l-1.32-3.01l0.24-3.98l-3.17-3.44l-7.78,3.62l7.24,3.68l0.24,10.73l-4.79,7.11L541.17,413.28L541.17,413.28z",name:"Mozambique"},zw:{path:"M524.66,392.3l8.97,10.13l6.88,1.75l4.61-7.23l-0.36-9.58l-7.48-3.86l-2.81,1.27l-4.19,6.39l-5.8-0.06L524.66,392.3L524.66,392.3z",name:"Zimbabwe"},na:{path:"M496.55,421.96l3.35,0.24l1.97,1.99l4.67,0.06l1.14-13.26v-8.68l2.99-0.6l1.14-9.1l7.6-0.24l2.69-2.23l-4.55-0.18l-6.16,0.84l-6.64-2.41h-18.66l0.48,5.3l6.22,9.16l-1.08,4.7l0.06,2.47L496.55,421.96L496.55,421.96z",name:"Namibia"},bw:{path:"M508.51,411.23l2.15,0.66l-0.3,6.15l2.21,0.3l5.08-4.58l6.1,0.66l1.62-4.1l7.72-7.05l-9.27-10.67l-0.12-1.75l-1.02-0.3l-2.81,2.59l-7.3,0.18l-1.02,9.1l-2.87,0.66L508.51,411.23L508.51,411.23z",name:"Botswana"},sz:{path:"M540.87,414l-2.51,0.42l-1.08,2.95l1.92,1.75h2.33l1.97-2.83L540.87,414L540.87,414z",name:"Swaziland"},ls:{path:"M527.41,425.39l3.05-2.35l1.44,0.06l1.74,2.17l-0.18,2.17l-2.93,1.08v0.84l-3.23-0.18l-0.78-2.35L527.41,425.39L527.41,425.39z",name:"Lesotho"},za:{path:"M534.16,403.63l-7.9,7.3l-1.88,4.51l-6.26-0.78l-5.21,4.63l-3.46-0.34l0.28-6.4l-1.23-0.43l-0.86,13.09l-6.14-0.06l-1.85-2.18l-2.71-0.03l2.47,7.09l4.41,4.17l-3.15,3.67l2.04,4.6l4.72,1.8l3.76-3.2l10.77,0.06l0.77-0.96l4.78-0.84l16.17-16.1l-0.06-5.07l-1.73,2.24h-2.59l-3.15-2.64l1.6-3.98l2.75-0.56l-0.25-8.18L534.16,403.63L534.16,403.63z M530.37,422.13l1.51-0.06l2.45,2.66l-0.07,3.08l-2.87,1.45l-0.18,1.02l-4.38,0.05l-1.37-3.3l1.25-2.42L530.37,422.13L530.37,422.13z",name:"South Africa"},gl:{path:"M321.13,50.07l-1.36,2.17l2.45,2.45l-1.09,2.45l3.54,4.62l4.35-1.36l5.71-0.54l6.53,7.07l4.35,11.69l-3.53,7.34l4.89-0.82l2.72,1.63l0.27,3.54l-5.98,0.27l3.26,3.26l4.08,0.82l-8.97,11.96l-1.09,7.34l1.9,5.98l-1.36,3.54l2.45,7.61l4.62,5.17l1.36-0.27l2.99-0.82l0.27,4.35l1.9,2.72l3.53-0.27l2.72-10.06l8.16-10.06l12.24-4.89l7.61-9.52l3.53,1.63h7.34l5.98-5.98l7.34-2.99l0.82-4.62l-4.62-4.08l-4.08-1.36l-2.18-5.71l5.17-2.99l8.16,4.35l2.72-2.99l-4.35-2.45l9.25-12.51l-1.63-5.44l-4.35-0.27l1.63-4.89l5.44-2.45l11.15-9.79l-3.26-3.53l-12.51,1.09l-6.53,6.53l3.81-8.43l-4.35-1.09l-2.45,4.35l-3.53-2.99l-9.79,1.09l2.72-4.35l16.04-0.54l-4.08-5.44l-17.4-3.26l-7.07,1.09l0.27,3.54l-7.34-2.45l0.27-2.45l-5.17,1.09l-1.09,2.72l5.44,1.9l-5.71,4.08l-4.08-4.62l-5.71-1.63l-0.82,4.35h-5.71l-2.18-4.62l-8.97-1.36l-4.89,2.45l-0.27,3.26l-6.25-0.82l-3.81,1.63l0.27,3.81v1.9l-7.07,1.36l-3.26-2.17l-2.18,3.53l3.26,3.54l6.8-0.82l0.54,2.18l-5.17,2.45L321.13,50.07L321.13,50.07M342.89,92.49l1.63,2.45l-0.82,2.99h-1.63l-2.18-2.45l0.54-1.9L342.89,92.49L342.89,92.49M410.87,85.69l4.62,1.36l-0.27,3.81l-4.89-2.45l-1.09-1.36L410.87,85.69L410.87,85.69z",name:"Greenland"},au:{path:"M761.17,427.98l-0.35,25.38l-3.9,2.86l-0.35,2.5l5.32,3.57l13.13-2.5h6.74l2.48-3.58l14.9-2.86l10.64,3.22l-0.71,4.29l1.42,4.29l8.16-1.43l0.35,2.14l-5.32,3.93l1.77,1.43l3.9-1.43l-1.06,11.8l7.45,5.72l4.26-1.43l2.13,2.14l12.42-1.79l11.71-18.95l4.26-1.07l8.51-15.73l2.13-13.58l-5.32-6.79l2.13-1.43l-4.26-13.23l-4.61-3.22l0.71-17.87l-4.26-3.22l-1.06-10.01h-2.13l-7.1,23.59l-3.9,0.36l-8.87-8.94l4.97-13.23l-9.22-1.79l-10.29,2.86l-2.84,8.22l-4.61,1.07l-0.35-5.72l-18.8,11.44l0.35,4.29l-2.84,3.93h-7.1l-15.26,6.43L761.17,427.98L761.17,427.98M825.74,496.26l-1.77,7.15l0.35,5l5.32-0.36l6.03-9.29L825.74,496.26L825.74,496.26z",name:"Australia"},nz:{path:"M913.02,481.96l1.06,11.8l-1.42,5.36l-5.32,3.93l0.35,4.65v5l1.42,1.79l14.55-12.51v-2.86h-3.55l-4.97-16.8L913.02,481.96L913.02,481.96M902.38,507.7l2.84,5.36l-7.81,7.51l-0.71,3.93l-5.32,0.71l-8.87,8.22l-8.16-3.93l-0.71-2.86l14.9-6.43L902.38,507.7L902.38,507.7z",name:"New Zealand"},nc:{path:"M906.64,420.47l-0.35,1.79l4.61,6.43l2.48,1.07l0.35-2.5L906.64,420.47L906.64,420.47z",name:"New Caledonia"},my:{path:"M764.14,332.92l3.02,3.49l11.58-4.01l2.29-8.84l5.16-0.37l4.72-3.42l-6.12-4.46l-1.4-2.45l-3.02,5.57l1.11,3.2l-1.84,2.67l-3.47-0.89l-8.41,6.17l0.22,3.57L764.14,332.92L764.14,332.92M732.71,315.45l2.01,4.51l0.45,5.86l2.69,4.17l6.49,3.94l2.46,0.23l-0.45-4.06l-2.13-5.18l-3.12-6.63l-0.26,1.16l-3.76-0.17l-2.7-3.88L732.71,315.45L732.71,315.45z",name:"Malaysia"},bn:{path:"M779.77,319.25l-2.88,3.49l2.36,0.74l1.33-1.86L779.77,319.25L779.77,319.25z",name:"Brunei Darussalam"},tl:{path:"M806.14,368.42l-5.11,4.26l0.49,1.09l2.16-0.4l2.55-2.38l5.01-0.69l-0.98-1.68L806.14,368.42L806.14,368.42z",name:"Timor-Leste"},sb:{path:"M895.43,364.65l0.15,2.28l1.39,1.32l1.31-0.81l-1.17-2.43L895.43,364.65L895.43,364.65M897.18,370.31l-1.17,1.25l1.24,2.28l1.46,0.44l-0.07-1.54L897.18,370.31L897.18,370.31M900.03,368.99l1.02,2.5l1.97,2.35l1.09-1.76l-1.46-2.5L900.03,368.99L900.03,368.99M905.14,372.74l0.58,3.09l1.39,1.91l1.17-2.42L905.14,372.74L905.14,372.74M906.74,379.65l-0.51,0.88l1.68,2.21l1.17,0.07l-0.73-2.87L906.74,379.65L906.74,379.65M903.02,384.05l-1.75,0.81l1.53,2.13l1.31-0.74L903.02,384.05L903.02,384.05z",name:"Solomon Islands"},vu:{path:"M920.87,397.22l-1.24,1.66l0.52,1.87l0.62,0.42l1.13-1.46L920.87,397.22L920.87,397.22M921.49,402.31l0.1,1.35l1.34,0.42l0.93-0.52l-0.93-1.46L921.49,402.31L921.49,402.31M923.45,414.37l-0.62,0.94l0.93,1.04l1.55-0.52L923.45,414.37L923.45,414.37z",name:"Vanuatu"},fj:{path:"M948.62,412.29l-1.24,1.66l-0.1,1.87l1.44,1.46L948.62,412.29L948.62,412.29z",name:"Fiji"},ph:{path:"M789.37,297.53l-0.86,1.64l-0.48,2.02l-4.78,6.07l0.29,1.25l2.01-0.29l6.21-6.94L789.37,297.53L789.37,297.53M797.11,295.22l-0.1,5.01l1.82,1.83l0.67,3.56l1.82,0.39l0.86-2.22l-1.43-1.06l-0.38-6.26L797.11,295.22L797.11,295.22M802.28,297.15l-0.1,4.43l1.05,1.73l1.82-2.12l-0.48-3.85L802.28,297.15L802.28,297.15M803.42,293.29l1.82,2.41l0.86,2.31h1.63l-0.29-3.95l-1.82-1.25L803.42,293.29L803.42,293.29M806.96,302.35l0.38,2.89l-3.35,2.7l-2.77,0.29l-2.96,3.18l0.1,1.45l2.77-0.87l1.91-1.25l1.63,4.14l2.87,2.02l1.15-0.39l1.05-1.25l-2.29-2.31l1.34-1.06l1.53,1.25l1.05-1.73l-1.05-2.12l-0.19-4.72L806.96,302.35L806.96,302.35M791.38,272.97l-2.58,1.83l-0.29,5.78l4.02,7.8l1.34,1.06l1.72-1.16l2.96,0.48l0.57,2.6l2.2,0.19l1.05-1.44l-1.34-1.83l-1.63-1.54l-3.44-0.38l-1.82-2.99l2.1-3.18l0.19-2.79l-1.43-3.56L791.38,272.97L791.38,272.97M792.72,290.21l0.76,2.7l1.34,0.87l0.96-1.25l-1.53-2.12L792.72,290.21L792.72,290.21z",name:"Philippines"},cn:{path:"M759.83,270.17l-2.39,0.67l-1.72,2.12l1.43,2.79l2.1,0.19l2.39-2.12l0.57-2.79L759.83,270.17L759.83,270.17M670.4,170.07l-3.46,8.7l-4.77-0.25l-5.03,11.01l4.27,5.44l-8.8,12.15l-4.52-0.76l-3.02,3.8l0.75,2.28l3.52,0.25l1.76,4.05l3.52,0.76l10.81,13.93v7.09l5.28,3.29l5.78-1.01l7.29,4.3l8.8,2.53l4.27-0.51l4.78-0.51l10.05-6.58l3.27,0.51l1.25,2.97l2.77,0.83l3.77,5.57l-2.51,5.57l1.51,3.8l4.27,1.52l0.75,4.56l5.03,0.51l0.75-2.28l7.29-3.8l4.52,0.25l5.28,5.82l3.52-1.52l2.26,0.25l1.01,2.79l1.76,0.25l2.51-3.54l10.05-3.8l9.05-10.89l3.02-10.38l-0.25-6.84l-3.77-0.76l2.26-2.53l-0.5-4.05l-9.55-9.62v-4.81l2.76-3.54l2.76-1.27l0.25-2.79h-7.04l-1.26,3.8l-3.27-0.76l-4.02-4.3l2.51-6.58l3.52-3.8l3.27,0.25l-0.5,5.82l1.76,1.52l4.27-4.3l1.51-0.25l-0.5-3.29l4.02-4.81l3.02,0.25l1.76-5.57l2.06-1.09l0.21-3.47l-2-2.1l-0.17-5.48l3.85-0.25l-0.25-14.13l-2.7,1.62l-1.01,3.62l-4.51-0.01l-13.07-7.35l-9.44-11.38l-9.58-0.1l-2.44,2.12l3.1,7.1l-1.08,6.66l-3.86,1.6l-2.17-0.17l-0.16,6.59l2.26,0.51l4.02-1.77l5.28,2.53v2.53l-3.77,0.25l-3.02,6.58l-2.76,0.25l-9.8,12.91l-10.3,4.56l-7.04,0.51l-4.77-3.29l-6.79,3.55l-7.29-2.28l-1.76-4.81l-12.31-0.76l-6.53-10.63h-2.76l-2.22-4.93L670.4,170.07z",name:"China"},tw:{path:"M787.46,248.31l-3.54,2.7l-0.19,5.2l3.06,3.56l0.76-0.67L787.46,248.31L787.46,248.31z",name:"Taiwan"},jp:{path:"M803.23,216.42l-1.63,1.64l0.67,2.31l1.43,0.1l0.96,5.01l1.15,1.25l2.01-1.83l0.86-3.28l-2.49-3.56L803.23,216.42L803.23,216.42M812.03,213.15l-2.77,2.6l-0.1,2.99l0.67,0.87l3.73-3.18l-0.29-3.18L812.03,213.15L812.03,213.15M808.2,206.98l-4.88,5.59l0.86,1.35l2.39,0.29l4.49-3.47l3.16-0.58l2.87,3.37l2.2-0.77l0.86-3.28l4.11-0.1l4.02-4.82l-2.1-8l-0.96-4.24l2.1-1.73l-4.78-7.22l-1.24,0.1l-2.58,2.89v2.41l1.15,1.35l0.38,6.36l-2.96,3.66l-1.72-1.06l-1.34,2.99l-0.29,2.79l1.05,1.64l-0.67,1.25l-2.2-1.83h-1.53l-1.34,0.77L808.2,206.98L808.2,206.98M816.43,163.44l-1.53,1.35l0.77,2.89l1.34,1.35l-0.1,4.43l-1.72,0.67l-1.34,2.99l3.92,5.39l2.58-0.87l0.48-1.35l-2.77-2.5l1.72-2.22l1.82,0.29l1.43,1.54l0.1-3.18l3.92-3.18l2.2-0.58l-1.82-3.08l-0.86-1.35l-1.43,0.96l-1.24,1.54l-2.68-0.58l-2.77-1.83L816.43,163.44L816.43,163.44z",name:"Japan"},ru:{path:"M506.61,151.72l-1.5-0.15l-2.7,3.23v1.51l0.9,0.35l1.75,0.05l2.9-2.37l0.4-0.81L506.61,151.72L506.61,151.72M830.86,160.45l-2.68,3.76l0.19,1.83l1.34-0.58l3.15-3.95L830.86,160.45L830.86,160.45M834.4,154.96l-0.96,2.6l0.1,1.73l1.63-1.06l1.53-3.08V154L834.4,154.96L834.4,154.96M840.04,132.03l-1.24,1.54l0.1,2.41l1.15-0.1l1.91-3.37L840.04,132.03L840.04,132.03M837.75,137.91v4.24l1.34,0.48l0.96-1.54v-3.27L837.75,137.91L837.75,137.91M798.64,122.59l-0.09,6.17l7.74,11.95l2.77,10.4l4.88,9.25l1.91,0.67l1.63-1.35l0.76-2.22l-6.98-7.61l0.19-3.95l1.53-0.67l0.38-2.31l-13.67-19.36L798.64,122.59L798.64,122.59M852.57,103.42l-1.91,0.19l1.15,1.64l2.39,1.64l0.67-0.77L852.57,103.42L852.57,103.42M856.29,104.58l0.29,1.64l2.96,0.87l0.29-1.16L856.29,104.58L856.29,104.58M547.82,38.79l1.72,0.69l-1.21,2.08v2.95l-2.58,1.56H543l-1.55-1.91l0.17-2.08l1.21-1.56h2.41L547.82,38.79L547.82,38.79M554.36,36.88v2.08l1.72,1.39l2.41-0.17l2.07-1.91v-1.39h-1.89l-1.55,0.52l-1.21-1.39L554.36,36.88L554.36,36.88M564.18,37.06l1.21,2.6l2.41,0.17l1.72-0.69l-0.86-2.43l-2.24-0.52L564.18,37.06L564.18,37.06M573.99,33.59l-1.89-0.35l-1.72,1.74l0.86,1.56l0.52,2.43l2.24-1.73l0.52-1.91L573.99,33.59L573.99,33.59M584.49,51.98l-0.52,2.43l-3.96,3.47l-8.44,1.91l-6.89,11.45l-1.21,3.3l6.89,1.74l1.03-4.16l2.07-6.42l5.34-2.78l4.48-3.47l3.27-1.39h1.72v-4.68L584.49,51.98L584.49,51.98M562.28,77.31l4.65,0.52l1.55,5.38l3.96,4.16l-1.38,2.78h-2.41l-2.24-2.6l-4.99-0.17l-2.07-2.78v-1.91l3.1-0.87L562.28,77.31L562.28,77.31M634.95,18.15l-2.24-1.39h-2.58l-0.52,1.56l-2.75,1.56l-2.07,0.69l-0.34,2.08l4.82,0.35L634.95,18.15L634.95,18.15M640.28,18.67l-1.21,2.6l-2.41-0.17l-3.79,2.78l-1.03,3.47h2.41l1.38-2.26l3.27,2.43l3.1-1.39l2.24-1.91l-0.86-2.95l-1.21-2.08L640.28,18.67L640.28,18.67M645.28,20.58l1.21,4.86l1.89,4.51l2.07-3.64l3.96-0.87v-2.6l-2.58-1.91L645.28,20.58L645.28,20.58M739.76,12.8l2.69,2.26l1.91-0.79l0.56-3.17L741,8.39l-2.58,1.7l-6.28,0.57v2.83l-6.62,0.11v4.63l7.74,5.76l2.02-1.47l-0.45-4.07l4.94-1.24l-1.01-1.92l-1.79-1.81L739.76,12.8L739.76,12.8M746.94,10.09l1.79,3.39l6.96-0.79l1.91-2.49l-0.45-2.15l-1.91-0.79l-1.79,1.36l-5.16,1.13L746.94,10.09L746.94,10.09M746.49,23.31l-3.48-0.9L741,24.56l-0.9,2.94l4.71-0.45l3.59-1.81L746.49,23.31L746.49,23.31M836.68,3.76l-2.92-0.9L830.4,4.1l-1.68,2.49l2.13,2.83l5.61-2.49l1.12-1.24L836.68,3.76L836.68,3.76M817.97,72.93l1.76,6.08l3.52,1.01l3.52-5.57l-2.01-3.8l0.75-3.29h5.28l-1.26,2.53l0.5,9.12l-7.54,18.74l0.75,4.05l-0.25,6.84l14.07,20.51l2.76,0.76l0.25-16.71l2.76-2.53l-3.02-6.58l2.51-2.79l-5.53-7.34l-3.02,0.25l-1-12.15l7.79-2.03l0.5-3.55l4.02-1.01l2.26,2.03l2.76-11.14l4.77-8.1l3.77-2.03l3.27,0.25v-3.8l-5.28-1.01l-7.29-6.08l3.52-4.05l-3.02-6.84l2.51-2.53l3.02,4.05l7.54,2.79l8.29,0.76l1.01-3.54l-4.27-4.3l4.77-6.58l-10.81-3.8l-2.76,5.57l-3.52-4.56l-19.85-6.84l-18.85,3.29l-2.76,1.52v1.52l4.02,2.03l-0.5,4.81l-7.29-3.04l-16.08,6.33l-2.76-5.82h-11.06l-5.03,5.32l-17.84-4.05l-16.33,3.29l-2.01,5.06l2.51,0.76l-0.25,3.8l-15.83,1.77l1.01,5.06l-14.58-2.53l3.52-6.58l-14.83-0.76l1.26,6.84l-4.77,2.28l-4.02-3.8l-16.33,2.79l-6.28,5.82l-0.25,3.54l-4.02,0.25l-0.5-4.05l12.82-11.14v-7.6l-8.29-2.28l-10.81,3.54l-4.52-4.56h-2.01l-2.51,5.06l2.01,2.28l-14.33,7.85l-12.31,9.37l-7.54,10.38v4.3l8.04,3.29l-4.02,3.04l-8.54-3.04l-3.52,3.04l-5.28-6.08l-1.01,2.28l5.78,18.23l1.51,0.51l4.02-2.03l2.01,1.52v3.29l-3.77-1.52l-2.26,1.77l1.51,3.29l-1.26,8.61l-7.79,0.76l-0.5-2.79l4.52-2.79l1.01-7.6l-5.03-6.58l-1.76-11.39l-8.04-1.27l-0.75,4.05l1.51,2.03l-3.27,2.79l1.26,7.6l4.77,2.03l1.01,5.57l-4.78-3.04l-12.31-2.28l-1.51,4.05l-9.8,3.54l-1.51-2.53l-12.82,7.09l-0.25,4.81l-5.03,0.76l1.51-3.54v-3.54l-5.03-1.77l-3.27,1.27l2.76,5.32l2.01,3.54v2.79l-3.77-0.76l-0.75-0.76l-3.77,4.05l2.01,3.54l-8.54-0.25l2.76,3.55l-0.75,1.52h-4.52l-3.27-2.28l-0.75-6.33l-5.28-2.03v-2.53l11.06,2.28l6.03,0.51l2.51-3.8l-2.26-4.05l-16.08-6.33l-5.55,1.38l-1.9,1.63l0.59,3.75l2.36,0.41l-0.55,5.9l7.28,17.1l-5.26,8.34l-0.36,1.88l2.67,1.88l-2.41,1.59l-1.6,0.03l0.3,7.35l2.21,3.13l0.03,3.04l2.83,0.26l4.33,1.65l4.58,6.3l0.05,1.66l-1.49,2.55l3.42-0.19l3.33,0.96l4.5,6.37l11.08,1.01l-0.48,7.58l-3.82,3.27l0.79,1.28l-3.77,4.05l-1,3.8l2.26,3.29l7.29,2.53l3.02-1.77l19.35,7.34l0.75-2.03l-4.02-3.8v-4.81l-2.51-0.76l0.5-4.05l4.02-4.81l-7.21-5.4l0.5-7.51l7.71-5.07l9.05,0.51l1.51,2.79l9.3,0.51l6.79-3.8l-3.52-3.8l0.75-7.09l17.59-8.61l13.53,6.1l4.52-4.05l13.32,12.66l10.05-1.01l3.52,3.54l9.55,1.01l6.28-8.61l8.04,3.55l4.27,0.76l4.27-3.8l-3.77-2.53l3.27-5.06l9.3,3.04l2.01,4.05l4.02,0.25l2.51-1.77l6.79-0.25l0.75,1.77l7.79,0.51l5.28-5.57l10.81,1.27l3.27-1.27l1-6.08l-3.27-7.34l3.27-2.79h10.3l9.8,11.65l12.56,7.09h3.77l0.5-3.04l4.52-2.79l0.5,16.46l-4.02,0.25v4.05l2.26,2.79l-0.42,3.62l1.67,0.69l1.01-2.53l1.51,0.51l1,1.01l4.52-1.01l4.52-13.17l0.5-16.46l-5.78-13.17l-7.29-8.86l-3.52,0.51v2.79l-8.54-3.29l3.27-7.09l2.76-18.74l11.56-3.54l5.53-3.54h6.03L805.86,96l1.51,2.53l5.28-5.57l3.02,0.25l-0.5-3.29l-4.78-1.01l3.27-11.9L817.97,72.93L817.97,72.93z",name:"Russian Federation"},us:{path:"M69.17,53.35l3.46,6.47l2.22-0.5v-2.24L69.17,53.35L69.17,53.35M49.66,110.26l-0.17,3.01l2.16-0.5v-1.34L49.66,110.26L49.66,110.26M46.34,111.6l-4.32,2.18l0.67,2.34l1.66-1.34l3.32-1.51L46.34,111.6L46.34,111.6M28.39,114.44l-2.99-0.67l-0.5,1.34l0.33,2.51L28.39,114.44L28.39,114.44M22.07,114.28l-2.83-1.17l-1,1.84l1.83,1.84L22.07,114.28L22.07,114.28M12.27,111.6l-1.33-1.84l-1.33,0.5v2.51l1.5,1L12.27,111.6L12.27,111.6M1.47,99.71l1.66,1.17l-0.5,1.34H1.47V99.71L1.47,99.71M10,248.7l-0.14,2.33l2.04,1.37l1.22-1.09L10,248.7L10,248.7M15.29,252.13l-1.9,1.37l1.63,2.05l1.9-1.64L15.29,252.13L15.29,252.13M19.1,255.41l-1.63,2.19l0.54,1.37l2.31-1.09L19.1,255.41L19.1,255.41M21.81,259.65l-0.95,5.47l0.95,2.05l3.12-0.96l1.63-2.74l-3.4-3.15L21.81,259.65L21.81,259.65M271.05,281.06l-2.64-0.89l-2.12,1.33l1.06,1.24l3.61,0.53L271.05,281.06L271.05,281.06M93.11,44.89l-8.39,1.99l1.73,9.45l9.13,2.49l0.49,1.99L82.5,65.04l-7.65,12.68l2.71,13.43L82,94.13l3.46-3.23l0.99,1.99l-4.2,4.97l-16.29,7.46l-10.37,2.49l-0.25,3.73l23.94-6.96l9.87-2.74l9.13-11.19l10.12-6.71l-5.18,8.7l5.68,0.75l9.63-4.23l1.73,6.96l6.66,1.49l6.91,6.71l0.49,4.97l-0.99,1.24l1.23,4.72h1.73l0.25-7.96h1.97l0.49,19.64l4.94-4.23l-3.46-20.39h-5.18l-5.68-7.21l27.89-47.25l-27.64-21.63l-30.85,5.97l-1.23,9.45l6.66,3.98l-2.47,6.47L93.11,44.89L93.11,44.89M148.76,158.34l-1,4.02l-3.49-2.26h-1.74l-1,4.27l-12.21,27.36l3.24,23.84l3.99,2.01l0.75,6.53h8.22l7.97,6.02l15.69,1.51l1.74,8.03l2.49,1.76l3.49-3.51l2.74,1.25l2.49,11.54l4.23,2.76l3.49-6.53l10.71-7.78l6.97,3.26l5.98,0.5l0.25-3.76l12.45,0.25l2.49,2.76l0.5,6.27l-1.49,3.51l1.74,6.02h3.74l3.74-5.77l-1.49-2.76l-1.49-6.02l2.24-6.78l10.21-8.78l7.72-2.26l-1-7.28l10.71-11.55l10.71-1.76L272.8,199l10.46-6.02v-8.03l-1-0.5l-3.74,1.25l-0.5,4.92l-12.43,0.15l-9.74,6.47l-15.29,5l-2.44-2.99l6.94-10.5l-3.43-3.27l-2.33-4.44l-4.83-3.88l-5.25-0.44l-9.92-6.77L148.76,158.34L148.76,158.34z",name:"United States of America"},mu:{path:"M613.01,398.99l-1.52,1.99l0.3,2.15l3.2-2.61L613.01,398.99L613.01,398.99z",name:"Mauritius"},re:{path:"M607.38,402.37l-2.28,0.15l-0.15,1.99l1.52,0.31l2.28-1.07L607.38,402.37L607.38,402.37z",name:"Reunion"},mg:{path:"M592.3,372.92l-2.13,5.06l-3.65,6.44l-6.39,0.46l-2.74,3.22l0.46,9.82l-3.96,4.6l0.46,7.82l3.35,3.83l3.96-0.46l3.96-2.92l-0.91-4.6l9.13-15.8l-1.83-1.99l1.83-3.83l1.98,0.61l0.61-1.53l-1.83-7.82l-1.07-3.22L592.3,372.92L592.3,372.92z",name:"Madagascar"},km:{path:"M577.69,371.23l0.46,1.53l1.98,0.31l0.76-1.99L577.69,371.23L577.69,371.23M580.58,374.3l0.76,1.69h1.22l0.61-2.15L580.58,374.3L580.58,374.3z",name:"Comoros"},sc:{path:"M602.35,358.34l-0.61,1.23l1.67,1.38l1.22-1.38L602.35,358.34L602.35,358.34M610.88,349.14l-1.83,1.23l1.37,2.15h1.83L610.88,349.14L610.88,349.14M611.64,354.51l-1.22,1.38l0.91,1.38l1.67,0.31l0.15-2.92L611.64,354.51L611.64,354.51z",name:"Seychelles"},mv:{path:"M656.4,320.76l0.3,2.61l1.67,0.61l0.3-2.3L656.4,320.76L656.4,320.76M658.53,326.28l-0.15,3.22l1.22,0.61l1.07-2.15L658.53,326.28L658.53,326.28M658.84,332.57l-1.07,1.07l1.22,1.07l1.52-1.07L658.84,332.57L658.84,332.57z",name:"Maldives"},pt:{path:"M372.64,217.02l-1.36,1.37l2.44,1.37l0.27-1.91L372.64,217.02L372.64,217.02M379.97,216.2l-1.63,1.09l1.36,1.09l2.17-0.55L379.97,216.2L379.97,216.2M381.05,220.03l-0.81,2.19l1.08,1.37l1.36-1.09L381.05,220.03L381.05,220.03M387.56,224.4l-0.54,1.37l0.81,0.82l2.17-1.37L387.56,224.4L387.56,224.4M408.18,236.42l-1.08,1.37l1.08,1.37l1.63-0.82L408.18,236.42L408.18,236.42M430.93,211.24l-0.62,8.65l-1.77,1.6l0.18,0.98l1.24,2.05l-0.8,2.5l1.33,0.45l3.1-0.36l-0.18-2.5l2.03-11.59l-0.44-1.6L430.93,211.24L430.93,211.24z",name:"Portugal"},es:{path:"M415.62,253.73l-1.75,1.01l0.81,0.82L415.62,253.73L415.62,253.73M409.54,253.92l-2.17,0.55l1.08,1.64h1.63L409.54,253.92L409.54,253.92M404.38,252.28l-1.36,1.37l1.9,1.64l1.08-2.46L404.38,252.28L404.38,252.28M448.36,205h-12.74l-2.57-1.16l-1.24,0.09l-1.5,3.12l0.53,3.21l4.87,0.45l0.62,2.05l-2.12,11.95l0.09,2.14l3.45,1.87l3.98,0.27l7.96-1.96l3.89-4.9l0.09-4.99l6.9-6.24l0.35-2.76l-6.28-0.09L448.36,205L448.36,205M461.1,217.21l-1.59,0.54l0.35,1.43h2.3l0.97-1.07L461.1,217.21L461.1,217.21z",name:"Spain"},cv:{path:"M387.56,290.54l-1.9,1.09l1.36,1.09l1.63-0.82L387.56,290.54L387.56,290.54M392.23,292.74l-1.24,1.1l0.88,1.63l2.12-0.95L392.23,292.74L392.23,292.74M389.52,295.83l-1.59,0.95l1.71,2.29l1.35-0.71L389.52,295.83L389.52,295.83z",name:"Cape Verde"},pf:{path:"M27.25,402.68l-1.9-0.14l-0.14,1.78l1.49,0.96l1.77-1.09L27.25,402.68L27.25,402.68M33.77,404.6l-2.72,1.78l2.04,2.46l1.77-0.41l0.95-1.23L33.77,404.6L33.77,404.6z",name:"French Polynesia"},kn:{path:"M276.6,283.37l-1.5,0.62l0.53,1.33l1.76-1.15l-0.35-0.36L276.6,283.37L276.6,283.37z",name:"Saint Kitts and Nevis"},ag:{path:"M279.07,284.88l-0.88,1.87l1.06,1.42l1.32-1.15L279.07,284.88L279.07,284.88z",name:"Antigua and Barbuda"},dm:{path:"M282.07,290.03l-1.06,0.98l0.79,1.6l1.5-0.44L282.07,290.03L282.07,290.03z",name:"Dominica"},lc:{path:"M281.98,294.03l-0.71,1.51l1.15,1.24l1.5-0.8L281.98,294.03L281.98,294.03z",name:"Saint Lucia"},bb:{path:"M282.07,297.85l-1.23,0.89l0.97,1.78l1.59-0.89L282.07,297.85L282.07,297.85z",name:"Barbados"},gd:{path:"M280.57,301.31l-1.15,1.15l0.44,0.71h1.41l0.44-1.16L280.57,301.31L280.57,301.31z",name:"Grenada"},tt:{path:"M282.24,304.78l-1.06,0.98l-1.15,0.18v1.42l2.12,1.95l0.88-1.42l0.53-1.6l-0.18-1.33L282.24,304.78L282.24,304.78z",name:"Trinidad and Tobago"},do:{path:"M263.11,280.44l-5.29-3.46l-2.5-0.85l-0.84,6l0.88,1.69l1.15-1.33l3.35-0.89l2.91,0.62L263.11,280.44L263.11,280.44z",name:"Dominican Republic"},ht:{path:"M250.86,275.38l3.44,0.36l-0.41,4.22l-0.34,2.22l-4.01-0.22l-0.71,1.07l-1.23-0.09l-0.44-2.31l4.23-0.35l-0.26-2.4l-1.94-0.8L250.86,275.38L250.86,275.38z",name:"Haiti"},fk:{path:"M307.95,508.18l-2.63-0.29l-2.62,1.76l1.9,2.06L307.95,508.18L307.95,508.18M310.57,506.86l-0.87,2.79l-2.48,2.2l0.15,0.73l4.23-1.62l1.75-2.2L310.57,506.86L310.57,506.86z",name:"Falkland Islands"},is:{path:"M406.36,117.31l-1.96-1.11l-2.64,1.67l-2.27,2.1l0.06,1.17l2.94,0.37l-0.18,2.1l-1.04,1.05l0.25,0.68l2.94,0.19v3.4l4.23,0.74l2.51,1.42l2.82,0.12l4.84-2.41l3.74-4.94l0.06-3.34l-2.27-1.92l-1.9-1.61l-0.86,0.62l-1.29,1.67l-1.47-0.19l-1.47-1.61l-1.9,0.18l-2.76,2.29l-1.66,1.79l-0.92-0.8l-0.06-1.98l0.92-0.62L406.36,117.31L406.36,117.31z",name:"Iceland"},no:{path:"M488.26,53.96l-1.65-1.66l-3.66,1.78h-6.72L475.17,58l3.77,3.33l1.65-0.24l2.36-4.04l2,1.43l-1.42,2.85l-0.71,4.16l1.65,2.61l3.54-5.94l4.6-5.59l-1.77-1.54L488.26,53.96L488.26,53.96M490.26,46.83l-2.95,2.73l1.77,2.73h3.18l1.3,1.78l3.89,2.02l4.48-2.61l3.07-2.61l-1.06-2.14l-3.07-1.78l-2.24,2.02l-1.53-1.9l-1.18,0.12l-1.53,3.33l-2.24-2.26l-0.24-1.54L490.26,46.83L490.26,46.83M496.98,59.07l-2.36,2.14l-2,1.54l0.94,1.66l1.89,0.59l3.07-1.43l1.42-1.78l-1.3-2.14L496.98,59.07L496.98,59.07M515.46,102.14l2.02-1.48L517.3,99l-1.28-0.74l0.18-2.03h1.1v-1.11l-4.77-1.29l-7.15,0.74l-0.73,3.14L503,97.16l-1.1-1.85l-3.49,0.18L498.04,99l-1.65,0.74l-0.92-1.85l-7.34,5.91l1.47,1.66l-2.75,1.29l-6.24,12.38l-2.2,1.48l0.18,1.11l2.2,1.11l-0.55,2.4l-3.67-0.19l-1.1-1.29l-2.38,2.77l-1.47,1.11l-0.37,2.59l-1.28,0.74l-3.3,0.74l-1.65,5.18l1.1,8.5l1.28,3.88l1.47,1.48l3.3-0.18l4.77-4.62l1.83-3.14l0.55,4.62l3.12-5.54l0.18-15.53l2.54-1.6l0.76-8.57l7.7-11.09l3.67-1.29l1.65-2.03l5.5,1.29l2.75,1.66l0.92-4.62l4.59-2.77L515.46,102.14L515.46,102.14z",name:"Norway"},lk:{path:"M680.54,308.05l0.25,2.72l0.25,1.98l-1.47,0.25l0.74,4.45l2.21,1.24l3.43-1.98l-0.98-4.69l0.25-1.73l-3.19-2.96L680.54,308.05L680.54,308.05z",name:"Sri Lanka"},cu:{path:"M220.85,266.92v1.27l5.32,0.1l2.51-1.46l0.39,1.07l5.22,1.27l4.64,4.19l-1.06,1.46l0.19,1.66l3.87,0.97l3.87-1.75l1.74-1.75l-2.51-1.27l-12.95-7.6l-4.54-0.49L220.85,266.92L220.85,266.92z",name:"Cuba"},bs:{path:"M239.61,259.13l-1.26-0.39l-0.1,2.43l1.55,1.56l1.06-1.56L239.61,259.13L239.61,259.13M242.12,262.93l-1.74,0.97l1.64,2.34l0.87-1.17L242.12,262.93L242.12,262.93M247.73,264.68l-1.84-0.1l0.19,1.17l1.35,1.95l1.16-1.27L247.73,264.68L247.73,264.68M246.86,262.35l-3-1.27l-0.58-3.02l1.16-0.49l1.16,2.34l1.16,0.88L246.86,262.35L246.86,262.35M243.96,256.21l-1.55-0.39l-0.29-1.95l-1.64-0.58l1.06-1.07l1.93,0.68l1.45,0.88L243.96,256.21L243.96,256.21z",name:"Bahamas"},jm:{path:"M238.93,279.59l-3.48,0.88v0.97l2.03,1.17h2.13l1.35-1.56L238.93,279.59L238.93,279.59z",name:"Jamaica"},ec:{path:"M230.2,335.85l-4.73,2.94l-0.34,4.36l-0.95,1.43l2.98,2.86l-1.29,1.41l0.3,3.6l5.33,1.27l8.07-9.55l-0.02-3.33l-3.87-0.25L230.2,335.85L230.2,335.85z",name:"Ecuador"},ca:{path:"M203.73,35.89l0.22,4.02l-7.98,8.27l2,6.7l5.76-1.56l3.33-4.92l8.42-3.13l6.87-0.45l-5.32-5.81l-2.66,2.01l-2-0.67l-1.11-2.46l-2.44-2.46L203.73,35.89L203.73,35.89M214.15,24.05l-1.77,3.13l8.65,3.13l3.1-4.69l1.33,3.13h2.22l4.21-4.69l-5.1-1.34l-2-1.56l-2.66,2.68L214.15,24.05L214.15,24.05M229.23,30.31l-6.87,2.9v2.23l8.87,3.35l-2,2.23l1.33,2.9l5.54-2.46h4.66l2.22,3.57l3.77-3.8l-0.89-3.58l-3.1,1.12l-0.44-4.47l1.55-2.68h-1.55l-2.44,1.56l-1.11,0.89l0.67,3.13l-1.77,1.34l-2.66-0.22l-0.67-4.02L229.23,30.31L229.23,30.31M238.32,23.38l-0.67,2.23l4.21,2.01l3.1-1.79l-0.22-1.34L238.32,23.38L238.32,23.38M241.64,19.58l-3.1,1.12l0.22,1.56l6.87-0.45l-0.22-1.56L241.64,19.58L241.64,19.58M256.5,23.38l-0.44,1.56l-1.11,1.56v2.23l4.21-0.67l4.43,3.8h1.55v-3.8l-4.43-4.92L256.5,23.38L256.5,23.38M267.81,27.85l1.77,2.01l-1.55,2.68l1.11,2.9l4.88-2.68v-2.01l-2.88-3.35L267.81,27.85L267.81,27.85M274.24,22.71l0.22,3.57h5.99l1.55,1.34l-0.22,1.56l-5.32,0.67l3.77,5.14l5.1,0.89l7.09-3.13l-10.2-15.42l-3.1,2.01l0.22,2.68l-3.55-1.34L274.24,22.71L274.24,22.71M222.58,47.96l-8.42,2.23l-4.88,4.25l0.44,4.69l8.87,2.68l-2,4.47l-6.43-4.02l-1.77,3.35l4.21,2.9l-0.22,4.69l6.43,1.79l7.76-0.45l1.33-2.46l5.76,6.48l3.99-1.34l0.67-4.47l2.88,2.01l0.44-4.47l-3.55-2.23l0.22-14.07l-3.1-2.46L231.89,56L222.58,47.96L222.58,47.96M249.63,57.79l-2.88-1.34l-1.55,2.01l3.1,4.92l0.22,4.69l6.65-4.02v-5.81l2.44-2.46l-2.44-1.79h-3.99L249.63,57.79L249.63,57.79M263.82,55.78l-4.66,3.8l1.11,4.69h2.88l1.33-2.46l2,2.01l2-0.22l5.32-4.47L263.82,55.78L263.82,55.78M263.37,48.4l-1.11,2.23l4.88,1.79l1.33-2.01L263.37,48.4L263.37,48.4M260.49,39.91l-4.88,0.67l-2.88,2.68l5.32,0.22l-1.55,4.02l1.11,1.79l1.55-0.22l3.77-6.03L260.49,39.91L260.49,39.91M268.92,38.35l-2.66,0.89l0.44,3.57l4.43,2.9l0.22,2.23l-1.33,1.34l0.67,4.47l17.07,5.58l4.66,1.56l4.66-4.02l-5.54-4.47l-5.1,1.34l-7.09-0.67l-2.66-2.68l-0.67-7.37l-4.43-2.23L268.92,38.35L268.92,38.35M282.88,61.59L278,61.14l-5.76,2.23l-3.1,4.24l0.89,11.62l9.53,0.45l9.09,4.47l6.43,7.37l4.88-0.22l-1.33,6.92l-4.43,7.37l-4.88,2.23l-3.55-0.67l-1.77-1.56l-2.66,3.57l1.11,3.57l3.77,0.22l4.66-2.23l3.99,10.28l9.98,6.48l6.87-8.71l-5.76-9.38l3.33-3.8l4.66,7.82l8.42-7.37l-1.55-3.35l-5.76,1.79l-3.99-10.95l3.77-6.25l-7.54-8.04l-4.21,2.9l-3.99-8.71l-8.42,1.12l-2.22-10.5l-6.87,4.69l-0.67,5.81h-3.77l0.44-5.14L282.88,61.59L282.88,61.59M292.86,65.61l-1.77,1.79l1.55,2.46l7.32,0.89l-4.66-4.92L292.86,65.61L292.86,65.61M285.77,40.36v2.01l-4.88,1.12l1.33,2.23l5.54,2.23l6.21,0.67l4.43,3.13l4.43-2.46l-3.1-3.13h3.99l2.44-2.68l5.99-0.89v-1.34l-3.33-2.23l0.44-2.46l9.31,1.56l13.75-5.36l-5.1-1.56l1.33-1.79h10.64l1.77-1.79l-21.51-7.6l-5.1-1.79l-5.54,4.02l-6.21-5.14l-3.33-0.22l-0.67,4.25l-4.21-3.8l-4.88,1.56l0.89,2.46l7.32,1.56l-0.44,3.57l3.99,2.46l9.76-2.46l0.22,3.35l-7.98,3.8l-4.88-3.8l-4.43,0.45l4.43,6.26l-2.22,1.12l-3.33-2.9l-2.44,1.56l2.22,4.24h3.77l-0.89,4.02l-3.1-0.45l-3.99-4.25L285.77,40.36L285.77,40.36M266.01,101.85l-4.23,5.32l-0.26,5.86l3.7-2.13h4.49l3.17,2.93l2.91-2.4L266.01,101.85L266.01,101.85M317.52,171.05l-10.57,10.12l1.06,2.4l12.94,4.79l1.85-3.19l-1.06-5.32l-4.23,0.53l-2.38-2.66l3.96-3.99L317.52,171.05L317.52,171.05M158.22,48.66l1.99,3.01l1,4.02l4.98,1.25l3.49-3.76l2.99,1.51l8.47,0.75l5.98-2.51l1,8.28h3.49V57.7l3.49,0.25l8.72,10.29l5.73,3.51l-2.99,4.77l1.25,1.25L219,80.03l0.25,5.02l2.99,0.5l0.75-7.53l4.73-1.25l3.49,5.27l7.47,3.51l3.74,0.75l2.49-3.01l0.25-4.77l4.48-2.76l1.49,4.02l-3.99,7.03l0.5,3.51l2.24-3.51l4.48-4.02l0.25-5.27l-2.49-4.02l0.75-3.26l5.98-3.01l2.74,2.01l0.5,17.57l4.23-3.76l2.49,1.51l-3.49,6.02l4.48,1l6.48-10.04l5.48,5.77l-2.24,10.29l-5.48,3.01l-5.23-2.51l-9.46,2.01l1,3.26l-2.49,4.02l-7.72,1.76l-8.72,6.78l-7.72,10.29l-1,3.26l5.23,2.01l1.99,5.02l7.22,7.28l11.46,5.02l-2.49,11.54l-0.25,3.26l2.99,2.01l3.99-5.27l0.5-10.04l6.23-0.25l2.99-5.77l0.5-8.78l7.97-15.56l9.96,3.51l5.23,7.28l-2.24,7.28l3.99,2.26l9.71-6.53l2.74,17.82l8.97,10.79l0.25,5.52l-9.96,2.51l-4.73,5.02l-9.96-2.26l-4.98-0.25l-8.72,6.78l5.23-1.25l6.48-1.25l1.25,1.51l-1.74,5.52l0.25,5.02l2.99,2.01l2.99-0.75l1.5-2.26h1.99l-3.24,6.02l-6.23,0.25l-2.74,4.02h-3.49l-1-3.01l4.98-5.02l-5.98,2.01l-0.27-8.53l-1.72-1l-5.23,2.26l-0.5,4.27h-11.96l-10.21,7.03l-13.7,4.52l-1.49-2.01l6.9-10.3l-3.92-3.77l-2.49-4.78l-5.07-3.87l-5.44-0.45l-9.75-6.83l-70.71-11.62l-1.17-4.79l-6.48-6.02v-5.02l1-4.52l-0.5-2.51l-2.49-2.51l-0.5-4.02l6.48-4.52l-3.99-21.58l-5.48-0.25l-4.98-6.53L158.22,48.66L158.22,48.66M133.83,128.41l-1.7,3.26l0.59,2.31l1.11,0.69l-0.26,0.94l-1.19,0.34l0.34,3.43l1.28,1.29l1.02-1.11l-1.28-3.34l0.76-2.66l1.87-2.49l-1.36-2.31L133.83,128.41L133.83,128.41M139.45,147.95l-1.53,0.6l2.81,3.26l0.68,3.86l2.81,3l2.38-0.43v-3.94l-2.89-1.8L139.45,147.95L139.45,147.95z",name:"Canada"},gt:{path:"M194.88,291.52l5.93,4.34l5.98-7.43l-1.02-1.54l-2.04-0.07v-4.35l-1.53-0.93l-4.63,1.38l1.77,4.08L194.88,291.52L194.88,291.52z",name:"Guatemala"},hn:{path:"M207.55,288.78l9.24-0.35l2.74,3.26l-1.71-0.39l-3.29,0.14l-4.3,4.04l-1.84,4.09l-1.21-0.64l-0.01-4.48l-2.66-1.78L207.55,288.78L207.55,288.78z",name:"Honduras"},sv:{path:"M201.65,296.27l4.7,2.34l-0.07-3.71l-2.41-1.47L201.65,296.27L201.65,296.27z",name:"El Salvador"},ni:{path:"M217.74,292.11l2.19,0.44l0.07,4.49l-2.55,7.28l-6.87-0.68l-1.53-3.51l2.04-4.26l3.87-3.6L217.74,292.11L217.74,292.11z",name:"Nicaragua"},cr:{path:"M217.38,304.98l1.39,2.72l1.13,1.5l-1.52,4.51l-2.9-2.04l-4.74-4.34v-2.87L217.38,304.98L217.38,304.98z",name:"Costa Rica"},pa:{path:"M220.59,309.61l-1.46,4.56l4.82,1.25l2.99,0.59l0.51-3.53l3.21-1.62l2.85,1.47l1.12,1.79l1.36-0.16l1.07-3.25l-3.56-1.47l-2.7-1.47l-2.7,1.84l-3.21,1.62l-3.28-1.32L220.59,309.61L220.59,309.61z",name:"Panama"},co:{path:"M253.73,299.78l-2.06-0.21l-13.62,11.23l-1.44,3.95l-1.86,0.21l0.83,8.73l-4.75,11.65l5.16,4.37l6.61,0.42l4.54,6.66l6.6,0.21l-0.21,4.99H256l2.68-9.15l-2.48-3.12l0.62-5.82l5.16-0.42l-0.62-13.52l-11.56-3.74l-2.68-7.28L253.73,299.78L253.73,299.78z",name:"Colombia"},ve:{path:"M250.46,305.92l0.44,2.59l3.25,1.03l0.74-4.77l3.43-3.55l3.43,4.02l7.89,2.15l6.68-1.4l4.55,5.61l3.43,2.15l-3.76,5.73l1.26,4.34l-2.15,2.66l-2.23,1.87l-4.83-2.43l-1.11,1.12v3.46l3.53,1.68l-2.6,2.81l-2.6,2.81l-3.43-0.28l-3.45-3.79l-0.73-14.26l-11.78-4.02l-2.14-6.27L250.46,305.92L250.46,305.92z",name:"Venezuela"},gy:{path:"M285.05,314.13l7.22,6.54l-2.87,3.32l-0.23,1.97l3.77,3.89l-0.09,3.74l-6.56,2.5l-3.93-5.31l0.84-6.38l-1.68-4.75L285.05,314.13L285.05,314.13z",name:"Guyana"},sr:{path:"M293.13,321.14l2.04,1.87l3.16-1.96l2.88,0.09l-0.37,1.12l-1.21,2.52l-0.19,6.27l-5.75,2.34l0.28-4.02l-3.71-3.46l0.19-1.78L293.13,321.14L293.13,321.14z",name:"Suriname"},gf:{path:"M302.13,321.8l5.85,3.65l-3.06,6.08l-1.11,1.4l-3.25-1.87l0.09-6.55L302.13,321.8L302.13,321.8z",name:"French Guiana"},pe:{path:"M225.03,349.52l-1.94,1.96l0.13,3.13l16.94,30.88l17.59,11.34l2.72-4.56l0.65-10.03l-1.42-6.25l-4.79-8.08l-2.85,0.91l-1.29,1.43l-5.69-6.52l1.42-7.69l6.6-4.3l-0.52-4.04l-6.72-0.26l-3.49-5.86l-1.94-0.65l0.13,3.52l-8.66,10.29l-6.47-1.56L225.03,349.52L225.03,349.52z",name:"Peru"},bo:{path:"M258.71,372.79l8.23-3.59l2.72,0.26l1.81,7.56l12.54,4.17l2.07,6.39l5.17,0.65l2.2,5.47l-1.55,4.95l-8.41,0.65l-3.1,7.95l-6.6-0.13l-2.07-0.39l-3.81,3.7l-1.88-0.18l-6.47-14.99l1.79-2.68l0.63-10.6l-1.6-6.31L258.71,372.79L258.71,372.79z",name:"Bolivia"},py:{path:"M291.76,399.51l2.2,2.4l-0.26,5.08l6.34-0.39l4.79,6.13l-0.39,5.47l-3.1,4.69l-6.34,0.26l-0.26-2.61l1.81-4.3l-6.21-3.91h-5.17l-3.88-4.17l2.82-8.06L291.76,399.51L291.76,399.51z",name:"Paraguay"},uy:{path:"M300.36,431.93l-2.05,2.19l0.85,11.78l6.44,1.87l8.19-8.21L300.36,431.93L300.36,431.93z",name:"Uruguay"},ar:{path:"M305.47,418.2l1.94,1.82l-7.37,10.95l-2.59,2.87l0.9,12.51l5.69,6.91l-4.78,8.34l-3.62,1.56h-4.14l1.16,6.51l-6.47,2.22l1.55,5.47l-3.88,12.38l4.79,3.91l-2.59,6.38l-4.4,6.91l2.33,4.82l-5.69,0.91l-4.66-5.73l-0.78-17.85l-7.24-30.32l2.19-10.6l-4.66-13.55l3.1-17.59l2.85-3.39l-0.7-2.57l3.66-3.34l8.16,0.56l4.56,4.87l5.27,0.09l5.4,3.3l-1.59,3.72l0.38,3.76l7.65-0.36L305.47,418.2L305.47,418.2M288.92,518.79l0.26,5.73l4.4-0.39l3.75-2.48l-6.34-1.3L288.92,518.79L288.92,518.79z",name:"Argentina"},cl:{path:"M285.04,514.1l-4.27,9.38l7.37,0.78l0.13-6.25L285.04,514.1L285.04,514.1M283.59,512.63l-3.21,3.55l-0.39,4.17l-6.21-3.52l-6.6-9.51l-1.94-3.39l2.72-3.52l-0.26-4.43l-3.1-1.3l-2.46-1.82l0.52-2.48l3.23-0.91l0.65-14.33l-5.04-2.87l-3.29-74.59l0.85-1.48l6.44,14.85l2.06,0.04l0.67,2.37l-2.74,3.32l-3.15,17.87l4.48,13.76l-2.07,10.42l7.3,30.64l0.77,17.92l5.23,6.05L283.59,512.63L283.59,512.63M262.28,475.14l-1.29,1.95l0.65,3.39l1.29,0.13l0.65-4.3L262.28,475.14L262.28,475.14z",name:"Chile"},br:{path:"M314.24,438.85l6.25-12.02l0.23-10.1l11.66-7.52h6.53l5.13-8.69l0.93-16.68l-2.1-4.46l12.36-11.28l0.47-12.45l-16.79-8.22l-20.28-6.34l-9.56-0.94l2.57-5.4l-0.7-8.22l-2.09-0.69l-3.09,6.14l-1.62,2.03l-4.16-1.84l-13.99,4.93l-4.66-5.87l0.75-6.13l-4.4,4.48l-4.86-2.62l-0.49,0.69l0.01,2.13l4.19,2.25l-6.29,6.63l-3.97-0.04l-4.02-4.09l-4.55,0.14l-0.56,4.86l2.61,3.17l-3.08,9.87l-3.6,0.28l-5.73,3.62l-1.4,7.11l4.97,5.32l0.91-1.03l3.49-0.94l2.98,5.02l8.53-3.66l3.31,0.19l2.28,8.07l12.17,3.86l2.1,6.44l5.18,0.62l2.47,6.15l-1.67,5.47l2.18,2.86l-0.32,4.26l5.84-0.55l5.35,6.76l-0.42,4.75l3.17,2.68l-7.6,11.51L314.24,438.85L314.24,438.85z",name:"Brazil"},bz:{path:"M204.56,282.4l-0.05,3.65h0.84l2.86-5.34h-1.94L204.56,282.4L204.56,282.4z",name:"Belize"},mn:{path:"M673.8,170.17l5.82-7.72l6.99,3.23l4.75,1.27l5.82-5.34l-3.95-2.91l2.6-3.67l7.76,2.74l2.69,4.41l4.86,0.13l2.54-1.89l5.23-0.21l1.14,1.94l8.69,0.44l5.5-5.61l7.61,0.8l-0.44,7.64l3.33,0.76l4.09-1.86l4.33,2.14l-0.1,1.08l-3.14,0.09l-3.27,6.86l-2.54,0.25l-9.88,12.91l-10.09,4.45l-6.31,0.49l-5.24-3.38l-6.7,3.58l-6.6-2.05l-1.87-4.79l-12.5-0.88l-6.4-10.85l-3.11-0.2L673.8,170.17L673.8,170.17z",name:"Mongolia"},kp:{path:"M778.28,194.27l1.84,0.77l0.56,6.44l3.65,0.21l3.44-4.03l-1.19-1.06l0.14-4.32l3.16-3.82l-1.61-2.9l1.05-1.2l0.58-3l-1.83-0.83l-1.56,0.79l-1.93,5.86l-3.12-0.27l-3.61,4.26L778.28,194.27L778.28,194.27z",name:"North Korea"},kr:{path:"M788.34,198.2l6.18,5.04l1.05,4.88l-0.21,2.62l-3.02,3.4l-2.6,0.14l-2.95-6.37l-1.12-3.04l1.19-0.92l-0.28-1.27l-1.47-0.66L788.34,198.2L788.34,198.2z",name:"South Korea"},kz:{path:"M576.69,188.62l4.1-1.75l4.58-0.16l0.32,7h-2.68l-2.05,3.34l2.68,4.45l3.95,2.23l0.36,2.55l1.45-0.48l1.34-1.59l2.21,0.48l1.11,2.23h2.84v-2.86l-1.74-5.09l-0.79-4.13l5.05-2.23l6.79,1.11l4.26,4.29l9.63-0.95l5.37,7.63l6.31,0.32l1.74-2.86l2.21-0.48l0.32-3.18l3.31-0.16l1.74,2.07l1.74-4.13l14.99,2.07l2.52-3.34l-4.26-5.25l5.68-12.4l4.58,0.32l3.16-7.63l-6.31-0.64l-3.63-3.5l-10,1.16l-12.88-12.45l-4.54,4.03l-13.77-6.25l-16.89,8.27l-0.47,5.88l3.95,4.61l-7.7,4.35l-9.99-0.22l-2.09-3.07l-7.83-0.43l-7.42,4.77l-0.16,6.52L576.69,188.62L576.69,188.62z",name:"Kazakhstan"},tm:{path:"M593.85,207.59l-0.62,2.63h-4.15v3.56l4.46,2.94l-1.38,4.03v1.86l1.85,0.31l2.46-3.25l5.54-1.24l11.84,4.49l0.15,3.25l6.61,0.62l7.38-7.75l-0.92-2.48l-4.92-1.08l-13.84-8.99l-0.62-3.25h-5.23l-2.31,4.34h-2.31L593.85,207.59L593.85,207.59z",name:"Turkmenistan"},uz:{path:"M628.92,219.06l3.08,0.16v-5.27l-2.92-1.7l4.92-6.2h2l2,2.33l5.23-2.01l-7.23-2.48l-0.28-1.5l-1.72,0.42l-1.69,2.94l-7.29-0.24l-5.35-7.57l-9.4,0.93l-4.48-4.44l-6.2-1.05l-4.5,1.83l2.61,8.68l0.03,2.92l1.9,0.04l2.33-4.44l6.2,0.08l0.92,3.41l13.29,8.82l5.14,1.18L628.92,219.06L628.92,219.06z",name:"Uzbekistan"},tj:{path:"M630.19,211.84l4.11-5.1h1.55l0.54,1.14l-1.9,1.38v1.14l1.25,0.9l6.01,0.36l1.96-0.84l0.89,0.18l0.6,1.92l3.57,0.36l1.79,3.78l-0.54,1.14l-0.71,0.06l-0.71-1.44l-1.55-0.12l-2.68,0.36l-0.18,2.52l-2.68-0.18l0.12-3.18l-1.96-1.92l-2.98,2.46l0.06,1.62l-2.62,0.9h-1.55l0.12-5.58L630.19,211.84L630.19,211.84z",name:"Tajikistan"},kg:{path:"M636.81,199.21l-0.31,2.53l0.25,1.56l8.7,2.92l-7.64,3.08l-0.87-0.72l-1.65,1.06l0.08,0.58l0.88,0.4l5.36,0.14l2.72-0.82l3.49-4.4l4.37,0.76l5.27-7.3l-14.1-1.92l-1.95,4.73l-2.46-2.64L636.81,199.21L636.81,199.21z",name:"Kyrgyz Republic"},af:{path:"M614.12,227.05l1.59,12.46l3.96,0.87l0.37,2.24l-2.84,2.37l5.29,4.27l10.28-3.7l0.82-4.38l6.47-4.04l2.48-9.36l1.85-1.99l-1.92-3.34l6.26-3.87l-0.8-1.12l-2.89,0.18l-0.26,2.66l-3.88-0.04l-0.07-3.55l-1.25-1.49l-2.1,1.91l0.06,1.75l-3.17,1.2l-5.85-0.37l-7.6,7.96L614.12,227.05L614.12,227.05z",name:"Afghanistan"},pk:{path:"M623.13,249.84l2.6,3.86l-0.25,1.99l-3.46,1.37l-0.25,3.24h3.96l1.36-1.12h7.54l6.8,5.98l0.87-2.87h5.07l0.12-3.61l-5.19-4.98l1.11-2.74l5.32-0.37l7.17-14.95l-3.96-3.11l-1.48-5.23l9.64-0.87l-5.69-8.1l-3.03-0.82l-1.24,1.5l-0.93,0.07l-5.69,3.61l1.86,3.12l-2.1,2.24l-2.6,9.59l-6.43,4.11l-0.87,4.49L623.13,249.84L623.13,249.84z",name:"Pakistan"},in:{path:"M670.98,313.01l4.58-2.24l2.72-9.84l-0.12-12.08l15.58-16.82v-3.99l3.21-1.25l-0.12-4.61l-3.46-6.73l1.98-3.61l4.33,3.99l5.56,0.25v2.24l-1.73,1.87l0.37,1l2.97,0.12l0.62,3.36h0.87l2.23-3.99l1.11-10.46l3.71-2.62l0.12-3.61l-1.48-2.87l-2.35-0.12l-9.2,6.08l0.58,3.91l-6.46-0.02l-2.28-2.79l-1.24,0.16l0.42,3.88l-13.97-1l-8.66-3.86l-0.46-4.75l-5.77-3.58l-0.07-7.37l-3.96-4.53l-9.1,0.87l0.99,3.96l4.46,3.61l-7.71,15.78l-5.16,0.39l-0.85,1.9l5.08,4.7l-0.25,4.75l-5.19-0.08l-0.56,2.36l4.31-0.19l0.12,1.87l-3.09,1.62l1.98,3.74l3.83,1.25l2.35-1.74l1.11-3.11l1.36-0.62l1.61,1.62l-0.49,3.99l-1.11,1.87l0.25,3.24L670.98,313.01L670.98,313.01z",name:"India"},np:{path:"M671.19,242.56l0.46,4.27l8.08,3.66l12.95,0.96l-0.49-3.13l-8.65-2.38l-7.34-4.37L671.19,242.56L671.19,242.56z",name:"Nepal"},bt:{path:"M695.4,248.08l1.55,2.12l5.24,0.04l-0.53-2.9L695.4,248.08L695.4,248.08z",name:"Bhutan"},bd:{path:"M695.57,253.11l-1.31,2.37l3.4,6.46l0.1,5.04l0.62,1.35l3.99,0.07l2.26-2.17l1.64,0.99l0.33,3.07l1.31-0.82l0.08-3.92l-1.1-0.13l-0.69-3.33l-2.78-0.1l-0.69-1.85l1.7-2.27l0.03-1.12h-4.94L695.57,253.11L695.57,253.11z",name:"Bangladesh"},mm:{path:"M729.44,303.65l-2.77-4.44l2.01-2.82l-1.9-3.49l-1.79-0.34l-0.34-5.86l-2.68-5.19l-0.78,1.24l-1.79,3.04l-2.24,0.34l-1.12-1.47l-0.56-3.95l-1.68-3.16l-6.84-6.45l1.68-1.11l0.31-4.67l2.5-4.2l1.08-10.45l3.62-2.47l0.12-3.81l2.17,0.72l3.42,4.95l-2.54,5.44l1.71,4.27l4.23,1.66l0.77,4.65l5.68,0.88l-1.57,2.71l-7.16,2.82l-0.78,4.62l5.26,6.76l0.22,3.61l-1.23,1.24l0.11,1.13l3.92,5.75l0.11,5.97L729.44,303.65L729.44,303.65z",name:"Myanmar"},th:{path:"M730.03,270.47l3.24,4.17v5.07l1.12,0.56l5.15-2.48l1.01,0.34l6.15,7.1l-0.22,4.85l-2.01-0.34l-1.79-1.13l-1.34,0.11l-2.35,3.94l0.45,2.14l1.9,1.01l-0.11,2.37l-1.34,0.68l-4.59-3.16v-2.82l-1.9-0.11l-0.78,1.24l-0.4,12.62l2.97,5.42l5.26,5.07l-0.22,1.47l-2.8-0.11l-2.57-3.83h-2.69l-3.36-2.71l-1.01-2.82l1.45-2.37l0.5-2.14l1.58-2.8l-0.07-6.44l-3.86-5.58l-0.16-0.68l1.25-1.26l-0.29-4.43l-5.14-6.51l0.6-3.75L730.03,270.47L730.03,270.47z",name:"Thailand"},kh:{path:"M740.48,299.47l4.09,4.37l7.61-5.64l0.67-8.9l-3.93,2.71l-2.04-1.14l-2.77-0.37l-1.55-1.09l-0.75,0.04l-2.03,3.33l0.33,1.54l2.06,1.15l-0.25,3.13L740.48,299.47L740.48,299.47z",name:"Cambodia"},la:{path:"M735.47,262.93l-2.42,1.23l-2.01,5.86l3.36,4.28l-0.56,4.73l0.56,0.23l5.59-2.71l7.5,8.38l-0.18,5.28l1.63,0.88l4.03-3.27l-0.33-2.59l-11.63-11.05l0.11-1.69l1.45-1.01l-1.01-2.82l-4.81-0.79L735.47,262.93L735.47,262.93z",name:"Lao People's Democratic Republic"},vn:{path:"M745.06,304.45l1.19,1.87l0.22,2.14l3.13,0.34l3.8-5.07l3.58-1.01l1.9-5.18l-0.89-8.34l-3.69-5.07l-3.89-3.11l-4.95-8.5l3.55-5.94l-5.08-5.83l-4.07-0.18l-3.66,1.97l1.09,4.71l4.88,0.86l1.31,3.63l-1.72,1.12l0.11,0.9l11.45,11.2l0.45,3.29l-0.69,10.4L745.06,304.45L745.06,304.45z",name:"Vietnam"},ge:{path:"M555.46,204.16l3.27,4.27l4.08,1.88l2.51-0.01l4.31-1.17l1.08-1.69l-12.75-4.77L555.46,204.16L555.46,204.16z",name:"Georgia"},am:{path:"M569.72,209.89l4.8,6.26l-1.41,1.65l-3.4-0.59l-4.22-3.78l0.23-2.48L569.72,209.89L569.72,209.89z",name:"Armenia"},az:{path:"M571.41,207.72l-1.01,1.72l4.71,6.18l1.64-0.53l2.7,2.83l1.17-4.96l2.93,0.47l-0.12-1.42l-4.82-4.22l-0.92,2.48L571.41,207.72L571.41,207.72z",name:"Azerbaijan"},ir:{path:"M569.65,217.95l-1.22,1.27l0.12,2.01l1.52,2.13l5.39,5.9l-0.82,2.36h-0.94l-0.47,2.36l3.05,3.9l2.81,0.24l5.63,7.79l3.16,0.24l2.46,1.77l0.12,3.54l9.73,5.67h3.63l2.23-1.89l2.81-0.12l1.64,3.78l10.51,1.46l0.31-3.86l3.48-1.26l0.16-1.38l-2.77-3.78l-6.17-4.96l3.24-2.95l-0.23-1.3l-4.06-0.63l-1.72-13.7l-0.2-3.15l-11.01-4.21l-4.88,1.1l-2.73,3.35l-2.42-0.16l-0.7,0.59l-5.39-0.35l-6.8-4.96l-2.53-2.77l-1.16,0.28l-2.09,2.39L569.65,217.95L569.65,217.95z",name:"Iran"},tr:{path:"M558.7,209.19l-2.23,2.36l-8.2-0.24l-4.92-2.95l-4.8-0.12l-5.51,3.9l-5.16,0.24l-0.47,2.95h-5.86l-2.34,2.13v1.18l1.41,1.18v1.3l-0.59,1.54l0.59,1.3l1.88-0.94l1.88,2.01l-0.47,1.42l-0.7,0.95l1.05,1.18l5.16,1.06l3.63-1.54v-2.24l1.76,0.35l4.22,2.48l4.57-0.71l1.99-1.89l1.29,0.47v2.13h1.76l1.52-2.95l13.36-1.42l5.83-0.71l-1.54-2.02l-0.03-2.73l1.17-1.4l-4.26-3.42l0.23-2.95h-2.34L558.7,209.19L558.7,209.19M523.02,209.7l-0.16,3.55l3.1-0.95l1.42-0.95l-0.42-1.54l-1.47-1.17L523.02,209.7L523.02,209.7z",name:"Turkey"},om:{path:"M598.38,280.84l7.39-4.26l1.31-6.25l-1.62-0.93l0.67-6.7l1.41-0.82l1.51,2.37l8.99,4.7v2.61l-10.89,16.03l-5.01,0.17L598.38,280.84L598.38,280.84z",name:"Oman"},ae:{path:"M594.01,264.94l0.87,3.48l9.86,0.87l0.69-7.14l1.9-1.04l0.52-2.61l-3.11,0.87l-3.46,5.23L594.01,264.94L594.01,264.94z",name:"United Arab Emirates"},qa:{path:"M592.63,259.02l-0.52,4.01l1.54,1.17l1.4-0.13l0.52-5.05l-1.21-0.87L592.63,259.02L592.63,259.02z",name:"Qatar"},kw:{path:"M583.29,247.17l-2.25-1.22l-1.56,1.57l0.17,3.14l3.63,1.39L583.29,247.17L583.29,247.17z",name:"Kuwait"},sa:{path:"M584,253.24l7.01,9.77l2.26,1.8l1.01,4.38l10.79,0.85l1.22,0.64l-1.21,5.4l-7.09,4.18l-10.37,3.14l-5.53,5.4l-6.57-3.83l-3.98,3.48L566,279.4l-3.8-1.74l-1.38-2.09v-4.53l-13.83-16.72l-0.52-2.96h3.98l4.84-4.18l0.17-2.09l-1.38-1.39l2.77-2.26l5.88,0.35l10.03,8.36l5.92-0.27l0.38,1.46L584,253.24L584,253.24z",name:"Saudi Arabia"},sy:{path:"M546.67,229.13l-0.35,2.54l2.82,1.18l-0.12,7.04l2.82-0.06l2.82-2.13l1.06-0.18l6.4-5.09l1.29-7.39l-12.79,1.3l-1.35,2.96L546.67,229.13L546.67,229.13z",name:"Syrian Arab Republic"},iq:{path:"M564.31,225.03l-1.56,7.71l-6.46,5.38l0.41,2.54l6.31,0.43l10.05,8.18l5.62-0.16l0.15-1.89l2.06-2.21l2.88,1.63l0.38-0.36l-5.57-7.41l-2.64-0.16l-3.51-4.51l0.7-3.32l1.07-0.14l0.37-1.47l-4.78-5.03L564.31,225.03L564.31,225.03z",name:"Iraq"},jo:{path:"M548.9,240.78l-2.46,8.58l-0.11,1.31h3.87l4.33-3.82l0.11-1.45l-1.77-1.81l3.17-2.63l-0.46-2.44l-0.87,0.2l-2.64,1.89L548.9,240.78L548.9,240.78z",name:"Jordan"},lb:{path:"M546.2,232.44l0.06,1.95l-0.82,2.96l2.82,0.24l0.18-4.2L546.2,232.44L546.2,232.44z",name:"Lebanon"},il:{path:"M545.32,238.06l-1.58,5.03l2.05,6.03l2.35-8.81v-1.89L545.32,238.06L545.32,238.06z",name:"Israel"},cy:{path:"M543.21,229.84l1.23,0.89l-3.81,3.61l-1.82-0.06l-1.35-0.95l0.18-1.77l2.76-0.18L543.21,229.84L543.21,229.84z",name:"Cyprus"},gb:{path:"M446.12,149.08l-1.83,2.77l0.73,1.11h4.22v1.85l-1.1,1.48l0.73,3.88l2.38,4.62l1.83,4.25l2.93,1.11l1.28,2.22l-0.18,2.03l-1.83,1.11l-0.18,0.92l1.28,0.74l-1.1,1.48l-2.57,1.11l-4.95-0.55l-7.71,3.51l-2.57-1.29l7.34-4.25l-0.92-0.55l-3.85-0.37l2.38-3.51l0.37-2.96l3.12-0.37l-0.55-5.73l-3.67-0.18l-1.1-1.29l0.18-4.25l-2.2,0.18l2.2-7.39l4.04-2.96L446.12,149.08L446.12,149.08M438.42,161.47l-3.3,0.37l-0.18,2.96l2.2,1.48l2.38-0.55l0.92-1.66L438.42,161.47L438.42,161.47z",name:"United Kingdom"},ie:{path:"M439.51,166.55l-0.91,6l-8.07,2.96h-2.57l-1.83-1.29v-1.11l4.04-2.59l-1.1-2.22l0.18-3.14l3.49,0.18l1.6-3.76l-0.21,3.34l2.71,2.15L439.51,166.55L439.51,166.55z",name:"Ireland"},se:{path:"M497.72,104.58l1.96,1.81h3.67l2.02,3.88l0.55,6.65l-4.95,3.51v3.51l-3.49,4.81l-2.02,0.18l-2.75,4.62l0.18,4.44l4.77,3.51l-0.37,2.03l-1.83,2.77l-2.75,2.4l0.18,7.95l-4.22,1.48l-1.47,3.14h-2.02l-1.1-5.54l-4.59-7.04l3.77-6.31l0.26-15.59l2.6-1.43l0.63-8.92l7.41-10.61L497.72,104.58L497.72,104.58M498.49,150.17l-2.11,1.67l1.06,2.45l1.87-1.82L498.49,150.17L498.49,150.17z",name:"Sweden"},fi:{path:"M506.79,116.94l2.07,0.91l1.28,2.4l-1.28,1.66l-6.42,7.02l-1.1,3.7l1.47,5.36l4.95,3.7l6.6-3.14l5.32-0.74l4.95-7.95l-3.67-8.69l-3.49-8.32l0.55-5.36l-2.2-0.37l-0.57-3.91l-2.96-4.83l-3.28,2.27l-1.29,5.27l-3.48-2.09l-4.84-1.18l-1.08,1.26l1.86,1.68l3.39-0.06l2.73,4.41L506.79,116.94L506.79,116.94z",name:"Finland"},lv:{path:"M518.07,151.37l-6.85-1.11l0.15,3.83l6.35,3.88l2.6-0.76l-0.15-2.92L518.07,151.37L518.07,151.37z",name:"Latvia"},lt:{path:"M510.81,154.7l-2.15-0.05l-2.95,2.82h-2.5l0.15,3.53l-1.5,2.77l5.4,0.05l1.55-0.2l1.55,1.87l3.55-0.15l3.4-4.33l-0.2-2.57L510.81,154.7L510.81,154.7z",name:"Lithuania"},by:{path:"M510.66,166.29l1.5,2.47l-0.6,1.97l0.1,1.56l0.55,1.87l3.1-1.76l3.85,0.1l2.7,1.11h6.85l2-4.79l1.2-1.81v-1.21l-4.3-6.05l-3.8-1.51l-3.1-0.35l-2.7,0.86l0.1,2.72l-3.75,4.74L510.66,166.29L510.66,166.29z",name:"Belarus"},pl:{path:"M511.46,174.76l0.85,1.56l0.2,1.66l-0.7,1.61l-1.6,3.08l-1.35,0.61l-1.75-0.76l-1.05,0.05l-2.55,0.96l-2.9-0.86l-4.7-3.33l-4.6-2.47l-1.85-2.82l-0.35-6.65l3.6-3.13l4.7-1.56l1.75-0.2l-0.7,1.41l0.45,0.55l7.91,0.15l1.7-0.05l2.8,4.29l-0.7,1.76l0.3,2.07L511.46,174.76L511.46,174.76z",name:"Poland"},it:{path:"M477.56,213.38l-2.65,1.34l0.35,5.17l2.12,0.36l1.59-1.52v-4.9L477.56,213.38L477.56,213.38M472.27,196.98l-0.62,1.57l0.17,1.71l2.39,2.79l3.76-0.13l8.3,9.64l5.18,1.5l3.06,2.89l0.73,6.59l1.64-0.96l1.42-3.59l-0.35-2.58l2.43-0.22l0.35-1.46l-6.85-3.28l-6.5-6.39l-2.59-3.82l-0.63-3.63l3.31-0.79l-0.85-2.39l-2.03-1.71l-1.75-0.08l-2.44,0.67l-2.3,3.22l-1.39,0.92l-2.15-1.32L472.27,196.98L472.27,196.98M492.44,223.02l-1.45-0.78l-4.95,0.78l0.17,1.34l4.45,2.24l0.67,0.73l1.17,0.17L492.44,223.02L492.44,223.02z",name:"Italy"},fr:{path:"M477.83,206.96l-1.95,1.96l-0.18,1.78l1.59,0.98l0.62-0.09l0.35-2.59L477.83,206.96L477.83,206.96M460.4,178.7l-2.21,0.54l-4.42,4.81l-1.33,0.09l-1.77-1.25l-1.15,0.27l-0.88,2.76l-6.46,0.18l0.18,1.43l4.42,2.94l5.13,4.1l-0.09,4.9l-2.74,4.81l5.93,2.85l6.02,0.18l1.86-2.14l3.8,0.09l1.06,0.98l3.8-0.27l1.95-2.5l-2.48-2.94l-0.18-1.87l0.53-2.05l-1.24-1.78l-2.12,0.62l-0.27-1.6l4.69-5.17v-3.12l-3.1-1.78l-1.59-0.27L460.4,178.7L460.4,178.7z",name:"France"},nl:{path:"M470.09,168.27l-4.53,2.23l0.96,0.87l0.1,2.23l-0.96-0.19l-1.06-1.65l-2.53,4.01l3.89,0.81l1.45,1.53l0.77,0.02l0.51-3.46l2.45-1.03L470.09,168.27L470.09,168.27z",name:"Netherlands"},be:{path:"M461.61,176.52l-0.64,1.6l6.88,4.54l1.98,0.47l0.07-2.15l-1.73-1.94h-1.06l-1.45-1.65L461.61,176.52L461.61,176.52z",name:"Belgium"},de:{path:"M471.14,167.88l3.57-0.58v-2.52l2.99-0.49l1.64,1.65l1.73,0.19l2.7-1.17l2.41,0.68l2.12,1.84l0.29,6.89l2.12,2.82l-2.79,0.39l-4.63,2.91l0.39,0.97l4.14,3.88l-0.29,1.94l-3.85,1.94l-3.57,0.1l-0.87,1.84h-1.83l-0.87-1.94l-3.18-0.78l-0.1-3.2l-2.7-1.84l0.29-2.33l-1.83-2.52l0.48-3.3l2.5-1.17L471.14,167.88L471.14,167.88z",name:"Germany"},dk:{path:"M476.77,151.5l-4.15,4.59l-0.15,2.99l1.89,4.93l2.96-0.56l-0.37-4.03l2.04-2.28l-0.04-1.79l-1.44-3.73L476.77,151.5L476.77,151.5M481.44,159.64l-0.93-0.04l-1.22,1.12l0.15,1.75l2.89,0.08l0.15-1.98L481.44,159.64L481.44,159.64z",name:"Denmark"},ch:{path:"M472.91,189.38l-4.36,4.64l0.09,0.47l1.79-0.56l1.61,2.24l2.72-0.96l1.88,1.46l0.77-0.44l2.32-3.64l-0.59-0.56l-2.29-0.06l-1.11-2.27L472.91,189.38L472.91,189.38z",name:"Switzerland"},cz:{path:"M488.43,184.87h2.97h1.46l2.37,1.69l4.39-3.65l-4.26-3.04l-4.22-2.04l-2.89,0.52l-3.92,2.52L488.43,184.87L488.43,184.87z",name:"Czech Republic"},sk:{path:"M495.84,187.13l0.69,0.61l0.09,1.04l7.63-0.17l5.64-2.43l-0.09-2.47l-1.08,0.48l-1.55-0.83l-0.95-0.04l-2.5,1l-3.4-0.82L495.84,187.13L495.84,187.13z",name:"Slovakia"},at:{path:"M480.63,190.12l-0.65,1.35l0.56,0.96l2.33-0.48h1.98l2.15,1.82l4.57-0.83l3.36-2l0.86-1.35l-0.13-1.74l-3.02-2.26l-4.05,0.04l-0.34,2.3l-4.26,2.08L480.63,190.12L480.63,190.12z",name:"Austria"},hu:{path:"M496.74,189.6l-1.16,1.82l0.09,2.78l1.85,0.95l5.69,0.17l7.93-6.68l0.04-1.48l-0.86-0.43l-5.73,2.6L496.74,189.6L496.74,189.6z",name:"Hungary"},si:{path:"M494.8,191.99l-2.54,1.52l-4.74,1.04l0.95,2.74l3.32,0.04l3.06-2.56L494.8,191.99L494.8,191.99z",name:"Slovenia"},hr:{path:"M495.62,195.16l-3.53,2.91h-3.58l-0.43,2.52l1.64,0.43l0.82-1.22l1.29,1.13l1.03,3.6l7.07,3.3l0.7-0.8l-7.17-7.4l0.73-1.35l6.81-0.26l0.69-2.17l-4.44,0.13L495.62,195.16L495.62,195.16z",name:"Croatia"},ba:{path:"M494.8,198.94l-0.37,0.61l6.71,6.92l2.46-3.62l-0.09-1.43l-2.15-2.61L494.8,198.94L494.8,198.94z",name:"Bosnia and Herzegovina"},mt:{path:"M492.61,230.47l-1.67,0.34l0.06,1.85l1.5,0.5l0.67-0.56L492.61,230.47L492.61,230.47z",name:"Malta"},ua:{path:"M515.57,173.15l-2.9,1.63l0.72,3.08l-2.68,5.65l0.02,2.49l1.26,0.8l8.08,0.4l2.26-1.87l2.42,0.81l3.47,4.63l-2.54,4.56l3.02,0.88l3.95-4.55l2.26,0.41l2.1,1.46l-1.85,2.44l2.5,3.9h2.66l1.37-2.6l2.82-0.57l0.08-2.11l-5.24-0.81l0.16-2.27h5.08l5.48-4.39l2.42-2.11l0.4-6.66l-10.8-0.97l-4.43-6.25l-3.06-1.05l-3.71,0.16l-1.67,4.13l-7.6,0.1l-2.47-1.14L515.57,173.15L515.57,173.15z",name:"Ukraine"},md:{path:"M520.75,187.71l3.1,4.77l-0.26,2.7l1.11,0.05l2.63-4.45l-3.16-3.92l-1.79-0.74L520.75,187.71L520.75,187.71z",name:"Moldova"},ro:{path:"M512.18,187.6l-0.26,1.48l-5.79,4.82l4.84,7.1l3.1,2.17h5.58l1.84-1.54l2.47-0.32l1.84,1.11l3.26-3.71l-0.63-1.86l-3.31-0.85l-2.26-0.11l0.11-3.18l-3-4.72L512.18,187.6L512.18,187.6z",name:"Romania"},rs:{path:"M505.55,194.54l-2.05,1.54h-1l-0.68,2.12l2.42,2.81l0.16,2.23l-3,4.24l0.42,1.27l1.74,0.32l1.37-1.86l0.74-0.05l1.26,1.22l3.84-1.17l-0.32-5.46L505.55,194.54L505.55,194.54z",name:"Serbia"},bg:{path:"M511.44,202.39l0.16,4.98l1.68,3.5l6.31,0.11l2.84-2.01l2.79-1.11l-0.68-3.18l0.63-1.7l-1.42-0.74l-1.95,0.16l-1.53,1.54l-6.42,0.05L511.44,202.39L511.44,202.39z",name:"Bulgaria"},al:{path:"M504.02,209.76v4.61l1.32,2.49l0.95-0.11l1.63-2.97l-0.95-1.33l-0.37-3.29l-1.26-1.17L504.02,209.76L504.02,209.76z",name:"Albania"},mk:{path:"M510.92,208.01l-3.37,1.11l0.16,2.86l0.79,1.01l4-1.86L510.92,208.01L510.92,208.01z",name:"Macedonia"},gr:{path:"M506.71,217.6l-0.11,1.33l4.63,2.33l2.21,0.85l-1.16,1.22l-2.58,0.26l-0.37,1.17l0.89,2.01l2.89,1.54l1.26,0.11l0.16-3.45l1.89-2.28l-5.16-6.1l0.68-2.07l1.21-0.05l1.84,1.48l1.16-0.58l0.37-2.07l5.42,0.05l0.21-3.18l-2.26,1.59l-6.63-0.16l-4.31,2.23L506.71,217.6L506.71,217.6M516.76,230.59l1.63,0.05l0.68,1.01h2.37l1.58-0.58l0.53,0.64l-1.05,1.38l-4.63,0.16l-0.84-1.11l-0.89-0.53L516.76,230.59L516.76,230.59z",name:"Greece"}}}),jQuery.fn.vectorMap("addMap","australia_en",{width:950,height:550,paths:{pg:{path:"m 484.34788,3.4935749 -1.05721,69.8328711 10.05776,-0.54289 13.22939,-15.458095 11.11497,0.542891 7.1433,6.400394 2.37157,19.715499 22.74426,12.000739 5.82893,-2.142989 v -7.200443 l -18.25827,-15.200936 -9.00055,-20.801281 7.1433,-3.457356 -5.28604,-11.457848 -10.57208,-0.257159 -2.65731,-12.257897 -28.0303,-18.9154509 -4.77172,-0.8000492 0,0 m 79.20488,2.0286963 -2.51444,3.5716485 13.7437,12.1721783 1.88583,7.143297 3.74309,-0.428598 0.4286,-7.343309 -4.17169,-3.771661 -13.11509,-11.3435558 0,0 m 6.88614,17.2296328 -2.71446,0.62861 -1.65724,7.343309 -5.20032,3.371636 -15.62954,2.743026 0.62861,5.886077 16.45816,-0.828622 10.42921,-6.514687 -0.62861,-11.343556 -1.68581,-1.285793 0,0 m 18.54399,12.800788 3.54308,9.85775 6.25753,6.086089 1.88583,-1.685818 -0.62861,-6.514687 -7.08615,-8.60053 -3.97168,0.857196 0,0 z",name:"Papua New Guinea"},au:{path:"m 222.64605,231.19331 -1.00006,72.51875 -11.14354,8.17193 -1.00007,7.1433 15.20094,10.20063 37.5166,-7.1433 h 19.25833 l 7.08615,-10.2292 42.57405,-8.17193 30.40187,9.20056 -2.0287,12.2579 4.05739,12.2579 23.31573,-4.08597 1.00006,6.11467 -15.20094,11.22926 5.05746,4.08596 11.14354,-4.08596 -3.02876,33.71636 21.28703,16.34386 12.17217,-4.08596 6.08609,6.11466 35.4879,-5.1146 33.45921,-54.14619 12.17217,-3.05733 24.31579,-44.94563 6.08609,-38.80239 -15.20094,-19.40119 6.08609,-4.08597 -12.17218,-37.80232 -13.17224,-9.20057 2.0287,-51.06029 -12.17218,-9.20056 -3.02876,-28.601766 h -6.08609 l -20.28696,67.404146 -11.14354,1.02864 -25.34442,-25.54443 14.20087,-37.80233 -26.34448,-5.114599 -29.40181,8.171929 -8.11478,23.48716 -13.17224,3.05733 -1.00006,-16.34386 -53.7176,32.68773 1.00006,12.2579 -8.11478,11.22926 h -20.28696 l -43.60269,18.37256 -15.22951,40.97395 0,0 m 184.49708,195.09773 -5.05746,20.42983 1.00006,14.28659 15.20094,-1.02863 17.22963,-26.5445 -28.37317,-7.14329 0,0 z",name:"Australia"},nz:{path:"m 656.52991,385.43138 3.02876,33.71636 -4.05739,15.31523 -15.20094,11.22926 1.00006,13.28653 v 14.2866 l 4.05739,5.1146 41.57399,-35.74506 v -8.17193 H 676.7883 l -14.20087,-48.00296 -6.05752,-1.02863 0,0 m -30.40187,73.54738 8.11478,15.31523 -22.31566,21.45847 -2.02869,11.22926 -15.20094,2.0287 -25.34442,23.48716 -23.31572,-11.22927 -2.02869,-8.17193 42.57405,-18.37256 39.54529,-35.74506 0,0 z",name:"New Zealand"},nc:{path:"m 638.30022,209.73485 -1.00006,5.1146 13.17223,18.37256 7.08616,3.05733 1.00006,-7.1433 -20.25839,-19.40119 0,0 z",name:"New Caledonia"},sb:{path:"m 606.26967,50.23931 0.4286,6.514687 3.97167,3.771661 3.74309,-2.314428 -3.34306,-6.943285 -4.8003,-1.028635 0,0 m 5.00031,16.172425 -3.34306,3.571648 3.54307,6.514687 4.17169,1.25722 -0.20001,-4.40027 -4.17169,-6.943285 0,0 m 8.14336,-3.771661 2.91446,7.143297 5.62892,6.714699 3.11448,-5.028881 -4.17169,-7.143297 -7.48617,-1.685818 0,0 m 14.6009,10.714946 1.65724,8.829115 3.97168,5.457479 3.34306,-6.914712 -8.97198,-7.371882 0,0 m 4.57171,19.744072 -1.45723,2.514441 4.80029,6.314677 3.34306,0.20001 -2.08584,-8.200505 -4.60028,-0.828623 0,0 m -10.62923,12.572208 -5.00031,2.31442 4.3717,6.08609 3.74309,-2.11441 -3.11448,-6.2861 0,0 z",name:"Solomon Islands"},vu:{path:"m 678.95986,143.30218 -3.54307,4.74315 1.4858,5.34319 1.77154,1.20007 3.22877,-4.17168 -2.94304,-7.11473 0,0 m 1.77154,14.54376 0.28573,3.85738 3.82881,1.20007 2.65731,-1.48581 -2.65731,-4.17168 -4.11454,0.60004 0,0 m 5.60035,34.45926 -1.77154,2.68588 2.6573,2.97161 4.42885,-1.4858 -5.31461,-4.17169 0,0 z",name:"Vanuatu"},fj:{path:"m 758.25046,186.36198 -3.54308,4.74315 -0.28573,5.34318 4.11454,4.17169 -0.28573,-14.25802 0,0 z",name:"Fiji"}}}),jQuery.fn.vectorMap("addMap","africa_en",{width:950,height:550,paths:{dz:{path:"m 419.83634,8.1546547 -9.8215,-3.2979062 -40.87478,7.6790665 -8.90675,6.764318 5.44034,28.092384 -16.24881,0.649952 -9.77336,15.719217 -23.27792,5.584776 0.0722,11.434346 76.6703,58.616072 13.07126,1.10732 43.59495,-34.06231 -4.35709,-5.48849 -8.18458,-1.107324 -4.91075,-8.232729 V 57.551031 l -3.27383,-3.297906 0.55366,-8.786393 -8.71418,-8.786392 -1.08325,-9.340056 3.80342,-2.744243 -1.63691,-9.893719 -2.14244,-6.5476673 0,0 z",name:"Algeria"},ma:{path:"m 358.23531,19.68529 h -27.80352 l -5.44034,12.084299 -12.54167,6.042149 -10.3511,28.020167 -20.17259,12.084298 -28.33311,46.676207 27.80352,-0.55366 1.08325,-13.72122 h 7.07726 V 91.637419 h 24.52968 l 0.55367,-24.168597 23.44642,-5.488487 9.82151,-15.935868 15.26184,-0.553663 -4.93482,-25.805514 0,0 z",name:"Morocco"},mr:{path:"m 253.78556,126.51819 5.24776,6.86061 -1.08325,29.65708 7.63092,-5.48848 5.44034,-1.10733 7.63093,2.74425 8.71417,12.08429 8.18459,-5.48848 39.79152,-0.55367 -9.8215,-66.463638 10.54367,-0.04815 -19.643,-15.045192 0.0241,9.773357 -24.8667,0.02407 -0.12036,18.656033 -7.14947,-0.0241 -0.91475,13.76936 -29.60894,0.64995 0,0 z",name:"Mauritania"},sn:{path:"m 270.94912,158.2455 -4.59781,1.13139 -9.48449,6.90876 -2.16651,3.85157 -0.67403,3.82749 3.44234,2.47945 11.67507,-0.14443 7.51056,-2.02208 0.84253,3.68307 -0.69809,4.88667 0.1685,0.0722 -18.65604,0.28887 3.00904,7.22169 1.63692,-4.4293 22.36317,1.87764 0.14444,0.14443 2.33501,0.0963 7.14948,0.28887 0.28887,-4.21266 -8.64196,-10.37516 -9.62893,-13.09534 -6.01807,-2.47944 z",name:"Senegal"},gm:{path:"m 258.57595,178.70696 -0.31294,2.67202 16.65804,-0.24072 0.84253,-2.47945 -0.36109,-2.50352 -4.79039,1.94986 -12.03615,0.60181 0,0 z",name:"Gambia"},gw:{path:"m 262.69231,193.60772 3.37013,6.66802 9.46042,-8.13644 0.0963,-2.50352 -11.14547,-1.61284 -1.78136,5.58478 0,0 z",name:"Guinea-Bissau"},gn:{path:"m 267.07347,201.81637 7.31799,11.26584 9.53263,-8.28087 9.77336,-0.4333 8.13644,10.80846 6.90875,4.54967 2.59981,-5.05518 2.31094,-1.29991 -0.16851,-11.12141 -4.59781,-13.19162 -14.10637,1.5647 -17.45242,-1.39619 -0.0963,4.47744 -10.15852,8.11237 0,0 z",name:"Guinea"},sl:{path:"m 275.52286,214.3099 13.60085,13.14348 9.70114,-11.77136 -6.06622,-9.50856 -8.35309,0.84253 -8.88268,7.29391 0,0 z",name:"Sierra Leone"},lr:{path:"m 290.54398,228.89772 26.43139,17.66907 -0.62588,-13.3842 -7.99201,-9.41227 -7.79942,-6.90875 -10.01408,12.03615 0,0 z",name:"Liberia"},ci:{path:"m 319.19002,247.09638 10.30295,-7.29391 12.80647,-2.23872 13.07126,2.81646 -6.66803,-10.0863 -1.94986,-6.16251 1.94986,-18.22274 -11.67507,0.55367 -5.29591,-5.05519 -11.1214,0.28887 -5.29591,0.84253 0.55366,12.32502 -2.79238,1.1314 -3.34606,6.16251 8.61789,10.0863 0.84253,14.85261 0,0 z",name:"Cote d'Ivoire"},ml:{path:"m 288.83484,172.68888 7.41427,-5.07926 41.21179,-0.24072 -9.53263,-66.29514 10.88068,-0.31294 52.64614,40.17669 7.07726,1.01103 -2.67203,22.3391 -33.09942,3.00904 -25.54072,19.06527 -4.64595,13.04719 -17.7413,0.74624 -4.52559,-13.02312 -13.60085,0.9629 0.52959,-4.2608 -8.40124,-11.14548 0,0 z",name:"Mali"},bf:{path:"m 363.77194,168.9336 8.76232,-0.6981 14.37116,20.31703 -13.33605,10.06223 -9.653,-2.47945 -12.97497,0.1685 -2.09429,7.60685 -10.88069,0.52959 -2.98496,-4.06822 3.85157,-12.37316 24.93891,-19.06527 0,0 z",name:"Burkina Faso"},ne:{path:"m 388.56641,187.51742 6.13844,-0.14443 5.53663,-8.30495 9.29191,-1.66099 9.89372,6.04215 21.11142,0.60181 16.32102,-6.64396 6.13844,-5.27183 0.45737,-6.93283 11.38621,-11.48249 3.00903,-25.34814 -7.48648,-15.69514 -19.16156,-4.67003 -44.34119,34.56783 -6.28287,-0.60181 -2.6961,24.0001 -22.62797,2.26279 13.31198,19.28192 0,0 z",name:"Niger"},gh:{path:"m 348.72674,223.74625 2.6961,6.33101 7.02912,11.02512 3.89971,-0.14443 10.63996,-6.04215 -0.74624,-34.39933 -8.23273,-2.40723 -11.53064,0.31294 -3.75528,25.32407 0,0 z",name:"Ghana"},tg:{path:"m 374.91741,233.85661 6.45138,-3.77935 -0.14443,-24.91484 -4.18858,-6.78839 -2.6961,2.2628 0.57773,33.21978 0,0 z",name:"Togo"},bj:{path:"m 383.31865,229.61989 h 5.10333 l 0.28887,-14.49153 6.45138,-9.36413 -0.28887,-16.29695 -5.84957,-0.14444 -10.03816,7.84758 4.18859,7.992 0.14443,24.45747 0,0 z",name:"Benin"},ng:{path:"m 390.20333,229.33102 9.43635,0.45737 11.3862,12.68611 5.53663,1.51656 4.33301,-2.11837 6.59582,-0.91474 2.23872,-9.19563 8.97897,-5.89771 9.72521,-0.45738 17.81351,-32.76241 -0.28887,-7.3902 -8.23273,-6.33101 -16.46545,7.24576 -22.02617,-0.31294 -10.49552,-6.64395 -7.48649,1.66098 -3.89971,6.7884 -0.28887,19.16155 -6.28287,8.90676 -0.57774,13.60085 0,0 z",name:"Nigeria"},tn:{path:"m 422.31579,7.7694978 13.31199,-5.3681247 4.38116,2.8405323 0.1685,3.4664124 -2.04614,2.6720262 0.31294,4.742245 2.04614,1.107326 v 8.521597 l -2.35908,3.947858 0.31294,2.527593 8.93082,3.153472 -7.19762,11.193623 -2.81646,-0.168506 -0.48144,9.003043 -3.1294,0.481446 -2.67203,-2.359086 0.62588,-9.147477 -8.76232,-8.521597 -1.10733,-7.414271 4.23673,-3.321978 -3.75528,-17.3561342 0,0 z",name:"Tunisia"},ly:{path:"m 434.68896,57.599175 3.75528,-0.62588 1.10732,-8.666031 h 1.87764 l 7.67907,-12.613889 18.9449,5.512559 5.17555,8.04015 18.63197,8.521597 9.70114,-4.092292 -0.93882,-4.092292 -4.23673,-4.092293 0.48145,-2.840532 6.88468,-5.825498 h 13.62492 l 5.17555,6.932824 10.9529,1.588773 1.42027,88.802739 -8.13644,-0.31294 -49.15566,-25.56479 -5.31998,3.00904 -20.19666,-5.05518 -5.48849,-7.245767 -7.99201,-1.107326 -4.06822,-7.245765 0.12037,-33.027207 0,0 z",name:"Libya"},eg:{path:"m 535.50378,45.635238 6.42731,0.168506 12.5176,3.466413 5.94586,0.168506 7.36612,-6.162511 h 3.44234 l 6.2588,3.466412 h 7.91979 l 1.42027,-0.09629 5.00704,14.39524 1.42027,4.645956 1.32397,6.956897 -2.35908,1.733206 -4.06822,-2.046146 -4.6941,-15.309988 -4.23673,-0.31294 -0.31294,5.199618 2.81646,9.003044 22.55575,27.923877 0.48145,11.988012 -6.57174,7.58278 -61.7214,-0.6981 -0.93882,-72.072493 0,0 z",name:"Egypt"},td:{path:"m 465.35708,173.07404 0.31294,-7.10133 11.41027,-11.09734 3.05718,-27.24985 -7.60685,-14.53967 5.31998,-2.72018 51.51474,26.84063 -0.31294,26.3351 -9.07526,7.72721 v 13.57679 l 5.94586,11.50656 h -10.49552 l -17.38021,17.18763 -0.45737,5.19962 -12.83054,-0.16851 -0.16851,2.35909 -7.31798,-0.9629 -5.00704,-9.46041 -3.75528,-1.85357 0.48144,-2.88868 4.71818,-3.61085 v -16.89876 l -6.5236,-1.01103 -7.87164,-5.84957 6.04215,-5.31998 0,0 0,0 z",name:"Chad"},sd:{path:"m 531.21891,164.48022 0.4333,-28.47754 5.92179,0.16851 -0.67402,-15.81551 62.10655,0.55367 8.88268,-8.9549 19.16156,30.64404 -10.49553,12.37317 v 18.89676 l -16.5136,35.50666 -5.68107,2.50352 1.80543,9.89372 h 7.07726 l 9.60485,13.93786 -7.70314,0.98697 -1.97393,3.58677 -0.19258,5.17555 -23.10941,-0.40923 -2.35909,-3.58678 -16.15252,-0.91474 -29.65708,-30.52369 2.96089,-1.78135 0.79439,-7.17355 -7.10133,-4.18858 -6.47545,-12.7824 0.36108,-11.89172 8.97897,-7.72721 0,0 z",name:"Sudan"},cm:{path:"m 429.32083,241.15052 7.75128,7.12541 -0.55366,11.02511 42.5117,-0.98696 3.46641,-3.89971 -12.18059,-13.11941 -1.80542,-4.74225 7.75128,-14.5156 -5.27183,-9.62892 -4.42931,-2.38316 v -4.88668 l 5.1274,-3.34605 0.28887,-15.2137 -4.06822,-0.45737 -0.0722,7.992 -17.86165,33.34015 -10.92883,0.55366 -7.48648,5.15148 -2.23873,7.992 0,0 z",name:"Cameroon"},er:{path:"m 619.22727,169.94464 -0.60181,-14.17859 9.53263,-11.12141 2.57574,1.97393 4.6941,15.69515 22.53168,16.77839 -4.09229,5.03112 -16.48953,-14.17859 h -18.15052 l 0,0 z",name:"Eritrea"},dj:{path:"m 654.78207,186.4101 -1.37212,8.08829 9.53263,-0.14443 0.14443,-11.89172 -3.49048,-2.14244 -4.81446,6.0903 0,0 z",name:"Djibouti"},et:{path:"m 601.84706,211.01199 17.52464,-38.99713 17.40428,0.0963 15.43035,13.40828 -1.08325,11.04919 h 11.96393 l 1.22769,6.64396 19.35414,11.57878 11.93986,0.6018 -22.70018,24.38525 -31.17364,9.60485 h -7.72721 l -13.76936,-11.74728 -5.44035,-2.28687 -10.54367,-15.52664 -6.95689,0.0963 -0.81846,-7.1254 5.36812,-1.78136 0,0 z",name:"Ethiopia"},so:{path:"m 665.03687,194.8354 9.8215,6.6921 2.91275,-0.14443 24.38525,-8.37716 2.76832,8.93082 -1.94986,7.53464 -5.27184,4.18858 -13.16755,-0.84253 -18.84862,-11.57878 -0.64995,-6.40324 0,0 m 39.06936,-2.38316 10.5196,-4.04414 3.7312,2.23872 -0.40923,9.34006 -9.70114,27.63501 -52.5017,56.23291 -6.09029,-4.18858 -0.40923,-23.7353 7.89571,-9.07526 16.75433,-5.17555 24.57783,-25.94994 6.4273,-5.72921 1.80543,-8.37717 -2.59981,-9.17155 0,0 z",name:"Somalia"},cf:{path:"m 472.26583,240.59686 11.21769,12.13244 4.42931,-5.72921 7.05318,0.28887 1.51656,-5.58477 6.93282,-4.33302 14.39525,9.91779 8.30494,-8.23273 32.23282,1.42027 -29.8978,-30.8607 4.02007,-2.50352 0.55366,-5.44034 -6.78839,-3.20162 h -9.96593 l -16.05623,15.9118 -0.55367,6.54767 -12.73425,-0.40923 -0.40923,2.79238 -8.30494,-0.84253 -7.48649,14.22674 1.54063,3.89971 0,0 z",name:"Central African Republic"},gq:{path:"m 426.96174,248.68516 -1.10732,4.74224 3.32198,1.80542 3.17754,-2.38315 -1.10732,-4.88668 -4.28488,0.72217 0,0 m 9.99001,12.71017 -0.14443,3.34606 10.92883,0.55366 -0.14444,-3.77935 -10.63996,-0.12037 0,0 z",name:"Equatorial Guinea"},ga:{path:"m 449.9508,261.2509 -0.28887,5.99401 -13.57678,-0.28887 -8.30495,16.05623 19.52264,21.35213 4.83854,-4.04414 -0.14444,-4.18858 -3.32197,-1.54063 v -2.93682 l 7.48648,-4.74225 6.64396,5.03111 7.34206,0.14444 -0.14444,-25.25185 -11.62692,-0.55367 -0.14444,-5.2959 -8.28087,0.26479 0,0 z",name:"Gabon"},cg:{path:"m 461.04813,260.98611 -0.14443,3.49048 11.50656,0.28887 0.40923,29.87373 -10.5196,-0.28887 -6.09029,-4.74224 -4.71817,2.64795 -0.21665,1.32398 2.4313,1.17954 0.6981,6.13844 -6.49953,5.58478 1.3962,2.93682 7.19762,-5.58478 h 3.46641 l 1.10733,3.34605 4.57373,1.94986 14.68411,-12.42131 -0.28887,-9.07526 3.05719,-7.3902 9.41227,-6.98097 2.52759,-23.61493 -6.6921,0.0241 -7.75128,10.61589 -19.54672,0.6981 0,0 z",name:"Congo"},ao:{path:"m 450.33596,310.83986 4.18858,5.44034 5.41627,-5.1274 -1.58878,-5.31998 -1.34804,-0.0963 -6.66803,5.10333 0,0 m 4.98296,8.37716 8.20866,30.64405 -0.19258,9.67706 -12.01208,12.90276 -1.80542,20.96698 46.21883,0.40923 15.02112,5.44034 12.39724,-1.61284 -7.22169,-9.05119 0.0241,-25.85366 14.20266,-0.60181 v -10.08629 l -11.53064,-0.48145 -2.31094,-23.87973 -4.8626,0.0722 -2.62389,-2.35909 -2.8646,0.14444 -3.80343,7.36612 H 487.5277 l -3.39419,-3.41827 1.01103,-4.83853 -3.996,-5.84957 -25.82959,0.40923 0,0 z",name:"Angola"},cd:{path:"m 457.14842,316.80979 24.81855,-0.4333 5.03111,7.14947 -0.19258,5.27184 1.85357,1.68506 h 12.32502 l 3.53863,-6.9569 h 5.03111 l 2.04615,2.07022 6.90875,-0.19258 2.04615,24.26489 11.93986,0.38516 v 1.87764 l 32.08839,14.46745 1.49248,2.81646 h 6.71618 l -0.74625,-10.15851 -12.13244,-5.8255 0.74624,-7.70314 5.22369,-12.22873 11.93987,-0.38516 -10.2548,-34.03824 0.19257,-14.46746 16.22474,-25.37221 0.19258,-3.5627 -2.4313,-1.32398 0.0963,-6.88468 -2.96089,-0.2648 -2.98497,-3.80342 -48.98714,-2.21465 -8.97897,8.73825 -14.70818,-9.67707 -5.17555,3.17754 -3.75528,31.60694 -9.29191,7.17355 -2.79239,6.35509 0.50552,9.41227 -16.75433,13.69715 -4.45337,-2.02208 0.6018,2.62388 -4.95889,4.74225 0,0 z",name:"Congo"},rw:{path:"m 573.75468,278.75147 6.76432,6.23473 -0.28887,6.66803 -10.49553,0.21665 v -7.36613 l 4.02008,-5.75328 0,0 z",name:"Rwanda"},bi:{path:"m 569.87904,293.9411 10.27887,-0.21666 -2.67202,9.00305 -2.59981,2.26279 h -3.17755 l -2.26279,-6.09029 0.4333,-4.95889 0,0 z",name:"Burundi"},ug:{path:"m 574.91015,276.80161 7.29391,6.83654 4.57374,-2.91275 12.37316,-2.02208 2.11837,0.21666 0.79438,-4.6941 6.98097,-14.68411 -5.87364,-12.22874 -19.0412,0.12037 -0.12036,5.03111 2.55167,2.45537 -0.38516,5.03112 -11.26584,16.85061 0,0 z",name:"Uganda"},ke:{path:"m 605.07275,246.54272 6.40324,12.49353 -7.67907,16.10437 -1.01104,4.88668 38.34719,23.71122 11.89172,-18.68011 -6.01808,-4.88667 -0.12036,-24.6019 7.53463,-8.23273 -12.01208,3.996 -9.07526,0.12036 -14.20266,-11.98801 -4.47745,-1.92578 -8.30495,0.77031 -1.46841,2.45538 0.19258,5.77735 0,0 z",name:"Kenya"},tz:{path:"m 604.44687,354.62738 42.05432,-5.15147 -9.46041,-18.29495 -0.50552,-17.52464 3.05718,-8.37717 -40.00817,-25.13149 -12.54168,2.07022 -4.35708,3.22569 -0.38516,7.34205 -2.81646,10.18259 -2.93682,3.49049 -4.21266,0.38515 8.06423,27.94795 13.16755,6.18659 9.07526,0.26479 1.80542,13.3842 0,0 z",name:"Tanzania"},zm:{path:"m 517.73842,386.59541 7.63092,10.59181 11.8195,0.72217 4.18858,2.31095 12.37317,0.14443 10.66403,-14.9489 29.80152,-13.33606 2.59981,-11.74729 -3.46641,-16.82654 -15.55071,-8.85861 -10.37517,0.72217 -5.17554,11.45842 0.14443,5.22369 12.22873,5.94586 0.72217,12.92683 -10.5196,0.57773 -2.59981,-4.35709 -29.22378,-12.46945 -0.8666,9.58078 -13.81751,0.4333 -0.57773,21.9058 0,0 z",name:"Zambia"},mw:{path:"m 596.23821,373.83709 7.48649,7.8235 -0.14443,10.01408 1.44434,4.21265 9.94186,-10.73625 -1.15547,-13.649 -5.31998,-4.06822 -4.74225,-23.95194 -8.20865,-0.28887 3.73121,17.25984 -3.03312,13.38421 0,0 z",name:"Malawi"},mz:{path:"m 581.8189,455.39407 6.47545,5.36812 15.26185,-9.29191 2.45537,-13.79343 v -22.77241 l 24.48154,-20.02816 4.18858,0.14444 14.82854,-14.22674 -2.31094,-29.32007 -39.31008,4.9589 1.15547,8.85861 6.76432,5.22369 1.58877,15.95994 -13.23977,12.92683 -3.17754,-7.24577 0.57773,-9.58078 -7.63092,-8.28087 -18.72825,8.71417 17.42835,8.85861 0.57773,25.82959 -11.53063,17.11541 0.14443,20.58183 0,0 z",name:"Mozambique"},zw:{path:"m 542.07552,404.89036 21.59286,24.38525 16.56175,4.21265 11.09733,-17.40427 -0.8666,-23.06128 -18.00609,-9.29191 -6.76431,3.05719 -10.0863,15.3822 -13.96194,-0.14443 0.4333,2.8646 0,0 z",name:"Zimbabwe"},na:{path:"m 474.40826,476.28883 8.06423,0.57773 4.74224,4.79039 11.24177,0.14444 2.74424,-31.91988 v -20.89477 l 7.19762,-1.44434 2.74425,-21.9058 18.29495,-0.57773 6.47545,-5.36813 -10.9529,-0.4333 -14.82854,2.02208 -15.98401,-5.80143 h -44.91893 l 1.15547,12.75832 14.97298,22.05024 -2.59981,11.31398 0.14443,5.94586 11.50656,28.74234 0,0 z",name:"Namibia"},bw:{path:"m 503.19874,450.45924 5.17555,1.58877 -0.72217,14.80447 5.31998,0.72217 12.22873,-11.02511 14.68411,1.58877 3.89972,-9.86965 18.58382,-16.97098 -22.31503,-25.68515 -0.28887,-4.21265 -2.45538,-0.72217 -6.76431,6.23473 -17.57279,0.4333 -2.45537,21.9058 -6.90876,1.58877 -0.40923,19.61893 0,0 z",name:"Botswana"},sz:{path:"m 581.09673,457.12727 -6.04215,1.01104 -2.59981,7.10133 4.62189,4.21265 h 5.60885 l 4.74224,-6.81246 -6.33102,-5.51256 0,0 z",name:"Swaziland"},ls:{path:"m 548.69541,484.54563 7.34205,-5.65699 3.46641,0.14443 4.18858,5.22369 -0.4333,5.22369 -7.05318,2.59981 v 2.02208 l -7.77536,-0.43331 -1.87764,-5.65699 2.14244,-3.46641 0,0 z",name:"Lesotho"},za:{path:"m 564.94421,432.16429 -19.01712,17.57278 -4.52559,10.85661 -15.06927,-1.87764 -12.54167,11.14548 -8.32902,-0.81846 0.67403,-15.40627 -2.9609,-1.03511 -2.07022,31.51065 -14.78039,-0.14444 -4.45338,-5.24776 -6.5236,-0.0722 5.94586,17.06727 10.61589,10.03815 -7.58278,8.83454 4.91076,11.07326 11.36212,4.33302 9.05119,-7.70314 25.92588,0.14443 1.85357,-2.31094 11.50656,-2.02207 38.92492,-38.75642 -0.14443,-12.20466 -4.16451,5.3922 h -6.23473 l -7.58278,-6.35509 3.85157,-9.58078 6.61989,-1.34805 -0.60181,-19.69115 -14.66004,-3.39419 0,0 z m -9.1234,44.53377 3.63492,-0.14444 5.89771,6.40324 -0.1685,7.41427 -6.90876,3.49048 -0.4333,2.45538 -10.54367,0.12036 -3.2979,-7.94386 3.00903,-5.8255 8.81047,-5.96993 0,0 z",name:"South Africa"},mg:{path:"m 704.90061,358.23823 -5.1274,12.18059 -8.78639,15.50256 -15.38221,1.10733 -6.59581,7.75128 1.10733,23.63901 -9.53264,11.07326 1.10733,18.82455 8.06422,9.21969 9.53264,-1.10733 9.53263,-7.02911 -2.19058,-11.07326 21.97802,-38.03425 -4.40523,-4.79039 4.40523,-9.21969 4.76632,1.46841 1.46841,-3.68306 -4.40524,-18.82455 -2.57573,-7.75128 -2.9609,0.74624 0,0 z",name:"Madagascar"}}}),jQuery.fn.vectorMap("addMap","usa_en",{width:959,height:593,paths:{hi:{path:"m244.66,512.25c-2.48,3.8 2.23,4.04 4.74,5.38 3.06,0.16 3.51,-4.28 2.66,-6.56 -2.72,-0.77 -5.01,-0.19 -7.41,1.19z m-9.31,3.97c-4.02,5.11 3.64,0.48 0.63,-0.09l-0.5,0.07 -0.14,0.02z m39.69,7.97c-0.62,2.09 1.91,6.73 4.39,6.2 2.41,-1.46 3.73,1.73 6.48,0.56 1.23,-1.48 -3.77,-3.2 -3.7,-6.08 -0.95,-3.8 -3.28,-3.2 -5.96,-1.28 -0.41,0.2 -0.81,0.4 -1.22,0.6z m19.94,10.03c3.58,0.95 7.91,2.99 11.25,0.47 -1.05,-1.63 -5.06,-0.59 -7.1,-0.86 -1.44,0.01 -3.54,-1.63 -4.15,0.39z m12.13,4.38c2.33,2.45 3.64,6.83 7.24,7.4 2.36,-0.69 6.84,-0.66 7.32,-3.43 -2.09,-2.51 -5.77,-3.35 -8.88,-4.29 -2.53,-1.2 -4.11,-3.25 -5.68,0.33z m-7.06,1c-0.29,3.69 5.55,3.98 3.67,0.55 -0.27,-1.25 -3.83,-1.74 -3.67,-0.55z m23.66,14.69c0.27,2.45 3.18,3.93 0.47,6.15 -0.65,2.42 -5.54,2.87 -2.52,5.53 2.36,1.46 2.01,4.85 2.92,7.14 -0.72,2.69 -1.43,6.78 1.72,8.06 2.8,2.95 4.5,-1.93 6.19,-3.68 1.27,-1.69 3.85,-4.1 5.94,-2.59 3.04,-0.81 6.3,-2.42 7.78,-5.22 -2.79,-1.31 -4.88,-3.19 -5.57,-6.29 -2.4,-5.33 -8.95,-6.26 -13.58,-8.98 -1.29,-0.52 -2.26,-1.62 -3.34,-0.11z",name:"Hawaii"},ak:{path:"m107.84,436.56c-2.27,0.55 -4.87,0.32 -6.84,-0.34 -2.41,1.22 -5.63,4.03 -8.25,1.88 -3.1,0.93 -3.51,3.84 -5.22,5.97 -1.82,2.52 -4.21,3.65 -7.31,3.14 -2.5,-0.94 -5.49,-1.15 -7.5,0.98 2.03,4.34 6.39,8.13 5.82,13.23 -1.85,2.94 6.31,2.99 2.68,5.02 0.15,2.8 3.07,5.68 2.91,7.88 -2.35,2.21 -5.24,-0.38 -7.71,-1.06 -3.24,-0.64 -2.73,-3.35 -0.82,-5.22 -1.57,-1.51 -7.35,-1.81 -6.51,1.12 -2.01,0.04 -3.81,-1.66 -6.27,-0.77 -3.72,-0.44 -5.97,0.65 -2.94,4.05 3.68,1.45 1.06,4.72 1.17,7.57 0.76,2.63 3.66,4.89 6.67,4.17 3.2,-0.06 5.87,3.59 9.21,1.65 2.16,-1.3 5.33,-0.99 4.79,1.89 -2.53,2.07 -1.36,6.13 -2.78,8.75 -1.96,1.88 -4.53,1.59 -6.59,0.16 -1.52,1.37 -4.7,3.68 -6.28,2.22 0.72,-3.71 -4.77,-3.63 -5.51,-0.61 -1.21,3.97 -6.27,4.46 -8.31,7.63 -0.7,2.42 -1.55,6.7 1.74,6.3 1.26,1.11 -1.2,4.8 -2.77,5.52 1.62,2.19 2.65,4.59 2.72,7.34 1.71,1.55 6.35,1.98 7.5,-0.16 2.45,-0.95 1.79,4.1 2.08,5.97 2.47,2.95 -4.02,1.28 -1.61,4.56 -0.85,2.93 -1.76,5.02 2,2.72 2.76,-0.47 5.11,-0.69 5.66,2.09 2.59,-3.91 2.26,2.78 3.25,4.66 0.59,-0.75 1.3,-5.69 3.94,-3.06 -0.17,4.52 5.33,-0.45 5.78,-0.04 0.54,2.92 -1.63,4.24 -2.86,6.41 -1.51,2.24 -2.07,5.63 -4.21,7.17 -3.87,-0.42 -3.37,4.1 -5.5,5.02 -2.65,-0.72 -5.73,0.71 -8.44,1.41 -1.35,2.41 -3.61,4.2 -5.78,1.81 -2.56,0.05 -5.63,0.68 -7.63,2.33 -2.48,2.43 -6.32,3.11 -9.66,2.29 -2.78,-1.91 -7.11,3.41 -3.11,2.31 2.5,-1.91 4.66,0.64 7.25,0.63 2.21,-1.15 4.17,-2.75 6.84,-2.06 2.32,-3.35 5.1,-0.32 7.92,-1.16 2.31,-0.39 7.01,-3.91 5.26,0.66 0.09,-2.91 3.42,-2.73 5.54,-2.04 4.21,0.96 0.29,-3.16 2.08,-3.43 3.47,-2.05 7.52,-2.41 11.2,-3.72 5.48,-3.19 11.62,-5.7 16.21,-10.1 4.27,-2.97 -2.78,-3.48 -1.21,-6.32 1.68,-2.43 4.58,-3.81 7.47,-4.5 1.5,-3.07 3.53,-6.11 5.88,-8.52 2.49,-1.32 4.83,-3.39 7.83,-2.32 2.67,0.71 3.74,5.32 -0.52,3.66 -1.27,-1.88 -5.56,-0.09 -5.25,2.41 -0.21,2.44 -2.56,4.22 -3.06,6.66 4.79,0.85 0.24,3.54 -1.38,3.8 1.67,1.91 5.66,0.6 7.57,-1.14 1.25,-1.85 3.43,-3.8 5.41,-4.22 1.81,2.8 5.1,-1.16 5.74,2.72 0.71,2.78 6.02,-4.86 3.34,-3.1 -3.03,3.11 -3.78,2.86 -1.94,-1.24 1.43,-4.85 -1.76,6.17 -1.45,0.81 -0.81,-3.19 -0.93,-6.03 3.05,-6.4 2.7,-0.86 5.37,-0.87 5.79,2.52 0.42,3.48 3.8,2.84 5.95,4.76 2.41,2.2 4.76,1.95 7.8,1.78 4.34,-0.47 8.01,4.04 12.28,3.17 2.49,-0.42 5.1,-5.2 4.29,-0.23 -2.26,2.83 -0.02,4.12 2.5,5.41 3.13,1.35 5.87,3.14 7.94,5.85 1.31,3.02 6.05,0.28 6.18,2.43 -3.83,1.25 -1.23,3.54 0.21,5.47 1.81,1.95 0.33,5.72 3.64,5.82 1.14,1.28 3.49,7.44 4.01,5.38 -0.35,-2.32 -0.7,-7.86 1.61,-3.76 0.37,1.42 1.04,8.7 2.07,4.74 1.07,-4.88 3.18,0.18 2.22,2.93 3.33,1.69 -1.23,3.33 0.69,4.88 0.69,-3.24 1.31,-0.36 2.16,1.56 1.05,1 1.54,3.94 3.13,3.72 -1.68,-1.72 -2.94,-6.23 0.4,-3 2.42,2.79 4.05,2.12 2.74,-1.66 -2.65,-2.66 0.28,-4.96 2.58,-2.29 3.12,-0.05 2.84,5.21 5.28,4.53 3.31,-3.17 1.5,-7.87 0.69,-11.7 -3.3,-1.55 -7.04,-2.54 -10.22,-4.06 -1.5,-5.33 -6.29,-8.69 -8.4,-13.77 -0.44,-3.33 -4.71,-2.62 -5.75,-5.23 -2.32,-1.72 -2.7,-4.4 -4.56,-6.35 -1.65,-1.53 -5.22,0.95 -5.51,2.94 0.59,3.09 -3.23,3.04 -5.06,4.72 0.05,-4.27 -4.3,-6.15 -6.7,-9.1 -1.33,-1.99 -1.32,-5.36 -4.45,-2.34 -2.37,0.24 -6.38,-0.31 -5.34,-3.62 0.1,-27.7 0.2,-55.4 0.31,-83.09 -2.75,-1.88 -5.88,-4.17 -9.15,-4.4 -2.52,1.72 -5.07,1.09 -7.39,-0.62 -2.72,0.23 -5.12,-0.65 -7.7,-2.89 -3.08,-2.74 -8.58,0.17 -10.98,-3.65 1.13,-3.56 -3.22,-4.83 -5,-2.09 -2.09,0.26 -0.65,-4.31 -3.64,-4.93 -2.57,-2.85 -4.01,-1.28 -5.86,1.21z M36.38,480.63c-0.67,3.11 4.27,1.31 4.72,4.66 0.24,3.82 5.37,3.9 2.34,-0.08 -0.1,-3.22 -3.92,-1.83 -5.06,-4.43 -0.76,-2.02 -0.9,-1.86 -2,-0.16z m-17.16,23.16c2.57,4.06 1.45,1.37 0.13,-1.28 -0.36,0.01 0,1 -0.13,1.28z m21.84,14.81c1.27,1.79 4.99,5.58 6.22,2.03 2.26,-3.3 -3.27,-2.89 -5.23,-3.68 -1.83,-0.9 -0.88,0.54 -0.99,1.65z m91.72,18.78c0.06,3.21 2.81,-1.98 0,0z m-31.47,14.69c-3.2,2.91 -7.24,4.67 -10.56,7.38 0.22,2.75 0.99,7.64 4.67,5.15 2.5,-1.44 4.98,-2.9 7.45,-4.37 -1.84,-3.31 -0.81,-3.15 -4.55,-3.48 -4.15,0.09 1.06,-3.73 2.64,-1.62 3.74,-1.04 3.95,-2.36 1.5,-3.66 0.7,-1.08 -1,0.61 -1.16,0.59z M55.75,570.75c1.42,2.83 3.53,-1.99 0,0z m-35.78,0.34c0.53,2.46 -4.04,4.84 1.05,3.59 4.2,0.47 3.46,-4.35 0.01,-3.84 -0.35,0.08 -0.7,0.16 -1.06,0.24z m62.19,0.69c1.57,2.91 1.31,-2.03 0,0z M58.63,573.13c3.23,0.49 0.99,-3.05 0,0z m-49,0.09c-4.84,2.56 -0.44,1.81 2.29,0.58 2.89,0.16 5.05,-0.48 0.84,-1.46 -1.04,0.29 -2.08,0.58 -3.13,0.88z m7.25,1.38c1.28,0.21 -2.23,-0.59 0,0z",name:"Alaska"},fl:{path:"m748.38,439.94c1.69,2.92 1.5,6.12 1.16,9.34 -4.12,0.54 -2.15,-4.69 -5.56,-3.99 -6.18,-0.07 -12.34,1.13 -18.54,1.19 -10.09,0.29 -20.37,2.14 -30.33,0.64 -2.57,-1.57 -2.84,-6.15 -6.5,-5.33 -9.12,-0.12 -18.18,1.79 -27.26,2.55 -5.82,0.63 -11.62,1.37 -17.43,2.12 -1.42,3.25 2.6,4.37 4.06,6.34 0.8,2.28 -1.56,8.42 2.19,7.1 4.11,-1.2 8.08,-2.93 12.48,-2.72 3.34,-0.82 6.63,-0.73 9.89,0.45 4.09,0.8 7.77,3.09 11.41,4.98 1.77,1.94 5.5,1.87 5.97,5 -0.14,3.27 4.32,-0.94 6.5,0.53 3.19,-0.8 5.24,-3.68 7.69,-5.5 4.86,1.69 0.62,-2.9 3.27,-3.97 3.13,-0.83 6.62,-1.39 9.35,0.79 3.04,0.57 5.43,2 6.57,4.99 3.68,0.02 2.88,4.13 5.48,5.3 2.96,0.49 2.98,4.52 6.3,4.3 2.91,0.36 5.45,1.15 5.84,4.45 2.05,2.11 3.92,4.26 3.09,7.41 0.18,3.68 0.12,7.33 -1.44,10.75 0.39,3.68 1.37,7.94 3.28,10.78 2.25,-3.46 0.17,-3.87 -1.74,-6.03 2.19,-1.76 4.86,-0.22 7.3,0.16 0.82,3.15 -2.16,5.6 -3.48,8.19 -3.3,2.21 1.65,4.09 2.73,6.3 3.11,3.34 4.35,7.94 7.53,11.26 0.78,2.29 2.51,7.47 4.63,3.09 2.54,-0.24 3.88,3.44 5.28,5.41 -0.02,2.26 1.93,7.04 3.59,6.44 2.88,-0.8 6.04,0.65 8.28,2.59 2.56,3.3 4.58,6.98 4.56,11.27 1.37,2.73 4.55,0.44 5.81,-1.14 3.74,0.45 7.26,-1.25 9.22,-4.47 -1.01,-2.36 -0.57,-4.83 -0.32,-7.17 -0.04,-2.18 4.33,-3.19 2.25,-6.51 -0.98,-6.33 -0.19,-12.96 -1.87,-19.25 -2.46,-6.93 -7.54,-12.74 -10.4,-19.56 -1.51,-2.41 -4.24,-3.92 -4.62,-7.04 -0.94,-2.28 -2.67,-4.95 -0.07,-6.71 -0.39,-3.56 -4.86,-5.42 -6.84,-8.41 -5.38,-5.57 -8.29,-12.94 -12.35,-19.44 -2.15,-5.53 -4.29,-11.07 -5.91,-16.78 -3.43,0.07 -7.3,-1.03 -10.46,-0.35l-0.34,0.37 -0.26,0.29z m52.91,109.22c-1.9,4.58 0.72,0.38 0.66,-1.91 -0.22,0.64 -0.44,1.27 -0.66,1.91z m-4.69,9.91c2.56,-1.97 3.68,-6.84 1.04,-1.68 -0.35,0.56 -0.69,1.12 -1.04,1.68z m-2.25,2.22c1.46,-1.22 2.04,-2.07 0.18,-0.18l-0.18,0.18z m-5.72,4.16c-5.23,3.69 4.03,-2.14 0.33,-0.19l-0.33,0.19z m-10.72,3.22c-3.41,3.16 5.71,-0.32 4.1,-0.81 -1.8,-0.56 -2.56,-0.71 -4.1,0.81z m-4.59,3.16c0.08,0.16 0.4,-0.3 0,0z",name:"Florida"},nh:{path:"m862.56,94c-1.4,-0.41 -3.87,-0.72 -3.05,3 0.22,3.63 -0.73,7.84 2.23,10.59 0.33,2.78 0.08,5.36 -2.17,7.29 -0.19,2.83 -5.98,2.58 -3.35,5.32 1.16,7.35 -0.56,15.03 -0.62,22.51 1.2,1.95 0.98,4.39 0.76,6.75 -1.07,3.79 4.84,-0.05 6.89,0.06 3.93,-1.29 8.46,-1.74 12.04,-3.54 0.77,-3.1 4.37,-2.75 5.94,-4.96 2.59,-3.52 -3.01,-2.73 -2,-6.59 -3.83,0.01 -4.27,-2.46 -4.66,-5.62 -3.84,-11.98 -7.32,-24.45 -11.49,-36.1 -0.18,0.43 -0.35,0.85 -0.53,1.28z",name:"New Hampshire"},mi:{path:"M697.86,177.24L694.63,168.99L692.36,159.94L689.94,156.71L687.35,154.93L685.74,156.06L681.86,157.84L679.92,162.85L677.17,166.57L676.04,167.21L674.58,166.57C674.58,166.57 671.99,165.11 672.16,164.47C672.32,163.82 672.64,159.45 672.64,159.45L676.04,158.16L676.84,154.77L677.49,152.18L679.92,150.56L679.59,140.54L677.98,138.28L676.68,137.47L675.87,135.37L676.68,134.56L678.3,134.88L678.46,133.27L676.04,131L674.74,128.42L672.16,128.42L667.63,126.96L662.13,123.57L659.38,123.57L658.74,124.21L657.77,123.73L654.7,121.46L651.79,123.24L648.88,125.51L649.2,129.06L650.17,129.39L652.27,129.87L652.76,130.68L650.17,131.49L647.58,131.81L646.13,133.59L645.81,135.69L646.13,137.31L646.45,142.8L642.9,144.9L642.25,144.74L642.25,140.54L643.54,138.12L644.19,135.69L643.38,134.88L641.44,135.69L640.47,139.89L637.72,141.02L635.94,142.96L635.78,143.93L636.43,144.74L635.78,147.33L633.52,147.81L633.52,148.95L634.33,151.37L633.2,157.51L631.58,161.56L632.23,166.24L632.71,167.38L631.9,169.8L631.58,170.61L631.26,173.36L634.81,179.34L637.72,185.8L639.18,190.65L638.37,195.34L637.4,201.32L634.97,206.5L634.65,209.25L631.39,212.33L635.8,212.17L657.22,209.91L664.5,208.92L664.59,210.58L671.45,209.37L681.74,207.87L685.6,207.41L685.74,206.82L685.9,205.37L688,201.65L690,199.91L689.78,194.86L691.37,193.26L692.46,192.92L692.69,189.36L694.22,186.33L695.27,186.94L695.44,187.58L696.24,187.74L698.18,186.77L697.86,177.24z M581.62,82.06L583.45,80L585.62,79.2L590.99,75.31L593.28,74.74L593.74,75.2L588.59,80.34L585.28,82.29L583.22,83.2L581.62,82.06z M667.79,114.19L668.44,116.69L671.67,116.85L672.97,115.64C672.97,115.64 672.89,114.19 672.56,114.03C672.24,113.86 670.95,112.17 670.95,112.17L668.76,112.41L667.15,112.57L666.82,113.7L667.79,114.19z M567.49,111.21L568.21,110.63L570.96,109.82L574.51,107.56L574.51,106.59L575.16,105.94L581.14,104.97L583.57,103.03L587.93,100.93L588.09,99.64L590.03,96.73L591.81,95.92L593.1,94.14L595.37,91.88L599.73,89.46L604.42,88.97L605.55,90.1L605.23,91.07L601.51,92.04L600.06,95.11L597.79,95.92L597.31,98.35L594.88,101.58L594.56,104.17L595.37,104.65L596.34,103.52L599.89,100.61L601.19,101.9L603.45,101.9L606.68,102.87L608.14,104L609.59,107.08L612.34,109.82L616.22,109.66L617.68,108.69L619.29,109.99L620.91,110.47L622.2,109.66L623.33,109.66L624.95,108.69L628.99,105.14L632.39,104L639.02,103.68L643.54,101.74L646.13,100.45L647.58,100.61L647.58,106.27L648.07,106.59L650.98,107.4L652.92,106.91L659.06,105.3L660.19,104.17L661.65,104.65L661.65,111.6L664.88,114.67L666.17,115.32L667.47,116.29L666.17,116.61L665.37,116.29L661.65,115.81L659.55,116.45L657.28,116.29L654.05,117.75L652.27,117.75L646.45,116.45L641.28,116.61L639.34,119.2L632.39,119.85L629.96,120.66L628.83,123.73L627.54,124.86L627.05,124.7L625.6,123.08L621.07,125.51L620.42,125.51L619.29,123.89L618.48,124.05L616.54,128.42L615.57,132.46L612.39,139.46L611.22,138.42L609.85,137.39L607.9,127.1L604.36,125.73L602.31,123.45L590.19,120.7L587.33,119.67L579.1,117.5L571.21,116.36L567.49,111.21z",name:"Michigan"},vt:{path:"m833.16,106.59c0.19,6 4.65,11.21 3.72,17.28 -2.48,4.23 4.52,7.29 2.22,11.58 0.9,1.59 4.66,1.96 4.06,5.25 1.08,4.21 2.86,8.34 1.84,12.76 3.35,-0.51 7.06,-1.17 10.13,-1.97 -0.21,-2.13 1.51,-5.75 -0.53,-7.81 0.2,-7.64 1.01,-15.26 1.13,-22.91 -3.25,-2.41 0.32,-3.79 2.12,-5.18 1.96,-2.28 3.9,-5.07 2.6,-8.1 -2.62,-1.63 -1.02,-5.94 -2.39,-7.22 -8.3,2.1 -16.59,4.21 -24.89,6.31z",name:"Vermont"},me:{path:"m889.88,40.22c-2.16,1.31 -3.69,2.74 -4.84,4.69 -2.29,0.6 -4.99,-1.37 -4.88,-3.94 -2.97,-0.82 -3.33,3.68 -4.37,5.71 -1.09,4.29 -3.27,8.39 -3.97,12.69 -0.06,3.04 1,6.63 -1.35,9.09 0.08,2.92 -0.75,6.18 2,8.16 -1.37,5.7 -6.23,10.36 -5.41,16.56 -4.27,-2.21 -1.74,2.47 -1.09,4.73 3.51,11.08 7.19,22.16 10.25,33.35 0.21,3.01 5.81,1.35 4.53,5.7 2.9,2 2.06,-3.92 2.66,-5.87 -1.01,-3.29 2.7,-4.63 0.66,-7.62 0.94,-1.05 2.92,-5.9 4.61,-3.46 2.03,1.03 5.28,-1.89 6.74,-3.19 -0.98,-4.02 4.21,-1.75 4.73,-5.32 -1.11,-2.61 0.74,-5.45 -0.57,-7.44 -2.42,-1.59 3.53,-4.63 3.31,-0.78 2.27,0.48 2.15,2.8 3.66,3.93 1.94,-2.82 -2.15,-3.81 0.35,-6.03 2.43,-0.81 3.1,-3.96 6,-3.31 -0.17,1.46 1.03,3.34 2.26,1.38 2.94,-2.9 5.24,-7.08 9.37,-8.34 1.17,-2.61 3.34,-5.74 0.71,-8.24 -0.55,-1.64 -3.68,-4.84 -4.15,-2.58 -0.75,2.6 -4.66,-0.65 -4.92,-2.22 0.1,-2.8 0.29,-7.17 -3.8,-5.81 -3.96,1.36 -3.64,-3.04 -4.69,-5.61C905.22,58.3 902.75,50.15 900.28,42c-2.86,-1.25 -5.71,-2.92 -8.81,-3.38 -0.53,0.53 -1.06,1.06 -1.59,1.59z m20.47,61c-2.81,1.7 1.87,5.16 1.13,1.22 1.48,-0.9 0.13,-2.4 -1.13,-1.22z m-7.81,7.81c3.16,6.67 2.63,-3.59 0,0z",name:"Maine"},ri:{path:"m871,164.28c1.15,4.66 2.29,9.31 3.44,13.97 2.56,-0.49 4.66,-2.29 5.84,-4.56 4.17,0.76 4,-2.64 1.51,-4.97 -1.79,-1.94 -3.16,-5.31 -5.74,-5.92 -1.68,0.49 -3.37,0.99 -5.05,1.48z",name:"Rhode Island"},ny:{path:"m825.56,108.66c-2.7,1.12 -5.45,1.68 -8.33,1.43 -5.07,0.72 -10.17,2.73 -12.92,7.31 -2.84,3.43 -4.89,7.49 -7.18,11.2 -1.65,2.36 -5.82,3.73 -5.55,6.84 -0.17,3.56 5.77,0.73 4.43,4.38 -2.69,2.3 0.8,4.23 0.56,6.59 0.5,3.47 -4.26,1.99 -5.36,4 -1.62,2.71 -3.35,6.62 -7.22,6.05 -3.04,-0.43 -5.35,2.05 -7.98,2.63 -2.5,-0.75 -4.7,-2.05 -7.59,-1.31 -5.31,0.21 -10.62,1.98 -15.23,4.53 -0.29,1.77 0.61,6.25 3.17,6.14 1.55,2.48 2.09,4.96 -0.63,6.72 -1.51,1.76 -1.8,4.25 -4.16,5.3 -1.93,1.14 -2.68,3.51 -4.8,4.54 0.33,3.07 -0.22,7.29 4.08,5.12 22.14,-4.26 44.26,-8.68 66.23,-13.74 0.98,3.85 5.67,1.32 6.44,4 0.64,2.93 1.36,7.4 5.33,6.88 3.14,1.9 6.9,3.68 10.69,4.22 2.71,0.47 7.18,1.43 6.44,5.06 -0.33,1.97 -1.62,7.56 1.97,5.93 5.3,-1.65 10.96,-2.84 15.06,-6.85 3.23,-2.49 6.76,-4.64 9.35,-7.86 -2.99,-2.44 -4.65,0.46 -6.81,2.42 -2.91,1.56 -6.01,3.51 -9.16,4.32 -2.6,-0.63 -4.83,-0.86 -6.18,2.07 -1.03,2.04 -4.86,2.98 -3.98,-0.15 4.26,-1.87 -2.17,-3.97 -0.33,-6.21 1.19,-3.13 0.56,-6.87 0.42,-10.21 -1.43,-7.38 -3.69,-14.76 -2.54,-22.36 -0.08,-4.46 1.55,-8.97 -0.51,-13.21 -1.22,-2.56 -0.47,-6.83 -4.05,-7.34 -2.99,-0.66 0.75,-4.31 -1.57,-6.2 -1.7,-2.43 -3.17,-4.91 -1.54,-7.81 0.38,-5.77 -3.83,-10.57 -3.55,-16.35 -2.32,0.65 -4.65,1.29 -6.97,1.94z",name:"New York"},pa:{path:"m798.88,181.63c-17.5,3.38 -34.87,7.42 -52.47,10.28 -0.61,-2 0.48,-8.42 -2.41,-4.31 -2.18,2.73 -5.48,3.74 -8.09,5.97 1.52,9.75 2.63,19.57 5.44,29.05 1.14,6.09 2.27,12.17 3.41,18.26 8.85,-1.42 17.79,-2.25 26.51,-4.41 16.39,-3.45 33.03,-6.46 49.33,-9.87 2.48,-3.07 8.03,-1.69 8.97,-6.19 0.64,-2.36 4.86,-3.99 4.33,-5.9 -2.3,-1.89 -5.94,-2.77 -6.39,-6.13 -3.14,1.09 -4.42,-3.94 -3.12,-5.32 3.86,-1.1 -0.49,-3.68 0.55,-5.96 2.52,-1.88 1.12,-5.15 2.81,-7.07 3.87,-2.7 -2.98,-1.1 -3.72,-3.99 -1.35,-2.18 -0.28,-7.24 -4.16,-5.92 -2.34,-1.13 -3.87,-3.75 -7.09,-1.7 -4.64,1.07 -9.28,2.15 -13.92,3.22z",name:"Pennsylvania"},nj:{path:"m827.84,191.34c1.03,2.99 -1.82,4.8 -2.06,7.47 2.86,1.63 0.49,4.87 -0.92,5.73 -0.41,3.86 4.01,1.68 4.16,5.14 1.37,2.19 4.72,3.02 6.26,4.94 -0.15,2.61 -3.85,3.5 -4.69,6.06 -0.26,3.07 -4.09,3.19 -4.18,5.96 -0.99,2.38 -0.74,5.09 1.7,6.47 2.85,2.76 6.86,3.99 10.73,4.38 0.48,1.55 -1.84,7.18 1.1,3.59 1.5,-2.42 0.59,-5.95 3.11,-8.01 2.5,-4.08 5.03,-8.84 4.88,-13.61 -1.35,-4.07 0.8,-9.01 -1.81,-12.82 -1.1,1.32 -6.17,1.23 -4.13,-0.8 2.39,-1.39 3.37,-3.62 2.39,-6.31 0.21,-2.31 1.58,-5.42 -1.69,-6.19 -4.35,-1.15 -8.82,-2.13 -12.88,-4.26 -0.66,0.75 -1.31,1.5 -1.97,2.25z",name:"New Jersey"},de:{path:"m824.88,225.34c-3.72,0.25 -3.47,3.52 -1.91,6.13 3.35,6.89 3.86,14.58 6.03,21.81 3.45,0.11 6.81,-0.49 10.16,-1.25 -1.2,-2.17 -0.68,-6.38 -3.32,-6.38 -2.9,-1.2 -4.17,-3.69 -4.9,-6.58 -0.91,-3.11 -3.62,-4.96 -5.48,-7.35 -1.85,-1.82 0.94,-5.5 -0.26,-6.47l-0.33,0.09z",name:"Delaware"},md:{path:"m813.59,229.19c-17.31,3.18 -34.53,6.83 -51.78,10.28 0.74,3.02 1.31,6.08 1.78,9.16 2.14,-1.9 3.29,-5.35 6.59,-5.34 2.14,-1.85 2.67,-5.25 5.77,-3.55 3.46,0.18 5.43,-5.35 9.01,-3.85 2.63,1.63 5.66,2.79 7.34,5.59 4.19,0.11 3.68,3.73 5.74,4.96 2.73,1.11 5.02,1.18 6.38,-0.53 4.29,1.38 2.24,3.74 1.44,6.9 0.09,2.97 -3.7,4.92 -1.66,7.97 3.1,1.31 6.4,1.2 9.63,1.4 2.17,1.58 6.83,1.03 3.79,-2.1 0.41,-2.74 -3.08,-3.35 -3.32,-6.04 -1.7,-2.67 -1.42,-5.47 -0.36,-8.32 1.68,-2.42 -2.83,-3.82 -0.4,-5.41 1.25,-1.53 0.43,-4.16 2.98,-4.7 1.62,-3.02 5.1,-1.45 2.35,1.02 -2.54,2.98 -0.81,4.5 0.57,6.3 1.41,3.55 -0.68,5.07 -1.53,7.31 -0.22,-0.81 3.62,-1.01 3.22,1.79 -3.15,1.64 -1.45,6.12 1.09,7.31 2.98,0.99 5.58,-1.8 6.98,2.14 1.5,3.75 4.92,0.81 7.41,-0.02 2.74,-1.21 3.47,-4.93 2.78,-7.7 -1.13,-1.58 -4.82,0.92 -7.13,0.4 -3.86,1.26 -4.9,-1.25 -5.28,-4.64 -1.68,-5.97 -2.14,-12.33 -5.16,-17.9 -0.04,-4.32 -2.71,-4.2 -6.07,-2.91 -0.73,0.16 -1.45,0.31 -2.18,0.47z m10.94,32.59c1.32,0.99 0.59,4.97 2.06,4.63 -0.48,-1.31 -0.36,-4.99 -2.06,-4.63z",name:"Maryland"},va:{path:"m792.88,242.88c-0.16,1.46 0.24,5.89 -2.4,4.29 -2.58,-0.67 -6.42,-3.2 -8.23,-2.73 0.7,3.72 -1.46,6.77 -2.99,9.94 -3.05,1.14 -2.29,5.83 -5.84,5.58 -1.62,1.74 -1.47,5.31 -2.45,7.73 -3.09,1.14 -5.37,-0.48 -7.28,-1.75 0.11,6.5 -3.72,11.95 -5.91,17.84 -1.69,1.73 1.19,3.8 -0.74,5.77 -1.35,3.56 -3.79,2.72 -6.19,4.19 -2.72,1.1 -4.9,0.5 -5.4,4.61 -2.07,1.14 -4.83,2.63 -6.91,0.47 -2.38,1.51 -5.02,3.21 -7.81,1.6 -2.69,-0.01 -3.9,-6.55 -6.07,-2.94 -3.27,4.09 -7.89,7.48 -10.21,12.09 0.43,3.25 -4.46,3.32 -6.42,5.15 -4.27,1.95 3.62,-0.11 5.16,-0.07 5.56,-0.79 11.14,-1.37 16.76,-1.36 1.95,-2.65 4.98,-1.81 7.77,-1.65 7.86,-0.32 15.65,-2.12 23.48,-2.99 12.85,-1.4 25.44,-4.27 38.04,-7.05 11.65,-2.52 23.3,-5.03 34.96,-7.55 -1.64,-2.66 -2.75,-6.67 -6.42,-4.14 -1.99,2.03 -6.61,-1.82 -2.7,-2.48 2.65,-1.62 -1.75,-4.07 -1.8,-5.97 -2.73,-0.62 -2.88,-5.12 0.54,-3.6 -0.17,-1.37 -1.24,-3.62 -1.62,-5.68 1.47,-3.51 -0.84,-4.97 -3.72,-5.16 0.31,-3.42 -2.9,-2.93 -5.22,-3.97 -3.33,0.21 -7.06,-0.25 -9.91,-1.66 -1.22,-2.41 -0.91,-5.12 1.25,-6.88 1.39,-2.83 -0.28,-5.7 -3.3,-6.27 -2.65,-0.83 -6.97,-0.29 -5.73,-4.3 -0.83,-0.3 -2.05,-1.06 -2.69,-1.06z m39.16,21.59c0.44,4.71 -3.15,8.7 -2.62,13.48 -0.34,4.11 2.64,5.72 3.48,0.92 1.71,-3.04 -0.23,-6.47 0.8,-9.73 0.4,-2.53 3.66,-3.88 3.52,-6.73 -1.73,0.69 -3.46,1.38 -5.19,2.06z",name:"Virginia"},wv:{path:"m739.75,223.25c-1.6,2.23 1.3,5.02 0.25,7.75 -0.18,4.04 -0.63,8.11 -0.84,12.13 -1.94,3.58 -4.43,7.35 -8.16,9.13 -3.15,-1.33 -3.92,3.25 -5.76,4.98 -1.56,2.28 2.64,4.93 -0.3,6.69 -2.57,3.58 -2.6,-4.8 -4.46,-0.71 -1.32,2.59 0.02,6.02 -1.35,8.33 -1.82,1.54 -0.53,5.19 -4.16,4.81 -2.23,0.13 -1.45,6.19 1,6.81 2.24,1.47 2.49,4.74 5.5,5.92 1.92,1.96 2.28,5.18 5.39,6.05 1.64,2.19 3.07,4.96 6.25,4.88 2.63,0.5 4.77,-3.86 7.22,-1.35 1.49,0.81 3.93,-0.57 4.58,-1.83 0.43,-4.57 3.42,-2.71 6.03,-4.39 2.39,-0.94 4.82,-0.98 5.62,-4.44 -1.26,-2.59 0.3,-5 1.56,-7.64 2.23,-4.81 4.72,-9.61 4.67,-15.05 2.65,-2.31 3.72,3.56 7.05,1.41 1.64,-1.77 1.12,-5.67 2.6,-7.59 3.47,0.39 2.97,-3.96 5.76,-5.21 2.29,-3.11 3.52,-6.8 3.06,-10.7 1.06,-1.29 5.1,1.62 7.23,2.15 3.3,3.35 4.34,-1.98 2.85,-4.05 -2,-2.28 -5.12,-3.7 -7.62,-4.75 -3.31,0.98 -5.44,5.47 -9.38,3.97 -1.86,-0.23 -2.38,3.98 -4.86,3.88 -2.89,0.71 -3.79,4.38 -6.03,6.22 -1.1,-0.06 -0.99,-4.82 -1.62,-6.64 -0.01,-3.93 -1.77,-5.3 -5.48,-3.82 -4.21,0.6 -8.41,1.23 -12.61,1.91 -1.17,-6.45 -2.29,-12.92 -3.44,-19.38l-0.35,0.35 -0.18,0.18z",name:"West Virginia"},oh:{path:"m729.5,197.78c-4.85,2.06 -7.38,6.9 -11.47,9.97 -4.08,0.86 -8.09,1.75 -11.72,3.88 -3.41,1.61 -4.39,-4.09 -7.67,-2.63 -3.13,1.35 -5.49,-1.1 -8.11,-2.41 -8.6,1.15 -17.15,2.64 -25.66,4.38 1.45,17.83 4.12,35.53 5.87,53.33 -0.69,3.82 4.06,2.26 6.23,1.48 2.74,0.41 4.83,2.16 5.48,4.94 1.26,2.48 5.82,-0.87 6.96,2.54 2.19,1.53 4.46,-2.33 7.03,-0.58 2.52,0.04 5.62,1.51 6.84,-1.56 1.49,-0.55 5.37,-3.85 5.41,-0.71 0.38,2.53 3.82,3.57 5.77,4.7 3.53,0.63 2.32,-3.91 4.21,-5.51 -0.11,-2.74 0.21,-5.73 1.39,-8.13 2.53,-2.81 3.8,4.53 4.98,0.39 -2.02,-2.27 -0.99,-5.41 0.93,-7.41 1.07,-4.06 4.05,-2.41 6.5,-4.39 2.93,-3.16 6.59,-6.57 5.97,-11.27 0.44,-4.71 1.18,-9.75 -0.53,-14.23 1.47,-2.48 2.58,-4.29 0.96,-7.33 -2.04,-7.53 -2.56,-15.37 -3.93,-23.04 -1.81,1.2 -3.63,2.4 -5.44,3.59z",name:"Ohio"},in:{path:"m658.66,210.31c-9.12,0.93 -18.35,1.98 -27.41,2.68 -2.6,0.39 -4.21,5.08 -6.89,2.98 -3.83,-2.84 -2.64,1.83 -2.41,4.45 1.1,14.81 2.73,29.61 3.44,44.42 -0.76,3.69 -1.39,7.89 1.36,10.91 0.1,2.99 1.4,6.28 -1.14,8.65 -1.83,2.73 -2.55,6.09 -5.02,8.42 0.09,2.08 -2.02,8.2 1.63,5.16 3.49,-0.6 7.25,-1.53 10.69,-1.34 2.36,4.08 2.67,-0.62 5.26,-1.29 2.03,-2.62 4.78,2.05 5.34,1.04 -1.26,-3.41 3.05,-3.77 5.1,-5.22 1.09,0.63 6.05,3.38 5.3,-0.64 -0.46,-2.47 2.02,-4.71 3.65,-6.34 3.11,-1.39 4.33,-3.9 4.16,-7.23 1.83,-1 4.93,-1.01 6.97,-2.47 4.23,-1.03 0.26,-3.48 1.22,-5.92 -0.83,-12.56 -2.8,-25.13 -4.08,-37.69 -0.85,-6.99 -1.44,-14.01 -2.14,-21.02 -1.68,0.16 -3.35,0.31 -5.03,0.47z",name:"Indiana"},il:{path:"m569.75,200.44c-0.29,2.58 4.2,1.83 3.73,5.07 2.07,2.09 5.71,4.21 4.38,7.77 -0.31,3.04 -2.61,5.44 -3.08,8.4 -2.38,2.71 -6.06,2.98 -9.31,3.94 -1.61,2.47 -1.05,4.91 1.28,6.47 0.63,3.25 -1.08,5.07 -2.74,7.38 1.41,3.63 -2.39,2.86 -3.56,5.02 1.08,3.12 -2.11,3.8 -2.53,6.64 0.19,3.95 1.33,8.21 3.28,11.58 3.68,3.96 7.38,7.9 12.21,10.47 -0.61,2.88 -0.64,6.7 3.43,5.71 2.05,0 6.18,0.38 6.26,2.68 -0.19,4.39 -3.6,8.24 -3.28,12.53 1.6,3.83 5.33,6.26 8.59,8.42 3.37,-0.29 5.36,1.27 5.9,4.6 1.01,2.64 3.84,4.73 1.73,7.67 0.55,1.74 2.58,7.7 4.31,4.05 1.21,-2.98 5.41,-4.78 8.07,-2.46 3.1,2.46 5.94,0.47 3.13,-2.8 -0.98,-3.39 2.61,-4.96 5.37,-5.33 1.01,-1.55 -1.6,-4.46 1.4,-5.97 1.8,-3.97 -0.56,-9.39 3.32,-12.49 1.43,-2.97 3.23,-5.97 4.4,-8.97 0.13,-3 -0.7,-5.7 -2.34,-8.16 -0.45,-4.59 1.31,-9.09 0.02,-13.65 -1.16,-15 -2.22,-30.05 -3.67,-45.01 -1.02,-3.1 -1.61,-6.46 -4.04,-8.77 -2.27,-1.83 -0.51,-5.93 -1.97,-7.32 -14.76,0.83 -29.52,1.67 -44.28,2.5z",name:"Illinois"},ct:{path:"m865.78,165.41c-6.91,1.54 -13.81,3.08 -20.72,4.63 2.17,6.2 2.74,12.83 2.44,19.34 -2.62,4.3 2.61,2.38 3.97,-0.21 2.09,-1.89 4.19,-3.71 5.99,-5.88 2.06,1.35 4.78,-1.86 7.44,-1.46 2.98,-0.68 5.69,-2.24 8.56,-3.26 -1.15,-4.67 -2.29,-9.33 -3.44,-14 -1.42,0.28 -2.83,0.56 -4.25,0.84z",name:"Connecticut"},wi:{path:"m559.53,104.97c-4.06,2.75 -8.71,4.92 -13.53,5.84 -2.88,-1.08 -5.54,-1.12 -5.57,2.68 -0.48,3.34 0.51,7.03 -0.47,10.17 -2.02,3.26 -6.91,4.03 -7.36,8.38 -2.63,2.78 2.21,3.06 2.23,5.53 1.79,2.9 -2.13,4.74 -1.33,7.65 0.29,2.93 -0.4,6.49 1.14,8.93 1.33,3.48 5.88,0.21 6.64,3.93 1.56,2.26 5.47,1.03 6.19,4.78 2.15,5.1 9.7,4.85 11.21,10.39 0.68,3.38 0.35,7.34 1.94,10.32 3.26,1.05 1.94,4.34 0.25,6.21 -0.79,3.96 2.53,8.34 6.75,8.25 2.28,1.6 4.86,1.65 7.83,1.19 13.03,-0.77 26.07,-1.53 39.1,-2.3 -0.02,-4.45 -1.98,-8.61 -1.86,-13.13 -1.7,-2.04 -0.86,-4.17 -0.04,-6.39 0.32,-2.84 3.07,-4.93 1.51,-7.87 -1.05,-2.94 -0.88,-6.21 1.73,-8.27 -0.2,-2.83 -0.5,-5.03 -0.16,-7.93 -1.14,-4.2 2.64,-7.5 3.69,-11.36 0.92,-1.13 3.15,-8.34 0.73,-4.93 -2.65,3.81 -4.99,8.01 -8.18,11.29 -0.86,2.06 -3.21,4.55 -5.21,4.5 -2.57,-1.26 0.28,-4.49 0.9,-6.41 0.47,-2.94 3.2,-4.25 4.09,-6.85 -3.31,-1.29 -2.77,-5.03 -3.54,-7.92 0.02,-3.09 -1.23,-5.08 -4.29,-5.57 -2.14,-3.67 -7.04,-2.78 -10.59,-4.12 -7.13,-1.87 -14.21,-4.39 -21.67,-4.99 -2.48,-0.54 -2.84,-5.51 -5.51,-4.73 -1.71,-1.54 -3.85,-0.7 -5.82,0.13 -2.8,-1.32 0.68,-4.59 1.5,-6.38 2.18,-1.34 -1.53,-2.14 -2.31,-1z",name:"Wisconsin"},nc:{path:"m830.06,295.97c-18.3,3.8 -36.53,8 -54.86,11.65 -12.74,1.51 -25.38,4.07 -38.18,4.94 -3.32,-0.82 -1.17,3.72 -2.5,5.53 -2.62,1.34 -3.49,4.59 -5.03,6.38 -3.24,-1.36 -5.07,1.46 -6.34,3.97 -1.09,-0.57 -2.96,0.03 -3.41,-1.41 -2.02,1.96 -4.37,3.73 -4.31,6.81 -3.66,1.1 -6.31,3.82 -9.28,5.96 -2.64,0.94 -5.76,2.16 -7.4,4.35 0.73,4.06 -2.98,3.3 -5.1,5.29 -1.98,4.69 2.74,2.66 5.58,2.5 6.41,-1.19 13.32,-0.49 19.18,-3.73 5.04,-1.9 9.41,-5.9 15.06,-5.67 6.5,-0.64 13.15,-0.6 19.62,-0.69 2.99,0.53 3.36,4.79 5.58,5.01 5.37,-0.81 10.87,-1.67 16.25,-1.79 5.38,1.36 9.61,5.45 14.52,7.93 3.59,2.64 6.93,5.66 10.43,8.44 3.15,-0.86 6.32,-1.58 9.59,-1.72 1.06,-4.55 2.04,-9.29 5.39,-12.78 4.2,-4.27 9.23,-8.29 15.33,-9.29 2.91,1.95 3.69,-2.9 5.27,-4.53 2.72,-5 -2.44,3.91 -2.46,-1.22 -3.87,0.7 -5.43,-0.26 -3.29,-4 2.77,-4.25 -2.73,-2.51 -2.12,-6.02 -1.42,-3.76 2.84,2.19 5.06,0.81 2.81,0.12 5.1,-1.87 5.59,-4.6 0.45,-2.9 4.59,-2.7 3.28,-6.48 -4.02,-2.43 4.25,-0.66 0.4,-3.93 -3.52,-3.44 -5.24,-8.33 -7.23,-12.76 -1.54,0.35 -3.08,0.71 -4.63,1.06z m17.13,23.72c1.55,2.61 -4.64,4.26 -0.52,2.69 1.38,-1.92 0.21,-5.22 0.24,-7.62 -0.74,-2.05 0.37,4.57 0.28,4.94z",name:"North Carolina"},dc:{path:"m803.44,248.16c2.67,3.43 3.85,-1.02 0.55,-0.75l-0.29,0.4 -0.25,0.35z",name:"District of Columbia"},ma:{path:"m877.59,144.41c-1.04,3.1 -4.01,3.5 -6.79,4.13 -8.62,2.32 -17.17,4.6 -25.96,6.12 -0.11,4.77 -1.17,9.59 -0.03,14.31 10.66,-2.6 21.54,-4.29 32,-7.44 3.57,2.81 6.01,6.73 8.28,10.59 2.13,-0.78 0.01,-5.15 3.77,-5.38 2.93,-3.28 1.83,4.78 3.17,2.62 2.13,-3.09 6.1,-3.9 9.41,-5.21 -0.11,-3.41 -2.21,-8.55 -6.38,-7.53 1.64,-0.1 4.89,0.87 4.91,3.82 0.85,2.24 -2.55,3.71 -4.35,4.24 -3.37,0.51 -4.99,-1.76 -6.32,-4.47 -1.38,-2.05 -3.58,-6.56 -6.3,-3.6 -1.89,-1.72 -3.13,-4.04 -1.33,-6.3 2.3,-2.34 1.23,-6.2 -1.28,-7.16 -0.93,0.41 -1.86,0.82 -2.79,1.24z M902.25,172.69c-1.6,2.76 3.05,-2.44 0.08,-0.32l-0.08,0.32z m-11.28,1.28c1.59,0.78 6.09,-2.26 1.78,-2.03 -0.59,0.68 -1.19,1.35 -1.78,2.03z",name:"Massachusetts"},tn:{path:"m730.41,314.34c-8.87,-0.11 -17.76,1.5 -26.57,2.73c-10.24,2.86 -20.99,2.66 -31.48,4.02c-16.34,1.45 -32.65,3.29 -48.96,4.95c-4.57,-1.71 -0.43,5.74 -5.06,4.14c-6.97,0.06 -13.87,1.23 -20.84,0.71c-0.95,4.26 -1.37,9.04 -3.6,12.76c1.03276,2.6246 -1.94104,7.30425 -2.59092,9.90471c-2.52529,1.78965 -2.61104,1.92035 -0.46104,4.90035c3.07759,1.94598 -1.38459,5.12506 1.90081,3.86506c33.91,-3.26 65.53115,-6.30012 99.44115,-9.56012c-0.23,-2.54 0.72,-5.31 3.53,-5.69c3.11,-0.4 0.99,-5.41 4.88,-5.81c2.77,-2.02 6.49,-2.19 8.62,-5.18c1.76,-2.26 6.31,-1.64 5.78,-5.38c1.19,-1.77 3.1,-3.84 5.03,-4.85c1.04,-0.39 0.28,1.78 1.72,1.19c2.38,0.56 2.2,-4.36 5.22,-3.86c3.3,1.27 2.68,-2.92 4.96,-4.18c2.05,-0.94 3.81,-6.68 0.92,-6.59c-0.81,0.64 -1.63,1.27 -2.44,1.91l0,0.02z",name:"Tennessee"},ar:{path:"m509.47,335.31c1.73,4.9 1.5,10.02 1.53,15.12c2.15,12.21 1.13,24.64 1.47,36.97c0.02,3.71 0.04,7.42 0.06,11.13c2.06,3.2 5.05,-1.45 7.69,1.47c1.53,1.76 -0.88,7.54 2.97,6.49c17.61,-0.36 35.23,-0.72 52.84,-1.08c1.97,-2.6 0.41,-5.9 -1.28,-8.22c3.3,-1.61 -1.59,-3.96 0.84,-6.53c0.75,-2.77 0.62,-6.34 3.78,-7.69c-1.88,-3.07 2.08,-5.24 3.19,-7.88c3.77,-0.38 1.58,-3.3 2.64,-5.42c1.12,-2.67 2.56,-5.28 4.85,-6.58c1.2,-4.12 0.21,-2.67 -1.53,-5.61c-2.76,-3.32 1.95,-3.50023 2.36,-6.84c0.17988,-0.90552 3.08012,-6.46012 1.22,-6.75c-2.65,0.85 -5.34,-0.18 -8.02,-0.33c-0.09,-3.38 4.4,-3.88 4.22,-7.3c0.58,-3.87 -3.58,-3.68 -6.34,-3.26c-24.17,0.77 -48.34,1.54 -72.5,2.31l0.01,0z",name:"Arkansas"},mo:{path:"m490.44,245.63c-2.39,-0.46 -0.19,4.05 0.07,5.6 2.45,3.32 4.51,7.86 8.55,9.22 2.81,-0.24 3.61,2.67 2.79,4.84 -3.22,1.64 -1.72,5.03 0.19,7.07 0.9,2.55 4.61,3.05 4.89,5.61 2.1,12.97 1.12,26.14 1.51,39.22 0,5.72 0.08,11.44 0.72,17.13 24.99,-0.94 49.98,-1.8 74.97,-2.51 3.02,-1.12 4.35,1.72 5.31,3.98 0.52,3.48 -2.86,4.46 -4.14,6.86 2.37,0.64 5.57,0.65 8.21,-0.08 1.46,-3.59 1.87,-7.45 2.38,-11.22 0.84,-2.83 5.27,-2.89 4.61,-6.03 1.37,-2.94 0.14,-4.6 -2.22,-4.28 -2.15,-1.81 -2.84,-5.03 -2.86,-7.6 1.45,-2.84 -2.08,-5.07 -2.44,-7.89 -0.66,-3.24 -5.34,-0.87 -6.89,-3.66 -2.64,-2.34 -6.24,-3.94 -6.91,-7.76 -0.94,-3.21 1.52,-6.47 2.17,-9.64 2.2,-3.53 -1.34,-4.7 -4.33,-4.5 -2.66,0.39 -5.34,-1.15 -4.81,-4.1 0.86,-4.07 -4.71,-4.05 -6.43,-6.93 -2.7,-3.4 -6.72,-6.05 -7.25,-10.67 -1.1,-3.16 -2.12,-6.86 -0.62,-10.06 -2.3,-1.34 -2.28,-5.77 -5.37,-4.89 -20.69,0.77 -41.38,1.53 -62.06,2.3z",name:"Missouri"},ga:{path:"m672.78,356c-0.74,7.06 4.28,12.69 5.29,19.4 1.36,6.57 3.44,12.96 5.03,19.44 0.94,4.88 2.17,9.95 5.53,13.75 -0.85,3.5 3.37,3.17 2.59,6.44 -1.89,4.45 -3.57,9.65 -0.84,14.13 0.05,2.63 0.94,5.4 -0.38,7.88 2.95,0.94 1.45,4.01 3.07,6.01 1.35,2.67 3.68,4.75 6.83,4 12.35,-0.01 24.69,-1.31 37.03,-1.92 3.32,-0.58 6.67,-0.74 10.04,-0.59 -0.78,4.24 3.04,4.15 2.09,-0.09 -0.9,-2.14 -2.94,-6.23 0.59,-6.62 3.2,0.5 6.42,0.91 9.66,1.02 -0.84,-3.8 -0.8,-7.57 0.5,-11.27 0.2,-3.54 2.62,-6.73 2.21,-10.21 -0.72,-2.93 3.26,-5.26 2.85,-8.05 -2.19,1.37 -5.29,-0.71 -5.34,-3.19 -0.56,-3.12 -2.71,-5.83 -6.03,-6.06 -1.33,-3.9 -2.62,-8.17 -4.99,-11.43 -3.12,-1.07 -6.13,-2.99 -7.17,-6.29 -2.06,-2.33 -5.23,-3.21 -6.66,-6.16 -2.08,-2.2 -5.24,-2.83 -7.66,-4.19 -0.76,-2.53 -3.21,-4.09 -3.94,-6.67 -1.36,-2.63 -2.97,-4.65 -6.15,-3.77 -2.33,-1.57 -7.15,-3.38 -5.31,-6.97 2.02,-2.01 3.76,-4.11 -0.8,-3.11 -12.68,1.51 -25.37,3.01 -38.05,4.52z",name:"Georgia"},sc:{path:"m737.03,343.19c-4.26,0.4 -8.64,0.43 -12.24,3.07 -3.2,1.75 -6.48,3.19 -9.88,4.49 2.21,3.31 -4.28,2.74 -2.34,6.44 2.27,2.24 5.2,4.13 8.5,3.28 2.53,3.15 3.83,6.94 6.53,9.88 0.91,2.76 5.13,2.06 6.85,4.46 2.18,1.38 2.96,4.25 5.62,5.01 2.99,1.95 3.36,6.38 7.26,7.24 3.61,0.62 3.77,4.77 5.34,7.38 0.38,3.35 2.02,4.84 4.79,5.96 3.36,1.79 1.76,7.23 5.67,8.16 3.63,-1.38 5.8,-4.63 8.38,-7.34 -2.35,-3.93 0.29,-3.32 3.01,-4.44 1.95,-2.4 5.02,-3.3 6.25,-6.28 2.17,-2 3.86,-4.52 5.4,-6.9 2.81,-0.17 3.42,-3.58 4.92,-5.03 -0.28,-4.13 1.3,-7.89 3.12,-11.47 1.03,-2.11 7.03,-4.5 3.47,-6.34 -5.97,-5.35 -12.78,-9.5 -19.71,-13.47 -4.45,-2.68 -9.74,-0.07 -14.57,-0.06 -2.57,-0.23 -6.63,2.48 -7.32,-1.28 -1.66,-4.5 -6.93,-2.82 -10.63,-2.96 -2.8,0.07 -5.61,0.14 -8.41,0.21z",name:"South Carolina"},ky:{path:"m675,267.5c-2.76,-0.77 -6,1.11 -3.38,3.78 1.52,3.15 -3.12,4.12 -5.19,5.27 -2.94,0.53 -4.71,1.29 -4.3,4.82 -1.15,2.66 -5.3,3.24 -6.32,6.32 -2.16,1.4 0.74,6.22 -2.84,5.92 -3.06,0.61 -4.36,-2.79 -7.09,0.11 -2.26,0.51 -1.1,6.98 -3.85,3.1 -2.27,-2.54 -5.57,0.14 -6.16,2.81 -1.91,1.07 -3.4,-3.73 -6.02,-1.91 -3.32,0.61 -7.48,0.47 -9.92,2.91 0.08,2.65 -3.39,3.78 -1.7,6.05 2.34,2.66 -2.23,2.68 -3.86,3.3 -3.57,1.35 -0.68,4.35 -0.76,6.72 0.33,3.45 -3.76,1.44 -5.49,0.72 -2.5,-2.29 -6.26,-0.38 -7.13,2.53 2.86,2.28 -0.04,4.76 0.41,7.66 -3.47,2.04 -3.19,2.73 0.94,2.35 5.84,0.01 11.64,-0.95 17.5,-0.76 -0.7,-3.74 0.98,-4.99 4.56,-4.19 24.33,-3.01 48.82,-4.7 73.16,-7.43 4.3,-0.7 8.2,-2.38 11.75,-4.88 3.3,-0.8 4.04,-2.71 5.12,-5.35 3.46,-4.09 7.13,-8.06 10.79,-12 -3.27,-1.24 -3.03,-5.51 -6.21,-6.95 -2.6,-1.25 -2.07,-4.66 -5.16,-5.36 -2.38,-2.64 0.8,-7.28 -3.02,-8.87 -3.02,-0.01 -2.37,-4.65 -4.57,-3.51 -2.95,0.61 -3.67,4.78 -7.02,3.29 -2.69,-0.23 -5.51,-1.19 -7.82,0.71 -3,0.83 -3.99,-3.61 -7.44,-2.06 -3.51,0.82 -2.17,-5.19 -5.65,-5.26C677.17,266.43 676.21,267.17 675,267.5z",name:"Kentucky"},al:{path:"m628.53,359.63c-0.2,14.37 0.12,28.75 -0.54,43.12 -0.04,9.01 -0.88,18.1 -0.07,27.07 1.55,10 2.94,20.01 3.85,30.09 3.07,1.09 3.69,-1.92 4.4,-4.18 -0.3,-3.89 4.27,-3.02 4.89,-0.04 0.72,2.06 4.08,5.27 0.77,6.65 -0.15,0.92 6.17,-0.9 5.88,-2.89 -0.44,-3.01 0.64,-6.86 -2.87,-8.19 -2.29,-0.88 -3.03,-5.59 -0.32,-5.67 14.08,-1.86 28.21,-3.59 42.35,-4.8 2.7,1.07 6.76,-0.25 2.97,-2.5 -1.8,-2 0.95,-5.03 -0.27,-7.65 -0.31,-3.1 -2.63,-5.9 -1.31,-9.15 0.01,-2.92 2.49,-5.36 1.93,-8.3 -3.52,-0.45 -1.34,-5.11 -4.26,-6.7 -3.48,-5.82 -3.36,-13.04 -5.96,-19.21 -2.02,-8.09 -3.34,-16.41 -7.25,-23.88 -0.51,-2.39 -1.08,-4.85 -0.72,-7.31 -14.49,1.18 -28.98,2.35 -43.47,3.53z",name:"Alabama"},la:{path:"m521.09,407.28c0.1,7.53 -0.24,15.32 1.67,22.61 2.08,2.49 2.82,5.51 3.15,8.67 1.87,2.78 5.27,4.95 4.59,8.72 1.61,2.18 -0.21,5.69 0.08,8.38 0.42,2.64 -4.36,4.89 -2.01,7.12 1.07,2.26 -0.92,5.31 -0.53,7.95 0.38,3.22 -2.37,5.7 -1.55,8.93 5.18,-2.4 10.98,-0.86 16.47,-1.09 5.72,1.7 11.56,4.87 17.56,4.26 2.93,-2.25 5.94,0.36 8.98,0.93 1.08,-3.4 -4.22,-0.81 -5.8,-2.2 -1.91,-0.36 -2.89,-2.3 -1.17,-3.4 2.08,-1.1 4.08,-1.09 5.66,0.04 2.15,-1.39 5.6,-0.24 6.26,2.38 -0.33,3.62 3.42,1.7 5.28,3.15 3.83,1.5 -1.41,4.07 0.83,5.37 2.88,0.97 5.73,2.94 8.62,3.29 3.51,-0.05 2.81,-4.53 6.47,-4.17 1.83,-2.9 4.44,-0.25 4.39,2.31 1.53,1.64 4,-3.68 1.98,-3.66 0.22,-3.37 2.17,-3.21 4.31,-5.41 1.59,0.95 0.91,2.82 1.41,4.16 3.33,0.39 7.44,1.09 9.34,4.06 2.79,0.08 5.17,1.1 5.56,-2.56 -2.68,-0.27 -4.15,-3.88 -7.35,-3.19 -2.31,0.06 -6.3,-1.62 -6.15,-3.77 1.62,-3.62 2.23,-1.74 2.03,-4.38 2.88,1.09 5.69,-2.27 3.22,-4.47 0.46,-4.62 -3.73,-0.15 -3.34,2.19 -1.36,1.21 -6.35,-0.96 -4.6,-3.27 1.71,-1.84 4.2,-4.5 2.19,-6.95 -0.13,-3.26 -2.69,-5.21 -4.47,-7.38 0.52,-2.7 2.26,-7.35 -2.36,-5.46 -10.43,1.28 -20.97,0.69 -31.45,1.12 -1.61,-3.72 -0.02,-7.76 0.16,-11.59 2.66,-4.86 5.46,-9.65 8.25,-14.44 -2.04,-2.82 3.52,-4.45 -0.74,-6.48 -0.53,-2.15 -1.29,-4.65 -2.32,-6.83 -0.08,-3.1 0.9,-7.3 -3.62,-5.79 -17,0.28 -34,0.57 -51,0.85z",name:"Louisiana"},ms:{path:"m591.03,363.5c-1.45,1.74 -4.03,3.15 -4.63,6.03 -1.4,2.22 1.43,5.74 -2.69,6.07 -1.48,1.97 -4.77,4.42 -3.4,7.17 -1.36,1.83 -3.59,3.95 -3.48,7.01 -2.16,2.66 1.55,5.28 -0.27,7.12 -0.45,1.84 2.25,4.42 1.35,7.03 -1.92,2.71 -1.63,6.55 -0.61,9.53 1.6,2.4 0.78,5.54 3.73,6.94 -0.95,2.53 -1.41,3.75 -1.87,6.31 -2.55,4.96 -6.07,9.62 -7.89,14.84 0.01,2.98 -1.44,6.14 -0.14,8.97 11.4,-0.36 22.87,0.25 34.19,-1.5 2.75,2.21 -2.19,6.39 1.33,8.15 2.82,1.62 2.28,5.18 3.89,7.63 2.07,-1.86 2.51,-6.19 5.82,-4.07 3.21,-0.67 6.85,-3.02 9.89,-0.64 3.62,0.73 6.01,-0.27 4.42,-4.26 -0.81,-10.1 -2.99,-20.07 -3.84,-30.15 0.14,-21.99 1.48,-43.98 0.64,-65.97 -12.15,1.26 -24.29,2.52 -36.44,3.78z",name:"Mississippi"},ia:{path:"m476.25,181.16c-3.42,-0.05 -2.16,5.68 0.72,6.29 0.54,2.07 -0.75,5.06 -1.41,7.35 -2.13,2.82 -0.93,5.45 1.04,7.92 1.22,4.34 2.24,8.85 4.05,13.06 0.6,3.22 1.29,6.38 3.41,9 0.02,3.49 1.27,6.69 2.3,9.91 -0.04,3.54 0.03,7.05 2.08,10.09 22.2,-1.02 44.44,-1.75 66.66,-2.63 0.77,1.43 3.25,7.11 4.37,4.25 -0.96,-2.5 1.19,-4.52 3.57,-4.72 -0.88,-2.62 1.19,-4.59 2.5,-6.28 1.27,-2.92 -1.39,-4.02 -2.41,-6.31 0.69,-2.9 1.79,-5.3 5.13,-5.46 2.88,-0.83 6.57,-1.81 6.65,-5.41 1.76,-3.04 3.73,-8.01 -0.26,-10.18 -2.74,-1.06 -1.75,-5.27 -5.21,-5.14 -0.64,-1.97 -0.85,-4.76 -4.19,-4.21 -2.75,-0.8 -4.55,-3.47 -5.37,-6 -1.36,-2.89 2.01,-4.72 1.65,-7.28 -3.82,-0.4 -1.19,-6.5 -5.03,-5.47 -26.75,0.41 -53.5,0.81 -80.25,1.22z",name:"Iowa"},mn:{path:"m497.03,53.84c-0.69,2.52 0.93,7.42 -1.31,8.34 -9.65,-0.01 -19.29,-0.02 -28.94,-0.03 1.16,2.87 2.18,5.76 0.97,8.81 0.05,5.74 -0.79,11.86 2.51,16.95 2.04,3.78 0.64,8.47 1.5,12.6 0.82,6.84 1.76,13.67 3.55,20.32 0.05,3.83 0.88,7.8 0.03,11.53 -1.57,1.74 -4.91,3.29 -2.22,5.78 1.89,1.83 5.05,2.94 4.58,6.1 0.28,11.9 0.25,23.83 0.42,35.75 26.72,-0.38 53.44,-0.75 80.16,-1.13 -0.15,-3.62 -0.46,-7.93 -4.36,-9.47 -3.02,-1.66 -6.24,-3.1 -7.63,-6.5 -0.72,-3.61 -5.32,-1.16 -6.05,-4.61 -1.56,-2.09 -5.29,-0.37 -6.57,-3.78 -1.66,-2.1 -0.52,-5.5 -1.1,-8.1 -1.34,-2.93 1.65,-4.99 1.47,-7.54 -0.2,-3.22 -5.36,-3.85 -2.24,-7.43 0.41,-4.47 5.39,-5.33 7.61,-8.59 0.24,-3.87 -0.73,-8.14 0.52,-11.77 1.76,-3.14 5.17,-5.1 8.28,-6.26 1.92,-2.08 3.66,-4.57 6.13,-5.81 2.54,-4.97 6.04,-9.99 11.81,-11.4 4.55,-1.98 9.12,-3.92 13.6,-6.04 0.73,-3.15 -3.7,-0.18 -5.06,0.03 -0.82,-3.87 -4.2,-3.09 -7.28,-2.87 -2.25,-0.87 -5.34,2.83 -6,-0.66 -1.13,-3.5 -4.51,0.72 -5.88,2.13 -2.33,1.63 -6.22,1.16 -8.06,-0.56 0.94,-3.05 -4.61,-0.39 -4.53,-3.96 -0.16,-2.3 -3.48,1.3 -5.77,-1.2 -3.04,-0.91 -5.5,-3.22 -8.29,-4.38 -2.49,0.4 -5.86,-2.38 -6.7,1.5 -1.17,0.79 -7.15,1.83 -5.93,-1.54 -2.99,0.03 -6.03,-0.05 -7.53,-1.75 -2.6,0.59 -5.72,-0.41 -5.9,-3.43 -0.88,-3.28 -1.44,-6.61 -1.88,-9.98 -1.23,-0.6 -2.54,-1.02 -3.91,-1.06z",name:"Minnesota"},ok:{path:"m363.31,330.03c17.51,1.12 35.04,1.73 52.56,2.47 -1.37,13.62 -2.89,27.23 -2.83,40.93 -0.92,3.93 3.48,5.78 6.14,7.66 0.56,-5.56 2.96,1.46 4.25,-1.31 0.93,-1.5 5.57,1.68 3.39,4.42 1.59,0.66 4.76,0.51 6.73,1.82 2.79,-0.99 5.16,3.32 7.03,1.26 1.82,-1.93 5.59,-0.31 6.5,2.02 2.44,0.79 1.71,5.84 4.76,3.05 1.39,-1.65 6.25,-1.17 6.69,1.21 1.28,1.5 5.69,3.72 7.39,1.92 0.33,-2.75 3.38,-5.95 4.59,-1.83 3.59,0.38 6.96,2 10.46,3 2.28,-1.86 2.44,-4.68 6.53,-3.41 2.53,1.92 3.8,-1.41 6.31,-1.16 0.85,2.42 5.2,2.41 6.19,-0.5 3.2,-0.2 3.66,3.71 6.55,4.35 1.86,0.4 6.31,3.63 5.36,0.18 -0.32,-12.27 0.1,-24.59 -0.7,-36.82 -1.15,-6.03 -1.01,-12.18 -1.43,-18.25 -1.32,-5.29 -2.05,-10.73 -2.07,-16.18 -20.01,0.66 -40.04,-0.04 -60.06,-0.22 -27.85,-1.32 -55.73,-2.3 -83.53,-4.56 -0.27,3.31 -0.54,6.63 -0.81,9.94z",name:"Oklahoma"},tx:{path:"m359.47,330.97c2.34,-0.11 -0.86,-1.81 0,0z m0.72,18.31c-1.64,20.84 -2.52,41.75 -4.68,62.55 -0.51,4.33 -0.99,8.66 -1.51,12.98 -17.84,-0.87 -35.67,-1.93 -53.42,-3.89 -4.16,-0.41 -8.32,-0.76 -12.48,-1.11 -0.67,3.74 2.27,3.68 4.04,6.12 2.26,1.83 1.13,6.03 4.65,6.5 3.52,0.48 2.9,4.6 5.45,6.34 3.38,3.15 5.5,7.91 10.27,9.06 1.91,1.27 4,3.22 4.53,5.46 0.69,3.96 4.53,7.02 3.47,11.33 -0.88,5.15 2.22,9.63 5.93,12.88 2.18,2.95 5.14,4.76 8.63,5.78 1.88,1.95 3.01,3.88 5.72,4.88 2.59,0.18 5.38,4.34 7.35,1.18 2.59,-3.14 5.48,-6.41 6.05,-10.55 1.26,-2.82 3.58,-4.32 6.5,-5.06 2.72,-1.59 5.32,-2.13 7.47,0.62 4.91,0.57 10.2,0.53 14.79,2.22 2.83,1.43 2.56,4.53 5.17,6.33 1.73,2.05 4.83,3.37 5.81,5.82 1.37,2.07 2.66,4.26 2.69,7.03 1.62,4.34 4.17,8.51 5.31,12.94 -0.24,2.77 4.65,2.49 4.95,5.51 2.24,4.08 4.37,9.17 9.21,10.49 3.28,2 0.03,5.04 0.91,7.5 3.28,0.87 -0.01,4.68 0.94,6.67 2.53,1.36 4.37,3.2 4.22,6.44 0.39,3.34 2.13,6.83 5.69,7.54 3.01,1.93 6.69,2.13 9.87,3.4 2.28,1.79 5.15,4.09 8.16,2.83 3.46,0.46 6.77,1.29 9.37,3.75 1.43,2.54 6.51,-0.91 4.31,-2.89 -2.04,-3.39 -1.3,-7.79 -2.83,-11.46 -0.63,-3.07 -2.39,-5.95 -0.99,-9.1 1.17,-4.9 2.87,-9.76 4.04,-14.71 -3.37,-1.01 -2.07,-5.47 1.21,-4.71 3.99,0.42 3.65,-6.43 7.81,-6.05 5.25,-1.56 9.07,-6 14.16,-8.05 6.91,-2.81 13.62,-6.46 18.72,-12.05 2.58,-2.98 7.09,-3.95 8.69,-7.75 5,-2.22 9.8,-4.93 15.22,-6 -0.97,-2.64 0.52,-4.86 1.32,-7.22 0.39,-2.99 0.19,-6.07 1.18,-8.94 -3.15,-2.27 0.38,-4.91 1.38,-7.41 -0.2,-2.8 1.42,-6.25 0.09,-8.66 0.3,-2.93 -1.49,-5.14 -3.35,-7.29 -2.46,-2.64 -1.11,-6.91 -3.87,-9.52 -2.53,-4.57 -1.59,-10.19 -2.25,-15.22 0.02,-5 0.19,-10 -0.5,-14.97 -2.63,-2.31 -5.52,2.33 -7.52,-1.37 -3.1,-2.07 -7.66,-2.1 -9.73,-5.68 -2.31,-2.48 -3.82,2.84 -7.18,0.96 -1.91,-2.73 -3.59,0.03 -5.98,0.18 -2.27,-1.15 -6.07,-1.48 -6.09,1.76 -2.76,2.37 -5.95,-0.93 -8.94,-1.28 -3,1.38 -5.23,-3.83 -6.3,-1.87 -0.15,2.66 -2.52,5.1 -5.13,3.34 -3.23,-0.15 -4.91,-2.49 -6.57,-3.89 -2.95,-1.74 -4.3,2.32 -6.94,0.88 -1.48,-1.39 -1.87,-3.6 -3.92,-5.65 -3.06,-2.83 -5.03,3.17 -7.13,0.23 -2.05,-2.11 -5.57,-0.83 -7.94,-2.69 -3.56,0.59 -5.54,-0.24 -4.13,-4.11 -1.89,-1.85 -2.28,1.21 -4.77,-0.14 -0.59,-0.41 -3.45,1.78 -5,-1.11 -1.9,-1.9 -5.13,-3.22 -4.18,-6.45 0.03,-10.58 0.25,-21.15 1.66,-31.65 0.3,-2.99 0.6,-5.98 0.89,-8.98 -17.65,-0.63 -35.3,-1.27 -52.94,-2.22 -0.52,6.07 -1.04,12.15 -1.56,18.22z M466.53,518.63c-5.2,7.17 2.93,-3.27 0,0z",name:"Texas"},nm:{path:"m242.72,428.78c4.82,0.63 9.65,1.25 14.47,1.88 0.43,-3.33 0.85,-6.67 1.28,-10 9.7,0.89 19.4,1.86 29.09,2.78 -0.9,-3.14 -1.39,-5.98 2.84,-4.5 18.29,1.28 36.48,3.79 54.81,4.49 2.45,-0.6 7.66,2.13 7.99,-1.01 3.06,-22.93 3.75,-46.09 5.59,-69.14 0.54,-7.79 1.39,-15.56 2.02,-23.34 3.21,0.65 1.17,-4.81 2.07,-6.86 1.79,-4.38 -2.87,-3.37 -5.73,-3.85 -32.35,-3.3 -64.71,-6.59 -97.06,-9.89 -5.79,39.81 -11.58,79.63 -17.38,119.44z",name:"New Mexico"},ks:{path:"m380.53,320.34c25.06,1.17 50.11,2.71 75.19,3.35 17.22,0.07 34.44,0.63 51.66,0.18 -0.25,-12.69 0.23,-25.42 -0.47,-38.08 -0.61,-2.83 -0.17,-6.27 -1.38,-8.74 -3.04,-2.03 -6.02,-5.19 -6.68,-8.77 -0.43,-2.51 4.3,-4.59 1.29,-6.64 -3.02,0.54 -4.05,-3.34 -7.17,-2.43 -36.21,-0.82 -72.43,-1.33 -108.63,-2.5 -1.27,21.21 -2.54,42.42 -3.81,63.63z",name:"Kansas"},ne:{path:"m353.38,230.59c10.76,0.96 21.27,2.72 32.03,3.66 -0.37,7.11 -0.71,14.23 -1.06,21.34 36.49,1.29 73,1.84 109.5,2.56 -0.31,-1.17 -3.13,-4.05 -4.03,-6.15 -1.99,-2.11 -0.36,-5.13 -2.45,-7.34 -2.42,-3.19 -1.66,-7.14 -2.2,-10.79 -1.66,-2.86 -1.45,-6.25 -2.29,-9.26 -2.94,-2.85 -2.34,-7.01 -3.95,-10.49 -1.13,-3.1 -2.18,-6.19 -2.62,-9.47 -3.51,1.32 -2.89,-3.07 -4.85,-4.29 -2.4,-1.68 -5.57,-1.85 -7.72,-3.93 -3.79,0.07 -7.65,1.04 -11.13,1.94 -2.52,-2.2 -6.03,-3.13 -7.91,-6.06 -13.61,0.96 -27.23,-0.49 -40.83,-1.11 -15.5,-1.05 -31.02,-1.79 -46.51,-2.86 -1.67,14.08 -2.83,28.17 -4,42.25z",name:"Nebraska"},sd:{path:"m357.44,187.41c25.68,1.58 51.37,3.15 77.06,4.26 3.58,-0.01 7.34,-0.51 10.81,-0.23 1.8,2.9 5.24,3.85 7.69,6 3.55,-1.45 7.52,-1.89 11.25,-1.91 2.45,2.67 7.26,2.29 9.15,5.33 1.32,4.76 3.27,1.86 0.18,-1.15 -1.53,-2.17 1.46,-4.6 1.56,-6.99 1.2,-2.87 1.38,-5.28 -1.58,-6.75 -0.5,-2.04 -0.73,-6.65 2.41,-5.84 2.62,-0.28 0.39,-5.28 1.06,-7.5 -0.32,-9.7 0.19,-19.47 -0.64,-29.13 -0.24,-3.58 -6.26,-4.19 -5.42,-8.4 1.09,-1.22 5.81,-4.38 2.75,-5.4 -27.23,-0.89 -54.5,-1.01 -81.67,-3.15 -9.79,-0.62 -19.57,-1.24 -29.36,-1.86 -1.75,20.91 -3.5,41.81 -5.25,62.72z",name:"South Dakota"},nd:{path:"m362.88,123.72c26.46,1.49 52.89,3.7 79.4,3.91 10.84,0.26 21.67,0.52 32.51,0.78 0.01,-5.53 -1.38,-10.82 -2.5,-16.17 -1.27,-7.42 -2.05,-14.89 -2.13,-22.42 -2.61,-4.16 -4.11,-9 -3.48,-13.94 -0.44,-3.25 0.67,-6.57 0.3,-9.7 -0.15,-4.01 -2.83,-4.61 -6.31,-4.12 -25.15,-0.47 -50.33,-1.05 -75.41,-3.06 -5.17,-0.49 -10.33,-0.98 -15.5,-1.47 -2.29,22.06 -4.58,44.13 -6.88,66.19z",name:"North Dakota"},wy:{path:"m240.16,217.84c37.4,4.49 74.29,8.23 111.69,12.72 2.5,-29.2 5.5,-57.65 8,-86.84 -35.26,-4.45 -70.52,-8.9 -105.78,-13.34 -4.64,29.16 -9.27,58.31 -13.91,87.47z",name:"Wyoming"},mt:{path:"m192.59,52.19c0.84,2.76 3.25,5.4 3.2,8.23 -1.5,2.79 -1,5.49 0.52,8.15 3.4,0.39 4.18,3.44 5.26,6.16 1.43,3.34 2.55,6.88 5.37,9.34 0.88,2.21 5.27,1.18 4.34,4.72 -2.23,6.21 -5.45,12.23 -7.06,18.56 0.02,3.34 3.4,5.25 5.73,2.22 1.61,-2.43 5.63,-3.04 4.69,0.97 -0.5,5.3 1.81,10.35 2.59,15.53 1.9,2 5.27,3.44 5.68,6.31 -0.71,1.91 -0.39,8.78 2.32,5.14 1.85,-1.89 4.93,-0.29 6.85,0.86 3.28,-1.63 7.26,-1.21 10.34,0.69 3.69,0.41 1.52,-5 5.95,-4.08 2.71,-0.42 2.01,6.69 3.21,4.1 0.56,-3.26 1.09,-6.54 1.68,-9.8 35.57,4.49 71.15,8.96 106.72,13.44 2.9,-28.44 5.79,-56.88 8.69,-85.31 -28.84,-2.29 -57.55,-5.91 -86.19,-9.99 -26.71,-4.12 -53.36,-8.71 -79.73,-14.68 -3.05,-0.61 -6.99,-2.59 -6.53,2.19 -1.21,5.75 -2.42,11.51 -3.62,17.26z",name:"Montana"},co:{path:"m260.17,308.53c39.89,4.09 79.51,8.26 119.39,11.91 1.61,-28.46 3.23,-56.92 4.84,-85.38 -37.47,-4.17 -74.94,-8.33 -112.41,-12.5 -4.03,28.98 -7.8,56.99 -11.83,85.97z",name:"Colorado"},id:{path:"m169.84,91.72c0.52,3.07 2.27,5.25 4.94,6.78 0.4,3.02 -0.61,5.46 -3.03,7.31 -2.3,2.7 -4.38,5.97 -6.09,8.83 0.39,2.93 -2.57,3.54 -4.23,4.8 -1.77,2.31 -4.28,4.3 -3.93,7.5 -0.64,2.43 4.69,0.57 4.09,4.34 -5.19,11.17 -6.78,23.51 -10.13,35.32 -0.79,3.16 -1.22,4.91 -2.01,8.08 56.92,12.84 62.26,13.45 93.58,19.41 2.75,-17.6 5.5,-35.21 8.25,-52.81 -2.66,-0.84 -0.58,-6.52 -4.23,-4.97 -1.24,1.7 -1.62,4.95 -5.17,3.47 -3.11,-1.99 -6.81,-1.34 -10.13,-0.56 -2.53,-1.76 -5.91,-2.01 -7.69,0.88 -1.75,-0.05 -3.29,-3.39 -2.79,-5.36 1.91,-3.98 -2.85,-5.89 -5.05,-8.27 -0.98,-5.88 -3.48,-11.64 -2.5,-17.69 -1.86,-0.01 -4.25,2.69 -6.47,3.63 -2.21,0.18 -4.52,-3.09 -4.1,-5.31 1.19,-5.37 4.07,-10.37 5.88,-15.6 1.95,-2.64 1.12,-5.57 -2.41,-5.62 -1.55,-3.37 -4.92,-5.66 -5.61,-9.53 -1.31,-2.63 -1.42,-6.47 -5.06,-6.76 -0.99,-1.85 -3.18,-4.47 -1.91,-6.73 2.09,-2.98 -0.34,-5.7 -1.53,-8.5 -2.13,-3.05 0.55,-6.68 0.67,-10.01 0.9,-4.35 1.8,-8.69 2.69,-13.04 -4.18,-0.78 -8.35,-1.56 -12.53,-2.34 -4.5,20.92 -9,41.83 -13.5,62.75z",name:"Idaho"},ut:{path:"m176.34,297.78c27.57,3.92 55.15,7.83 82.72,11.75 4.04,-29.08 8.08,-58.17 12.13,-87.25 -10.83,-1.14 -21.65,-2.33 -32.47,-3.59 1.43,-7.93 2.82,-15.85 3.84,-23.84 -15.27,-2.85 -30.54,-5.71 -45.81,-8.56 -6.8,37.17 -13.6,74.33 -20.41,111.5z",name:"Utah"},az:{path:"m173.19,314.66c-2.49,-0.06 -3.05,4.43 -6.38,2.94 -0.74,-2.87 -3.59,-2.82 -5.59,-4.22 -3.74,0.74 -2.37,4.58 -2.68,7.41 -0.52,5.04 -0.42,10.21 -0.89,15.22 -2.19,2.33 -2.44,5.78 -0.24,8.19 2.32,2.62 0.58,7.52 4.09,9.09 0.98,3.59 -2.89,4.83 -5.41,6.09 -3.29,2.46 -3.28,6.86 -3.88,10.47 -1.25,2.44 -4.81,2.39 -4.92,4.97 0.47,2.18 6.18,0.38 3.42,4.54 -0.65,2.75 -3.14,3.45 -5.62,3.78 -3.6,1.45 -2.69,4.7 0.77,5.44 14.69,7.84 28.52,17.13 43.01,25.32 5.79,3.19 11.27,7.21 17.27,9.88 11.71,2.83 23.75,3.45 35.68,4.87 5.71,-39.38 11.42,-78.75 17.13,-118.13 -27.58,-3.93 -55.17,-7.85 -82.75,-11.78 -1,5.31 -2,10.63 -3,15.94z",name:"Arizona"},nv:{path:"m84.84,232.41c22.96,34.61 45.92,69.23 68.88,103.84 3.66,2.65 3.19,-3.47 3.27,-5.71 0.37,-5.43 0.36,-11.24 1.08,-16.44 2.05,-2.03 4.26,-2 6.08,-0.39 2.62,-0.16 3.86,5.9 6.03,1.27 2.74,-0.82 2.66,-3.64 3.13,-6.41 7.5,-40.87 15,-81.75 22.51,-122.62 -30.72,-6.81 -61.44,-13.63 -92.16,-20.44 -6.27,22.3 -12.54,44.6 -18.81,66.91z",name:"Nevada"},or:{path:"M67.16,62.81C64.24,70.42 62.73,78.57 58.5,85.63c-2.86,8.53 -5.96,16.93 -10.17,24.89 -3.06,6.61 -8,12.31 -11.32,18.7 -1.03,6.5 -0.64,13.05 -0.36,19.6 37.23,8.7 74.46,16.69 111.69,25.39 3.45,-13.15 6.51,-25.75 10.19,-38.81 1.2,-2.48 3.15,-6.06 -1.1,-5.42 -2.58,-1.78 -0.23,-4.45 -0.38,-6.91 2.3,-2.82 4.36,-5.82 7.47,-7.75 1.75,-5.08 5.43,-9.19 9.03,-13.06 1.66,-3.48 -2.46,-3.92 -3.39,-6.47 -0.25,-3.79 -3.56,-4.26 -6.62,-4.99 -7.63,-2.2 -15.38,-4.2 -23.21,-5.54 -4.9,0.03 -9.79,0.06 -14.69,0.09 -0.95,-2.84 -4.67,1.86 -7.11,0.5 -2.61,0.82 -4.42,-2.63 -6.57,-1.28 -2.61,-0.06 -5.23,0.11 -7.15,-1.87 -3.09,-1.53 -6.33,-1.81 -9.5,-3.1 -1.87,3.03 -5.69,1.22 -8.53,1.31 -1.65,-1.64 -5.79,-3.02 -6.03,-4.81 1.1,-2.44 0.78,-5.93 0.53,-8.59 -0.42,-3.92 -4.72,-2.63 -6.25,-4.49C74.59,58.67 69.45,62.45 67.16,62.81z",name:"Oregon"},wa:{path:"m101.38,8.72c0.05,2.75 2.93,5.39 3.25,8.16 -1.92,2.33 -1.78,5.19 -1.32,7.71 -1.81,2.64 1.63,4.82 0.67,7.42 -3.6,1.52 -2.43,-3.7 -4.86,-4.99 -3.34,-2.24 1.47,-3.87 1.17,-5.42 -2.5,-1.11 -2.24,3.88 -3.69,4.17C92.33,26.39 88.86,23.04 84.76,22.57 79.82,20.66 75.28,17.69 72.25,13.25c-3.13,-0.98 -1.96,4.97 -3.25,6.95 -0.63,2.8 2.59,5.06 1.41,8.21 0.52,3.86 -1.29,7.55 0.18,11.29 -1.06,2.88 4.75,5.54 2.94,6.39 -3.45,-1.05 -6.2,3.2 -2.25,4.34 1.57,0.97 -0.61,6.32 -3.3,5.43 -1.83,2.15 1.28,6.86 4.14,4.17 3.77,-1.55 2.75,3.51 5.83,3.13 2.81,-0.24 4.26,3.31 4.54,5.61 0.04,2.48 -0.15,6.02 -0.26,7.78 2.63,1.76 5.01,4.26 8.46,3.62 3.2,0.66 4.7,-3.26 7.97,-0.5 3.01,0.48 6.37,1.55 8.79,3.66 3.03,0.92 6.02,-1.78 8.19,1.05 3.44,1.3 6.67,0.03 9.84,-1.4 0.99,1.78 4.42,1.32 7,1.3 5.35,-0.19 10.68,-0.16 15.82,1.55 6.99,1.44 13.78,3.45 20.65,5.4 4.47,-20.85 8.94,-41.71 13.41,-62.56 -19.81,-3.93 -39.37,-9.21 -58.73,-14.66 -7.27,-1.53 -14.4,-3.52 -21.46,-5.87L101.75,8.45 101.38,8.72z M95.5,15.16C94.05,13.72 92.15,14.26 94.72,17.63 94.39,13.84 99.19,18.11 98.98,14.18 98.24,12.75 96.05,14.08 95.5,15.16z m2.31,1.91c-3.13,3.04 1.36,2.18 0.16,-0.25l-0.16,0.25z",name:"Washington"},ca:{path:"m35.06,153.94c-0.1,4.04 0.4,8.21 -1.99,11.75 -1.86,3.68 -2.55,8.24 -6.48,10.38 -1.19,2.11 -3.49,3.38 -3.59,6.45 -1.94,3.49 2.49,5.65 2.91,8.98 1.54,3.39 2.34,6.94 1.63,10.65 0,2.92 -2.79,5.01 -2.24,8.14 0.05,2.97 -2.24,5.87 0.04,8.54 2.58,5 6.38,9.93 6.71,15.69 -0.54,2.77 -0.99,5.37 1.81,7.17 1.6,1.95 4.49,3.66 2.79,6.46 -1.73,3.87 -1.14,8.04 -1.09,12.16 1.68,2.67 2.83,6.76 6.66,6.53 1.48,2.33 0.97,4.84 -0.22,7.13 -2.5,1.53 -4.36,2.73 -3.66,6.08 0.27,3.49 4.27,5.34 4.36,9.01 1.46,6.2 4.13,11.92 7.59,17.25 0.71,2.57 2.16,4.34 2.9,6.41 -0.24,3.33 -1.93,6.49 -2.41,9.87 -1.66,2.61 1.19,5.52 3.99,5.12 4.03,0.15 7.27,3.31 11.01,4.04 3,-0.55 4.74,2.9 6.07,5.11 1.54,2.71 2.37,6 5.76,6.88 2.51,1.14 6.19,0.05 7.17,3.45 2.41,2.72 -2.39,5.05 1.41,5.17 2.73,1.87 5.56,-1.74 7.56,-0.74 2.13,2.06 4.05,4.2 4.93,7.05 4.3,4.9 1.44,11.77 2.79,17.52 14.73,1.94 29.44,4.72 44.27,5.38 2.78,1.19 6.19,-4.43 2.84,-4.65 -3.13,0.64 -2.83,-4.02 -1.36,-4.66 3.15,-0.88 4.92,-3.83 4.65,-7.04 0.47,-3.98 3.27,-7.43 7.22,-8.4 3.43,-2.04 -0.33,-3.58 -0.79,-5.79 -0.23,-3.65 -1.95,-6.81 -3.62,-9.89 2.02,-3.66 -2.22,-3.32 -3.16,-6.24 -22.6,-34.1 -45.2,-68.19 -67.81,-102.29 6.27,-22.44 12.54,-44.88 18.81,-67.31 -22.04,-5.16 -44.08,-10.31 -66.13,-15.47 -0.45,1.38 -0.9,2.75 -1.34,4.13z m24.13,184.72c-0.27,3.05 7.99,3.06 4.7,2.07 -1.63,-0.35 -3.17,-2.46 -4.7,-2.07z m-5.16,0.38c0.33,3.71 5.81,0.51 1.31,-0.04 -0.44,0.01 -0.88,0.02 -1.31,0.04z M79.69,357.5c-0.2,1.58 4.42,6 3.16,2.37C82.22,358.91 80.8,357.6 79.69,357.5z M77.75,369.13c-0.14,1.55 3.2,3.89 1.32,1.26C78.6,369.72 77.39,366.55 77.75,369.13z",name:"California"}}}),jQuery.fn.vectorMap("addMap","canada_en",{width:900,height:867,paths:{nt:{path:"M340.29,126.02l5.05,-2.26l2.76,0.43l6.5,-3.85l1.23,0.01l1.54,2.19l-1.93,8.62l-1.55,0.59l-2.09,-1.15l-1.22,-2.29l-1.32,0.13l-1.22,2.29l-1.34,-0.24l-0.23,-1.68l-1.46,-1.53l-5.45,1.33l0.72,-2.6ZM104.26,307.63l1.14,-2.98l2.22,-1.67l0.46,-2.51l1.2,-1.51l0.23,-5.06l11.84,-21.11l2.68,2.63l1.46,3.15l0.02,1.76l1.66,1.45l0.66,-0.55l-0.71,-3.84l1.06,0.36l0.07,-0.5l-1.28,-1.24l0.06,-1.25l-1.9,-1.48l0.63,-1.34l1.23,1.78l2.06,-0.46l-1.27,-0.67l-0.73,-2.09l0.91,-2.19l0.82,3.04l1.3,1.4l0.43,-0.74l-0.92,-1.52l0.01,-3.23l0.65,0.02l-0.28,2.19l0.82,0.07l0.59,-1.89l1.87,2.93l1.38,-3.7l2.79,0.44l2.46,2.3l2.79,-4.02l0.7,0.3l-1.1,1.42l0.39,1.34l1.9,1.72l-5.05,2.62l-1.93,2.48l0.9,0.19l1.58,-1.41l2.1,0.22l0.77,-0.72l1.24,0.52l0.71,-0.84l2.64,1.36l1.41,-0.07l3.43,-3.67l2.02,1.7l1.31,0.19l0.94,-0.92l0.78,0.94l6.93,-1.77l0.6,-0.85l0.51,0.79l-0.7,1.79l0.73,0.45l3.57,-3.06l0.03,-0.74l1.1,-0.2l0.29,0.66l1.32,-0.75l0.33,0.91l1.18,-0.31l-0.37,1.09l0.63,0.83l2.24,0.79l2.99,-2.39l-0.43,1.39l0.64,0.69l-0.11,1.21l-1.7,1.0l-6.12,0.53l-2.08,0.64l-1.02,1.21l-1.62,-0.04l-1.6,1.4l-0.25,-1.61l-7.41,-1.01l-2.29,1.84l-0.29,1.06l-5.21,-0.23l-2.66,2.77l-2.4,-0.18l-1.66,2.32l-1.61,-0.49l-0.96,1.13l0.3,2.7l2.2,2.47l0.77,-0.45l-1.27,-1.27l0.38,-0.94l1.27,0.68l0.62,-0.79l0.4,1.43l1.02,-0.16l0.99,1.02l1.61,-0.85l-0.45,-2.08l-1.52,0.19l-0.35,-0.72l1.13,0.16l-0.6,-1.73l0.72,-1.38l2.28,-0.02l0.45,0.71l1.46,-0.81l0.65,0.9l1.17,-1.23l3.27,-0.61l2.33,-2.31l0.67,0.77l-1.51,2.02l0.81,0.22l-0.39,0.95l2.46,-0.58l-0.25,0.99l0.88,0.61l-1.83,2.69l0.65,1.0l1.64,-2.72l7.95,-6.03l5.85,-0.13l2.58,0.65l-1.07,2.79l1.9,1.33l0.27,-1.09l1.24,0.05l5.15,-2.51l1.22,-3.31l1.85,-0.43l4.45,1.02l0.03,-1.32l-2.64,-2.29l1.71,-1.52l-1.85,-0.45l2.47,-2.88l2.54,8.59l-0.04,6.34l-1.07,5.48l2.25,8.32l2.66,3.34l0.85,0.12l0.65,-1.18l1.59,0.69l1.22,-1.47l-0.6,-2.09l0.72,-1.04l-0.89,-1.36l0.56,-0.7l2.36,-0.05l-0.33,1.7l0.79,0.38l1.3,-1.37l-1.55,-1.87l2.51,-2.33l2.01,0.05l0.56,-0.74l0.16,1.45l-2.13,4.05l1.06,1.48l1.87,0.23l-5.37,4.32l0.04,1.48l0.86,0.84l2.07,1.0l0.85,-0.51l1.93,1.27l2.46,-0.33l0.26,-1.48l2.2,0.12l2.25,-5.23l1.23,-0.68l0.86,1.2l5.42,1.52l3.72,2.51l3.56,5.74l-10.78,31.17l22.92,34.62l25.67,33.56l14.94,3.76l6.82,13.72l4.14,3.52l30.8,11.84l26.18,8.96l-10.81,81.09l-51.46,-8.44l-52.41,-11.91l-51.58,-15.14l-28.53,-9.89l-18.38,-7.37l0.81,-1.02l-0.28,-4.88l0.73,-2.33l-1.59,-1.36l-0.37,-3.96l1.97,-1.43l0.22,-3.73l-2.24,-1.11l-1.52,1.67l-2.45,-0.87l-2.02,0.56l-3.8,-3.91l-1.79,1.13l-0.57,-1.54l-1.06,-0.17l-0.9,1.18l-1.62,-1.42l-1.87,0.55l-1.28,-0.91l1.63,-5.05l-1.3,-0.87l1.67,-1.65l0.93,-5.74l-1.07,-1.73l-2.01,-0.66l-1.39,-2.65l-0.78,-2.0l0.37,-3.13l-1.1,-0.69l0.04,-3.67l-0.79,-2.47l-1.51,-0.56l-1.12,0.7l-0.11,-1.18l-2.66,-2.01l0.84,-0.58l0.0,-2.28l1.23,-0.98l-0.39,-0.69l1.61,-0.78l-1.63,-3.36l-0.09,-5.67l3.01,-3.13l-1.57,-1.35l0.26,-2.13l-1.16,-2.28l2.31,-0.46l1.88,-1.83l-0.37,-5.19l-1.66,-0.64l1.9,-0.06l0.56,-1.03l-3.49,-5.55l0.5,-1.17l-0.74,-2.15l0.94,-0.65l0.04,-5.58l-1.89,-2.03l-1.63,0.89l-1.84,-0.85l2.06,-1.84l-1.29,-2.3l-0.01,-2.24l-3.17,-4.16l1.39,-0.32l0.62,-1.63l2.04,-0.76l0.1,-1.36l-1.06,-0.79l0.64,-1.59l-1.0,-0.97l4.88,-2.33l2.73,-2.47l0.15,-4.09l-0.81,-1.96l2.85,-1.34l-1.48,-2.56l-3.29,1.1l0.87,-1.33l-0.22,-1.05l-1.96,-0.69l-2.27,0.42l-1.07,-0.82l0.77,-1.25l-0.44,-0.84l1.7,-0.85l1.09,-2.06l-0.16,-1.35l-1.16,-0.51l1.43,-1.81l0.91,0.37l0.45,-1.72l1.25,-0.83l-0.23,-3.6l1.22,-1.26l-0.87,-3.87l1.56,0.55l0.52,-0.89l-16.25,-8.78ZM207.0,476.23l1.61,4.53l5.87,2.48l0.59,1.9l3.69,3.15l6.27,1.74l4.69,-0.33l1.76,0.73l3.76,-0.8l1.5,1.2l2.72,0.02l2.0,-1.62l0.22,-3.53l2.03,-1.3l2.31,-0.97l1.96,0.23l0.3,1.85l3.53,-0.52l4.71,-1.97l4.89,-4.5l1.91,-0.5l1.98,-1.93l0.04,-1.86l5.21,-3.43l2.82,0.57l0.14,1.03l3.68,0.38l0.65,-0.92l-0.61,-0.65l4.19,-1.04l2.39,-2.13l-0.22,-0.59l-6.06,-1.61l0.35,-0.51l4.93,1.66l0.78,-0.54l-0.9,-0.6l0.42,-0.41l3.57,2.25l-0.52,2.9l3.49,-1.45l1.55,-2.02l-1.55,-1.61l-3.5,-1.36l-3.53,-2.56l-7.39,-0.99l-4.47,1.2l-2.92,1.65l-3.83,5.35l-7.36,4.08l-3.92,-0.15l-0.72,-0.81l-3.17,0.75l-0.99,-1.17l-1.12,0.24l0.13,-0.86l-1.31,-0.93l0.09,-1.38l-3.31,-4.19l0.1,-1.79l-3.43,0.11l-1.7,-2.68l-1.93,-1.37l-0.76,-2.21l-3.15,-2.05l0.15,-0.71l-2.21,-2.46l-1.51,1.96l1.37,2.32l0.46,2.86l3.58,0.85l-1.8,4.28l2.21,1.78l-0.28,1.92l2.36,3.96l-1.1,1.6l-3.31,0.37l-0.87,-1.09l-3.3,-0.31l-3.32,3.82l-0.15,1.58l-1.73,-0.41l-1.46,0.69l1.28,2.16l-1.78,0.66l-0.95,-1.34l-4.58,-2.58l-0.94,0.43l0.03,1.56l-2.72,0.61l-3.89,-4.33l-1.36,-0.2l1.36,1.82ZM179.03,366.19l1.23,1.14l1.05,-2.95l3.02,0.66l0.35,1.43l1.65,0.94l4.89,0.48l0.48,2.95l2.68,-2.11l-0.16,-1.49l8.12,3.1l1.31,1.76l0.26,2.1l2.26,0.8l-1.7,1.71l-3.35,-0.74l-1.03,-1.5l-2.81,-1.71l-3.62,-0.27l-0.01,0.86l1.5,0.47l-0.05,1.18l2.05,1.97l-0.17,1.13l-2.37,1.85l-3.7,0.25l-0.91,1.12l-1.2,-0.13l0.87,2.2l-1.5,2.06l-1.16,0.39l-3.85,-0.85l-1.02,0.69l0.95,1.99l7.94,5.44l1.13,1.57l5.15,-1.44l-0.18,-1.05l2.6,-4.41l6.83,-2.0l2.81,1.33l-1.07,3.16l-3.75,2.86l-2.71,0.66l-0.53,1.61l-1.03,0.5l-2.31,-0.97l-1.56,0.81l-0.48,1.52l0.83,1.79l1.17,0.66l2.7,-1.8l3.15,-0.01l4.39,-2.13l2.0,-0.14l2.25,-2.17l3.37,0.94l-0.18,-3.3l-1.53,-1.0l-0.85,-2.14l3.94,-0.96l-0.42,-1.74l5.94,2.03l-0.23,1.08l2.52,3.2l0.26,-1.1l1.12,0.85l4.77,-0.1l0.43,-1.45l-1.1,-0.13l2.04,-1.38l-3.01,0.14l-0.54,-1.23l2.01,-2.42l2.7,0.59l0.02,-1.17l-1.34,-0.99l2.79,-0.42l1.32,-1.83l-0.37,-1.16l2.69,-2.18l-1.0,-1.29l-1.77,0.84l-0.45,-0.57l2.9,-2.14l0.15,-1.92l-4.08,0.56l-3.44,3.36l-4.18,0.24l-5.52,-2.26l-0.45,-0.98l-2.09,0.14l-1.46,-2.17l-2.34,-0.36l0.32,-0.78l1.63,0.33l-0.01,-1.57l1.13,0.06l1.62,-1.32l4.32,-0.21l2.51,-1.37l3.18,-0.19l-1.55,-2.45l-2.07,-0.71l0.86,-0.58l-2.34,-0.98l-0.08,-1.09l-1.01,-0.39l-9.34,0.7l-1.73,-0.78l-3.27,1.23l-0.23,0.77l-4.53,0.49l-3.99,-1.18l-0.98,1.01l-2.43,-1.06l-1.9,1.06l-0.03,-1.43l-1.47,0.89l-4.68,-0.02l-2.12,0.74l-1.61,-1.82l-2.33,1.46l-3.5,-2.31l-1.4,0.61l-1.36,2.74l0.84,5.19l0.77,-0.04l0.72,-1.84ZM212.83,287.18l-0.0,-0.02l-0.45,-0.39l0.6,0.28l-0.15,0.13ZM211.88,286.62l-0.11,0.01l-0.06,-0.14l0.17,0.13ZM179.99,279.15l0.22,-0.13l-0.03,0.22l-0.19,-0.09ZM142.22,285.94l-0.69,-0.85l0.05,-0.26l0.51,-0.01l0.13,1.12ZM142.77,264.94l0.0,-0.21l0.23,0.0l-0.16,0.1l-0.07,0.11ZM156.42,271.63l-0.26,-0.16l-0.02,-0.28l0.34,0.17l-0.07,0.26ZM155.56,270.82l-0.15,0.03l0.11,-0.14l0.03,0.11ZM159.83,281.2l0.4,-0.64l0.34,-0.13l0.07,0.65l-0.81,0.12ZM202.31,297.59l-0.11,-0.08l0.06,-0.02l0.05,0.1ZM201.72,297.39l-0.66,-0.04l0.07,-0.32l0.01,-0.01l0.59,0.37ZM211.0,288.37l-0.89,0.21l-0.21,-0.52l1.07,-0.1l0.02,0.4ZM207.97,287.77l-0.36,0.28l-0.26,0.01l0.62,-0.56l-0.0,0.27ZM335.03,145.95l1.0,-0.91l-0.03,-4.67l1.26,-2.2l0.69,0.77l4.27,-1.92l3.09,0.31l2.51,-0.9l1.93,0.93l1.22,-0.62l3.04,0.79l-0.79,3.54l-4.36,0.48l-0.82,0.7l0.81,2.8l2.92,0.26l-0.46,3.19l-1.57,2.84l-3.77,1.35l-1.94,-0.92l-4.87,1.52l-1.46,-1.4l-0.3,-2.44l-1.06,-0.05l-1.46,-2.11l0.16,-1.34ZM343.05,180.4l0.53,-2.45l1.48,-0.35l-0.86,3.83l-1.15,-1.03ZM297.62,196.66l-2.81,-3.08l3.43,-3.66l7.2,1.64l3.36,-1.6l1.84,0.21l0.67,-1.17l1.68,-0.67l-0.5,-1.1l-6.96,1.23l-5.82,-1.7l3.14,-3.59l12.45,1.14l-0.22,-1.42l-7.93,-1.17l-2.24,-1.68l1.93,-0.92l0.07,-1.43l-0.97,-0.43l0.79,-1.37l2.92,-1.11l7.07,3.4l1.21,-0.14l0.02,-0.84l-1.49,-0.63l-1.37,-1.85l-2.82,-0.86l-0.3,-0.94l0.54,-1.4l2.58,-1.59l2.72,0.22l1.32,-0.67l0.16,0.75l1.65,0.26l1.13,1.18l-0.79,2.25l0.19,4.4l6.19,-0.25l2.12,2.71l-0.7,1.1l0.22,1.97l3.12,3.75l-2.83,0.82l-0.56,1.29l3.73,0.5l0.64,2.56l-0.82,2.31l0.43,2.83l4.71,-0.03l0.43,0.9l2.08,0.36l-3.46,15.46l-1.6,-0.54l-0.96,1.16l-1.49,-0.26l-0.29,2.07l-7.3,3.12l-5.1,0.78l-4.59,-0.96l-2.46,-1.54l-2.22,-3.46l-0.83,-2.34l0.38,-0.84l4.45,-1.61l3.46,0.41l1.07,-1.88l1.85,-0.47l7.54,1.25l4.33,-3.19l1.09,-1.4l-0.22,-0.82l-1.89,-0.86l-2.08,1.97l-1.45,-0.93l-1.17,0.94l-2.49,-0.21l0.89,-2.14l-0.81,-0.78l-1.01,1.19l0.41,-1.64l-0.83,-0.71l-1.06,3.09l-0.92,0.5l-0.8,0.07l-0.46,-1.42l-0.9,1.31l-3.84,-0.33l0.32,-1.39l1.77,-0.52l-0.23,-1.02l-1.17,0.31l1.46,-2.76l3.52,-1.68l-0.97,-0.99l-2.7,0.74l-0.38,-2.37l-0.91,0.33l-1.8,4.91l-1.27,-2.51l-1.05,0.74l1.08,3.03l-1.36,2.08l-3.46,1.29l-0.74,-0.72l0.75,-4.37l-1.76,1.25l-1.37,-1.35l-0.18,2.89l-0.93,1.06l-2.19,-2.46l1.46,-1.09l-0.26,-0.63l-1.29,0.17l0.9,-2.21l-2.29,-0.11l-1.24,1.13l-1.56,-1.19ZM327.94,134.68l3.9,-1.93l-0.25,1.87l0.84,0.29l1.5,4.62l-3.72,1.43l-2.27,-6.26ZM321.01,163.06l1.64,-1.4l4.15,0.26l1.23,1.73l-0.05,1.17l-1.23,1.11l-5.74,-2.86ZM326.03,261.21l-0.4,-1.5l-1.62,-0.83l-0.63,-3.15l3.92,1.28l-1.26,4.19ZM325.43,263.42l0.07,-0.72l0.09,0.01l0.24,0.88l-0.39,-0.16ZM260.9,269.58l0.42,-3.04l1.57,-3.05l4.59,-3.99l3.77,-0.66l0.24,-2.37l-1.72,-0.97l-0.37,-1.62l3.89,-3.4l2.37,-0.69l4.6,-3.62l3.27,-0.17l2.61,-1.39l7.37,-1.23l6.65,-2.24l1.96,1.51l0.76,4.13l-2.16,5.66l0.16,1.56l-2.64,0.65l-0.45,1.8l-2.29,1.2l0.2,1.21l1.63,0.68l3.03,-1.33l1.9,1.35l2.3,-2.14l0.07,-0.89l-0.92,-0.59l2.08,-2.48l2.58,-1.51l5.25,4.03l4.41,4.94l-0.93,2.75l-1.69,1.01l0.02,0.76l-3.52,1.88l0.79,1.66l-0.7,2.49l4.24,-2.64l0.94,2.06l0.72,-0.16l0.21,-2.62l0.92,-1.22l1.44,-0.1l0.63,-1.52l0.55,0.59l-0.5,1.33l1.36,1.71l0.83,-0.66l-1.02,-1.51l0.87,-0.51l1.37,2.93l-11.48,51.42l-17.46,-4.16l-0.83,1.68l-1.14,0.12l0.0,0.67l1.45,0.6l-2.71,-0.2l0.39,-3.59l-29.83,-8.45l-1.36,2.79l1.84,5.58l-0.46,-0.2l-2.15,-3.26l0.13,-4.89l3.8,-1.52l18.25,1.15l5.68,2.72l1.35,-0.09l6.08,3.41l0.65,-0.81l0.71,0.47l2.24,-0.65l4.22,1.29l0.77,-0.31l0.09,-1.36l-0.57,-0.96l-2.71,-0.99l-0.85,-3.09l-4.83,-2.52l-1.74,-2.41l-1.7,-1.21l-0.85,0.44l-2.39,-2.06l-1.72,0.58l-1.18,-0.69l-1.38,0.56l-7.58,-0.75l-1.02,-0.84l-2.18,-0.06l-1.02,-1.65l-9.36,-2.1l-0.35,-2.73l-2.44,-4.16l0.06,-2.79l4.75,-1.74l6.54,0.4l1.06,-0.88l3.98,-0.43l3.24,0.9l0.7,-1.05l-1.86,-1.16l1.71,-0.55l2.51,1.65l2.88,-0.86l0.17,-0.64l-2.9,-0.09l0.25,-1.03l-2.57,-0.99l-11.15,0.14l0.4,-1.13l-1.05,-1.55l-1.28,0.93l0.71,1.01l-0.39,0.69l-0.78,-0.88l-0.84,0.41l-2.22,-0.81l-0.42,-1.04l0.66,-1.04l4.31,-0.03l0.25,-0.72l-1.15,-1.3l1.24,-0.2l0.19,-0.81l-2.72,-0.71l-1.94,1.08l-1.2,-2.15l-1.98,-0.51l-1.25,0.56ZM315.33,268.23l-0.79,0.05l-0.04,-0.21l1.17,-0.5l-0.34,0.67ZM272.66,162.85l4.64,-4.16l5.15,0.75l3.53,-4.51l5.56,-1.78l0.35,-1.57l1.23,-0.32l3.69,-3.82l3.01,-1.44l2.09,-2.67l6.23,0.54l3.18,3.53l1.58,0.17l0.36,-0.74l1.02,0.52l1.46,-1.56l-0.22,-0.81l-1.45,-0.48l-0.12,-0.94l2.0,-0.8l0.09,-0.67l1.38,0.07l3.52,6.32l-0.71,1.29l-4.29,0.72l-1.27,1.18l0.12,2.98l1.96,2.78l-0.93,0.62l-1.65,-1.71l-0.93,0.51l1.02,3.24l-0.08,2.78l-2.83,1.97l-4.16,-0.31l-0.74,0.87l-0.38,3.99l-1.34,0.94l-2.07,-0.19l-1.48,-3.82l2.69,-6.09l1.64,-1.76l-0.38,-1.79l-1.62,1.02l-1.49,-0.63l-0.68,1.29l-1.12,0.01l-0.08,3.74l-1.39,0.75l-1.27,-1.71l-1.12,0.81l-0.39,1.07l1.24,1.48l-0.17,2.29l-0.71,0.92l-1.58,0.04l-0.8,2.2l-1.34,1.07l0.23,-6.34l-2.15,0.29l-0.4,3.84l-1.82,1.22l0.98,2.96l-0.86,-0.21l-2.15,2.57l-0.71,0.02l-0.37,-1.45l-2.02,1.61l1.52,-3.13l0.0,-1.45l-1.3,-0.19l1.22,-3.06l-0.72,-1.92l-1.64,0.63l-1.1,3.43l-2.24,1.0l-1.95,-3.6l-1.81,-0.41l-0.67,1.27l-1.44,0.51l-0.88,-0.46l2.44,-4.16l-0.84,-1.36l-1.28,0.23ZM299.5,310.16l0.53,0.27l0.45,0.46l-0.39,-0.06l-0.6,-0.66ZM287.58,182.41l6.55,-5.43l2.92,-0.38l3.03,-2.49l0.92,0.33l-1.17,2.49l-6.46,7.49l-2.56,1.32l-1.02,-1.78l-2.21,-1.55ZM219.8,246.37l1.52,-3.11l1.68,-0.43l-0.15,-1.48l1.45,-0.33l2.92,-3.8l3.01,-1.09l-0.3,-1.38l1.39,-1.18l0.37,-3.63l0.67,0.55l3.73,-0.49l0.42,-1.4l-1.4,-2.89l1.96,-1.12l3.44,-4.93l3.16,-1.5l0.96,-2.46l1.55,-0.35l1.1,-1.28l0.25,-1.97l-1.74,-1.84l1.12,-10.83l12.68,2.22l6.68,0.2l2.16,1.86l0.24,2.19l3.74,4.86l2.46,1.93l-1.97,2.47l0.11,1.84l0.74,-0.05l0.38,-1.36l2.29,-2.06l1.47,0.76l-0.4,2.36l-1.46,1.97l0.34,0.56l1.8,-0.08l1.7,-1.79l0.09,-1.82l0.98,-0.4l4.16,-0.06l3.39,2.19l2.27,4.11l3.45,9.67l1.44,1.82l0.81,3.18l-0.08,1.01l-3.31,1.88l-4.92,0.78l-21.54,8.24l-3.03,5.52l-0.93,0.52l-2.88,1.16l-2.62,-1.86l-0.7,3.3l-3.38,3.51l-1.26,5.18l-2.89,3.36l-5.75,0.43l-0.32,-1.92l-1.09,-0.53l-4.35,3.08l-3.99,0.69l-1.69,1.33l-1.8,-0.62l-0.51,-1.09l-0.33,-12.47l-5.62,-8.84l1.12,0.8l0.5,-1.07l-5.29,-2.0ZM279.35,469.63l-0.81,0.33l-0.13,-0.34l0.26,0.05l0.67,-0.04ZM278.07,469.33l-0.38,-0.18l-0.06,-0.16l0.41,0.07l0.03,0.27ZM275.16,468.95l-0.59,0.05l-0.03,-0.13l0.49,0.0l0.13,0.08ZM281.78,464.95l-4.05,-0.88l-0.14,-0.35l4.03,1.11l0.15,0.12ZM276.6,463.76l-0.13,0.17l-0.35,-0.58l0.41,0.41l0.07,0.01ZM276.39,464.3l0.36,0.54l-0.9,1.06l-6.11,-0.67l6.65,-0.93ZM269.08,465.37l-0.54,0.79l-1.14,0.56l0.84,-1.17l0.84,-0.18ZM278.74,175.78l-0.49,-0.42l1.55,-0.55l-0.56,0.63l-0.51,0.34ZM280.74,173.18l-0.05,-0.53l0.37,-0.4l-0.17,0.44l-0.15,0.48ZM265.82,295.59l0.41,0.33l-0.56,-0.18l0.16,-0.15ZM262.97,472.57l0.3,-0.5l1.01,-0.75l0.1,0.75l-1.41,0.49ZM264.57,470.49l-0.08,-0.04l0.12,0.01l-0.04,0.03ZM261.08,475.09l1.41,-0.74l0.34,0.01l-1.59,0.92l-0.17,-0.19ZM260.71,477.06l0.01,-0.01l0.26,-0.29l-0.23,0.28l-0.05,0.03ZM252.27,478.12l1.89,-0.13l2.85,-0.98l-2.56,1.2l-2.18,-0.09ZM253.39,475.23l0.88,-0.91l2.58,0.13l-1.27,0.75l-2.19,0.02ZM253.56,482.0l0.82,-1.36l0.08,0.05l0.52,0.89l-1.41,0.42ZM255.87,479.98l0.06,-0.04l-0.0,0.02l-0.05,0.02ZM252.51,480.41l0.2,-0.7l0.82,-0.39l-0.5,1.23l-0.52,-0.13ZM248.01,474.32l0.05,0.02l-0.05,-0.01l-0.0,-0.0ZM248.08,474.34l0.75,0.13l-0.24,0.0l-0.51,-0.13ZM221.25,374.75l-0.01,0.26l-0.25,-0.1l0.2,-0.1l0.06,-0.06ZM220.4,374.64l-0.4,-0.18l0.34,0.07l0.06,0.11ZM225.82,389.55l2.08,-1.35l0.69,0.67l-1.45,0.55l-1.32,0.13ZM226.56,364.82l0.55,-0.0l0.3,0.2l-0.94,0.2l0.1,-0.39ZM212.26,480.34l1.69,-0.47l1.05,1.42l-1.79,-0.03l-0.96,-0.92ZM198.62,367.19l0.57,-0.1l0.15,0.16l-0.12,0.1l-0.6,-0.17ZM192.01,266.81l0.3,-0.37l0.16,0.54l-0.24,0.16l-0.23,-0.33ZM134.31,262.76l0.12,-0.19l0.63,-0.37l-0.53,0.46l-0.22,0.1ZM132.82,267.14l0.27,0.07l0.02,0.08l-0.15,0.11l-0.14,-0.25Z",name:"Northwest Territories"},nu:{path:"M694.52,496.9l1.45,-0.41l1.5,1.75l-1.78,-0.16l-1.18,-1.18ZM682.85,477.29l0.06,-0.73l3.09,-1.55l2.28,-0.08l0.16,0.84l0.97,-0.11l0.46,2.5l-0.68,2.21l-0.48,-0.03l-0.07,-0.92l-1.47,0.05l-4.32,-2.18ZM458.76,294.96l0.81,-2.89l2.15,-0.98l0.63,-1.06l-0.43,-1.03l-1.73,-0.01l-0.34,-2.89l1.13,-2.2l0.18,-3.94l1.05,-0.04l0.7,-1.09l-0.42,-2.4l1.76,0.32l0.23,-0.85l-1.04,-1.03l1.57,-7.74l1.62,-0.71l-0.82,-1.1l0.61,-0.81l1.96,0.32l-0.1,-0.83l-1.25,-0.66l0.98,-1.74l5.77,-6.74l3.91,-2.04l3.49,-1.3l9.14,0.53l1.4,1.76l-4.2,4.64l-2.77,4.99l-3.85,10.54l-0.33,3.11l0.51,1.79l2.87,3.81l-0.94,7.56l0.38,2.71l2.15,4.67l4.81,6.14l3.81,1.67l0.83,2.53l-2.26,-0.26l-0.55,1.17l-1.27,0.17l-0.32,1.27l-1.2,-0.52l-1.85,0.77l-2.42,2.82l-3.81,1.88l1.46,0.7l2.86,-0.76l3.54,-3.28l1.99,-0.62l2.28,0.52l1.59,-0.81l-0.01,0.92l-1.91,0.79l1.09,0.43l0.39,3.17l1.59,0.09l0.64,-1.5l-0.58,-4.42l0.82,-0.76l-0.95,-1.67l0.13,-2.55l1.52,-1.47l-0.77,-4.04l-1.08,-0.95l-1.26,0.21l-0.19,0.88l-2.62,-0.82l-1.39,-1.8l0.57,-0.85l-1.02,-2.06l-2.93,-2.0l1.72,0.19l-0.23,-0.81l1.6,-0.72l0.77,-1.71l-0.74,-1.32l0.95,-0.96l2.07,0.23l3.15,2.51l2.6,3.96l0.62,-1.59l-2.0,-3.48l-1.33,-0.47l-0.71,-1.71l-1.53,-0.76l0.54,-1.17l1.87,-0.1l0.6,-1.22l-2.53,0.16l-0.02,-1.86l-2.05,1.96l-2.72,-1.64l-0.66,-1.5l0.9,-0.86l-1.62,-1.3l-0.08,-5.91l0.49,-1.27l2.32,0.46l8.46,3.95l0.2,-0.85l-7.54,-4.52l-1.19,-2.97l4.62,1.57l3.94,0.35l1.4,0.94l0.52,0.05l-0.06,-0.89l-1.15,-1.13l-5.25,-1.25l-3.8,-1.83l0.2,-2.03l1.57,-1.49l2.59,3.45l0.84,-0.07l-1.98,-3.94l2.49,-1.67l2.45,0.71l0.73,2.42l1.01,0.58l-0.44,-4.04l-2.15,-1.01l1.91,-1.63l2.87,-1.84l0.95,0.17l1.13,-1.93l8.12,-0.24l2.03,3.56l0.89,6.26l3.98,2.05l0.4,5.23l2.94,3.88l-6.36,11.46l0.38,0.63l1.13,-0.55l2.05,-4.19l1.74,-1.68l0.11,2.17l-1.34,1.85l-0.46,2.25l-0.79,0.26l2.08,1.84l-1.87,0.37l-0.52,1.02l0.41,0.94l1.41,-0.3l-0.92,3.15l0.58,0.45l1.15,-0.69l0.41,-1.77l2.28,-1.73l0.09,-1.6l-0.82,-1.04l1.41,-0.97l-0.47,-1.72l2.0,2.6l2.0,0.71l0.49,-0.54l-3.79,-3.93l1.65,-2.2l1.33,1.64l-0.92,2.03l0.5,1.05l1.2,-1.41l0.58,1.55l0.67,0.07l-0.54,-2.39l0.82,-2.03l2.22,2.2l-0.01,4.19l-0.91,2.69l3.67,0.78l1.42,1.23l0.72,-0.44l-0.94,-1.98l-2.18,-1.13l-0.11,-2.89l2.0,1.09l2.74,5.74l2.56,1.06l0.37,-0.6l-0.59,-0.47l0.48,0.2l0.58,1.0l0.46,0.13l0.31,-2.04l-1.44,-0.54l-1.99,-2.7l-1.25,0.05l-1.18,-2.89l-3.1,-1.8l0.23,-2.0l0.81,-0.64l1.53,3.78l0.7,-0.56l-0.84,-2.73l4.17,1.24l1.67,3.05l0.31,-1.89l1.65,-0.35l2.58,0.69l-1.25,-1.26l-2.89,-0.23l-4.95,-2.4l-2.16,-1.59l-0.28,-1.48l1.88,-3.33l3.54,-2.72l4.48,-0.37l1.9,2.09l3.11,0.45l1.17,2.53l0.66,-0.47l0.09,-2.19l4.86,1.25l2.44,4.69l-1.4,2.86l-2.51,-0.03l-2.91,2.14l-1.64,4.99l0.34,0.81l0.78,-0.31l1.65,-4.7l1.99,-1.69l2.53,0.44l-2.18,1.63l-0.21,3.99l-0.7,2.19l-1.44,0.77l0.37,0.84l2.18,-1.16l0.87,-5.95l2.2,-1.18l0.54,-2.42l4.77,0.15l0.92,0.9l0.31,4.15l-1.97,0.09l-0.85,2.3l-4.48,1.99l0.51,0.8l2.58,-0.61l-2.65,3.27l0.23,0.7l4.5,-4.29l-0.72,2.3l-1.41,0.53l-0.65,1.37l0.51,0.92l1.59,-1.43l-0.53,1.24l1.75,1.04l-1.73,5.16l0.85,-0.17l2.17,-4.96l-1.21,-2.74l0.93,-3.23l1.84,-1.94l-0.53,2.66l1.29,1.72l0.43,-0.58l-0.72,-1.5l0.93,-2.99l1.3,-0.61l0.43,0.98l-1.55,5.36l-1.77,1.59l0.33,0.71l1.37,-0.82l-0.44,2.48l0.69,0.43l-0.72,1.87l0.74,0.32l1.26,-3.14l0.14,-4.67l0.6,-1.12l0.55,0.31l0.3,4.12l0.97,0.29l-1.3,7.07l1.74,-1.05l-0.01,-3.42l1.24,-2.36l1.43,0.77l-1.0,1.14l0.37,2.74l-0.87,1.71l0.76,1.2l0.75,-0.22l-0.38,-1.22l0.66,-0.72l0.18,-3.34l1.11,-0.99l-0.55,-3.23l1.39,-0.8l-0.7,-1.6l1.11,-1.15l-0.11,-2.23l7.09,1.89l3.84,4.21l-1.34,4.44l-2.64,-0.48l-1.5,1.0l-1.3,4.83l-2.72,1.93l0.49,0.59l3.05,-1.76l0.6,0.28l-0.76,3.18l-1.54,1.42l0.84,1.0l1.6,-1.56l0.59,-2.29l3.77,-3.12l3.02,-0.31l-0.93,-1.5l0.25,-2.25l1.71,-2.07l1.16,0.31l1.43,3.02l-0.98,1.81l-0.07,2.43l-1.64,1.47l-0.41,2.01l-2.89,0.05l-0.55,3.73l-1.4,0.93l0.45,0.64l1.24,-0.56l-0.27,2.28l0.79,0.6l1.26,-6.02l1.72,-0.08l0.36,5.62l-0.83,5.48l0.79,0.18l0.98,-2.69l0.71,-8.86l-0.45,-2.09l6.26,-6.82l-0.21,2.66l-3.02,2.97l0.77,3.83l1.58,-1.31l-1.02,-1.74l2.5,-0.4l0.18,-1.3l1.9,-1.09l0.75,-2.36l1.58,-0.17l1.09,1.02l6.27,2.05l-0.34,3.45l-0.45,-1.6l-0.83,0.0l-0.14,3.21l-4.87,2.77l-2.19,2.43l-0.3,1.67l-1.71,2.25l0.92,0.23l0.52,-1.07l1.16,0.6l-2.02,0.92l-1.88,3.28l1.42,0.23l1.66,-2.94l2.17,-0.77l-0.68,-2.21l0.4,-1.35l6.26,-2.93l-0.07,3.04l-1.99,1.87l-1.36,3.53l-2.35,0.15l-0.71,1.11l-0.46,3.71l0.27,0.82l0.83,-0.16l0.69,-3.99l2.71,-0.23l1.41,-3.32l0.91,-0.9l2.28,-0.43l0.37,-2.31l1.97,-2.33l-1.27,-1.13l0.67,-2.95l2.01,0.73l3.74,3.23l1.93,2.18l1.76,3.93l-6.27,0.46l-1.77,3.58l-2.6,0.34l-3.44,3.23l-4.02,0.25l-1.72,0.89l0.07,0.9l1.28,0.36l1.62,-1.27l2.97,0.23l4.53,-2.87l4.88,1.63l5.57,-1.45l3.67,1.66l1.55,2.31l-0.24,1.15l-3.01,-0.29l-2.5,1.13l-5.72,-1.84l-6.46,0.58l-1.45,2.21l0.35,0.67l2.06,-1.92l4.11,0.37l1.46,-0.52l0.8,0.68l-6.03,1.08l-0.3,0.6l0.9,0.46l2.07,-0.62l-3.26,2.35l0.4,0.95l0.8,-0.48l0.07,2.84l1.08,-0.89l0.01,-2.02l2.87,-2.49l5.01,1.6l-1.57,1.24l-1.72,-0.31l-2.31,1.01l-0.02,0.97l1.91,-0.56l1.88,0.31l0.15,0.86l-2.9,0.05l-0.19,0.73l0.95,0.26l-1.58,0.41l0.24,1.08l-5.42,-0.71l-0.86,0.94l0.74,1.32l2.91,-0.38l0.31,1.19l0.89,-0.69l5.36,0.01l-1.22,1.14l-3.09,0.27l-0.95,1.34l0.31,0.64l3.61,0.04l0.45,-0.89l3.35,0.67l0.56,2.64l0.79,-0.88l-0.22,-2.22l1.72,-0.57l-0.53,0.96l0.8,2.28l-1.6,1.41l0.31,1.5l1.79,-1.47l-0.6,1.28l0.8,0.33l0.96,-0.69l0.55,-2.01l0.58,0.43l0.56,-0.92l0.88,0.18l-1.47,1.59l0.12,1.99l-1.73,0.21l0.58,0.87l1.94,-0.08l0.15,-2.53l1.34,-1.3l1.77,0.49l-0.39,4.49l0.95,0.37l0.82,-2.33l0.77,2.57l0.61,-0.83l-0.18,-2.76l1.41,-0.1l-0.96,1.14l1.84,-0.34l0.55,0.95l-0.76,3.14l-1.92,-0.02l-0.47,1.06l2.77,0.36l0.79,0.91l0.09,-3.94l1.35,-1.57l1.03,5.61l1.15,2.05l-0.29,-4.16l0.97,-2.03l-0.49,-1.05l1.69,-1.02l-0.18,4.17l3.55,3.47l0.41,-0.64l-0.92,-2.03l-1.79,-1.22l0.3,-2.6l1.38,-1.36l0.53,-2.01l2.04,0.51l-2.13,1.4l0.88,0.7l-0.9,1.04l0.09,1.47l0.94,-0.04l-0.8,1.83l0.42,1.53l0.85,0.05l0.02,-1.75l1.06,-1.77l0.29,1.67l1.08,0.0l0.39,-3.01l1.86,0.94l-1.5,1.87l0.5,0.54l2.2,-1.87l0.45,1.91l1.53,-0.23l0.25,1.77l-2.01,0.91l-0.13,0.76l1.32,0.31l1.95,-0.85l1.02,1.54l-0.3,0.73l-6.13,1.04l0.32,0.64l3.99,-0.1l-3.41,1.94l0.02,1.07l4.64,-2.24l-3.23,3.11l0.68,2.8l0.78,-0.41l0.29,-2.67l3.86,-2.21l0.36,-1.11l2.54,-0.87l0.14,2.09l-1.33,3.04l1.01,0.96l0.04,-1.63l1.77,-2.6l-0.25,-2.7l1.02,-0.27l0.09,-1.48l1.27,1.36l-1.64,2.84l1.15,2.57l-1.97,1.92l0.05,1.54l-1.63,0.7l0.46,0.73l2.68,-1.15l0.3,2.12l0.91,0.15l-0.3,-3.92l2.69,-2.39l1.91,6.56l0.57,-3.76l-0.93,-2.78l0.9,-0.23l2.94,3.38l0.85,-0.11l-2.02,-3.16l0.89,-1.25l-0.59,-1.65l0.99,-0.64l0.59,2.76l1.4,0.67l2.48,-1.02l-0.42,1.17l1.9,-0.0l2.62,2.39l-1.44,1.9l-1.63,-1.41l-2.47,-0.4l-1.53,2.28l1.11,0.54l0.85,-1.1l1.16,-0.0l2.51,1.93l-2.0,1.12l-0.45,1.57l3.33,-1.15l0.33,0.62l-1.74,0.77l-0.68,1.22l-2.06,0.07l-0.94,-1.55l-3.33,0.22l-0.67,1.52l1.19,0.3l0.67,-0.67l1.35,1.66l-1.47,1.5l-1.69,-1.64l-1.16,0.52l2.54,2.46l1.37,-0.8l3.11,0.43l1.48,1.82l-1.48,1.02l-1.88,-0.46l-2.09,0.56l-1.9,-1.83l-1.15,1.0l2.69,2.02l3.48,-0.01l-0.09,0.93l1.44,1.25l-1.99,0.71l-2.48,-1.31l0.46,1.66l2.55,1.16l-1.81,-0.21l-1.18,0.67l1.03,2.77l-1.94,-0.19l-3.62,-4.71l-1.02,0.17l2.44,4.42l-2.56,1.36l0.87,0.62l2.74,-0.07l-0.47,1.12l-1.48,-0.95l-0.06,1.62l0.97,0.67l-0.85,0.57l3.04,2.42l-0.33,2.51l0.71,1.05l0.88,-0.01l-0.39,3.16l-0.71,-0.48l-0.98,0.83l0.81,-0.75l-0.37,-0.81l-1.27,0.7l-0.49,-2.99l-0.88,0.34l-0.38,1.72l-0.85,-0.15l-0.05,1.31l-0.79,-0.78l0.87,-1.93l-0.86,-0.2l-1.53,1.14l-0.15,-4.85l-0.54,-0.34l-1.28,2.78l0.46,3.9l-1.3,-1.32l0.32,-0.69l-1.2,-0.53l-0.74,0.72l1.15,-1.55l-1.02,-0.51l2.37,-1.47l0.14,-1.53l-0.66,-0.44l-1.92,1.03l-2.38,2.45l-0.68,-0.57l-0.39,-0.92l1.43,-0.95l1.17,-3.45l-1.8,0.09l-0.53,2.51l-1.2,0.35l-0.18,-0.92l1.2,-1.96l1.26,-0.6l-0.05,-0.89l-2.03,0.6l-1.02,1.66l-1.71,0.12l0.07,-1.83l-0.9,-0.19l0.37,-2.25l2.59,-2.46l1.89,0.05l-1.12,-1.26l-0.07,-3.39l2.02,-3.11l-0.26,-1.14l-2.75,2.4l-0.76,4.42l-2.19,1.34l-0.68,1.46l-3.64,1.6l-0.61,-1.34l1.9,-3.13l0.51,-3.0l-0.49,-1.87l-0.82,0.26l-0.42,4.19l-1.85,1.91l-1.96,-1.27l0.08,-1.8l-0.91,1.0l-1.47,-0.11l-0.22,-1.13l-0.8,-0.16l0.48,-1.42l-1.86,1.32l-0.01,-1.41l-1.07,0.18l-0.29,-3.03l-3.02,-0.41l-0.33,0.65l1.3,1.39l-1.32,0.44l-3.38,-1.1l-1.64,1.75l0.65,0.65l3.31,-0.23l1.45,1.71l-1.41,-0.44l-0.63,0.73l2.54,1.48l-0.75,0.54l-3.37,-2.45l-1.21,0.06l-0.62,-1.05l-1.59,0.71l2.58,2.79l0.71,2.23l4.32,1.87l1.25,2.89l-1.14,-0.1l-0.36,0.99l-0.95,0.19l-1.16,-0.82l-0.63,0.35l0.43,1.06l-0.9,0.16l-1.24,-1.61l-0.02,-1.8l-2.32,-0.81l-0.78,-1.44l-1.08,0.43l-1.36,-1.55l-0.54,0.71l0.68,1.2l-2.73,1.06l1.68,0.75l1.7,-0.77l1.93,1.66l0.98,-0.34l-0.28,-0.56l0.87,0.64l-0.92,0.94l-1.22,-0.38l0.54,2.52l1.65,0.43l0.57,2.33l2.14,-0.51l-0.31,1.6l0.98,0.82l-0.66,0.16l-0.36,1.53l1.06,2.13l1.86,-3.65l2.1,-1.36l1.0,0.28l-0.84,3.01l1.43,0.98l1.74,-0.66l0.42,0.5l-2.45,2.15l1.09,0.59l0.61,-0.73l0.74,0.38l0.35,1.81l1.87,0.07l-0.75,2.75l2.93,0.13l0.51,0.75l-0.6,0.81l1.04,0.41l1.04,2.94l1.07,-0.96l-1.47,-4.21l3.15,2.35l1.08,-0.49l0.21,1.48l-1.08,0.93l1.08,0.23l0.57,1.18l0.9,-0.33l-0.13,-1.23l0.04,-0.29l0.53,1.04l0.72,-0.24l1.33,1.16l0.75,-0.38l-1.77,-2.91l0.08,-1.17l0.38,1.13l0.64,-0.23l0.45,2.13l0.78,-0.34l-0.19,-1.13l0.42,0.49l0.19,1.22l-1.03,1.45l0.96,2.23l1.61,-0.41l1.21,0.68l2.52,-1.24l-1.19,1.69l0.86,1.29l-2.62,0.09l-1.03,1.31l1.69,-0.21l-0.52,1.12l2.32,0.04l-0.54,1.3l1.7,-0.32l0.74,2.53l2.23,-0.34l0.5,0.75l0.9,-1.34l1.08,0.09l-1.53,1.95l-0.46,2.02l0.95,0.96l2.14,-0.06l1.74,1.04l-0.27,1.18l1.64,3.22l-0.97,0.64l1.28,0.68l-0.55,1.25l0.9,0.27l-0.51,0.23l-1.11,-0.91l-3.12,-5.31l-2.87,-2.59l-1.87,0.31l3.78,3.29l-0.64,0.99l0.77,1.77l-0.59,0.67l2.56,1.98l-1.19,-0.05l-0.53,1.14l1.27,1.72l2.63,0.42l-0.39,0.88l0.97,1.02l-0.06,1.3l1.26,0.59l-0.85,0.68l-2.59,-1.8l-0.65,0.89l-1.24,-0.34l4.6,6.01l-1.04,1.6l-1.8,-2.14l0.42,-1.04l-1.58,-2.97l-2.0,2.36l-1.49,-1.33l-0.57,-2.67l-2.36,1.98l-0.47,-1.12l-2.59,-1.17l-0.36,0.86l2.3,2.5l-2.22,-0.51l-3.65,-4.53l-0.14,-1.92l-0.72,0.04l-0.26,2.36l-0.83,0.26l0.7,1.87l-1.38,-1.03l0.36,-0.84l-0.93,-2.4l-0.93,0.26l0.37,2.04l-1.2,-0.16l-8.11,-7.18l-0.4,0.91l3.71,6.15l-4.19,-3.47l-0.79,0.11l-1.1,-1.62l-0.72,0.95l-1.29,-1.34l-2.46,-0.28l-0.19,0.97l-2.23,0.29l2.05,2.1l-0.06,0.88l6.19,4.57l1.06,1.94l2.68,0.57l0.26,1.45l0.99,-1.03l1.0,0.23l-0.45,0.99l0.92,1.52l1.18,0.53l1.56,-1.7l1.35,1.12l-0.52,0.84l1.63,-0.42l-0.25,1.11l1.32,-0.23l1.91,2.8l1.63,-0.84l2.41,1.54l0.95,2.34l1.55,0.16l-0.92,0.86l0.36,0.76l1.38,0.89l3.39,-0.2l-0.06,2.36l-0.75,-0.65l-0.63,1.02l1.25,1.91l1.95,1.23l-3.51,1.15l-3.64,-1.76l-3.28,0.37l-1.57,-0.92l-0.43,0.51l-0.56,-1.0l-11.24,0.57l-3.15,-1.87l-1.57,0.4l-1.67,-0.82l-0.9,-0.67l-0.77,-2.65l-0.67,1.08l-0.84,-0.79l-0.49,0.44l-0.5,-0.52l1.1,-0.91l-0.18,-1.79l-4.59,-0.09l0.32,1.1l-1.13,-0.32l-0.75,1.07l-1.42,0.12l-2.52,-1.63l-2.55,0.01l-0.22,-0.74l-1.26,-0.11l-0.63,-1.48l1.01,-1.89l-1.32,-0.83l-0.81,0.48l-0.15,1.58l-1.2,-0.09l-0.26,1.25l-1.15,-0.06l-0.18,-1.19l-2.62,-0.45l-0.01,-1.66l-1.15,-0.38l-0.4,-2.19l2.64,-1.94l1.06,-3.03l-2.33,0.05l-0.77,-0.38l0.15,-1.01l-2.36,-0.48l-1.64,-1.22l-1.53,2.05l-1.14,-0.8l1.0,-2.68l-1.09,0.32l-0.3,-0.9l-0.73,0.09l-0.88,2.78l-1.46,-0.6l-0.12,-2.77l-0.89,-1.25l-0.61,-0.22l-0.24,1.63l-0.64,-0.07l-1.06,-2.78l-1.29,-0.25l-0.78,-1.57l-2.81,-2.03l1.32,-3.66l-1.91,-1.59l-0.6,0.96l0.68,1.51l-0.77,-1.17l-0.98,0.41l-1.26,-1.16l-0.16,2.19l-1.68,-0.74l-0.59,0.55l-1.43,-3.04l-0.89,1.86l-1.92,0.44l-0.32,0.92l-1.6,-1.78l1.46,-2.42l-1.95,-1.23l-0.97,1.2l0.21,1.06l-2.14,0.85l5.01,3.85l-1.25,0.58l1.23,1.55l-1.02,1.15l-4.16,-1.4l-0.56,0.74l-5.24,-2.36l-0.66,0.66l0.31,1.11l1.25,1.18l-1.44,-0.25l-0.25,0.79l1.33,1.25l-1.42,-0.29l-3.18,1.42l-0.16,0.85l-2.85,0.86l0.25,1.83l-3.37,-1.4l-1.67,1.18l-1.64,-1.8l-1.4,-0.53l-0.65,1.01l-1.01,-0.4l0.18,-0.96l-1.38,0.16l0.23,-0.61l-1.94,-1.93l-0.47,-1.74l0.58,-3.71l-0.93,-2.07l3.67,-4.09l2.52,-1.32l-1.88,-2.8l1.66,-1.13l-1.25,-1.47l2.48,0.81l3.41,-0.38l7.68,2.38l0.82,1.41l2.51,1.24l0.41,1.5l-1.87,1.27l1.01,1.62l0.99,0.07l-0.18,1.52l1.75,0.96l0.9,-1.11l-1.68,-3.68l1.26,-0.56l0.06,-3.01l-0.99,-0.23l-0.4,1.88l-1.94,-2.57l-3.27,-1.88l1.79,-0.4l0.8,0.76l3.16,0.01l1.08,-0.93l-0.22,-2.0l2.56,-0.54l1.92,0.93l2.85,-4.62l1.06,0.43l1.52,-0.66l0.97,1.1l2.11,-0.37l-3.09,-6.4l-2.77,-1.27l-4.63,-4.88l6.7,-9.38l0.47,-2.31l2.72,-1.98l-0.57,-1.95l0.71,-4.69l2.8,-1.64l0.84,-1.87l0.01,-2.66l-1.36,-0.67l-2.24,-5.92l-1.49,-0.85l0.01,-2.17l-1.63,-1.76l-1.09,-0.18l-2.05,-6.75l-1.27,0.29l-1.56,-1.11l0.71,-1.45l-0.85,-0.81l-1.85,2.62l-2.05,-0.67l-0.84,-1.08l1.1,-2.31l-1.12,-3.85l-3.03,-0.48l-0.77,0.78l2.8,3.56l-3.02,-0.07l-1.14,-0.93l-1.95,-2.33l0.9,-2.17l-1.15,-0.58l-0.42,-1.6l-1.96,-0.45l2.21,-1.04l-1.72,-1.53l-2.01,1.99l-0.14,2.43l-3.08,-2.24l-0.47,3.0l-4.76,4.7l-1.75,0.63l-0.45,-1.23l0.68,-2.68l-0.97,-0.74l-0.22,-1.81l1.19,-0.86l3.37,0.52l1.44,-1.92l1.11,-0.14l-0.14,-3.68l-3.42,-2.68l-1.7,-0.62l-1.39,0.45l-2.08,-2.49l0.71,-1.96l1.85,0.5l-0.06,-1.84l-1.74,-0.47l-1.73,0.58l-0.26,0.56l0.86,0.42l-0.81,1.64l-0.82,-0.16l0.17,-1.07l-1.38,0.87l-1.26,-0.62l2.11,-0.67l0.62,-1.2l-0.94,-1.07l0.67,-1.5l-1.74,0.37l-0.4,-0.83l-1.71,0.78l1.88,-1.51l-0.3,-1.04l-4.26,3.03l-1.32,-7.62l-1.7,-1.3l-1.24,0.89l-1.16,-0.49l-0.97,1.04l-1.01,-1.45l0.52,-1.14l-1.65,-0.04l-1.43,-2.16l-1.85,0.18l0.94,-1.83l1.32,0.06l-2.58,-2.93l-1.55,1.42l0.97,0.71l-0.47,1.38l-0.86,-0.66l-1.19,1.92l-1.26,-1.9l-2.0,-0.79l-0.61,-1.5l-1.55,-0.0l-0.56,0.88l-1.0,-2.07l-1.84,0.25l-1.42,1.35l-2.01,-0.26l0.06,1.38l1.15,1.12l2.88,-0.22l0.96,1.23l1.36,-0.58l0.19,-0.9l1.32,0.13l3.63,2.75l-0.22,1.38l1.06,0.86l1.03,-0.19l1.43,1.13l1.2,-0.57l1.8,2.7l1.09,3.44l-0.59,2.38l-5.95,1.45l-1.74,-2.45l-0.89,0.39l-0.46,-0.81l-2.2,0.42l-1.6,-1.01l-9.18,-0.84l0.53,1.75l2.11,1.44l0.97,-0.67l0.69,0.48l3.45,4.13l-0.58,0.97l-4.99,-3.98l-0.07,-0.83l-1.35,0.04l-2.89,-2.78l-7.03,-3.72l-0.63,0.65l2.03,2.2l4.22,1.67l3.95,3.07l-0.83,1.43l-0.97,-0.26l-0.93,1.2l-2.06,-0.44l-5.56,-3.13l-3.56,1.76l-7.45,-0.82l-0.91,-0.57l0.02,-1.7l-1.29,1.08l-2.79,-0.72l-3.39,0.36l-0.71,1.52l-4.48,-4.09l-0.29,-2.53l1.96,-2.46l-0.76,-1.4l-2.55,3.48l-1.81,-2.18l-1.59,0.75l-0.84,1.74l1.76,0.28l0.14,1.23l-3.28,-0.82l-2.57,0.39l-3.84,-2.75l-2.22,-0.36l-1.4,-1.55l-3.86,-7.62l1.3,-0.38l0.48,-1.01l-2.06,-2.13l2.05,1.18l3.47,-0.53l1.43,0.48l0.66,1.5l3.26,0.51l3.83,-0.4l0.7,-1.35l1.65,0.38l0.42,-0.86l-5.34,-2.96l-0.88,-2.9l-1.91,1.23l-12.1,-2.48l-1.13,-5.32l1.61,-3.77l-2.16,-3.72ZM488.81,323.97l3.2,-1.19l3.79,-4.52l-1.07,0.06l-3.54,3.78l-2.78,0.91l0.39,0.97ZM474.79,330.37l0.28,0.24l0.75,0.17l-1.05,0.62l-0.53,-0.59l0.54,-0.44ZM473.0,330.18l-0.24,-0.03l-0.02,-0.02l0.21,-0.03l0.05,0.07ZM482.88,328.8l0.11,0.5l-0.87,0.03l-0.03,-0.17l0.79,-0.36ZM489.66,335.76l1.57,-0.65l1.38,0.68l-2.41,0.32l-0.54,-0.35ZM516.8,338.32l0.08,0.2l-0.05,0.1l-0.02,-0.01l0.0,-0.29ZM535.08,322.46l0.0,-0.02l0.01,0.02l-0.01,-0.0ZM550.44,335.16l0.41,-0.09l-0.17,0.82l-0.12,-0.36l-0.11,-0.37ZM574.5,352.3l0.32,0.6l-0.22,0.09l-0.34,-0.24l0.25,-0.45ZM587.32,361.34l-0.15,0.27l-0.05,0.15l0.03,-0.41l0.16,-0.01ZM582.58,432.13l-0.03,0.04l0.02,-0.03l0.02,-0.01ZM595.87,437.1l0.4,0.28l0.14,0.44l-0.7,-0.43l0.16,-0.3ZM596.59,438.06l0.17,0.24l-0.2,0.4l-0.6,0.52l-0.32,-0.49l0.95,-0.67ZM596.09,440.16l0.05,1.42l-0.31,0.11l-0.08,-0.87l0.34,-0.66ZM595.73,441.72l-0.02,-0.02l0.04,-0.0l-0.01,0.02ZM601.21,436.6l-0.0,0.19l-0.07,0.04l0.01,-0.01l0.06,-0.21ZM601.53,439.34l-0.21,0.44l-0.21,-0.16l0.05,-0.3l0.37,0.02ZM602.53,440.7l-0.02,0.19l-0.36,0.35l-0.06,-0.15l0.44,-0.39ZM602.26,441.69l0.22,0.2l0.05,0.16l-0.23,-0.16l-0.03,-0.2ZM611.9,449.73l0.04,0.02l-0.05,0.01l0.01,-0.03ZM613.57,450.64l0.12,0.99l-0.1,0.01l-0.22,-0.97l0.21,-0.02ZM615.69,450.49l0.09,-0.01l-0.03,0.11l-0.01,-0.03l-0.04,-0.08ZM616.43,450.22l0.17,-0.03l-0.0,0.12l-0.01,0.01l-0.15,-0.11ZM620.64,452.03l0.0,0.12l-0.28,0.07l-0.0,-0.12l0.28,-0.07ZM662.89,449.16l1.85,2.25l-0.68,0.81l-0.41,-1.74l-0.76,-1.33ZM672.43,451.68l0.27,0.56l-0.74,0.85l0.19,-0.89l0.28,-0.52ZM677.9,454.39l-0.21,0.16l-0.02,-0.11l0.23,-0.04ZM649.96,390.46l0.52,0.44l0.09,0.2l-0.45,-0.05l-0.16,-0.58ZM680.53,409.14l0.0,0.01l-0.0,0.01l-0.0,-0.01ZM680.49,409.43l0.0,0.21l0.09,0.26l-0.18,-0.29l0.09,-0.18ZM678.41,399.12l0.0,-0.0l0.02,0.01l-0.02,-0.01ZM682.12,392.93l1.68,0.43l-0.8,1.15l-0.46,-0.47l-0.42,-1.1ZM630.78,350.05l-0.21,-1.8l1.24,-0.25l0.07,1.13l-1.1,0.92ZM633.93,349.02l0.23,-1.09l0.75,0.21l-0.06,0.86l-0.92,0.02ZM635.3,347.75l0.31,-0.27l0.31,-0.07l-0.19,0.29l-0.43,0.04ZM624.0,340.87l0.04,0.01l-0.01,-0.0l-0.03,-0.01ZM522.82,287.99l0.09,0.04l0.16,0.16l-0.08,-0.03l-0.17,-0.18ZM490.73,269.27l-1.65,0.1l0.29,-1.42l0.24,0.46l1.12,0.86ZM527.85,279.51l-0.04,-0.23l0.12,0.06l-0.09,0.17ZM541.86,292.0l-1.03,-0.78l-1.11,-1.72l0.33,-0.2l1.8,2.7ZM574.47,296.36l-0.01,-0.14l0.08,0.1l-0.07,0.04ZM622.2,341.87l0.57,-0.05l0.37,0.23l-0.06,0.02l-0.88,-0.2ZM621.18,347.72l0.29,-0.42l0.66,0.04l-0.11,0.11l-0.85,0.26ZM652.5,357.13l0.08,-0.22l0.02,0.06l-0.1,0.16ZM662.71,366.06l0.84,-0.66l-0.06,0.71l-0.78,-0.04ZM681.52,367.13l0.1,-0.69l1.1,0.24l-0.11,0.28l-1.08,0.17ZM663.42,400.33l-0.06,0.03l-0.14,0.26l-0.05,-0.25l0.25,-0.03ZM653.13,413.38l0.02,-0.07l0.01,0.04l-0.03,0.03ZM663.69,417.31l0.03,-0.16l0.0,-0.05l0.04,0.06l-0.07,0.15ZM655.95,454.61l0.2,-0.08l0.01,0.01l-0.0,0.01l-0.21,0.05ZM656.38,456.41l0.17,-0.67l0.69,-0.27l0.05,0.1l-0.91,0.84ZM672.06,466.54l-0.48,-0.52l-0.04,-0.19l0.99,0.26l-0.47,0.44ZM626.86,462.8l-0.05,0.04l-0.35,0.13l0.03,-0.16l0.37,-0.02ZM618.54,456.26l-0.06,0.22l-0.83,-0.15l0.45,-0.09l0.44,0.02ZM539.2,319.9l-0.1,-0.03l0.05,-0.09l0.05,0.11l0.0,0.0ZM536.94,321.66l0.12,0.79l-0.07,0.39l-0.29,-0.51l0.24,-0.67ZM685.1,391.66l0.88,-0.12l1.42,0.57l-1.42,0.29l-0.89,-0.74ZM683.01,459.85l0.95,-0.38l-0.34,-1.43l3.06,-0.11l-0.67,2.54l-3.01,-0.62ZM683.38,471.15l0.86,-0.49l2.63,2.61l-2.13,-0.41l-1.36,-1.71ZM680.79,436.67l0.47,-0.31l1.46,3.68l-1.98,-3.03l0.04,-0.33ZM682.98,440.44l1.1,0.65l0.41,0.67l-0.53,-0.25l-0.98,-1.07ZM681.47,458.53l0.32,-0.72l0.69,-0.02l-0.6,0.62l-0.41,0.12ZM677.24,433.12l0.03,-0.86l1.16,1.1l0.02,1.05l-2.14,-0.09l-0.04,-0.8l0.98,0.49l-0.01,-0.9ZM678.58,434.5l0.26,0.02l0.12,0.08l-0.11,-0.06l-0.27,-0.04ZM679.77,434.88l0.31,-0.35l0.23,0.91l-0.36,-0.42l-0.19,-0.15ZM677.9,474.82l0.38,-0.71l0.86,0.37l-0.56,0.47l-0.68,-0.12ZM674.31,366.81l0.01,-0.0l0.0,0.01l-0.01,-0.0ZM674.45,366.24l0.79,-2.28l0.92,-0.55l-1.2,2.63l-0.51,0.19ZM665.85,422.28l0.83,-2.73l0.99,-0.49l0.41,0.37l-1.19,1.04l0.24,0.64l-1.29,1.17ZM665.47,364.06l0.62,-1.05l0.64,0.74l-1.26,0.31ZM666.81,363.73l0.66,-0.69l0.48,0.21l-0.28,0.27l-0.87,0.22ZM664.13,502.89l2.55,1.52l0.12,0.98l-0.75,1.66l-2.74,2.42l-0.16,-2.82l0.98,-3.76ZM662.22,358.47l1.11,0.82l0.23,0.27l-1.19,0.41l-0.15,-1.5ZM639.41,351.83l1.43,-0.74l0.22,0.76l-1.65,-0.02ZM626.82,465.8l0.25,0.01l-0.2,0.0l-0.05,-0.01ZM627.85,465.83l1.97,0.06l3.4,1.22l0.33,1.3l2.02,0.82l-1.39,1.1l-2.46,0.16l-1.59,-2.69l0.48,-1.3l-2.74,-0.68ZM625.81,343.56l0.73,0.13l-0.17,0.02l-0.56,-0.16ZM624.08,326.81l0.98,-1.23l0.85,0.24l-1.04,0.31l-0.8,0.68ZM619.86,326.49l0.75,-1.58l1.91,-0.31l-0.76,2.34l-1.9,-0.46ZM610.7,452.69l0.01,-0.01l0.0,0.02l-0.02,-0.01ZM597.03,474.35l0.51,-0.32l0.93,0.8l-0.8,-0.03l-0.64,-0.45ZM598.82,475.02l2.06,-0.45l1.34,0.64l-0.8,0.22l-2.61,-0.41ZM598.97,437.76l0.38,-0.55l0.19,-0.09l-0.03,0.69l-0.54,-0.05ZM599.8,438.49l0.12,0.08l0.02,0.12l-0.07,-0.1l-0.06,-0.1ZM599.75,439.54l0.16,1.13l-0.14,0.22l-0.37,-1.33l0.36,-0.02ZM585.53,305.08l0.88,-0.56l0.39,-2.98l3.58,0.52l-0.02,1.53l-3.57,2.95l-1.26,-1.45ZM580.11,367.21l0.33,-1.37l0.5,1.93l4.05,0.91l2.48,-0.49l1.1,3.69l-7.41,1.27l-1.1,-0.39l-2.06,-2.68l-0.25,-1.55l2.03,-0.52l0.32,-0.79ZM579.24,359.67l1.96,2.08l-0.27,1.41l0.09,-1.13l-1.78,-2.35ZM575.22,680.92l0.71,-0.09l2.49,-1.73l-0.66,2.13l-2.24,0.45l-0.3,-0.76ZM578.3,290.03l0.13,2.03l-1.22,-0.22l0.14,-1.53l0.96,-0.29ZM574.93,293.48l1.17,-0.64l-0.34,1.92l-0.69,-0.8l-0.14,-0.48ZM575.81,294.96l0.04,0.13l-0.04,-0.01l-0.01,-0.11ZM576.17,295.58l0.78,-0.24l0.48,-1.68l0.6,0.68l-1.02,0.89l0.3,1.54l-1.02,-0.28l-0.11,-0.92ZM577.62,297.27l0.03,0.05l-0.01,0.06l-0.02,-0.0l0.0,-0.11ZM570.07,460.89l0.38,-0.61l-1.05,-0.3l0.31,-0.59l5.52,1.64l0.68,1.7l0.75,0.13l-0.55,1.35l-2.27,-0.41l-3.77,-2.91ZM576.74,357.28l-1.38,0.21l-0.19,-1.49l0.51,0.07l1.05,1.21ZM560.18,382.36l-1.12,-3.84l0.23,-2.62l2.93,-9.21l2.5,-1.76l1.8,0.45l1.21,-1.15l5.94,1.24l1.19,1.62l-0.56,4.02l2.13,6.58l-0.39,2.68l-1.49,2.72l-3.6,2.73l-8.12,1.49l-2.64,-4.94ZM571.22,358.9l0.19,-3.03l1.7,0.28l2.32,3.53l-0.81,0.96l0.75,1.57l-4.15,-3.31ZM573.96,604.3l0.57,-3.93l0.69,-1.52l0.38,4.28l-1.64,1.18ZM570.68,628.55l0.13,-0.06l0.12,-0.02l-0.25,0.08ZM564.16,610.52l-0.85,-0.98l3.48,-5.9l-0.32,2.08l-2.31,4.8ZM567.38,604.86l1.4,-1.14l0.56,-6.2l0.95,0.09l0.62,1.43l1.16,0.56l-4.02,10.22l-1.02,-0.49l1.41,-3.88l-1.05,-0.59ZM572.63,599.58l-0.23,-0.07l0.17,-0.06l0.06,0.13ZM451.63,52.33l1.56,-3.16l1.89,0.11l-0.13,-1.92l1.49,-0.25l1.71,-1.54l1.13,0.37l0.59,-0.57l2.17,2.8l0.84,-3.22l0.82,-0.72l-0.15,-2.05l3.63,-2.72l2.38,0.61l0.73,1.43l-0.38,1.72l2.5,2.18l0.47,-1.14l-1.45,-1.29l1.06,-0.68l-0.66,-1.47l1.06,-0.2l2.4,0.99l2.7,4.64l0.71,-0.68l-1.58,-3.63l1.35,0.05l1.51,3.07l1.7,-0.06l-0.86,-3.52l-8.11,-3.87l-0.59,-1.76l4.47,-0.92l1.33,-1.24l-0.58,-3.99l-1.58,-0.96l4.05,-1.1l-0.83,1.66l1.63,0.69l0.67,1.21l2.81,0.12l0.96,1.15l2.25,4.98l-0.2,2.0l4.05,0.0l1.0,0.66l0.49,-0.55l-1.19,-1.97l-2.04,0.12l-1.94,-4.74l9.99,7.64l2.31,0.6l2.48,3.92l1.54,0.16l0.34,-0.63l-3.32,-4.51l0.05,-1.23l-4.63,-1.93l-0.24,-1.77l-1.54,0.07l-6.04,-5.8l0.48,-3.29l4.06,-0.38l-3.44,-2.58l-0.39,-1.53l0.72,-0.58l2.38,0.96l2.28,2.63l1.59,-0.26l0.08,-1.06l-4.38,-7.22l4.14,0.81l0.95,3.03l1.43,1.1l0.74,-0.57l-0.81,-1.5l2.82,1.01l2.43,-0.47l0.15,-1.16l-5.43,-1.65l-0.3,-1.04l1.01,-0.78l-3.03,-1.61l3.22,-2.36l1.36,2.63l0.78,-0.04l0.59,-2.17l0.65,2.75l2.04,0.49l0.61,-2.92l2.57,1.25l2.99,5.34l2.82,2.06l-0.8,3.78l0.92,0.76l2.45,-6.0l-3.57,-2.25l-0.47,-1.1l1.07,-1.12l-1.73,-0.32l-1.4,-2.41l-3.04,-2.84l4.22,-2.08l6.94,0.36l2.12,3.85l6.09,4.05l0.1,-1.56l-2.6,-1.39l-2.64,-3.56l2.43,-5.33l0.9,0.3l0.55,-0.94l1.89,-0.25l-0.21,2.37l1.45,2.23l3.16,1.29l0.2,-1.2l-2.9,-2.53l1.81,-3.13l3.37,-0.89l0.09,1.56l1.08,0.42l-0.26,1.14l0.82,0.44l1.53,-1.47l0.8,1.19l2.44,-1.16l0.54,1.8l2.03,-1.43l3.02,0.63l1.4,-0.92l-0.86,3.66l-5.49,6.35l0.73,1.25l4.23,-1.92l1.09,-2.02l1.64,-0.62l-0.23,-1.32l2.08,-3.05l0.9,-0.26l0.4,1.56l1.64,0.18l0.28,-0.66l-0.86,-0.58l0.4,-1.87l-0.54,-0.45l0.07,-0.42l0.32,-0.16l-0.04,0.76l2.83,2.83l0.62,-0.25l0.42,-2.32l2.18,-0.33l0.41,1.66l-1.26,1.57l2.95,1.54l0.15,1.36l1.46,0.06l0.29,3.25l-0.65,1.25l1.78,-0.54l0.71,-2.33l0.83,-0.34l0.87,1.08l0.38,-0.7l2.02,-0.25l2.75,2.8l0.71,4.57l-2.15,2.43l0.74,0.97l-0.64,2.61l-0.85,0.33l0.11,1.15l-3.8,6.69l-1.76,-0.44l1.06,2.04l-0.55,1.01l-4.04,0.04l-0.13,0.98l-2.31,1.76l0.2,0.86l1.88,-0.26l-0.64,0.83l-0.79,-0.44l-0.64,1.0l-7.69,3.8l-5.83,-3.2l0.44,1.16l4.34,2.87l-1.89,0.74l1.62,0.97l5.23,-2.85l2.62,0.55l-6.68,7.85l-1.32,1.21l-1.66,-0.02l-0.48,1.99l-2.52,1.31l0.8,1.26l1.09,-0.38l-0.52,1.89l15.77,-15.26l4.02,-2.71l0.76,1.57l-2.32,6.44l-2.19,1.91l-1.5,5.88l-1.61,3.14l-1.56,0.46l0.34,2.06l-4.21,8.21l-0.47,6.44l-0.92,1.26l-2.31,0.45l-0.87,-2.93l-2.64,-2.17l-0.76,0.28l2.83,3.95l0.14,2.03l2.67,1.65l-0.45,1.72l-2.6,0.08l-3.72,3.24l-1.47,-1.63l-2.54,-0.39l0.07,0.86l2.62,1.91l-2.03,1.1l0.77,1.03l4.03,-1.03l3.21,-2.6l0.66,0.72l-0.33,2.62l-2.68,1.86l-0.36,1.03l0.33,1.05l2.27,-0.58l-0.4,2.42l-4.23,4.11l-1.84,0.03l-1.35,-0.56l-0.5,-2.83l-4.08,0.49l-0.28,-0.99l-2.72,-0.24l-2.5,1.54l0.32,1.26l0.77,0.8l1.63,-0.58l4.43,0.49l2.07,4.38l-0.5,1.48l-1.61,0.49l-0.93,-1.22l-0.93,0.11l0.45,2.43l-1.01,0.71l-1.9,0.07l-2.03,-1.35l-0.44,1.08l0.94,2.58l-2.15,-0.19l-1.87,-1.27l-0.64,0.63l-1.33,-1.41l-5.02,-0.68l-0.29,1.22l0.64,0.86l-1.39,1.07l1.3,2.66l-3.18,-0.69l-0.99,0.91l3.65,1.7l-0.49,0.59l0.52,0.53l3.25,-1.28l2.94,-0.36l1.32,0.83l6.71,-0.97l-1.36,1.41l2.36,2.8l-2.7,0.6l-3.21,-0.78l-0.96,-1.92l-1.52,-0.97l-10.24,1.71l-0.61,0.97l0.81,0.74l0.7,-0.57l6.41,-0.12l2.91,0.69l-2.7,0.07l-3.72,2.2l-2.89,-1.13l-4.07,0.92l0.31,0.97l4.62,-0.44l0.75,0.49l-2.04,5.75l0.52,1.3l0.79,-0.47l1.62,-5.07l4.43,-2.33l4.73,0.72l-3.04,2.71l0.21,1.2l3.65,-1.75l3.91,0.39l1.2,3.12l-0.16,2.11l1.14,0.67l-3.09,2.42l-5.59,0.06l-1.11,0.86l0.08,0.94l2.77,-0.28l0.49,0.95l5.32,1.54l0.39,0.76l-1.37,0.5l-0.8,2.86l-5.32,-0.57l-1.6,1.33l0.25,1.1l1.78,0.65l5.04,-0.02l-0.83,3.39l-1.94,-0.74l-2.9,3.31l-1.48,-0.86l-3.65,0.65l-2.4,-1.05l-0.83,2.83l2.74,2.17l0.02,3.58l1.96,1.17l-1.13,1.17l0.25,1.4l-1.46,2.03l0.24,1.16l-2.0,1.75l0.12,-1.32l-0.64,-0.26l-1.79,2.52l-2.82,-0.37l-1.66,1.19l-2.98,-0.37l-4.19,-2.62l-3.75,-5.91l-0.93,0.02l0.24,2.06l1.48,2.19l-0.06,2.42l3.22,1.92l-3.2,1.07l-2.05,-0.28l-0.12,0.9l1.53,0.95l0.7,2.19l1.08,-0.09l3.07,-3.13l5.01,1.29l-1.18,2.84l0.85,0.62l1.7,-3.13l1.38,-1.38l1.27,-0.05l2.13,1.41l0.32,1.24l-1.49,3.21l0.08,1.68l2.71,-0.42l-0.27,1.92l1.75,0.6l1.69,-4.7l1.05,-0.55l2.45,4.33l0.24,3.88l-1.27,0.71l-0.37,2.68l-1.13,1.56l-0.61,-0.43l0.05,-1.71l-1.96,-0.2l-2.11,6.92l-1.45,-0.21l-2.66,2.31l-0.96,-0.18l-2.11,1.39l-0.3,0.82l-1.76,-0.81l1.08,-5.22l-2.54,-1.91l-0.2,-1.2l-0.72,-0.08l-1.38,2.18l-2.71,-0.68l0.08,-2.08l1.15,-2.18l-2.86,1.39l-2.8,-4.26l-0.73,0.8l1.63,3.45l2.4,1.97l-0.52,1.16l0.56,2.12l-3.0,0.93l-1.64,-1.42l-0.33,-2.96l-1.7,-2.06l-0.03,-2.0l-0.6,-0.34l-0.99,1.82l1.81,3.15l0.53,3.63l-2.22,-0.37l-3.6,-5.43l-0.91,0.48l0.76,1.13l0.21,3.65l-1.88,0.31l-1.58,-2.85l-1.33,-0.41l0.58,4.26l3.36,2.1l-4.06,0.78l-0.6,-0.7l-6.11,-1.47l-0.25,-1.66l1.11,-1.5l-2.76,-2.97l-0.46,0.74l1.83,2.29l-1.82,1.26l-0.29,2.61l-1.72,-0.52l-0.45,-1.58l-1.19,-0.11l-1.11,-3.97l-0.72,0.62l0.31,3.91l0.65,0.8l-0.75,1.5l-1.01,-1.89l-0.79,1.24l-2.32,-0.55l0.37,-2.67l-0.99,-2.63l-0.07,-5.11l-0.8,0.13l-0.92,2.26l0.57,2.6l-0.79,0.78l-0.85,4.21l-2.3,-1.8l-0.27,-2.03l-0.94,0.26l1.39,-4.03l-0.8,-2.86l5.95,-5.28l0.12,-1.01l3.66,-0.38l0.48,0.85l1.2,-0.21l0.63,-0.4l-0.3,-1.35l1.25,-0.33l1.53,1.4l1.48,-1.96l-2.98,-0.83l1.23,-1.3l-1.69,-0.5l1.99,-1.15l0.01,-0.73l-4.62,0.26l-0.15,-4.55l-2.79,-2.63l0.44,-3.88l4.54,-2.14l3.75,1.53l2.52,2.87l1.71,7.39l1.03,-0.76l0.8,1.14l2.38,0.43l1.45,1.48l1.65,0.4l0.48,-0.5l-0.84,-2.1l2.49,-0.07l3.23,1.12l0.52,-0.45l-0.4,-1.35l-1.77,-1.17l2.25,-1.39l1.88,-4.33l1.83,-6.33l-0.38,-2.63l1.24,-1.34l-0.41,-0.77l-0.98,0.14l-1.53,1.65l0.25,2.82l-0.9,1.02l-2.07,7.08l-1.97,2.55l-4.9,-0.47l1.84,-3.58l-0.42,-1.99l-2.31,3.72l-1.72,-1.12l0.44,-2.92l2.4,-2.71l1.84,0.19l0.09,-0.86l-1.56,-0.74l-3.62,0.67l-0.97,0.87l-0.93,-1.03l2.79,-2.91l1.78,0.54l2.49,-1.51l-0.36,-0.64l-2.77,0.8l-1.0,-0.8l0.37,-1.3l1.6,-0.84l2.34,0.89l1.11,-0.92l-2.53,-1.11l-2.44,0.46l0.57,-2.56l1.25,-0.99l-0.23,-0.79l-1.27,0.23l0.69,-6.07l-0.66,0.0l-0.89,2.18l-0.75,6.02l-1.81,4.32l-3.64,1.46l0.11,-1.87l1.51,-2.15l0.0,-4.26l-2.21,4.77l-1.49,-0.07l-1.1,2.26l-3.45,-0.05l2.24,-1.71l-1.13,-0.98l-1.15,0.28l-0.09,-5.02l1.57,-2.69l1.71,-0.45l-0.33,-1.08l-1.04,0.08l2.22,-5.38l4.35,-0.89l3.22,-2.37l1.72,1.18l4.75,0.51l3.08,2.66l1.99,0.73l2.71,3.07l0.94,-1.28l-1.92,-2.43l1.56,-0.41l-0.12,-1.19l-0.92,-0.38l-1.93,0.76l-2.3,-2.0l3.89,0.23l1.97,-1.17l1.55,0.41l0.13,-4.04l0.84,-1.58l-0.78,-1.1l-1.85,1.67l-0.92,2.69l-1.67,0.83l-2.17,-1.17l-6.62,0.01l-2.36,-1.93l0.97,-2.21l1.34,0.33l1.16,2.03l2.71,0.4l0.81,-1.0l-3.25,-2.16l-0.3,-2.48l-1.44,0.92l-1.21,-5.65l-2.04,-1.92l-0.94,-3.5l-1.66,-1.68l-5.45,-1.76l0.13,-5.04l3.58,0.7l1.1,0.9l0.84,-1.01l-1.65,-1.5l-4.58,-1.39l-0.61,-2.66l0.47,-4.47l2.35,-0.75l2.91,1.75l6.82,0.0l8.29,9.68l1.21,3.72l1.52,0.99l-0.35,1.77l0.89,0.78l1.35,-1.36l3.9,1.55l0.25,-1.04l3.1,-1.46l0.78,-1.84l-0.48,-0.53l-5.1,1.93l-2.93,-1.38l-1.1,-4.55l1.05,-1.31l-3.86,-1.89l-5.31,-7.57l12.41,-4.94l1.19,-1.65l9.01,-2.3l-0.18,-1.51l-8.12,0.6l6.89,-5.55l7.25,-2.54l-0.0,-1.15l-0.9,-0.71l-6.21,0.77l-3.59,1.59l-0.31,-3.3l1.55,-3.08l-0.13,-1.8l1.14,-0.81l1.79,-3.84l2.17,-1.99l1.05,-2.43l-1.11,-0.39l-5.09,5.04l-1.84,3.71l0.04,2.02l-3.46,-2.08l0.19,1.27l1.88,2.04l-0.89,2.04l0.81,1.51l-1.36,3.73l-5.1,5.15l-6.47,3.44l-2.88,0.56l0.06,-2.18l4.03,-2.58l1.53,-3.04l-1.59,-0.63l-2.52,2.89l-3.57,1.37l-0.11,-0.89l1.71,-2.36l-1.42,-0.71l-1.54,2.61l-0.89,-0.11l0.78,3.85l-0.34,2.24l-2.15,0.9l-2.45,-0.37l-0.92,0.72l-2.85,-0.66l1.04,-2.46l-1.46,0.68l-1.13,1.77l-2.57,-1.54l3.77,-9.32l2.48,-2.15l10.36,-3.87l1.42,-0.97l0.25,-1.18l-15.16,5.18l-2.55,3.23l-3.68,8.19l-1.52,-0.28l-5.52,-4.12l-2.24,-3.03l4.25,-1.92l3.52,0.41l4.2,-0.87l1.82,-1.89l1.94,-0.42l-0.13,-1.51l4.29,-3.96l0.25,-1.51l-2.63,0.01l-2.72,1.88l-2.58,3.29l-3.64,1.65l-2.07,-0.21l-8.46,1.96l-1.28,-1.35l-0.52,-3.13l1.09,-1.27l1.94,1.0l2.9,-1.73l-0.72,-0.69l-1.46,0.36l-2.15,-1.84l3.74,-3.35l0.85,0.04l-0.24,-1.23l3.26,-0.87l3.07,1.13l0.75,-0.39l-0.28,-0.99l-4.96,-2.2l-8.72,6.37l-1.32,-2.12l5.1,-4.06l0.23,-0.89l-1.89,-0.43l-1.67,-2.12l-0.45,1.26l-1.34,-0.39l-1.34,1.78l0.02,1.51l-1.09,0.35l-0.29,-1.24l-1.85,-0.94l0.27,-0.49ZM467.22,187.34l-0.02,0.7l0.08,0.54l-0.23,-0.5l0.17,-0.74ZM511.4,194.3l-0.08,0.24l-0.06,0.04l0.07,-0.21l0.07,-0.07ZM521.76,108.32l4.22,-0.05l0.38,1.75l1.07,0.74l-3.95,0.26l-1.72,-2.7ZM462.41,44.68l-0.48,-0.1l0.11,-0.41l0.37,0.52ZM479.98,42.56l-0.16,-0.42l0.09,0.02l0.07,0.4ZM553.75,2.1l0.09,-0.05l0.0,0.03l-0.09,0.01ZM485.99,154.18l-1.65,1.09l-0.22,-0.13l0.52,-1.19l1.35,0.23ZM569.79,661.05l-0.05,-0.21l0.07,-0.55l0.68,0.7l-0.69,0.06ZM569.0,481.37l0.25,0.11l-0.12,0.21l-0.05,-0.02l-0.08,-0.31ZM566.07,517.84l0.13,-0.53l1.96,-0.83l-0.06,0.3l-2.04,1.05ZM560.16,465.59l2.1,-1.05l3.51,-0.14l0.32,0.76l1.55,0.15l1.51,2.38l-0.35,1.42l-2.69,1.96l-5.95,-5.48ZM567.74,657.21l0.59,-0.24l0.46,0.97l-0.38,0.0l-0.67,-0.73ZM567.08,481.73l0.79,-0.2l0.12,0.15l-0.37,0.09l-0.54,-0.03ZM563.91,454.17l0.28,-0.52l2.0,-0.55l-0.62,1.38l-1.66,-0.3ZM561.74,604.49l0.36,-1.75l3.07,-1.32l-2.77,2.79l-0.66,0.28ZM562.62,591.14l0.29,-0.1l0.15,0.19l-0.33,-0.12l-0.11,0.03ZM561.9,579.26l0.03,-0.21l0.16,-0.38l0.23,0.82l-0.42,-0.23ZM562.22,593.87l-0.14,-1.09l0.27,-0.29l0.22,0.48l-0.34,0.9ZM546.79,664.8l1.55,-2.51l4.66,-1.23l3.06,0.13l4.08,4.11l1.48,3.29l-3.39,-0.09l-11.44,-3.71ZM555.47,342.98l2.64,-0.2l0.34,1.06l-1.68,2.76l0.27,1.38l-1.29,0.66l-1.48,-1.7l-0.39,-3.32l1.12,-1.0l0.47,0.38ZM548.37,497.83l-0.35,-4.63l1.73,-5.02l1.16,-0.82l1.47,0.44l0.98,-0.93l2.54,2.46l0.32,2.13l-3.07,11.1l-4.6,-3.84l-0.17,-0.89ZM554.12,536.8l0.54,-0.67l0.8,0.1l-0.82,1.01l-0.52,-0.44ZM553.2,539.49l0.02,-0.17l0.05,0.01l0.01,0.12l-0.07,0.05ZM518.38,254.51l0.02,-3.28l1.94,-0.65l2.28,1.5l0.72,-0.61l3.81,1.55l8.24,-1.79l4.72,1.82l1.83,1.34l1.29,2.82l2.0,0.59l1.36,3.33l2.32,1.15l0.14,2.91l1.58,0.57l0.16,1.42l-1.02,0.76l-12.46,-0.08l-6.24,4.05l-2.27,0.18l-2.95,-1.96l-1.55,-3.7l-0.47,-4.43l-4.24,-0.78l-0.48,-0.67l-0.23,-3.23l0.9,-0.63l-1.39,-2.18ZM542.4,343.23l1.71,-3.49l2.32,-0.76l0.1,-1.74l0.81,0.38l0.67,1.17l-0.8,1.23l-4.81,3.21ZM539.83,355.35l1.02,-3.29l1.77,-0.72l1.11,-3.34l0.91,-0.14l-0.76,-1.61l2.39,-1.22l0.67,1.28l-0.6,1.55l-0.94,0.07l-2.03,7.01l-2.55,1.82l-0.98,-1.41ZM544.39,363.79l1.03,-0.85l0.6,0.66l-0.77,0.79l-0.86,-0.6ZM546.23,361.86l-0.26,-0.62l-1.1,-0.62l2.08,0.52l-0.0,0.9l-0.72,-0.19ZM543.01,367.74l1.19,-0.44l0.95,0.97l-1.19,2.11l-0.95,-2.63ZM491.5,444.21l0.6,-0.54l-0.58,-3.61l1.19,-14.31l3.45,-4.37l0.11,2.65l0.82,0.13l0.58,-0.88l1.19,0.7l1.14,3.24l-1.81,0.99l-0.23,0.9l2.67,2.32l0.99,4.1l1.57,-0.26l1.49,-5.17l3.04,2.44l-0.42,1.38l1.36,1.37l5.93,1.02l2.1,3.77l2.76,1.13l1.6,1.85l1.51,0.59l1.71,-0.47l5.13,4.44l0.28,3.89l1.81,2.28l-0.08,0.86l-2.81,1.51l-0.02,1.94l4.49,-1.05l1.44,-1.05l3.48,1.36l0.51,-0.57l-0.38,-1.92l2.94,2.24l0.11,1.01l-1.42,-0.11l0.39,1.02l4.41,1.63l-2.32,0.89l-3.6,4.37l-0.37,1.42l-0.79,-0.13l-8.74,-3.71l-3.42,0.48l-0.61,-1.02l1.33,-1.33l-0.06,-2.1l-1.9,-1.28l-4.59,0.66l1.0,-3.43l-0.5,-0.96l-1.15,-0.14l-0.97,1.27l-3.03,0.75l-1.17,2.31l0.84,4.2l-1.24,0.31l-2.38,3.21l-1.83,-0.12l-2.37,6.34l-4.18,3.28l-3.23,0.73l-1.16,-2.5l0.12,-6.95l-1.51,-3.22l-1.1,1.42l-3.38,1.23l-3.76,-0.09l-1.91,2.06l-1.94,0.07l-0.65,-0.91l0.24,-1.85l2.24,-3.9l6.11,-3.91l-1.64,-4.15l-0.66,-5.63l1.24,-4.08ZM537.03,125.67l0.14,-0.6l1.77,1.03l-0.27,0.43l-1.64,-0.86ZM528.04,339.31l1.24,0.37l0.11,0.47l-1.79,0.18l0.44,-1.02ZM530.38,340.78l0.27,-1.09l-0.83,-1.63l1.44,-0.15l0.93,1.53l2.86,-1.09l0.44,-1.19l1.15,0.08l0.99,1.53l-1.6,1.72l-1.98,0.49l-1.54,-0.55l1.0,2.87l-1.35,-0.46l-0.17,-1.79l-1.59,-0.26ZM532.71,453.04l0.06,-0.06l0.37,-0.01l-0.25,0.1l-0.18,-0.03ZM516.53,485.9l0.87,-1.45l0.09,-2.41l1.48,-1.87l2.19,1.47l3.25,-2.28l2.59,0.08l1.19,-1.35l3.08,0.71l-0.28,4.19l-3.25,2.92l-0.63,1.91l-5.19,5.86l-1.93,-1.17l-3.35,2.23l-0.27,-2.41l-2.11,-2.98l2.26,-3.44ZM224.48,339.27l10.41,-29.68l3.07,4.97l8.62,5.59l0.69,2.27l2.5,3.21l4.41,3.07l1.14,1.6l2.02,0.19l2.98,2.06l0.89,-0.13l2.4,2.31l0.78,-0.7l-1.76,-3.42l2.36,1.93l2.42,-0.32l2.76,3.37l0.88,-0.03l1.2,2.81l1.35,1.18l0.3,2.22l1.65,2.99l-0.64,1.68l0.97,0.74l-1.14,2.31l-6.49,-2.8l-0.42,0.7l0.81,1.53l-0.59,0.64l-2.27,-1.38l-0.61,0.37l-0.84,2.67l0.38,0.97l-2.87,0.38l-0.51,0.95l1.74,1.32l1.04,1.98l3.02,0.67l2.45,2.45l1.4,0.13l2.17,1.57l10.93,3.14l1.2,-0.96l2.0,0.4l0.07,1.09l0.81,0.42l0.63,-1.44l3.09,1.24l1.94,-1.54l-0.11,1.43l1.58,0.24l5.48,-2.57l0.88,-0.15l1.11,1.15l0.63,-1.72l-0.24,3.09l0.7,0.76l0.69,-0.72l0.19,3.26l1.6,1.08l0.96,-1.0l2.37,0.99l0.28,3.64l-0.97,1.47l1.05,2.55l1.18,-0.34l1.72,-4.6l-0.29,5.31l0.94,0.54l0.67,-1.63l1.95,3.58l0.33,2.6l-0.29,1.31l-1.69,-0.59l-0.91,0.77l-2.38,-3.14l-0.55,0.44l0.28,2.54l2.58,2.29l-0.03,1.5l-0.9,0.74l1.74,0.69l0.16,3.36l0.73,0.24l0.29,-0.67l0.93,3.59l2.54,4.51l0.56,-1.13l-2.78,-7.77l0.7,-2.8l0.59,1.56l1.23,0.59l0.8,-2.68l1.13,2.62l1.02,0.02l-1.47,-5.0l0.9,-0.19l0.74,-1.4l-2.13,-2.14l-0.43,-3.54l1.13,-2.31l-2.38,-4.66l0.26,-1.42l0.68,-1.28l2.24,-0.89l0.39,-1.05l-0.68,-0.64l0.69,-0.93l2.24,0.49l1.65,-1.04l3.04,0.68l0.83,-1.69l0.83,0.37l0.32,-0.89l0.43,1.39l1.37,-0.19l-0.61,-1.7l0.59,-1.86l5.7,-0.59l0.67,-1.61l-0.38,-1.27l1.23,-1.54l-0.22,-0.61l-1.26,0.27l-1.13,-0.69l-4.95,1.61l-1.26,1.37l0.86,1.59l-0.65,0.65l-1.29,-1.72l-1.95,0.63l-1.81,1.67l-2.11,-2.13l-2.12,-0.27l-1.21,1.95l0.93,1.49l-4.02,0.08l-0.35,-3.71l-2.76,0.75l5.19,-6.15l7.85,-0.24l8.82,-3.41l2.59,1.66l1.74,3.52l-0.75,1.35l0.7,3.02l-1.58,1.89l1.51,0.48l0.03,1.25l2.72,3.18l2.26,0.0l-0.79,1.66l1.16,2.86l5.67,1.14l0.86,-0.74l1.24,0.18l1.04,-1.88l-0.19,3.16l2.89,2.32l1.11,2.33l2.43,1.12l1.52,2.07l1.06,-1.23l1.39,0.04l0.82,1.22l2.25,0.99l2.9,-1.25l2.29,0.29l1.89,-1.43l0.83,0.87l1.38,-0.92l6.44,1.64l2.19,2.05l2.76,0.65l0.45,-1.05l1.12,0.08l0.53,-0.78l2.72,-0.03l-0.65,-2.06l-1.84,-1.78l0.07,-1.92l0.73,-0.05l4.38,8.36l2.67,2.31l2.38,-1.08l0.96,0.6l1.32,-1.43l-0.93,-1.05l0.67,-1.15l-0.81,-2.97l-0.65,-0.18l-0.52,0.86l-2.33,-3.23l-2.98,1.2l-0.74,1.82l-1.81,-4.08l1.15,-2.2l-1.3,-1.23l-0.95,-2.33l0.41,0.49l1.06,-0.68l1.61,1.55l3.97,-1.42l-1.75,-3.21l1.71,0.28l1.22,2.35l0.82,-0.62l-0.63,-1.05l0.79,0.01l2.78,3.39l-0.51,1.81l1.23,0.6l1.74,-0.66l0.39,1.96l-1.87,2.21l0.45,1.19l1.07,0.06l0.37,-0.73l1.35,0.34l0.05,-2.01l3.31,-1.93l-2.26,10.07l-1.15,0.65l-1.37,4.54l2.71,1.5l-1.35,3.33l1.16,0.91l0.87,0.02l2.55,-2.56l1.14,0.23l-2.48,3.23l0.46,0.54l2.29,-0.85l1.07,3.83l-0.69,0.79l-0.87,0.03l-0.32,-0.82l-2.25,0.7l-0.22,-2.61l-1.42,1.67l-0.98,-0.04l0.01,-1.45l-0.95,-0.71l-1.25,0.87l2.59,5.12l1.83,1.52l0.07,3.2l0.62,0.46l1.74,-1.81l-0.09,-1.39l-0.49,-0.51l-0.53,0.64l-2.24,-4.1l5.81,1.19l1.21,-1.66l-0.77,-3.86l1.55,-2.61l-1.19,-1.53l-0.44,-2.43l0.64,-1.82l-2.68,-3.83l1.36,-1.41l-0.06,-2.11l1.27,-3.03l0.98,0.79l1.08,-0.91l2.7,1.03l4.92,-4.77l0.76,-3.04l5.89,-4.28l0.06,-0.55l-2.54,0.03l1.29,-4.2l-0.48,-2.74l-1.56,-0.33l0.09,-2.09l-1.38,0.93l-1.22,3.1l-0.02,1.06l0.75,0.43l-0.87,0.88l-2.12,0.51l-1.23,-0.72l0.37,-3.7l1.04,0.58l3.51,-4.41l-0.31,-0.69l-1.96,0.28l0.4,-3.15l3.29,-0.43l-1.04,1.69l0.19,2.02l0.66,0.2l3.72,-4.16l-0.12,-0.8l-1.22,0.19l0.95,-2.36l-1.2,-1.18l-2.52,0.89l-0.3,1.01l-2.63,-0.42l-2.48,-5.15l-1.12,0.57l-0.51,1.8l-3.7,-2.56l-1.82,-2.33l-2.36,-0.27l-0.5,-3.29l-1.16,-0.62l-1.65,-3.41l0.19,-4.23l1.56,-1.49l0.59,-2.41l0.75,0.08l0.47,-1.03l1.74,1.31l0.65,-0.46l-1.77,-1.69l1.82,-2.37l-1.22,-0.06l-2.0,1.53l-2.27,-3.41l2.08,-6.34l-1.21,-0.92l1.28,-0.4l-0.57,-2.81l1.13,-0.1l1.07,-2.14l0.99,-0.1l1.95,2.72l1.27,0.08l1.09,-2.03l-0.68,-1.12l1.26,-2.02l-3.16,-0.42l-0.45,-1.61l2.8,-2.14l1.55,0.02l0.61,-2.28l2.29,-0.15l1.05,0.27l0.34,1.88l1.37,-1.05l0.01,2.96l1.67,-2.31l1.75,0.58l1.19,-0.48l-0.76,2.42l5.56,6.86l0.65,6.62l-0.38,3.5l-0.67,-0.38l-0.34,0.96l2.43,2.04l0.21,2.15l2.47,0.98l0.33,3.3l1.82,2.28l-0.77,1.36l1.62,1.29l0.64,-1.77l0.6,0.07l-0.06,2.68l1.31,0.89l-3.08,0.37l-1.91,-2.81l-1.17,0.57l0.43,0.71l-1.34,0.59l0.57,0.61l-1.22,1.91l1.31,0.68l1.02,-0.88l1.26,0.14l0.86,0.98l-2.28,2.89l-2.9,1.73l-1.98,3.08l2.03,0.54l1.89,-0.62l2.12,2.78l2.21,1.48l3.01,-3.73l1.29,0.51l-2.65,1.88l0.02,0.7l2.97,-0.72l0.63,0.96l1.39,-0.16l0.36,0.69l1.02,0.01l0.53,-1.03l1.52,0.89l-0.6,0.64l-0.48,-0.53l-1.01,0.39l0.45,0.62l-1.08,0.99l-0.25,1.61l-0.66,-1.61l-1.72,1.43l-1.69,-1.37l-0.67,0.29l5.9,6.11l-0.39,1.34l0.76,0.7l-0.12,1.27l1.3,0.85l-1.1,1.36l0.62,0.65l0.15,5.16l-0.94,1.83l1.82,1.52l-0.76,1.04l1.18,-0.07l0.75,2.4l1.47,-0.7l-0.22,-1.21l2.53,-4.71l-0.88,-1.61l0.66,-1.17l0.25,1.24l0.85,-0.82l0.03,-7.76l3.52,-5.21l1.47,0.7l1.7,3.2l5.43,5.67l1.93,9.81l-0.74,1.96l-1.47,-0.53l-0.28,-2.77l-1.98,1.93l0.78,3.99l-0.65,2.99l1.99,6.42l5.48,6.44l0.69,2.03l-0.88,0.97l-0.09,1.63l0.8,0.3l0.68,-1.15l0.35,1.43l0.78,-0.01l0.44,-2.43l0.83,0.85l1.19,-1.63l-0.28,-1.39l0.74,-1.69l2.29,1.14l0.87,-0.85l0.25,-4.84l-0.63,-1.66l1.23,-3.16l3.31,-4.63l-0.01,-2.78l0.72,-0.74l-0.38,-2.13l1.03,-2.63l-0.67,-3.78l0.49,-2.13l1.4,-0.43l1.49,0.7l0.49,-0.72l3.33,-0.12l-0.45,-2.01l-1.59,0.03l-1.06,-0.4l1.21,-0.49l-0.1,-1.13l1.6,-0.05l-0.18,-1.05l-0.94,-0.34l2.55,0.15l0.54,-0.81l-1.73,-0.8l-0.34,-0.92l-1.18,0.19l-0.77,-2.04l-2.66,-0.4l-0.82,-1.5l0.81,-0.1l0.0,-0.83l-0.96,-1.22l0.99,-1.18l-0.72,-0.74l-0.71,0.27l0.02,-1.04l0.96,-0.72l-1.19,-2.09l1.29,-3.37l1.71,0.98l1.8,-1.51l3.23,-0.54l4.79,2.88l2.79,0.38l5.52,-0.71l-0.24,1.63l-0.91,0.6l1.79,1.11l-5.0,-0.84l-0.47,1.18l6.95,1.74l1.5,2.03l-0.72,1.48l0.5,0.56l3.8,-0.97l2.98,1.18l0.36,1.29l-1.6,2.39l-3.57,3.4l2.94,-0.68l1.34,1.48l0.97,-0.97l1.12,1.62l0.07,2.62l-2.43,2.77l-1.12,-0.34l-1.18,2.16l-0.64,-1.43l-1.23,-0.48l-0.93,0.34l0.73,1.2l-2.85,-1.27l-0.61,0.89l0.8,0.9l-0.78,0.72l2.38,1.64l-0.88,0.27l0.47,1.3l1.32,0.08l-0.48,2.02l1.95,1.1l-0.36,2.19l0.93,2.29l7.22,7.8l-0.46,8.01l-0.47,1.76l-3.69,1.09l-1.27,5.13l-1.52,0.1l-1.53,3.31l-3.21,0.57l-0.36,1.57l-2.63,2.63l-1.82,-3.11l-1.56,-0.52l-1.22,-1.47l0.84,-0.02l0.3,-0.94l-0.88,-1.37l0.07,-2.94l-0.75,0.13l-1.27,3.29l-0.76,-0.18l0.3,-1.92l-1.46,-1.06l-0.06,-2.04l-4.96,-1.37l0.52,1.66l-2.58,1.27l-0.05,1.65l0.92,0.71l1.52,-0.57l1.28,-1.95l0.9,2.46l2.33,0.87l-0.56,1.2l1.17,0.78l1.2,-0.25l-0.39,1.76l2.5,2.69l0.7,2.76l1.26,1.62l-1.31,0.22l-2.21,-2.28l-1.33,0.72l-1.52,-2.2l-1.24,1.82l2.26,2.97l-3.5,-1.81l-1.0,0.26l-1.06,-1.4l-0.94,1.28l-1.01,-4.35l-1.69,-2.05l-2.87,1.73l-2.16,0.21l-1.61,-1.0l-0.78,0.7l-1.44,-0.65l-0.35,0.93l-1.35,-0.12l0.47,1.42l-0.78,0.64l1.71,2.75l2.48,0.54l3.42,1.99l-0.82,1.21l0.29,1.35l-3.46,2.77l-0.86,4.49l-3.52,2.99l-1.11,1.7l0.29,1.02l-2.17,1.42l-5.44,-0.4l-3.38,-3.83l-1.96,-1.11l1.98,0.38l0.35,-0.84l-5.88,-1.93l-4.76,-4.34l-3.09,-0.04l2.03,2.44l-2.02,-1.36l-1.25,0.27l-0.41,-1.0l-1.47,0.42l-7.61,-1.47l-1.67,0.63l3.86,3.52l0.78,-0.69l-0.83,-1.67l8.95,2.69l3.98,3.69l0.64,2.11l1.78,1.27l1.28,2.27l8.42,1.2l2.68,-0.06l0.73,-0.68l4.93,1.04l0.9,1.55l-0.24,1.63l-1.03,1.03l-1.57,4.77l-1.71,0.78l-0.47,3.24l-1.97,1.14l-2.32,7.37l-0.94,-0.04l-4.12,3.41l-3.38,-1.51l-1.02,-2.09l-0.87,0.6l1.13,2.59l-2.84,-1.61l-0.7,0.6l-1.08,-0.5l-0.16,-3.36l-3.42,2.27l-0.05,0.72l1.38,0.47l0.48,1.07l-1.34,0.94l-0.86,-0.9l-1.17,0.51l2.71,3.88l-0.95,0.21l-0.8,2.81l-1.89,0.39l-0.23,-0.94l-1.65,-0.78l-0.8,1.51l1.26,0.44l-2.79,0.72l-5.08,-3.21l-1.21,0.14l-0.42,-1.14l-2.12,0.46l0.4,-1.11l-1.23,-0.2l-0.68,1.26l-2.38,-0.59l-9.09,-5.07l-1.31,-1.52l-0.1,-1.25l-1.79,-0.68l1.46,3.62l-1.67,0.73l1.11,2.5l2.55,1.43l1.53,-0.47l0.27,-0.5l-1.81,-2.08l6.31,3.9l1.37,-0.58l0.64,1.4l1.83,0.49l-0.34,1.0l-0.74,-0.38l-2.27,2.01l0.88,1.18l2.55,-0.4l0.29,-1.38l3.25,-1.78l3.36,4.54l3.46,0.45l0.25,1.24l2.0,0.84l0.42,5.65l-1.07,1.87l-2.1,-0.17l-3.58,3.08l-6.01,-1.84l-0.37,1.26l-2.6,-0.41l-0.4,1.17l1.52,2.4l3.47,0.94l-0.59,1.4l-1.08,-0.3l-0.33,-1.22l-2.38,1.27l-0.26,-1.03l-1.49,-0.62l-0.48,0.6l0.5,2.44l-1.28,0.07l-0.91,2.87l-4.1,-1.05l4.19,3.17l-2.98,0.84l-0.3,0.85l0.81,0.74l-1.17,1.03l-1.17,-0.68l-1.18,0.74l1.06,1.19l-0.7,0.63l-1.72,-0.71l-0.48,0.61l0.55,0.71l-0.52,1.16l1.48,0.65l0.23,1.97l-4.07,2.49l-1.42,2.04l0.19,1.66l0.98,1.0l-2.1,-0.35l-0.42,0.57l0.86,1.7l-0.83,1.09l0.32,1.46l-2.99,4.42l-1.82,5.77l-1.44,-0.29l-1.34,1.34l1.64,2.12l-2.04,7.01l-34.0,-2.48l-33.8,-3.8l10.71,-81.63l-31.59,-11.1l-25.71,-9.97l-3.84,-3.25l-7.01,-13.94l-14.83,-3.67l-25.6,-33.48l-22.77,-34.44ZM431.43,497.66l0.31,-0.12l0.17,0.01l-0.2,0.26l-0.28,-0.15ZM433.43,493.16l1.61,0.52l0.09,0.54l-0.15,0.11l-1.55,-1.16ZM459.86,461.22l0.41,0.12l0.06,0.53l-0.42,-0.04l-0.04,-0.61ZM466.21,460.65l0.17,0.26l-0.02,0.0l-0.16,-0.26ZM457.33,422.91l-0.21,0.13l-0.28,-0.01l0.5,-0.12ZM510.45,414.38l0.09,0.15l-0.04,0.09l-0.06,-0.23ZM452.6,352.21l0.03,0.15l-0.01,0.1l-0.08,-0.08l0.07,-0.17ZM409.93,384.6l0.12,0.01l-0.05,0.33l-0.07,-0.28l-0.01,-0.06ZM408.2,373.33l-0.03,-0.49l0.36,-0.47l-0.09,0.56l-0.23,0.39ZM318.49,387.42l0.17,-0.15l0.1,-0.19l-0.02,0.65l-0.25,-0.3ZM318.8,386.55l-0.03,-0.21l0.0,-0.15l0.04,0.09l-0.01,0.27ZM320.92,364.54l0.05,-0.18l0.03,-0.08l0.11,0.08l-0.19,0.18ZM329.82,363.21l-0.02,-0.07l0.05,-0.02l-0.02,0.09ZM343.75,364.08l-0.01,-0.29l0.6,-0.07l-0.05,0.14l-0.54,0.22ZM393.17,373.66l-0.08,-0.14l0.13,-0.03l-0.03,0.08l-0.02,0.08ZM393.23,373.44l0.07,-0.35l0.01,-0.02l-0.02,0.16l-0.07,0.21ZM431.06,350.19l0.25,-0.55l0.38,-0.32l-0.44,0.76l-0.19,0.11ZM427.63,295.62l-0.28,-0.5l-3.9,0.29l-0.05,-0.78l0.27,-0.75l4.16,-0.81l0.66,1.13l-0.85,1.43ZM524.08,151.98l-0.31,-0.7l1.09,-0.68l0.05,0.73l-0.83,0.65ZM520.21,200.3l0.21,-1.47l2.86,-4.4l0.44,0.9l-1.75,2.84l0.99,1.66l-1.45,0.22l-0.61,1.26l-0.7,-1.01ZM420.31,181.66l0.5,-1.13l0.61,1.02l2.18,0.2l0.2,-2.11l-2.58,-1.69l-0.08,-0.91l1.13,-0.95l0.69,0.51l1.21,-0.61l0.2,-1.3l2.62,-0.71l1.81,0.46l2.56,2.13l2.24,0.35l0.31,1.19l1.42,0.92l1.0,0.0l0.77,-1.08l1.13,0.45l2.52,4.68l-0.84,3.95l-2.07,2.49l0.7,1.81l1.09,-0.5l-0.59,-0.64l1.22,-0.89l1.6,-3.53l3.93,0.81l2.28,-1.58l2.88,-0.6l2.67,1.15l2.12,2.19l0.21,1.53l-1.81,-0.45l-0.43,-0.79l-0.97,0.82l-1.37,-0.9l-1.56,0.62l1.0,1.43l5.16,1.83l0.58,-0.43l6.3,2.56l0.54,1.01l-0.8,1.12l-6.37,0.59l-6.69,-2.54l1.9,1.9l-0.65,1.59l3.73,0.57l-0.82,0.92l0.39,0.6l-2.01,0.42l1.12,1.93l-1.13,0.97l0.03,1.86l0.86,0.06l1.6,-2.88l1.55,-0.39l-0.48,1.34l0.76,0.64l1.1,-1.51l0.94,0.71l0.6,-1.22l0.75,0.45l0.75,1.32l-0.37,2.78l0.86,0.09l1.07,-1.42l1.61,1.73l-0.48,2.76l-1.94,0.28l-0.93,1.73l0.79,0.81l2.49,-0.89l0.58,2.19l1.33,1.51l1.42,-0.6l-0.79,-3.93l0.76,-1.35l2.52,2.98l-0.56,0.98l0.98,0.87l2.69,-2.59l1.11,1.8l-0.58,0.81l1.4,0.22l0.46,-1.42l-0.54,-1.26l0.93,-1.27l2.81,3.26l2.28,0.92l-1.19,1.0l0.32,0.71l3.62,-1.4l2.85,0.31l0.14,-0.97l-3.53,-1.62l2.66,-1.59l2.21,0.32l1.6,-2.35l2.51,0.56l0.44,-0.95l-0.77,-0.68l1.79,-0.55l2.24,-2.61l4.55,1.5l4.51,-2.83l6.91,0.84l-0.53,2.99l5.66,-0.04l1.75,1.99l-1.7,1.15l0.27,0.97l3.83,-0.52l1.21,1.6l-0.53,1.79l0.92,0.75l-0.62,1.94l-1.14,0.29l-0.73,1.93l-2.6,2.21l1.13,1.01l-0.52,2.49l1.8,1.16l-0.62,1.36l0.74,1.02l-0.26,2.91l-5.19,0.58l-3.82,3.12l-3.42,-0.96l-0.78,-1.29l-0.97,1.46l-0.82,-0.18l-2.21,-2.91l-0.2,-3.81l-3.13,-1.87l-0.24,1.98l1.36,1.75l-0.71,4.18l-4.35,1.76l-3.71,0.19l-0.9,-4.45l-0.95,1.65l0.34,2.55l-0.53,0.71l-0.65,-0.02l-1.6,-4.47l-0.45,4.52l-2.58,0.37l0.09,-1.23l-1.15,-1.89l-1.13,3.17l-2.73,-3.02l-0.24,2.09l0.93,1.46l-1.06,0.13l-1.09,-0.96l-0.22,0.83l-0.85,0.11l-0.44,-1.8l-2.14,2.11l-0.75,-1.4l-0.82,0.91l-3.57,-0.34l-0.03,-2.5l1.42,-3.71l-1.17,-0.53l-0.8,-2.75l-1.07,1.47l-0.69,3.45l-0.18,-1.92l-1.67,-1.41l0.22,2.6l-1.36,-0.56l0.99,1.98l-0.25,1.63l-1.66,1.1l-2.62,0.5l-0.42,-1.29l-0.95,0.62l-1.0,-0.68l0.06,-0.86l-1.62,0.41l-1.17,-3.02l-1.41,0.98l1.62,-2.83l-0.59,-1.76l-4.4,5.7l-0.72,-1.79l-2.33,-1.7l0.36,-2.51l-1.15,-3.73l1.17,-0.44l-0.22,-1.71l-1.56,0.09l-0.97,-1.66l1.02,-3.31l-0.61,-0.69l0.38,-1.33l2.31,-3.37l-0.88,-3.82l0.34,-2.99l-2.37,-2.58l-0.62,-3.84l-2.17,-5.39l-1.27,-0.83l-1.98,1.44l-0.9,-0.3l-0.65,1.31l-4.34,-0.35l-1.27,-1.64l-3.24,-1.66l-2.26,-0.08l-0.71,-0.86l-0.49,-1.5l1.84,-0.12l1.17,-2.1l-0.46,-0.51l-1.97,1.2l-2.68,-3.53l-2.35,-0.75ZM451.53,232.53l0.2,0.49l-0.18,-0.03l-0.02,-0.47ZM519.43,222.72l2.08,-1.78l0.93,0.21l1.51,2.32l-2.89,1.86l-1.28,-0.76l-0.35,-1.86ZM455.33,199.74l0.6,-0.68l1.56,0.5l-0.2,0.22l-1.97,-0.04ZM431.08,193.14l-1.37,1.01l-1.29,-0.29l1.88,-1.41l0.78,0.69ZM519.33,369.36l0.08,-0.17l0.17,0.21l-0.24,-0.04ZM514.4,412.13l0.0,-0.0l0.0,0.01l-0.0,-0.0ZM514.58,412.33l1.89,1.01l-0.22,0.67l-1.74,-1.07l0.07,-0.61ZM505.06,417.57l-0.03,-0.82l3.18,1.26l2.57,2.18l0.11,1.35l-1.66,2.13l-1.01,-0.16l-0.76,-4.02l-2.41,-1.91ZM511.99,423.88l0.53,0.2l-0.02,0.3l-1.34,0.67l0.82,-1.17ZM512.86,424.78l0.64,-0.22l1.49,-0.08l-0.52,1.37l-1.6,-1.06ZM512.76,421.7l0.73,-0.05l-0.36,0.47l-0.37,-0.42ZM509.13,194.54l0.2,-0.25l0.21,-0.1l-0.34,0.37l-0.08,-0.02ZM505.31,340.84l-0.75,-0.58l0.04,-0.62l1.46,0.3l-0.75,0.9ZM499.75,419.3l1.02,0.26l1.78,3.19l1.39,3.85l-0.75,1.32l-1.05,-2.07l-2.03,-1.69l-0.36,-4.86ZM493.21,188.12l0.28,0.32l-0.08,0.36l-0.23,-0.13l0.04,-0.54ZM483.42,380.75l0.8,-1.64l-1.23,-1.79l1.89,-4.42l1.7,1.75l0.49,5.12l-1.32,4.42l-1.73,-1.43l-0.61,-2.01ZM484.15,162.05l1.7,-0.5l1.0,1.62l-1.04,0.74l-0.12,-1.25l-1.54,-0.62ZM479.08,334.77l1.48,-0.55l1.82,0.89l1.27,-0.58l0.97,2.02l-1.78,0.37l-1.64,-0.88l-0.74,0.52l-1.39,-1.79ZM427.65,95.01l0.27,-1.04l1.22,0.23l1.58,2.01l3.93,1.28l1.49,-0.22l1.8,1.72l0.72,-0.12l-1.6,-3.36l1.04,-1.26l2.04,-0.47l-0.04,-0.97l-2.53,-1.14l-1.83,2.17l-1.74,0.26l-0.95,-1.25l1.76,-0.53l0.22,-1.33l-2.25,-0.14l-1.26,1.09l-2.31,-2.07l0.39,-1.21l0.99,0.11l0.63,-1.26l2.63,1.42l0.57,-0.4l-0.16,-1.39l-2.47,-2.77l0.74,-1.3l-0.35,-0.92l4.17,-0.23l1.75,1.38l2.55,0.29l0.43,0.81l1.17,-0.55l-0.98,-1.99l-2.46,-0.81l-0.37,-0.98l0.08,-0.6l2.29,-0.25l0.11,-1.13l-3.86,-1.4l0.69,-0.71l-0.44,-0.87l-2.49,0.14l1.73,-1.45l-1.35,-0.79l1.22,-2.91l1.29,-1.01l1.81,2.76l2.64,-1.83l-0.15,-1.22l-1.04,-0.57l1.28,-0.11l1.29,0.95l1.89,-0.69l0.52,-2.62l-0.74,-1.47l-3.04,0.03l-1.69,-1.25l0.7,-2.47l1.83,0.73l0.57,1.15l0.83,-0.76l-0.19,-1.48l0.65,0.25l4.27,3.47l1.67,2.64l-0.43,2.4l1.58,2.67l1.88,6.54l2.15,2.67l-0.55,2.47l3.34,0.83l1.0,2.0l0.82,-0.11l-0.26,-1.63l1.61,-0.09l1.03,1.58l-0.85,1.74l0.69,0.56l-0.7,2.2l1.17,3.27l2.62,2.67l0.96,-0.69l1.24,0.34l0.84,1.37l2.79,-0.41l1.09,2.79l-2.16,3.13l1.2,0.27l1.22,-1.54l-0.58,6.24l-1.43,2.18l0.31,1.7l1.29,0.08l1.04,-2.22l1.07,1.33l0.72,-0.98l-0.31,-1.59l1.53,-0.13l1.13,1.76l-0.42,3.04l1.26,0.71l1.02,-4.81l1.45,4.01l2.55,4.05l-2.54,3.13l-4.99,2.97l-0.71,2.6l-0.81,-2.36l-0.82,-0.01l0.24,3.95l-2.97,6.75l-1.5,-4.29l-0.01,-3.36l0.86,-1.09l0.2,-2.51l-0.74,-0.07l-0.73,1.99l-1.25,0.49l0.24,8.2l-1.07,0.74l0.43,0.7l1.35,-0.23l0.55,2.31l-1.07,1.91l-1.67,-3.62l-1.84,0.17l1.38,5.18l-1.23,6.18l-5.86,-11.61l-0.9,0.8l0.12,2.33l2.56,7.01l-1.18,-0.05l-1.29,-2.64l-2.92,-0.26l-0.73,0.89l2.06,1.11l0.3,2.6l-2.68,0.25l-3.61,-1.19l-1.24,-1.3l-1.27,0.5l-0.49,-2.72l-1.98,-0.11l-1.78,-3.64l1.74,0.12l3.69,-1.35l0.86,0.49l0.59,-1.32l-6.11,-2.35l-2.41,1.06l-0.67,-1.1l0.4,-1.19l-0.98,-0.04l-1.04,-1.94l2.81,1.25l0.87,-0.29l0.08,-1.05l-2.64,-2.05l-1.57,0.04l-1.79,-3.63l3.32,-1.49l1.33,-2.87l2.16,0.72l5.01,-0.32l6.71,-1.41l1.09,-1.33l-0.62,-0.54l-3.02,0.21l-5.19,1.09l-2.43,-1.02l0.26,-0.96l3.07,0.28l3.79,-1.34l0.34,-1.72l-3.82,1.13l-3.09,-0.65l1.69,-1.39l-0.35,-0.85l-1.91,-0.0l-1.26,0.94l-1.09,-1.98l-1.44,1.08l-0.89,2.25l-0.85,0.01l0.02,1.27l-1.24,1.28l-0.58,-1.3l1.68,-1.96l-3.3,-1.25l-0.65,0.26l-0.15,2.01l-2.82,1.37l0.35,-1.57l-0.79,-1.75l-0.99,0.48l-1.03,-0.62l0.36,-2.95l4.91,-1.61l2.03,-2.07l0.3,-2.61l-0.88,-0.51l-2.15,2.69l-1.95,0.74l-2.78,-0.29l-2.35,-4.95l1.56,-1.92l-2.06,-1.42l-0.23,-1.34l1.39,-0.91l-1.55,-0.36l-0.27,-0.93ZM443.68,113.89l0.28,0.85l-0.7,0.52l0.38,-0.96l0.04,-0.42ZM461.38,146.39l0.13,0.3l0.04,0.32l-0.12,-0.23l-0.04,-0.39ZM467.83,95.12l-0.47,-2.39l-1.08,-0.44l-0.75,-1.59l0.77,-3.65l3.21,0.98l0.55,5.35l-2.23,1.74ZM428.54,100.87l-0.38,0.08l-0.0,-0.39l0.24,-0.06l0.14,0.37ZM467.85,144.53l0.1,-1.31l0.38,-0.61l-0.14,0.96l-0.34,0.97ZM468.67,140.92l0.03,-0.58l0.13,-0.04l0.0,0.05l-0.16,0.58ZM453.12,161.32l1.28,-0.9l2.87,0.68l2.74,3.46l0.67,3.57l-2.13,2.79l-1.23,0.17l-3.87,-3.88l-0.32,-5.87ZM459.03,188.82l-2.86,-6.15l1.29,-1.47l1.58,-0.38l1.49,2.86l-1.01,2.28l0.86,2.56l-1.13,-0.33l-0.23,0.65ZM457.48,356.25l0.14,0.07l-0.06,0.19l-0.08,-0.25l-0.0,-0.01ZM455.72,351.19l1.01,-1.44l0.89,0.73l-1.07,2.13l-0.83,-1.42ZM421.71,269.81l0.55,-2.41l0.89,-0.23l-0.57,-7.78l0.24,-2.03l0.85,-0.72l-0.96,-1.53l0.29,-1.54l2.13,-0.53l1.47,2.21l2.74,0.5l-0.05,-1.28l-1.14,-0.38l-1.36,-2.16l0.81,-1.29l-1.45,-0.16l-0.66,-1.39l0.47,-1.74l3.32,-1.81l4.85,-0.73l1.1,1.49l0.62,-2.05l2.47,-0.16l5.15,2.79l0.8,2.82l1.3,-0.14l1.9,-1.66l1.64,-0.14l3.56,0.65l4.75,2.14l-1.09,0.72l0.0,1.59l-2.62,5.22l-1.34,0.04l0.33,1.6l-2.19,4.92l-2.41,0.8l1.51,1.0l-4.78,9.89l-1.63,0.64l-6.15,-2.6l-7.1,1.07l-0.05,1.51l3.42,0.4l-0.14,1.38l1.23,1.05l0.93,2.98l-2.44,2.95l-2.07,5.39l-1.09,1.0l-5.9,0.08l0.81,-2.2l2.19,-0.87l-0.84,-0.59l-1.68,0.45l-0.24,-0.64l0.1,-5.21l0.64,-1.13l-1.31,-4.06l-1.38,-1.4l0.48,-0.89l-0.88,-1.38l-0.04,-4.42ZM430.89,292.66l0.04,-0.02l0.01,0.07l-0.05,-0.05ZM454.65,352.83l-0.33,-0.41l0.26,-1.19l0.58,2.35l-0.51,-0.75ZM453.0,471.13l0.19,0.06l0.17,0.16l-0.28,-0.02l-0.08,-0.2ZM446.91,341.46l0.79,-0.49l-0.07,1.35l-0.35,-0.26l-0.37,-0.61ZM446.55,468.94l0.04,0.02l-0.03,0.04l-0.0,-0.0l-0.01,-0.06ZM445.93,340.08l0.11,-0.11l0.26,-0.0l-0.36,0.11ZM425.38,160.25l0.48,-2.25l3.84,-2.17l0.53,1.65l2.42,-1.14l5.97,1.59l1.12,-0.98l1.66,1.12l0.51,1.38l-1.4,0.71l-0.94,4.39l-12.85,-1.49l-1.35,-2.81ZM419.31,222.88l1.54,-4.3l2.31,-0.56l0.69,-1.51l-0.75,-0.37l0.27,-0.52l2.01,-1.42l-0.54,-2.11l5.25,-2.91l2.61,0.99l3.95,5.88l-0.84,1.01l1.78,1.21l-0.53,1.41l0.6,1.82l-1.11,1.77l1.18,1.96l-0.24,4.58l-0.78,0.52l0.47,1.21l-0.56,0.6l-6.55,0.22l-0.53,-1.16l-1.47,-0.02l0.15,-1.12l-1.59,-1.93l-2.87,-1.1l-0.38,0.45l-1.38,-2.06l0.6,-0.63l-0.39,-2.11l-1.01,0.49l-0.55,2.09l0.12,-2.13l-1.46,-0.23ZM423.56,213.87l-0.12,-0.05l0.05,-0.1l0.03,0.01l0.04,0.13ZM433.47,79.05l2.22,0.14l0.49,1.15l-0.62,0.41l-3.69,-1.53l1.6,-0.17ZM416.22,136.4l2.05,-0.98l-1.3,-2.9l0.11,-2.87l0.9,-0.83l3.13,0.78l2.68,2.67l1.63,0.48l1.66,1.84l-0.48,2.22l1.8,1.36l1.39,-0.82l0.94,0.36l2.76,3.08l-0.08,1.03l-2.91,2.52l2.41,3.58l-0.97,3.13l-1.57,-0.19l-5.02,2.32l-0.97,-1.04l-1.33,0.69l-0.83,1.91l-0.66,-0.34l0.57,-2.92l-3.36,-2.86l0.27,-0.99l3.77,0.54l0.54,-1.86l-2.74,-2.31l-1.83,-0.37l-1.24,-2.23l0.23,-2.37l-1.49,-1.43l-0.07,-1.19ZM432.55,201.06l0.82,4.6l-1.67,0.27l-0.94,-4.09l1.79,-0.78ZM430.01,501.43l0.97,-0.01l0.44,0.57l-0.36,0.42l-1.04,-0.98ZM423.28,233.75l1.26,-1.17l1.43,2.47l-2.18,-0.68l-0.52,-0.62ZM417.48,212.26l-0.01,-0.76l2.38,-1.13l-0.06,1.93l-1.18,0.75l0.15,0.81l-0.97,-0.05l-0.31,-1.56ZM421.34,209.39l0.11,-1.06l1.96,1.73l-1.35,1.95l-0.81,-1.09l0.09,-1.54ZM421.62,297.89l0.27,-0.12l-0.0,0.05l-0.27,0.08ZM422.23,296.62l-0.31,-0.28l0.46,-0.16l-0.15,0.44ZM389.19,351.96l1.95,0.55l2.03,-0.68l1.12,-2.28l0.58,0.4l1.52,-0.72l0.14,-1.27l-1.28,-2.05l1.34,-0.17l-0.91,-2.29l0.88,0.34l1.71,3.05l1.24,-0.02l0.18,-0.77l-2.25,-3.41l0.79,-2.88l2.42,-2.54l3.0,2.8l0.46,1.11l-0.92,0.82l0.66,1.72l0.83,-0.03l0.58,-1.54l2.19,4.14l4.67,4.17l-0.47,5.36l0.77,0.85l0.76,-0.35l0.21,-3.25l1.03,6.77l1.07,0.08l0.67,1.22l2.22,-1.37l0.64,0.63l-1.91,2.36l-0.86,-0.78l-1.61,0.33l-0.77,2.34l-1.05,-0.01l-2.45,2.86l-1.47,0.43l-4.18,-3.29l-0.78,0.45l0.0,1.03l-2.13,-0.68l-2.02,-2.6l-3.15,-1.4l0.02,-2.1l-1.03,-1.12l-0.95,0.29l-0.32,1.89l-2.35,-1.9l0.57,-1.76l-1.34,-1.01l-1.67,0.69l0.3,1.29l-0.62,0.2l-1.39,-1.1l-0.88,-2.86l1.01,-1.65l1.16,-0.28ZM414.67,346.77l0.79,-2.2l1.01,-0.52l2.17,2.28l-0.36,2.41l-1.64,1.11l0.59,-3.49l-0.78,-1.58l-1.18,0.46l-0.29,3.04l-0.32,-1.5ZM414.95,348.36l-0.2,0.62l0.01,0.28l-0.08,-0.53l0.28,-0.37ZM411.32,98.34l1.01,-4.59l1.24,-1.13l1.28,1.16l1.53,-0.38l1.16,4.2l-0.81,6.55l-1.8,-1.46l0.27,-2.18l-1.22,-1.67l-2.43,0.15l-0.23,-0.65ZM374.65,271.26l1.97,-5.77l2.84,-1.37l1.55,1.82l0.05,1.86l1.25,1.11l0.57,3.29l2.19,1.66l1.59,0.06l0.69,-1.11l2.35,0.48l1.05,-1.22l0.12,-1.68l1.82,-0.35l0.42,-1.35l-0.92,-4.78l-0.97,-0.3l-0.87,0.71l-0.41,-0.77l1.36,-2.26l2.16,2.2l1.64,-0.07l0.25,-0.94l-1.66,-0.9l-2.81,-5.73l0.58,-2.35l-2.08,-1.04l0.29,-0.74l-1.18,-0.76l0.61,-2.28l3.23,-0.36l2.81,2.56l1.41,-2.63l1.47,0.9l1.99,3.57l0.77,-1.37l1.88,0.54l0.9,-0.84l3.78,-0.59l1.4,-1.38l0.62,0.59l1.21,-0.69l1.97,0.93l1.5,2.73l-0.26,1.98l-1.56,1.52l-1.16,-0.78l-0.5,1.25l-0.96,-0.32l-0.62,1.65l0.6,1.01l1.16,-0.71l1.4,0.5l-0.15,1.78l-3.64,1.11l-5.82,6.46l0.48,3.84l1.76,-2.63l1.76,-1.18l1.87,0.33l2.34,1.76l-0.22,1.33l-1.09,0.6l1.34,0.81l1.01,2.19l-1.14,1.5l0.2,1.66l1.04,-0.04l2.47,-2.03l1.12,1.43l0.68,4.68l-2.3,1.94l-1.3,-0.26l-0.36,0.62l1.76,1.4l0.5,2.45l-0.19,1.19l-2.27,0.61l-0.18,0.67l2.39,0.53l-0.21,0.9l-1.8,1.03l0.88,0.81l0.98,-0.56l-0.72,1.86l-0.73,-0.91l-1.9,1.1l-1.79,2.78l-3.0,0.77l-3.68,-1.31l-0.54,-1.24l1.3,-3.44l-1.08,-0.61l-2.02,4.09l2.62,4.72l-1.02,1.91l-2.48,2.43l-1.29,0.19l-1.19,-2.37l-1.76,0.57l-0.52,-5.08l-1.18,-0.97l-1.5,-5.44l-1.64,-0.98l-2.95,-7.01l-1.04,-0.68l-1.38,0.27l0.07,-1.82l-1.28,-1.58l-1.8,1.15l-1.95,-1.02l-0.38,-0.95l0.82,-0.69l-0.81,-0.81l-0.0,-1.42l-2.82,-2.69l-1.76,-3.24ZM390.43,268.86l-0.03,-0.05l0.05,-0.05l0.03,0.02l-0.05,0.08ZM391.13,258.22l-0.13,1.15l-2.76,1.04l-3.72,-4.97l2.35,-2.21l1.66,0.33l1.12,3.12l1.48,1.54ZM395.74,247.0l-1.15,1.05l-0.77,-0.64l1.11,-1.09l1.19,0.17l-0.38,0.51ZM383.64,205.28l0.98,-0.35l-0.1,-1.22l0.92,-0.88l2.25,1.05l0.89,-0.46l-1.01,-1.33l0.64,-1.21l-1.4,-0.09l0.59,-1.18l2.2,-0.44l1.73,3.41l1.11,0.73l2.79,-1.46l-0.32,-0.68l-2.14,0.59l-0.0,-1.51l-0.95,-0.56l-0.09,-1.13l1.71,-1.64l-0.08,-0.96l-2.37,0.42l-0.43,-0.71l0.15,-2.2l3.16,-2.97l-4.23,0.03l1.31,-2.84l-0.4,-0.94l1.17,-0.93l2.36,1.3l1.07,1.88l-0.53,2.31l2.46,2.81l-0.67,1.03l2.18,1.08l1.1,2.81l-0.34,0.81l1.3,1.29l3.61,-2.66l-2.55,0.12l-1.15,-3.95l2.31,0.7l2.05,-1.41l-1.88,0.14l-1.45,-1.62l-1.17,0.14l-1.42,-1.07l0.11,-0.5l3.22,0.42l0.05,-1.7l-1.42,-1.76l-2.77,-0.3l-1.23,-2.57l3.98,-2.87l2.12,1.16l0.39,0.02l0.59,-0.55l0.17,0.01l-0.21,0.83l0.76,0.32l2.26,4.87l0.32,-1.26l1.55,0.24l-0.83,-2.83l0.59,-1.37l1.04,0.97l1.35,-0.91l0.26,1.46l3.57,2.17l-0.94,3.69l1.31,3.45l-1.27,4.95l0.26,2.81l-2.32,2.5l3.09,2.5l-0.58,3.27l-1.38,-1.71l-2.28,2.1l-0.15,1.15l1.02,0.42l-1.01,0.13l-0.97,2.26l0.38,1.15l1.83,1.31l-0.22,1.08l0.95,1.02l-0.73,0.28l-1.64,-2.81l-0.86,1.75l0.95,3.04l-4.23,0.37l-0.99,-1.88l-0.85,1.34l-1.93,0.15l0.71,-3.06l-0.84,0.16l-1.41,3.01l-4.51,-1.58l0.29,-2.82l-0.76,-1.01l2.77,0.07l0.63,-0.78l-1.72,-0.92l-0.09,-1.25l-1.4,0.3l-0.46,-0.63l1.35,-0.75l-0.55,-1.38l3.07,-0.16l0.54,-0.85l-0.65,-0.91l1.3,-0.09l1.47,-1.72l-0.75,-0.88l4.91,-0.17l0.33,-1.35l-10.06,0.4l-4.14,0.95l-1.31,-0.58l-6.97,1.45l-0.47,-1.89ZM414.24,266.9l0.91,0.17l0.16,1.43l-0.9,1.89l-1.18,0.2l-0.74,-3.42l1.63,-1.82l0.11,1.55ZM413.9,275.02l-1.05,-0.59l1.41,-2.15l0.13,1.99l-0.49,0.75ZM411.31,235.08l-0.17,-0.77l2.09,-2.24l-0.31,1.96l-1.61,1.05ZM409.94,345.15l2.12,0.76l0.95,-0.39l-0.28,3.31l-2.79,-3.68ZM382.84,135.77l-0.59,-2.3l0.4,-2.05l1.47,-0.73l2.71,2.01l2.88,0.94l1.3,-3.47l-3.0,-0.68l2.42,-0.16l1.53,-2.23l-0.42,-1.23l-1.34,-0.04l-0.51,-0.94l-1.08,0.01l-0.37,0.97l-0.54,-0.55l2.34,-2.62l-0.92,-2.5l-0.98,-0.62l-1.67,0.95l-1.02,2.32l-1.68,1.23l2.44,-5.44l-1.31,-1.09l-2.99,0.31l0.45,-3.63l1.34,-3.45l1.11,0.94l6.93,-0.53l2.58,2.17l0.69,1.58l0.97,4.08l-1.29,3.2l0.94,0.56l0.02,1.87l1.57,-1.52l0.25,-1.95l2.39,-1.59l0.93,0.3l1.44,2.91l1.25,0.73l-1.25,3.71l1.42,1.16l2.81,-1.08l1.86,3.24l-0.91,1.75l2.41,1.23l-2.04,3.56l-0.03,3.7l1.35,0.72l2.39,5.97l-1.01,2.34l0.25,1.78l-0.75,0.82l-3.19,0.26l-0.72,0.75l-3.03,-2.19l-0.72,-3.75l0.56,-1.61l-1.23,-3.56l-1.38,0.11l-0.96,-1.37l-3.26,-1.74l-2.35,0.82l-0.76,-0.98l0.85,-1.48l-0.29,-1.0l-5.42,0.69l-1.75,1.62l-2.15,-1.03l-1.32,-2.23ZM402.18,245.84l5.3,-1.86l2.75,-0.09l-1.09,2.38l-2.21,2.01l-2.94,0.62l-4.58,-1.3l2.65,-0.81l0.12,-0.96ZM404.52,336.05l0.28,0.24l-0.19,0.5l-0.18,-0.17l0.08,-0.57ZM400.0,384.31l0.18,-0.59l0.82,-0.41l-0.03,0.27l-0.98,0.73ZM393.68,182.33l2.34,-0.92l1.47,-1.77l3.14,0.18l-5.02,2.71l-1.93,-0.2ZM392.97,153.4l0.22,-3.26l3.57,0.04l2.26,1.79l1.09,2.26l-2.85,-0.38l-1.53,1.08l-2.76,-1.53ZM390.42,142.83l-0.37,-1.01l1.77,-1.87l0.13,1.23l-1.53,1.65ZM380.94,200.83l0.6,-1.1l1.3,-0.07l0.14,-1.57l4.85,-1.31l0.73,0.88l-2.31,0.72l-1.53,2.53l-3.78,-0.08ZM378.12,196.44l4.81,-1.79l4.15,-0.08l-0.14,0.79l-7.87,1.78l-0.95,-0.71ZM375.95,190.46l3.49,-1.4l6.37,-0.48l0.58,1.84l-1.06,2.26l-3.24,1.1l-3.2,-0.16l-2.89,-1.45l-0.05,-1.71ZM382.95,318.72l1.44,0.77l0.22,2.48l-1.82,-1.42l0.16,-1.82ZM376.35,180.68l1.85,-1.9l1.59,0.1l-0.7,2.34l1.86,-0.68l0.7,2.11l2.71,2.61l-1.9,1.61l-5.37,-0.68l0.39,-3.22l-1.13,-2.29ZM382.75,351.96l0.5,1.7l-0.24,1.27l-0.95,-1.38l0.69,-1.6ZM378.63,357.96l0.57,-3.98l0.44,-0.58l2.04,2.62l-0.39,1.86l-1.43,1.5l-0.05,-1.51l-1.16,0.08ZM380.72,368.46l0.1,-0.05l-0.02,0.19l-0.08,-0.15ZM374.01,155.31l0.21,-2.42l-0.8,-2.01l0.8,-0.65l1.57,1.3l1.89,4.93l-0.54,3.16l1.37,0.18l1.17,2.66l0.14,1.85l-0.85,1.86l-1.4,0.46l-0.78,-1.62l-1.22,-0.12l-1.48,-7.58l0.58,-1.2l-0.67,-0.8ZM262.31,316.35l2.08,-0.14l-1.96,-6.32l0.67,-1.78l29.25,8.27l-0.45,3.6l3.86,0.06l0.08,-2.77l17.96,3.86l11.64,-52.14l1.02,0.72l0.45,-0.54l-0.33,-5.28l0.81,0.53l0.91,-1.42l-1.26,-1.18l0.84,-3.76l1.32,0.77l-0.68,0.91l1.98,3.52l1.31,0.03l0.66,1.95l-0.78,2.32l2.6,0.61l-1.19,4.72l-0.04,4.61l0.7,0.67l-0.61,2.61l0.7,0.59l-0.15,1.23l0.53,-0.06l-0.76,0.93l0.26,2.94l-0.58,0.75l1.35,0.47l0.24,1.97l1.62,0.74l0.65,-0.57l-0.39,-1.82l1.03,0.39l0.95,-1.25l2.37,-0.74l-0.93,-1.08l1.3,-1.05l-1.93,-2.91l0.34,-1.81l-0.81,-1.19l0.22,-2.55l0.8,-0.71l-0.48,-2.76l0.67,-0.65l-0.92,-1.26l0.86,-1.52l-0.24,-12.82l0.88,-1.09l1.54,0.68l0.58,-0.44l-1.25,-2.02l0.83,-1.15l1.76,0.8l3.3,4.11l0.86,-0.52l-0.07,-2.01l1.15,-0.22l2.82,5.57l2.41,1.22l1.77,5.26l-0.7,1.14l0.97,2.93l-0.1,2.98l-0.73,1.46l1.27,6.09l-0.78,2.36l0.62,5.17l0.86,1.04l1.18,5.51l-0.26,4.34l-1.28,0.3l-0.33,3.04l-1.64,2.12l2.84,4.68l0.53,3.8l1.04,0.58l1.58,3.35l1.99,0.55l0.87,1.98l3.24,1.02l4.5,5.28l1.19,0.26l0.88,-0.76l0.39,4.13l1.88,-0.71l0.81,0.64l1.28,-0.97l0.03,7.9l-0.86,2.57l-1.99,-0.34l-0.66,-3.2l0.48,-1.61l-0.57,-0.42l-2.18,4.42l-1.52,-1.35l-0.31,-2.12l-1.01,-0.13l-0.04,-1.44l-0.73,-0.32l-1.28,2.17l-1.57,1.08l-1.03,-0.29l1.04,2.25l-0.26,1.54l-0.39,0.73l-1.54,-0.01l-2.17,-1.88l-0.77,-1.75l-1.95,-0.38l-0.57,1.77l1.97,2.07l0.29,2.37l0.94,0.37l-0.8,3.26l-1.54,1.25l-0.03,1.94l0.83,0.08l3.22,-5.13l2.26,-0.4l0.69,-1.2l1.16,-0.27l1.41,0.47l0.57,1.19l-1.81,0.93l-0.19,0.91l0.88,0.86l-1.2,-0.23l-0.23,1.51l1.39,1.22l1.0,-1.4l0.8,1.26l-0.83,3.7l-1.57,-0.48l-0.9,0.9l-1.83,-0.25l-1.1,1.72l-1.84,-0.82l-0.04,1.26l-1.58,0.48l-1.41,-1.13l-1.54,0.16l-0.46,0.75l-0.83,-1.04l-3.94,-1.21l-1.27,-2.09l-1.5,-0.03l-1.12,1.34l-3.67,-1.26l-0.43,-0.87l2.54,-1.36l0.07,-1.33l-3.85,-1.12l-0.64,-1.26l-2.42,-0.91l-2.45,0.1l-1.13,-0.9l1.31,-1.45l0.18,-2.67l-1.8,-2.85l-1.81,1.09l-0.36,1.29l-1.64,0.17l-0.41,3.13l-3.6,3.28l-4.69,0.8l-4.32,-1.01l-0.77,1.48l-3.95,2.3l-4.82,0.78l-4.52,-0.72l-1.13,0.66l-1.45,-1.06l-1.8,0.4l-0.65,-0.82l-4.19,-0.24l0.07,1.07l-6.6,-1.54l-2.6,-0.28l-1.27,0.6l-1.79,-0.57l-0.18,-1.43l-1.54,-1.61l-1.07,-4.66l2.09,-4.8l-0.39,-2.55l1.28,0.35l-0.11,-0.95l-4.84,-3.41l-4.48,-0.59l-1.12,-0.97l-1.41,0.5l-5.16,-2.72l-3.26,-3.47l0.33,-3.36l-1.77,-0.93ZM296.42,348.86l0.63,0.22l-0.44,-0.1l-0.19,-0.12ZM366.3,318.81l-1.06,-1.02l0.04,-1.63l1.15,1.7l-0.13,0.94ZM282.72,346.82l-0.62,-0.06l-0.07,-0.11l0.28,-0.07l0.41,0.24ZM374.96,341.65l1.94,1.67l-1.05,1.12l0.26,-1.62l-1.15,-1.16ZM370.45,212.46l1.02,-2.68l1.74,-1.62l1.28,0.15l1.48,1.77l0.65,4.47l-1.81,1.97l-2.25,0.64l-3.24,-2.83l1.13,-1.86ZM372.18,349.51l-0.69,-0.62l0.14,-0.26l0.41,-0.04l0.14,0.92ZM365.6,358.91l2.37,-2.4l1.72,1.02l-0.26,2.28l-0.9,-0.23l-0.19,1.25l-2.74,-1.91ZM369.05,337.93l-0.03,-0.16l0.09,-0.51l-0.05,0.67ZM337.68,214.24l3.33,-14.87l5.76,2.77l1.51,-3.5l0.25,-2.2l-3.92,-3.56l-0.1,-1.81l-1.63,-0.12l5.0,-2.96l-0.8,-3.92l-1.48,-1.73l-0.79,0.02l1.18,-5.29l1.87,-0.82l0.02,-1.38l3.47,-4.44l2.99,-0.51l-0.22,1.64l1.01,0.5l-0.04,1.06l-1.91,1.27l0.66,2.21l-1.1,3.26l1.56,1.07l0.7,2.61l-0.87,0.53l0.36,1.05l-1.58,0.69l-1.35,3.04l0.43,0.57l3.42,0.05l0.8,1.47l-2.71,3.12l-0.33,1.81l1.16,0.02l1.48,-1.92l2.67,-0.13l0.44,6.08l0.92,0.31l0.57,-2.72l1.6,-0.89l-1.34,-0.99l0.58,-2.79l1.65,-1.78l1.33,0.24l2.88,2.18l0.61,1.29l0.03,6.89l-2.61,3.05l0.61,0.99l-0.66,2.23l-1.87,2.23l-0.39,2.47l-1.33,1.0l0.24,0.93l-4.44,0.4l-1.89,1.54l-1.09,-0.14l-2.22,-1.7l0.37,-2.12l-0.6,-1.0l-0.76,1.63l-1.43,0.28l-0.39,1.54l-2.11,0.01l-0.34,-2.82l-1.7,-1.22l-5.3,3.83l-2.16,-0.53ZM352.93,252.59l-2.03,-2.5l-1.37,-0.46l3.4,-4.11l8.91,0.49l3.37,4.72l-1.3,5.04l-1.65,3.11l-2.3,3.37l-1.39,1.24l-1.07,-0.21l-0.06,1.2l-2.02,-6.47l-0.9,-0.66l-0.05,-2.54l-1.54,-2.22ZM356.24,131.28l0.61,-2.73l1.07,-4.77l1.78,2.73l0.28,1.9l-1.49,3.66l-1.82,0.06l-0.43,-0.84ZM354.64,140.84l-0.56,0.09l0.72,-3.2l1.23,1.04l-1.38,2.06ZM344.37,358.41l2.93,0.73l0.43,2.38l-1.76,-0.48l-1.6,-2.64ZM343.31,246.11l1.2,-0.38l1.16,0.72l-2.22,0.24l-0.15,-0.58ZM319.51,383.52l0.58,1.05l0.1,0.1l-0.52,-0.1l-0.16,-1.05ZM317.62,367.22l0.19,-0.56l0.63,-0.35l-0.4,1.1l-0.43,-0.19ZM317.34,374.35l-0.13,-0.78l0.25,-1.06l0.35,1.97l-0.46,-0.13ZM316.98,377.97l0.04,-0.85l0.65,-0.18l-0.58,1.35l-0.12,-0.32ZM314.27,374.28l0.57,0.24l-0.52,0.82l-0.22,-0.84l0.16,-0.22ZM310.96,365.11l0.9,-0.17l0.05,1.27l-0.95,-1.11ZM308.75,362.36l0.31,0.23l0.02,0.64l-0.44,-0.71l0.11,-0.16ZM304.92,360.33l0.09,-0.06l-0.03,0.05l-0.06,0.01ZM298.85,350.54l1.55,-0.48l0.33,0.64l-1.15,0.07l-0.73,-0.23ZM292.43,354.37l-0.15,-0.28l0.45,-0.29l-0.16,0.44l-0.15,0.13Z",name:"Nunavut"},ns:{path:"M806.11,740.27l1.94,-4.77l1.53,-10.21l1.51,-3.01l0.15,-1.97l1.87,-0.41l-0.36,1.59l1.07,0.72l1.38,-0.48l0.25,0.69l-0.15,2.84l0.78,0.69l-0.72,7.59l0.66,0.58l-1.72,2.11l-1.3,0.41l-2.17,3.71l0.96,0.16l0.28,1.37l0.95,-0.71l0.24,0.04l-1.43,1.75l0.15,1.53l1.35,0.03l1.9,-1.77l0.72,0.25l-0.26,0.87l-2.52,2.28l-1.15,-0.45l-1.0,1.26l-1.85,-1.48l-3.05,-5.19ZM816.59,744.31l1.05,-1.42l-0.51,-1.54l2.65,-4.97l-0.63,-0.39l-2.83,2.93l-0.6,-0.45l3.92,-6.11l-0.72,-0.78l-1.52,1.81l1.07,-2.31l1.42,0.6l-0.36,1.85l1.71,-0.36l-0.0,-1.84l2.48,0.8l0.8,-0.47l-0.4,2.67l1.97,0.46l-3.13,2.47l-0.17,0.84l0.9,0.39l-1.01,1.83l-4.32,3.9l-1.76,0.09ZM816.44,732.88l0.05,-0.34l0.15,-0.22l-0.19,0.56ZM816.77,732.01l0.24,-0.64l0.0,-0.0l-0.04,0.32l-0.2,0.32ZM812.97,739.62l0.88,-1.79l0.6,-0.25l0.0,1.23l-1.48,0.81ZM759.62,789.53l0.16,-4.68l2.2,-4.08l-1.01,-0.82l0.79,-1.21l0.55,1.16l1.15,-0.48l2.56,-4.02l-0.92,-0.09l-2.38,2.22l8.34,-9.82l4.16,-3.04l0.82,-1.68l0.15,2.95l0.79,0.75l0.65,-0.85l0.83,0.28l1.64,1.93l0.85,-0.63l-0.2,-1.37l-1.52,-0.96l0.48,-1.27l4.28,-3.21l3.19,-0.71l0.95,-1.59l-3.38,-0.07l-3.46,1.51l-2.84,-0.03l-3.3,1.74l-2.47,-0.07l-1.2,0.97l-0.22,1.24l-2.04,0.04l4.14,-6.74l0.02,-1.13l1.63,-0.72l0.41,-3.75l1.44,-1.22l1.43,0.16l2.21,1.66l1.47,-0.03l1.43,-1.45l-0.11,1.13l1.96,-0.28l0.15,0.77l1.33,0.29l2.45,-1.4l0.23,-0.87l4.41,-0.24l-1.15,1.72l1.38,0.56l1.1,-0.77l-0.0,-0.87l2.14,0.66l4.61,-6.3l1.62,2.8l3.57,0.38l1.19,-1.77l3.74,2.14l-2.2,2.48l0.51,0.93l5.15,-1.32l0.05,1.13l-0.76,-0.45l-1.84,0.96l-0.78,1.92l-3.7,1.02l0.54,1.19l-1.67,0.55l-2.19,3.02l-2.05,0.97l-1.89,2.18l-0.47,-0.39l-3.51,3.25l-0.15,1.04l-1.47,0.57l-0.41,-0.68l-1.66,0.09l-0.12,1.24l-1.32,0.34l-0.06,1.77l-1.34,-0.47l-0.81,0.54l0.56,0.97l-3.16,-1.14l-0.2,0.6l1.63,1.08l1.01,2.07l-1.9,0.73l-0.83,-0.89l-1.51,0.95l-0.65,-3.4l-2.22,1.84l0.95,1.84l-0.28,0.68l-1.28,-1.4l-2.02,0.98l-0.06,2.33l0.87,0.89l-0.1,1.05l-1.02,0.47l1.06,0.58l-1.02,2.27l-1.52,1.0l1.05,0.57l-1.54,0.73l0.61,1.07l-1.6,1.43l0.4,1.43l-0.91,-0.21l-0.93,0.87l0.68,1.29l-1.25,-0.81l0.52,1.66l-3.0,-0.19l0.49,2.0l-0.73,-1.36l-1.0,0.63l0.82,2.23l-1.31,0.88l0.18,1.22l-1.36,-0.74l-1.19,1.4l-1.25,-2.57l-2.08,-1.97l-2.19,-0.02l0.72,1.81l-1.29,-0.35l-2.43,-5.2ZM815.32,751.9l-0.03,0.02l0.03,-0.1l0.01,0.08ZM814.11,746.7l0.43,-0.47l0.76,-0.29l-0.16,0.85l-1.03,-0.09Z",name:"Nova Scotia"},mb:{path:"M325.81,733.16l8.91,-123.96l2.81,-21.17l0.68,-1.04l-0.07,-3.63l1.91,-0.88l-1.53,-1.99l0.27,-2.01l2.58,-1.88l2.72,-3.66l0.59,-2.49l-1.67,0.2l-0.75,-0.71l0.21,-4.29l-1.41,0.85l-1.0,2.53l0.82,-2.47l-0.4,-0.68l4.56,-34.38l33.83,3.81l33.9,2.47l-0.48,6.3l0.68,6.11l-0.92,4.18l-1.34,-0.06l-0.7,0.81l1.81,0.42l1.05,1.4l-0.48,3.02l1.42,-0.82l1.5,3.03l1.8,-0.28l0.27,0.59l-1.11,2.12l-0.82,6.88l0.75,-0.03l1.44,-3.28l0.06,-3.8l1.1,-2.83l4.0,-0.25l1.82,0.42l0.99,1.31l1.01,-1.02l1.12,0.23l0.16,4.19l2.86,8.44l0.25,4.64l3.21,8.93l-1.85,5.4l-2.86,2.98l1.99,-0.17l2.43,-1.98l1.58,-0.33l-1.98,1.88l1.85,-0.02l1.33,-1.17l12.03,-4.28l4.28,0.66l6.26,4.2l9.56,3.02l-49.26,55.91l-17.57,16.11l-3.92,65.83l-1.43,0.88l0.3,2.14l-32.47,-2.21l-38.67,-4.14ZM358.05,659.25l-0.57,1.38l2.52,3.34l1.2,-0.32l1.1,0.68l0.62,-0.83l2.78,0.77l-4.58,1.29l-0.34,1.82l0.94,2.85l3.13,3.99l0.22,2.26l2.43,1.74l0.42,2.75l0.85,0.78l0.19,3.11l3.02,1.79l1.2,-4.49l1.9,-0.21l-1.49,1.95l0.62,1.94l2.46,-2.21l0.95,4.17l-1.21,3.82l0.46,3.17l2.17,-1.39l0.62,-2.57l2.26,-0.95l0.51,1.06l0.38,1.6l-2.51,3.7l-0.84,3.0l1.26,0.25l2.08,-2.67l0.81,0.32l-3.9,4.57l-0.97,8.83l0.63,2.85l3.31,0.71l1.33,-1.44l-0.09,-3.28l0.45,-0.38l1.4,1.29l1.52,-0.53l-0.8,-1.43l0.01,-6.93l0.84,0.05l-0.0,-1.41l1.12,-0.85l-2.33,-3.53l-0.47,-2.7l-2.13,-3.63l0.91,-0.39l-0.33,-1.21l-1.6,-1.06l0.58,-1.53l-2.3,-4.74l0.77,-0.8l-0.17,-2.6l-1.45,-5.26l-1.96,-3.44l-0.13,-1.34l1.12,-1.31l-0.84,-0.77l0.04,-2.34l-1.58,-2.21l-0.66,-3.65l-1.5,-2.46l0.32,-1.95l-1.36,-4.38l2.17,-0.28l0.64,-1.93l-2.8,0.55l-1.48,1.77l-1.1,-1.27l0.86,-0.78l0.17,-2.08l2.78,-0.81l1.18,-1.18l-1.97,-2.6l-1.06,0.24l-3.76,7.32l0.66,2.32l1.82,1.62l-2.82,-1.76l-3.25,-0.16l-1.68,-1.09l-1.33,0.35l-4.39,11.12ZM338.24,663.05l-0.65,0.97l0.87,0.92l-0.25,1.12l1.03,-0.05l0.55,1.29l2.0,-0.24l0.99,-1.7l0.09,-1.38l-1.05,-1.03l2.46,0.66l-0.57,3.78l1.64,2.97l1.19,-0.99l-0.32,-3.9l0.85,1.53l0.88,-0.01l-0.54,2.9l0.85,1.25l-0.42,1.66l-1.48,1.16l-0.83,1.91l-0.36,6.88l0.69,3.55l1.1,0.47l1.8,2.85l2.36,-0.58l0.56,2.28l1.19,-2.43l1.22,0.34l0.19,1.6l1.37,0.02l0.09,3.43l1.45,3.0l-0.79,0.41l-0.11,1.58l2.87,6.16l1.6,6.25l-0.78,1.22l0.13,1.98l1.68,1.36l3.19,-0.36l2.9,-1.85l0.24,-2.18l-4.5,-7.89l-3.89,-1.78l-0.07,-1.57l1.52,-1.23l1.34,-3.48l-2.0,-0.95l-0.47,-1.63l1.15,-2.77l-0.96,-2.78l-0.73,-0.49l-1.66,0.65l-1.94,-2.22l0.01,2.67l-0.52,0.11l-0.48,-2.45l-1.72,-0.95l-1.95,2.31l0.29,-2.62l-0.56,-1.05l-0.64,0.0l-0.97,2.03l1.25,-3.44l0.01,-1.74l-0.87,-0.31l0.05,-3.27l1.27,-1.06l1.73,-3.79l-0.43,-5.26l0.7,-1.86l-4.25,-3.36l-3.17,-1.0l-0.49,-1.05l-1.59,-0.72l-1.62,1.53l-2.05,-0.16l-0.63,-1.36l-1.79,0.41l-0.53,1.06l1.35,1.66l-0.08,1.04ZM343.01,656.44l1.13,1.51l0.98,-0.26l0.96,2.44l3.89,2.01l3.85,-0.8l0.49,1.98l2.25,-0.5l-0.1,-1.24l0.87,-0.61l-0.66,-1.0l0.38,-2.94l-2.0,0.71l-2.48,-0.31l-0.99,1.43l-0.7,-1.78l0.88,-1.47l-1.1,-2.72l-1.76,-1.5l3.0,-1.3l0.35,-1.72l0.74,1.18l0.79,-0.05l1.06,-2.81l1.32,-0.99l-0.07,-1.43l-0.89,-0.39l-2.15,2.28l-3.16,1.45l-0.24,-0.54l1.53,-1.35l-1.92,-1.62l4.72,-1.87l-0.02,-1.11l-1.87,-0.0l-1.52,-1.59l-1.47,0.99l-0.63,-0.73l-0.85,0.38l0.24,5.25l-1.56,-0.75l-1.07,0.89l0.89,1.62l-0.57,0.99l1.53,3.23l-1.1,-0.29l-0.96,0.88l-1.74,-0.65l-0.54,0.69l0.88,1.1l-2.03,-0.96l-1.8,1.37l3.2,2.86ZM341.7,570.74l0.11,0.46l-0.33,0.4l-0.3,-0.25l0.52,-0.61ZM372.43,651.83l0.78,0.33l0.07,0.14l-0.68,0.12l-0.17,-0.58ZM373.09,681.95l-0.22,-0.07l-0.17,-0.02l0.34,-0.17l0.05,0.27ZM385.47,699.16l0.7,-0.42l0.64,-0.04l-0.44,0.34l-0.9,0.12ZM383.3,699.6l-0.34,1.82l-1.34,0.72l0.88,-0.74l0.79,-1.81ZM377.76,678.72l0.37,-0.5l0.24,-0.1l-0.05,0.16l-0.56,0.45ZM370.13,675.8l0.54,-1.53l0.13,3.36l-0.46,-0.78l-0.22,-1.05ZM357.53,697.63l0.49,0.05l0.11,1.04l-0.27,-0.23l-0.34,-0.86ZM358.33,696.85l-0.03,-0.15l0.14,-0.13l-0.11,0.27ZM357.84,689.63l0.46,0.59l-0.04,2.55l-0.44,-2.49l0.02,-0.65ZM347.78,684.17l-0.0,-0.02l-0.02,-0.1l0.05,0.08l-0.04,0.04ZM347.6,681.67l-0.12,-0.23l0.03,-0.26l0.07,0.22l0.02,0.27ZM349.11,674.67l-0.15,-1.21l0.81,-1.07l-0.36,1.68l-0.3,0.6ZM348.35,656.43l0.0,0.0l-0.0,0.0l-0.0,-0.0Z",name:"Manitoba"},sk:{path:"M225.52,715.72l39.97,-178.67l7.25,-1.44l1.31,1.41l12.87,0.18l1.43,-2.31l0.88,1.22l4.11,0.42l3.46,1.73l7.89,0.67l-0.84,-0.96l-5.15,-0.85l-2.45,-1.6l-3.4,-0.16l-2.27,-2.18l-3.22,-0.71l-2.58,-1.68l-4.02,-0.32l-2.77,0.98l1.34,-2.29l-0.87,-0.76l-1.81,0.51l-0.58,-2.19l-0.93,-0.65l-2.97,-0.33l-5.02,3.79l2.54,-11.36l37.12,7.44l37.41,5.82l-4.58,34.49l-1.83,1.67l-0.01,1.71l-2.81,1.32l-1.71,2.49l-1.74,0.06l-0.19,2.8l-2.61,1.35l-1.09,3.92l1.79,-0.4l1.19,1.26l-1.32,2.68l1.76,0.57l-0.31,4.59l-2.32,0.06l-3.29,4.78l1.51,-6.72l-0.95,-0.48l-1.63,5.24l-1.25,0.01l-0.61,0.92l-0.03,1.77l0.55,0.19l-0.9,2.9l0.77,0.84l1.75,-2.64l0.13,1.02l1.37,0.4l1.78,-2.5l4.61,-1.44l0.17,-1.79l1.5,-0.27l0.7,-0.98l-1.43,-0.62l0.7,-0.7l1.47,0.09l1.37,-2.0l-2.8,21.13l-8.91,123.93l-50.48,-7.59l-49.01,-9.75ZM321.15,570.65l0.95,0.2l1.78,-1.81l1.8,0.51l0.38,1.25l-1.49,2.36l1.92,-0.81l1.84,-2.74l-1.39,-0.73l1.05,-3.5l3.03,-0.66l0.82,-1.15l-0.99,-1.18l0.63,-0.7l0.9,0.38l1.19,-1.81l-0.29,-1.14l-1.17,-0.59l-0.12,-1.79l-1.98,0.19l-0.69,-0.9l-0.89,1.02l0.19,0.93l-1.46,0.5l-1.33,-0.79l-1.32,0.9l-1.19,2.67l0.36,1.78l-1.9,1.78l0.32,0.65l2.03,-0.32l-2.97,1.62l0.31,1.04l1.31,-0.05l-2.31,2.02l-0.17,1.08l0.83,-0.21ZM329.12,591.75l0.01,0.02l-0.02,0.0l0.01,-0.03ZM337.04,580.48l0.76,-1.11l0.21,-1.05l-0.31,2.31l-0.66,-0.14ZM334.83,587.78l-0.06,-0.5l0.75,-1.28l-0.11,1.5l-0.59,0.28ZM332.55,578.38l0.2,-0.02l0.16,0.03l-0.1,0.23l-0.25,-0.24ZM324.49,566.41l0.75,-0.68l0.15,-0.05l0.08,0.36l-0.98,0.37Z",name:"Saskatchewan"},qc:{path:"M567.54,485.56l2.68,-1.98l1.59,-2.47l6.39,0.69l6.3,2.28l4.25,0.42l-2.04,2.18l0.37,0.65l4.59,-3.75l1.34,0.24l0.63,1.1l0.93,-0.89l2.52,1.84l2.15,0.56l0.33,-0.61l-1.98,-1.25l0.01,-0.69l2.64,-0.51l1.11,-1.65l2.27,-1.23l0.87,-2.05l1.31,-0.53l1.15,1.47l3.31,0.92l3.37,3.27l1.41,-0.03l0.32,-0.84l0.81,0.4l0.61,2.24l-1.14,2.9l0.44,0.56l2.15,-0.39l-0.63,-1.88l3.32,0.52l0.29,2.27l1.48,-0.07l0.73,0.84l-0.4,1.12l-1.78,0.48l0.08,1.33l3.16,-1.31l0.24,-1.94l2.68,0.89l-0.2,0.92l-1.78,0.57l0.84,1.44l-0.94,1.0l1.77,0.4l-0.94,0.39l0.28,0.79l1.22,0.1l-0.28,0.74l1.22,0.54l0.82,1.88l1.12,-0.73l1.12,0.98l0.99,-0.79l0.6,0.52l1.4,-0.43l1.24,0.89l1.95,-0.4l0.47,0.74l1.44,0.04l1.87,-2.0l1.12,-0.12l0.88,1.88l-0.23,1.61l2.73,1.17l0.99,-2.2l0.66,0.54l0.86,-0.68l-0.68,-2.21l0.39,-1.34l2.03,2.74l0.4,1.74l-2.54,2.76l0.92,2.18l-1.2,1.53l1.51,2.42l-0.12,1.26l1.77,1.39l0.42,2.48l-1.52,0.27l-0.12,1.39l-4.28,0.38l-2.16,1.18l-4.19,-0.67l-0.74,0.79l5.04,1.01l7.7,-1.58l-0.08,1.01l1.78,0.38l0.15,3.34l1.33,0.37l-1.61,2.91l1.54,2.47l-0.64,1.56l1.63,0.02l1.62,-1.44l0.55,0.66l0.9,-0.37l0.42,1.2l-1.79,0.29l-0.81,1.56l1.94,4.81l-0.53,1.75l-0.49,0.33l-0.49,-0.84l-0.43,-2.08l-2.54,-1.36l0.07,2.24l1.07,1.13l-0.9,1.22l-2.52,1.17l-0.21,0.87l3.16,-0.09l2.25,2.48l1.48,-3.64l2.54,-3.15l3.47,-0.41l0.89,-0.97l4.23,1.35l0.88,3.2l2.07,2.53l0.03,5.92l-1.06,1.95l-5.56,3.96l-1.58,3.45l3.83,-4.1l4.86,-3.19l0.7,-1.85l-0.2,-7.51l1.76,-0.2l1.11,3.2l-1.48,4.96l0.81,0.14l0.86,-1.54l1.17,-3.78l1.04,1.05l0.48,5.63l1.0,0.4l-0.27,-3.89l0.92,-3.12l3.42,-2.57l0.63,-2.68l1.04,1.17l0.55,-1.56l1.61,-0.49l-0.5,-3.33l0.91,-1.35l-0.08,-2.13l4.9,2.94l0.38,3.6l-0.65,1.08l1.18,0.8l0.82,-5.76l-2.39,-1.59l-0.76,-2.0l2.26,-0.94l-0.23,-0.75l-1.62,-0.02l0.76,-1.47l1.91,0.43l-0.97,-1.83l2.13,0.56l0.2,-0.65l-1.0,-0.55l1.84,-0.07l0.57,-0.69l-2.51,-0.75l-0.86,0.79l-0.95,-1.14l1.63,-2.34l-1.22,-1.3l1.63,1.03l0.65,-0.66l-1.2,-1.2l0.27,-1.02l-0.91,-0.42l1.58,-0.5l2.03,1.08l1.18,-0.2l-2.5,-1.88l-2.27,-0.15l-2.07,-3.34l1.18,-2.17l2.75,0.78l1.03,-0.65l-2.55,-0.99l0.83,-1.94l-0.92,-1.51l0.72,-3.18l2.37,-0.35l0.39,0.53l-1.02,0.44l0.27,0.84l-1.61,0.8l1.18,1.74l1.8,0.19l-0.93,1.95l1.24,5.32l2.0,1.75l2.73,-2.15l-1.08,1.6l0.96,4.42l1.29,1.97l1.91,0.72l-4.47,-0.11l-0.76,1.69l0.28,1.7l5.87,-0.6l0.77,1.65l1.34,0.35l3.31,-3.48l2.62,1.19l-4.93,3.05l0.59,2.54l0.98,0.39l1.01,-0.96l0.71,0.98l-2.51,3.1l0.08,2.13l-1.41,1.31l0.05,2.0l0.64,0.85l1.8,-0.09l3.0,4.39l1.14,-0.81l1.6,1.6l1.76,0.07l-0.75,1.73l1.5,3.17l-0.87,1.11l0.05,1.7l1.5,1.96l-0.57,1.26l0.73,3.23l-0.83,0.91l0.33,1.16l-0.83,1.87l3.76,4.08l-2.68,0.86l1.07,2.62l1.03,0.74l1.87,-0.08l-0.99,1.19l0.5,1.88l1.22,-0.66l1.2,0.69l2.14,-0.12l-0.88,1.63l0.62,1.68l2.96,2.0l1.05,1.64l2.06,0.9l1.25,-0.5l0.24,1.93l1.03,0.77l-3.29,3.75l0.16,2.77l1.69,1.08l-0.72,7.12l-7.14,-0.89l-2.03,1.25l-2.45,0.1l-3.14,1.95l-3.52,0.02l-2.1,1.19l-2.7,-2.92l-2.07,0.38l-2.35,-0.87l-4.27,-3.5l-2.9,-1.23l-0.87,1.07l1.96,1.57l-0.17,2.11l1.48,1.67l-0.4,1.11l1.8,2.02l-0.87,1.11l-6.47,-3.28l-0.16,-1.16l-1.37,-0.14l-0.77,0.94l0.2,1.29l2.53,2.68l-0.03,1.02l1.44,0.79l-0.02,0.93l1.91,0.16l-1.55,0.44l-0.36,1.99l-2.07,-0.88l-1.48,0.78l0.14,2.15l2.19,2.6l-1.79,5.54l2.42,1.66l0.46,1.12l1.76,0.66l0.23,3.29l0.89,0.64l3.05,-0.25l1.66,2.57l1.09,-0.28l0.81,0.77l-0.36,2.35l0.9,2.89l-0.65,2.01l1.25,4.36l3.53,0.01l1.16,-1.3l-0.51,-4.02l1.22,-0.52l0.08,-1.42l2.1,1.75l-0.84,0.91l0.94,1.83l-0.9,0.76l1.11,2.51l-0.4,0.73l1.33,1.83l-0.78,2.0l1.83,2.63l1.35,0.07l-0.43,-2.68l1.31,0.96l0.94,-0.23l0.96,2.03l3.17,0.35l0.08,-1.35l2.55,0.46l0.37,-3.06l3.66,-0.38l3.28,1.73l0.71,1.7l3.05,0.82l-0.99,1.63l2.72,3.16l2.93,-4.57l-1.46,-1.65l-0.38,-4.86l1.35,-1.05l-1.32,-4.92l1.22,-0.11l-0.3,1.18l2.44,0.0l2.61,3.99l-1.28,-0.17l-0.48,0.73l1.68,1.11l35.01,-11.1l35.07,-12.54l3.42,9.02l-1.77,-0.95l-2.75,2.28l-1.08,0.49l-0.72,-0.49l-2.68,4.19l-1.64,1.25l-1.0,-0.75l-0.11,1.13l-1.43,-0.17l-1.72,1.36l-0.6,1.16l1.14,1.19l-3.26,3.83l1.5,3.76l-0.63,-1.43l-0.81,-0.1l-0.43,2.86l-0.77,0.21l-1.21,2.32l-0.67,3.58l-2.17,1.52l-0.5,1.77l0.65,0.77l-1.2,1.54l-2.9,0.03l-0.31,0.93l-2.71,1.52l-0.41,-0.49l-0.86,0.79l-1.54,-0.22l-0.9,1.3l-6.38,3.28l-0.63,-0.58l-1.77,1.59l-1.49,-1.29l-3.94,1.02l-2.28,-0.28l-3.14,1.2l-0.63,-0.4l-2.2,1.18l-1.14,-0.17l-3.8,2.96l-4.91,-0.34l-3.53,1.93l-3.54,-0.01l-4.49,2.21l-4.62,0.41l-4.94,2.55l-2.65,0.05l-1.66,2.26l-2.24,0.48l-0.93,-0.98l-0.82,0.24l-2.35,4.9l-1.87,1.56l-0.22,2.67l-1.15,0.65l0.37,6.89l-0.9,2.3l-7.12,2.55l-2.85,2.86l1.47,0.84l-1.15,0.54l-0.93,-1.34l-1.01,0.1l0.64,1.28l-1.75,1.62l-0.67,2.63l-3.49,3.63l-0.27,3.11l-1.0,0.53l-1.29,5.65l-2.01,3.09l-1.29,0.07l-2.38,-1.59l-1.96,0.46l-3.06,-1.17l-3.75,0.48l-3.78,-0.53l-1.08,0.61l0.34,0.72l2.87,-0.0l-0.93,0.89l0.77,0.75l4.35,-1.54l4.13,1.14l2.46,-0.31l2.54,1.29l-0.84,6.13l-2.02,2.56l-0.47,3.04l-2.8,1.66l-1.43,6.21l-2.49,2.27l-2.57,4.76l-5.07,3.11l-2.2,0.19l-3.66,3.19l-0.16,1.61l-3.51,3.69l-4.41,2.47l-0.11,1.93l-1.55,0.98l-2.15,5.95l-3.75,2.23l-2.78,3.92l-3.31,-0.18l-4.81,-1.52l-7.53,2.73l-6.18,4.37l-2.82,-1.86l-2.34,0.27l-0.91,1.01l-3.85,-1.06l-3.2,-5.29l-1.74,0.28l-0.33,1.68l-2.91,-1.28l-1.98,-2.69l-4.14,-1.81l-13.22,-1.13l-3.35,-2.85l-6.82,-9.11l-0.54,-3.26l-1.96,-2.87l0.5,-2.68l-6.88,-58.58l1.67,2.7l0.76,-0.3l-2.63,-4.13l-1.45,-10.21l1.8,-2.07l0.51,0.3l-0.05,1.75l1.97,-0.07l1.17,0.94l1.17,4.32l2.02,0.89l-0.92,-1.44l0.7,-2.4l-0.66,-0.48l1.87,-2.2l-1.42,-0.35l-0.2,-1.85l-2.72,-2.34l1.92,-1.2l-0.7,-1.8l1.4,-0.7l1.48,-2.63l0.22,-2.55l1.53,-0.35l-1.62,-0.87l0.35,-0.97l-1.08,-3.34l-1.97,-0.38l0.3,-0.73l-1.54,-2.57l0.77,-0.58l-0.19,-2.18l-1.55,0.32l0.7,-1.5l-0.99,-0.9l-0.91,0.22l0.22,-3.89l-2.13,-4.19l0.97,-1.93l-1.87,-3.11l0.14,-1.17l1.02,0.29l0.34,-0.65l-1.75,-0.7l0.54,-0.95l-0.65,-1.0l0.79,-0.61l-1.92,-1.3l0.47,-1.99l-2.94,0.06l0.37,-1.03l-1.53,-0.25l-1.71,-5.56l-1.6,-1.27l12.54,-7.64l5.83,-5.38l5.76,-8.04l0.03,-1.54l3.67,-6.25l0.7,-7.28l-2.09,-12.99l-4.38,-10.16l-4.3,-5.9l-3.31,-2.21l-0.4,-0.99l-5.76,-2.52l-4.54,-4.12l-1.36,0.49l0.77,-1.64l-1.24,-3.71l2.05,-0.16l1.57,-5.91l2.29,-1.62l0.35,-1.83l0.75,-0.42l-0.01,-0.71l-1.88,-0.96l1.18,-1.28l-0.12,-1.72l-0.72,-0.58l1.56,-0.14l1.48,1.82l1.76,-0.42l-1.31,-0.66l-1.04,-2.07l1.87,-1.5l-1.03,-2.89l1.33,-2.14l-0.47,-0.56l-3.35,0.5l1.59,-1.31l-1.31,-0.85l0.39,-0.86l-0.77,-1.16l-2.18,-1.91l2.59,-3.27l-1.49,-0.49l-1.22,0.52l-1.2,-1.06l2.38,-4.21l-0.95,-0.23l-2.27,1.59l-0.86,-1.07l-2.14,0.94l2.89,-4.95l0.63,-2.61l-1.13,-4.32l1.75,-1.37l-1.13,-1.19l1.27,0.24l0.34,-0.62l-1.23,-1.21l-1.15,-0.05l-0.92,-1.42l-1.99,-0.29l-2.53,-8.09l-0.22,-2.36l0.82,-1.84ZM689.57,666.14l2.97,2.78l0.4,4.81l3.85,2.18l2.91,3.03l-0.08,2.64l1.13,1.65l0.1,-6.44l1.08,-1.92l1.66,-0.63l-0.19,-1.37l1.35,-2.13l-1.37,-1.44l-0.69,-3.39l-0.83,-0.4l0.98,-1.49l-0.24,-1.9l-1.02,-0.45l-0.51,3.11l-1.74,-0.59l0.3,-3.81l-2.42,-1.16l0.9,3.16l-0.05,1.06l-0.54,-0.56l-0.61,0.45l0.5,1.31l-1.72,0.69l-0.92,-1.3l-0.87,2.84l-2.4,-5.39l-0.46,1.1l1.2,4.24l-2.2,-2.96l-0.38,1.02l-0.98,0.1l0.87,1.15ZM641.29,697.73l-1.32,5.35l0.92,-0.27l1.5,-3.61l1.02,0.96l0.17,1.97l1.01,0.68l-1.41,0.75l-2.37,3.12l0.88,0.82l1.32,-0.43l0.12,-1.1l2.26,-2.64l-0.25,-2.25l0.82,-0.6l-1.24,-1.43l-0.37,-2.37l4.08,-9.43l0.55,-0.8l0.05,1.71l-1.74,2.01l-0.84,3.7l4.78,-6.08l0.82,-2.37l3.4,-2.58l-0.15,-0.73l-1.75,-0.25l-0.62,0.53l-0.45,0.12l0.95,-2.03l-4.09,0.13l-2.49,2.35l-3.6,5.35l-2.17,1.13l0.23,2.25l0.66,0.46l-0.68,5.6ZM578.58,653.33l-0.12,0.05l-0.03,-0.04l0.15,-0.0ZM653.17,787.27l4.41,1.1l0.65,0.96l-1.84,0.63l-1.91,2.07l-1.51,-1.14l0.21,-3.62ZM655.64,541.71l0.05,-0.09l0.04,0.01l-0.05,0.06l-0.03,0.02ZM627.38,494.93l0.16,-0.06l-0.08,0.05l-0.09,0.01ZM639.8,499.28l-0.07,-0.03l0.04,-0.08l0.03,0.12ZM657.49,533.45l0.42,-0.03l0.38,-0.21l-0.29,0.53l-0.52,-0.29ZM677.32,543.83l-0.22,-0.37l-0.25,-1.11l0.12,-0.83l0.35,2.31ZM692.9,522.01l-0.29,-0.07l-0.05,-0.23l0.17,0.12l0.17,0.19ZM695.33,499.9l-0.07,-0.73l1.02,0.21l-0.34,0.12l-0.61,0.4ZM696.44,499.35l0.14,-0.3l0.34,0.14l-0.21,0.11l-0.26,0.05ZM721.21,553.5l-0.0,-0.22l-0.06,-0.42l0.12,0.17l-0.05,0.47ZM742.68,638.01l-0.94,-0.91l-1.23,-4.78l2.19,-1.57l-0.57,-3.86l2.03,-0.83l1.87,2.26l0.26,3.08l2.85,1.31l-4.71,1.98l-1.74,3.3ZM572.29,551.83l-0.04,-0.14l0.05,-0.08l-0.01,0.22ZM809.54,639.84l0.11,-0.18l0.38,-0.14l-0.2,0.29l-0.28,0.03ZM794.07,718.76l-0.04,-0.31l0.4,-0.4l-0.02,0.55l-0.34,0.16ZM794.08,721.05l0.12,0.06l0.22,0.03l-0.4,0.14l0.05,-0.23ZM752.05,684.58l3.35,-1.98l12.06,-0.48l7.47,1.06l4.76,2.11l3.86,-0.07l3.15,2.43l-0.94,1.38l-4.79,1.57l-10.21,0.1l-5.99,-1.0l-1.45,-1.91l-4.1,-1.89l-7.17,-1.32ZM652.71,796.39l2.37,-2.89l3.83,-1.92l2.72,-3.56l2.68,-0.68l0.07,-5.26l2.17,-3.82l0.22,-2.72l4.72,-3.18l2.23,-3.77l2.48,-1.6l0.65,-2.03l1.89,-1.12l1.43,-2.03l1.92,0.23l4.53,-3.0l1.48,-2.1l4.17,-2.21l2.66,-2.41l8.34,-16.91l0.68,-3.09l5.71,-8.22l7.34,-7.76l14.54,-11.65l4.17,-2.69l7.07,-3.0l8.62,-0.99l3.41,0.69l4.64,2.34l0.25,0.85l-3.4,-0.34l-0.76,0.51l0.9,1.37l1.21,-0.43l0.13,0.76l3.16,1.24l-0.69,1.61l1.11,0.79l-0.89,1.66l-3.97,2.67l-0.08,2.5l-1.99,0.9l-0.01,1.14l-2.76,2.81l-1.46,0.58l-4.54,-0.82l-1.94,-1.54l-1.61,2.77l-4.74,0.93l-0.62,1.24l-3.97,2.56l-0.15,1.39l-1.26,-0.06l-3.13,2.04l-2.65,-0.67l-0.75,-1.02l-5.83,1.45l-0.09,1.3l-2.99,1.14l1.44,6.32l-1.36,2.4l-4.88,3.54l-0.62,-2.08l-2.76,0.16l-6.09,15.23l0.29,5.14l-1.15,1.5l-0.55,2.85l0.72,1.19l-0.26,2.96l0.87,0.77l-1.38,2.38l0.31,1.47l-2.74,3.32l-0.21,1.82l1.32,1.03l-1.96,-0.13l-0.29,2.78l-1.38,-1.09l-1.81,2.22l-2.46,-0.16l-1.2,1.39l0.52,0.71l-0.6,3.08l-37.0,7.26ZM695.11,673.17l-1.2,-1.89l1.28,-3.57l2.36,-1.72l2.65,0.97l1.12,3.06l-1.49,-2.14l-0.88,0.09l-0.35,1.07l1.59,2.2l1.6,0.33l-0.48,1.45l-1.08,-0.11l-0.18,0.98l-1.7,0.54l-1.79,-1.34l-1.43,0.06ZM699.83,676.44l0.05,-0.39l0.27,-0.52l-0.05,0.36l-0.26,0.55ZM688.63,755.76l1.98,-2.71l0.28,-0.13l-0.38,1.07l-1.88,1.77ZM659.46,787.18l2.28,-1.7l1.54,-2.74l-0.52,3.86l-3.3,0.58ZM659.81,785.25l1.03,-1.6l0.72,-0.51l-0.63,1.6l-1.12,0.51ZM659.11,532.42l0.63,-0.24l0.62,1.37l-0.55,1.27l-0.69,-2.4ZM656.94,791.1l0.16,-0.25l0.89,-0.1l-0.46,0.23l-0.58,0.13ZM652.03,682.85l-1.22,1.65l-0.39,-0.18l0.87,-0.97l0.73,-0.5ZM649.56,685.96l-0.16,0.02l-0.35,0.32l0.38,-0.81l0.12,0.47Z",name:"Québec"},pe:{path:"M769.24,739.85l-0.18,-1.73l2.38,-5.55l0.78,1.7l-0.66,2.7l1.46,0.36l2.27,2.05l-0.46,2.1l1.16,-0.5l0.61,0.64l1.57,-0.17l0.11,-2.32l2.73,1.04l1.06,-0.97l1.95,1.15l7.37,-2.66l0.67,-1.07l5.69,-1.66l-1.8,2.01l-1.67,0.27l-0.29,1.75l-1.05,0.36l0.88,0.75l-1.76,0.32l0.28,1.54l1.91,0.57l-1.06,1.49l1.06,0.39l-2.59,1.13l-1.77,-0.58l-0.25,-2.19l-1.63,-0.62l-1.22,0.39l1.06,-1.86l-0.51,-0.53l-1.64,1.82l-1.07,0.01l0.29,0.75l-0.86,1.0l0.82,0.47l-3.05,-0.53l-1.4,0.5l-2.44,-1.08l0.82,-0.41l-0.92,-1.1l-4.45,1.08l0.16,-2.7l-0.78,-1.42l-0.79,0.92l-2.8,0.36Z",name:"Prince Edward Island"},bc:{path:"M13.68,416.26l38.29,21.56l40.78,20.26l41.78,18.1l42.4,15.79l-37.34,108.94l0.23,2.34l1.36,1.97l-2.01,-0.53l-0.39,1.88l1.81,4.12l2.62,0.69l0.45,3.38l2.09,1.93l1.26,-1.4l0.77,1.04l0.58,1.33l-0.59,0.93l0.97,0.98l-0.26,2.71l1.46,0.32l0.34,1.0l-0.42,9.09l2.27,0.12l0.91,-1.11l1.91,1.91l-1.43,1.59l0.3,1.88l1.42,1.86l3.03,0.67l-0.09,1.84l1.68,3.03l0.35,4.0l1.36,0.39l1.81,-1.22l0.08,2.89l2.0,4.22l-0.25,2.61l1.91,2.06l0.16,2.41l1.93,1.34l1.19,2.3l-0.77,2.06l2.77,3.21l0.39,3.35l2.44,0.37l1.38,4.09l-0.14,5.53l-0.98,2.53l0.11,2.26l-2.3,3.28l1.69,1.46l-0.74,2.47l1.46,4.06l2.11,1.46l0.58,2.44l-54.57,-16.38l-42.44,-14.97l-1.34,-2.34l-2.28,0.42l1.41,-1.4l-1.8,-0.63l1.1,-0.76l-0.62,-1.25l3.35,0.77l1.94,-2.65l-0.87,-0.46l-1.34,1.81l-0.73,-0.02l-2.26,-1.5l3.4,-5.58l-1.54,0.14l-0.64,1.13l-3.29,0.49l-0.74,1.8l-2.22,-2.35l1.18,-1.54l3.24,-0.79l-0.37,-0.66l-2.84,-0.01l-0.59,-2.27l1.35,-1.97l-0.25,-1.64l2.91,-1.08l-0.39,-1.65l-1.48,-1.88l-0.67,0.31l1.11,2.67l-2.3,0.5l-2.93,3.08l-2.88,-0.88l-1.94,-4.22l3.27,-3.87l-0.4,-1.99l0.66,-0.64l2.68,0.23l1.56,-1.1l-0.53,-0.58l-1.92,0.55l-2.02,-0.55l-2.16,1.19l-0.86,-0.52l0.19,-1.72l-0.86,-0.14l3.08,-1.59l1.61,-2.59l-0.54,-1.17l1.94,-1.18l-0.12,-1.14l-0.81,-0.31l-2.3,1.51l0.22,1.81l-0.79,1.69l-3.79,2.15l0.16,-1.29l-1.14,-0.17l-0.23,-1.39l-1.19,0.93l-1.01,-0.17l1.36,-2.4l1.52,-0.77l-0.21,-0.88l-2.03,0.51l-2.34,3.14l-0.55,-2.01l-2.3,0.15l-1.87,-1.12l0.32,-0.73l5.59,0.31l1.71,-1.03l0.34,-1.63l0.94,0.18l1.32,-1.41l-0.32,-3.45l-0.89,0.49l-0.07,2.73l-1.67,0.34l-0.41,1.52l-1.26,0.7l-1.91,-0.24l-0.41,-0.77l-2.03,-0.08l2.36,-1.07l-1.65,-0.62l0.58,-1.2l-0.82,-0.57l1.48,-0.85l-3.03,-1.52l0.13,-2.45l-1.55,2.18l-1.62,0.38l-1.26,-1.83l-1.03,0.28l-2.78,-1.56l-0.03,1.06l-1.91,-2.09l0.18,-0.81l-0.87,-0.64l1.2,-1.71l-2.02,-0.72l-0.34,-2.17l2.39,-0.07l3.73,1.75l1.27,-0.28l0.88,-1.35l-0.59,-0.45l-2.09,0.8l-1.52,-0.85l-0.02,-0.89l-3.06,-0.81l3.0,-0.69l1.92,-2.23l4.52,1.2l3.66,2.02l1.79,-1.19l-0.38,-2.15l-1.39,2.05l-6.12,-3.54l-0.79,0.4l2.07,-2.17l-0.61,-0.83l-2.47,2.04l-1.94,-0.38l0.85,1.33l-1.62,1.97l-1.06,-1.22l0.06,-2.5l1.21,-2.96l1.4,-0.83l1.32,0.33l1.96,-1.48l1.81,0.23l0.25,-1.47l3.62,-0.97l1.19,0.83l1.4,6.84l0.91,-1.43l-1.14,-3.48l0.26,-1.89l2.56,-0.31l-0.5,-0.96l-2.81,-0.06l-1.19,-1.21l0.44,-2.15l3.22,-0.88l1.43,-1.41l0.28,-2.14l-0.81,-1.58l-0.65,0.29l-0.22,3.03l-3.76,1.37l-0.84,1.41l-3.04,0.79l-2.28,0.14l0.03,-1.16l-1.92,1.47l-0.07,-1.06l1.33,-0.79l0.83,-4.09l-2.89,0.28l-1.92,1.56l4.7,-7.11l1.47,-0.62l-1.26,-0.96l-2.19,1.52l-1.33,-1.02l0.85,-4.21l1.01,-1.4l-0.84,-0.43l-0.19,-1.93l-0.88,0.13l-0.66,-1.45l0.74,-2.41l0.91,-0.63l-0.91,-1.26l1.28,0.17l-0.12,1.24l1.75,3.88l0.96,-1.37l3.2,1.11l-0.64,1.96l0.94,-0.15l0.03,2.25l1.24,0.61l0.19,-2.33l-1.0,-3.59l-2.27,-1.32l-1.99,0.31l-1.33,-3.84l1.65,-2.6l1.19,-0.39l1.97,1.07l0.05,-1.0l-1.41,-1.23l1.57,-2.17l-0.99,-0.09l-3.25,1.95l-0.57,-1.39l-0.8,0.06l-0.29,1.7l-0.47,-0.69l-0.66,1.18l-2.69,1.13l-2.16,3.62l-2.66,-9.4l0.18,-1.8l-0.78,-0.55l1.81,-3.54l1.68,4.79l-0.08,-4.94l2.67,1.58l2.23,-0.66l-0.37,-0.7l-1.5,0.3l-1.83,-1.67l-3.38,-0.01l-0.89,-1.25l1.17,-0.49l0.43,-2.86l-1.71,0.68l-0.64,-0.71l0.52,-0.88l0.82,0.14l0.4,-1.89l0.58,-0.0l0.81,5.21l1.31,0.88l-0.43,-2.01l1.95,-1.82l-1.29,-0.41l-0.83,0.73l-0.5,-4.19l1.16,-0.05l1.29,2.42l1.75,0.73l-1.81,-3.81l2.23,-1.4l0.1,-0.88l0.54,-0.4l0.09,1.05l2.0,-0.48l2.14,0.76l0.42,-0.72l-3.37,-1.69l6.34,-5.04l1.97,0.13l-0.21,-0.94l-2.03,-0.26l0.42,-3.12l-0.63,-0.43l-2.89,5.71l-4.38,3.54l0.19,-1.23l3.65,-2.47l1.85,-8.34l3.08,-2.48l0.24,-3.33l-2.86,-2.26l0.24,-1.84l-1.34,-1.53l-0.43,-1.97l-2.66,-2.59l-2.71,-5.17l-2.36,-1.11l1.2,-3.41l-1.5,-2.18l1.9,-2.25l-2.06,-2.5l1.76,-1.48l-0.9,-23.72l0.09,-1.46l0.99,-0.7l-1.5,-7.31l-2.39,-3.93l0.48,-5.51l-0.8,-0.66l-0.18,-2.6l-1.73,-1.64l0.25,-2.83l1.73,-2.27l-1.63,-6.02l-5.6,-0.15l-2.2,-0.69l-1.03,-0.17l-0.14,0.0l-0.63,0.11l0.16,1.76l-1.03,0.68l-1.72,-0.48l-1.53,2.9l-1.84,1.18l-2.14,-0.96l-7.6,0.93l2.24,-5.74l-3.41,-13.53l0.63,-3.0l-1.2,-1.82ZM73.27,652.68l0.29,0.56l-0.5,0.41l0.15,-0.35l0.07,-0.62ZM65.49,639.77l-0.05,0.24l-0.09,0.16l-0.03,0.01l0.17,-0.41ZM46.9,622.45l0.58,0.56l0.35,0.23l-0.42,0.17l-0.51,-0.97ZM45.51,609.91l-0.17,0.0l-0.36,-0.19l0.3,0.13l0.23,0.05ZM49.86,591.97l-0.53,1.61l-0.68,0.46l0.16,-1.83l1.05,-0.24ZM46.31,592.25l-0.74,0.75l-0.66,0.39l0.64,-1.17l0.75,0.02ZM51.41,599.9l0.12,-0.02l0.32,0.0l-0.13,0.19l-0.3,-0.17ZM55.89,626.23l-2.74,-0.27l-0.32,-0.43l0.61,-0.51l2.44,1.22ZM55.17,631.07l-0.22,-0.02l-0.62,-0.24l0.11,0.01l0.74,0.26ZM72.62,660.16l-1.15,-1.36l-0.28,-2.05l0.99,-1.2l0.44,4.6ZM76.93,661.93l0.48,-0.35l0.04,0.63l-0.15,-0.16l-0.38,-0.13ZM76.29,664.18l0.11,-0.16l0.39,-0.19l-0.22,0.27l-0.28,0.08ZM71.32,674.26l-0.21,-0.6l0.34,-1.42l0.54,1.27l-0.67,0.75ZM70.18,655.53l-0.06,-0.38l0.7,-0.3l-0.51,0.61l-0.13,0.07ZM32.64,621.08l0.68,-0.17l-0.74,-1.07l0.22,-1.3l5.36,0.74l3.39,3.27l-0.02,1.6l0.6,-0.15l4.55,5.7l6.73,4.07l1.93,2.25l4.68,3.02l0.26,7.98l1.84,4.7l-1.4,0.36l0.69,4.35l2.14,2.76l3.72,2.75l-0.42,0.9l2.04,1.19l-0.26,1.6l1.09,0.84l0.1,1.41l-1.08,0.55l1.57,3.71l-1.15,0.93l0.85,1.83l-0.98,2.32l0.85,0.38l1.35,-1.36l-0.07,3.71l-1.43,-1.03l-2.12,1.49l-0.76,-0.26l-6.76,-6.52l0.14,-0.88l-2.79,-1.25l-3.6,-4.45l-0.31,-1.19l5.54,-2.62l1.13,-1.58l-0.22,-2.1l-2.58,3.54l-2.64,-0.93l-1.1,0.36l-0.45,-0.34l0.86,-0.46l-0.95,-1.1l-2.44,1.38l-0.89,-1.16l-1.27,-2.46l2.18,-0.5l0.91,-0.99l-0.46,-0.57l-1.28,0.35l0.96,-2.94l-0.65,-0.54l-1.11,1.17l-1.57,-0.16l1.04,-0.37l1.32,-2.07l-0.7,-0.23l-1.4,1.27l0.29,-2.16l-1.77,0.02l-0.5,-1.02l-0.8,1.05l-0.81,-2.22l-1.16,0.39l-0.16,0.81l-0.28,-0.45l1.23,-2.55l5.26,1.02l0.36,-1.01l-3.85,-1.53l1.24,-1.08l-0.63,-1.0l-1.68,0.97l0.63,-3.12l-0.98,-0.43l-0.6,-2.02l-1.45,-0.4l-0.81,1.52l-1.65,-0.66l-0.32,-1.71l2.46,-1.59l0.4,-1.05l-1.6,0.13l-1.02,-1.33l-1.3,1.56l-0.46,-0.99l0.8,-0.46l-0.19,-1.5l-2.04,0.4l0.25,-1.15l-2.51,0.74l-0.68,-0.62l2.5,-1.18l-0.61,-0.93l0.54,-0.89l-1.5,-1.03l1.07,-1.19l3.27,0.93l0.71,2.43l0.68,-0.27l-0.22,-2.73l2.1,-0.71l-5.12,-3.14l0.17,1.47l1.91,1.19l-5.13,-1.05l-1.14,-3.24ZM42.73,638.87l0.18,0.66l-0.39,0.25l0.21,-0.91ZM48.16,658.18l-0.19,-0.14l-0.04,-0.06l0.11,0.01l0.12,0.19ZM65.5,652.35l2.27,2.11l0.58,2.49l-1.49,-2.95l-1.36,-1.66ZM68.05,643.88l-0.05,0.24l-0.39,0.41l0.11,-0.31l0.33,-0.33ZM67.01,658.01l0.26,0.09l0.46,0.37l-0.41,-0.15l-0.3,-0.32ZM65.56,642.66l0.9,0.14l-0.27,0.67l-0.55,-0.11l-0.08,-0.69ZM66.41,644.41l0.09,0.18l-0.5,0.24l-0.01,-0.2l0.41,-0.22ZM63.88,645.46l-0.21,-0.95l0.93,-0.53l-0.29,1.49l-0.43,-0.01ZM63.51,655.92l-0.0,-0.0l0.0,0.0l-0.0,0.0ZM61.36,639.62l0.04,-0.17l0.14,0.12l-0.07,0.05l-0.11,0.0ZM62.49,639.49l0.42,-0.95l0.59,0.96l0.17,3.08l-0.26,-2.27l-0.92,-0.82ZM61.23,643.16l0.03,-1.75l0.74,-0.6l0.33,1.46l-1.11,0.89ZM60.56,638.05l0.47,-0.38l1.13,-0.03l-0.83,0.65l-0.77,-0.24ZM59.53,637.03l0.18,-0.02l0.48,0.11l-0.61,-0.06l-0.05,-0.04ZM56.7,635.33l0.86,0.09l0.09,0.38l-0.33,-0.07l-0.61,-0.41ZM47.05,600.72l2.52,-3.17l6.61,-1.18l-0.51,1.31l-4.2,0.56l-2.9,2.62l-1.53,-0.13ZM51.25,628.36l2.59,-1.08l1.31,0.42l0.04,0.85l-1.28,0.95l-2.66,-1.14ZM51.19,630.96l1.85,0.01l0.22,0.32l-0.39,0.14l-1.68,-0.47ZM49.16,624.77l0.02,0.01l0.0,0.06l-0.02,-0.07ZM50.08,625.28l0.07,-0.07l0.64,0.3l-0.56,-0.01l-0.15,-0.22ZM48.4,587.0l0.14,-1.17l0.6,0.19l-0.53,0.82l-0.2,0.17ZM45.28,570.42l0.29,-0.57l0.16,-0.22l-0.2,0.65l-0.25,0.13ZM45.8,569.53l1.13,-1.95l2.4,0.2l-0.72,1.13l-2.81,0.62ZM45.97,597.4l0.63,-0.09l0.89,0.46l-0.56,0.43l-0.96,-0.8ZM46.73,596.18l1.01,-0.33l-0.49,-0.88l0.72,0.24l-0.14,1.53l-1.1,-0.57ZM44.4,591.29l1.02,-0.72l1.98,-5.16l-1.2,4.81l-1.8,1.07ZM41.13,582.84l0.04,-2.1l0.67,0.54l0.37,-0.87l3.25,-1.66l-0.98,-2.79l-0.6,0.02l1.1,-2.33l2.74,4.19l-0.64,3.91l-2.91,4.7l-0.83,-0.37l0.76,-1.87l2.26,-2.34l0.28,-1.43l-1.65,0.38l-2.15,3.48l-0.91,0.15l-0.83,-1.63ZM44.49,586.33l0.0,0.03l-0.02,-0.02l0.02,-0.0ZM43.58,576.61l0.66,1.48l-2.46,1.26l-0.04,-1.71l1.83,-1.04ZM42.97,587.05l1.52,0.5l-0.57,2.32l-0.91,-1.61l-0.04,-1.22ZM43.46,542.33l-0.02,-0.54l3.49,-1.73l-2.18,1.92l-1.29,0.35ZM46.87,655.68l-0.0,-0.0l0.0,0.0l-0.0,0.0ZM44.85,572.36l0.01,-0.26l1.86,-1.75l-0.47,2.63l-1.39,-0.62ZM45.33,652.85l0.48,-1.03l0.67,0.05l-0.21,1.74l-0.94,-0.76ZM42.7,600.88l1.89,-2.0l1.62,0.26l-2.46,4.01l0.03,-1.71l-1.08,-0.57ZM43.96,597.71l0.09,-1.03l1.12,-0.67l-0.62,1.32l-0.6,0.37ZM43.69,595.14l0.27,-0.49l0.51,0.28l-0.61,0.53l-0.16,-0.32ZM40.64,642.42l1.43,-0.61l-0.76,-0.86l1.66,-0.07l0.6,0.8l-1.0,3.81l-1.93,-3.08ZM41.58,608.24l0.22,-2.76l1.49,-0.67l-0.54,4.43l-1.17,-0.99ZM41.45,575.4l0.26,-1.41l1.63,-1.34l-0.96,3.17l-0.92,-0.42ZM41.25,591.58l0.36,-2.24l0.32,-0.39l0.56,0.41l-1.24,2.22ZM41.52,542.29l0.92,-0.2l0.04,0.0l-0.38,0.77l-0.57,-0.58ZM37.32,560.75l0.55,-1.25l-0.44,-0.75l0.81,-0.37l1.97,4.36l0.94,4.51l-0.92,0.17l0.21,0.68l1.4,1.38l-1.79,1.53l-0.23,1.15l-1.37,-5.61l1.36,-2.66l-2.01,-1.21l0.25,-1.11l-0.75,-0.82ZM38.12,563.82l-0.21,0.15l-0.18,-0.06l0.16,-0.11l0.23,0.02ZM40.09,551.37l0.12,-0.25l0.34,-0.21l-0.2,0.34l-0.26,0.12ZM38.87,583.4l0.33,-2.35l1.34,4.3l-0.73,1.53l-0.95,-3.48ZM39.97,554.02l0.01,-0.26l0.12,-0.15l0.17,0.38l-0.3,0.03ZM39.41,574.37l0.05,-0.86l0.56,2.86l-0.15,0.8l-0.46,-2.8ZM38.81,636.1l0.02,-0.04l0.01,0.01l0.01,0.02l-0.04,0.02ZM36.0,544.84l1.15,-1.7l0.93,0.78l-0.43,0.41l-1.65,0.51ZM33.38,556.4l0.03,-0.04l0.04,0.11l-0.07,-0.07ZM34.97,554.87l2.69,-0.5l0.49,1.68l-0.08,0.84l-1.9,1.13l-0.24,-0.64l1.94,-0.78l0.12,-0.89l-1.57,-0.45l-0.97,1.11l-0.49,-1.49ZM37.19,573.52l0.12,0.1l0.17,0.59l-0.22,-0.31l-0.08,-0.39ZM32.8,562.24l0.45,-0.7l0.45,0.35l2.97,4.84l0.26,5.13l-1.43,-0.5l-0.37,-3.33l-1.63,-2.24l-0.14,-1.69l0.87,-0.41l-1.44,-1.43ZM35.07,560.95l1.21,-0.39l0.7,1.39l-0.5,1.33l-1.42,-2.32ZM34.98,550.97l0.11,-0.11l0.25,0.66l0.06,0.42l-0.02,0.03l-0.41,-0.99ZM9.63,550.74l0.94,-3.63l-1.0,-0.91l0.61,-0.4l-0.14,-1.49l2.18,-1.79l0.84,-1.77l3.53,2.7l-2.1,1.55l-0.15,0.93l4.15,-1.1l0.82,0.23l0.38,2.12l-0.58,2.09l-1.81,0.84l-4.92,-0.51l-0.08,1.66l1.42,0.52l-0.46,1.19l4.46,-0.42l0.44,-1.5l2.06,-1.36l0.52,-2.22l1.91,0.69l2.51,-0.26l-6.35,6.43l-1.95,4.43l-1.3,1.07l-2.45,-0.68l-2.47,0.46l-1.08,-2.8l1.55,-0.1l0.49,1.19l0.99,-0.9l-0.51,-2.05l-1.03,-0.96l0.24,-0.95l-0.65,-1.04l-0.81,0.17l-0.18,-1.41ZM9.63,555.39l-0.19,-0.06l0.1,-0.07l0.09,0.13ZM9.22,560.26l4.7,1.56l3.09,-0.19l-0.5,0.93l0.84,2.28l-1.54,-1.24l-1.76,-0.62l-0.57,0.44l0.18,1.57l1.54,-0.22l1.49,1.66l-0.45,0.79l-1.67,-0.13l-0.97,-1.76l-1.41,0.96l1.13,0.77l-0.98,2.53l0.88,1.12l-0.53,3.05l1.34,1.42l0.26,0.91l-0.47,0.44l-2.35,-4.76l-0.66,-3.28l1.18,1.12l0.51,-1.36l-0.8,-2.18l-1.38,1.18l-0.48,-3.08l1.59,1.01l1.16,-1.6l-3.41,-2.39l0.01,-0.97ZM13.68,576.98l0.77,3.02l-0.35,0.26l-0.72,-0.39l-0.43,-2.31l0.73,-0.59ZM15.02,580.68l0.03,0.01l-0.01,0.03l-0.01,-0.04ZM15.12,581.11l0.09,0.21l-0.08,0.07l0.01,-0.07l-0.02,-0.2ZM16.04,581.92l0.28,0.15l0.16,-0.01l-0.23,0.19l-0.21,-0.33ZM15.54,580.45l0.02,-0.36l0.45,-0.11l0.17,0.59l-0.65,-0.13ZM13.0,576.92l-0.13,-0.08l0.01,-0.05l0.07,0.08l0.04,0.06ZM14.54,571.61l0.03,0.04l0.11,0.01l-0.16,0.04l0.02,-0.08ZM15.25,571.87l0.28,0.01l0.58,-0.26l-0.53,0.92l-0.33,-0.67ZM15.16,583.7l0.03,-0.12l0.17,-0.25l0.1,0.28l-0.3,0.09Z",name:"British Columbia"},yt:{path:"M99.9,241.74l2.97,2.91l3.27,1.52l3.63,4.87l0.6,7.06l1.7,0.59l0.4,3.07l3.81,6.94l1.36,0.8l1.09,2.36l1.9,0.57l-11.85,21.13l-0.58,1.5l0.84,1.37l-0.55,2.17l-1.23,1.62l-0.36,2.35l-2.22,1.68l-1.26,3.47l14.63,8.28l-0.45,0.78l0.89,3.72l-1.18,1.06l0.09,3.77l-3.88,3.76l1.31,1.97l-0.91,1.75l-1.85,1.06l0.32,1.03l-0.74,1.47l1.78,1.57l2.31,-0.42l1.52,0.54l-1.27,1.1l0.35,1.2l1.31,0.21l2.22,-1.21l0.27,1.26l1.01,0.21l-2.9,1.53l0.78,2.27l-0.08,3.66l-5.53,3.93l-2.43,0.63l-0.27,1.37l1.59,0.51l-0.7,1.31l1.05,1.7l-1.75,0.48l-0.7,1.7l-1.68,0.84l0.08,1.28l1.82,1.02l1.34,2.27l-0.01,2.15l1.22,2.06l-1.67,1.12l-0.4,1.41l1.66,1.01l2.55,-0.73l1.23,1.28l-0.11,4.86l-0.84,0.83l-0.15,1.89l2.25,5.83l1.55,1.63l-1.75,0.01l-0.68,0.79l2.13,2.94l-0.05,2.63l-1.48,1.48l-2.07,0.18l-0.81,0.97l1.31,2.45l-0.28,2.33l1.55,1.11l-2.93,2.76l0.39,4.52l-1.1,1.81l1.21,0.35l1.19,2.39l-1.55,0.62l-0.97,4.11l-1.11,0.79l1.1,1.56l1.98,0.93l0.51,1.51l2.31,-0.36l0.59,5.79l1.09,0.63l-0.38,3.07l0.84,2.24l1.52,2.86l2.17,0.81l0.74,1.3l-0.91,5.2l-1.71,1.78l0.21,1.0l1.02,0.01l-1.32,3.55l0.04,2.37l0.9,-0.15l0.76,1.06l1.68,-0.65l1.88,1.47l1.27,-1.19l1.39,1.75l1.48,-1.19l3.85,3.92l2.18,-0.54l2.61,0.9l1.33,-1.65l1.56,0.69l-0.24,3.02l-2.02,1.63l0.34,4.36l1.61,0.99l-0.73,2.35l0.28,4.82l-0.91,1.18l-52.11,-22.5l-28.56,-14.1l-24.05,-12.91l-23.42,-13.53l-0.11,-1.79l3.21,-3.12l0.08,-1.24l-5.14,-2.7l-3.89,0.93l-2.41,-4.18l-1.66,0.64l-2.54,-3.47l99.42,-158.23ZM110.53,248.98l1.12,-0.26l0.66,1.18l-1.67,0.15l-0.12,-1.07Z",name:"Yukon"},nb:{path:"M711.42,743.4l4.88,-3.44l1.67,-2.57l-1.15,-6.84l2.7,-0.66l0.09,-1.3l5.1,-1.27l0.53,0.94l3.2,0.99l0.62,-1.14l2.68,-1.28l1.53,0.15l0.32,-1.87l1.78,-0.33l3.5,-2.52l0.93,0.83l6.82,0.46l2.82,4.06l4.5,-4.8l1.26,-0.71l0.41,1.01l2.56,-1.38l-0.51,0.9l1.22,0.58l-0.67,2.74l0.48,4.67l-3.72,5.12l2.64,0.43l3.85,-1.89l0.54,1.22l-0.64,2.18l1.73,2.28l-0.1,1.13l1.88,-0.05l0.76,2.83l1.48,0.9l-0.59,1.93l1.96,-0.46l0.23,1.66l4.02,-0.96l1.4,0.81l2.16,-0.91l2.12,0.21l-2.95,1.52l0.3,1.48l-0.94,0.55l-0.72,2.11l-1.22,-0.13l-0.53,2.15l-1.32,-1.94l-3.9,-2.32l3.2,3.71l-1.03,4.22l-1.71,0.5l-8.21,9.21l-1.85,1.2l-2.25,-0.95l0.9,-1.59l-0.53,-1.41l-2.29,3.0l1.52,1.27l-0.32,0.86l-1.78,0.25l-0.87,2.28l-1.24,-0.74l-1.86,1.85l-1.9,0.31l0.01,-0.72l-1.71,-0.72l-1.2,1.53l-1.8,-1.85l-1.44,2.06l-1.91,-1.39l-1.05,-5.84l-4.88,-0.68l-0.29,-3.7l-5.75,-20.08l-6.62,-3.72l-7.05,4.81l-1.78,-0.76ZM746.71,774.61l-0.04,0.04l-0.08,0.14l-0.05,-0.07l0.17,-0.11ZM759.72,722.42l-0.02,-0.05l-0.0,-0.01l0.06,0.02l-0.04,0.04ZM768.58,746.15l0.01,-0.09l0.03,0.05l-0.05,0.04ZM759.92,720.39l0.52,-0.56l0.81,0.01l-0.55,1.43l-0.78,-0.88ZM760.91,718.13l0.09,-0.3l0.01,-0.4l0.08,0.22l-0.18,0.48ZM748.69,781.87l0.11,-1.21l0.29,-0.8l0.38,1.59l-0.77,0.42Z",name:"New Brunswick"},nl:{path:"M818.49,689.15l0.02,-0.65l1.55,-2.42l1.38,1.36l-2.94,1.71ZM822.12,687.09l0.09,-0.28l0.2,0.08l-0.18,0.14l-0.11,0.06ZM824.04,685.87l-0.05,-9.48l0.64,0.38l1.82,-0.8l1.87,1.03l2.29,-0.74l-0.5,-0.76l-2.26,0.05l-0.8,-1.03l2.21,-0.76l0.36,-1.83l-1.2,0.28l-0.06,-1.05l-3.24,1.03l-0.72,-2.28l1.19,-3.08l1.98,1.73l-0.15,-1.35l2.27,-0.23l-3.27,-1.53l-0.87,-1.68l0.65,-17.4l2.04,-1.08l-2.31,-0.88l1.93,-2.2l0.89,-2.81l-0.87,-1.18l0.9,-3.28l-0.48,-3.01l6.52,-8.45l0.7,1.99l2.84,-0.55l0.35,-1.06l-1.21,-0.63l1.45,-1.04l0.84,0.68l-0.78,0.93l0.95,0.36l0.12,1.05l-0.92,1.43l-4.26,0.62l-0.95,0.99l0.23,0.79l1.02,0.19l0.13,1.52l1.83,0.78l1.53,-1.81l0.9,1.86l-0.65,0.47l0.31,2.92l-0.78,3.08l-0.82,-2.1l-0.61,-0.28l-0.62,0.97l1.97,3.56l-1.37,3.22l0.66,0.38l-0.55,1.91l-0.98,0.27l0.99,1.57l-0.14,2.05l-1.11,1.58l-0.03,3.77l0.85,1.9l-0.97,1.75l1.61,0.47l0.47,3.3l0.68,-0.49l1.16,-6.05l0.4,-0.71l1.07,0.13l-0.16,-3.28l0.95,-2.77l0.79,0.59l-0.18,3.42l0.93,-0.5l0.35,-1.41l1.06,0.05l-0.0,-1.09l2.77,0.99l2.22,-2.07l-1.66,3.19l-2.66,2.53l-0.74,3.71l0.9,0.17l0.71,-2.13l1.15,-0.64l-0.26,1.38l0.59,0.25l-1.6,3.0l0.53,0.67l2.71,-2.86l2.45,1.63l0.59,-1.21l0.32,0.99l0.71,-0.1l0.19,-1.95l0.79,0.49l-0.13,1.27l2.17,0.02l0.11,-0.88l0.52,1.06l-0.93,2.32l1.03,0.85l-0.22,1.48l2.24,-2.29l-0.65,-0.61l-0.51,0.55l-0.18,-1.15l1.53,-2.5l0.41,1.47l0.7,-1.52l1.67,-0.42l1.17,-5.2l2.42,3.97l0.26,-3.2l1.64,0.58l1.0,-2.39l1.68,-0.45l5.77,0.89l-0.64,2.87l0.81,0.8l-2.57,1.5l-0.11,1.54l0.91,0.29l-1.15,0.8l0.16,1.13l-1.86,1.47l0.58,1.24l1.42,-1.37l0.14,0.84l1.0,0.06l1.38,1.5l-0.02,1.59l1.84,-0.67l-2.93,2.73l-0.16,1.46l0.67,0.47l2.12,-2.82l0.83,1.31l0.65,-1.99l2.06,-0.03l0.87,-2.6l-0.28,-1.66l2.47,0.79l0.94,-3.37l0.86,0.76l0.31,2.82l-0.8,1.71l-2.03,0.34l0.22,1.79l-1.79,3.06l-3.22,0.02l-0.41,1.32l1.35,1.88l2.18,-0.61l-1.93,0.8l0.21,0.92l1.9,-0.22l1.18,-1.04l-0.06,1.61l-1.04,0.83l0.85,0.23l0.02,1.22l-1.26,-0.75l-0.84,0.55l2.04,2.42l3.09,1.38l0.28,0.85l1.71,-1.1l-0.83,-3.75l0.52,-5.24l1.91,-1.36l0.72,-2.61l0.43,0.3l-1.04,7.55l0.77,1.14l-0.42,1.63l0.51,0.96l0.88,-0.04l0.66,1.71l1.03,0.06l1.96,-4.0l-0.45,-3.72l1.84,1.57l0.18,1.36l1.14,0.61l-0.5,3.74l0.6,3.82l-0.59,0.45l1.18,0.95l0.77,4.09l-0.98,3.43l-1.51,-1.06l-1.64,0.27l-1.5,2.87l-1.09,-2.43l0.65,-2.17l-1.23,-1.29l-1.09,-0.0l0.54,-2.43l-1.62,-1.32l-2.29,7.81l-0.69,1.14l-1.16,0.24l-0.62,-6.94l0.67,-0.26l-0.92,-0.96l1.1,-3.35l-1.4,0.01l-0.71,-2.4l-3.07,-3.37l-1.38,-0.56l-0.33,0.87l-1.83,-0.48l-0.28,0.71l0.99,0.27l0.23,1.41l-0.7,1.6l0.37,1.7l-0.69,0.17l-0.99,4.53l-0.72,0.7l-0.95,-0.72l-0.75,0.59l-1.68,5.5l1.08,1.66l-1.06,0.18l0.45,2.57l-1.17,0.7l-0.02,0.81l-1.87,-0.71l-1.27,2.06l-1.9,0.6l-1.62,-0.42l0.46,-2.28l3.89,-2.8l1.31,-3.14l-0.02,-3.56l2.27,-1.82l1.78,-4.22l-1.59,0.08l-2.16,2.36l-0.07,-3.54l-0.96,3.25l-2.76,0.48l-0.96,-0.77l-0.73,0.71l0.13,1.83l1.21,0.81l0.24,1.37l-1.1,0.92l-0.26,-0.99l-1.08,-0.43l-0.8,1.48l-0.85,-1.66l1.28,-1.85l-0.83,-0.14l-1.53,1.71l-0.77,-0.1l0.26,-4.71l-1.06,-0.99l-0.16,3.43l-1.49,2.1l-0.11,-1.33l-0.54,0.35l-1.26,-0.92l0.77,2.76l-0.54,1.27l-1.32,-1.89l0.31,2.6l-4.86,1.56l0.52,1.58l-2.48,-0.05l-1.5,0.92l-0.74,-0.93l-1.47,1.43l-0.63,-0.85l-2.38,0.77l-0.77,1.11l-1.38,-0.43l-0.81,0.72l-1.26,-0.76l-3.66,2.09l-0.87,0.03l0.41,-1.32l-0.5,-0.16l-1.15,0.85l-0.09,1.71l-1.35,0.05l-1.6,1.8l-5.51,2.43l-3.59,-4.46l3.45,-5.51l1.99,-5.3l3.51,-4.35l-0.91,-0.21l-2.2,1.3l-1.98,-0.14ZM875.12,662.32l0.01,-0.05l0.03,0.05l-0.04,0.0ZM877.63,662.89l0.01,0.0l-0.0,0.01l-0.0,-0.01ZM877.65,663.11l0.18,0.25l-0.68,1.05l-0.32,0.16l0.81,-1.47ZM877.92,687.63l0.03,0.05l-0.01,0.02l-0.03,0.0l0.01,-0.07ZM861.05,691.78l-0.07,0.12l-0.12,0.06l0.18,-0.19ZM860.08,692.69l-0.48,0.59l-0.29,-0.1l0.05,-0.05l0.72,-0.44ZM879.4,666.53l0.09,-0.58l0.24,-0.6l0.19,0.13l-0.51,1.05ZM875.09,662.18l-0.1,-0.13l0.04,0.02l0.06,0.11ZM856.71,657.24l-0.75,-1.19l0.65,-0.66l0.34,0.61l-0.23,1.24ZM855.59,655.75l-0.04,-0.03l0.02,-0.02l0.02,0.05ZM854.12,657.33l0.0,-0.25l0.09,-0.07l-0.09,0.32ZM880.23,672.13l2.14,-0.42l1.19,-1.04l0.07,0.96l-3.4,0.5ZM880.31,686.28l0.4,-1.02l-0.02,0.87l-0.39,0.14ZM880.62,683.42l-0.08,-0.03l0.05,-0.13l0.03,0.16ZM865.38,648.2l1.06,0.13l0.06,-1.23l0.98,0.8l-1.68,2.0l-0.43,-1.69ZM859.69,653.01l0.19,-0.17l0.32,0.44l-0.25,-0.18l-0.25,-0.09ZM860.58,653.35l0.24,-0.05l0.02,0.23l-0.08,0.03l-0.18,-0.21ZM861.92,651.98l-0.05,-0.37l0.49,-0.4l0.03,0.24l-0.48,0.53ZM862.01,654.58l0.02,0.04l-0.01,0.11l-0.04,-0.08l0.03,-0.06ZM859.27,690.37l0.8,-0.58l0.4,0.51l-0.91,0.12l-0.29,-0.05ZM850.53,655.89l0.16,0.11l-0.16,0.24l-0.04,-0.3l0.04,-0.05ZM850.64,657.23l0.03,-0.01l-0.01,0.06l-0.01,-0.05ZM843.72,636.73l0.01,-0.34l0.77,-0.76l-0.18,0.87l-0.6,0.23ZM838.14,616.17l0.06,-0.8l0.21,-0.21l-0.04,0.83l-0.22,0.19ZM695.98,500.41l0.18,0.94l1.28,-1.03l0.89,0.17l-0.49,0.97l0.49,0.51l1.04,-0.8l-0.45,1.69l-1.25,-1.45l-1.19,0.27l-0.74,-0.45l0.23,-0.83ZM697.79,503.53l-0.02,0.02l-0.01,-0.01l0.03,-0.01ZM697.64,505.65l1.21,-1.47l1.28,-0.58l-1.17,1.01l1.54,0.5l-0.46,1.78l1.72,-1.6l0.96,0.23l-0.44,0.91l0.94,0.13l0.19,0.94l-0.54,1.1l1.68,1.31l1.18,-0.26l0.02,3.21l0.84,-2.29l0.23,1.88l0.69,0.1l0.53,-1.32l1.06,0.32l-0.12,1.5l-2.03,0.86l-0.08,1.13l3.15,-0.37l-0.39,1.97l0.59,0.39l1.72,-2.67l-0.32,2.47l1.1,0.04l0.63,-0.88l0.72,0.85l-2.24,2.64l-2.49,0.28l-0.46,1.71l1.19,-0.29l1.34,1.07l-0.23,-1.4l2.96,-0.87l1.44,-1.67l0.57,0.35l-0.78,0.64l1.02,0.38l0.03,1.4l1.0,-0.21l-0.78,1.74l2.04,0.19l0.51,-1.11l1.44,0.52l-0.71,1.87l2.06,0.47l-2.1,3.43l-2.7,0.75l-0.46,1.24l1.75,-0.45l-1.47,3.18l0.46,0.75l2.4,-3.97l1.0,-0.4l-0.29,1.33l0.62,0.69l0.61,-1.65l3.89,-2.46l-0.44,1.25l0.84,1.88l-2.01,1.41l0.22,1.67l-1.45,0.73l0.32,0.82l-1.25,1.46l0.46,0.55l-1.25,1.18l0.44,0.58l2.18,-1.12l1.11,-2.84l3.0,-1.1l1.22,1.28l0.4,-0.76l0.95,0.44l-1.65,0.65l-0.96,2.27l1.99,-1.2l1.31,1.64l1.0,-1.67l0.97,-0.03l0.02,-0.85l0.69,2.75l1.36,0.21l1.74,1.86l-1.38,1.23l-0.03,0.93l-1.56,0.45l-0.27,1.54l-2.01,-0.32l-0.06,0.88l2.15,0.88l2.0,-1.35l2.59,0.11l0.7,1.91l-0.99,0.53l0.14,0.95l2.83,0.91l3.06,-0.99l1.01,0.4l0.47,1.67l-1.35,0.99l-0.33,2.98l-2.27,1.06l0.26,2.44l-4.73,-0.44l3.45,-1.47l-0.57,-0.9l-4.31,1.04l-0.71,1.4l0.36,0.64l5.06,0.99l-0.89,0.22l0.17,0.9l5.89,-0.44l-3.97,1.63l0.0,1.56l3.06,-0.22l0.93,0.79l-2.47,0.9l-0.17,1.07l2.07,0.91l5.38,-1.88l0.35,1.69l-0.68,2.36l1.47,0.69l2.6,-1.03l0.58,0.38l-0.91,1.14l1.33,0.47l3.43,-1.17l-0.22,1.19l-1.47,0.65l0.77,0.93l1.92,-0.77l0.6,-1.24l0.98,4.06l0.76,-1.77l-0.15,-3.1l1.12,0.13l-0.84,3.45l1.26,-0.6l0.01,1.78l0.89,0.11l-0.27,2.61l1.02,-0.07l-1.18,3.59l0.63,0.48l0.6,-0.86l-1.21,2.98l0.49,1.28l3.47,-6.14l0.23,0.96l0.8,-0.89l-1.12,3.19l0.8,0.87l2.91,-6.78l0.73,1.37l-1.85,1.52l0.31,1.13l2.05,-0.32l2.32,-1.98l0.58,0.28l-2.41,5.52l0.29,3.02l1.46,-1.28l-0.4,-1.77l2.11,-3.94l1.35,0.79l2.26,-3.74l0.21,2.07l1.58,0.35l-0.61,1.5l1.66,0.68l5.65,0.03l0.38,-1.14l1.25,-0.48l0.78,0.67l1.95,-0.14l1.19,-0.94l2.32,1.16l2.02,-1.08l0.99,0.79l0.48,1.14l-2.84,1.38l0.43,0.75l1.46,-0.47l-0.65,1.12l-5.22,2.32l-0.63,1.34l0.44,0.77l-3.95,3.54l-8.17,4.8l0.02,0.77l1.19,0.5l4.37,-2.64l1.08,0.42l-4.24,4.4l-3.76,0.96l-0.33,1.08l-1.99,0.98l-0.44,0.59l1.0,0.76l0.75,2.72l-9.59,-2.25l0.24,2.79l3.26,-0.69l6.62,1.59l-2.62,2.85l0.38,0.99l1.55,-0.45l-1.56,1.55l3.83,-1.13l-0.17,-1.13l2.33,-3.51l-0.19,-0.73l2.55,-1.52l1.37,-2.76l2.28,-1.08l0.45,-1.73l-0.83,-0.68l1.23,-2.95l6.14,-5.14l3.25,-0.59l0.5,-0.7l-0.75,-0.57l-2.52,0.21l-1.58,0.38l-0.93,1.24l-0.95,-0.28l1.37,-1.89l8.21,-1.63l3.58,4.01l1.26,0.49l0.19,1.3l-3.07,4.15l2.41,-0.36l0.55,2.8l1.35,-0.49l1.29,-6.18l2.41,-1.22l0.54,0.16l-0.83,0.48l0.48,0.53l4.11,-0.47l3.9,1.29l0.98,1.79l1.33,-0.9l0.39,1.44l0.81,-0.21l0.24,1.44l1.23,0.68l-1.72,1.23l0.93,0.4l-0.08,0.69l-2.54,1.2l1.26,1.15l1.97,-1.07l1.65,1.48l-3.37,2.2l3.17,1.61l-1.49,0.4l-0.08,0.83l1.44,-0.22l-1.61,1.71l-3.51,0.6l1.1,0.54l6.54,-1.37l2.3,0.38l0.34,0.7l-1.48,0.14l-0.04,0.72l-3.99,-0.27l-0.53,0.74l5.51,1.03l1.88,2.39l-0.87,0.56l0.29,1.1l-1.42,0.52l0.83,1.52l-2.14,3.49l-3.89,4.33l-0.58,3.39l-1.14,0.3l0.15,1.24l-0.9,0.28l-4.06,-9.59l-35.42,12.67l-33.81,10.74l-2.68,-5.23l-2.2,0.09l-0.59,-1.58l-1.29,0.17l1.45,-2.72l4.48,-1.81l0.57,-0.88l-2.9,-1.63l-0.29,-2.93l-1.86,-2.41l-1.73,-0.29l-1.8,1.2l0.41,3.96l-1.42,0.33l-0.67,1.47l1.29,5.09l2.22,2.68l0.71,3.75l-1.29,0.7l0.01,3.15l0.4,2.47l1.35,1.35l-2.11,3.15l-1.95,-2.06l1.05,-1.0l-0.33,-1.03l-3.13,-0.86l-0.59,-1.61l-3.59,-1.9l-4.28,0.45l-0.57,3.04l-2.11,-0.54l-0.52,1.3l-0.89,0.16l-1.53,-0.59l-0.78,-1.85l-1.06,0.18l-1.91,-1.18l-0.45,2.74l-1.16,-2.28l0.83,-1.83l-2.01,-4.67l0.87,-0.55l-0.93,-1.92l0.88,-1.26l-2.81,-2.38l-0.91,0.2l-0.09,1.73l-1.26,0.55l0.76,3.73l-0.98,0.86l-1.09,-0.9l-0.21,1.03l-1.4,0.2l-0.91,-4.06l0.68,-1.6l-0.9,-2.96l0.26,-2.71l-1.26,-1.15l-0.86,0.17l-1.81,-2.41l-3.62,-0.16l-0.29,-3.34l-1.83,-0.72l-2.75,-2.7l2.24,-3.96l-2.6,-4.05l-0.09,-1.49l3.25,0.49l0.49,-2.11l1.82,-0.97l-3.52,-2.36l0.1,-1.01l-1.14,-0.61l-1.56,-2.75l0.86,-0.27l0.18,1.13l3.3,1.27l1.43,1.53l3.08,0.4l0.79,-1.96l-1.85,-2.05l0.48,-0.97l-1.58,-1.83l-0.08,-2.45l0.69,-0.18l4.58,3.66l2.6,0.96l1.8,-0.47l0.76,1.43l2.31,1.56l2.28,-1.23l3.59,-0.04l3.18,-1.96l2.33,-0.06l1.95,-1.24l4.14,1.0l3.13,-0.13l0.99,-1.46l0.28,-6.6l-1.76,-1.27l-0.09,-2.24l2.63,-2.42l0.69,-1.59l-1.15,-1.09l-0.49,-2.23l-1.64,0.4l-1.75,-0.81l-0.86,-1.5l-2.93,-1.97l-0.34,-1.36l1.88,-1.76l-0.06,-0.97l-3.85,0.65l-0.96,-1.24l-1.12,1.1l0.72,-2.63l-2.83,-0.66l-0.52,-1.79l2.29,-1.28l-3.87,-4.11l0.81,-1.49l-0.33,-1.27l1.11,-1.04l-0.99,-3.15l0.35,-3.55l-1.39,-1.2l0.94,-1.54l-1.51,-3.16l0.92,-1.94l-0.25,-1.73l-0.87,-0.13l-0.39,1.06l-1.7,-0.19l-0.95,-1.15l-1.25,0.53l-2.5,-3.96l-2.15,-0.07l-0.15,-1.73l1.45,-1.45l-0.1,-2.05l2.55,-3.36l-1.33,-1.84l-1.65,0.83l-0.35,-1.74l4.52,-2.28l0.35,-1.35l-1.4,-1.26l-1.94,-0.37l-3.33,3.5l-2.0,-2.0l-2.56,0.63l-1.66,-0.61l-0.97,0.85l0.19,-2.23l3.27,0.69l1.51,-1.43l-1.03,-1.09l-1.22,-0.08l-0.99,-1.57l-0.88,-4.18l1.03,-1.31l-0.19,-0.83l-1.49,-0.14l-1.77,2.04l-1.26,-1.1l-1.18,-5.04l0.86,-2.18l-1.56,-0.93ZM749.39,644.84l-0.21,0.06l-0.38,-0.16l0.32,0.07l0.27,0.03ZM827.51,605.61l1.17,-0.58l0.2,0.18l-0.76,0.65l-0.62,-0.26ZM813.84,589.92l0.16,-0.56l0.67,-0.26l0.12,0.19l-0.94,0.63ZM742.74,556.87l0.27,-0.15l1.16,0.42l-1.11,0.28l-0.32,-0.55ZM743.03,556.07l0.11,-0.16l0.77,-0.05l-0.64,0.05l-0.24,0.16ZM724.98,532.85l0.14,-0.75l1.74,-0.61l-0.23,0.87l-1.66,0.49ZM716.17,518.63l0.26,-0.13l0.06,0.04l-0.32,0.09ZM701.93,503.54l-0.06,0.03l-0.14,-0.01l0.19,-0.05l0.02,0.03ZM746.29,561.73l1.29,-0.12l1.03,-0.44l-0.04,0.65l-2.29,-0.08ZM765.01,574.66l-0.09,-0.09l0.07,-0.12l0.12,0.1l-0.09,0.11ZM766.08,573.43l-0.2,-0.4l-0.0,-0.06l0.04,0.0l0.17,0.46ZM777.41,577.24l0.21,-2.19l0.71,0.01l-0.44,0.65l-0.49,1.53ZM787.98,592.89l2.02,-1.46l1.55,-1.88l-1.08,2.63l-2.49,0.7ZM779.43,607.25l0.03,-0.02l0.01,0.02l-0.04,0.0ZM820.59,590.96l0.0,0.0l-0.0,0.0l-0.0,-0.01ZM701.83,596.32l-0.57,-0.35l-0.42,-0.33l0.73,0.21l0.27,0.47ZM790.47,576.88l1.36,-1.34l0.67,1.44l-1.32,0.73l-0.72,-0.82ZM757.36,567.04l0.54,-0.08l0.35,0.26l-0.22,0.16l-0.67,-0.34ZM753.28,565.8l0.47,-1.29l1.15,0.24l-0.22,1.07l-1.41,-0.01ZM748.69,558.87l-0.2,-0.17l0.27,-0.02l-0.08,0.19ZM747.92,558.58l-0.96,0.19l-0.02,-0.12l0.73,-0.16l0.26,0.09ZM750.02,555.78l0.08,-0.3l0.2,-0.06l0.02,0.17l-0.3,0.18ZM744.65,553.12l0.64,-1.81l0.75,0.24l0.31,1.02l-0.83,0.06l-0.53,1.29l-0.35,-0.8ZM745.49,555.18l1.39,-0.96l0.4,1.98l-1.15,-0.57l-0.64,-0.45ZM739.53,542.37l0.1,-0.7l0.05,-0.02l0.14,0.64l-0.29,0.08ZM737.08,536.88l0.54,-0.31l0.66,1.05l-0.18,0.15l-1.02,-0.9ZM736.98,542.04l0.94,-0.75l0.6,0.38l-0.67,1.26l-0.88,-0.88ZM734.56,536.7l0.49,-1.0l0.84,0.73l-0.23,0.65l-1.11,-0.37ZM704.5,508.32l0.25,-0.58l0.82,0.14l-0.81,0.77l-0.26,-0.33ZM704.47,507.42l-0.04,-0.66l0.08,0.11l-0.04,0.55Z",name:"Newfoundland and Labrador"},on:{path:"M399.41,727.97l3.25,-56.87l17.49,-16.02l50.18,-56.7l5.89,5.74l3.34,1.59l4.16,6.66l0.07,1.64l0.93,-0.9l1.53,0.7l0.47,1.09l3.72,0.22l7.51,3.34l3.52,0.63l3.74,2.18l0.82,1.61l2.04,1.5l1.96,0.55l-2.57,4.18l-0.2,2.26l0.59,0.29l3.0,-5.44l5.1,0.47l3.97,-1.2l1.6,0.26l1.47,-0.99l2.08,1.72l1.21,-0.17l0.56,1.64l0.68,-0.28l-0.38,-1.87l3.93,0.68l1.97,-0.84l0.22,2.18l3.44,-1.25l3.66,1.53l1.13,3.89l-1.85,8.94l0.54,3.1l0.67,1.51l1.45,0.82l1.61,4.42l-0.68,3.75l1.63,5.71l-1.29,1.28l-0.03,5.11l2.94,1.95l1.54,2.72l4.34,3.83l0.32,1.88l-2.77,1.36l-0.69,1.37l0.67,0.57l1.21,-0.98l2.42,-0.18l1.79,2.17l4.34,1.42l0.88,1.66l3.87,3.05l2.5,5.84l-2.02,1.29l-3.65,4.63l-0.29,0.63l0.81,0.81l6.1,-6.51l4.45,1.01l5.72,4.84l7.01,59.69l-0.5,2.75l2.01,3.02l0.61,3.39l7.32,9.7l3.52,2.67l9.71,0.57l5.65,1.33l2.13,1.35l1.34,2.16l2.97,1.37l1.25,-0.14l0.13,-1.76l0.79,-0.05l2.75,4.99l4.05,1.38l2.76,-1.35l3.47,1.9l1.37,-0.21l1.06,-1.56l4.54,-2.65l7.43,-2.67l2.95,0.8l-0.25,4.37l1.74,1.53l-3.52,4.2l-2.35,0.3l-4.22,3.29l-7.43,9.8l-10.39,5.66l-1.99,-0.83l-2.14,1.15l-0.78,-0.34l-4.0,1.92l0.07,1.37l-17.36,5.52l-4.64,4.39l-1.39,0.28l-1.48,1.77l-1.77,4.33l0.19,1.1l2.64,1.18l3.48,0.07l3.08,-1.79l0.22,3.11l1.89,2.65l-1.64,0.78l-7.98,0.75l-5.89,1.98l-2.79,2.58l-0.45,1.65l-6.1,-1.03l-5.59,0.87l-2.51,1.82l-4.56,5.7l-1.8,0.33l-3.67,2.49l-1.52,2.88l-1.92,-1.04l-3.18,1.24l-2.5,-1.04l0.23,-3.72l1.37,-0.67l4.23,0.23l2.75,-0.95l0.02,-3.2l-2.7,-0.36l1.3,-1.87l0.73,-6.43l3.62,-1.93l4.0,-4.29l0.8,-2.06l-1.43,-11.81l1.34,-2.3l0.15,-2.05l2.09,-2.07l1.49,-3.89l-1.97,-6.43l-0.93,-0.06l-1.89,-2.92l-1.62,-0.74l4.39,-0.17l-0.43,1.17l1.19,2.97l1.72,0.67l0.31,0.93l1.26,-0.3l-1.24,2.92l2.85,-0.84l-0.2,3.37l0.73,0.14l2.66,-2.55l1.29,1.87l6.61,1.78l1.27,-1.38l-0.05,-2.95l-1.76,-1.81l1.5,-0.96l1.11,1.62l2.82,-0.09l0.25,-0.64l-0.74,-0.46l0.13,-1.8l-1.13,0.57l-3.99,-3.64l0.8,-1.08l-1.71,-1.33l0.92,-1.39l-0.63,-1.56l-1.34,-0.3l-1.54,0.95l-0.23,-1.09l-0.96,-0.31l-0.56,-2.76l-0.71,-0.28l-0.59,0.8l-3.52,-5.53l-1.01,-0.63l-4.1,0.66l-0.5,-1.26l-1.21,0.97l-2.42,-0.2l-1.04,-1.77l-1.21,-0.45l-0.72,0.76l-5.92,-0.16l-2.09,-1.06l-3.46,0.67l-0.44,-0.8l-4.14,1.13l-13.09,-1.81l-0.69,-0.77l0.39,-1.86l-1.1,-1.15l-4.5,1.29l-0.77,-0.76l1.82,-2.92l-0.71,-1.01l-0.82,0.15l-0.03,-0.85l1.61,-0.14l0.62,-1.12l-1.42,-1.43l-2.26,0.46l-1.63,-0.89l2.09,-5.6l-1.97,-2.61l-3.59,-2.57l1.63,-6.41l-1.36,-0.45l-7.14,1.19l-3.76,-0.81l-2.62,-2.95l-2.62,-7.54l-2.35,-3.41l-1.68,0.65l-1.66,-1.25l-1.76,1.04l-1.54,-0.93l-3.38,0.86l-3.47,-1.85l-4.37,-1.08l-1.54,-1.38l-2.91,1.14l0.18,1.94l1.8,1.59l-0.71,2.41l-1.35,-0.31l0.4,-1.68l-0.64,-1.58l-2.01,-0.19l-2.9,8.53l-1.08,0.6l1.44,-3.51l-0.47,-0.9l-5.21,2.26l-1.88,6.26l-2.82,2.11l-3.67,0.23l-2.51,-2.31l-7.44,0.52l-1.66,-2.7l-6.62,3.42l-2.89,-1.08l-0.63,-1.46l-2.68,-1.03l-1.32,-2.1l-2.73,0.25l-0.76,1.87l-1.31,-3.75l-2.46,-0.29l1.07,-0.69l-0.3,-0.8l-4.08,-1.73l-5.02,-0.14l-1.38,1.25l-3.01,0.33l-1.09,-2.11l-4.32,-0.55l-0.74,-1.12l-3.39,-0.37l-1.14,-1.77l1.38,-1.44l1.69,-0.49l1.73,-2.47l1.71,0.52l1.37,-1.02l0.67,-0.78l-0.75,-0.53l0.85,-2.93l-1.34,-1.05l0.67,-0.77l-3.37,-2.07l0.99,0.2l0.42,-0.61l-0.89,-0.66l0.73,-0.77l-0.67,-1.05l-1.42,-0.26l-0.97,-2.13l0.36,-1.57l-1.02,-1.13l-1.24,0.08l-0.58,0.92l1.46,2.37l0.06,1.75l-2.78,0.05l-1.13,1.44l-2.32,-0.86ZM469.67,728.45l1.67,1.42l0.23,1.55l-0.99,-0.96l-0.76,0.55l1.51,2.45l1.84,-1.22l-0.46,0.66l0.7,1.13l1.89,0.59l0.94,-0.84l1.18,1.62l1.63,-1.99l2.16,0.98l-0.37,-3.25l0.77,-1.47l-0.58,-2.28l0.44,-2.16l1.11,-0.99l-2.32,-1.72l0.65,-1.03l-0.82,-2.07l-2.54,-1.64l-1.61,1.18l-1.01,-0.84l-0.98,0.31l-1.54,1.57l-0.43,2.25l-1.04,0.41l0.93,2.15l-1.34,0.8l0.2,1.59l-0.37,-1.2l-0.84,-0.03l-0.43,1.8l0.54,0.71ZM540.56,627.39l-0.07,-0.12l0.08,-0.1l0.01,0.04l-0.02,0.17ZM625.48,816.5l-0.88,0.97l-0.47,0.08l0.55,-0.74l0.8,-0.31ZM617.32,819.18l1.96,-1.47l1.51,0.73l0.49,-0.98l1.66,-0.66l-0.41,1.69l0.39,0.57l1.51,-0.3l-0.58,1.21l0.49,0.7l-1.15,0.87l-0.53,-0.19l0.23,-1.4l-4.11,0.62l-1.47,-1.38ZM624.91,820.35l0.01,-0.01l0.01,0.0l-0.02,0.01ZM478.49,748.07l0.15,0.64l-0.97,0.3l0.81,-0.95ZM477.13,749.61l-0.41,0.47l-0.16,0.72l0.06,-0.73l0.51,-0.46ZM472.6,753.18l-0.12,0.04l-0.06,0.0l0.02,-0.03l0.16,-0.01ZM409.98,736.99l-1.24,-1.83l-2.23,0.71l-0.95,-1.1l0.31,-0.87l-2.37,-0.23l0.19,-0.55l5.22,-0.85l-0.85,1.31l0.47,0.65l0.86,-0.42l-0.01,1.28l1.48,0.84l-0.87,1.06ZM401.76,728.88l0.69,0.17l-0.45,0.55l-0.32,-0.09l0.08,-0.64ZM631.42,815.59l-0.13,-0.74l0.55,-0.02l-0.02,0.39l-0.4,0.37ZM627.23,816.23l0.77,-0.4l0.07,-0.04l-0.2,0.32l-0.64,0.12ZM581.85,801.71l0.01,-0.5l0.57,0.08l-0.37,0.17l-0.21,0.24ZM582.47,809.41l0.08,-0.02l-0.03,0.08l-0.05,-0.05ZM575.9,692.07l1.12,-1.08l0.85,7.34l-1.99,-2.2l0.02,-4.05ZM543.99,793.29l0.64,0.68l2.98,-1.21l0.99,2.07l2.33,0.02l0.5,0.81l-7.92,-1.58l0.49,-0.78ZM551.7,795.68l0.77,-1.33l-0.92,-0.74l1.53,-1.12l1.04,-0.37l2.14,2.32l2.38,-2.74l0.44,1.27l1.05,0.28l-0.19,1.49l1.03,1.14l-2.87,2.6l-6.4,-2.79ZM561.3,795.7l0.14,-1.12l0.31,-0.89l0.37,-0.6l-0.5,1.08l1.39,0.74l-2.12,3.83l-0.59,0.22l1.7,-2.36l-0.71,-0.91ZM561.37,800.05l0.39,-0.41l0.14,-0.07l-0.3,0.46l-0.22,0.02ZM559.04,790.43l0.46,-0.13l0.58,0.12l-0.77,0.13l-0.27,-0.12ZM549.74,793.07l0.11,-0.31l0.76,-0.12l-0.14,0.32l-0.72,0.11ZM540.29,794.07l1.01,-1.22l0.82,0.55l-0.61,1.12l-1.21,-0.46ZM532.17,788.03l1.6,-0.01l1.59,1.01l-1.21,2.0l-1.98,-3.01ZM508.33,763.17l0.76,-0.68l2.4,0.26l-0.97,0.41l-2.18,0.01ZM486.08,744.61l0.14,-0.01l0.53,0.92l-0.33,0.04l-0.33,-0.95ZM482.03,744.94l1.2,-0.66l1.87,0.08l-0.46,1.02l-2.38,0.75l-0.23,-1.19ZM477.93,719.83l0.17,-0.01l0.17,0.44l-0.2,-0.06l-0.14,-0.37ZM478.55,720.5l0.14,0.03l0.06,0.19l-0.05,-0.01l-0.14,-0.21ZM475.07,730.34l0.17,-0.01l0.06,0.15l-0.14,-0.1l-0.09,-0.04ZM475.4,723.45l-0.02,-0.28l0.1,0.01l-0.07,0.24l-0.01,0.03ZM474.42,725.62l0.1,0.02l0.16,0.3l-0.46,-0.02l0.2,-0.3ZM469.69,755.38l0.19,-0.22l0.17,-0.01l-0.36,0.22ZM403.6,737.46l0.64,-0.37l0.83,0.44l-1.23,0.69l-0.24,-0.77ZM406.38,737.1l0.0,-0.01l0.02,-0.07l0.01,0.08l-0.04,-0.0ZM405.0,739.21l0.5,-0.36l0.12,0.28l-0.18,0.39l-0.43,-0.3ZM399.11,732.44l1.97,-0.65l0.88,-0.67l-0.87,1.65l-1.81,0.48l-0.16,-0.81ZM402.77,730.48l1.11,-1.11l0.95,-0.18l-0.74,1.0l-1.33,0.3Z",name:"Ontario"},ab:{path:"M139.57,606.56l0.37,-1.05l1.18,0.57l0.81,-0.56l-1.58,-4.38l37.33,-108.91l45.27,14.12l45.98,11.63l-2.72,12.15l-4.26,2.55l-1.83,0.1l-4.59,4.95l-1.83,0.73l-0.86,-1.64l-1.67,0.79l1.38,3.5l-0.16,1.93l0.92,0.24l1.46,-1.94l-0.31,2.62l0.56,0.52l1.32,-1.15l0.14,-1.43l3.55,0.95l0.97,-1.38l-0.73,-1.28l4.31,-2.81l-39.85,178.15l-45.48,-11.24l-0.72,-2.98l-2.23,-1.66l0.23,-0.86l-1.58,-2.96l0.8,-2.77l-1.71,-1.0l2.24,-2.87l-0.07,-2.44l1.05,-2.7l0.11,-5.55l-1.47,-4.33l-1.24,-1.02l-1.26,0.24l-0.4,-3.13l-2.69,-3.15l0.84,-0.16l-0.02,-1.71l-1.31,-2.54l-1.92,-1.32l-0.11,-2.34l-1.88,-1.98l0.3,-2.47l-2.03,-4.3l-0.2,-3.14l-1.26,-0.33l-1.4,1.25l-0.62,-0.25l-0.14,-3.71l-1.62,-3.01l0.14,-2.56l-3.37,-0.27l-1.21,-1.61l-0.28,-1.09l1.58,-1.91l-2.46,-2.86l-1.36,1.2l-1.4,-0.1l0.7,-1.26l-0.7,-2.97l0.77,-0.81l-0.3,-3.43l-0.53,-1.4l-1.3,-0.18l0.31,-2.51l-1.07,-3.42l-1.29,-1.58l-1.31,1.23l-1.63,-1.38l-0.34,-3.23l-2.89,-1.04l-1.44,-3.37Z",name:"Alberta"}}}),jQuery.fn.vectorMap("addMap","russia_en",{width:959,height:593,paths:{da:{path:"m34.939,403.74,2.6516,1.2627,3.6618,0.50507,1.7678-2.0203,2.1466,2.0203,2.3991-1.6415,0.25254-1.7678,1.6415-2.1466,3.0305,0.50508,3.7881-2.9042-0.50508-1.894-4.7982-0.50508,0.75762-3.1567-1.0102-0.63134,0.63135-2.2728-3.1567-2.7779,1.5152-0.50508,3.9143,0.88388,0-1.389-1.0102-1.2627,8.3338-0.25254,4.9245,5.4296,1.2627,1.894-0.37881,2.2728-5.3033-0.3788,0.50508,2.5254,1.5152,3.0304-1.0102,3.5355-2.3991,2.7779-1.2627,0.25254,4.5457,0.75761-5.5558,2.1466-0.50508,2.0203-0.75762,0.50508-3.0305,0.50507-0.25254,4.7982-1.2627,0.88388-1.1364,13.132-9.0914-0.12627-3.6618-2.2728-1.389-0.88388,0-11.617-3.283-5.9346,0.37881-2.9042,1.2627-0.37881z",name:"Republic of Dagestan"},sa:{path:"M671.25,126.75l-1.44,1.06-1.25,1.63s1.44,0.87,2.16,0.87c0.71,0,2.69-1.97,2.69-1.97l-2.16-1.59zm18.47,12.09c-0.18-0.01-0.4,0.02-0.63,0.07-1.78,0.35-4.81,1.93-4.81,1.93s-1.41,1.1-2.12,1.1c-0.72,0-2.35-0.38-2.35-0.38-0.71,0-2.5,1.25-2.5,1.25l-1.4,1.78s-1.1-0.51-1.1,0.38-0.35,1.96,0.72,2.5c1.07,0.53,1.61,1.06,2.5,1.06s3.22-0.72,3.22-0.72l1.97-0.87,1.97,1.06s0.51-0.9,1.4-1.44c0.9-0.53,3.4-2.31,3.75-3.03,0.36-0.71,0.72-3.22,0.72-3.22s-0.11-1.36-1.34-1.47zm-19.81,7.1c-0.15,0.01-0.29,0.05-0.44,0.09-1.25,0.36-2.85,0.19-3.56,0.19-0.72,0-0.91,0.19-0.91,0.19s-0.88,1.58-1.59,1.93c-0.72,0.36-1.99,0.74-3.07,0.57-1.07-0.18-3.75-1.25-3.75-1.25s-1.93-0.02-1.93,1.59,3.03,3.41,3.03,3.41l1.06,1.4s-2.51,0.73-3.41,0.38c-0.89-0.36-2.65-2.16-2.65-2.16l-3.22-0.72s-2.88,0.2-2.88,1.1c0,0.89-0.68,2.67-0.68,3.56s-0.9,3.04,0.53,3.94c1.43,0.89,1.79,3.03,1.97,3.75,0.17,0.71,0.7,1.77,2.84,2.31,2.14,0.53,4.29,0.53,5,1.06,0.71,0.54,1.77,1.07,2.84,0.53,1.08-0.53,1.82-2.65,1.82-2.65l2.12-1.97s1.61-1.44,2.5-2.16c0.89-0.71,2.7-0.54,4.13-1.44,1.42-0.89,2.31-3.75,2.31-3.75v-5l-0.38-4.43s-0.68-0.58-1.68-0.47zm106.25,5.62c-0.45,0.09-0.75,4.1-0.75,4.1l-7.32,1.65-3.28,0.63-4.53-6.06-7.84-0.13-0.38,0.87-5.68,1.66-1.76,2.13-6.06,6.31v2.78l-2.15,1.91-3.29,5.03-4.93-2.38-3.41-0.37-1.75,2h-4.56l-3.41,1.78-1.75-1.53,4.28-2.91-2.28-1.62-3.03-0.13-8.84,4.03,1.9,5.44-0.87,4.78-2.66,2.91-1.65-2.13,3.03-7.47-1.75-0.37-2.66,4.03-3.03,2.03-1-0.75,1-3.16,2.28-0.74,2.91-2.66-7.1,1.75-9.22,5.31-6.68,0.25,3.65,3.66-3.65,3.4-0.5,3.03,0.37,1.16,3.91-1.78-1,4.03,4.81,2.91-0.91,2.9-2-1.37-3.68,1,1.28,3.41,2.4-0.26-1.03,2.66-3.9-0.5-4.28-1.66-3.53,0.26-2.41,3.15-0.63,4.06h-6.46l-1.76-1.53-2.4-2-0.5,4.41,0.87,0.87-0.12,1.41,1.65,0.87-0.9,2.54,1.66,6.18-3.29-1.4-1,1.15-9.87-5.31v-4.94l-2.25,0.13-1.78,2.41-2-3.41,3.65-0.63-0.5-2.9-4.43-1.66,0.75-0.87,0.12-2.53-5.28-4.04-5.31-2.53-1,3.66-7.35,0.65-2.37-1.65-4.19,2.15v2.13l4.19,4.69-10.94,5.31-10.28-1.16,0.44-4.4-12.07,0.19-3.96,3.78h-2.85l-1.09,1.09,2.66,2.87h-2.13l-2.91-2.06,1.19-2.09-0.87-1.38-1.54-1.78,0.07,2.28-1.5,1.07-3.85-1.32s-2.9,3.53-2.84,3.78c0.06,0.26,2.66,3.29,2.66,3.29l-1.41,3.34,1.59,2.09,0.19,2.78,7.38,5.82-0.32,5.47,2.53,1.9,1.63,2.53-2.53,2.72-4.41,3.03-0.69,2.63-4.81,2.78,0.25,6.12-2.25,1.1-2.97-1.28-5.65,4.75-4.44,0.09,0.06,1.97,5.38,6.59,1.78,20.1-6.35,1.97,4.19,3.4-1.78,4.19v1.25l7.16,8.84-4.57,6.69,0.97,1.6-2.4,1.87,0.09,2.25,5.63,0.34,0.71,0.72,9.1,0.19,3.31,3.31-0.53,1.6-3.31,0.34,0.19,3.94,4.03-1.06,5.06,6.59-0.53,5.53,3.84,5.19-1.97,3.4,0.53,2.13,7.69,6.53v4.37l-3.75,6.44,0.28,10.78,3.85,4.13,3.37-3.94,3.75,0.09,1.88-1.34,2.68-0.62,2.41-2.07,3.56,3.85,0.38,2.31,4-5.06,0.09-4.13,5.38-2.75-0.29-6.25,2.32-4.12,3.84-1.5,4.91,1.06,6.15,4.91,0.57,3.84,1.31,0.87,4.03-1.4,2.5-2.06,2.69,1.06,0.87,4.47,3.13,4.56,2.15,1.78v3.03l2.32,1.35,0.71,4.71,3.94,0.19,0.97,1.35,1.53,4.09,8.38-0.25,3.31-1.97,5.53,1.16,3.56,1.97,11-0.72,5.54,3.75,2.21,0.53,5.19-2.6h2.6l3.03,2.26,2.78-0.19,3.22-3.94,5.68-0.06,2.5-1.97h7.88l0.19-3.75,10.68-5.09,0.82-3.04-4.28-4.12,2.31-1.69,0.62-4.03-1.34-1.69-2.41,0.38-2.03-1.44,2.75-4.03-2.84-1.6,0.25-1.87,1.53-1.97-1.44-1.44-3.47-1.15-0.53-1.6,3.38-1.43-1.88-0.91-0.19-5.25-0.87-0.62-0.19-1.88,2.78-1.25-1.62-1.25v-2.94l5.47-1.97,3.12,0.16,0.25-1.78,6.53,0.09v-2.75l-1.25-1.53,1.16-1.25,3.47-0.62,3.31-2.22,1.34-6,5-0.44,0.1-2.06s-5.29-4.9-5.47-5.25c-0.18-0.36-0.88-3.94-0.88-3.94l-3.56-2.59v-5.97l2.94-7.16-1.69-9.19,0.78-3.12,13.5,0.72,0.25-5.28,5.19-1.16,3.47,1.87,0.81-2.31-2.41-3.69,1.69-0.62,0.19-2.75-7.16-8.5,0.1-4.37-3.13-1.5-0.09-4.04-1.78-1.15,1.09-2.13,3.81-0.47,1.35-1.78,4.28,0.38,0.09-2.44-3.37-1.5,0.15-3.31,5.47-0.53v-3.57l5.63,0.44,5.62-8.03,0.44-2.5-6.06-6.06-0.19-1.88,2.31-3.4-0.97-1.79-3.31,0.19-1.5-2.34,4.72-1.41-0.09-1.53-2.07-0.97-0.25-1.34,2.13-3.75,5.72-1.97-0.78-3.56,5.15,0.68-0.62-5.43,1.34,0.28,0.19-3.59-2.69-0.63-2.94-4.53-7.59-0.28-4.19-1.88,0.72-3.47h-3.12l-0.19-1.62,8.12-10.44,1.07-7.84s-9.81-5.72-10.25-5.63zm-135.1,8.56c-0.12,0.03-0.23,0.08-0.34,0.19-0.89,0.9-1.07,1.79-0.53,2.5,0.53,0.72,1.06,1.63,1.78,2.35,0.71,0.71,2.31,1.25,2.31,1.25s0.71-1.1,0.53-1.82c-0.18-0.71-1.97-2.84-1.97-2.84s-0.94-1.78-1.78-1.63zm28.94,7.35l-2.31,0.34s-1.07,0.91-1.25,1.63c-0.18,0.71-0.9,1.24,0,1.78,0.89,0.53,3.75,1.25,3.75,1.25s1.6-0.02,1.78,0.87c0.18,0.9,0.18,1.8,0,2.69s-0.53,1.78-0.53,1.78l0.72,0.72,1.93-0.53s0.74-0.72,1.82-0.72h2.65s1.44-0.53,1.97-1.25c0.54-0.71,1.97-1.25,1.97-1.25h2.69s1.41-0.52,0.87-1.59c-0.53-1.07-1.76-1.62-2.65-2.16-0.9-0.53-3.22-2.31-3.22-2.31h-2.5l-3.6,0.34-2.84,0.38-1.25-1.97zm-17,10.15c-0.12,0-0.22,0.01-0.31,0.04-0.72,0.17-1.44,1.4-1.44,1.4s0.37,1.78,2.16,1.78c1.78,0,2.3,0.55,2.65-0.34,0.36-0.89-0.87-2.31-0.87-2.31s-1.37-0.55-2.19-0.57z",name:"Sakha Republic"},so:{path:"m45.583,387.43-2.2728,2.6516-4.1669-2.6516-2.0203,1.1364-0.37881,5.8084-1.1364,1.389-2.2728-0.12627-5.9346-2.6516-3.0305-3.283,0.12627-4.9245,4.672,0.75761,0.37881-0.88388,2.5254-0.12627,3.283,1.5152,4.0406-1.894s-0.12627-3.5355,0.75761-2.7779c0.88388,0.75762,1.389,1.2627,1.389,1.2627l0.25254,3.5355z",name:"Republic of North OssetiaAlania"},kb:{path:"m20.982,375.86c0.26786,0.35715,2.5893,4.7322,2.5893,4.7322l0.98214,3.9286,4.6429,1.1607,2.8571-1.0714,3.2143,1.5179,4.375-1.875,0.26786-3.125-5.9821-2.3214-1.875-5.0893-2.2321-1.1607-4.375,0.71429z",name:"Kabardino-Balkar Republic"},kc:{path:"m13.482,361.39,2.2321,8.4821,5.0893,6.25,4.375-2.6786,5.3571-0.89286,0.08929-3.3928,3.75-1.0714-6.6964-7.2321-2.2321,2.4107-2.8571,0.26786-1.6071-4.5536,0.44643-2.1429z",name:"KarachayCherkess Republic"},st:{path:"m33.929,367.73-3.4821,0.98215,0.17857,3.75,1.5179,1.25,1.7857,4.6428,6.5179,3.0357,1.3393,1.3393,0.08929,3.0357,3.8393,1.7857,1.6071,2.5893,3.2143,0.625,0.71429-1.4286-2.8571-3.125,1.5179-0.53572,3.5714,0.80357,0.17857-1.1607-0.98214-1.3393,7.7679-0.0893,1.6964-1.5179,0.26786-3.5714-5.2679-7.5-0.17857-9.4643-3.4821-6.0714-4.9107-0.98214-1.5179-2.7679-5.0893-5.7143-0.98214-0.625-1.5179,1.3393-2.7679-2.0536-1.4286,0.80357-0.80357,1.0714-0.08929,1.6071,0.35714,1.3393,0.35714,1.1607-0.71429,1.6071-0.98214,1.4286-1.9643,2.2322-1.875,1.0714-0.71428,0.98214-0.98214,2.3214z",name:"Stavropol Krai"},ks:{path:"m21.607,356.48-0.08929,2.0536,0.98214,3.8393,0.35714,0.80357,2.2321,0.0893,3.75-4.5536,1.4286-1.9643,1.9643-1.0714,2.6786-4.0178-0.26786-3.3929,0.17857-1.6964,0.89286-1.5179,1.3393,0,1.7857,1.5179,1.3393,0,2.5893-3.0357,0.08929-1.9643-0.89286-0.98214-2.2321-1.3393,0.17857-2.9464,2.8571-3.125,0.08929-1.4286-2.7679-2.9464-3.75-0.71428-0.80357-0.89286,1.6071-1.25,0.17857-2.4107-2.1429-1.6072-2.5893-0.80357-1.6071-1.6964-1.25-0.98214-0.89286-0.0893-1.3393,2.2322-0.625,0.98214,1.0714,1.4286-0.35714,1.5179-0.80357,0.625-2.7679-0.26786-0.89286-0.89286-1.9643,0.0893-1.875,0.71429-3.0357,1.7857-1.6964,0-1.3393-1.4286-1.6071-0.625-1.1607-1.4286,0-2.6786-2.2321-0.26786-1.25,0.625-0.35714,2.9464-0.089286,13.214,0.71429,5.8929,0.98214,3.6607-0.089286,2.3214-0.625,2.7679-0.089286,2.4107,0.17857,2.0536,1.5179,0.89285,0.71429,0.625,1.6071,1.5179,0.89286,1.0714,0.89286,0.89286l7.947-4.27-0.804-1.25-0.357-1.43-5.089,2.68h-1.875l-1.25-1.875,0.35714-3.5714,6.25-1.4286,2.7679-2.3214,0.71429-2.5893-1.3393-0.80357-1.9643,0.44642-1.1607-1.5178-0.71429-2.6786-1.3393-1.7857-0.17857-1.25,0.08929-1.1607,1.3393-0.80357,1.3393,0.625,1.0714,1.3393,1.0714,1.9643,1.3393,1.7857,2.3214,1.3393,1.6964,0.89285s0.625,0.26786,0.71429,0.625c0.08929,0.35715,0.89286,2.6786,0.89286,2.6786v4.0178l-0.08929,1.3393-1.0714,1.0714-1.875,1.5178-1.6071,1.4286z",name:"Krasnodar Krai"},ro:{path:"m37.5,323.45,2.0536,0.98214,1.4286-0.17857,0.625-0.89286-0.44643-1.1607-1.25-0.89286-1.9643-1.3393-0.89286-1.1607-0.35714-0.71428,1.0714-1.4286l2.231-1.08,1.6071-0.26786,1.0714,0.35714,1.4286,1.3393,1.5179,0.35714,1.6964-0.89286,0.89286,0.44643,1.072,1.06,1.339,1.79,0.268,1.33,1.607-0.08,1.3393-0.80358,1.6964-0.0893,1.3393-0.0893,0.35714-1.5178,0.53571-1.4286,1.25-1.6071,1.3393-1.0714,1.6964,1.0714,0.71429,0.35714,0.89286-1.875,0.44643-0.71428,2.6786-0.26786,1.875-1.6964,2.3214-0.17857,2.0536,1.1607,2.1429,1.25,0.98214,0.53571,3.9286,0.0893h2.2321l1.5179-0.98215h1.3393l0.71429,0.625,0.26786,1.6964-0.08929,1.9643v1.875l-0.08929,1.0714-0.981,1.34-1.25,0.98214-1.25,0.71429-0.80357,0.35714-0.35714,1.25-0.44643,1.6072-0.08929,1.4286-0.44643,1.1607-0.625,1.4286-1.4286,1.5179-1.6964,0.53571h-3.125l-1.608-0.36-1.518,0.53-0.625,1.97-0.982,0.62-0.80357,0.53572,0.17857,0.89285,1.3393,1.4286,0.71429,1.4286-1.1607,1.4286-1.3393,0.89285-0.80357,1.7857-0.08929,0.80357,0.98214,0.53571,1.1607,1.1607,0.625,1.0714,0.80357,0.80357,0.71429,1.3393v1.0714l-0.71429,0.80357,0.53572,0.625,1.4286,0.35715,0.625-0.53572,0.71429-0.0893,0.35714,0.98214v1.4286l-1.3393,1.3393-2.1429,1.0714-2.0536,1.1607-3.3929,0.0893-0.80357,0.80357-1.3393,0.80357-1.696,0.46-1.429-0.71-1.696-0.71-0.893-0.9-0.178-2.23-0.179-1.52-1.696-2.14-1.1607-0.80357-0.17857-1.25-0.80357-0.89286-1.7857-0.0893h-2.7679l-2.8571-0.0893-1.3393-0.17857-1.6071-1.7857-0.98214-0.71429v-0.89286l1.3393-1.5178v-1.5179l-0.625-1.25-1.875-1.4286-0.71429-0.625,0.26786-2.2322,2.7679-3.2143,0.08928-1.6071-1.9643-2.2322-1.3393-0.89285-2.411-0.55-1.0714-0.35714-0.08929-0.71429,1.0714-1.0714,0.26786-1.1607z",name:"Rostov Oblast"},kk:{path:"m44.554,348.71,0.98214,1.6071,1.1607,1.0714,1.1607,1.6964,0.80357,1.1607,1.1607,0.71429,2.5893,0.44643,1.3393,0.625,0.98214,1.6071s0.98214,1.7857,1.25,2.2321c0.26786,0.44643,0.98214,2.4107,0.98214,2.4107l0.17857,4.9107v3.2143l0.89286,2.2321,3.3036,4.1964,1.25,2.0536-0.17857,2.5893-1.4286,1.875,0.89286,1.3393,4.375,4.7321,0.53571,1.25,0.35714,0.98215,0.89286,0.53571,1.4286,0.0893,1.6071-0.26786,1.7857-0.53572,2.2321-0.89285,2.3214-0.26786,0.713-0.71,0.625-2.15-0.268-1.16-2.232-1.34-0.982-0.71,0.08928-1.3393,1.0714-0.625,1.7857,0.0893,1.4286-1.25-0.53572-0.71428-0.71428-2.0536-0.268-1.7-0.179-1.16h1.0714l1.6964,1.25,1.7857,0.80357,2.6786-0.17857h0.89286l0.53571-1.1607-0.17857-2.4107-0.08929-3.8393v-6.3393-0.98214l-0.08929-2.2321,2.9464-2.8572,0.17857-1.3393-1.4286-0.625v-3.2143l-1.0714-1.1607-1.1607-0.35715-2.5-0.17857-0.625-1.4286-0.17857-0.80357-1.25,0.26786-0.625,1.0714h-1.3393l-1.25-0.0893-1.071-0.98-0.804-0.71-2.321-0.27-0.98214,0.35715-0.71429,0.80357-0.71429,0.35714-0.26786,1.1607-0.35714,0.80357,0.35714,0.625,1.0714,0.35714,1.0714-0.44643,0.89286,0.35714,0.08929,0.98215-0.44643,1.5178-5,3.125-3.3929,0.26786-2.3214,1.3393-1.5179,0.53571-3.8393-1.7857-0.53571-0.35715-0.08929-3.3928-0.71429-1.4286-2.3214-2.2322-0.625-1.25-1.9643-0.80357h-3.5714z",name:"Republic of Kalmykia"},as:{path:"m86.873,350.94,1.6415-1.389,1.1364-0.63135,1.7678,1.2627,2.0203,0.63135,2.2728,0.50508,0.88388,1.0102,2.1466,0.88388,0.75761,1.1364,0.63134,1.1364,0,1.389,0,0.88389-1.5152,0.3788-1.1364,1.389-0.12627,1.0102,0.63134,1.389,1.0102,1.1364-0.37881,2.1466-0.75762,1.0102-1.7678,0.88389-0.25254,1.1364,0.50508,0.88388,1.7678,1.1364,2.2728,1.5152,1.389,1.6415,0.63134,1.0102,0,1.5152-1.0102,1.1364-0.25254,2.0203-1.0102,1.0102,0,2.2728,0,2.7779-0.75761,0.3788-1.7678-0.3788-1.894-0.75762-0.63134,0.37881-0.37881,2.1466,1.6415,2.1466,1.1364,1.2627,0.88388,1.0102,0.50508,0.63134,0.12627,1.2627-3.9143,0.25253-3.0305,0.63135-2.1466,0-1.894-1.2627-2.0203-1.5152-5.4296,0-1.0102-0.37881-1.1364-1.1364,0.37881-2.9042-0.88388-1.0102-2.2728-1.6415,0-1.6415,1.0102-0.3788,1.5152,0,1.389-1.0102-0.63134-1.389-0.75761-4.0406,0.63134-0.3788,1.2627,0.75761,2.9042,1.389,2.0203-0.25254,1.2627-0.12627,0.50508-1.6415-0.25254-5.4296,0.12627-5.0508-0.25254-4.2931,2.1466-2.2728,1.0102-1.1364,0.12627-1.389-1.2627-0.50508-0.25254-2.1466z",name:"Astrakhan Oblast"},ad:{path:"m21.786,356.21,2.4107-1.4286,2.5-2.6786,0.35714-2.1428-0.26786-3.9286-1.0714-2.7679-2.9464-0.98214l-2.412-1.78-2.232-3.75-1.5179-1.1607-1.3393,0.71428-0.17857,2.1429,1.6071,1.875,0.80357,2.5893,1.1607,1.6964,1.6071-0.35714,1.5179,0.44643-0.44643,2.9464-2.9464,2.3214-3.394,0.71-2.8571,0.35715-0.17857,3.8393,1.0714,1.7857h1.7857l5.3571-2.9464,0.35714,1.7857z",name:"Republic of Adygea"},vl:{path:"m85.893,313.18,1.5179-0.98214,1.875-0.0893,1.1607-1.0714,1.1607-1.6072,0-1.25,1.1607-0.98214,1.9643,1.25,2.5,1.9643,3.3036,2.1428,3.9286,1.5179,1.4286,1.5179,0.625,2.1428,0.44643,1.4286,2.8571,0.35714,0.44643,1.4286,2.5893,0.80357,1.7857,1.7857,1.6964,1.6964,0.17857,2.2322-1.5179,1.25-1.6071,2.2321-1.4286,1.3393-0.26786,1.25,0.89286,2.2321,2.9464,1.875,1.6964,1.875,1.7857,1.1607,1.25,3.3036,1.0714,1.875,0.0893,1.25-0.71428,0.53572-1.3393,0.44643-0.71429,0.53571-2.8571,0.26786-4.6429-0.0893-1.6964,0.26786-0.71429,1.6071,0,2.8572-0.17857,1.1607-1.6964,1.25-1.3393,0.98214-4.0178-0.0893-1.0714-0.0893-1.3393-3.0357-1.4286-1.0714-1.875-1.0714-1.0714-0.625l-2.256-0.46-2.054-1.25-1.071-0.18-1.1607,0.625-0.98214,0.71429-1.25,0.26785-2.1429-0.0893-0.89286-1.1607-0.35714-1.25-1.4286,0.26786-0.89286,1.1607h-1.25l-1.875-0.71428-1.25-0.80357-1.3393-0.35715-1.4286,0.17858-1.4286,1.25h-0.89286l-1.4286-2.5-1.25-1.4286-1.0714-0.71428,0.448-1.44,0.893-1.52,1.607-1.43,0.179-0.89-1.6964-2.1429-0.44643-1.0714,1.4286-0.80358,0.625-1.875,0.625-0.53571,1.25-0.35714,1.6071,0.0893h3.0357l1.7857-0.625,1.9643-2.5893,0.89286-4.0179,0.625-1.4286,2.8571-2.0536,1.1607-1.6964,0.35714-3.3036v-2.2322z",name:"Volgograd Oblast"},vn:{path:"m70.089,310.77,0-6.0714,0.08929-1.1607,3.75-3.2143,2.5-3.6607,1.3393-1.4286,0.35714-1.875,2.4107-0.71428,0.35714-2.5893,0.625-1.7857,1.0714-0.35714,0.625-2.0536,1.3393-1.7857,1.1607-1.0714,0.98214-0.53571,0.89286,1.1607,0.44643,0,0.71429-1.0714,0.53571-0.71428,1.1607-0.17857,0.89286,0.89285,1.25,1.1607,1.4286,1.4286,1.1607,1.5179,0.80357,0.89285-0.26786,2.1429,0,1.6071,1.875,1.0714,2.3214,1.3393,0.80357,1.3393-0.0893,1.7857-0.89285,1.5178-0.44643,0.98215,1.5179,1.25,1.875,1.7857,1.9643,2.2321,1.3393,1.6964,1.1607,1.9643-0.26786,2.3214,0,2.0536-2.1429,1.0714-0.71428,0.17857-4.2857-1.875-2.6786-1.7857-2.1429-1.4286-1.6964-1.1607-0.53571-0.17857-0.71429,0.80357-0.44643,1.25-1.4286,1.9643-1.6964,0.44643-2.8571,0.80357-3.5714,1.1607-3.2143,0.0893-2.5-0.17857-2.3214-1.25-2.3214-1.0714z",name:"Voronezh Oblast"},bl:{path:"m63.304,272.29-5.4464,3.3036,0.08928,2.6786,1.6964,1.875,0.08929,3.125,0.44643,1.6964,2.8571,1.6071,2.8571,0.44643l1.608,2.23-2.5,3.3036-0.35714,2.1429,1.0714,1.6071,2.3214,1.5179,0.17857,2.9464,1.1607,1.5179,0.71428,0.89285,4.7321-4.375,3.75-5.4464,2.0536-0.89285,0.80357-4.1072,1.0714-0.89285,0.53571-1.3393-2.5-2.8571-3.5714-4.1071-2.7679-0.26786-2.9464-1.1607-2.6786-1.6964-2.5893-1.6072-1.9643-1.6071z",name:"Belgorod Oblast"},ky:{path:"m63.482,271.84,0-4.6429l-0.357-1.61-1.786-1.97-0.714-1.07,1.3393-1.0714,3.75-1.3393,2.7679-1.3393,2.6786,0.0893,0.53571,1.0714,1.25-0.0893,1.7857-1.1607h0.80357l0.98214,0.44643,1.4286,1.6071,0.53571,0.80357,0.08929,1.6964,1.0714,0.89286,1.0714,0.71428h0.89286l1.0714,1.25,0.17857,3.2143v2.4107l-0.89286,0.98214v1.5179,1.1607l1.0714,1.25,1.1607,0.98214,0.89286,0.17857,1.5179,0.53571,1.0714,1.6072,1.6071,1.5178-0.71429,1.1607-0.80357,0.89286-0.89286-0.80358-1.9643,1.25-1.4286,1.1607-0.53571,0.80357-3.4821-4.1071-2.2321-2.3214-0.98214-0.53572-3.3036-0.625-2.8571-1.5178-3.6607-2.1429-2.4107-1.9643z",name:"Kursk Oblast"},or:{path:"m74.732,258.27,1.0714-1.875,2.2321-0.26786,0.89286-1.6071,0.89286-0.53572,1.9643,0.89286,1.6964-0.0893,1.6071-0.71429,1.0714-1.5179,0.89286-0.53571,0.98214,0.17857,1.3393,0.98214,1.9643,0.89286,1.1607,0.89286,0.35714,0.89285,0.71429,1.3393,0.17857,2.0536,0,3.6607,0.98214,1.7857,1.4286,1.875,0.80357,1.25,0.71429,1.7857-0.26786,1.5179-3.9286,1.875-1.9643,0.98214-1.0714,2.1429-1.875,1.0714-1.875,1.0714-2.4107-0.89286-1.9643-1.6071-0.44643-1.6964,0.44643-1.9643,0.44643-0.89285,0.08928-4.4643-0.89286-1.6964-1.7857-0.53571-1.7857-1.4286-0.08929-1.6072-1.3393-1.5178-1.6071-1.6964z",name:"Oryol Oblast"},lp:{path:"m86.875,278.45,1.5179,1.875,1.0714,0.89286,1.1607,0.71428,1.1607,1.0714,2.5,2.2321,1.25,1.5179,0.625,1.4286-0.44643,2.5893,0.53572,0.625,2.5,1.3393,1.875,1.7857,1.0714-0.17857,1.0714-0.625,0.44643-0.80357,0.0893-5.8036,0.35714-0.71428,1.4286-0.80357,2.3214-0.17857,2.0536-1.1607,1.3393-0.44643,0.17857-1.6964,0.625-1.3393,1.25-1.5179-0.80357-1.1607-2.6786-0.98215-0.53571-0.53571-0.17858-0.71429,1.0714-1.3393,0-1.6071-2.1428-0.35715-1.0714,0.44643-1.6072,0.80357-0.98214,0.89286-1.1607,0.625-1.4286,0.0893-1.3393-1.5179-1.6964-1.6964-0.80357-0.98214-2.4107,0.89285-3.125,1.6964-1.1607,1.6072-1.6071,1.4286z",name:"Lipetsk Oblast"},tl:{path:"m93.482,256.3,3.2143-2.0536,0.98214-0.17857,1.6071,0.80357,0.98215-0.80357,0.71428-1.0714,3.125,0,1.6072,0.625,2.0536,0.35714,1.4286,0.80358,2.4107,0.35714,1.4286,0.71428,0.53572,1.0714,0.98214,1.0714,1.25,1.4286,0.71429,1.6072-0.35715,1.6964-0.98214,1.1607-0.71428,1.6964-1.3393,1.9643-1.6964,2.0536-1.0714,1.875-0.71428,0.98215-0.53572,0.35714-1.7857,0-2.5,0.89286-1.5179,1.0714-1.3393,0.26785-2.0536-1.3393-2.0536-2.5893-0.26786-2.0536-0.53571-1.4286-1.6071-2.5l-1.413-2.14-0.179-2.23z",name:"Tula Oblast"},bn:{path:"m67.679,258.62,0.26786-1.7857,2.3214-1.5179,0.44643-1.1607,0-1.4286-1.6071-1.9643-1.7857-2.1429-1.6964-1.9643-2.3214-1.875-1.5179-0.89286-1.6964-0.26786-0.89286-1.1607,0.17857-2.3214,1.3393-1.6071,3.125-2.1429,2.6786-1.875,0.89286-1.7857,0.98214-0.71428,1.6964,0.26786,0.625,1.25,0.625,1.5178,1.0714,2.2322,1.1607,0.80357,5.8929,0.26785,2.1429-0.35714,1.4286,0.53572,3.125,0.89285,2.3214,0,0.71429,1.9643,0,2.2321-0.17857,1.1607-0.98214,1.5178-0.71429,0.53572-0.26786,1.4286,0.26786,1.5179,0,1.25-0.80357,1.4286-1.4286,1.5178-1.7857,0.71429-1.6964,0.17857-1.7857-0.71428-1.4286,0.71428-0.26786,0.89286-2.4107,0.80357-1.0714,1.4286-1.3393,1.25-1.4286,0.17857-1.4286-0.71428z",name:"Bryansk Oblast"},kj:{path:"m89.196,239.61,1.6071-1.25,1.6071-1.3393l1.161-0.27,1.429,0.63,0.80357,1.4286,1.0714,1.25,1.7857,0.80357,1.7857,0.35715,3.125,0.0893,1.875-0.0893,1.6071-1.0714,2.4107-0.0893,1.4286,0.44643,0.98214,2.0536,0.26786,1.4286,1.25,0.625,1.6071,0.98215,0.98214,0.80357,0.53572,1.25-0.53572,2.0536-1.0714,1.7857-1.4286,1.9643-1.1607,1.25-0.89286,0.44643-3.75-1.25-2.6786-1.0714-2.6786,0.0893-1.875,0.44642-1.0714,1.25-1.5179-0.44642-1.0714,0.0893-1.0714,0.80357-2.0536,1.0714-0.89286-0.89286-1.0714-0.80357-1.9643-1.25-1.5179-0.89285-0.89286-0.44643v-1.0714-2.4107l-0.08929-0.625,1.1607-1.6964,1.0714-1.875v-1.7857l-0.26786-1.6071z",name:"Kaluga Oblast"},sm:{path:"M79.375,237.55,80,235.95,80.179,234.52,79.732,233l-0.08928-1.4286,1.5179-1.3393,0.71429-1.6071,0.08929-3.125,0.35714-1.875,2.4107-2.5,2.5-1.9643,1.875-1.7857s1.875-1.3393,2.2321-1.5179c0.35714-0.17857,2.5-1.5178,2.5-1.5178l2.5,0.0893,3.0357,3.4822,1.875,3.4821,2.5,3.6607,1.4286,0.89286,2.7679,0.53571h2.0536l0.80357,0.71429,1.1607,1.875,1.1607,1.3393,1.25,1.6071,1.0714,1.4286,0.17857,1.3393-0.98214,1.25-1.875,0.89285-1.875,0.53572-0.89286,1.25-0.44643,0.89285-1.875,0.44643-1.7857,0.625-1.6072,0.35715h-3.0357l-3.75-0.80358-1.7857-1.7857-1.4286-1.3393-1.1607-0.26785-1.1607,0.71428-2.2321,1.5179-1.1607,0.44643-1.7857-0.44643-4.1071-0.98214-2.4107-0.35715z",name:"Smolensk Oblast"},mc:{path:"m116.07,234.16,3.5714,0.26785,2.3214-0.89285,1.4286-0.44643,0.53571,0.625,0.0893,1.7857,0,1.1607-0.17857,1.3393,1.5178,0.89286,2.9464,0.44643,1.7857,0.89285,2.0536,0.89286,2.7678,0.89286,1.7857,0.26786,1.25,0.53571,0.26786,1.6071-0.0893,1.5179-0.44643,1.6964-1.5179,0.625-2.1428,1.1607-1.6072,1.3393-0.0893,1.25-0.625,1.7857-1.1607,1.5179-0.35714,1.6071,0.17857,1.6072,0.0893,0.89285,1.1607,1.0714,1.0714,0.625,1.1607-1.0714,0.625,0.44643,0,1.5179-0.0893,3.2143-0.44643,1.1607-1.3393-0.44643-1.875-0.17857-1.6072,0.17857-0.80357,0.89286-2.0536,0.0893-1.6071-0.35714-1.25-0.71429-1.0714-1.1607-1.6071-0.625-1.6964,0-0.44643,0.80357-0.17857,1.1607-1.0714,0.53571-1.4286,0.0893-0.80357-0.80358-0.17858-0.625,1.1607-2.4107,0.26786-1.9643-0.53572-1.6964-1.1607-1.5179-1.1607-1.5179-1.0714-0.89286,0.625-1.25,2.5-2.9464,1.1607-2.6786-0.71429-1.7857-1.6071-1.6071-1.6071-0.98215-0.53572-0.35714-0.625-1.875-0.80357-1.25-0.80357-0.80357,0.625-1.5179,2.5893-1.3393z",name:"Moscow Oblast"},rz:{path:"m114.55,265.59-1.9643,2.6786-2.1429,3.125-0.625,2.7679-0.80357,1.7857,0.17857,0.80357,1.6964,0.71429,1.9643,1.3393,0.44643,1.5179-0.26786,0.89286,1.4286,1.1607,1.9643,0,1.1607,0.71429,0.0893,1.875,0.44643,1.1607,1.25,0.44643,1.5179-0.625,1.9643,0,1.5179,0.98214,0.625,1.7857,1.0714,1.1607,2.6786-0.17857,3.125,0,2.9464-2.0536,3.0357-2.9464,1.5179-2.2321,1.0714-1.7857-0.98214-2.2321-0.53572-3.125-2.0536-2.0536-1.25-1.6964-0.44643-2.8571-0.53571-1.6072-0.35715-0.98214-2.1428-0.35714-3.4822,0.26786-0.625,0.80357-2.1428-0.17857-1.875-0.71429-1.875-1.0714-1.9643-0.89286-1.0714,0.35715-0.80357,1.4286-1.4286,0.89286-1.6071-0.44643z",name:"Ryazan Oblast"},tb:{path:"m112.77,279.43-1.6964,2.1429-0.35714,1.7857-0.80358,0.89286-2.6786,0.98214-1.875,0.44643-1.5178,0.71429-0.71429,1.4286,0,2.1429,0.26786,2.3214-0.71429,1.875-1.5179,0.53571-0.44642,1.4286-0.44643,1.6964-0.625,1.1607,0.08928,0.625,2.3214,2.1429,2.2321,2.1429,1.6072,2.2321,1.4286,2.0536,0.98214,0,2.1429,0,1.9643-1.25,2.5-1.25,1.6964-1.0714,4.0179-0.26785,1.0714-0.98215v-3.6607c0-0.35714,0.0893-2.3214,0.0893-2.3214l1.5179-1.1607s0.71429-0.71429,0.80357-1.0714c0.0893-0.35714-0.26785-4.6429-0.26785-4.6429l1.4286-1.0714-0.80357-2.1428-1.7857-1.4286-2.3214,0.26786-0.89285,0.625-1.1607-0.80357-0.89286-1.3393v-1.3393l-1.875-0.80357h-1.3393l-0.89286-1.0714-0.26786-1.3393z",name:"Tambov Oblast"},kn:{path:"m44.107,152.55,0,2.2322,0.53571,2.5,2.0536,5.1786,1.4286,3.4821,1.9643,3.6607,2.5,1.0714,3.75-0.44642,1.9643-1.3393,0.625-1.7857-0.44643-4.2857-0.89286-2.8571-1.5179-1.6071-2.4107-0.53572-0.98214-0.71428,0-3.0357-0.80357-1.4286-1.6964-1.6071-1.6071-0.26786-0.35714,1.25-0.625,1.3393-0.625,0.89285-1.4286-0.35714z",name:"Kaliningrad Oblast"},ps:{path:"m95.268,213.98,0.35714-2.1428-0.26786-2.1429-1.4286-1.875-1.3393-1.4286-0.08929-1.6964,0.98214-0.71429,0.17857-1.6964-0.89286-0.98215-1.25-1.875,0-4.1964,1.5179-0.89285,3.75-2.2322,0.80357-2.4107,0.53572-1.7857,1.875-1.25,2.4107-0.0893,1.3393-1.6071,0.98214-1.6964s1.25-0.625,1.6072-0.80357c0.35714-0.17857,2.8571-0.71429,2.8571-0.71429l1.5179-0.0893,1.0714,0.53571-0.625,1.5179-0.71428,0.89285-0.17857,0.98215,1.6071,0.26785,1.25-1.7857,0.98214-2.0536,1.1607-1.5179,1.6071-0.71428h1.6071l1.5179-1.5179,1.1607-0.625h1.4286l0.98214,0.98214,0.625,1.5179,0.98214,1.6071-0.26786,1.6964-0.89285,0.98214-0.35715,1.3393-0.80357,1.6071-0.17857,1.1607h-1.4286-0.80357l-0.71429-0.53572-0.80357,0.53572-0.625,0.80357-0.53571,1.5178-0.53572,2.1429-0.0893,2.5-0.35715,1.875-1.1607,1.25-1.3393,0.98214h-1.7857l-1.5179,1.3393-0.53571,1.7857-1.3393,0.53572-0.44643,1.0714-0.17857,1.4286-1.7857,0.89286-1.7857,0.80357-0.625,1.6964,0.625,1.5178,0.625,0.625-0.26785,1.4286s-0.0893,0.44643-0.44643,0.80358c-0.35714,0.35714-1.1607,1.3393-1.1607,1.3393l-1.4286,0.80357-2.3214,0.89286-1.0714,0.0893-1.1607-0.89286-0.89286-0.89286z",name:"Pskov Oblast"},no:{path:"m123.12,188.27,1.5179,1.25,2.1428,0.35714,2.1429,0.17857,1.25,1.1607,2.5,0.53571,2.3214-0.0893,1.0714-0.89286,0.44643,0.625,0.0893,1.7857,2.1429-0.53571,2.3214,0.0893,0.80357,0.80358,0.17857,2.5,0.17857,2.5,0.53572,1.0714,1.3393,0.17858,1.3393,0.44642,0.26785,2.1429,0.71429,1.6964,0.98214,0.80357,0.44643,2.9464,0.0893,2.2321,0.89285,1.4286-0.53571,0.98215-0.71429,0.53571,0,1.6071,0.17858,1.5179,1.4286,1.3393,0.625,0.53571,0.0893,1.9643,0,1.9643-0.17857,1.3393-1.25,0.53571-0.71428-0.26785-0.625-0.80358-0.71429-0.80357-0.17857-1.1607-0.98214-0.80357-0.80358-0.625-2.0536,0-1.5178-0.53572-0.53572-0.35714-1.5178-0.53571-0.71429-0.26786,0-0.44643s-0.26786-1.25-0.26786-1.6964c0-0.44643-0.0893-2.0536-0.0893-2.0536l-0.625-0.98214h-1.7857l-0.89285-0.44643-0.44643-0.98214-0.98215-0.625-0.53571,0.625-0.89286,1.0714-1.6964,1.4286h-2.1428c-0.35715,0-1.5179,0.0893-1.5179,0.0893l-0.71429-1.0714-1.0714-0.71428-2.3214-0.17857-2.6786-0.0893-1.5179-0.44643-1.3393-0.98214-2.3214-0.44643h-2.1428l-0.89286-1.1607-1.25-1.0714-0.53571-0.71429-1.1607-0.71428,0.98214-2.7679,0.71429-0.44643,1.1607-1.5179,1.0714-1.0714,2.0536-0.625,2.5-1.9643,0.625-1.9643,0.0893-3.5714,0.98214-2.5893,1.0714-1.25,1.1607,0.26786z",name:"Novgorod Oblast"},tr:{path:"m98.661,216.66,3.2143-0.625,2.2321-1.6072,1.3393-1.6071,0.17857-1.4286-0.80357-1.4286-0.26786-1.3393,0.35714-0.89286,1.4286-0.89285,1.6964-0.625,1.1607,0.44643,1.5179,1.5178,1.0714,0.98215,0.98215,0.53571,1.6964,0.17857,2.4107,0.35714,1.3393,0.98215,1.3393,0.26785,3.2143,0.44643,1.5178,0,1.25,0.71429,0.80358,0.71428,1.875,0.35715,1.7857-0.17857,1.875-1.6072,1.25-1.25,0.71429,0.44643,0.625,0.80357,1.4286,0.44643,1.4286,0.17857,0.53571,1.5179,0.17857,2.4107,0.35715,0.80358,1.1607,0.71428,1.4286,0.80357,1.0714,0.26786,1.875,0.35714,0.98214,0.26786,1.25,1.0714,0.44643,1.3393,0.98214,1.0714,0.80358,0.53572,1.7857-0.35715,1.3393,0.0893,1.25,0.71429,1.6071,0.89285,0,1.5179-0.625,1.6964-1.25,1.6071-1.6071,0.44643-1.25,0.98214-1.5179,1.3393-0.89286,1.0714-0.44643,0.71428-0.26785,1.5179-0.44643,1.0714-1.25,1.4286-0.53572,1.4286-0.35714,2.0536-2.0536,1.9643-2.0536,1.3393-1.0714,0.17858-0.53571-0.71429-0.26786-1.7857-1.6964-0.71429-3.8393-0.89286-3.8393-1.6071-3.0357-0.80357-1.5178-1.0714-0.0893-3.0357-0.35714-1.6964-3.3036,0.80357-3.4822,0.26786-1.3393-0.89286-3.4821-4.4643-1.5179-2.0536-3.3036-0.625-2.7679-0.53571-1.4286-1.7857z",name:"Tver Oblast"},vm:{path:"m137.41,247.73,1.6072,1.7857,2.0536,1.25,1.1607,1.0714,1.3393,0.35714,0.80357,0.89286,0.0893,1.5178-0.89285,1.7857-0.35715,1.0714,1.25,0.625,1.7857,0.26785,1.0714,1.1607,0.17857,1.9643,0.98214,1.875,1.0714,1.25,1.3393,1.25,1.3393,1.3393,1.3393,1.1607,1.7857,1.875,0.89286,1.3393-0.17857,0.98214-0.89286,0.71429l-0.18,0.98,0.53571,0.71429,0.44643,0.71428,0.0893,1.6072-1.7857,0.53571-2.2321-0.0893-1.1607-1.0714-4.4643-0.0893h-5.1786l-1.7857,0.53571-0.71429-1.6964-1.6964-1.9643-1.6071-2.6786-0.80357-4.1964-0.0893-4.1071-0.17857-2.0536-0.44643-0.44643-0.71428,0.44643-1.1607,0.26785-1.4286-1.25-0.26786-2.5893,0.71429-2.0536,1.1607-2.0536,0.44643-1.7857,1.3393-1.0714z",name:"Vladimir Oblast"},pz:{path:"m127.05,289.96,1.6964,1.7857,2.0536,1.5179,1.25,0.98214,1.6964,0.625,1.25,1.875,0.71429,1.6071,0.26785,1.9643,0.98215,0.98214,1.0714,1.0714,2.6786,0.17857,1.6964,0.0893,0.625,2.1429,0.89286,1.7857,1.6964,0.71429,2.1429,0.26785,1.4286,1.0714,0.625,1.0714-1.5179,0.89286-0.89286,0.98214,0.0893,4.1071-0.26786,3.4822-2.7679,1.25-1.0714-0.0893-0.89286,1.6071-1.9643,0.98215-1.1607-1.7857-0.98214-0.98214-5.9822-0.0893-1.1607-1.875-0.89286-0.89285-3.125-0.71429-0.98214-1.6071-1.25-1.6964-2.1429-0.71429-2.4107-1.3393-1.6071-1.0714-2.5,0.0893-0.71429-1.875,0.26786-2.5,1.1607-0.89285,3.8393-0.80357,0.89285-2.4107,0-3.4821,1.3393-1.6964,1.3393-1.6071-0.26786-2.5893,0-1.9643,1.1607-0.89286z",name:"Penza Oblast"},sr:{path:"m107.23,308.27-0.17857,3.0357-0.26786,1.25-2.2321,1.1607,1.4286,1.6964,1.0714,3.2143,2.2321,0.71429,0.98215,0.80357,0.89285,1.0714,1.7857,0.625,2.5893,2.5,0.89286,1.0714,0,1.875-1.5179,2.0536-2.4107,2.8571-0.44643,1.25,0.44643,1.6964,0.71429,0.89286,2.1428,1.1607,4.0179,3.9286,1.7857,4.5536,1.25,1.4286,1.25,1.3393,0.26786,1.9643-0.71428,2.5-0.53572,2.4107,0.26786,1.7857,0.89286,1.0714,1.6071,0.44643,1.6964,0,1.6964-1.1607,1.25-1.0714,0.44642-2.6786,0.0893-1.875,2.2321-0.625,3.3036,1.25,1.6964,0.35714,1.6072,0,1.3393-1.5179,0.44643-0.53571,1.6071,0.35714,1.3393,1.0714,1.5178,0.89286,4.6429,0,1.1607-1.1607,1.3393,0.17857,0.89286,0.80358,1.6071-0.53572,0-1.7857-0.89286-1.9643-0.35714-1.3393-0.17857-3.9286-0.0893-2.0536-0.71428-1.25,0.0893-2.8571-0.35714-1.6071,0-2.5-0.80357-1.3393-1.1607-1.6071-2.5-1.0714-1.6072-2.0536-2.5893-0.0893-1.0714-0.35714-1.7857-1.6964-0.625-1.25-0.44642-0.89286-1.7857-2.4107-5.625-0.26786-0.53571-0.17857-1.9643-2.5893-3.125-0.89286-2.2321-2.9464-6.1607-3.3036-2.3214,0-1.0714-1.6964,0.44643-2.5-0.80357-0.35714-3.8393,2.1428-1.5179,0.35715z",name:"Saratov Oblast"},mr:{path:"m127.59,290.05,1.875,2.1429,2.6786,1.7857,1.7857,1.1607,1.7857,2.7679,0.44642,2.4107,2.0536,2.1429,2.5893,0.0893,1.6071,0.26786,0.89286,2.2321,0.71429,1.4286,2.0536,0.89286,1.7857,0.35714,1.25,0.625,0.53572,0.80358,5.8928,0.17857,2.6786-3.5714,0.35715-0.53572,0.71428-1.3393,0.0893-2.1429-0.0893-1.9643-1.7857-0.98215-0.35714-2.5-0.0893-0.80357-1.6964,0,0,0.17857-0.80357,0.89286-1.3393,0.80357-5.2678,0-2.5893-2.3214,0.17857-3.5714-1.1607-1.0714-0.17857-0.80358,1.0714-1.0714,0-1.6072-2.5893-0.53571-1.7857-0.0893-0.80357-1.25-0.71429-1.6964-1.25,1.1607-2.1429,2.3214-2.4107,1.5178-1.5179,0.98215-2.9464,0.26785z",name:"Republic of Mordovia"},cu:{path:"m159.11,299.07,1.3393-0.89286,2.9464,0.44643,1.3393,0.44643,1.0714-1.3393,0.26786-1.7857,2.2321-1.1607,2.2321-2.2322,3.125,0.0893,2.6786,0,1.25,1.5179,0.35715,2.9464-0.17857,1.5179,0.35714,1.25,0.71428,1.1607-0.0893,0.71428-1.3393,0.625-4.1071-0.0893-1.3393,0.53571-0.80357,0.80357,0,0.89286,1.1607,0.71428-0.17857,0.89286-1.3393,1.1607-1.7857,1.25-2.1429,0.98214-1.3393,0.44643-1.3393-1.3393-2.5-0.44643-0.98215-0.625-0.98214-1.3393-0.80357-0.80357,0.80357-3.5714z",name:"Chuvash Republic"},ul:{path:"m158.57,305.32-1.875,2.6786-0.98215,1.4286-4.8214-0.26785-0.80358,0.26785-1.7857,1.4286-0.80357,1.1607,0,2.3214,0,2.5893,0,1.6964-1.7857,1.4286-1.0714,0.26786-0.89286,0-1.25,1.25-1.25,1.0714-0.625,0.26786,0.89286,1.9643,1.6071,1.6071,2.3214,0.44643,1.5178,0.17857,1.25,1.6072,1.5179,0.80357,2.1429,0.17857,0.89286-0.625,0.0893-1.875,0.17857-1.6964,1.0714-1.6964,0.35714-1.3393,1.3393-0.26786,0.80357,0.53571,1.3393,0.625,1.875-0.17857,1.3393-0.98214,1.0714,0.17857,1.6964,1.4286,2.0536,1.875,1.5179,1.6072,0.80357,1.4286,2.3214,0.17857,1.1607-1.5179,2.8572-2.0536,2.0536-1.1607,0.26785-2.3214,0-3.5714-1.875-1.1607-3.6607-0.0893-2.0536-1.4286-0.98214-1.1607-2.5-0.26785-0.98215-1.5179-3.0357-1.5179-0.80357-1.5179-0.625-2.0536z",name:"Ulyanovsk Oblast"},ss:{path:"m150.98,329.96,1.3393,2.1428,0.71428,2.8572,0.44643,2.8571,0,2.1429,0.625,2.3214-0.0893,2.8571,0.35714,2.4107,0.53571,2.1429,0.625,1.9643,0.71429,0.98214,5.8929,0.0893,3.0357-1.6071,1.25-1.9643,1.9643-0.35715,1.6964-0.0893,2.1429-1.4286,1.4286-0.89286,1.25-0.17857,1.6072,0.625,1.7857-0.17857,0.80357-1.875,1.0714-2.3214,4.375-2.5893,1.7857-1.4286,1.1607-2.0536-0.625-1.5179-0.80357-1.7857-0.35715-2.5-1.1607-1.25-0.71429-2.4107-3.6607-0.26785-2.3214-1.6964-1.4286-0.80357-3.5714,2.3214-1.9643,2.2322-2.4107,0.0893-0.98214-0.98214-2.2321-2.4107-2.4107-1.875-1.0714-1.0714-0.89285,0.26785-1.6072,0.71429-1.6964-0.0893-1.5178-0.80357-1.0714,0-0.625,0.98215-0.53572,1.0714-0.80357,1.5179-0.17857,1.3393,0,0.98214-0.0893,0.71429z",name:"Samara Oblast"},ob:{path:"m155.89,352.82,0.53571,1.4286,0.71429,1.6071-1.0714,1.6072,1.0714,1.4286,3.0357,0.17857,1.9643-0.35714,2.5,0,0.17857,2.3214-0.89286,2.6786,0.35714,1.0714,3.5714,1.6071,2.1429,1.4286,0.17857,3.5714,0,4.1071,0,1.4286-1.25,0.89286,0,1.9643,0,0.71428,0.71429,1.0714,1.0714,0.89286,1.7857-2.5,0-1.4286,0.89286-0.89286,1.4286,0,1.0714,2.3214-0.17858,1.4286-0.71428,1.25-0.35714,1.4286l0.36,1.43,1.25,0.89286,2.3214,1.25,1.7857,0.89286h1.9643,2.5l1.4286-1.0714,1.6071,0.17857,1.9643,1.0714,0.89285,1.6071,0.35715,1.7857,1.0714,1.25h1.7857l0.89286-0.89285h1.25l1.6071,0.53571,1.25,1.4286,0.53571,2.6786-0.17857,3.5714,1.7857,1.6072,1.4286,0.89285,1.0714,1.6072,1.0714,0.53571,1.6071-0.71429,1.4286-0.17857,1.6071,1.4286v1.25l1.9643,1.7857,1.25,0.71428,2.1429,0.35715h2.6786l1.4286-0.17857,1.25-0.89286,1.25-1.0714,0.89286-0.89286-0.17858-1.25-2.3214-3.2143-1.0714-1.25v-3.75l-0.71429-2.1429-0.17857-2.1429,1.0714-2.3214,1.9643-1.4286-1.4286-1.7857-3.0357-2.8571-1.9643,0.35714-1.4286-0.17857-0.89286-1.25h-2.3214l-1.4286,1.25-1.0714,1.25-0.53572,1.0714h-2.5l-1.0714-2.5-3.2143-0.17858-2.8572-0.35714-0.89285-2.5-1.08,0.33-1.79,0.89h-1.4286l-0.17857-1.0714,1.4286-1.7857,2.5-2.5-0.53-1.78-0.71-0.36v-0.89286l2.5-1.9643,0.35715-1.0714v-2.1429h-1.7857l-2.1429,0.71429-1.6071,0.17857-1.4286-1.9643-0.53571-2.3214,1.25-1.7857,1.0714-0.89286v-1.6071l-0.35714-2.3214,1.0714-0.89285,0.17857-3.0357-1.25-1.9643-1.7857-1.7857-0.17857-1.6071,1.0714-2.8571,1.6072-2.5,0.89285-1.7857-0.53571-1.25-2.1429-1.6071-1.4286-2.1429-1.25-1.4286-1.6071,1.7857-1.4286,1.4286-4.1072,2.5-1.4286,1.9643-0.35714,1.9643-0.53571,0.35714-1.9643,0.17857-2.1429-0.35714-1.9643,0.53571-1.9643,1.4286-2.8571,0.53572-1.0714,0.71428-1.4286,1.7857-2.1429,1.25h-2.5z",name:"Orenburg Oblast"},nn:{path:"m156.25,271.57,4.2857-0.53571,2.5-1.4286,3.5714-0.71428,2.6786-1.0714,1.25-0.17857,2.3214,1.25,1.7857,1.0714,2.6786-0.17857,1.4286,0,2.6786-1.0714,1.25,0.17857,1.4286,1.9643,1.0714,2.1429,2.5,0.17857,2.5,1.7857,1.0714,1.25,0.89286,2.5,1.25,1.4286-0.17858,1.6071-1.25,0.89286-1.7857,0.17857-0.71429,0.89286-1.6071,0-0.71428-0.89286-1.7857-1.0714-1.6071,0.71429,0,1.6071-1.25,1.4286-1.25,0.53572-2.1429-0.89286-2.1429-1.6071-3.0357-0.89286-1.7857,0-1.0714,0.89286-0.71429,1.7857,0,2.8571-0.17857,2.8572,0.53571,1.0714-1.0714,1.4286-2.3214,1.4286-1.4286,0.89285,0,1.4286-0.35715,0.89285-0.89285,0.71429-2.8572-0.35714-1.0714-0.17858-0.89285,0-0.71429,0.53572-0.38692,0.34215-0.69448-0.12626-0.44194-0.50508-0.50508-3.0936-1.5784-0.12627-1.5784,1.4521-2.2097,0.44194-3.9775-0.25253-2.0834-2.0203,0.1894-3.3461-1.2627-1.389-0.0631-0.75761,1.0102-1.4521-0.0631-1.0733-3.7249-0.63135-1.1996-0.75761-1.0733-2.7148,1.1364-2.336-1.1996-3.3461,2.0203-0.50507,3.283-0.12627,5.9978,0.12627,1.2627,0.88388,2.0203,0.1894,2.0203-0.75761,0.12627-1.5152-0.94702-1.4521,0.63135-1.0733z",name:"Nizhny Novgorod Oblast"},ml:{path:"m181.51,286.29,2.2728,2.336,2.4622,2.0834,2.7779,1.1364,2.9673,0.0631,2.4622,2.0834,1.5784,1.6415,0.44194,1.3258,0.63134,0.94702-0.3788,1.6415-0.56821,1.1364-0.0631,1.8309-1.5152,1.389-0.88388,0.56821-1.4521-0.12627-1.1996-1.5152-1.1996-0.44194-1.389-0.82075-1.7046-0.12627-0.50508,0.88389-1.7046,0.88388-2.5885,0.12627-1.9572-0.82075-1.1364-0.69448-0.88388-3.0305-0.37881-4.7351-1.1996-1.4521-4.0406-0.0631-1.3258-0.1894-0.63134-1.0733,0-2.0834,0.0631-3.0936,0.37881-1.8309,1.0102-1.0733,0.82075-0.63134,2.5885,0.3788,2.2728,0.88389,2.9673,1.7678z",name:"Mari El Republic"},ta:{path:"m160.93,308.14,0.0631,1.1364,0.44194,1.0733,0.88389,1.0102,1.5152,0.63134,1.8309,1.4521,1.5152,0.75762,1.389,0.44194,1.4521,1.0733,1.389,1.0102,2.4622,0.44194,1.4521,0.0631,1.7046,0.88388,0.12627,2.2097-0.37881,2.9042,0.44195,1.4521,2.0834,1.1996,1.0733,0.75761,2.9042,0.18941,0.82075,0.69448,0.56821,1.7046,1.3258,2.1466,0.63134,2.5885,0.88389,1.7678,1.6415,1.894,1.389,2.2728,1.6415,1.1364,0.88388,0.88388,1.1996,0.0631,2.9042-1.8309,2.9042-2.7148,0.44194-0.63135,0-1.894-1.0102-1.0102-0.0631-0.88388,1.8309-0.25254,1.2627,0.31567,0.75762,0.56822,1.3258,0.3788,1.6415-0.31567,1.1996-0.69448,2.9042-0.12627,1.5152-0.37881,0-0.94701-0.37881-1.2627-1.1996-1.5784-0.63134-1.2627-1.5152-0.44194-0.88389-1.2627s1.2627-1.0102,1.5784-1.1364c0.31567-0.12627,2.2728-0.75762,2.2728-0.75762l0.0631-1.4521s-1.1364-0.18941-1.389-0.50508c-0.25254-0.31567-0.69448-0.94702-0.69448-0.94702l2.0203-1.3258,2.0203-1.389,0.12626-1.1364-0.69447-0.82075h-1.5152l-0.69448,0.0631-1.1364,1.3258-0.56821,0.69448h-1.894l-0.12627,0.88388-0.12627,1.3258-0.82075,1.1364-1.5152-0.12627-0.75761-1.4521-1.1364-0.94702-0.82075,1.0102-1.7678-0.31567-0.56821-2.2728-1.4521-0.88388-0.63135-1.2627,0.12627-1.3258-1.1364-1.3258,0.0631-2.6516,0.12627-3.0936,0.63135-0.94702-0.25254-1.0102-0.69448-1.0733-0.56821-0.56821-1.0102,0.44194-0.88388,0.37881-1.0102-0.12627-1.0733-0.88389-0.88388-0.82074-1.8309-0.69448-1.4521-0.44195-0.94702,0.94702-1.8309,0.75762-1.8309,0.1894-1.6415-0.31567-1.9572-1.0733-1.389,0.50508h-2.7148l-2.0834,0.0631-1.389,1.1364-0.0631,0.88389,0.69448,0.50507,0.12627,0.82075-0.82075,1.0733-1.5152,1.2627-2.6516,1.0733-1.5784,0.69448-1.1364-0.75762-2.0834-0.82075z",name:"Republic of Tatarstan"},iv:{path:"m144.26,252.7,2.0203-1.1364s0.94702-0.50507,1.1996-0.50507c0.25254,0,2.5885,0.31567,2.5885,0.31567l2.7148,1.1364,2.3991,1.1364,1.2627,1.1996s1.4521,1.0102,1.7046,1.1996c0.25254,0.18941,1.4521,1.2627,1.4521,1.2627l1.7046,0.63135,1.1364-0.88388h0.88388l0.50508,0.82074,0.1894,1.1996,1.0102,0.75762,1.5152,0.82074,1.0102,0.63135,0.44194,1.0102-0.69448,1.0733-0.12626,0.88388,0.75761,0.37881,0.88388-0.56821,1.389,0.63134,0.69448,0.94702,0.25254,1.2627-0.25254,0.50508-1.894,0.69448-2.9673,0.82075-3.0936,0.50507-2.3991,1.5152-3.4724,0.50508-0.94702-0.12627-1.7678-2.3991-3.5987-3.4724-2.7148-3.3461-0.82075-2.7779-0.88388-1.0102-2.1466-0.44195-0.69448-0.56821,0.50507-1.4521,0.56821-1.3258z",name:"Ivanovo Oblast"},yr:{path:"m154.11,228.33,1.7678,1.5784,1.9572,0.50507,1.7678,0.50508,1.3258,1.6415,1.9572,1.5784,1.5784,0.0631,1.0733-0.69448,0.82075,0.31568,0.3788,1.4521,0.12627,3.4093-0.0631,2.6516,0.25254,1.5152,0.88388,1.0102,0.56821,0.94702-0.37881,1.0733-1.7046,1.1364-2.7148,1.3258-3.283,2.2097-1.6415,1.0733-3.3461,0.88388-2.4622-0.1894-2.1466-0.63135-2.6516-0.69448-2.1466,0.63135-1.8309,1.0733-1.7046-0.88388-1.4521-1.0102-1.894-1.1364-1.1364-1.1996-0.25254-1.3258,0.56821-1.4521,2.0203-0.88388,2.2097-1.1996,1.6415-2.7779,1.0102-2.9673,1.1996-1.2627,0.75762-2.4622,1.6415-1.8309,1.9572-1.8309,2.7148-1.5152z",name:"Yaroslavl Oblast"},kt:{path:"m168.7,245,1.389,0.12627,1.2627-0.75762,1.5152-1.389,1.894-0.75762,1.894,1.1364,1.894,1.5152,2.5254,0.12627,0.63135-0.75761,0.75761,0.50507,1.2627,2.1466,2.2728,2.2728,1.5152,1.5152,1.1364,1.894,0.3788,2.2728,1.2627,1.7678,1.5152,1.6415,2.5254,1.389,1.7678,1.5152,1.7678,1.894,2.0203,0.88388,1.894,0.12627,2.0203-2.0203,1.6415-0.3788,0.63135,1.894,1.1364,1.0102-0.12627,1.6415-1.6415,1.5152-0.12627,1.894-0.3788,2.5254s-1.7678,0.75761-2.3991,0.75761c-0.63134,0-6.3134-0.12626-6.3134-0.12626l-3.1567,0.12626-1.1364,1.1364-1.2627,0.50507-2.0203-0.75761-1.5152-0.75762-2.0203-0.3788-1.0102-1.5152-0.88388-1.6415-0.75762-0.63135-1.1364-0.12627-0.88388,0.50508-2.1466,0.75762-3.283-0.25254-1.7678-0.50508-2.0203-1.2627-0.50508-0.50508,0.25254-0.63134v-1.1364l-1.389-1.2627-0.88389-0.50508-0.63134,0.37881-0.38556,0.10695-0.53571-0.35714,0.0893-0.89286,0.71429-0.625,0.0893-0.98214-0.89285-0.71429-1.7857-1.0714-0.98214-0.98215-0.26786-0.98214-0.71428-0.89286h-0.98215l-0.89285,0.625-0.625,0.0893-1.25-0.71429-1.4286-0.80357-1.3393-1.25-1.7857-1.3393-0.69-0.57,1.07-0.71,2.05-0.54,2.3214-0.71428,2.8571-2.0536,3.3036-1.6964z",name:"Kostroma Oblast"},le:{path:"m123.49,177.57,1.7678-1.6415,1.5152,0,2.2728-1.894,2.5254-0.50507,2.2728,0.63134,2.9042,2.1466,2.7779,1.5152,0.75761,2.5254,0.12627,1.389,1.0102,1.1364,1.1364-0.37881,0.75761-2.0203-0.12627-2.3991-0.88388-1.6415-0.88388-1.894,0.12626-2.0203,1.1364-1.2627-0.25254-1.894-0.75762-1.0102,0-0.37881,1.2627-0.25254,3.283,0.25254,3.5355,1.2627,2.2728,0.12627,1.894,0.12627,1.2627,1.1364,0.63135,1.2627,0,1.7678-0.37881,1.6415-0.25254,2.1466-0.63134,1.7678-2.1466,1.2627-0.75761,1.0102-1.0102,1.894-1.0102,1.1364-1.7678,1.1364-0.63135,1.2627,0.25254,1.1364,1.389,0.75762,2.1466,0.25253,1.0102,0.88389,0.25254,1.6415,1.0102,0.75762,2.1466,0.12627,1.1364-0.50508,3.4093-0.25254,1.7678-0.63134,2.0203-0.25254,1.5152,0.75761,1.0102,1.6415,1.1364-1.2627,1.389-1.7678,0.75762,0.88388,0.50507,2.0203,0.63135,2.2728,2.1466,0.50507,1.2627,0.75762,1.1364,1.0102,0.12626,1.2627,0.12627,1.6415-0.12627,1.7678-1.2627,0.75761-2.2728-0.25254-1.389-0.88388-1.389-0.25254-0.75761,0.88388-1.5152,1.0102-3.0305,0-1.5152,0.3788-2.7779,3.0305-1.0102,1.389-0.37881,2.1466-1.6415,1.0102-1.1364,0.12627-0.3788,1.2627-1.2627,0.63134-0.63135-1.0102-1.1364-1.1364-2.2728-0.12627-0.75761,0-1.1364-3.0305,0-2.9042-1.0102-1.5152-0.88389-1.894-0.12627-1.6415-2.2728-0.88388-0.88388-0.63135s-0.37881-1.0102-0.37881-1.5152c0-0.50507-0.25254-3.4093-0.25254-3.4093l-0.75761-1.1364-2.3991-0.25254-1.389,0.75761-0.75762-0.50507-0.12627-1.2627-0.63134-0.88389-1.0102,0.63135-2.1466,0.3788-2.7779-0.88388-1.5152-0.88388-3.283-0.37881-1.2627-0.88388-1.0102-0.75762,0.63135-1.2627,0.88388-2.1466,0.88388-1.389,0.12627-1.2627z",name:"Leningrad Oblast"},ki:{path:"m207.59,265.33,1.2627-0.88388,0.12627-2.0203,0-2.0203-1.0102-1.389-0.12627-1.6415,1.5152-0.37881,3.9143,0.25254,2.5254-0.88388,2.6516-1.1364,0.63134-1.389,1.1364-0.63134,2.7779,0.25254,1.389,1.7678,0.12627,2.7779-0.63134,3.0305-1.0102,1.389-0.75761,2.7779-1.894,0.75762-2.0203,0.12626-1.6415,1.7678-0.63134,1.6415-1.0102,0.63134-0.75761,0.88389,0.75761,1.389,1.6415,0.88388,1.0102,1.389-1.6415,1.894,0.12626,1.894,1.1364,0.88389,1.2627,0.50507,0.88388-1.389,0.88388-1.894,2.7779,0,3.1567,0.3788,4.2932,1.2627,1.7678,2.2728,2.1466-0.12627,2.1466-1.6415,1.6415,0.37881,1.2627,1.0102,0.75762,1.894s1.0102,1.5152,1.389,1.7678c0.3788,0.25254,2.5254,1.894,2.5254,1.894l0.25254,1.5152-0.88389,2.0203-2.0203,1.1364-3.5355,0.25253-1.2627,0.63135-1.2627,1.5152-0.25254,1.389,1.0102,1.389,0.12627,1.1364-1.5152,1.1364-0.75762,1.389-0.12627,2.1466-1.2627,1.0102-2.7779,0.12627-1.1364-1.2627-1.0102-2.5254-2.0203-0.12627-1.389-0.3788v-1.894l-2.0203-1.1364-3.1567,0.75761-1.7678,1.389s-1.2627,1.0102-1.2627,1.5152c0,0.50508-0.3788,2.2728-0.50507,2.7779-0.12627,0.50508-1.6415,1.5152-1.6415,1.5152l-2.5254,1.1364-1.894-0.50507-1.2627-1.389-1.5152,0.25253s-0.75761,0.50508-1.0102,1.389c-0.25254,0.88389-0.12627,2.7779-0.12627,2.7779l0.12627,1.894-2.0203,0.63135-3.4093,0.3788-0.25254,1.1364v1.389l-0.3788,1.389-1.7678,0.88389h-0.63135l-0.63134-1.5152-0.50508-0.37881,0.12627-2.5254,0.25254-2.5254,0.50508-1.5152-0.88389-1.6415-0.25254-1.2627,0.75762-2.9042,0.63134-2.5254-1.0102-1.5152-1.6415-2.5254-2.1466-1.5152-0.88388-0.63134-3.9144-0.12627-1.7678-1.2627-1.6415-1.5152-1.6415-1.5152-0.50507-0.50508,0.50507-1.0102,1.2627-1.6415,0.25254-1.0102,1.1364-0.75761,1.5152,0.50507,1.894,1.389,1.389-0.75761,2.1466-0.63135,1.389-1.2627v-1.5152l-1.2627-1.894-0.63135-1.5152s-0.78918-1.1049-0.85231-1.2627c-0.0631-0.15784,0.56821-0.69448,0.56821-0.69448l0.97858-0.63135,0.75762-0.75761s2.2728-0.0316,2.8095-0.0316c0.53664,0,3.1567,0.0631,3.8828,0.0631,0.72605,0,3.7881-0.44194,3.7881-0.44194l1.4521-0.59978s0.12626-1.5784,0.15783-1.7993c0.0316-0.22097,0.47351-2.4938,0.47351-2.4938l2.0203-2.3991z",name:"Kirov Oblast"},bs:{path:"m211.5,329.86,2.3991-1.6415,2.5254-1.6415,1.5152-0.25254,1.894,2.6516,2.2728,2.2728,2.9042,0,2.6516,2.5254,1.7678,2.5254,1.1364,1.7678,1.7678,0,1.2627,2.1466,2.6517,2.3991,2.2728,1.6415,2.0203,1.7678,1.2627,1.1364,0.88389,1.389-0.37881,1.1364-1.6415,0.63134-0.88388,1.2627,0.25254,1.389,1.389,0.63135-0.63135,1.2627-1.5152,0.50508-1.2627-0.75762-2.3991,0.37881,0,1.0102-1.5152-0.25254-0.50508-0.88388-1.5152-1.0102-4.5457,0-1.1364-0.37881,0-1.2627,1.7678-1.2627,0.12627-1.389-1.0102-0.88389-1.6415-1.1364-2.5254,0.25254-1.0102,2.1466-1.7678,2.6516-0.88388,2.0203,0.50508,3.0305,1.894,1.0102,2.0203-0.75761,1.6415,0.75761,1.0102,2.0203,2.5254,0.12627,2.0203,0.75761,2.7779,0,1.7678-0.50508,1.5152,1.1364-0.63135,1.389-1.894,1.5152-1.2627,1.1364-1.0102,1.389-1.2627,0-1.2627-0.63134-2.1466-0.75762-1.6415-0.3788-1.6415,1.2627-0.3788,1.5152-0.63135,1.389-2.3991,2.6516-1.6415,2.3991-3.9143,3.6618-1.894,1.5152-0.25254,2.0203-0.63134,1.5152-2.9042-0.25254-1.6415,1.7678-1.2627,1.389-0.50507,0.63135-2.0203,0-1.1364-2.0203-0.50508-0.63134-5.4296-0.63135-1.389-2.1466-2.7779,0.88388-1.2627-0.12627,0-0.50507,3.4093-4.4194,0-1.6415-0.88389-0.63134,0-1.1364,1.7678-1.1364,1.0102-1.389,0-2.0203-0.25253-0.50508-1.894-0.12627-2.2728,1.2627-1.7678-1.1364-1.1364-2.3991,1.2627-2.3991,1.0102-1.894-0.25254-2.5254,0-0.75761,0.88389-1.5152,0-3.1567-2.5254-2.9042-0.12627-2.0203,1.0102-2.6516,2.0203-4.1669,2.9042-2.1466,3.9143-3.1567,1.0102-2.1466-0.88389-1.389-0.12627-0.12627,0-0.75761,1.389-0.25254,2.3991,0.75762,1.389,0.12626,1.7678-0.63134,2.6516-0.25254,1.7678-0.12627,0.88388-0.63134,0-1.7678z",name:"Republic of Bashkortostan"},cl:{path:"m242.18,347.66,1.7678-0.88388,2.7779,0.50507,2.3991,2.1466,2.3991,1.7678,3.0305,1.894,2.9042,0,1.5152,1.6415,1.6415,2.3991,0.75761,1.894-0.63135,3.1567,0,2.7779-0.88388,1.389-1.7678,0.63135-1.6415,1.1364-0.75762,1.2627-2.0203,0.63135-1.894,1.5152,0,1.1364,1.5152,1.5152,2.0203,2.0203,1.1364,2.3991-0.37881,2.7779-0.75762,1.7678-2.3991-0.63135-2.6516-0.50507-3.283-0.37881-2.0203-0.50508-1.5152-1.7678-2.0203-1.7678-1.1364-1.1364-1.1364,0.50508-1.5152,1.1364-0.88388,1.0102,0,1.894,1.6415,1.2627-0.37881,0.75761-2.2728,0.63135v1.0102c0,0.50508,0.75761,2.0203,0.75761,2.0203l2.0203,1.7678,0.12627,1.894-1.5152,0.63134-1.5152-1.5152-1.389-1.2627-2.2728-0.63134-3.283,0.12627-1.5152,0.25253-0.63134,1.2627,1.0102,1.389-0.37881,1.894-1.0102,1.6415-4.5457,0.25254-1.6415-0.88389-1.6415-0.63134,0.50507-2.0203,1.6415-0.88388-0.75761-1.7678-2.0203-2.3991-1.6415-1.0102-1.894,0.12627-1.389-0.63135,0.63134-2.7779,1.7678-2.6516,4.4194-4.1669,3.7881-4.672,1.2627-2.9042,1.389-0.88389,2.5254,0.25254,2.0203,1.0102h2.0203l1.894-2.2728,2.2728-1.894,0.50508-1.389-1.5152-1.2627-2.1466,0.50507h-3.0304l-2.7779-0.88388h-1.5152l-0.88388-1.894-1.389-0.50507-1.7678,0.63134-1.0102-0.37881-0.88389-0.63134-0.63134-1.894-0.12627-1.6415,3.6618-5.6821,0.75762-0.63135,1.7678,0.37881,1.7678,0.88388,0.63134,1.1364-0.3788,0.75762-1.2627,1.1364v1.1364l-0.12627,0.12627,0.75761,0.63135,2.6516,0.12627h2.2728l1.5152,1.0102,1.2627,1.1364,1.1364-0.63135,0.50507-0.75761,2.0203,0.12627,1.7678,0.37881,1.1364-1.2627-0.37881-1.0102-0.75761-0.88388,0.25253-1.5152,1.5152-1.0102,0.63135-1.1364z",name:"Chelyabinsk Oblast"},ud:{path:"m231.7,302.33-0.12627,1.389-2.0203,2.7779-1.5152,1.389,0.12626,1.389-1.6415,1.0102-1.1364,1.5152-1.5152,2.3991-0.50508,1.894-0.50508,3.1567-2.0203,1.0102-2.2728,0.12627-0.63135,1.1364-0.37881,3.0304-0.12627,1.389-3.0304,2.0203-2.2728,1.389-1.0102,0-1.2627-1.5152-1.7678-0.75762-0.63134-1.2627,1.389-1.1364,2.0203-0.75761,0.50508-1.1364-0.37881-0.50508-1.5152-0.88388,0.25254-0.88389,2.7779-1.7678,1.0102-1.1364-0.50507-1.0102-0.75762-0.63134-2.0203,0.63134-1.1364,1.389-1.5152,0.63135-1.0102,0.25253-0.3788,1.5152-0.63135,0.75762-0.88388,0.25254-0.75762-1.0102-1.389-1.2627-0.75761,0.37881-1.2627,0.37881-0.88388-0.88389-0.63135-1.1364-1.0102-1.0102-0.63135-1.0102,0-1.1364,1.6415-0.88389,1.1364-1.1364,0.25254-2.0203,0.25254-1.0102,3.1567-0.50507,1.6415-0.50508,0.37881-4.4194s0-1.2627,0.63135-1.5152c0.63134-0.25253,1.2627-0.3788,1.2627-0.3788l1.2627,0.63134s1.6415,1.894,2.3991,1.389c0.75761-0.50507,1.894-0.88388,1.894-0.88388s2.3991-1.0102,2.2728-1.6415c-0.12627-0.63134,0.25254-1.6415,0.25254-1.6415l0.3788-1.389,2.1466-2.2728,1.2627-0.75761,2.2728-0.50508,1.6415,0.37881,0.88388,1.1364v0.75761l0.25254,0.63135,1.0102,0.12627,1.6415,0.3788,0.63135,0.50508,0.63134,1.6415,0.75762,0.75761z",name:"Udmurt Republic"},pe:{path:"M242.06,274.03l-2.28,1.16,0.5,1.5-0.5,3.53,0.5,1.28,1.41,2.41,2.25,1.62,0.65,1.66-1.4,2.12-2.41,1.03-2.87,0.63-1.66,0.87-1.13,1.54,0.5,1.24,0.63,1.38-0.13,1.03-1.9,1.63-0.38,2.4-0.87,1.6-0.13-0.19-1,0.12-1.28,2.5-2,2.29-0.15,1.53-0.88,0.87-2,2.03-1.91,3.41-0.62,3.9-1.28,0.88-2.25,0.38-1.28,0.78-0.63,4.9,2.53,2.66,2.13,2.28,2.53,0.25,2.28,1.5,3.41,4.94,1,0.37,1.28-0.12,1.12-1.25,0.88-1.28,1.03-1.75,1.25-1.66,1.28,0.88,1.5,1.28h2.41l2.03-0.91,0.5-1.75,0.25-1.91,0.87-0.75,0.88-1,0.78-0.5,2.5,2.75h3.69l0.87-1,0.5-1.5,0.25-1.65,0.88-1.25,4.69-0.38,2.15-0.78,0.63-1.5-0.63-0.62-0.12-1.41,1.12-1.38,0.75-1.03v-1.37l-0.5-0.88-0.62-1.03,0.25-1.75,1-1.53,2.03-1.5,3.15-0.5,1.88-1.91,2.28-1.62,2.28-1.66,2.28-1.65,0.88-0.75,0.5-1.25,1-1.78s0.9-1.12,1.53-1.75c0.63-0.64,1.62-1.91,1.62-1.91l1.16-1.37,0.25-1.66-2.41-0.38-2.65-0.75-2.66-1.65-2.75-1.38-2.66-1.28-2.53,0.66-3.15,0.12-3.66-0.9-2.9-1.63-1.63,0.85-0.41-0.22-1.9-1.25-1.38-2.03-1.12-1.13-2.28-0.78-0.13-1.63-1.12-1.28-1.41-1.5-1.91-0.5-2.62-0.25-2.41-0.78z",name:"Perm Krai"},sv:{path:"m286.13,291.72,1.7678-1.1364,1.1364,1.389,0.88388,2.3991,2.6516,1.5152,2.9042,2.1466,1.2627,2.3991,2.2728,2.7779,0.12627,1.7678,0.63135,2.0203,0.75761,1.5152-0.63134,1.7678-1.894,1.894-0.63135,1.7678-0.25253,4.7982,0.3788,2.7779,0.63135,1.0102-1.0102,2.9042-1.5152,1.7678-0.37881,2.3991,2.0203,1.2627,2.3991,2.0203,0.75761,2.0203,0.12627,2.6516-0.63134,1.6415,0,2.9042,0.75761,2.3991-0.25254,1.894s-0.88388,0.88388-0.88388,1.389c0,0.50508-0.50508,2.7779-0.50508,2.7779l-1.2627,1.2627-2.0203,0.12627-1.1364,0.88388h-3.0304l-1.5152-0.88388-2.1466,0.25254-1.389,1.1364-0.88388,1.389-0.25254,2.9042-0.75761,1.1364-1.1364,1.0102-1.7678,0.50508-3.0305,0.25254-2.0203,0.25254-1.0102,0.88388-1.894-0.37881-1.389-1.1364-1.894-1.894-2.5254-1.6415-1.5152-0.63135-2.2728,0.37881-1.894,0.3788-1.389-0.12626-1.6415-1.389-1.894-2.2728h-2.2728c-0.50508,0-1.6415-0.75761-1.6415-0.75761l-4.672-3.1567-1.6415-1.7678-2.9042-0.3788-1.389,0.12627-0.88389,0.12627-1.2627-1.2627-3.9143-3.283-3.1567-3.0305-0.50507-1.389,2.0203-2.9042,1.389-2.7779,0.75762-0.25253,1.6415,1.1364,1.1364,0.75761h2.7779l1.5152-1.389,0.50507-1.7678,0.12627-1.7678,2.5254-1.7678,1.7678,2.0203,1.2627,0.63134h2.3991l1.6415-1.1364,0.75761-2.0203,0.50508-1.894,3.7881-0.75762,2.5254-0.3788,1.389-1.2627v-1.0102l-0.88388-1.389,1.7678-2.1466,0.25254-1.1364v-1.389l-1.0102-1.6415,1.0102-2.5254,2.1466-1.6415,3.283-0.88388,1.1364-0.75762,8.0812-6.1872,0.88388-1.6415,1.6415-2.7779,2.1466-2.5254z",name:"Sverdlovsk Oblast"},ku:{path:"m255.69,383.01,2.3991,1.894,3.283,0.88388,4.2932,1.2627,3.1567,0.75762,4.1669-0.50508,2.5254,0.25254,2.9042,1.0102,3.5355,1.1364,3.5355,0.88388,3.283,1.0102,3.4093-0.12627,2.3991-1.2627,3.6618,0,1.0102-1.5152,0-1.894-1.5152-2.1466-1.389-2.7779s-1.5152-0.12627-2.1466-0.37881c-0.63135-0.25254-2.2728-1.6415-2.2728-1.6415l-0.75761-3.1567-1.389-1.7678-2.6516-1.2627-1.5152-1.6415-1.2627-2.2728-1.6415-1.5152-1.389-1.2627-1.0102-1.389,0.50508-2.3991,1.389-1.2627,1.1364-1.894-2.5254,0.37881-3.0305,0.12627-1.389,0.50507-0.75762,0.50508-1.2627-0.37881-2.0203-1.0102-1.7678-1.7678-2.0203-1.389-1.7678-0.75761h-1.2627l-3.0305,0.63134-1.7678-0.12627v1.1364l0.63135,0.88388-0.50508,2.2728v2.2728l-0.25253,2.1466-0.88389,1.1364-2.5254,1.1364-1.389,1.1364-1.5152,1.2627-1.7678,0.88388-0.50507,1.2627,0.63134,1.1364,1.894,1.894,1.389,1.389,0.63134,1.7678v1.894l-0.50507,1.7678z",name:"Kurgan Oblast"},ko:{path:"m224.63,259.27,2.1466-0.63134,0.63134-0.88388,1.894,0.12627,1.6415,1.894,2.1466,0.25254,2.1466-0.50508,1.5152-1.894,0.50508-1.5152-0.63135-0.88389,0.63135-1.5152,2.1466-1.2627,4.5457-1.894,2.6516-1.1364,0.25254-1.5152-0.50508-2.5254-2.1466-0.88389-3.283,0.12627-2.3991,1.6415-2.3991-0.75761s-0.50508-1.0102-1.2627-1.0102-1.5152-0.25253-1.5152-0.25253l0.50507-3.0305,1.7678-0.37881,1.389-1.5152,0.50508-1.894,2.1466-0.50508,2.2728,0.12627,0.63135-1.7678-0.63135-0.63134-0.63134-2.1466,0.63134-1.389,4.5457-2.0203v-1.2627l-1.0102-2.5254-0.63135-1.6415-1.6415-1.7678-0.63134-1.1364,0.25254-1.6415,1.2627-0.63134,1.7678,0.75761,1.5152,2.1466,1.6415,1.5152,2.2728,1.894,2.6516,1.2627,1.7678,1.1364,0.50508,1.7678,1.5152,1.5152,3.1567,0.3788,1.894,1.2627,2.9042,0.50507,0.88388,1.2627h2.0203l1.0102-0.63134-0.25254-1.5152-0.75761-1.5152,0.50507-1.0102,0.88389-1.5152s0.25253-1.1364-0.12627-1.6415c-0.37881-0.50508-1.1364-1.1364-1.1364-1.1364v-0.88388l2.7779-3.283,3.1567-2.1466,1.894-2.0203,1.0102-0.88388,2.3991,0.63134,3.4093,0.12627,2.5254,0.75762,4.2932,0.50507,2.1466,0.63135,3.283,0.12627,2.3991-0.50508,1.5152,0.12627,0.12627,1.894,1.2627,1.0102,2.1466,2.1466,5.3033,4.672,7.4499,4.672,6.4397,3.7881,5.177,3.0305,5.5558,3.283,2.7779,1.894,2.2728,0.25254h3.283l2.1466-1.0102,2.5254-2.3991,1.6415-1.2627,2.7779,0.25253,2.3991-0.12626,2.0203-0.63135,1.5152-0.88388,1.6415-0.37881,3.1567,0.12627,1.6415,0.25254-0.50508,1.5152-0.88388,1.1364-1.1364,0.63134-0.50508,1.894,1.2627,1.7678,1.2627,1.389,0.12627,1.894-1.1364,1.389-0.88388,0.25254-0.75762,1.389-2.0203,0.25254-2.3991-0.12627-2.1466,0.88388-2.5254,1.389-1.389,1.1364-3.0305-0.12627-2.1466-0.50507h-3.1567-2.0203l-1.0102,0.3788-1.389,1.5152-0.75762,0.88389-2.1466,1.6415-1.5152,0.50508h-2.3991l-2.3991-0.25254-1.5152,0.50508-2.9042,2.0203-2.2728,1.2627-1.5152,1.0102-1.5152,0.3788-1.2627-0.12626-1.2627-1.0102-0.12626-1.894-0.63135-1.389-1.6415,0.88388-1.5152,1.389-1.0102,1.2627-0.88388,0.50508-1.2627,0.50507-0.75762,0.37881-0.12627,1.7678-0.3788,1.7678-0.63135,1.389-0.88388,1.1364-1.0102,1.6415-1.894,1.6415-1.6415,1.389-1.2627,0.75762-2.7779,3.283-1.894,2.6516-1.1364,3.0305-0.50507,1.6415-1.5152,1.6415-2.0203,0.88388-1.5152,0.63134-1.7678,1.0102h-2.2728l-3.1567-1.0102-3.1567-1.6415-4.4194-2.1466-0.75761-0.3788-2.5254,0.50507h-3.283l-3.0305-0.88388-2.9042-1.389-1.0102,0.25254-1.6415-0.12627-1.5152-1.2627-2.2728-2.3991-1.894-0.88388-0.63135-1.5152-2.2728-3.0305-5.8084-1.1364-1.389-0.63134-1.7678,0.63134-0.75761,0.75762v0.75761l0.37881,0.88389v1.6415,1.0102l-0.50508,0.3788-1.389-0.63134-0.88388-0.37881-1.1364,0.25254-1.5152,0.88388-1.5152,0.50508-1.1364-0.25254-0.88389-1.389-0.88388-0.63135-2.2728-0.88388-6.0609-1.1364-1.2627,0.25254-1.1364,1.1364-0.63135,1.5152-1.1364,0.37881-1.6415-1.389v-1.1364l1.0102-1.389,0.50507-0.75761-0.50507-1.0102-1.1364-1.0102-1.1364-1.0102-0.3788-0.75761,1.5152-1.2627,1.1364-2.5254,1.6415-1.0102,1.6415-0.3788,1.894-1.2627,0.88388-2.3991,1.2627-1.2627z",name:"Komi Republic"},mu:{path:"m217.31,136.92,1.1364-1.5152,1.5152-0.75761,2.9042,0,4.2932,0.12626,2.1466-0.50507,2.5254-1.6415,0.88388-2.0203,0.12627-3.5355,1.5152-3.4093,1.0102-1.0102,4.7982,0,2.3991-0.63134,1.0102-1.2627,1.7678-0.12627,2.3991,1.0102,3.0305,1.894,2.2728,1.894,2.6516,0,2.2728-0.25253,0.25254,2.3991,1.894,0.3788,1.7678,1.0102,0,2.2728,0,1.7678-1.0102,0.63134-1.5152-0.3788-0.75761-1.1364-0.25254-0.63134-0.88388,1.0102-0.25254,0.63135,0.50508,1.1364,1.1364,0.88388,0.50507,0.75762-0.3788,1.0102-1.0102,0.63134,0,0.75762,1.1364,1.2627,0.88388,1.5152,0.88388,1.7678,2.0203,2.1466,0.75761,1.7678,0,1.7678,0,1.1364-0.50507,1.1364-0.25254,2.0203-0.12627,5.5558,0,5.5558-0.75762,1.389-0.25253,1.894,0.63134,0.88389,0.63135,1.0102-0.12627,4.0406,0,3.5355-0.63135,1.389-1.7678,1.1364-0.88389,0.88388,0,1.0102-0.25254,0.88389-1.1364,0.88388-2.7779,0.75761-3.6618,0.12627-3.1567,0.50508-1.6415,0.37881-2.5254-0.50508-2.0203-0.75761-1.894-1.389-1.894-2.2728-1.7678-2.2728-1.1364-1.894-0.63135-2.2728-0.3788-2.3991-1.2627-2.6516-1.1364-2.0203-0.3788-1.6415-0.37881-3.9143,0-1.7678,0-1.389-0.88388-0.88389-0.12627-2.9042,0-2.1466,0.75761-1.5152,0.12627-1.1364,0-1.5152-0.88388,0-0.63135,0.88388-0.88388,1.389-0.75762,1.894-0.25253,0.63135-3.5355,0-2.6516-0.25254-0.75761-1.5152,1.389-2.0203,1.1364-0.75761,0.25254-1.0102-1.7678-2.2728-1.5152-1.7678-1.2627-2.7779-1.2627-1.2627z",name:"Murmansk Oblast"},kl:{path:"M216.94,136.91l-2.28,1.53,0.12,1.62-1,2.28-1.9,2.04-1.88,0.87-4.31-0.13-0.88,1-2.28,2.16h-2.91l-2.4,0.38-0.13,4.03-0.62,1.9-2.91,0.38-1.87,0.25,0.12,1.4,0.88,1.5-1.78,1.29-1.25,0.5-3.41-0.91-1.66,1.16-0.37,2.9-0.13,4.16-1.25,2.28-2.65,1.62-3.41,1.16-8.72-0.12-3.53-0.91-5.19-0.75-4.28-0.75,0.88,1.87-0.13,1.54,0.07,0.53-0.94,5.65-2.53,1.5-2.03,3.32-2.91,1.87-0.13,1.66,2.66,1.25,1.91,0.75,1,2.4,2.9,0.25,5.07-0.75,1.65-0.9,2.25,0.53,1.78,1.37,1.38-1.62,1.12-0.78,1.78,4.69,1.5,0.62,2.91,1.53,0.06,0.69-0.12,2.69,0.06,1.78-1.63,1.53,1,1.12,2.29,0.5,1.75-0.62,2.53-1,0.62-0.5,1.91,1.5,1,1.9,1.03,1.88,3.16,0.25,3.28-3.03,0.75-1.5,1.25-1.38,2.4-1.28,2.03-1.75,0.5-1.15-0.37-1.25-1.91-0.63-1-1.03,0.13-1.63,1.37-2.4,1.78-1.91,1.66-1.87,1.25-2.16,1.38,0.25,1.78,1.53h1.9l0.88-0.53,0.12-2,1.5-2.03,0.25-1.75-0.25-3.16-0.5-1.53,0.63-1.78,1.4-0.87,1.38-0.63,3.03-2.53,0.5-1.13,0.53-1.28h1.38l3.4-0.62,2.16-1,1.5-1.28v-1.88-3.4l0.25-2.54,1.03-0.87v-1.16l-0.12-2-0.78-1.15-2-0.38-1.41-0.37-0.63-0.88v-0.75l0.63-1.15,1.28-1,0.75-0.63-0.38-1.03-1.65-2.37-1.88-2.29-1.4-2.15-1.75-2.53z",name:"Republic of Karelia"},vo:{path:"m185.36,208.76c0.12627,2.5254-1.389,5.0508-1.389,5.0508l-1.5152,1.894s-0.3788,1.0102-0.3788,1.7678c0,0.75762,0.12626,1.389,0.12626,1.389s0.63135,1.389,1.894,2.1466c1.2627,0.75761,2.0203,2.7779,2.0203,2.7779l1.0102,1.894,1.5152,1.2627,1.2627,1.0102,1.1364,1.894,1.2627,0.37881,3.1567,0.50508,1.5152,2.2728,1.0102,1.894,1.7678,0.63135,0.25254,0.63135,1.0102,2.2728,1.2627,0.75761,2.6516,0.25254,1.5152,0.12627,0.50507,2.7779,1.2627,2.0203,2.7779,1.389,1.389,0.12627,1.0102-0.63134,1.389,0.12627,1.0102,0.50507,0.75761,1.0102-0.63134,1.5152-0.75762,1.389,0.25254,0.75762,1.2627,1.1364,0.75761,0.50508,1.0102,0.50507,0.3788,0.63135v1.0102l-1.5152,1.5152-2.0203,0.63135-2.0203,0.75761-4.2931-0.25254-1.2627,0.88389,0.25253,1.1364,0.88389,1.2627v2.6516,1.1364l-1.0102,1.1364-0.75761-0.63134-1.1364-1.0102-0.37881-1.5152-1.0102-0.12626-1.6415,1.0102-1.0102,1.0102h-1.7678l-3.0305-1.5152-2.1466-2.1466-2.0203-1.1364-1.894-1.6415-2.0203-2.7779v-1.894l-1.894-2.7779-2.5254-2.2728-1.5152-2.0203-1.2627-1.7678-0.63135,0.75761-1.6415,0.12627-1.6415-0.25254-2.2728-1.894-0.88388-0.50508-1.2627,0.63135-2.7779,1.7678-0.63135,0.37881-1.2627,0.12627-0.88388-0.50508-0.50508-1.2627-0.63134-1.894,0.25254-4.0406-0.50508-2.5254-0.50508-1.2627-1.2627,0.12627-1.2627,0.37881-0.88388-0.25254-1.389-1.2627-1.6415-1.7678-4.0406-1.0102-1.2627-1.1364-0.50508-1.0102,0.63135-2.0203-0.50508-0.88388-1.0102-0.75761-1.1364-0.63135-1.894-0.37881-0.25254-0.12627,0.50508-2.7779-0.50508-1.6415-0.63134-1.2627-0.88388-0.88389-0.37881-0.50507-0.12627-1.0102-0.25254-1.5152,0.63135-0.88388,0.75761-0.88388,1.389-0.25254h1.6415l0.88388,1.2627,1.0102,0.88388,1.1364-0.50507,0.25253-1.1364,1.2627-0.25254,1.1364-0.63135,0.75761-1.1364,0.12627-1.5152,3.283-3.6618,1.2627-0.88388h1.7678l2.0203-0.37881,1.389-0.75762,0.88388-0.63134h1.1364l1.5152,0.88388h1.2627l0.88389,0.75762,0.50507,0.88388,1.389,0.63134h1.1364l1.389-0.3788,1.5152-0.50508,1.1364-0.37881,0.63135-0.25253,0.88388,0.12627,1.0102,0.88388,1.2627,1.6415,0.50507,1.2627z",name:"Vologda Oblast"},ar:{path:"M391.06,151.03l-3.56,1.06-2.16,0.91-3.56,0.19-1.59,0.87s-1.26-1.07-1.97-1.25c-0.72-0.18-0.91,1.1-0.91,1.1l-1.78,2.65-2.69,1.63-3.03,0.87-2.31,1.78s-2.15,0.37-3.22,0.72c-1.07,0.36-2.5,0.19-2.5,0.19l-1.59,0.72,1.06,1.78-2.16,1.25,0.38,0.72,1.25,1.44,1.78,1.59,1.78,1.78,0.91,1.63,1.4-0.72,0.91-1.97,2.16-0.72,1.25-0.53,1.93-0.19,0.91-1.59h1.97l1.25,0.87,1.59-1.25,1.1-1.25,2.65-0.15,0.72-0.57,3.41,0.72,1.78-1.06,0.34-1.44,2.69-0.34s1.07-0.01,2.5-1.44l0.72,1.06,2.84-0.68s1.98-0.19,2.69-0.19,3.03-0.38,3.03-0.38h2.31l2.35,1.25,1.78,0.91,1.25-0.72,0.72-0.87,4.28,1.06,1.97-1.44,3.22,0.19,4.09-0.72,1.25-1.59,1.97-2.88s-1.26-0.89-1.97-1.25-2.69-1.44-2.69-1.44l-3.22,0.57-4.43,1.59-4.32-0.91-2.5-0.15-3.18-0.72-1.63-0.91-1.59-1.78-1.44,0.72-1.97,1.06-2.5-0.15-3.22-0.91-2.5-0.72zm-35.53,14.47l-2.5,0.53-1.78,1.63-2.5-0.38s-1.44-1.06-1.44-0.34v1.78l0.72,1.59-2.12,1.25-2.88,1.1-1.06,1.25h-2.16l-0.72-1.1-1.59-0.87-2.69,2.12-0.15,3.03,1.93,2.69,1.44,2.16s1.26,2.14,0.91,3.03c-0.36,0.89-4.28,2.5-4.28,2.5l1.06,2.5,1.25,1.59v1.97l2.31,0.53,2.88,1.97,2.12,2.31,1.97,0.38s1.06-1.07,1.06-1.78c0-0.72-0.15-4.48-0.15-5.38,0-0.89,1.59-8.37,1.59-8.37l0.34-1.44,4.13-2.69s0.88-1.07,2.31-1.97c1.43-0.89,4.66-3.03,4.66-3.03l1.78-1.4s0.71-1.64,0-1.82c-0.72-0.17-1.62-0.53-2.16-1.25-0.53-0.71-3.03-2.65-3.03-2.65l-1.25-1.44zm-132.28,14.34l-0.63,0.63-2.28,0.25-0.87-0.13-1.78,0.91v1.38l-0.63,1.65-1.15,0.75-0.13,1.38,0.91,0.78,0.87,0.87-0.12,1.25-1.25,1.28-1.66,1.5-1.65,0.13-1.38-1-0.62-1.53-1.41-2-1.25-1.03-2.03,0.53h-1l-2.41-1.66-1,0.38-1.66,2.15-1.37,2-1.66,1.78-1.25,2.66,0.38,1,1,1.28,1.78,0.25,0.12,1-0.12,1-2.78,2.41-2.16,0.87-1.87,3.03-2.53,2.53-2.91,0.5-1.13,0.13-0.5,0.91-0.28,1.87-0.87,2.16-1.75,2.03-0.13,1.87,1.25,2.79,1.5,1.28,2.04,3.53,3.78,4.15,1.28,0.75,3.15,0.38,0.38,0.65,1.37,1.38,1.66,2.53,1.38,0.5,0.5,1.66,0.9,1.5,3.28,0.5,1.63,0.25,0.78,1.4,0.37,2.13,0.75,1.15,2.41,0.88,1.5,0.75,1.28-0.5,1.13-0.25,1.37,0.75,0.91,1.66-1.03,1.25-0.13,1.53,0.66,1,1.25,0.75,1,1.03,1.03,0.62,0.75-0.37,1.25-0.25,1.41,0.5,1,1.37,0.5,0.91,0.24,2,0.26,1.03h0.65l0.88-0.16,0.87-0.5,0.63-0.37h1.03l0.75,0.75,0.62,0.91,0.88,0.25,1.4,0.25,1.88-0.5,1.41-0.5,1.37-1.79v-0.87l-0.37-0.66-0.26-0.5,0.26-1,0.5-0.5,2.78-1.28,2.4-1,1.66-1.12,1.87-0.78,0.5-0.75,0.13-1.38-0.75-1.53-1.13-0.87-2.15-0.13h-1.5l-1.53,0.5-1,0.75h-1.28l-0.63-0.12-1-1.13-1.53-0.37-0.75-0.38,0.25-1.53v-1.13l1.66-0.5,0.74-0.78,0.76-0.87,0.62-1.63,0.53-0.37,1.5-0.53,1.78,0.25,1-0.5-0.12-1.38-0.5-0.87-0.5-1.66,0.25-0.88,0.87-0.62,1-0.53,1.41-0.63,1.37-0.75,0.38-0.75v-0.5l-0.88-1.9-0.75-1.41-0.9-1.62-1-0.75-0.63-1.28,0.38-1.88,0.62-0.5h1.28l0.88,0.38,1,0.87,1.41,2.16,2.65,2.37,1,0.91s1.65,0.49,2.28,0.75c0.63,0.25,1.38,1,1.38,1l0.5,0.62,0.37,1.03,0.53,1,1,0.63,1.38,0.37h1.41l1.12,0.53,0.88,0.88,2.03,0.5h1.37l0.28,0.88,1,0.53,1,0.25,0.88-0.54,0.78-0.74-0.13-1.26-1.03-1.03,0.38-0.87,0.78-1,0.37-1.53-0.25-1-1.15-0.75-0.13-1.28,0.91-0.88,3.15-3.28,1.88-1.12,1.91-1.79,0.25-1.25-0.63-0.5-1.65-0.9-1.63-1-2.16-0.25-1.25,0.62h-1.4l-1.5-1.12-1.03-1.78-0.75-1.75-1.5-3.16-1.41-2.28-0.75-1.41-0.88-2.25-0.12-1.15-2.41,0.25-0.75-0.63-1.53-1.12s0.25-0.5,0.88-0.5,1.02-0.41,1.53-0.66c0.5-0.25,0.25-0.87,0.25-0.87s-0.37-1-0.88-1.76c-0.5-0.75-0.77-0.77-1.28-1.15-0.5-0.38-0.75-1.75-0.75-1.75l-1.25-0.41-2.03-0.5-1.66,0.13-1.5,0.53-1.9,0.12-0.88-0.65-1.62-1-2.03-0.13h-2.78-2.53l-1.63,0.75-0.91,0.75-0.37,1.66-1.13,1.37-1.12,2.04-1.28,0.87h-2.41c-0.63,0-1.75-1-1.75-1l-1.03-1c-0.51-0.51,0-2.03,0-2.03s0.13-1.53,0-2.16-1.5-1-1.5-1l-2.03-0.87s1.65-0.78,2.16-1.16c0.5-0.38,0.37-1,0.37-1v-2.28c0-0.63-0.25-2-0.25-2l-0.75-1.91zm110.16,1l-0.19,1.1,0.53,1.78,1.44,0.72,0.53-0.72v-1.63l-0.38-1.25h-1.93zm-28.22,6.19l-2.35,0.78-1.4,2.07-2.88,1.43-0.25,1.07,1.78,1.43,2.13,0.97,3.22-0.44,3.5-0.9,0.25-1.6-0.78-1.96-1.1-1.88-2.12-0.97z",name:"Arkhangelsk Oblast"},tu:{path:"m299.02,389.7,2.0536,0.80357,2.1428,1.1607,1.6072,1.3393,1.6071,1.5179,1.7857,0.71428,2.3214,0.17858,0.89286-1.0714,1.6071-1.875,0.53572-2.3214,0.625-2.1429,2.2321-1.7857,1.875-0.44643,1.25-2.5,1.6964-1.0714,2.9464,0.26786,1.6071-1.6072s0.625-2.3214,0.53571-2.6786c-0.0893-0.35714-0.80357-2.5893-0.80357-2.5893l-0.89285-1.875-0.625-3.3036-0.71429-2.2322v-1.7857l1.5179-1.9643,2.2321-2.5,1.4286-1.4286,3.125-0.26786,0.35714,1.4286-0.89285,1.6071-1.6964,1.6964-0.17857,1.25,2.5,0.35714,4.0178,0.35714,1.9643,1.6072,3.0357,1.7857,1.5179-1.25,2.9464-0.17857,2.1429,1.4286,3.3928,1.0714s2.5-0.98214,2.9464-1.1607c0.44643-0.17857,3.5714-0.44642,3.5714-0.44642l0.89286-0.98215-0.53572-1.0714-1.6964-1.25-2.9464-2.2321-1.0714-1.4286s-1.6964-0.44643-2.3214-0.44643-2.6786-0.80357-2.6786-0.80357l-0.17857-2.6786-0.26786-2.4107-1.3393-1.3393-0.44642-2.2321-0.53572-3.5714-0.35714-0.89286-2.4107-2.7679-1.1607-0.71428s-2.6786-0.26786-2.9464-0.26786h-5.0893l-0.98215-0.26786s-0.625-1.5178-0.625-1.875c0-0.35714-0.98214-1.5178-0.98214-1.5178l-1.875-0.35715-1.25,1.25-2.4107,1.875-2.1429,0.89286h-3.0357l-4.6428,0.0893-2.9464,0.26785s-1.4286,0.53572-1.7857,0.625c-0.35714,0.0893-4.375,0.0893-4.375,0.0893l-3.0357-0.0893-1.4286,0.35715-0.89286,1.5178-0.53571,2.3214-0.89286,1.3393-2.3214,0.71428-1.6071,0.53572-1.5179,0.35714-1.7857-0.17857-1.3393-0.625-1.4286,0.17857c-0.35714,0.17857-1.6964,1.0714-1.6964,1.0714l-1.1607,2.1429-0.35715,2.4107-1.6071,2.3214-2.1429,2.5893-0.98214,1.5179,0.26786,1.25,0.71428,1.3393,1.5179,1.25,1.25,1.6071,1.6964,1.875,1.0714,1.6964s3.0357,0.98214,3.0357,1.5179c0,0.53571,1.6964,2.9464,1.6964,2.9464l0.625,1.875,1.6071,1.4286,1.875,0.71428,1.0714,0.80357,1.4286,2.3214,1.0714,1.4286v1.6072z",name:"Tyumen Oblast"},ne:{path:"m260.27,198.54,1.6071-0.89286,1.4286-1.1607,2.0536-1.0714,1.1607-1.25,0.625-3.3929,1.1607-1.6071s1.4286-0.80358,2.4107-1.0714c0.98215-0.26786,2.3214-0.26786,2.6786-0.26786,0.35714,0,1.5178-0.98214,2.0536-1.5179,0.53571-0.53571,3.0357-2.5,3.0357-2.5l0.71429-1.0714v-2.2321l1.25-1.9643s0.89285,0.17857,0.98214,0.625c0.0893,0.44642,0.26786,1.5178,0.625,1.6964,0.35714,0.17858,1.875,1.4286,1.875,1.4286l1.6964,1.1607,0.98214,0.89286-0.0893,1.3393-0.625,1.4286-0.44643,1.7857v1.6964l-0.26786,1.0714-0.44643,0.80357-0.26786,1.25-1.25,0.71428-1.3393-0.625-1.25-0.98214-0.625-0.80357-2.3214-0.53572h-3.0357c-0.44643,0-2.1429,1.1607-2.1429,1.1607l-0.80357,1.4286,0.17857,1.0714s0.53571,0.89286,0.625,1.25c0.0893,0.35714-0.71429,1.1607-0.71429,1.1607l-0.89285,1.6072s-0.26786,1.1607-0.0893,1.4286c0.17857,0.26785,0.625,0.80357,1.1607,1.25,0.53572,0.44643,1.875,1.5178,2.1429,1.6964,0.26786,0.17857,1.875,0.89285,1.875,0.89285s2.3214,0.17857,2.8571,0.17857c0.53572,0,1.9643-0.26785,1.9643-0.26785s1.5179-0.98215,1.875-1.1607c0.35714-0.17857,1.9643-1.1607,1.9643-1.1607s1.0714-0.44643,1.4286-0.35714c0.35714,0.0893,1.3393,0.98214,1.3393,0.98214l2.3214,0.17857s0.35714-0.44643,0.71429-0.80357c0.35714-0.35714,0.53571-0.71429,0.98214-0.35714,0.44643,0.35714,1.875,1.3393,1.875,1.3393l1.7857,0.44643h5.0893l2.5893,0.0893s0.80357,0.80357,1.25,0.89285c0.44642,0.0893,3.3928,0.53572,3.3928,0.53572l1.5179,1.4286,0.71429,1.9643,1.1607,0.17858,0.71429-1.5179,0.89285-1.0714,1.875-0.17857,0.89286,0.53571,2.1429,0.17857,2.5893,0.44643-0.44643,0.80357-0.98214,0.80358-1.6964,0.625-0.80357,0.98214-0.71428,0.98214-1.6964,0.71429-0.26786,1.0714,1.3393,0.98214,1.25,0.53571,0.625,2.0536,0.71428,0.35715,1.6964-0.80357s1.3393-0.89286,1.6071-0.89286c0.26786,0,3.3036,0.53571,3.3036,0.53571l2.6786,1.3393,1.5178,1.3393,1.4286,0.89286,4.4643,0.17857,0.71429,0.71429,1.5178-0.26786,2.5893-0.35714,1.7857-1.3393,0.625-1.7857s0.53572,0.625,0.53572,1.1607c0,0.53572-1.6964,2.7679-1.6964,2.7679l-0.71429,1.7857v1.0714l-1.1607,1.1607-0.89286,0.625-0.44643,0.98214,0.44643,0.80357h1.4286l0.80357-1.6071,0.17858-0.53572,1.5178-0.0893,1.5179,1.25,2.3214,0.35714,1.1607-0.89286,1.3393-1.1607,0.53571-0.89286-0.71428-1.0714-0.35715-1.4286,1.5179-1.1607,0.71429-1.875-0.53572-1.6964-1.25-0.80357-0.71428-3.3929-0.26786-3.125s-0.26786-0.89286,0.0893-1.25c0.35714-0.35714,2.2321-1.6964,2.2321-1.6964l1.3393,0.17857,1.1607,1.4286,1.0714,1.9643,0.35714,2.1429-0.89286,3.3036,0.89286,1.0714,2.8571,2.4107,2.7679,2.8572,3.3929,2.5893,2.1428,3.3036,1.6964,3.3929,0.80357,1.875,0.17858,1.6071-1.0714,1.1607-0.98215,2.0536-0.98214,1.5179h-2.5c-0.44643,0-3.6607-0.17858-3.6607-0.17858l-2.1429,0.98215-2.7679,0.71428h-3.0357l-1.7857-0.17857-2.4107,1.875-3.0357,2.4107-1.6072,0.53571-2.7678-0.0893-2.0536-0.53571-4.2857-2.4107-23.036-13.929-7.6786-6.875-1.25-1.1607v-1.3393l-0.98214-0.625-2.4107,0.625-5.0893-0.44642-5.625-0.98215-5.1786-0.80357-3.125-0.26786-4.1071-2.3214-2.0536-0.44643-1.7857,0.625-1.7857-0.26786-1.5179-1.7857-4.2857-8.4822-0.98215-2.4107z",name:"Nenets Autonomous Okrug"},om:{path:"m358.39,368.89,0.71428,2.5-1.25,1.6071-1.25,1.9643,0.53572,1.6071,0.71428,1.9643-1.25,1.9643s-1.0714,1.25-1.0714,2.1429c0,0.89286,0.17857,3.0357,0.17857,3.0357l1.7857,1.6072,0.35714,2.3214-0.53571,3.3929-1.9643,0.89286-1.25,1.6071,0.71429,2.3214-0.35715,1.9643-3.9286,0.17857s-1.4286-0.89286-2.3214-1.0714c-0.89285-0.17857-3.3928,2.8571-3.3928,2.8571l-2.5,2.1429-0.89286,4.2857,0.53571,0.89286,1.9643,2.1429,0.35714,2.6786-1.6071,2.6786-1.0714,1.7857-0.17857,3.0357-2.5,2.1429s-2.3214,1.0714-3.0357,1.0714h-4.8214l-1.6072-0.71428c-2.1428,1.4286-3.75,0-3.75,0l-1.6071-0.71429-1.9643-0.35714h-1.0714l0.35714-1.7857,1.7857-1.0714,0.71429-1.4286-2.3214-1.25-2.1429-2.3214-1.9643,0.89285-0.89286-0.71428v-3.75l-1.4286-0.89286-2.8571,0.35714-2.8572-0.89285-0.89285-0.53572-0.17857-2.1428,2.1428-2.6786,0.71429-2.3214,0.35714-2.6786v-4.1071l0.71429-2.1429,1.4286-3.9286,1.6071-2.5,2.3214-0.53571,1.0714-1.25,1.0714-1.7857,1.6071-0.89285h2.6786l1.6071-1.4286,0.89286-3.9286-1.4286-3.2143-0.71429-3.0357-1.25-3.3928,0.35715-1.6072,4.4643-4.6428,1.0714-0.89286h2.6786l0.17857,1.6071-1.25,1.6072-1.7857,1.25-0.17857,1.4286,1.4286,0.35714,3.2143,0.35714,2.3214,0.17857,2.1429,1.4286,1.9643,1.4286,1.0714,0.35714,1.0714-0.71429,1.9643-0.35714,2.3214,0.35714,3.5714,1.6072h2.5l2.1428-1.0714h2.1429z",name:"Omsk Oblast"},ht:{path:"m329.64,260.32,0,3.75-0.53572,3.2143-1.6071,2.3214-2.3214,2.3214-0.89286,1.25,1.9643,1.9643,1.7857,2.3214,5,1.9643,4.8214,0.17857,3.5714,1.4286,2.3214,2.6786,0,1.4286-2.1429,1.7857,1.4286,1.4286,2.3214,2.8572,1.9643,1.0714,2.1428-1.0714,1.7857-0.89286s1.6071,0.71429,1.9643,0c0.35715-0.71429,0.89286-2.1429,0.89286-2.1429l1.6071,2.1429,1.4286,2.8571,1.9643,1.6072s0.35714,2.1428,0.35714,2.8571v4.6429l1.9643,3.3928s0.35714,0.17857,0.71429,0.89286c0.35714,0.71429,0,2.1429,0,2.1429l1.0714,1.25,2.5,0.53571,3.75,0.71429,1.4286,0.89285s2.8571,2.1429,3.5714,2.6786c0.71429,0.53571,1.25,1.6071,2.1429,1.9643,0.89286,0.35714,3.5714,0.53572,3.5714,0.53572l2.8571,0.35714,0.89286,1.0714s0.35714,1.6071,0.71428,2.6786c0.35715,1.0714,1.4286,1.7857,1.4286,1.7857l3.0357,0.17857,1.7857,0.53572,0.35715,1.9643,0.35714,1.4286,1.0714,2.5c1.9643,0.17857,2.5,0.17857,3.5714,0.17857s3.3928,1.0714,3.3928,1.0714l1.9643,0.71428,2.8571,0.35714,2.8572-1.0714,3.2143-1.9643,3.0357,0.53571,1.9643,2.6786s0.35714,1.7857,1.0714,2.1428c0.71429,0.35715,2.8571,0.53572,2.8571,0.53572l2.3214,1.6071,0.71429,2.3214,1.9643,0.71428,2.6786-0.89285,1.9643,1.6071,1.0714,3.0357v2.3214l-0.35714,1.6072-0.53572,1.9643,3.0357,1.9643,2.5,1.7857,0.35714,2.3214v1.0714l-3.75,1.7857-2.6786,0.53572-3.2143,0.17857-3,0.15-1.61-1.07-1.7857-0.71428-2.3214,0.35714-2.3214,1.6071-2.6786,1.0714-2.1429-1.9643s-2.8571-0.35714-3.5714-0.35714c-0.71429,0-2.3214-1.7857-2.3214-1.7857l-0.89286-1.25-3.9286,0.17857h-3.5714l-1.6071-2.5s-1.25-0.89286-2.1429-0.89286c-0.89286,0-4.4643-1.25-4.4643-1.25l-2.5-2.3214h-1.25c-0.71428,0-2.3214,1.25-2.3214,1.25l-2.5,2.1429-1.7857,2.6786-2.8571,2.5-1.6071,3.3929-4.4643,1.6071-3.5714,0.89286-0.35714,2.1429-0.71429,2.1428-2.6786,1.25h-2.8571l-5.8929-5.5357-3.9286-0.89286-1.0714-1.4286-0.53571-4.1071-1.0714-1.25-1.0714-5.3572-0.53571-1.7857-3.5714-3.2143h-5.5357l-3.0357-0.35714-1.9643-2.8571-1.6071-0.53572-4.4643,3.0357-3.3929,0.71428h-5.1786l-5,0.71429-4.2857,0.53571h-3.5714l-1.4286-0.17857-0.53571-2.8571-0.35714-3.2143,0.89285-3.2143-0.89285-3.2143-2.3214-2.1428-1.0714-0.89286-1.0714-1.0714,1.25-2.6786,1.4286-2.3214-0.17857-2.1429-0.71429-3.2143,0.71429-5.5357,1.4286-1.7857,1.4286-2.1429-0.71428-2.3214-1.0714-3.5714-1.9643-2.6786-2.3214-3.3928-3.3928-2.1429-1.7857-1.9643-1.0714-2.6786,3.3929-2.1429,1.6071-2.6786,2.3214-4.8214,2.1429-2.6786,2.5-1.9643,3.5714-3.3929,1.6071-1.7857,1.7857-3.3929-0.17858-1.7857,0.89286-1.0714,2.1429-1.0714,1.4286-1.9643,1.6071-1.0714,1.25,0.17857,0.89286,2.3214,0.35714,1.0714,1.4286,0.35714,2.5-0.71428,3.0357-1.6071,1.4286-1.25,1.25-1.0714,2.5-0.53572z",name:"KhantyMansi Autonomous Okrug"},ya:{path:"m366.25,234.25,1.4286,2.6786,1.6071,1.7857,1.6072,2.6786,1.0714,3.0357,0.89286,2.8572,3.0357,0.17857,1.7857-1.6072,1.4286-1.25-0.53571-3.2143s-0.89286-1.4286-0.53572-2.3214c0.35715-0.89286,1.7857-2.5,1.7857-2.5v-2.3214l-2.1429-1.6071-1.25-2.5s0.71429-1.6071,1.4286-1.9643c0.71429-0.35714,3.75-2.3214,3.75-2.3214s1.6071-3.75,1.9643-4.4643c0.35714-0.71429,0.35714-4.8214,0.35714-4.8214l0.89286-1.4286,7.5-2.1429,4.8214-3.5714,5.7143-6.0714,3.2143-2.1429,2.1428-0.71429,1.7857,2.3214,3.3928,0.35714,1.7857,1.25,1.0714,2.6786,0.17857,1.7857-0.89286,3.75-2.1429,2.6786-2.3214,2.8571-3.0357,1.6072-1.25,1.0714-0.35714,1.9643,1.0714,2.1429,0.17857,2.8571-0.89286,2.8571-2.1429,2.6786-1.7857,3.2143-2.6786,4.4643-1.25,3.5714-0.89286,2.1429-0.17857,2.5,0.35714,2.6786,0.71429,2.3214-0.71429,1.4286-3.0357,2.1429-1.0714,3.2143-0.89286,3.2143h-3.2143l-2.3214,1.25-2.1429,3.3929-3.5714,0.53571-2.3214,1.25-1.4286,1.4286h-3.5714l-1.4286-1.0714-1.0714-2.6786-0.71429,0.53572v1.6071l-1.9643-1.4286-0.71428-1.9643-1.0714,0.71429-0.17857,1.9643,1.7857,2.1428,2.5,2.1429,2.5,1.25,3.2143,1.0714,2.1429,1.25,2.1428-0.89286,3.5714-1.7857,3.0357-0.71429,3.75-1.0714,2.3214-3.0357,3.2143-2.6786,3.3929-1.6072,2.1428-1.7857-0.17857-2.1429-0.89286-2.3214-0.17857-1.7857,2.1429-2.1429,4.2857-0.89285h3.3929l1.4286,1.4286,1.25,3.0357v2.8571,3.0357l-1.6071,1.4286-1.25,2.5,0.17857,3.5714,1.7857,1.25,3.2143,0.71428,2.1429,2.8572,1.9643,3.2143,0.53572-0.71428-0.53572-4.1072-2.5-3.2143-3.75-1.0714v-2.8571l2.3214-3.0357s1.7857-0.35714,1.9643-1.0714c0.17857-0.71428,0.17857-3.5714,0.17857-3.5714l-0.89286-3.9286-2.6786-2.6786-2.6786-3.2143-0.89286-1.4286h-2.1428s-0.53572,1.25-1.4286,1.25c-0.89285,0-2.6786-1.25-2.6786-1.25l-1.6071-1.0714-0.53571-2.5,1.4286-3.75,2.3214-3.2143,2.1428-2.6786,3.0357-1.25,0.17857-4.4643-0.17857-3.0357v-3.0357l0.17857-2.3214,1.7857-2.3214,1.4286-1.4286,2.1429-0.35715,3.2143-0.53571,2.3214-2.5,1.7857-1.0714,1.25,2.1429-1.9643,2.3214-0.89285,1.4286-1.0714,4.4643-1.25,2.5,1.25,1.7857,2.6786,2.1429h2.8571l1.4286,2.1428,2.3214,2.5,1.7857,0.35715-1.4286-2.1429v-2.5s-1.25-1.25-1.9643-1.6071c-0.71429-0.35715-3.5714-2.8572-3.5714-2.8572l-1.25-3.5714-0.17857-1.4286s1.9643-0.71428,2.6786-0.71428c0.71429,0,3.2143,0.89285,3.2143,0.89285l0.89285,1.7857,1.6072,0.17857,1.25-0.71429-0.35715-1.9643,0.17858-1.9643,1.4286-0.35714,1.6071,0.71429,1.7857,1.4286,1.25,1.0714,0.89286,1.7857-0.35714,1.7857-2.3214,2.5-3.0357,1.25,1.0714,1.4286,2.6786,2.1428,0.35714,2.8572,0.17857,3.3928-0.71429,2.6786-2.5,1.4286-2.6786,1.4286-3.5714,1.7857-2.1428,2.1429,0.35714,2.6786,1.4286,2.5,1.25,2.5,1.6071,1.0714h3.3929,2.5l1.7857,1.6071,0.53571,3.0357,0.17857,3.3928v2.8572l-1.9643,3.2143-1.7857,2.5h-2.6786l-0.71429,0.53572,0.53572,1.9643,0.71428,1.7857-0.53571,2.5-0.89286,1.25,2.3214,3.3928,0.53572,1.7857,0.35714,1.7857-1.25,1.7857-1.0714,1.25,0.89286,2.1428-0.17857,2.5-1.6072,1.6072,1.6072,1.7857,2.1428,1.9643,1.6072,1.4286-0.17858,3.3928-1.4286,2.3214-0.17857,2.6786,2.3214,2.1429,4.6429,0.89286,0.89285,1.4286-1.4286,2.1429-0.53571,3.3928-0.89286,2.3214-2.6786,1.4286s-0.89286,0.53572-1.6071,1.0714c-0.71429,0.53572-1.7857,2.8572-1.7857,2.8572l1.9643,1.7857,0.17857,2.3214-1.4286,2.1429-1.25,2.5-2.6786,2.3214-2.8572,2.8572-0.89285-1.7857-1.6072-2.1428-1.7857-1.0714-1.9643,0.71428-1.9643-0.71428-0.71429-1.6072-1.25-1.25-2.5-0.89285-2.1428-0.89286-0.71429-1.6071-0.89286-1.7857-1.4286-1.4286-2.8571-0.17857-2.5,1.4286-2.5,1.0714-2.6786,0.17857-4.1072-1.6071-3.5714-0.35714-2.1429-0.17858-0.89286-1.9643-1.0714-2.3214v-1.4286l-3.3928-0.71429-2.3214-0.53571-0.89286-2.5-0.71429-2.3214s1.4286-0.17857-1.0714-0.35714-5.5357-1.0714-5.5357-1.0714l-1.4286-0.53572-3.2143-2.5-2.5-1.6071-2.8572-1.0714-3.2143-1.25-1.25-0.89285-0.17857-2.1429-2.8572-3.9286,0.17857-6.7857-1.25-1.7857-2.3214-2.8571-1.0714-2.1429-0.53572-0.53572-1.0714,1.25-0.53571,0.71429h-1.4286l-2.6786,0.89286-1.25,0.35714-1.6072-0.35714-2.1428-2.3214-1.7857-1.6071,0.53572-0.89286,1.4286-1.6071-0.35714-1.7857-2.5-2.3214-3.0357-1.4286-4.2857,0.35714-3.0357-1.25-2.6786-0.89285-3.3929-4.2857,2.3214-2.5,2.5-3.75,0.17857-5.3571,0.35715-1.4286,3.75-1.0714,2.6786-2.5,1.4286-1.4286h3.75,3.3929l3.9286,0.53571,1.7857-1.25,3.5714-1.6071,3.3929-0.53571,2.5-1.25,2.3214-1.25,0.35714-2.8572-2.1429-2.3214-0.71428-1.25,0.53571-1.6071,2.3214-1.4286,0.35714-1.25,1.92-2.87z",name:"Yamalo-Nenets Autonomous Okrug"},kr:{path:"M501.66,122.41c-0.45,0.04-1,0.37-1,0.37-0.9,0.72-1.25,0.77-0.94,1.13,0.31,0.35,0.19,0.55,0.9,0.78,0.72,0.22,0.91,0.49,1.44,0,0.54-0.49,0.77-1.24,0.41-1.69s-0.37-0.64-0.81-0.59zm11.56,0.65c-0.22,0.02-0.44,0.11-0.6,0.38-0.31,0.53-0.49,1.57-0.62,1.84s-0.2,0.74-0.78,0.88c-0.58,0.13-1.39,0.54-1.75,0.09s-1.03-1.51-1.25-1.69-1.04-0.74-1.13-0.03c-0.09,0.72,0.19,1.51,0.19,1.91s-0.18,0.99-0.4,1.12c-0.23,0.14-1.06,0.25-1.29,0.56-0.22,0.32-0.62,0.49-0.62,1.16s-0.27,1.67-0.31,1.94c-0.05,0.27-0.32,0.26-0.63,0.75s-1.09,1.87-1.09,1.87,0.89,0.62,1.15,0.85c0.27,0.22,0.42,0.77,0.38,1-0.05,0.22-0.13,1.05-0.53,1.19-0.4,0.13-1.43,0-1.78-0.13-0.36-0.13-1.01-0.48-1.5-0.44-0.49,0.05-1.01,0.23-1.19,0.63s-0.71,0.38-0.13,1.18c0.58,0.81,0.87,1.53,1,1.76,0.14,0.22,0.29,1.51,0.07,1.87-0.23,0.36-1,1.13-1.22,1.53-0.23,0.4-0.44,0.71-0.22,1.16,0.22,0.44,0.66,0.8,1.15,0.94,0.5,0.13,3.66,0.71,3.66,0.71s0.28-0.36,0.81-0.71c0.54-0.36,1.36-0.77,1.85-0.41s0.52,0.8,0.65,1.25c0.14,0.45,0.41,2.02,0.5,2.37,0.09,0.36,0.49,0.58,0.94,1.16s1.59,1.37,2.22,1.59c0.63,0.23,1.05,0.55,1.72,0.6,0.67,0.04,2.85,0.82,2.94,1.09s0.31,1,0.31,1,0.54,0.52,0.81,0.56c0.27,0.05,2.22,0.19,2.22,0.19,1.38-0.76,2.23-0.8,2.5-0.94,0.27-0.13,0.84-0.03,1.37-1.06,0.54-1.03,0.76-1.35,0.63-2.06-0.13-0.72-0.34-0.93-0.87-1.6-0.54-0.66-1.5-1.24-1.1-1.56,0.4-0.31,1.56-0.8,1.88-1.15,0.31-0.36,0.54-1.32,0.4-2.35-0.13-1.02-0.15-2.5-0.47-2.9-0.31-0.41-0.73-0.92-1.4-1.19s-1.23-0.67-1.81-0.53c-0.59,0.13-1.92,0.25-2.19,0.03s-0.62-0.83-0.85-1.5c-0.22-0.67-0.5-1.13-0.5-1.53s1.16-3.63,1.16-3.63,0.71-0.29,0.84-0.56c0.14-0.27,0.36-0.76,0.22-1.66-0.13-0.89-0.39-1.55-1.28-2.09s-2.09-1.72-2.09-1.72v-0.97c0-0.35-0.15-1.73-0.28-2-0.14-0.27-0.48-0.72-0.97-0.72-0.25,0-0.5-0.05-0.72-0.03zm17.72,22.91c-0.13,0.02-0.25,0.07-0.35,0.19-0.4,0.44-0.72,1.12-0.9,1.34s-0.51,0.09-0.91,0-0.89-0.43-1.16-0.03c-0.26,0.4-0.67,0.74-0.71,1.19-0.05,0.44,0.09,1.75,0.09,2.46,0,0.72,0.09,1.8,0,2.6s-0.2,1.3-0.78,1.66c-0.58,0.35-0.91,0.4-1.31,0.93-0.41,0.54-1.13,1.25-1.13,1.88,0,0.62,0.06,1.45-0.66,2.03-0.71,0.58-1.14,0.56-0.96,1.4,0.17,0.85,0.22,0.93,0.84,1.38s2.79,0.63,3.28,0.5,1.26-0.77,1.66-1.22,1.61-0.99,2.28-1.12c0.67-0.14,1.17-0.08,2.16-0.13,0.98-0.04,1.54-0.39,2.03-0.65,0.49-0.27,0.54-0.54,1.43-0.54,0.9,0,1.74,0,2.1-0.31,0.35-0.31,1.35-1.19,1.62-1.5s0.88-1.05,0.97-1.5,0.18-1.3,0-1.75,0.15-1.15-1.19-1.28-1.57,0.07-1.84-0.38c-0.27-0.44-1.03-0.88-1.03-1.37s0.08-1.02-0.19-1.37c-0.27-0.36-0.79-0.81-1.28-0.72s-1.31,0.58-1.53,0.62c-0.22,0.05-0.71-0.09-0.85-0.4-0.13-0.32-0.21-1.11-0.21-1.91s-0.25-1.63-0.25-1.63c-0.34-0.13-0.83-0.43-1.22-0.37zm5.22,20.03c-0.62,0.05-1.16,0.75-1.16,0.75s-1.62,1.95-2.16,2.84c-0.53,0.9-0.86,1.08-1.93,1.25-1.08,0.18-1.82,1.63-1.82,1.63s-0.51,1.23-0.68,2.12c-0.18,0.9-1.25,3.07-1.25,3.07v1.93l0.87,1.63s1.6,1.05,1.78,2.12c0.18,1.08-2.12-0.68-2.12-0.68s-2.14-0.73-3.03-0.91c-0.9-0.18-1.64,0.01-3.07,0.19-1.42,0.18-1.25,0.34-1.25,0.34l0.72,1.63s1.61,1.4,1.25,2.65c-0.35,1.25-1.4-0.53-1.4-0.53l-1.97-0.87s-1.98,0.16-2.88,0.87c-0.89,0.72-1.25,0.91-1.97,0.91-0.71,0-1.59-0.71-2.12-1.78-0.54-1.08-0.91-0.91-1.63-1.44-0.71-0.54-3.2,0-4.09,0s-2.32,1.79-3.75,1.97-1.78,0.53-1.78,0.53l0.34,2.12-1.97,1.1-2.12,0.53-2.16,0.53c-0.71,0.18-2.12-0.19-2.12-0.19l-1.97-0.34-1.44,0.87-0.53,0.57-2.84,0.15-2.16,0.91s-2.49,2.13-4.09,2.31c-1.61,0.18-0.19,0.53-0.19,0.53s1.06,0.91,1.06,1.63c0,0.71-0.7,0.87-0.87,1.4-0.18,0.54-1.45-0.33-2.35-0.68-0.89-0.36-1.25,0-1.25,0s0.2,1.04,0.38,1.93c0.18,0.9,1.06,1.28,1.06,2.35s-0.19,2.12-0.19,2.12,0.53,2.69,0.53,3.41v2.69c0,0.89-0.87,1.59-0.87,1.59s-1.25,0.72-3.03,0.72c-1.79,0-0.91-0.72-0.91-0.72l0.72-0.91-0.53-1.4-1.97-0.38-2.31,1.25-1.78-0.53h-3.22-3.94c-1.43,0-1.95-1.07-2.84-1.25-0.9-0.18-2.88-0.34-2.88-0.34s-2.14-0.02-3.03,0.34-1.97,1.06-1.97,1.06v3.07,3.03s-1.6,0.69-1.78,1.4c-0.18,0.72,0.01,2.68,0.19,3.75,0.18,1.08,1.05,0.72,2.12,1.25,1.07,0.54,2.16,1.25,2.16,1.25l0.53,0.57,0.34,1.78s0.57,1.94,0.57,2.65c0,0.72,1.25,1.97,1.25,1.97s0.68,1.63,0.68,2.35c0,0.71-0.51,1.22-0.87,1.93-0.36,0.72-0.73,1.61-0.91,2.5-0.18,0.9,0,2.16,0,2.16l0.38,2.84s-0.2,2.88-0.38,3.6c-0.18,0.71-0.89,1.42-1.78,1.78s-1.25,2.12-1.25,2.12,0.01,2.7,0.19,3.6c0.18,0.89,0.88,1.42,1.59,1.78,0.72,0.36,1.25,1.78,1.25,1.78l-0.87,1.78-1.78-0.34-1.44-1.78-0.91-1.82v-2.5s-0.54-1.76-1.97-2.65c-1.42-0.9,0.19-1.63,0.19-1.63s1.08-1.25,1.44-1.97c0.36-0.71,1.06-1.78,1.06-1.78s1.8-1.6,2.16-2.5c0.35-0.89-0.38-1.4-0.38-1.4l-1.06,0.68-1.78,1.82-1.78-0.91s0.69-1.25,0.87-1.78c0.18-0.54,0.54-1.79,0.72-2.5,0.18-0.72,0.35-1.6,1.06-2.31,0.72-0.72,2.35-0.19,2.35-0.19l1.25-1.25v-1.63l-1.1-1.59s-1.4-0.17-3.9-0.34c-2.5-0.18-0.72-1.25-0.72-1.25l-0.72-1.82s-0.72-1.76-1.44-2.12c-0.71-0.36-1.94-3.04-2.65-3.75-0.72-0.72-1.1-1.44-1.82-2.16-0.71-0.71-2.11-1.78-3.18-2.5-1.08-0.71-1.97-1.4-1.97-1.4l-1.63,0.34s-1.05,1.07-0.15,2.5c0.89,1.43,1.06,1.44,1.06,1.44l1.25-0.28,0.97,0.18,1.22,0.5,1.15,1.07,1.06,0.71,0.91,1.07,0.53,0.9,0.1,0.94-0.6,1.63-1.68,1.84-1.29,0.81-1.93,0.88,0.81,1.15s2.04,1.71,2.22,1.85c0.18,0.13,0.69,0.9,0.69,0.9l0.31,2.85,0.09,2.59s-0.33,2.1-0.37,2.28c-0.05,0.18-0.63,0.88-0.63,0.88l-7.09,3.97-1.44,0.9-1.25,0.94-0.66,0.81s0.3,2.37,0.35,2.6c0.04,0.22,0.64,1.18,0.69,1.4,0.04,0.23,1.28,2.69,1.28,2.69s1.15,1.2,1.46,1.69c0.32,0.49,2.16,0.31,2.16,0.31h3.44c0.4,0,1.34,0.5,1.34,0.5s1.3,0.98,1.35,1.16c0.04,0.17,0.37,1.31,0.37,1.31l0.38,3.34s0.09,3.42,0.09,3.69-0.5,1.56-0.5,1.56l-0.34,1.22c-0.04-0.01-0.07-0.03-0.1-0.06l-1.15,2.06-1.82,1.69-1.68,0.28-1.6,0.28,0.16,1.41s1,1.98,1,2.34-0.01,1.68-0.19,2.13c-0.18,0.44-0.81,1.68-0.81,1.68l0.47,1.19,1.15,1.69,0.88,2.41,0.47,1.68-1.16,1.97-1,1.63,0.72,1.93s0.08,1.53-0.09,1.97c-0.18,0.45-1.07,1.16-1.07,1.16l-0.43,1.19s4.1,3.63,5,4.53c0.89,0.89,0.15,1.52,0.15,2.06s-0.72,2.5-0.72,2.5l-1.25,2.22,0.1,1.87s1.54,1.46,1.72,1.82c0.17,0.35,1.68,0.78,2.22,0.87,0.53,0.09,2.78,0.38,2.78,0.38l1.25,1.31-0.19,0.81-1.16,1.63-0.72,3.28s-0.8,2.07-1.15,2.34c-0.36,0.27-1.44,1.16-1.44,1.16l-2.22,1.15-1.72,2.41,0.38,0.97,1.34,1,0.25,1.78-0.81,1.78-1.25,2.78-1.5,1.41-2.31,2.34-1.72,1.6-1.5,2.25s-0.9,2.92-0.81,4c0.08,1.07,0.96,0.72,0.96,0.72s1.62,1.07,2.16,1.34,1.51,0.99,1.78,1.34c0.27,0.36,1,1.24,1,1.69v1.53l-0.81,0.88-1.25,0.81-3.41,1.25-1.69,0.34-2.4-0.25s-1,0.43-0.91,0.78c0.09,0.36,0.72,1.63,0.72,1.63s0.45,1.24,0.63,1.69c0.17,0.44,0.27,0.88,0.72,1.06,0.44,0.18,0.09,2.97,0.09,2.97s-0.89,2.3-1.16,2.75c-0.27,0.44-0.46,1.25-0.37,1.87,0.09,0.63,0.72,1,0.72,1s1.7,0.69,2.06,0.78,2.94,1.1,2.94,1.1,3.13,0.72,3.84,0.72,2.58,0.06,3.56,0.15,2.5,1,2.5,1,1,0.87,1.53,1.41c0.54,0.53,0.25,4.64,0.25,5s2.88,0.19,3.5,0.28c0.63,0.09,2.32,0.81,2.32,0.81s0.43,1.33,0.43,1.69-0.43,1.88-0.43,1.88l-1.78,0.9-3.47,1.5-0.57,1.06s-1.13,4.74-1.4,5.19,0.53,1.88,0.53,1.88l1.5,0.62,2.25,1.06s3.47,2.25,4.09,2.79c0.63,0.53-0.09,0.96-0.09,0.96l-0.97,1.82-5.44,4.72-0.72,1.96-0.18,1.5s-0.44,3.58-0.44,3.94,0.34,1.53,0.34,1.53,1.81,1.15,2.25,1.5c0.45,0.36,1.88,1,1.88,1l0.72,1.41s0.79,1.54,1.06,2.34c0.27,0.81-0.72,0.97-0.72,0.97l-3.56,2.94-1.97,0.91s-1.35,1.33-1.44,1.87,0.81,0.97,0.81,0.97l0.97,1.44,1,1.34s1.95,0.73,2.75,0.91c0.81,0.17,1.63-0.57,1.63-0.57s1.42-1.95,2.4-2.22c0.99-0.26,0.53,0.46,1.07,0.72,0.53,0.27,1.96,0.61,2.59,0.88s2.22,1.34,2.22,1.34l0.81,2.06,1.78,7.41,0.82,2.5-1.26,4.13s0.1,2.05,0.19,2.4c0.09,0.36,0.8,1.24,1.07,1.6,0.26,0.35,0.43,2.15,0.43,2.15l-0.97,1.35-2.4,1.5-1.1,1.78s-2.3,3.32-2.65,3.59c-0.36,0.27-2.06,1.14-2.6,1.41-0.53,0.27-2.06,1.44-2.06,1.44s0.27,1.06,0.63,1.15c0.35,0.09,0.53,2.16,0.53,2.16l0.81,1.06,1.88-0.44,3.21,0.78,2.5,0.91s1.25,0.88,1.79,1.06c0.53,0.18,3.4-0.44,3.4-0.44s5.87-2.32,6.31-2.59c0.45-0.27,1.72-1.06,1.72-1.06s2.5-1.89,3.03-2.25c0.54-0.36,3.74-2.14,4.1-2.41,0.35-0.27,1.44-1.78,1.44-1.78l0.9-2.12s0.16-1.99,0.25-2.44,0.53-1.5,0.53-1.5l0.72-1.25,2.16-0.19,3.12,0.44,2.32,0.19s3.57,0.1,4.37-0.35c0.8-0.44,0.45-0.72,0.63-1.34,0.17-0.63-0.27-0.9-0.63-1.35-0.36-0.44-1-1.33-1.53-1.78-0.54-0.44-1.25-1.15-1.25-1.15s-2.31-4.22-2.31-4.75c0-0.54,0.81-1.15,2.15-1.69s3.91-0.97,3.91-0.97l2.06-1.19-0.09-2.65,0.47-1.78s1.16-2.8,1.25-3.07c0.09-0.26,1.51-2.93,1.68-3.56,0.18-0.62,0.62-1.79,1.07-2.59,0.44-0.81,1.62-1.68,2.15-2.03,0.54-0.36,1.68-1.91,2.13-2.44,0.44-0.54,1.09-2.22,1.09-2.22l-0.19-4.09s-2.13-2.42-2.4-3.22c-0.27-0.81,0.07-1.43,0.34-1.78,0.27-0.36,1.61-1.88,1.97-2.5,0.36-0.63,0.81-2.53,0.81-2.97,0-0.45,0.98-1.5,1.88-2.13,0.89-0.62,2.83-0.18,3.28,0s1.09,0.81,1.72,1.35c0.62,0.53,3.28,0.68,3.28,0.68s1.07-1.42,1.25-1.87,0.98-1.77,1.25-2.22,1.53-1.07,2.25-1.16c0.71-0.09,1.69,0.63,1.69,0.63s0.97,1.78,1.15,2.31c0.18,0.54,1.18,1.61,1.53,1.97,0.36,0.36,1.26,1.8,1.35,2.16,0.09,0.35,1.06,0.33,2.22,0.15s0.09-1.4,0.09-1.4v-2.16s-0.62-2.16-0.62-2.78c0-0.63,0.71-1.78,0.71-1.78s2.5-0.8,3.03-1.06c0.54-0.27-0.08-1.17,0.1-1.97,0.18-0.81,1.33-1.7,1.69-1.88,0.35-0.18,2.96-0.61,3.4-0.87,0.45-0.27,1.41-1.25,1.41-1.25l0.62-2.69,0.28-2.88s-0.02-0.11-0.03-0.12c0.09-0.06,0.32-0.22,0.32-0.22l1.31,0.19s0.6-0.58,1.31-0.94c0.72-0.36,0.79,0.03,0.97,0.03s0.68,1.11,0.81,1.47c0.14,0.36,0.36,1.26,0.41,1.53,0.04,0.27,1.38,0.68,1.56,0.72s1.55,0.47,1.81,0.56c0.27,0.09,1.66,1.08,1.97,1.44,0.32,0.36,1.04,0.45,2.38,0.94s1.53-0.28,1.53-0.28l0.65-0.63s0.23-1.4,0.32-1.94c0.09-0.53,0.72-0.87,0.72-0.87s1.51-1.22,1.87-1.63c0.36-0.4,0.5-0.87,0.5-0.87s0.34-2.99,0.16-3.13c-0.18-0.13-1.38-0.71-1.78-0.84-0.41-0.13-1.6-1.46-2-2.13-0.41-0.66,0.3-1.16,0.43-1.43,0.14-0.27,1.41-1.06,1.63-1.28,0.22-0.23,1.06-0.78,1.59-1,0.54-0.23,0.27-2.9,0.22-3.35-0.04-0.44-0.7-0.44-1.81-0.62-1.12-0.18-1.97-0.85-1.97-0.85s-1.52-1.52-2.19-2.28-0.22-2.76-0.22-3.03,0.17-4.1,0.13-4.9c-0.05-0.81,0.54-1.63,0.72-1.85s2.37-0.49,2.59-0.53,1.9-0.99,2.35-1.34c0.44-0.36,0.59-1.19,0.59-1.19s-0.37-1.3-0.5-1.75c-0.14-0.45,0.72-1.65,1.03-1.88,0.31-0.22,1.91-1.37,1.91-1.37s1.07-6.86,1.25-7.13c0.17-0.26-0.32-1.59-0.32-1.59s-1.19-3.62-1.28-3.84c-0.09-0.23-0.68-1.65-0.5-2.32s1.27-1.02,1.41-1.25c0.13-0.22,0.07-0.97-0.16-1.15-0.22-0.18-1.03-1.16-1.03-1.16s0.58-3.41,0.63-3.81c0.04-0.4,0.28-1.69,0.28-1.69l1.22-0.84s3.79-0.07,4.06-0.07,2.03-0.79,2.44-1.06c0.4-0.27,0.13-1.66,0-1.84-0.14-0.18-1.19-1.94-1.19-1.94h-2.28l-2.5,0.06-2.1-0.43-1.03-0.41s-2.49-0.25-2.72-0.25c-0.22,0-1.5-0.16-1.5-0.16l-0.65-0.25s-0.13-1.6-0.13-1.87,0.48-0.55,1.07-0.91c0.58-0.35,0.93-0.94,0.93-0.94s-0.17-0.98-0.43-1.34c-0.27-0.36-0.1-0.97-0.1-0.97s2.29-2.76,2.38-2.93c0.09-0.18,0.62-1.04,0.62-1.04s0.89-1.56,1.06-2.18c0.18-0.63-0.59-1.16-0.59-1.16s-3.42-4.04-3.78-4.44-1.14-1.64-1.31-1.9c-0.18-0.27-0.91-1.24-1-1.69s0.31-1.41,0.31-1.41l1.09-3.47-0.56-1.06s-1.07-0.96-1.16-1.09c-0.09-0.14-1-0.75-1-0.75s-0.63-0.55-0.5-0.91c0.14-0.36,1.36-0.56,1.63-0.56s2.31-0.69,2.31-0.69,1.39-0.56,1.56-0.78c0.18-0.22-0.03-1.16-0.03-1.16s-1.56-17.7-1.56-18.06-0.65-1.56-0.78-1.78c-0.14-0.22-2.19-2.34-2.19-2.34l-0.72-5.16h0.06s1.85,0.06,2.47,0.06c0.63,0,0.97-0.84,0.97-0.84l2.5-2.06,1.53-1.38s0.57-0.52,0.88-0.56c0.31-0.05,1.26,0.58,1.44,0.62,0.17,0.05,1.47,0.6,1.47,0.6s0.99-0.52,1.43-0.66c0.45-0.13,0.75-0.62,0.75-0.62l-0.31-5.94,4.16-2.16s0.93-1.1,0.93-1.28,0.57-1.87,0.57-1.87l4.47-3.1s1.78-2.23,2.18-2.5-0.03-0.62-0.03-0.62l-1.25-1.85s-1.07-1.29-1.78-1.47c-0.71-0.17-0.91-1.09-0.91-1.09l0.29-5-0.6-0.47-2.84-2.31-3.41-2.69-0.72-1.97-0.34-1.4-1.06-1.78,0.15-0.91,1.25-2.69-1.4-1.4-1.63-1.97-0.72,1.59s-1.43-0.53-2.5-0.53-1.06,1.44-1.06,1.44-1.95,0.71-2.84,1.25c-0.9,0.53-1.25,1.78-1.25,1.78s-1.45,1.25-2.16,1.25-2.14,0.01-3.03,0.19c-0.89,0.17-1.43,1.41-1.97,2.12-0.54,0.72-1.44,2.33-2.16,2.69-0.71,0.36-0.71,0.34-1.78,0.34s-0.16-0.7,0.38-2.31c0.53-1.61,1.95-1.79,2.31-2.5s0.72-1.78,0.72-1.78l2.5-0.91s0.54-3.02,1.44-3.37c0.89-0.36,3.75-0.53,3.75-0.53s1.22-1.63,1.4-2.35c0.18-0.71,1.44-1.58,1.97-2.65,0.54-1.08,0.72-1.79,0.72-2.5,0-0.72,0.91-1.82,0.91-1.82l2.5-2.12s1.58-1.6,1.93-2.31c0.36-0.72,2.16-1.97,2.16-1.97l2.16-1.97,2.31-2.5s0.19-1.44,0.19-2.16c0-0.71-0.72-1.78-0.72-1.78s-1.26-0.9-1.97-1.44c-0.72-0.53-1.78-0.7-1.78-1.59s0.16-0.72,0.34-1.44c0.18-0.71,0.72,0,0.72,0l1.44,1.1,0.15-1.25-0.15-2.35-0.53-1.97-2.69-0.68-1.78-1.1h-2.16c-0.71,0-0.52-0.69-0.87-1.4-0.36-0.72-0.37-1.62-0.91-2.69s-2.31-0.19-2.31-0.19l-1.78,0.91c-0.72,0.35-0.73,0.52-1.44,1.06-0.72,0.54-1.61-0.37-3.22-0.91-1.61-0.53-1.77,0.02-2.84,0.38-1.08,0.36,0.17,0.88,0.53,1.59,0.35,0.72,0,1.44,0,1.44l-2.35-0.19s-1.06-0.35-1.78-1.25c-0.71-0.89,0.19-1.06,0.19-1.06s1.25-1.43,1.25-2.5-0.72-1.25-0.72-1.25h-2.69c-1.25,0-1.96-0.17-3.03-0.34-1.07-0.18-1.25-0.37-1.97-1.44-0.71-1.07,0.57-0.53,0.57-0.53l1.4-1.25,1.25-0.72,2.69,0.34s0.9,0.56,1.97,0.38,0.19-0.72,0.19-0.72l-1.63-1.06s-1.77,0.34-2.84,0.34-2.16-0.72-2.16-0.72l-1.97-0.87s-1.41-1.45-2.12-1.63c-0.09-0.02-0.2-0.04-0.28-0.03zm-45.94,3.34c-0.85,0.32-1.23-0.03-1.5,0.82-0.27,0.84-0.34,0.96,0.16,1.18,0.49,0.23,0.87,0.53,1.4,0.44,0.54-0.09,1.24-0.47,1.06-1.09-0.17-0.63-1.12-1.35-1.12-1.35zm20.84,3.82c-0.33,0-0.47,0.12-0.94,0.56-0.62,0.58-1.62,1.37-1.71,1.9-0.09,0.54,0.12,0.96-0.19,1.54s-1.55,1.81-2,2.12-2.51,0.16-2.6,0.47c-0.08,0.31-0.37,0.52,0.04,0.87,0.4,0.36,2.91,0.63,3.72,0.54,0.8-0.09,3.3-0.3,3.74-0.35,0.45-0.04,0.71,0.28,0.66-0.43-0.04-0.72-0.72-1.36-0.4-1.85,0.31-0.49,0.6-0.65,0.78-0.97,0.17-0.31,0.49-1.06,0.31-1.47-0.18-0.4-0.72-0.95-0.72-1.53s-0.28-1.37-0.28-1.37c-0.18-0.01-0.3-0.04-0.41-0.03zm-45.53,6.62c-0.49,0-2.1,0.86-2.19,1.13-0.09,0.26-0.56,0.38,0.07,0.97,0.62,0.58,0.39,0.88,1.15,0.84,0.76-0.05,1.55-0.67,2.22-0.63,0.67,0.05,1,0.79,1.31,0.79,0.32,0,0.62-0.23,0.66-0.72s-0.42-0.89-0.59-1.07c-0.18-0.17-0.54-0.18-0.54-0.18-0.31-0.45-1.6-1.13-2.09-1.13zm-2.06,6.25c-0.54,0.18-1.01,0.45-1.5,0.63-0.49,0.17-0.81,0.17-1.13,0.43-0.31,0.27-0.72,0.46-0.72,0.82,0,0.35,0.15,0.5,0.6,0.81s0.52,0.62,1.19,0.62,1.89-0.5,2.03-0.81c0.13-0.31,0.48-0.94,0.53-1.25,0.04-0.31-1-1.25-1-1.25zm-51.31,9.13l-2.35,2.12-0.34,1.78,1.97,0.38,1.25,0.87h2.5l1.25-0.87v-1.78l-1.63-2.16-2.65-0.34zm59.09,4.4c-0.49,0.14-1.47,0.59-1.25,1.03,0.22,0.45,0.5,0.8,0.91,0.75,0.4-0.04,0.74-0.01,0.87-0.5,0.14-0.49-0.22-1.25-0.22-1.25l-0.31-0.03zm97.34,1.78c-0.09,0.01-0.18,0.07-0.28,0.22-0.38,0.6-0.53,1.69-0.4,2.1,0.12,0.41-0.42,0.87,0.12,1.31s0.62,1.22,1.53,1.25c0.92,0.03,1.9,0.47,2.63-0.06,0.72-0.54,1.43-1.69,1.65-2.19,0.22-0.51,0.32-1.22,0.07-1.53-0.26-0.32-0.62-0.81-1.13-0.88-0.5-0.06-1.19,0.16-1.19,0.16-1.07,0.31-0.99,0.66-1.78,0.31-0.59-0.26-0.92-0.72-1.22-0.69zm-135.37,0.22l-1.97,0.19-1.44,1.44,0.53,1.06,1.63-0.91,1.44,0.57,0.34,1.59,1.25,0.34,0.72-0.87-0.53-1.06-1.97-2.35zm27.09,1.13c-0.49,0.01-1.04,0.1-0.9,0.5,0.17,0.53,1.09,0.75,2.03,0.75s2.97,0.08,3.06,0.44c0.09,0.35,0.68,1.56,0.91,1.65,0.22,0.09,0.92,0.13,0.97-0.41,0.04-0.53-0.44-1.13-0.76-1.4-0.31-0.27-2.09-1.25-2.09-1.25-0.45-0.09-2.24-0.28-2.78-0.28-0.13,0-0.27-0.01-0.44,0zm10.31,1.12c-0.71,0.23-0.93,0.25-0.93,0.88,0,0.62-0.1,1.06,0.43,1.15,0.54,0.09,0.85,0.33,1.26,0.07,0.4-0.27,0.59-0.91,0.37-1.22s-1.13-0.88-1.13-0.88zm-44.71,1.16l-1.44,1.25,0.72,0.87,1.78-1.06-1.06-1.06zm6.4,2.31v1.78l2.35-0.53v-1.25h-2.35zm133.35,1.5c-1.05,0.29-1.25,0.28-2.07,0.6-0.82,0.31-1.49,0.24-1.87,0.74-0.38,0.51-0.44,0.28-0.66,1.29s-0.69,0.99,0.1,1.31c0.79,0.31,1.39,0.29,2.31-0.41,0.91-0.69,1.71-1.09,2.19-1.65,0.47-0.57,0.84-1.19,0.84-1.35s-0.84-0.53-0.84-0.53zm-122.41,0.5c-0.4,0.63-0.65,1.16-0.87,1.56-0.23,0.41-0.68,0.77-1.13,1.66s-0.81,1.32-0.81,2.03c0,0.72,0.24,1.18,0.68,1.41,0.45,0.22,0.34,0.5,0.57,0.5,0.22,0,0.82,0.09,1.31,0s1.03-0.19,1.03-0.5v-1.88c0-0.53-0.31-3.37-0.31-3.59s-0.47-1.19-0.47-1.19zm-16.47,0.69l-1.06,0.87v1.25l1.44,0.57,0.87-1.25-1.25-1.44z",name:"Krasnoyarsk Krai"},tm:{path:"m424.64,359.43,1.25,3.2143,1.25,2.3214s-0.53571,2.3214-0.71428,3.0357c-0.17857,0.71429-1.6071,3.0357-1.6071,3.0357s0.53571,1.25,1.6071,1.9643c1.0714,0.71429,5.8929,1.7857,5.8929,1.7857l5.3571,0.17857s3.75,0.89285,4.1071,1.6071c0.35714,0.71429,0.89286,1.0714,0.89286,2.1429,0,1.0714,0.35714,4.2857,0.35714,4.2857s1.25,0.35714,2.6786,0.35714,3.0357,0.35715,3.0357,0.35715,0.35714,2.1428,0.35714,2.6786c0,0.53571-0.89286,1.7857-1.9643,1.7857s-3.75,1.6072-3.75,1.6072-1.25,2.6786-1.25,3.75-0.89285,3.5714-0.53571,4.2857c0.35714,0.71429,4.4643,1.7857,5.1786,2.1429,0.71429,0.35714,3.2143,2.6786,3.2143,2.6786s-0.71429,1.6071-1.6072,2.6786c-0.89285,1.0714-4.1071,3.0357-5.3571,4.6429-1.25,1.6071-0.35714,2.8571-0.35714,2.8571l-0.71429,1.6071-3.2143,0.53572-3.2143,0.35714-1.4286-1.6071-1.9643-0.17857-4.66-0.57h-2.3214l-1.25,1.0714s-2.1429,1.0714-3.2143,1.25c-1.0714,0.17857-5.3571,1.25-6.0714,1.25-0.71428,0-6.4286,0.71429-6.4286,0.71429l-3.3928,1.4286h-2.3214l-0.35715-1.9643,0.71429-2.1429-0.35714-2.3214,1.7857-2.3214-0.53571-1.4286s-1.0714-0.17858-1.9643,0.53571c-0.89286,0.71429-4.4643,1.0714-4.4643,1.0714l-4.2857-0.17857-1.9643-2.3214-0.89286-3.0357s-1.25-1.0714-2.6786-0.71428c-1.4286,0.35714-1.6072,1.25-2.6786,1.25s-2.5,0-3.0357-0.89286c-0.53571-0.89286-0.89285-3.0357-0.89285-3.0357l-0.9-2.33s-1.6071-0.89286-2.5-1.6071c-0.89286-0.71429-3.2143-2.3214-3.2143-2.3214l-5.1786-2.3214-4.2857-1.9643-4.6429-1.7857-2.6786-1.0714-1.7857-2.5v-3.0357l1.6072-2.8572,0.35714-1.7857-0.53571-2.3214,1.25-3.0357,0.71428-3.3929,1.9643-1.0714,3.3928-2.8571s0-2.1429,0.71429-2.3214c0.71429-0.17857,5.7143-1.6071,5.7143-1.6071l1.9643-1.7857,1.25-2.6786,2.5-1.6071,1.6071-3.2143s1.0714-1.0714,1.7857-1.7857c0.71428-0.71429,2.1428-1.4286,2.1428-1.4286l1.9643-0.35715,2.1429,1.7857,2.1428,1.0714,2.5,0.35714,2.8572,1.4286,1.0714,1.6071,3.0357,0.89286h3.3929l2.1428,0.35714,1.25,1.6072,2.6786,0.71428,2.3214,0.71429,2.1429,1.7857,1.25-0.89286,1.7857-0.53571,2.1428-1.4286,2.1429-0.17857,1.6071,0.71428,1.7857,0.89286z",name:"Tomsk Oblast"},nv:{path:"m341.43,421.57,4.1071,0.71429l4.4643-0.17858c1.25-0.17857,2.1429-0.71428,2.1429-0.71428l-2.14,3.4h-3.0357l-0.89285,2.1428s1.0714,1.9643,1.7857,2.5c0.71429,0.53572,2.6786,3.0357,2.6786,3.0357l0.53572,2.1428,2.3214,0.35715h1.4286s2.6786,0.35714,3.3928,0.35714c0.71429,0,0.89286,0,1.9643-0.35714,1.0714-0.35715,3.2143-0.71429,4.6429-0.71429h3.5714s2.6786,0.17857,3.5714-0.35714c0.89286-0.53572,0.89286-1.0714,2.3214-1.25,1.4286-0.17857,3.0357-0.17857,3.9286-0.17857,0.89286,0,1.9643-0.17857,1.9643-0.17857s0,1.6071,0.89286,2.1428c0.89285,0.53572,4.1071,2.6786,4.1071,2.6786l0.71428,0.71429c0.17858,0.71429-0.17857,2.5-0.17857,3.2143,0,0.71428-1.0714,0.71428-0.17857,1.6071,0.89286,0.89286,1.9643,1.4286,1.9643,1.4286l2.3214-1.9643,2.3214-2.3214s2.1429-0.53572,2.8572-0.53572c0.71428,0,3.0357,0,3.75-0.17857,0.71428-0.17857,1.4286-0.71429,2.6786-0.17857,1.25,0.53571,2.3214,0.71428,3.3929,0.71428,1.0714,0,3.5714-1.25,3.5714-1.25s1.7857-2.1428,1.9643-2.8571c0.21-0.7-0.33-4.45-0.33-4.45v-3.75c0-0.71429,0.71428-2.3214,1.25-2.6786,0.53571-0.35714,1.7857-0.89285,1.7857-1.7857,0-0.89286-0.89286-1.6071-0.89286-1.6071s-0.89285-0.53572-0.89285-1.4286c0-0.89286,0.35714-3.2143-0.53572-3.0357-0.89285,0.17857-4.1071,1.7857-4.1071,1.7857s0,0.17857-1.4286,0.17857-2.5,0-2.6786-0.71429c-0.17857-0.71428,0.35714-5,0.35714-5l0.53571-2.6786,0.17858-2.1429-2.8572,1.4286s-1.6071,0.53572-2.5,0.71429c-0.9,0.18-4.47-0.71-4.47-0.71l-2.1429-0.71428-1.4286-2.1429-1.4286-2.8571s-2.5,0.53571-3.2143,0.71428c-0.71428,0.17858-1.9643,0.53572-1.9643,0.53572l-2.3214-1.25-1.0714-3.3929v-1.25l-3.0357-1.7857s-1.9643-1.6072-2.6786-2.1429c-0.71428-0.53571-3.3928-1.7857-3.3928-1.7857s-3.3929-1.25-4.1072-1.6072c-0.71428-0.35714-1.9643-1.25-2.6786-1.6071-0.71428-0.35714-3.9286-1.4286-3.9286-1.4286l-1.9643,0.17857s-0.35715,1.0714-0.53572,1.9643c-0.17857,0.89285-1.0714,2.3214-1.0714,2.3214l-1.4286,1.0714-0.89286,1.6072,0.17858,2.1428-0.71429,1.4286h-3.2143l-2.5-0.35714-2.1428,0.89286-2.1429,2.3214-1.4286,1.9643-0.71429,2.6786,0.71429,1.9643,1.7857,2.6786v1.7857l-2.1428,3.5714z",name:"Novosibirsk Oblast"},al:{path:"m351.25,435.14,1.7857,5,1.7857,5.1786,1.6071,6.7857,0.89286,8.5714,0.35714,8.2143,0.35714,2.8571,2.3214-0.53571,1.7857-0.53572,0.89285-0.53571,0.17857-1.9643,1.25-1.6071,1.25-0.35714,1.7857,0.53571,0.89286,1.9643,0.89285,2.8571,2.3214,2.8571,1.9643,1.6071,4.6428,0,3.3929-0.35714,2.5-0.89286,2.3214,0,3.3929,1.4286,1.0714,1.9643,2.3214,0.53572,2.3214-0.53572-0.17857-1.4286-1.6071-1.0714-1.0714-0.89286,0.35714-1.6071,0.71429-0.35714,2.5-0.35714,4.4643-0.71429,3.75-0.17857,2.6786-0.71429,2.3214-1.9643,1.0714-1.9643s0.53572-0.71428,1.25-0.71428c0.71429,0,3.3929-0.17858,3.3929-0.17858l1.9643-0.17857,1.0714-1.7857s0.53572-2.1429,1.25-2.5c0.71429-0.35714,0.89286-2.3214,0.89286-2.3214l0.71429-2.1429-0.35715-1.0714-0.71428-1.0714,0.71428-0.89286,1.25-0.53571-0.17857-1.0714-1.4286-1.6072-1.0714-1.0714c-0.17857-0.71429-0.89286-2.8572-0.89286-2.8572l-1.7857-1.7857-0.17857-0.89286-0.53572-2.1429-1.6071-1.4286-2.5-1.9643-1.74-1.79s-1.6072,1.0714-2.3214,1.4286c-0.71429,0.35715-1.7857,0.71429-1.7857,0.71429l-2.5,0.17857-2.5-0.35714-3.0357-0.17857-4.8214,0.71428-2.5,1.6072-1.6071,1.7857-1.0714,0.71429-0.89286,0.35714-1.4286-1.25-0.35714-0.89286,0.35714-0.89286,0.17857-1.7857-0.17857-1.4286-2.3214-1.6071-1.9643-1.25-1.0714-1.25-0.17857-0.89286-1.9643-0.17857-4.2857,0.17857-1.25,1.25-2.1429,0.53571-3.75-0.53571-4.2857,0.17857-2.6786,1.25h-2.5l-3.3929-0.17857z",name:"Altai Krai"},km:{path:"m442.14,414.79-0.71428,2.3214,0.89286,1.6072,2.5,1.4286,1.7857,1.6071,1.25,2.5,0.17857,0.89286s-0.89286,1.4286-1.6071,2.1429c-0.71429,0.71428-4.2857,2.3214-4.2857,2.3214l-1.7857,1.7857-1.7857,1.7857v1.6072l1.0714,1.7857,0.17858,1.7857-1.9643,2.5s-1.25,1.0714-1.0714,1.7857c0.17857,0.71428,1.0714,1.4286,1.7857,1.6071,0.71428,0.17857,2.8571,0.89286,2.8571,0.89286l-0.71429,1.4286-1.25,1.7857-0.53571,1.6072-1.7857,0.71428-1.4286,1.6072,0.71429,1.25,1.25,1.25-0.89286,2.5-1.25,1.6071,0.53572,1.25,1.7857,1.7857-0.35714,1.6072-1.6072,1.9643-2.5,2.1429h-1.9643l-0.71429-1.7857-1.9643-1.25-2.6786-0.35714-1.4286,1.0714-2.1428-1.4286-0.71429-2.3214-1.0714-0.71429,0.17857-2.5-0.53571-2.5,0.89286-1.9643,0.71428-1.6071-2.1428-2.6786-1.6072-2.6786-1.25-1.4286-0.71428-2.3214-0.89286-1.7857-2.3214-2.1429-1.7857-1.6071-0.71429-1.25v-1.7857l-0.35714-4.6428,0.17857-2.5,0.71429-2.3214,1.25-1.4286,0.71428-1.25-1.4286-1.9643v-0.89286l-0.35714-2.5,1.6071-0.35714,4.4643-0.53571,2.5-0.89286,3.0357-0.89286,1.0714-0.35714,0.71428-0.89286h1.6072,1.9643,2.5l1.7857,0.35715,1.4286,0.35714,0.89286,0.89286,1.9643,0.53571,1.6071-0.17857,2.5-0.71429z",name:"Kemerovo Oblast"},lt:{path:"m392.32,478.89-0.44643,2.1428s-0.17857,1.875,0,2.5893c0.17857,0.71429,1.1607,2.3214,1.1607,2.3214l3.3036,0.89286s0.98215,1.1607,1.0714,1.6071c0.0893,0.44643,0.0893,3.3036,0.0893,3.3036s0.17857,0.89286,0.53571,1.6071c0.35715,0.71429,1.25,1.875,1.7857,2.2322,0.53571,0.35714,1.6071,1.25,2.4107,1.3393,0.80357,0.0893,3.125,0.0893,3.5714,0.0893,0.44643,0,4.0179,0.0893,4.0179,0.0893s1.0714,0.53572,1.6071,0.89286c0.53571,0.35714,1.4286,1.25,1.7857,1.875,0.35715,0.625,1.5179,1.6964,2.0536,1.9643,0.53571,0.26785,1.1607,0.80357,1.7857,1.1607,0.625,0.35714,1.6964,0.71429,2.4107,0.80357,0.71429,0.0893,2.9464-0.44643,3.3929-0.71428,0.44643-0.26786,2.3214-0.89286,3.4821-0.89286s4.7322-0.35714,5-0.44643c0.26786-0.0893,3.5714-1.3393,4.1964-1.3393s1.4286-0.89285,1.6071-1.25c0.17858-0.35714,0.625-1.9643,0.17858-2.7678-0.44643-0.80357-0.80358-1.0714-1.4286-1.4286-0.625-0.35715-1.4286-1.25-1.25-1.7857,0.17858-0.53571,1.9643-1.1607,2.4107-1.1607,0.44643,0,2.5,1.0714,2.5,0.26785,0-0.80357-1.6964-2.2321-1.6964-2.2321s-0.98214-1.3393-1.25-1.7857c-0.26786-0.44643-1.875-1.9643-1.875-1.9643s-2.2321-2.7679-2.0536-4.1071c0.17857-1.3393-0.0893-3.3929-0.0893-3.3929s-0.625-1.3393-0.71428-1.6964c-0.0893-0.35714-1.3393-0.17857-1.3393-0.17857l-1.5179,1.5179s-1.4286-0.26786-1.5178-0.80357c-0.0893-0.53572-0.71429-2.5893-0.71429-2.5893s-0.35714-1.7857-0.44643-2.1429c-0.0893-0.35714-0.17857-1.9643-0.17857-1.9643l1.6964-1.3393,2.8571-1.3393,0.35715-1.1607-1.3393-1.6071-0.80357-0.625-2.1429-0.53571-1.9643,0.98214s-1.0714-0.625-1.4286-0.80357c-0.35714-0.17857-1.0714-0.89286-1.0714-0.89286l-0.89286-1.7857s0-1.0714-0.71429-0.89286c-0.71428,0.17857-0.89285,0.71428-0.89285,0.71428s-1.1607,1.1607-1.1607,1.5179c0,0.35714-0.625,1.4286-0.625,1.4286l-0.98214,1.0714s-1.6071,0.44643-1.9643,0.44643h-3.0357c-0.35714,0-1.1607,0.71429-1.5179,1.0714-0.35714,0.35714-1.1607,1.9643-1.1607,1.9643l-1.5179,1.0714-0.98214,0.625-2.3214,0.71429h-2.3214l-4.1071,0.71428-4.1071,0.625-1.0714,0.625-0.0893,0.98215s0.0893,0.89285,0.53572,0.98214c0.44642,0.0893,1.6071,0.80357,1.6071,0.80357l0.44643,0.89286-0.0893,0.89286-1.875,0.625z",name:"Altai Republic"},tv:{path:"m431.96,477.02,0.26786-1.6964s0.89286-0.625,1.6071-0.625c0.71429,0,1.6964,0.71428,2.4107,0.89286,0.71428,0.17857,2.7678,0.71428,3.0357,0.71428,0.26786,0,1.0714-0.80357,1.3393-1.25,0.26785-0.44643,1.9643-2.6786,1.9643-2.6786s0-1.25,0.625-1.6071c0.625-0.35715,1.875-0.35715,2.3214-0.35715,0.44643,0,1.6071-0.17857,2.3214,0.26786,0.71429,0.44643,1.1607,3.0357,1.1607,3.0357s0.89286,0.89285,1.1607,0.89285c0.26786,0,2.1429-0.80357,2.1429-0.80357s1.4286,0.17857,1.7857,0.44643c0.35714,0.26786,3.0357,0.89286,3.0357,0.89286s1.6964,1.6071,2.2322,1.6071c0.53571,0,1.6964,0.26786,2.6786-0.0893,0.98214-0.35714,2.8571-0.80357,3.3929-1.25,0.53571-0.44642,5.5357-1.9643,5.9821-2.5,0.44643-0.53571,7.0536-5.9821,7.0536-5.9821l2.1429-2.8571s-0.17857-1.875-0.17857-2.9464,1.0714-2.3214,1.4286-2.5893c0.35714-0.26785,2.8571,0.0893,3.3036,0.17858,0.44643,0.0893,4.375,0.89285,4.7321,0.80357,0.35714-0.0893,4.2857-0.44643,4.2857-0.44643l2.4107-2.2321s1.5179-0.35715,2.4107,0.0893c0.89286,0.44643,3.6607,2.5,4.1964,2.7679,0.53572,0.26786,3.75,2.3214,3.75,2.3214l1.6072,1.5178s1.25,0.71429,1.7857,0.44643c0.53571-0.26785,2.3214-0.89285,2.3214-0.89285l1.6071,0.53571,0.35714,1.25s0.53572,0.89286,0.53572,1.25-0.89286,1.6071-0.89286,1.6071-0.71428,0.53572-0.80357,1.1607c-0.0893,0.625-0.26786,4.1071-0.26786,4.1071s-0.0893,2.3214-0.0893,2.7679c0,0.44643-0.71429,2.1428-0.71429,2.1428l-1.4286,2.4107s-1.5179,1.3393-1.875,1.875c-0.35714,0.53571-2.2321,1.3393-2.4107,1.6964-0.17858,0.35714-0.71429,1.875-0.71429,1.875s-0.71429,1.875-0.71429,2.4107c0,0.53572-0.0893,3.3929-0.0893,3.9286,0,0.53572,0.53571,2.5,1.0714,3.2143,0.53571,0.71428,1.25,1.6071,1.25,2.0536,0,0.44643-0.80357,2.3214-1.1607,2.7679-0.35714,0.44643-4.8214,4.1964-4.8214,4.1964l-2.0536,1.25-2.1428,0.17857s-1.7857-0.98215-2.1429-0.89286c-0.35714,0.0893-2.3214,0.17857-2.6786,0.17857-0.35715,0-1.7857-0.89286-1.7857-0.89286s-1.6964-0.35714-2.1428-0.625c-0.44643-0.26785-1.7857-1.1607-1.7857-1.1607s-2.7679-0.26786-3.2143-0.26786c-0.44643,0-2.8572-0.17857-3.2143-0.53571l-2.0536-2.0536s-0.71429-1.4286-0.80357-1.9643c-0.0893-0.53571-0.17857-2.5-0.17857-2.5s-0.80358-0.80357-1.3393-1.25c-0.53571-0.44643-2.1429-0.89286-2.9464-0.89286-0.80357,0-3.9286,0.17858-3.9286,0.17858s-1.9643,0.53571-2.2321,0.625c-0.26786,0.0893-1.25,0.71428-1.875,0.80357-0.625,0.0893-2.0536,0.0893-1.9643-0.80357,0.0893-0.89286,1.25-1.6964,1.3393-2.0536,0.0893-0.35714-0.0893-1.0714-0.71429-1.3393-0.625-0.26786-2.1429-0.17857-3.0357,0.0893-0.89286,0.26786-2.3214,0.80358-2.8572,0.89286-0.53571,0.0893-3.3928,0.71429-3.3928,0.71429s-2.1429,0.89285-2.6786,1.0714c-0.53572,0.17857-3.8393,1.1607-3.8393,1.1607l-3.0357,1.5179-2.4107,1.1607-2.5893-0.26786-2.1429-0.98214-1.5179-0.71428-1.25-1.25c0-0.44643,0.35714-0.98215,0.35714-0.98215l2.4107-0.44643,1.7857,0.53572s1.25-0.35714,0.17857-1.0714c-1.0714-0.71429-4.4643-5.0893-4.4643-5.0893l-1.48-2.44s-1.0714-1.4286-1.0714-1.7857v-2.5893z",name:"Tuva Republic"},hk:{path:"m440.27,432.11c0.53572,0.35715,1.9643,1.875,1.9643,1.875l1.3393,1.6072s0.26785,0.625,1.1607,0.80357c0.89286,0.17857,2.0536,0.17857,2.0536,0.17857s0.35714-0.35714,0.80357-0.80357,0.625-0.98214,0.98215-1.25c0.35714-0.26786,0.89285-0.89286,1.3393-0.80357,0.44643,0.0893,0.71429,0.26785,1.3393,0.71428,0.625,0.44643,1.3393,1.25,2.2321,1.25,0.89286,0,2.5,0.80357,2.5,0.80357s0.44643,1.875,0.625,2.3214c0.17857,0.44643,0.53571,2.9464,0.53571,2.9464s0.35715,1.5179,0.71429,2.4107c0.35714,0.89285,0.98214,2.0536,1.0714,2.4107,0.0893,0.35714-0.0893,3.125-0.17857,3.3929-0.0893,0.26785-0.80357,1.875-0.89286,2.2321-0.0893,0.35714,0,2.5893,0,2.5893l1.5179,1.5179,0.625,1.875s-1.25,1.4286-1.4286,1.6964c-0.17858,0.26786-2.2322,1.3393-2.5893,1.875-0.35714,0.53571-1.4286,3.0357-1.4286,3.0357s-1.6071,1.9643-2.1429,2.2322c-0.53571,0.26785-2.8571,1.0714-3.125,1.5178-0.26786,0.44643-1.6964,1.6964-1.6964,1.6964l-2.7678,0.0893s-1.3393,0.17857-1.6072,0.625c-0.26785,0.44643-0.53571,1.4286-1.0714,1.875-0.53571,0.44643-1.0714,1.25-1.1607,1.6071-0.0893,0.35714-0.89286,1.0714-0.89286,1.0714s0.0893,0.71429-1.0714,0.625c-1.1607-0.0893-2.9464-0.35714-2.9464-0.35714l-1.7857-1.1607-1.6071,0.44643-0.625,0.80357-0.26786,0.89286-2.5,1.0714s-0.625,0.89286-1.1607,0.35714c-0.53572-0.53571-1.25-2.3214-1.25-2.3214l-0.625-2.5893v-1.5179s0.17857-1.0714,0.53571-1.25c0.35714-0.17857,2.5-1.6071,2.5-1.6071s1.3393-0.98215,1.6964-1.0714c0.35714-0.0893,2.1429-0.44643,2.1429-0.44643l1.9643-1.0714,1.5179-2.0536,1.3393-1.0714-0.44643-1.6071s-1.25-1.25-1.4286-1.6071c-0.17858-0.35715-0.44643-1.25-0.44643-1.25l1.6071-2.2322,0.0893-1.875s-1.0714-1.1607-1.1607-1.5178c-0.0893-0.35715-0.0893-1.25-0.0893-1.25l2.5893-1.5179,1.0714-1.875,1.1607-1.9643,0.53572-1.6964-3.5714-1.1607s-0.89286-1.25-0.71429-1.7857c0.17858-0.53572,1.7857-2.4107,1.7857-2.4107s0.89286-1.875,0.89286-2.3214c0-0.44642-1.0714-2.8571-1.0714-2.8571s0-0.71428,0.26785-1.1607c0.26786-0.44643,1.25-0.98215,1.25-0.98215z",name:"Republic of Khakassia"},ir:{path:"M569.41,325.78c-0.12,0.03-0.22,0.12-0.22,0.34,0,0.45,0.53,1.54,0.53,1.54l0.37,1.06s-0.26,0.88-0.62,1.06-1.78,0.63-1.78,0.63l-2.69,0.09s-1.61,0.26-1.88,0.44c-0.26,0.18-0.9,0.73-0.9,1.09s-0.44,1.96-0.53,2.31c-0.09,0.36-0.16,1.97-0.16,1.97s0.18,0.78,0.63,1.41c0.44,0.62,0.43,1.81,0.43,1.81l-1.25,1.16s0.26,1.67,0.35,2.03,1,3.4,1,3.4l0.43,2.5s-0.28,1.42-0.28,1.69-0.96,4.57-0.96,4.57-0.09,0.98-0.54,1.24c-0.44,0.27-2.06,1.88-2.06,1.88s-0.19,0.99-0.19,1.34c0,0.36,0.37,1.06,0.19,1.5-0.18,0.45-1.97,1.72-1.97,1.72l-2.59,0.72-1.31,0.88-0.29,3.84-0.09,2.22v1.81c0,0.36,0.27,1.34,0.72,1.78,0.45,0.45,2.16,1.97,2.16,1.97l2.21,0.53,1.16,0.78,0.1,2.25s-0.37,1.33-0.82,1.5c-0.44,0.18-2.75,1.82-2.75,1.82l-0.53,1.15,0.97,1.16,1.97,1.59s0.78,0.1,0.87,0.72c0.09,0.63-0.15,2.6-0.15,2.6l-0.47,1.43-1.25,1.07-1.41,1.43-0.19,1.6-1.24,0.81-2.79-0.28-1.59-1.35-1.78-0.68-2.25-0.63s-0.45-0.74-0.63-1.19c-0.17-0.44-0.34-1.68-0.34-1.68l-1.25-0.72-1.87,1-1.26,0.09-0.18,1.69-0.35,2.41-0.53,1.53-0.9,0.97-1.6,0.53s-1.89,0.28-2.25,0.37c-0.35,0.09-1.34,1.41-1.34,1.41s-0.53,0.8-0.44,1.15c0.09,0.36,0.19,1.25,0.19,1.25l-1.16,0.91-2.06,0.81s-0.44,0.9-0.44,1.25c0,0.36,0.16,1.97,0.16,1.97l0.37,1.5,0.1,1.63s0.7,0.7,0.43,1.06c-0.26,0.36-2.78,0.62-2.78,0.62l-1.93-2.78-1-1.5-1.07-2.34-1.06-0.69h-1.72l-1.59,1.69s-0.89,0.81-1.16,1.44c-0.27,0.62,0.01,1.78-1.15,1.78s-3.22-0.38-3.22-0.38l-1.25-1.15-1.97-0.44-1.34-0.19s-0.62,0.64-0.97,0.91c-0.36,0.27-1.35,1.25-1.35,1.25v0.62l-0.72,1.88-1.15,2.22-0.81,0.9-0.29,1.35,0.63,1.68s0.45,0.9,0.81,1.25c0.36,0.36,0.63,0.35,0.72,0.97,0.09,0.63,0.19,2.6,0.19,2.6l-0.38,2.4-0.97,1.88s-1.88,1.79-2.15,2.06-2.13,1.61-2.13,1.97-1.62,4.19-1.62,4.19l-1.25,2.25s-0.69,2.11-0.78,2.56-0.63,3.59-0.63,3.59-0.09,1.33-0.62,1.6c-0.54,0.26-3.69,0.81-3.69,0.81s-2.12,1.07-2.56,1.34c-0.45,0.27-0.72,0.63-0.72,0.63s-0.19,0.52-0.1,0.87c0.09,0.36,1.16,2.25,1.16,2.25l1.44,2.66,1.06,0.56,0.97,1.06,1.09,1.69v0.81l1.25-0.43s0.9-0.91,1.25-1c0.36-0.09,1.78,0.28,1.78,0.28l1.44,0.87s1.43,0.91,1.78,1c0.36,0.09,2.03,1.41,2.03,1.41l4.32,2.87s0.34,0.82,1.06,0.82c0.71,0,2.41-0.38,2.41-0.38l1.78-0.34,1.06,1.15,0.28,1.16,0.28,1.53,2.56-0.81,2.44-2.41s2.14-2.16,3.13-2.34c0.98-0.18,2.12,1.19,2.12,1.19s0.72,1.58,1.25,2.03c0.54,0.44,2.43,2.32,2.78,2.59,0.36,0.27,3.03,1.53,3.03,1.53l2.22,2.66c0.45,0.53,2.52,3.22,2.97,3.22s2.84,0.18,3.38,0.09c0.53-0.09,1.96,0.63,2.5,1.25,0.53,0.63,1.78,2.69,1.78,2.69s1.27,1.69,1.62,1.78c0.36,0.09,1.16,1.88,1.16,1.88s0.89,1.62,1.25,1.53,2.31-0.63,2.31-0.63,0.73,0.15,0.91,0.69c0.18,0.53,0.87,2.59,0.87,2.59s1.18,0.62,1.53,0.53c0.36-0.09,1.88-1.25,1.88-1.25s1.77-0.26,2.12-0.43c0.36-0.18,1.44-0.82,0.82-1.44-0.05-0.04-0.11-0.06-0.16-0.09,0.05-0.01,0.34-0.07,0.34-0.07l1.69-0.62,8.75-2.88s1-1.76,1-2.03,0.63-2.06,0.63-2.06l0.06-2.06,0.81-0.82,1.78-0.96,2.25-0.82,1.16-1.68,1.06-0.82,5.44-2.59,1.62-1.31,0.82-1.1,0.62-2.5,1.94-1.15s1.27-0.9,1.62-1.35c0.36-0.44,0.35-0.97,0.35-0.97l-0.63-0.81-1.25-1.25-0.34-0.81s0.18-0.96,0.62-1.41c0.45-0.44,0.71-0.63,1.07-0.72,0.35-0.09,1.25,0.35,1.25,0.35l1,1.09,0.87-0.47,0.63-1.78s0.81-2.14,0.9-2.5,0.25-1.69,0.25-1.69-0.25-3.05-0.25-3.5v-2.5s0.44-4.01,0.53-4.37,0.35-2.13,0.35-2.13l-0.1-1.87s-0.44-1.17-0.62-1.44-0.16-0.81-0.16-0.81,0.63-1.05,0.72-1.41c0.09-0.35-0.37-0.81-0.37-0.81s-0.54-0.71-0.72-1.06c-0.18-0.36-0.88,0.15-0.88,0.15l-1.44,0.91s-0.79,1.26-1.15,1.53-0.44,1.31-0.44,1.31l-0.28,4.38-0.81,1.34-1.53-0.09c-0.34-0.63-0.73-1.32-0.79-1.6-0.08-0.44-0.43-2.67-0.34-3.65s0.97-4.38,0.97-4.38l1.25-1.25s0.09-1.52-0.53-2.06c-0.63-0.53-1.87-1.07-2.41-1.34-0.53-0.27-1.72-1.35-1.72-1.97,0-0.63,0.92-1.77,1.19-2.13,0.27-0.35,3.93-1.51,4.28-1.78,0.36-0.27,3.57-2.15,3.57-2.15l3.65-1.07,2.78,0.25,2.13-0.34,1.34-2.5,2.88-0.81s1.87,1.25,2.4,1.25c0.54,0,2.22-0.72,2.22-0.72s1.07,0.64,1.25,1,1.63,1.34,1.63,1.34l1.93-0.37s1.35-0.44,2.07-0.35c0.71,0.09,1.7,0.98,2.06,1.07s2.75-0.72,2.75-0.72l1.09-1.5,2.5-1.16s1.35-1.08,1.35-1.53,0.15-3.22,0.15-3.22,1.25-0.61,1.88-0.97c0.62-0.35,2.15-0.18,2.15-0.18s0.17-1.34,0.35-1.79c0.18-0.44,1.33-1.34,1.78-1.43s2.44,0.37,2.44,0.37l1.15,0.97-1.34,1.44-0.72,1.15,0.72,0.72s2.31-0.45,2.94-0.72c0.62-0.26,2.24-0.44,2.78-0.53,0.53-0.09,2.84-1.15,2.84-1.15s0.91-1.08,0.91-1.44-0.2-1.71-0.38-2.16c-0.18-0.44-2.21-1.14-2.65-1.59-0.45-0.45-0.54-2.58-0.72-2.94s-0.9-1.9-0.63-2.44c0.27-0.53,1.06-1.78,1.06-1.78l-0.62-2.5s-0.01-2.48,0.34-2.84c0.36-0.36,2.07-1,2.07-1l2.93,0.81s0.9,1.15,1.35,1.06c0.44-0.09,2.15-0.53,2.15-0.53l0.25-3.56-0.87-1.16s-1.27-1.42-1.63-1.68c-0.35-0.27-1.25-1.25-1.25-1.25l-1.68-2.97-0.25-2.6-0.72-1.68-2.25-0.54-1.78,0.97-3.13,1.53-1.97,0.44-0.72-0.72-0.78-2.84-1-1.59-2.75-2.35-2.34-1.68-2.66-0.91-2.78-0.06s-2.49,0.8-2.84,1.15c-0.36,0.36-1.45,1.52-1.72,1.88-0.27,0.35-0.88,2.5-0.88,2.5l-0.28,2.12v2.5s-0.17,1.36-0.43,1.72c-0.27,0.36-3.94,2.03-3.94,2.03l-1.16,1.72-0.19,2.66-0.97,2.25-2.15,2.22s-0.6,0.63-0.69,0.09-0.62-2.22-0.62-2.22l-2.16-2.34s-0.44-1.23-1.06-0.78c-0.63,0.44-1.63,1.31-1.63,1.31l-3.28,1s-0.89,0.43-1.25,0.87c-0.36,0.45-2.97,0.72-2.97,0.72l-2.03,0.28-2.16,2.5s-0.62,1.26-1.24,0.82c-0.63-0.45-2.22-2.35-2.22-2.35l-0.82-1.59-0.53-2.94,0.16-5.56-0.06-2.56,1.5-2.6,1.87-3.03s0.44-1.61,0.44-2.06-0.53-3.03-0.53-3.03l-2.03-2.25-4.94-3.66s-0.63-0.71-0.63-1.25c0-0.53,0.1-2.31,0.1-2.31l1.15-1.97s0.63-0.35,0-1.06c-0.62-0.72-3.18-4.57-3.18-4.57l0.15-5.34s0.02-0.65-0.34-1.09c-0.36-0.45-2.59-3.28-2.59-3.28l-1.54-1.88s-0.24-0.62-0.68-0.62c-0.45,0-2.16,0.68-2.16,0.68s-1.17,0.82-1.44,0.29c-0.27-0.54-0.25-2.6-0.25-2.6s-0.29-1.16,0.16-1.25,1.62-0.44,1.62-0.44h1.5l0.29-1.43-1.79-1.97-1.53-1.35-1.4-0.06s-0.14-0.03-0.25,0z",name:"Irkutsk Oblast"},br:{path:"m513.39,476.39s1.6072,0.98214,2.3214,1.1607c0.71429,0.17857,2.8572,1.25,3.3929,1.3393,0.53571,0.0893,1.7857,0.71428,2.5,0.98214,0.71429,0.26786,1.875,0.98214,2.5893,1.3393,0.71428,0.35714,2.2321,0.53571,3.2143,0.625,0.98214,0.0893,2.8571,0.89285,3.4821,1.0714,0.625,0.17858,2.1429,1.0714,2.9464,1.1607,0.80357,0.0893,1.5179,0,2.7679,0.625s2.7679,1.3393,3.125,1.5179c0.35714,0.17857,0.71429,0.26785,0.80357,0.98214,0.0893,0.71428,0,2.6786,0.0893,3.0357,0.0893,0.35715,0.26785,1.6964,0.625,2.0536,0.35714,0.35715,1.6071,1.9643,2.5893,2.5893,0.98215,0.625,1.4286,1.6964,1.9643,2.1429,0.53571,0.44643,2.3214,1.875,2.8571,1.9643,0.53572,0.0893,2.3214,0.625,2.7679,0.625,0.44643,0,5.0893,0.44643,5.0893,0.44643s1.7857-0.80357,2.7679-1.25c0.98214-0.44643,4.0179-1.25,4.4643-1.5179,0.44643-0.26785,1.5178-0.98214,2.6786-1.0714,1.1607-0.0893,4.1964-0.0893,5.0893-0.0893,0.89286,0,4.1072,0.0893,4.1072,0.0893s2.3214-0.0893,3.125,0.44642c0.80357,0.53572,1.6071,1.6072,1.9643,2.1429,0.35715,0.53572,0.625,1.4286,1.0714,1.6071,0.44643,0.17858,1.4286,0.35715,1.875,0.35715,0.44643,0,2.1429-0.26786,2.5-0.35715,0.35714-0.0893,2.2321-0.44642,2.2321-0.44642l0.0893-2.6786s-0.0893-1.7857,0.53571-2.0536c0.625-0.26785,4.4643-1.5178,4.8214-1.6964,0.35715-0.17857,1.25-1.6071,1.25-1.6071s-2.5-0.625-3.3036-0.625c-0.80357,0-1.25-1.4286-1.25-1.4286l1.0714-1.5179,0.17857-1.9643,0.98214-1.0714,0.80358-1.3393s-0.625-0.98214-0.80358-1.3393c-0.17857-0.35715-0.0893-1.4286-0.0893-1.4286l2.2321-1.1607,3.125-0.35714,2.4107-1.1607,3.4821-2.4107,1.7857-0.625s1.4286,0.0893,1.875,0.26786c0.44643,0.17857,2.4107,0.53571,2.5893,0.17857,0.17857-0.35714,1.6071-1.9643,2.0536-2.3214,0.44643-0.35714,2.6786-2.1429,2.6786-2.1429l1.4286-1.1607s0.98215-1.25,1.4286-1.5179c0.44643-0.26786,1.875-1.0714,2.4107-1.0714,0.53571,0,0.98214,0,1.3393-0.26785,0.35715-0.26786,1.1607-1.25,1.3393-1.6072,0.17857-0.35714,1.0714-0.80357,1.6071-0.89285,0.53572-0.0893,5-1.3393,5-1.3393l2.6786-1.5179s1.875-1.5178,2.0536-1.875c0.17857-0.35714,1.6071-2.8571,1.6071-2.8571l0.98214-1.875s-0.26786-1.4286-0.71428-1.7857c-0.44643-0.35715-2.1429-1.6072-2.1429-1.6072l-2.5-1.25s-1.25-0.80357-1.1607-1.6071c0.0893-0.80357,7.5-5.625,7.5-5.625s0.98215-1.6964,1.0714-2.0536c0.0893-0.35714,0.89286-1.9643,1.25-2.3214,0.35715-0.35714,2.5-2.0536,2.5-2.0536s1.4286-0.625,1.875-0.71429c0.44643-0.0893,3.5714-1.5178,3.5714-1.5178l1.25-0.98215s0.44643-2.0536,0.44643-2.5893c0-0.53572-0.80357-3.8393-0.80357-3.8393s-1.0714-0.53571-1.4286-0.89285c-0.35715-0.35715-1.25-0.80358-2.1429-0.80358-0.89286,0-2.6786,0-3.125-0.625-0.44643-0.625-1.3393-1.25-1.6964-1.875-0.35714-0.625-1.1607-1.7857-1.25-2.2321-0.0893-0.44643-0.80357-2.4107-0.98214-2.7679-0.17857-0.35714-1.0714-2.3214-1.0714-2.3214l-2.0536-3.5714-1.0714-2.7679,0.26786-2.0536,1.0714-0.625,0.80357-1.25,1.4286-1.875,0.625-0.98214-2.3214-1.25s-1.875,0.44642-2.2321,0.71428c-0.35715,0.26786-0.98215,1.3393-0.98215,1.3393s0.35715,0.625,0,0.80357c-0.35714,0.17857-2.3214,0.44643-2.3214,0.44643l-1.25,0.89285-0.71429,1.9643v1.6071l-0.98214,0.98215-2.0536,1.0714-1.3393,0.98215-1.1607,1.3393s-1.6964,0.0893-2.0536,0.0893c-0.35714,0-2.0536-0.625-2.0536-0.625l-2.6786,0.17857-2.3214-0.0893-1.9643-1.4286-1.4286,0.26786-2.0536-0.35714s-0.80357-0.71429-1.1607-0.71429c-0.35714,0-2.1429,0.625-2.1429,0.625l-1.5178,1.3393-0.98215,1.0714-2.6786,0.26785-1.9643-0.0893-2.3214,0.44643-2.2322,1.1607-3.3928,1.7857-2.3214,0.98215-1.3393,0.89285-0.89285,1.1607s-0.0893,0.35714,0.0893,0.71428c0.17857,0.35715,0.98214,1.4286,0.98214,1.4286l1.6072,0.80357,0.98214,0.89285,0.83,0.91,0.0893,1.1607-1.6071,2.1428-0.35714,2.2322-0.35715,1.875v2.6786l0.80358,1.6071,1.1607,1.4286s0.26786-0.44643,0.71429-0.80357c0.44642-0.35714,1.1607-2.3214,1.1607-2.3214v-2.0536l0.0893-2.0536,0.98214-1.875,1.6964-1.25,1.1607-0.17857,0.89286,1.1607s-0.0893,1.25-0.26786,1.6964c-0.17857,0.44643-0.53571,0.98214-0.35714,1.3393,0.17857,0.35714,0.89286,1.4286,0.89286,1.4286l-0.17858,2.7678s-0.35714,2.3214-0.35714,2.6786c0,0.35714-0.26786,2.5893-0.26786,3.0357v2.5893c0,0.89285,0,1.5178,0.0893,2.1428s0.0893,1.6964-0.0893,2.1429c-0.17857,0.44643-0.44642,1.25-0.71428,1.9643-0.26786,0.71428-0.35714,1.25-0.44643,1.9643-0.0893,0.71429-1.0714,1.6964-1.0714,1.6964s-0.71428,0.26786-0.98214-0.625-1.6071-0.98214-1.6071-0.98214-0.71429,0.44642-1.0714,0.98214c-0.35715,0.53571-0.89286,1.25-0.35715,1.6964,0.53572,0.44643,1.5179,1.6071,1.5179,1.6071s0.625,0.35714,0.26786,1.1607c-0.35714,0.80358-1.1607,1.0714-1.6964,1.4286-0.53571,0.35714-1.5179,0.89285-1.6964,1.25-0.17857,0.35714-0.71428,1.4286-0.71428,1.7857,0,0.35714-0.44643,2.0536-0.44643,2.0536l-1.3393,0.98214-1.875,1.3393s-2.2321,0.71429-2.6786,0.98214c-0.44643,0.26786-2.5,1.4286-2.8571,1.7857-0.35715,0.35714-0.53572,1.25-1.4286,1.6071-0.89286,0.35714-3.125,1.3393-3.125,1.3393l-0.98215,0.26785s-0.35714,0.80357-0.35714,1.1607c0,0.35714-0.26786,2.2321-0.26786,2.7678,0,0.53572-0.26785,0.98215-0.625,1.6964-0.35714,0.71429-0.98214,1.6964-1.6071,1.7857-0.625,0.0893-2.7679,0.71428-3.2143,0.89285-0.44642,0.17858-2.5,0.89286-3.0357,0.98215-0.53571,0.0893-2.8571,1.0714-2.8571,1.0714l-0.71429,0.80357-1.5179,1.1607-2.0536,0.71429-1.4286,0.80357-1.6964-1.0714-0.35714-0.98214-0.44643-1.25s-0.35714-0.35715-1.25-0.26786c-0.89286,0.0893-2.0536,0.44643-2.0536,0.44643s-1.3393-1.4286-1.6071-1.875c-0.26786-0.44643-1.875-3.125-1.875-3.125l-1.54-1.99-1.34-1.61s-1.1607-0.71429-1.6964-0.71429c-0.53571,0-2.6786-0.17857-3.0357-0.17857-0.35715,0-1.6072-0.89285-1.7857-1.1607-0.17857-0.26786-3.4821-4.2857-3.4821-4.2857l-1.875-0.89285-2.8571-1.9643-1.9643-2.2321-1.0714-1.6964-0.89286-0.625s-0.89285-0.26786-1.25,0.0893c-0.35714,0.35714-0.80357,0.53571-1.3393,0.89285-0.53572,0.35715-1.875,1.4286-1.875,1.4286l-1.3393,1.25-1.9643,1.1607-1.4286,0.89286s-0.89286,1.0714-0.98215,1.6071c-0.0893,0.53571-0.26785,1.1607-0.26785,2.0536,0,0.89286-0.35715,3.3036-0.35715,3.3036z",name:"Buryat Republic"},zb:{path:"m588.41,500.07s1.1364,1.1364,1.6415,1.5152c0.50508,0.3788,1.6415,1.6415,2.2728,1.894,0.63134,0.25254,2.6516,1.6415,2.6516,1.6415s2.9042,1.0102,3.4093,1.0102h5.5558c1.1364,0,3.283,0.75762,3.283,0.75762s0.88388,0.63134,2.0203-0.25254c1.1364-0.88389,2.3991-1.6415,2.3991-1.6415s0.75762,0.25254,1.6415,0.63135c0.88388,0.3788,1.5152,1.2627,2.1466,1.2627,0.63135,0,3.4093-1.7678,3.4093-1.7678s2.6516-2.2728,3.1567-2.7779c0.50507-0.50508,2.5254-0.88388,3.5355-1.2627,1.0102-0.37881,5.4296-0.50508,5.4296-0.50508s1.894-1.2627,2.2728-1.894c0.37881-0.63135,1.7678-3.4093,1.894-3.9143,0.12627-0.50508,2.7779-2.3991,3.4093-2.9042,0.63135-0.50508,4.9245-2.5254,5.177-3.0305,0.25253-0.50508,2.0203-1.5152,2.0203-1.5152l3.1567,1.2627,2.9042,1.2627s2.2728,0.25254,2.9042,0.25254c0.63135,0,2.2728-0.50508,2.7779-0.88388,0.50508-0.37881,3.1567-1.7678,3.1567-1.7678s3.283,0.25254,3.7881,0.50508c0.50508,0.25253,1.7678,0.88388,2.3991,1.1364,0.63135,0.25254,3.9144,1.389,3.9144,1.389s3.6618,0.3788,4.4194,0.25254c0.75762-0.12627,2.5254-1.7678,2.7779-2.3991,0.25254-0.63134,0.75762-2.3991,1.6415-2.9042,0.88388-0.50507,4.2932-1.5152,4.2932-1.5152s1.389-0.12627,1.5152-1.6415c0.12627-1.5152,0.37881-2.9042-0.25254-3.5355-0.63135-0.63134-1.389-0.88388-1.7678-1.7678-0.3788-0.88389,0.88389-8.9651,0.88389-8.9651l1.6415-3.7881,1.2627-4.2932s1.389-2.2728,1.2627-2.9042c-0.12627-0.63134-0.37881-3.9143-0.37881-3.9143l-1-2.41s-1.1364-0.88388-1.5152-1.389c-0.37881-0.50507-1.0102-0.37881-1.5152-1.0102-0.50508-0.63135-1.7678-1.1364-1.7678-1.7678,0-0.63134-0.25254-1.5152,0.37881-2.0203,0.63134-0.50508,3.0305-3.0305,3.7881-3.4093,0.75761-0.37881,4.5457-2.5254,4.9245-3.0305,0.37881-0.50507,1.389-1.6415,1.7678-2.1466,0.37881-0.50508,0.88388-0.50508,0.63135-1.6415-0.25254-1.1364-2.6516-3.5355-2.6516-3.5355s-0.63135-0.88389-1.5152-0.88389c-0.88389,0-3.1567-0.3788-3.1567-1.0102,0-0.63134-0.37881-1.2627-0.12627-2.0203,0.25254-0.75762,2.0203-2.2728,2.2728-2.9042,0.25254-0.63135,0.37881-1.894,0.37881-1.894l-2.3991-1.6415-2.6516,0.12627s-0.25254-0.25253-0.25254-0.88388c0-0.63134,0.63135-2.7779,0.88388-3.283,0.25254-0.50507,0.50508-1.5152,0.63135-2.1466,0.12627-0.63134-0.25254-1.7678-0.75761-2.3991-0.50508-0.63135-1.5152-1.389-1.5152-1.389s-1.1364-0.50508-1.6415,0.12627c-0.50508,0.63134-1.1364,1.5152-1.1364,1.5152s-1.1364,0.12627-1.6415-0.25254c-0.50508-0.37881-0.88388-4.1669-0.88388-4.1669s-0.88389-1.2627-1.6415-1.389c-0.75762-0.12627-1.6415-0.12627-2.1466,0.50508-0.50507,0.63134-1.0102,1.0102-1.7678,1.5152-0.75762,0.50508-1.2627,1.1364-1.894,0.75762-0.63134-0.37881-1.389-0.75762-1.2627-1.389,0.12627-0.63135,0.75761-1.6415,0.88388-2.1466,0.12627-0.50507-1.7678-2.1466-1.7678-2.1466l-3.283-0.12627-1.1364-1.1364c-0.12627-0.75761,0.25254-2.5254,0.25254-2.5254l-1.389-1.5152-2.7779-4.0406-1.2627-1.894-3.1567-0.3788-1.1364-2.0203-0.25254-2.9042-1.2627-0.3788h-1.2627l-1.6415,0.63134-1.6415-1.0102-3.0304-0.63135-1.894,0.75762-0.37881,1.0102-0.12627,1.894,0.37881,1.894-0.25254,1.5152-0.50507,2.0203,0.75761,2.0203,0.50508,1.389,1.7678,1.5152,0.88389,0.88388,0.25254,1.894s-0.25254,1.0102-0.75762,1.389c-0.50507,0.37881-3.0305,1.2627-3.0305,1.2627s-2.3991,0.63134-2.9042,0.75761c-0.50508,0.12627-3.4093,0.75762-3.4093,0.75762l-1.389,1.5152-0.25254,1.6415,0.75762,2.5254,1.7678,3.283,1.6415,3.7881,0.75762,2.9042,2.0203,2.2728,1.2627,1.1364,2.1466,0.25254,2.2728,0.50507,1.7678,1.389,0.50507,1.6415,0.12627,1.894v2.3991l-1.894,1.6415-3.0305,1.2627-2.5254,1.2627-2.1466,2.0203-1.0102,1.7678-0.75761,2.1466-2.6516,1.6415-1.894,1.389-2.0203,1.5152-0.88388,0.88388v0.75762l0.88388,0.88388c0.50508,0.12627,2.1466,1.2627,2.1466,1.2627l1.894,1.0102s0.75762,0.88389,0.88389,1.389c0.12627,0.50508,0,1.5152-0.12627,2.1466-0.12627,0.63134-2.0203,3.6618-2.0203,3.6618l-1.894,1.6415-3.6618,2.0203-3.1567,0.63135-2.1466,1.0102s-0.75761,0.37881-1.1364,1.0102c-0.3788,0.63135-1.6415,1.2627-1.6415,1.2627l-2.2728,0.50507-1.0102,0.88388s-1.2627,0.88389-1.6415,1.389c-0.37881,0.50508-3.5355,2.9042-3.5355,2.9042l-0.88389,1.389s-0.75761,1.1364-1.389,1.2627c-0.63134,0.12627-2.2728,0.12627-2.2728,0.12627l-2.3991-0.88388-1.6415,1.389s-1.6415,0.37881-2.1466,0.88388c-0.50508,0.50508-2.7779,1.7678-2.7779,1.7678l-2.3991,0.63134s-1.894-0.25253-2.5254,0.12627c-0.63134,0.37881-1.2627,1.5152-1.2627,1.5152l0.63135,1.5152,0.25254,0.88388-0.88389,1.894s-1.0102,0.75762-1.0102,1.2627-0.88388,2.0203-0.88388,2.0203-0.50508,0.88388,0.25253,1.389c0.75762,0.50507,2.5254,0.88388,2.5254,0.88388s1.389-0.12627,1.5152,0.50508c0.12627,0.63134-1.1364,1.6415-1.1364,1.6415l-2.6516,0.75762-2.0203,1.2627-0.88389,1.6415z",name:"Zabaykalsky Krai"},am:{path:"m662.32,397.46,4.6429-0.17857,2.3214-0.17858,3.5714-1.7857,2.6786,0.35714,3.5714,1.0714,2.1429,1.0714,2.6786,0.53571,4.4643-0.53571,3.0357,0,2.3214,0.53571,2.8571,2.1429,2.1429,0.89286,2.8571,0.35714,2.3214-1.7857,2.3214-0.71429,1.9643,0,2.1429,1.4286,2.1429,0.71429,2.5-0.71429,1.7857-1.9643,1.7857-1.25,4.1072,0,2.5-1.4286,2.1428-0.89286,3.75,0,1.4286,0,1.25-0.71429,0.53571-2.5,1.6071-1.0714,4.2857-2.3214,2.3214-0.89286,3.5714-1.9643,2.8572-1.4286,5-0.89286,3.0357,0,1.6071,1.4286l-0.37,3.2s-1.25,1.6071-1.9643,2.6786c-0.71429,1.0714-1.6072,2.6786-1.9643,3.3929-0.35714,0.71429-1.25,2.1429-1.25,2.1429s-0.53571,2.8571-0.71429,3.5714c-0.17857,0.71428-1.0714,2.8571-1.0714,2.8571s-1.25,1.7857-1.0714,2.5c0.17857,0.71428,1.25,1.25,1.25,1.25l0.89285,0.71428,3.2143-0.71428s1.7857-0.17857,2.6786-0.17857c0.89286,0,2.5,0.89285,2.5,0.89285l0.53572,1.9643,0.89285,2.6786s0.17857,0.53572,1.6072,0.53572,2.6786-1.4286,2.6786-1.4286l0.17857-2.3214s1.0714-0.89286,1.9643-0.89286c0.89286,0,2.5-0.53572,2.5-0.53572l1.25-2.1428,0.35715-2.5,1.9643-1.7857,2.3214,0.17857c0.71,0.19,3.03-1.6,3.03-1.6l1.4286-1.4286s0.89285-1.0714,1.9643-0.35714c1.0714,0.71428,2.3214,2.5,2.3214,2.5v2.8571l0.53572,1.6071,1.9643,1.7857s1.6071,0.71428,1.25,1.6071c-0.35714,0.89286-2.8571,1.9643-3.5714,1.9643-0.71428,0-3.5714,0.89285-3.5714,0.89285l-1.6071,0.17857-1.96,0.89s-0.71429,0.17857-0.17858,1.0714c0.53572,0.89286,1.9643,1.7857,1.9643,1.7857l1.25,0.89286,0.35714,1.9643-3.2143,2.3214-1.6072,3.0357-0.17857,2.1429-1.6071,2.3214-2.6786,0.89285-1.6071,1.4286,1.9643,1.9643,0.35714,1.7857-2.3214,2.3214-1.25,3.5714,1.6071,2.8571s3.5714,1.4286,4.2857,1.6072c0.71429,0.17857,4.8214,0.71428,4.8214,0.71428s1.4286,0.71429,1.9643,1.25c0.53571,0.53572,0.71428,3.2143,0.71428,3.2143l0.35715,2.5s0,0.53571,0.71428,1.0714c0.71429,0.53571,0,3.5714,0,3.5714l-0.71428,2.8571-0.53572,1.7857-1.25,1.7857-3.2143,0.35714-4.1072-0.17857-2.8571-1.4286-1.77-0.53-3.04,1.07h-3.3929-2.5l-3.2143,0.89286s-2.6786-0.35714-3.5714-0.53572c-0.89286-0.17857-3.5714-2.1428-3.5714-2.1428l-3.22-2.67-1.07-2.15-1.43-2.14-1.7857-1.0714-1.0714-1.9643s0-1.0714-0.71428-1.6072c-0.71429-0.53571-2.6786-0.71428-2.6786-0.71428l-0.89286-1.25-1.7857-2.8571-1.9643-2.5s-1.25-1.4286-1.9643-1.6072c-0.72-0.18-1.79-0.36-2.15-1.43-0.35715-1.0714-2.3214-2.6786-2.3214-2.6786l-2.8572-1.4286-2.6786-1.4286-3.0357-0.17857-2.6786-0.17858s-0.71429,0.89286-1.6072,1.0714c-0.89285,0.17857-4.4643-0.35714-4.4643-0.35714l-3.5714-1.25-2.3214,0.35714-1.9643,0.89286-1.6072,1.4286-3.75,0.71429s-3.2143,0.71428-3.3928,0c-0.17858-0.71429-2.8572-4.1072-2.8572-4.1072l-1.7857-1.4286h-1.6071l-1.0714-1.0714v-2.1428l2.1428-2.1429,0.17858-1.4286-0.89286-1.4286-1.25-0.89286-2.1429-0.17857s-0.71428,1.0714-0.71428,0,0.71428-3.3929,0.71428-3.3929l0.89286-2.3214-0.35714-1.9643-1.25-1.7857-1.7857-0.71428-1.25,0.71428-1.25,0.71429-1.25-0.17857s-0.35714-0.71429-0.35714-1.4286c0-0.71429-1.25-2.6786-1.25-2.6786l-0.71429-0.71428-1.7857-0.17857-0.89286,0.89285-1.4286,0.89286-2.5,0.53572s-0.35714-0.35715-0.17857-1.0714c0.17857-0.71429,0.71428-2.5,0.71428-2.5l-1.25-1.4286-0.51-0.52-1.79-0.18h-2.1429l-0.35714-1.0714v-2.1429z",name:"Amur Oblast"},ch:{path:"M876.72,53.094c-0.34,0-0.66,0.094-0.66,0.094l-1.78,2.124-4.47,1.969s-6.05,2.853-7.12,3.031c-1.07,0.179-1.44,1.969-1.44,1.969s0.37,2.514,0.19,3.407c-0.18,0.892-1.44,1.406-1.44,1.406s-2.32,1.428-2.5,2.5c-0.18,1.071,0.91,2.156,0.91,2.156s2.66,0.906,3.37,0.906c0.72,0,2.85-0.375,3.56-0.375,0.72,0-0.34,1.625-0.34,1.625l-0.91,1.782-2.31-0.907-3.03-0.719s-2.14,0.554-3.03,0.376c-0.89-0.179-2.31-1.438-2.31-1.438l-2.69,0.531-2.88,0.375h-1.06s-0.53,2.656-1.25,2.656c-0.71,0-2.12,1.782-2.12,1.782l-3.41,0.187-2.84,2.875s-2.86,2.496-3.75,3.032c-0.9,0.535-1.61,0.531-2.5,0.531-0.9,0-2.5,1.062-2.5,1.062l-4.85,3.219-5.15,1.062-3.07,0.907s-1.04,2.861-1.93,3.219c-0.9,0.357-2.88,1.968-2.88,1.968l-3.22,1.938-2.12,1.966-2.16,3.03-1.25,1.97-1.06,2.5v3.22s-0.91,0.72-1.63,0.72c-0.71,0-2.84,1.25-2.84,1.25s-0.9,2.51-1.44,3.41c-0.53,0.89-2.85,1.76-3.56,2.12s0.34,1.25,0.34,1.25l2.35,0.53,0.53,2.16,2.69,0.53h2.65,3.75s1.44,1.07,1.97,1.78c0.54,0.72,1.63,1.78,1.63,1.78l-1.82,2.5-2.5,1.1-2.31-0.72s-1.6,1.25-2.31,1.25c-0.72,0-2.16,1.59-2.16,1.59s-1.42-0.71-2.31-1.25c-0.89-0.53-1.96,0-3.03,0s-1.26,1.26-1.44,1.97-0.87,2.84-0.87,2.84-1.09,1.79-1.63,2.5c-0.53,0.72-2.66,2.69-3.37,3.22-0.72,0.54-1.81,0.54-4.13,0.72s-1.07,1.26-1.25,2.16c-0.18,0.89-1.06,3.03-1.06,3.03s-2.15,1.24-2.69,2.31c-0.53,1.07-0.53,2.67-0.53,3.56,0,0.9,0.53,1.82,0.53,1.82h1.06l0.19-0.72,0.19-1.97,0.72-1.06,0.72,0.53,3.9,1.59,5,3.41,0.38,0.87-0.38,5.19-1.06,2.84-4.09,4.47-2.88,3.94-0.34,2.5,1.25,0.19h1.59s-0.17,1.42-0.53,2.31,0.34,1.59,0.34,1.59l2.88,1.25,3.75,0.38,4.62-0.19,2.69,3.41,2.16,1.78h4.47c1.25,0,1.06,2.5,1.06,2.5l1.06,1.59,3.94-0.34s5.36-1.44,6.25-1.44,3.2-0.53,3.56-1.25c0.36-0.71,2.69-1.59,2.69-1.59l1.97-0.91h3.75s2.66-1.24,3.37-1.59c0.72-0.36,0.74-1.98,1.1-2.69,0.35-0.71,0.87-3.03,0.87-3.03l1.25-2.5h1.63l1.78-1.06,1.06-1.63,1.44-0.34,2.31-1.44,1.06-1.25s0.91-0.89,1.63-1.78c0.71-0.89,0.87-1.6,1.4-2.31,0.54-0.72,2.51-1.44,3.22-1.97,0.72-0.54,2.15-2.14,2.5-3.03,0.36-0.9,1.63,0,1.63,0l4.09,0.68s3.22-1.04,5.72-1.93c2.5-0.9,1.08,1.06,0.91,1.78-0.18,0.71,0,3.2,0,4.09s0.88,3.22,1.78,4.47c0.89,1.25,3.9-1.44,3.9-1.44s3.05-1.78,3.94-2.5c0.89-0.71,3.94,0,3.94,0h6.06v-2.84c0-0.72,1.43-3.23,1.97-4.13,0.54-0.89,1.25-3.56,1.25-3.56l0.72-2.5-0.19-4.81s1.79-1.97,3.22-1.97,2.69,1.59,2.69,1.59l4.28,0.91,1.44-0.53s-0.19-3.22-0.19-3.94c0-0.71-0.19-2.84-0.19-2.84l-0.53-3.22s-0.54-2.51-0.72-3.41c-0.18-0.89-0.87-2.12-0.87-2.12l-2.5-1.63,1.25-0.87,4.09-0.38s1.96-2.66,2.5-3.37c0.54-0.72,2.84-2.35,2.84-2.35v-2.5s-1.04-2.13-1.93-3.03c-0.9-0.89-2.35,0.18-3.07,0.53-0.71,0.36-3.03-0.34-3.03-0.34s-1.41-0.88-2.12-0.34c-0.72,0.53-1.63,1.06-1.63,1.06l-1.4-1.06-1.97,1.78-1.44-0.72s-2.84-1.79-4.09-1.25c-1.25,0.53-1.97-0.72-1.97-0.72h-2.5s-0.56,1.25-1.1,1.97c-0.53,0.71-3.03,0.87-3.03,0.87l-2.84,0.91-2.69,3.75-2.69,0.53,1.25-2.5,0.19-1.59-3.03-0.38s2.13-0.88,2.84-1.06c0.72-0.18,3.41-1.06,3.41-1.06l1.97-0.91,0.34-1.59s1.78-3.41,1.78-4.13c0-0.71-0.68-3.22-0.68-3.22l-0.91-2.31s-2.5-4.63-3.22-5.34c-0.71-0.72-1.05-1.78-2.12-1.78-1.08,0-3.07,0.68-3.07,0.68l-1.4,0.91-1.25-1.06s-2.17-1.98-3.6-2.159c-1.42-0.178,0.38-0.719,0.38-0.719l0.87-1.593s-0.16-1.973,0.38-2.688c0.53-0.714,1.97,1.25,1.97,1.25s2.67,1.438,3.56,1.438,1.78,0.531,1.78,0.531,3.41-0.371,4.13-0.906c0.71-0.536,0.68-2.313,0.68-2.313l0.19-2.687,0.72-1.25,1.25-1.782s0.36-1.964,1.25-2.5c0.89-0.535,1.79,0,2.69,0,0.89,0,2.31,1.626,2.31,1.626l1.59,0.718,2.5-1.437s1.28-2.139,1.82-3.031c0.53-0.893,2.84-1.782,2.84-1.782l2.84-2.156,1.44-3.219s2.14-1.973,2.5-2.687c0.36-0.715-0.34-1.782-1.59-1.782h-1.78l-1.82-1.062-1.93-0.188-3.07-1.781-3.18-0.187h-3.75c-0.9,0,0-0.875,0-0.875l2.5-1.625,0.68-2.5-1.06-1.25-2.5-0.532,1.78-1.25,0.53-1.25-2.31-0.531v-2.5s-0.35-1.785-0.53-2.5c-0.09-0.357-0.45-0.437-0.78-0.437zm-77.19,16.062c-0.22-0.01-0.48,0.081-0.78,0.282-1.61,1.071-3.94,2.312-3.94,2.312-1.07,0.357-1.79,1.42-1.97,2.312-0.17,0.893-0.53,2.88-0.53,3.594,0,0.715,0.2,2.496,1.1,3.032,0.89,0.535,3.03,1.598,3.03,2.312s-0.56,2.321,0.15,2.5c0.72,0.179,1.44-0.522,1.97-1.594,0.54-1.071,0.36-3.419,0.72-4.312s1.45-2.491,1.63-3.563c0.17-1.071-0.19-5.187-0.19-5.187s-0.24-1.644-1.19-1.688z",name:"Chukotka Autonomous Okrug"},ha:{path:"m779.82,276.93c0.53572-0.71428,1.4286-1.4286,1.9643-2.3214,0.53571-0.89285,1.7857-2.5,1.7857-2.5s1.7857-0.17857,4.1072,0.17858c2.3214,0.35714,4.4643,1.4286,5.7143,2.1428,1.25,0.71429,2.6786,1.25,3.0357,2.3214,0.35714,1.0714,1.6071,2.1429,1.6071,3.3929s-1.4286,3.5714-1.4286,4.2857c0,0.71429-0.17857,2.5,0.71428,3.3929,0.89286,0.89286,0.71429,1.6071,1.7857,1.4286,1.0714-0.17857,3.9286-1.0714,5-1.25,1.0714-0.17857,3.3929,0,5,0.53572,1.6071,0.53571,2.8571,0.89285,3.2143,1.6071,0.35715,0.71428,1.0714,1.4286,0.89286,2.5-0.17857,1.0714-2.5,2.8571-2.5,2.8571l0.17857,1.4286,0.89286,1.6072s1.6071,0.71428-0.35714,0.89285c-1.9643,0.17857-3.0357-0.71428-3.0357-0.71428s0.17857-0.17857,0-1.0714c-0.17857-0.89286-0.71428-1.7857-1.7857-1.4286-1.0714,0.35714-2.3214,1.9643-3.0357,2.5-0.71428,0.53571-2.8571,3.0357-2.8571,3.0357s-1.9643,0.71429-2.8571,1.7857c-0.89286,1.0714-4.1071,4.6428-4.1071,4.6428s-0.17858,1.25-1.0714,2.5c-0.89286,1.25-2.3214,2.3214-2.5,3.5714-0.17857,1.25,0,4.1071,0,4.1071s1.4286,1.0714,1.6071,2.3214c0.17857,1.25-0.89286,1.9643-1.25,2.8572-0.35714,0.89285-1.4286,0.53571-1.4286,1.7857s0.17857,5.7143,0.17857,5.7143l-0.35714,4.8214-0.35715,4.1072s-1.0714,1.9643-1.25,3.2143c-0.17857,1.25-0.35714,2.6786-0.35714,3.3929,0,0.71429-0.17857,3.0357-0.17857,3.75,0,0.71429-0.71429,1.9643-0.89286,2.6786-0.17857,0.71429-1.0714,1.25-0.17857,1.9643,0.89286,0.71428,1.9643,1.9643,1.9643,1.9643l-1.7857,3.3929-0.17857,1.9643-1.7857,3.3928-1.25,3.75-0.35715,4.1072-0.71428,1.6071-3.2143,4.1071,0.35715,2.6786s2.1428,1.0714,2.8571,1.0714c0.71428,0,3.3929,0.53572,4.4643-0.17857s2.5-1.4286,3.2143-1.7857c0.71429-0.35715,1.6071-0.89286,2.8571,0.35714s2.5,4.4643,2.5,4.4643,0.17857,1.4286,1.4286,1.0714c1.25-0.35714,1.9643-2.1428,1.9643-2.1428l-1.0714-2.1429,0.53572-2.6786-0.53572-1.7857-1.6071-2.5s-1.7857-1.4286-2.5-1.4286c-0.71429,0-3.75,1.4286-3.75,1.4286s-1.9643,2.3214-1.6071,1.4286c0.35714-0.89285,1.9643-3.3928,1.9643-3.3928l1.6071-0.35715,1.25-1.7857s0.89286-0.71429,1.9643-0.71429,3.2143-1.25,3.2143-1.25,1.25-2.6786,1.0714-0.89285c-0.12,1.78-1.72,4.28-1.72,4.28l1.0714,2.1429,1.9643,2.1429,0.53572,1.7857-0.17857,2.6786,2.3214,1.4286v1.6072,2.8571l1.7857-0.71429c0.71429-0.71428,2.1429-4.2857,2.1429-4.2857l0.89285-3.2143v-2.1428s-1.6071-1.7857-0.89285-1.9643c0.71428-0.17857,4.6428-2.1429,4.6428-2.1429s2.1429-0.53571,3.0357-0.53571c0.89286,0,4.1071,0.17857,4.8214,0.35714,0.71428,0.17857,4.4643,1.6071,4.4643,1.6071s4.4643,1.25,5.1786,1.25c0.71429,0,1.9643,1.7857,1.9643,1.7857s-0.89286,1.9643,0.53571,2.8571c1.4286,0.89286,4.8214,3.0357,4.8214,3.0357l3.75,2.1428s1.4286,3.3929,1.4286,4.2857c0,0.89285-0.17857,4.6428-0.17857,5.7143,0,1.0714,0,5,0.53572,5.7143,0.53571,0.71428,1.0714,2.3214,2.1428,3.2143,1.0714,0.89286,3.2143,4.2857,3.2143,4.2857l2.5,1.25,3.0357,6.9643s1.4286,1.4286,1.6072,2.3214c0.17857,0.89286,1.6071,3.0357,1.7857,3.75,0.17857,0.71429,1.6071,5,1.7857,5.7143,0.17857,0.71428-0.53572,8.5714-0.53572,8.5714l0.53572,3.3928s0,1.25-0.89286,1.9643c-0.89286,0.71429-3.5714,1.6071-3.5714,1.6071l-1.4286,0.17857-1.4286-1.7857-0.53572-2.6786-3.0357-3.0357s-1.9643-1.25-2.6786-0.71428c-0.71429,0.53571-2.3214,1.9643-2.3214,1.9643s-0.89286,1.7857-1.25,2.5c-0.35714,0.71429-1.4286,1.25-0.89286,2.3214,0.53572,1.0714,1.9643,2.6786,1.9643,2.6786s0.35714-0.71428,2.1428-0.53571c1.79,0.18,2.14,2.68,2.14,2.68l-0.89286,3.2143s-1.9643,1.25-2.6786,1.6071c-0.71428,0.35714-2.8571,1.25-1.7857,2.1429,1.0714,0.89285,2.3214,1.25,2.3214,1.25s0.71428,1.25,0,1.9643c-0.71429,0.71429-2.3214,2.1429-2.3214,2.1429s-1.7857,0.35714-3.0357,1.25-3.2143,1.4286-4.2857,1.6071c-1.0714,0.17857-2.8571,1.25-4.1071,0s-2.1429-0.89285-2.5,0.17857c-0.35715,1.0714-1.6072,0.89286-1.7857,1.9643-0.17857,1.0714,0,2.8571,0.35715,3.5714,0.35714,0.71428,0,3.0357,0,3.0357s-2.3214,1.9643-2.5,1.25c-0.17858-0.71428,0.17857-2.3214-0.35715-3.2143-0.53571-0.89286-2.3214-2.5-2.3214-2.5s-2.8571-1.4286-1.7857-2.3214c1.0714-0.89286,2.8571-2.6786,3.2143-3.2143,0.35714-0.53571,0.35714-3.0357,0.35714-3.0357s-2.1429-0.89286-2.6786-1.7857c-0.53572-0.89285-1.0714-3.3928-1.0714-4.1071,0-0.71428-0.71429-3.3929,0.17857-3.75,0.89286-0.35714,2.8571-1.9643,2.8571-1.9643l0.53572-1.9643s-0.53572-0.35714-2.1429-0.35714c-1.6071,0-2.5-0.17857-3.9286,0.89285s-1.4286,1.0714-2.5,2.5-2.1429,2.6786-3.2143,3.2143c-1.0714,0.53571-2.6786,0.71429-2.6786,0.71429s-4.1071-0.71429-4.2857-1.4286c-0.17857-0.71428-1.6072-1.9643-2.5-1.9643-0.89286,0-2.1429,0.35714-3.2143,0.89286-1.06,0.55-1.95,0.73-2.84,0.73-0.89286,0-4.2857,1.0714-4.2857,1.0714s-2.1428,1.7857-3.2143,1.7857c-1.0714,0-2.1014,0.40945-2.28-0.66198-0.17857-1.0714-1.0823-3.4216-1.0823-3.4216l-1.5332-4.3507s-2.6677-0.69261-3.7392-0.87119c-1.0714-0.17857-3.8221-0.85138-3.8221-0.85138l-2.4892-1.1525s-2.1249-2.2078-1.7678-2.9221c0.35714-0.71428,1.7028-4.0044,2.4171-4.5401,0.71428-0.53572,1.2608-1.4069,1.2608-1.4069l-1.25-2.3214s-1.7965-1.2085-0.90368-1.7442c0.89286-0.53571,3.7608-2.0058,3.7608-2.0058l2.0906-4.0892,1.5025-3.2341,3.5498-2.6767-0.89285-1.9643-2.4171-1.7118-0.11357-1.6288,2.5306-1.1237,4.1071-0.71428,2.6786-0.89286,1.0714-1.25-0.53571-1.6071-1.986-1.47-1.0083-2.5108-0.0631-2.4477-1.47-2.0058-1.7226-0.67282-2.2583,1.7442s-1.6703,1.0823-2.3846,1.4394c-0.73,0.34-2.87,0.19-2.87,0.19l-2.3214,1.25-0.44008,2.5-0.80992,2.3214-2.5,1.0714-2.1429,0.53571-0.53571,2.4585-1.4809,1.4286-2.3431-0.17857-0.99746-2.4585-1.0714-2.5s-1.2608-0.51404-1.9751-0.69262c-0.71428-0.17857-4.4534,0.51405-4.4534,0.51405l-1.7857-0.17857-1.7857-1.25,1.9643-5.5357,0.89286-4.1072s1.25-2.3214,1.9643-3.0357c0.71428-0.71429,3.0357-5,3.0357-5l0.35714-2.6786s-0.53571-1.25-1.6071-1.6072c-1.0714-0.35714-5.3571,0.17858-5.3571,0.17858l-2.6786,0.53571s-3.3424,2.5325-4.0567,1.8182c-0.71428-0.71429-1.1219-3.9611-1.1219-3.9611s-3.0376-1.6288-3.0376-2.5217c0-0.89286,1.9662-1.5855,1.9662-1.5855s0.53571-1.0714,0.71428-2.1429c0.17857-1.0714-0.20024-2.8138-0.20024-2.8138l-2.6281-0.77741s-1.4069-0.89472-2.1212-1.0733c-0.71428-0.17857,1.1996-2.2998,1.1996-2.2998l0.89286-1.6072-0.35714-1.0714s-2.2493-0.54655-2.2493-1.2608c0-0.71429,1.6505-3.3604,1.6505-3.3604l-1.5873-1.6703-2.5415-0.82971-0.80806-1.618s0.69262-0.73594,1.5855-1.0931c0.89286-0.35714,1.0498-0.61866,1.0498-0.61866l-1.3852-0.89286v-2.4062c0-0.71429-0.074-2.3304-0.074-2.3304s-1.2718-1.1078-1.4502-2.345c-0.1894-1.3131,2.6371-1.7532,2.6371-1.7532l-0.93619-0.82972-0.49238-1.4917,0.2417-2.1339,2.7525-0.86037,2.9094-0.89285,2.4477,0.1371,0.70345-1.8922,3.2034,0.21106,2.9203,0.0108s0.35715-1.7749,0.35715-2.4892c0-0.71428-1.8705-1.618-1.4286-2.2691,0.40112-0.59101,1.5657-0.89285,2.4585-1.0714,0.89286-0.17858,3.9286-0.71429,4.1072-1.4286,0.17857-0.71428,2.5829-6.1562,2.5829-6.1562s0.96683-1.0083,1.6811-1.1869c0.71429-0.17857,3.9286-0.93432,3.9286-0.93432l-1.764-2.794-3.0051-2.8246-1.6378-4.8539-2.3214-2.1428-1.4286-1.7857v-5.3571l3.0357-6.7857-1.0714-3.2143-0.72512-5.8585,0.81889-2.85s3.5498,0.11543,4.264,0.29401c0.71428,0.17857,7.7634,0.22004,7.7634,0.22004s0.95599-4.0152,1.3131-4.7295c0.35714-0.71428,1.3871-0.826,2.28-1.0046,0.89286-0.17857,3.3495-0.62051,3.3495-0.62051l2.5433,1.1562,1.6071-1.0714z",name:"Khabarovsk Krai"},eu:{path:"m781.96,462.82c0.98214,1.875,1.1607,1.875,1.875,2.5893l2.6786,2.6786s0.80357,1.1607,1.0714,1.7857c0.26786,0.625-0.0893,1.6964,0.625,1.9643,0.71429,0.26785,2.3214,0.53571,2.7679,0.625,0.44643,0.0893,1.4286,1.0714,2.3214,1.1607,0.89285,0.0893,1.6071,0.0893,2.1428-0.35714,0.53572-0.44643,1.0714-1.25,1.6964-1.7857,0.625-0.53571,2.5893-1.4286,3.125-1.6964,0.53572-0.26785,1.875-0.625,2.3214-1.0714,0.44643-0.44643,1.1607-0.98215,1.1607-2.0536s0.26785-2.7678,0.71428-3.125c0.44643-0.35714,2.9464-1.9643,3.5714-2.5,0.625-0.53571,1.6964-2.2321,2.1429-2.8571,0.44643-0.625,1.875-2.6786,2.2321-3.2143,0.35714-0.53572,2.1429-2.0536,2.1429-2.0536l2.0536-2.3214,0.98214-1.0714,2.6786-1.875,0.71429-0.80357,0.17857-1.1607,0.0893-0.35714-1.5179-0.17857-1.875-0.0893-1.6964,0.44643-1.6964,1.1607-1.3393,1.25-0.80358,1.0714-1.25,1.6072-1.4286,0.98214-1.7857,0.625s-1.25,0.17857-1.7857,0c-0.53571-0.17857-2.1428-0.71429-2.1428-0.71429l-1.4286-0.625-0.80358-0.98214-0.89285-0.625s-0.80357-0.26786-1.1607-0.17857c-0.35714,0.0893-1.7857,0.625-1.7857,0.625l-2.0536,0.71429-2.4107,0.17857s-1.0714,0.44643-1.7857,0.625c-0.71429,0.17857-2.4107,0.80357-2.4107,0.80357l-1.4286,0.89285-1.875,0.26786-0.80357,0.17857-0.35714,0.98215-0.0893,1.4286s-0.44643,1.1607-0.44643,1.5178c0,0.35715-0.53571,1.875-0.53571,1.875l-0.53571,1.1607-0.71429,1.4286z",name:"Jewish Autonomous Oblast"},pr:{path:"m822.68,473.71c0,0.53571,0.53571,1.25,0.53571,1.25l1.4286,1.4286s0.35715,1.0714,0.44643,1.4286c0.0893,0.35714-0.625,2.0536-0.625,2.0536l-1.1607,2.7679s-0.0893,2.2321,0,2.5893c0.0893,0.35715,0.625,1.0714,0.89285,1.5179,0.26786,0.44643,0.80358,1.1607,0.80358,1.5179,0,0.35714-0.80358,1.9643-0.80358,1.9643v1.9643c0,0.44643-0.44642,1.9643-0.44642,1.9643s-0.17858,0.0893-0.17858,1.0714v2.7679c0,0.71429-0.26785,3.0357-0.35714,3.3929-0.0893,0.35714-1.9643,0.53571-2.3214,0.53571-0.35714,0-1.3393-0.98214-1.3393-0.98214s-0.98215-1.6071-1.1607-2.0536c-0.17857-0.44643-1.3393-1.5179-1.3393-1.875,0-0.35715-0.26786-1.6072-0.89286-1.7857-0.625-0.17857-1.5179,0.26786-1.5179,0.26786s-0.53571,0.89286-0.625,1.25c-0.0893,0.35714,0,0.98214-0.0893,1.4286-0.0893,0.44643-0.71429,2.5-0.71429,2.5s-0.625,0.625-1.1607,0.89286c-0.53572,0.26786-2.2322,1.0714-2.2322,1.6071,0,0.53572,1.0714,0.71429,2.1429,2.0536,1.0714,1.3393,3.125,4.6429,3.125,4.6429l2.5,4.2857,1.4286,4.9107s0.44643,1.6071,0.625,2.1429c0.17857,0.53571,0.89286,1.1607,0.98215,1.9643,0.0893,0.80357,0.53571,2.5-0.35715,2.8571-0.89285,0.35715-4.0178,1.0714-4.0178,1.0714l-0.71429,0.625,1.1607,0.71429s0.625,0.44643,1.0714,0.53571c0.44643,0.0893,0.53572,1.4286,0.98215,1.4286,0.44642,0,1.875-0.35714,2.4107-0.71428,0.53571-0.35714,1.3393-0.625,2.1429-0.625,0.80357,0,1.4286-0.44643,1.4286-1.0714,0-0.625-0.625-3.3929-0.625-3.8393,0-0.44642,1.5179-2.5893,1.5179-2.5893v-2.1429c0-0.35714-0.17858-1.4286,0.35714-1.5179,0.53571-0.0893,2.9464-0.71428,2.9464-0.71428s0-1.1607,1.0714-0.26786c1.0714,0.89286,1.5178,2.9464,1.5178,2.9464s1.875,0.35714,2.2322,0.17857c0.35714-0.17857,0.98214-0.625,1.5178-0.98214,0.53572-0.35714,2.5893-0.53572,3.3929-0.53572,0.80357,0,2.1429-0.44642,2.1429-0.44642l-0.26786-1.1607s2.0536-1.25,2.5-1.5179c0.44643-0.26785,2.2321-1.1607,2.8571-1.7857s1.5179-1.4286,1.9643-2.4107c0.44643-0.98215,1.3393-3.125,1.5179-3.4822,0.17857-0.35714,1.1607-2.5,1.4286-3.2143,0.26785-0.71429,0.89285-2.3214,1.3393-3.125,0.44643-0.80357,1.5179-2.8572,1.5179-2.8572s-0.0893-2.3214-0.0893-2.8571c0-0.53571-0.26785-1.875-0.625-2.8571-0.35714-0.98214-0.53571-1.1607-0.44642-2.1429,0.0893-0.98214,0.98214-1.6071,1.6071-2.0536,0.625-0.44643,1.0714-1.4286,1.0714-1.9643,0-0.53571-1.25-2.9464-1.25-2.9464s0.0893-1.1607,0.35714-1.6964c0.26786-0.53572,1.5179-1.7857,1.5179-1.7857l0.17857-2.9464s0.80357-2.2321,0.80357-2.6786c0-0.44643,0.26786-3.9286,0.26786-3.9286l0.89285-2.1429s0.26786-3.3928,0.26786-3.9286c0-0.53571-0.53571-5-0.53571-5.5357,0-0.53572-0.17857-4.1071-0.17857-4.7321s-0.71429-2.1429-0.71429-2.5893c0-0.44643,0.0893-2.1429,0.26786-2.5893,0.17857-0.44643,0.98214-1.9643,0.98214-1.9643s-0.0893-2.0536-0.0893-2.5893c0-0.53571,0.17858-1.6964-0.44642-1.7857s-2.3214,0.80357-2.3214,0.80357l-1.7857,0.71429-1.5178,0.17857-0.71429-0.44643-1.0714-1.4286s-0.26786-1.4286-0.26786-1.7857c0-0.35714-0.53571-1.1607-0.53571-1.1607l-1.25-1.3393-1.3393-1.3393-1.4286-0.71429-1.0714,0.17857s-0.98214,0.17858-1.0714,0.53572c-0.0893,0.35714-0.53572,0.44643-0.80358,0.80357-0.26785,0.35714-1.1607,1.3393-1.1607,1.3393l-0.53571,1.0714-0.44643,1.0714-0.80357,0.80357-0.17858,0.71429,0.35715,0.80357,0.89285,0.98214s0,0.71429,0.53572,0.80358c0.53571,0.0893,1.0714,0.0893,1.0714,0.0893h1.3393l1.25,0.625,0.71429,0.80357,0.0893,1.3393-0.26785,1.4286-0.44643,1.25-0.53572,0.71429-1.5178,0.89285-1.7857,0.89286-0.89285,0.89286,0.26785,0.80357,1.9643,0.80357,0.80357,0.98214-0.0893,0.71429-0.80357,1.0714-1.0714,1.0714-1.875,0.89286-1.7857,0.98214-3.64,1.44-1.6964,0.44643-1.9643,0.26786-0.89286-0.44643-1.25-0.71429s-0.53571-0.26786-0.89285,0c-0.35715,0.26786-0.625,0.98214-0.625,0.98214l-1.5179,1.0714-0.53571,1.6964,0.0893,1.3393s0.35714,0.71428,0.44643,1.1607c0.08,0.44,0.08,1.33,0.08,1.33l-0.0893,1.6071-0.98214,1.0714z",name:"Primorsky Krai"},ma:{path:"m829.64,182.46s1.0714,0.71428,2.1429,1.25c1.0714,0.53571,3.0357,2.1429,3.2143,2.8571,0.17857,0.71429,0.17857,2.3214,1.0714,2.8571,0.89286,0.53572,3.5714,1.0714,3.5714,1.0714l1.9643,0.89286,1.0714,1.7857,3.0357,1.6072s0.71429,1.0714,0.17857,1.9643c-0.53571,0.89286,0,2.6786,0,2.6786l2.5-0.35714,2.8572,0.35714,1.6071,2.3214,1.9643,2.6786,2.1429,1.0714,1.9643,2.1429,1.0714,1.9643,0.17857,2.5s-0.35715,2.5,0,3.2143c0.35714,0.71429,1.0714,3.75,1.0714,3.75l1.0714,1.7857s0.53572,1.0714,0.53572,1.7857c0,0.71428-0.89286,2.1429-0.89286,2.1429l0.17857,1.7857-1.9643-0.53571-0.35715-1.9643s0.35715-0.71429-0.53571-0.35714c-0.89286,0.35714-1.7857,1.4286-1.7857,1.4286s-0.35715,0.89286-1.0714-0.53572c-0.71429-1.4286-1.7857-1.9643-1.7857-1.9643s-1.6071-0.71429-1.6071-1.9643-1.7857-2.3214-1.7857-2.3214l-1.6072-1.4286s-0.35714,1.7857-0.35714,2.5c0,0.71429,1.4286,1.4286-0.35714,1.4286s-4.1072,0.71429-4.1072,0.71429l-0.89285,1.0714-0.35715,2.6786-1.25,1.25-2.6786,2.8571-0.35714,2.3214-1.0714,1.9643,0.53572,2.3214,1.4286,1.4286s0.53571,0.71428,0.53571,1.4286v2.6786l0.17857,1.6071,1.6072,1.4286,0.17857,4.4643v4.4643l0.17857,3.0357,1.7857,2.6786,1.0714,3.0357,0.35714,0.89285,1.9643,0.35715,1.0714-1.25,1.9643-1.0714s1.6072-0.17857,2.3214-0.17857c0.71429,0,1.6072,0.89285,1.6072,0.89285l0.17857,0.89286-1.7857,1.4286-1.7857,0.71429v1.0714l-0.71429,0.89285-1.7857,0.89286-1.25,0.53571-0.53572,0.71429-0.17857,2.6786v2.3214l-0.89285,0.71429-1.7857-0.89286-0.71428,1.4286-0.53572,2.5-1.0714,1.25-3.2143,0.71429-1.25-0.17858-0.53572-1.6071,2.5-1.6071,1.25-1.9643s1.9643-1.7857,0.53572-1.7857-2.6786,1.0714-2.6786,1.0714l-0.89286,1.25-0.89286,0.53571s-0.89286,0.35714-1.7857-0.17857c-0.89286-0.53571-2.3214-0.71429-2.3214-0.71429s-1.25,0.89286-1.25,1.4286c0,0.53571,0.35714,1.4286-0.53572,1.4286-0.89285,0-3.2143,0.17857-3.2143,0.17857l-2.5,1.6071-2.5,0.89286-1.0714,2.1429,0.35714,1.7857,0.53572,1.9643,0.35714,0.89285,1.6071,1.0714s0.17857,0.89286-1.7857,0.89286h-4.4643l-1.0714,2.1429-1.0714,1.25-2.5,0.35714-2.1429-2.8571-2.6786-1.25s-1.9643-0.71429-2.6786-0.71429c-0.71429,0-3.3929,0.17857-3.3929,0.17857l-2.1429,0.89286-1.7857,0.17857-1.25-0.89286-1.0714-1.7857-0.17857-2.3214,1.25-1.9643,0.17857-2.5-2.5-3.9286-2.3214-1.4286-2.3214-1.25-2.6786-0.71428-2.6786-0.71429-2.1429,0.71429-1.0714,1.4286-1.0714,1.9643-0.89285,1.25h-1.25l-1.25-1.9643-0.17857-0.89286,1.25-0.71429,0.35714-1.4286v-1.25l-1.25-1.25-5.7143-6.7857s-0.35714-1.0714-0.35714-1.7857v-3.2143l-1.78-0.88-0.89286-0.35714-0.17857-3.0357-0.53572-1.4286-1.0714-0.35714-0.35714-1.25,1.6071-1.4286,2.1429-0.17857,1.0714-0.53572,1.0714-1.0714,2.1429-0.17857,1.9643,0.17857,0.53572-1.0714-1.25-1.9643-1.4286-1.25-0.35714-2.1429s1.25-0.53571,1.9643-0.53571c0.71428,0,3.5714-1.0714,3.5714-1.0714l-0.17858-2.6786s0.53572-0.35714,1.25-0.35714c0.71429,0,3.9286,0.35714,3.9286,0.35714l2.1428-1.7857,4.1072-6.4286-0.17858-3.0357-1.4286-1.4286-2.6786-2.8572s-1.25-0.89285-1.4286-1.6071c-0.17857-0.71428-0.35714-1.7857-0.35714-1.7857l2.1428-2.3214,0.17858-1.6071-1.25-1.25-2.5,0.17857-0.71429-0.53572-1.0714-1.0714v-0.71429l3.06-0.86,1.25-1.0714-0.53572-1.4286-1.25-0.89285-0.17857-1.6072,2.1429-3.0357,3.75-1.25,2.1428-1.25-1.25-2.5s0.17858-0.35714,0.89286-0.35714c0.71429,0,3.3929,0.71428,3.3929,0.71428l1.0714-0.17857-0.53572-3.5714v-1.6071l1.4286-0.53572,0.2-2.66-0.17858-0.53571h2.5l1.6072,0.53571,0.53571,1.9643,1.0714,1.0714s0.53571,0.53571,1.25,0.53571,3.75-0.71428,3.75-0.71428l3.5714-0.71429,2.3214-0.35714,2.6786-1.0714,2.3214-1.4286,2.3214-0.89286,1.9643-0.17857,2.8571-0.35714,2.5-1.6072z",name:"Magadan Oblast"},sh:{path:"M943.16,321.59c-0.45,0.19-0.81,0.37-1.19,0.94s-0.31,1.53-0.5,1.85c-0.19,0.31-1.53,1.12-1.53,1.12-0.51,0.51-0.87,1.06-2,1.25-1.14,0.19-2.59-0.23-2.85,0.66-0.25,0.88,0.06,2.12,0.69,2.25,0.63,0.12,1.53,0.44,2.1,0.25,0.56-0.19,1.56-1.25,1.56-1.25s0.62,0.3,1,0.93c0.38,0.64,0.97,1.78,0.97,2.03,0,0.26,0.19,1.06-0.07,1.57-0.25,0.5-0.81,2.78-0.56,3.03s1.24,0.9,1.94,0.9c0.69,0,1.09,0.17,1.78-0.78,0.69-0.94,0.93-1.74,1.25-2.56s0.78-1.9,1.09-2.16c0.32-0.25,0.48-1.02-0.22-1.65-0.69-0.63-0.93-1.75-1-2.06-0.06-0.32-0.56-1.09-0.24-1.53,0.31-0.45,1.12-1.31,1-1.69-0.13-0.38-1.38-1.09-1.82-1.47s-0.96-1.82-1.4-1.63zm2.15,20.44s-0.43,0.15-0.69,0.85c-0.25,0.69-0.5,1.74-0.31,2.31s0.56,1.4,0.81,1.78c0.26,0.38,0.75,1.31,0.88,1.62,0.13,0.32,0.53,0.72,1.03,0.91,0.51,0.19,1.12,0.07,1.25-0.44,0.13-0.5,0.19-1.4,0.19-2.03s-0.19-2.15-0.19-2.53,0.07-0.87-0.31-1.31-2.66-1.16-2.66-1.16zm2.53,9.22c-0.56,0.19-1.9,0.5-2.15,0.69-0.26,0.19-0.63,0.52-0.5,1.03,0.12,0.5-0.2,1.24,0.5,1.69,0.69,0.44,2.15,0.96,2.53,1.09s0.55,0.44,1.19,0.13c0.63-0.32,1.09-0.59,1.03-1.41-0.07-0.82-0.59-1.62-0.78-1.88-0.19-0.25-1.5-1.34-1.5-1.34h-0.32zm-117,4.5l-1.87,1.25s0.5,1.12,0,1.12h-1.78s-1.26,0.78-0.5,1.29c0.76,0.5,2.4,0.87,3.03,1,0.63,0.12,1.52,0.65,2.16,1.15,0.63,0.51,1.49,0.87,1.74,1.63,0.26,0.76,0.63,2.28,0.63,2.28l0.91,1.62-0.54,2.16-1.74,0.13s-0.91-1.14-1.41-0.13c-0.51,1.01-0.5,1.77-0.5,2.41,0,0.63,0.27,1.24,0.91,1.37,0.63,0.13,1.48,0.4,2.74,1.41,1.27,1.01,2.03,2.9,2.29,3.53,0.25,0.63,0.24,2.65,0.5,3.41,0.25,0.75,1.4,2.02,2.03,2.53,0.63,0.5,2.03,2.52,2.28,3.03,0.25,0.5,1.25,2.4,1.5,2.9,0.25,0.51,1.78,1.75,1.78,1.75s1.24,1.15,2,1.66,3.8,1.37,4.56,1.37,3.03,0.66,3.28,1.16c0.26,0.51,2.78,5.66,2.78,5.66l5.57,8.34s2.52,2.15,3.15,2.66c0.64,0.5,2.4,3.9,2.91,4.65,0.51,0.76,2.12,4.44,2.5,4.94,0.38,0.51,3.69,5.06,3.69,5.06s2.77,1.88,3.4,2c0.64,0.13,3.41,1.91,3.41,1.91s2.65,2.9,2.78,3.41c0.13,0.5,0.75,3.53,0.75,3.53l2.16,3.4,3.15,2.66,2.5,5.19,0.53,2.25s0,2.15,0.5,2.53c0.51,0.38,5.29,4.06,5.29,4.06l1.65,0.88,1.78,0.25v-2.54s-0.9-1.65-1.15-2.15c-0.26-0.51-0.88-3.03-0.88-3.03s-0.5-0.74-0.5-1.63c0-0.88,0.75-2.4,0.75-2.4s1.53-0.25,2.16-0.25,1.24-0.12,2.25-0.63c1.01-0.5,2.41-0.37,2.41-0.37l2.28,2,1.37,0.78s0.5-1.4,0.5-2.03c0-0.64,0.01-1.53-0.62-2.41-0.64-0.88-1.63-1.88-1.63-1.88l-2.03-1.65s-0.99-1.38-1.75-1.25-1.15,0.24-1.41,0.75c-0.25,0.5,1.52,2.66,0,2.28-1.51-0.38-2.4-0.9-2.78-1.41-0.38-0.5-1.62-1.87-1.62-1.87s-2.4-1.28-3.03-1.53c-0.64-0.26-2.4-0.88-3.04-0.88-0.63,0-4.06-1.15-4.06-1.15l-2.12-2.38-2.41-6.31s-1.12-1.65-1.25-2.41-1.03-3.15-1.16-3.65c-0.12-0.51-0.37-2.28-0.62-2.78-0.25-0.51-1-2.29-1-2.29l-0.53-3.28,1.78-1.62s2.77-1.03,3.41-1.03c0.63,0,5.06-0.13,5.06-0.13l2.4,0.63s2,0.25,2.5,0.25c0.51,0,1.03,0.51,1.16-0.5s-1.53-2-1.53-2l-3.53-0.53-3.66-1.26-2.4-1.78-18.57-15.25-1.5-1.28-1.78-0.12s-0.87,0.13-1.25-0.63-0.4-1.27-1.15-1.9c-0.76-0.64-2.5-1.88-2.5-1.88s-1.52-0.25-2.66-0.5-3.66-1.4-3.66-1.4l-0.4-2.79-1.38-1.25-0.62-1.28,1.25-1.62-0.25-1.91-2.53-2.12-3.54-0.79s-2.4-0.99-2.65-1.5c-0.25-0.5,0.12-2.15,0.12-2.15s-0.62-1.12-1.12-1.5c-0.51-0.38-4.28-1.91-4.28-1.91l-2.91-1.9-1.03-2.63s0.01-1.91-0.63-1.91c-0.63,0-2.78-0.87-2.78-0.87zm119.16,7.94c-0.88,0.25-1.53,0.4-1.72,0.97-0.19,0.56,0.06,1.24,0.31,1.43,0.26,0.19,0.84,0.69,1.47,0.57,0.63-0.13,1.56-0.19,1.82-0.57,0.25-0.38-1.13-1.46-1.32-1.78-0.19-0.31-0.56-0.62-0.56-0.62zm1.75,4.06c-0.51,0.25-1.19,0.56-1.37,1.06-0.19,0.51,0.36,1.37,1,1.75,0.63,0.38,1.05,0.63,1.56,0.06,0.5-0.56,1.09-1.62,1.03-1.93-0.06-0.32-2.22-0.94-2.22-0.94zm0.19,6.97c-0.18,0.01-0.34,0.06-0.5,0.16-0.63,0.37-0.82,1.18-0.82,1.56s0.88,3.09,0.88,3.47-0.87,2.4-1,2.9c-0.13,0.51-0.01,1.33,0.62,2.6,0,0,1.13-0.25,1.38-0.25s1.72-0.94,1.84-1.19c0.13-0.25,0.44-2.28,0.44-2.91s-0.06-2.02-0.12-2.47c-0.07-0.44-0.63-1.4-0.63-1.78s-0.31-1.43-0.69-1.69c-0.28-0.18-0.87-0.44-1.4-0.4zm-4.41,14.53s-1.28,0.03-1.53,0.16c-0.25,0.12-0.69,0.49-0.81,0.75-0.13,0.25-0.57-0.07,0.06,0.62,0.63,0.7,1.02,1.38,1.66,1.38,0.63,0,2.06,0.65,2.31,0.65s1.03-0.21,1.22-0.47c0.19-0.25,0.75-0.49,0.31-1.18-0.44-0.7-0.97-1.06-1.22-1.19s-2-0.72-2-0.72zm1.81,6.47c-0.19,0.31-1.37,1.18-1.43,1.44-0.07,0.25-0.32,0.74-0.38,1.25-0.06,0.5-0.31,1.77-0.31,2.09s-0.53,1.59-0.78,2.16c-0.26,0.56-0.5,1.49-0.44,2.12s-0.07,1.09,0.19,1.66c0.25,0.57,0.24,1.18,0.56,1.37s-0.04,1.29,1.09,0.6c1.14-0.7,1.63-1.34,1.82-1.79,0.19-0.44,0.53-2.09,0.72-2.34,0.18-0.25,0.56-1.43,0.68-1.81,0.13-0.38,0.63-1.9,0.63-2.22s0.06-1.59-0.25-2.22c-0.32-0.63-1.19-1.31-1.19-1.31l-0.91-1zm-4.9,15.4c-0.26,0.07-0.97,0.19-1.28,0.44-0.32,0.26-0.63,0.56-0.69,0.75s-0.5,0.94-0.5,1.19,0.06,1.15,0,1.41c-0.06,0.25,0,0.56-0.56,0.81-0.57,0.25-1.22,0.43-1.6,0.56s-0.81,0.44-1.06,0.69-0.94,0.72-0.94,0.72-0.53,0.18-0.53,0.5c0,0.31,0.41,0.99,0.53,1.25,0.13,0.25,0.75,1.22,0.75,1.22l-0.18,0.75s-1.04,0.74-1.1,1.06c-0.06,0.31-0.12,1.59-0.12,1.97s0.06,1.74,0.06,2c0,0.25,0.19,1.84,0.19,2.09s0.15,1.34,0.28,1.97c0.12,0.63,0.12,1.06,0.43,1.44,0.32,0.38,0.56,1.03,0.88,1.22s0.5,0.68,0.88,0.62c0.37-0.06,1.71-1.03,1.71-1.03s0.63-0.62,0.75-1.06c0.13-0.44,0.44-2.16,0.44-2.16s0.19-1.37,0.13-1.69c-0.07-0.31-0.69-0.65-0.75-1.22-0.07-0.56-0.07-0.8,0-1.68,0.06-0.89,0.87-2.09,1.06-2.35,0.19-0.25,0.84-1.18,0.97-1.93,0.12-0.76-0.07-1.84,0.19-2.16,0.25-0.32,0.8-0.75,1.06-1.06,0.25-0.32,1.06-1.65,1.18-2.03,0.13-0.38,0.13-1.4,0.13-1.91s-0.31-1.37-0.56-1.56c-0.26-0.19-1.75-0.82-1.75-0.82zm-8.35,23.69c-0.31-0.01-0.62,0-0.75,0.03-0.25,0.07-0.56,0-0.81,0.32-0.25,0.31-0.78,0.71-1.22,0.84s-0.87,0-0.93,0.31c-0.07,0.32-0.26,0.87-0.26,1.13,0,0.25,0.06,0.74,0.32,1,0.25,0.25,0.62,0.21,0.75,0.78,0.12,0.57,0.19,1.18,0.12,1.44-0.06,0.25-0.31,1.12-0.37,1.43-0.07,0.32-0.19,0.4-0.38,1.03-0.19,0.64-0.31,1.38-0.31,1.76v1.15c0,0.38-0.06,1.19,0.13,1.44,0.18,0.25,0.62,0.56,0.87,0.81s1.47,0.47,1.72,0.47,0.5-0.28,0.75-0.66,0.56-0.99,0.56-1.56-0.12-2.96-0.06-3.28,1.12-0.84,1.19-1.41c0.06-0.56,0.03-1.74,0.09-2,0.06-0.25,0.31-1.15,0.31-1.15s0.75-0.44,0.88-0.81c0.12-0.38,0.25-1.13,0.25-1.5,0-0.38-0.19-1.54-0.19-1.54h-1.84c-0.19,0-0.5-0.02-0.82-0.03zm7.85,1.88c-0.57,1.01-0.72,0.99-0.78,1.75-0.07,0.76-0.88,1.53-0.88,1.53s-0.31,0.31-0.44,0.62c-0.12,0.32-0.69,0.81-0.06,1s1.72,0.19,1.97,0.07c0.25-0.13,0.75-0.69,1-0.82,0.25-0.12,0.44-0.49,0.44-1.37,0-0.89-0.19-1.9-0.31-2.16-0.13-0.25-0.94-0.62-0.94-0.62z",name:"Sakhalin Oblast"},ka:{path:"M888.56,146.75l-1.65,0.84c-0.26,0.13-1.25,0.88-1.25,0.88l-0.13,1,0.13,2.78,0.25,1.16-0.88,2.43-1.72,4.69-0.93,1.56-0.44,1.41-0.06,1.81s-0.22,1.03-0.47,1.22c-0.26,0.19-0.82,0.13-0.82,0.13h-1.81-2.59l-1.6-0.19-1.68-0.31s-0.53,0.25-0.85,0.25c-0.31,0-0.68,0.56-1,0.75-0.31,0.19-1.37,0.74-1.56,1-0.19,0.25-1.28,0.78-1.59,0.9-0.32,0.13-1.38,1-1.63,1.19s-0.78,0.56-1.22,0.63c-0.44,0.06-0.94-0.32-0.94-0.32s-0.62-0.99-0.74-1.25c-0.13-0.25-0.97-1.72-0.97-1.72s-0.07-1.31-0.13-1.62c-0.06-0.32-0.06-1.47-0.12-1.72-0.07-0.25-0.13-1.06-0.13-1.06s0.25-1.22,0.31-1.66c0.07-0.44,0.38-0.75,0.38-0.75s0-0.56-0.19-0.87c-0.19-0.32-0.81,0.06-0.81,0.06l-1.75,0.44-1.97,0.81-1.66,0.5-1.18,0.19-2.04-0.25s-1.62-0.38-1.87-0.57-1.03-0.12-1.03-0.12l-0.63,0.56-0.87,1.16-0.63,0.81-0.84,0.88s-1.31,0.74-1.56,0.87c-0.26,0.13-0.94,0.59-0.94,0.59l-1.22,1.32-1.44,2.28s-2.27,2.28-2.59,2.47-1.18,0.87-1.44,1.12c-0.25,0.25-1.34,0.38-1.72,0.44s-0.74,0.62-1,0.94c-0.25,0.31-1.15,1.28-1.15,1.28l-0.81,0.56s-0.75-0.31-1.13-0.31-0.44,0.31-0.44,0.31l-0.97,1.91-1,2.18s-0.5,1.59-0.5,1.91,0.63,0.44,0.88,0.63c0.25,0.18,1.65,0.8,2.03,1.06,0.38,0.25,1,0.84,1.31,1.15,0.32,0.32,1.41,1.32,1.41,1.32s-0.13,0.43-0.06,0.68c0.06,0.26,0.37,1.15,0.68,1.66,0.32,0.51,0.94,0.81,0.94,0.81s4.09,1.16,4.35,1.28c0.25,0.13,1.09,1.32,1.09,1.32l0.37,0.68s1.13,0.85,1.44,1.04c0.32,0.18,1.22,0.31,1.22,0.31l0.62,0.62,0.44,1.19s-0.31,1.59-0.37,1.97c-0.07,0.38-0.07,0.99,0,1.37,0.06,0.38,1.12-0.06,1.12-0.06s1.4-0.31,1.97-0.25,1.56,0.25,1.56,0.25,1.22,0.4,1.35,0.66c0.12,0.25,0.75,1.18,0.75,1.18l1.15,1.5,1.25,1.72,1.85,1.32,2,1.65,1,1.31s0.84-0.99,1.03-1.31c0.19-0.31,0-0.74,0-1.19,0-0.44-0.37-0.71-0.75-0.96-0.38-0.26-0.97-1.19-1.35-1.63-0.37-0.44-0.56-0.84-0.56-0.84s-0.81-1.06-1.06-1.31c-0.25-0.26-1.09-0.94-1.34-1.19-0.26-0.26-1.25-1.34-1.69-1.97s0-0.75,0-1.06c0-0.32,0.87-1.04,0.87-1.04s0.94-1.3,1.19-1.62,0.44-1.21,0.5-1.59,0.47-1.31,0.85-1.5c0.37-0.19,1.18-0.38,1.68-0.44,0.51-0.06,1.84,0.5,1.97,0.81,0.13,0.32-0.62,0.69-0.75,0.94-0.12,0.25,0,1.59-0.06,2.16-0.06,0.56,0.12,1.71,0.12,2.28,0,0.56,0.75,1.37,0.75,1.37s1.13,1.4,1.44,1.72c0.32,0.32,1.28,0.93,1.59,1.19,0.32,0.25,1.57,1.65,1.57,1.65l3.34,2.32,0.97,0.59s0.75,1.25,0.81,1.69c0.07,0.44,0.44,0.93,0.44,0.93s1.03,0.22,1.34,0.47c0.32,0.26,0.63,1.31,0.63,1.69s-0.12,1.03-0.44,1.47c-0.31,0.44-1.21,0.93-1.53,1.25s-0.69,0.75-0.69,0.75-0.06,5.68-0.06,6.25,0.75,1.78,1,2.16,1.21,2.14,1.72,2.9c0.5,0.76,0.69,1.12,0.69,1.44s0.25,1.66,0.25,1.66,0.56,10.46,0.62,11.09,0.59,1.03,0.78,1.41,0.75,0.93,1,1.18c0.26,0.26,0.75,0.84,0.88,1.16,0.12,0.32,0.97,1.62,0.97,1.62s0.74,2.78,0.87,3.54c0.13,0.75,0.13,1.72,0.13,1.72s1.31,3.96,1.31,4.4v1.47s-0.81,1.75-1.13,2.13c-0.31,0.37-0.06,1.77-0.06,2.09,0,0.31-1.34,2.46-1.84,2.84-0.51,0.38-1.31,1-1.44,1.38s0.25,1.03,0.25,1.03l1.81,0.87,2.28,0.94s1.09,2.15,1.47,2.66c0.38,0.5,0.56,1.59,0.56,1.9,0,0.32,0.32,3.47,0.44,4.16,0.13,0.69,0.38,1.65,0.56,2.09,0.19,0.45,1.79,1.5,1.79,1.5s2.21,3.94,2.34,4.25c0.13,0.32,0.81,1.69,1.06,2,0.08,0.1,0.29,0.25,0.53,0.41,0.62,0.78,3.07,1.94,3.07,1.94l0.93,0.62s4.63,4.25,4.69,4.5c0.06,0.26,2.78,2.32,2.78,2.32s2.34,0.84,2.6,1.03c0.25,0.19,1.68,0.75,1.68,0.75l14.91,10.22,2.03,1.21,3.03,0.94s1.19,1.59,1.44,1.72,3.15,1.19,3.59,1.19c0.45,0,1.47,1,1.47,1s2.59,2.78,2.97,3.03,2.56,1.91,2.56,1.91,2.09,1.18,2.47,1.18,2.85-0.5,2.85-0.5l0.68-0.62v-2.03s-0.06-1.69-0.06-1.88,0-1.21-0.25-1.53-0.81-0.88-0.81-0.88,0.18-1.52,0.44-1.96c0.25-0.45,0.43-0.69,0.43-1.07s-0.31-1.15-0.56-1.4c-0.25-0.26-0.5-1.19-0.5-1.19s-0.06-2.34-0.31-2.66c-0.25-0.31-1.09-0.99-1.28-1.62s-0.5-1.03-0.63-1.41c-0.12-0.38-1.37-1.62-1.62-2.06-0.26-0.44-1.53-1.59-1.72-1.84-0.19-0.26-0.31-1.28-0.5-2.1s-1.02-0.75-1.78-0.75-1.12-0.06-1.38-0.25c-0.25-0.19,0.5-0.43,0.75-0.56,0.26-0.13,1.09-0.9,1.28-1.22,0.19-0.31,0.5-1.37,0.5-1.37l0.69-4.22,1.91-1.6c0.38-0.31,0.25-0.93-0.19-1.31s-1.09-0.25-1.41-0.31c-0.31-0.06-0.8-0.84-1.31-1.16-0.5-0.31-0.84-0.81-1.28-1s-1.24-0.31-2.06-0.56-1.4-1.03-1.91-1.47c-0.5-0.44-0.44-1-0.5-1.25s-0.06-1.96-0.06-2.84v-1.22s-0.97-2.78-0.97-3.1c0-0.31,0.03-1.05,0.16-1.43,0.12-0.38,0.49-0.69,0.75-0.94,0.25-0.25,1.43-0.78,1.43-0.78l1.47-0.88s0.38-1.71,0.38-2.59-0.5-2.25-0.63-2.56c-0.12-0.32-1.34-0.72-1.34-0.72s-1.5-1.19-1.94-1.19-2.46-0.56-2.9-0.69c-0.45-0.12-1.6-0.78-1.85-0.9-0.25-0.13-1.71-1.25-2.09-1.56-0.38-0.32-1.25-1.1-1.5-1.41-0.26-0.32-0.75-1.44-0.88-1.75-0.12-0.32-0.84-1.66-0.84-1.66s0-0.55-0.13-1.12c-0.12-0.57-0.18-1.65-0.18-2.41s1.02-0.62,1.28-0.62c0.25,0,1.68-0.25,2-0.32,0.31-0.06,1.03-0.74,1.22-1,0.19-0.25,0.37-1.77,0.31-2.09s-0.65-0.81-1.22-1-0.94-0.78-1.12-0.84c-0.19-0.07-2.16-0.88-2.16-0.88s-2.06-0.69-2.5-0.75-0.59,0.44-0.84,0.63c-0.26,0.19-0.5,0.37-1.32,0.37s-1.22-0.44-1.22-0.44l-0.87-1.18s-1.18,0.06-1.81,0.06c-0.64,0-0.91-0.59-1.16-0.91-0.25-0.31-1.06-0.56-1.06-0.56s-0.47-0.19-0.69-0.28c0-0.06,0.19-3.44,0.13-3.69-0.07-0.25-0.66-1.21-0.91-1.47-0.25-0.25-1.37-0.44-1.94-0.44s-1.4,0.6-1.84,0.85-1.06,0.75-1.31,0.94c-0.26,0.19-0.13,1.12-0.13,1.68,0,0.57-0.34,1.03-0.72,1.35-0.38,0.31-0.68,0.25-1.31,0.25s-1.12-0.19-1.63-0.31c-0.5-0.13-0.77-0.56-1.03-0.82-0.25-0.25-1.06-0.96-1.37-1.47-0.32-0.5-0.19-1.05-0.25-1.62-0.07-0.57-0.84-1.65-1.1-2.16-0.25-0.5-1.24-2.34-1.37-2.59s-0.56-1.28-1-1.91-0.9-1.99-1.28-2.62-0.74-1.09-1.5-2.1-0.78-0.56-1.35-0.68c-0.56-0.13-0.99-0.78-1.5-1.35-0.5-0.57-0.84-0.93-1.15-1.75-0.32-0.82-0.37-0.83-0.94-2.15-0.57-1.33-0.07-1.09,0.19-1.66,0.25-0.57,1.06-0.62,1.06-0.62l0.47-0.88s-0.38-1.59-0.31-2.09c0.06-0.51,0.36-0.56,1.06-0.75,0.69-0.19,1.56,0.75,1.94,0.75s1.59-0.5,1.9-0.82c0.32-0.31,0.32-1.08,0.32-1.71,0-0.64-0.62-1-1.13-1.13s-0.94-0.56-0.94-1.06c0-0.51,0.25-1.21,0.25-1.91,0-0.69,0-0.74-0.06-1.25-0.06-0.5-0.12-0.53-0.25-0.91-0.13-0.37,0.06-1.18,0.19-1.68,0.12-0.51,0.56-0.44,0.94-0.38,0.37,0.07,1.24,0.69,1.62,0.94s0.65,0.62,0.84,1,1,1.09,1.63,1.16c0.63,0.06,1.15-0.38,1.15-0.38s-0.09-0.52-0.34-1.09-0.81-1.44-1-1.81c-0.19-0.38-0.5-1.22-0.75-1.6s-0.44-0.5-0.44-0.75,0.69-2.09,0.69-2.41v-3.78c0-0.82,0.19-1.4,0.38-1.72,0.19-0.31,0.87-1.24,1.25-2.06s0.84-1.15,1.09-1.9c0.25-0.76,0.87-1.4,1.44-2.16s0.77-1,1.15-1.12c0.38-0.13,2.91,0.06,3.29,0.06,0.37,0,1.96-0.44,2.65-0.56,0.7-0.13,2.71-0.31,3.41-0.57,0.69-0.25,0.25-0.59,0.18-0.84-0.06-0.25-1.27-0.94-1.65-1.06-0.38-0.13-1.12-0.69-1.38-0.94-0.25-0.25-0.5-1.16-0.5-1.16s-0.59-2.96-0.65-3.28c-0.07-0.31-0.75-1.56-0.75-1.56s-0.13-5.18-0.13-5.63c0-0.44-0.68-2.02-1.37-2.34-0.7-0.32-0.91-0.99-0.91-1.5s0-0.96-0.12-1.59c-0.13-0.64-0.75-1.37-1-1.88-0.26-0.5,0.12-0.78,0.12-1.22s-0.12-1.18-0.5-1.5c-0.38-0.31-0.68-0.49-0.94-0.75-0.25-0.25-0.46-0.9-0.46-1.53s0.28-1,0.34-1.31c0.06-0.32,0.06-1.09-0.06-1.53-0.13-0.44-0.35-1.06-0.41-1.31-0.06-0.26-0.37-1.22-0.37-1.22s-0.5-0.44-0.69-0.44-0.94-0.19-0.94-0.19l-1.78-0.31s-1.69-0.44-1.81-0.69c-0.13-0.25-1.04-0.69-1.04-0.69l-1.56-0.59zm7.25,70.22c-0.88,0.44-1.12,0.43-1.06,1s0.37,1.09,0.63,1.47c0.25,0.38,0.44,0.93,0,1.44-0.45,0.5-1.45,0.52-1.19,1.15,0.25,0.63,0.49,1.06,0.75,1.31,0.25,0.26,0.81,0.9,0.94,1.41,0.12,0.51-0.01,1.06,0.31,1.56,0.31,0.51,0.31,0.69,0.69,0.69,0.37,0,0.59,0.32,0.65-0.5s-0.06-0.95,0-2.84c0.06-1.9,0-2.84,0.06-3.41,0.07-0.57,0.26-1.37,0-1.75-0.25-0.38-1.28-0.9-1.4-1.22-0.13-0.31-0.38-0.31-0.38-0.31zm58.91,12.47c-1.07,0.71-1.16,0.62-1.16,1.15,0,0.54-0.18,0.9,0.53,0.72,0.72-0.18,0.91-0.18,1-0.62,0.09-0.45-0.37-1.25-0.37-1.25zm-10.97,4.53c-0.63,0.45-1.08,0.2-0.81,1.09,0.27,0.9,0.44,1.16,1.15,1.25,0.72,0.09,0.73,0.1,2.07,0.1s2.31,0.06,3.03,0.06c0.71,0,0.99,0.36,1.43,0,0.45-0.36,0.63-0.07,0.54-0.78-0.09-0.72-1.24-0.9-2.22-0.81-0.98,0.08-1.52,0.34-3.13-0.19-1.6-0.54-2.06-0.72-2.06-0.72z",name:"Kamchatka Krai"},in:{path:"m33.393,395.68,0.08929,5.2679,17.946-8.5714-1.3393-1.25-2.9464-1.25-1.5179-1.9643-2.4107,2.4107-4.1071-2.6786-1.875,1.0714,0.08929,5.8929-1.5179,1.0714z",name:"Republic of Ingushetia"},cc:{path:"m33.482,401.04,1.0714,2.5,3.125,1.6964,3.4821,0.44642,2.1429-1.9643,2.1429,1.7857,2.5-1.5178-0.08929-1.6072,1.875-2.1428,2.8571,0.44642,3.8393-2.8571-0.625-1.9643-4.4643-0.53572,0.44643-2.7679z",name:"Chechen Republic"}}}),jQuery.fn.vectorMap("addMap","brazil_br",{width:600,height:550,paths:{ro:{name:"Rondônia",path:"M 179,197 L 182,197 L 186,197 L 186,198 L 187,198 L 188,198 L 188,199 L 188,200 L 189,200 L 189,201 L 189,202 L 190,201 L 190,202 L 190,203 L 191,203 L 191,202 L 191,203 L 192,203 L 193,203 L 193,204 L 193,205 L 193,206 L 194,207 L 194,206 L 195,206 L 195,207 L 195,208 L 196,208 L 196,209 L 197,209 L 198,209 L 198,210 L 199,210 L 200,210 L 200,209 L 200,208 L 201,208 L 201,207 L 202,207 L 202,208 L 203,208 L 203,209 L 204,209 L 204,210 L 205,210 L 205,211 L 204,211 L 204,212 L 204,213 L 204,214 L 204,215 L 203,215 L 203,216 L 203,215 L 203,216 L 203,217 L 204,217 L 204,218 L 204,219 L 205,219 L 205,220 L 205,221 L 204,221 L 204,222 L 204,221 L 204,222 L 204,223 L 205,223 L 205,224 L 204,224 L 204,225 L 204,226 L 204,227 L 203,227 L 203,228 L 204,228 L 204,229 L 204,230 L 205,230 L 205,231 L 205,232 L 205,233 L 205,234 L 205,235 L 205,236 L 205,237 L 205,236 L 205,237 L 204,237 L 204,238 L 204,239 L 205,239 L 206,239 L 212,239 L 213,239 L 214,239 L 219,239 L 219,240 L 220,240 L 220,241 L 221,241 L 221,240 L 221,241 L 221,240 L 222,240 L 222,241 L 223,241 L 224,241 L 225,241 L 226,241 L 226,242 L 226,243 L 226,244 L 227,244 L 227,245 L 226,245 L 226,246 L 225,246 L 225,247 L 224,247 L 224,248 L 224,249 L 224,250 L 224,251 L 224,252 L 225,252 L 224,252 L 225,252 L 226,252 L 226,253 L 226,254 L 227,254 L 227,255 L 227,256 L 227,257 L 229,258 L 228,258 L 228,259 L 228,260 L 227,260 L 226,260 L 226,261 L 225,261 L 225,262 L 224,262 L 224,263 L 224,264 L 225,264 L 224,264 L 224,265 L 224,266 L 224,267 L 223,267 L 223,268 L 222,268 L 222,269 L 222,270 L 221,270 L 221,271 L 220,271 L 221,271 L 220,271 L 221,272 L 220,272 L 220,273 L 220,274 L 219,274 L 218,274 L 218,275 L 217,275 L 217,276 L 217,275 L 216,276 L 216,277 L 215,277 L 215,276 L 214,276 L 213,276 L 213,275 L 212,275 L 211,275 L 212,275 L 212,274 L 211,274 L 210,274 L 210,275 L 210,274 L 210,275 L 210,274 L 210,275 L 209,274 L 209,275 L 208,275 L 208,274 L 207,274 L 207,275 L 207,274 L 206,274 L 206,275 L 205,275 L 204,275 L 204,274 L 204,275 L 204,274 L 203,274 L 204,274 L 203,274 L 202,274 L 202,275 L 201,274 L 201,275 L 201,274 L 201,275 L 201,274 L 201,275 L 200,275 L 200,274 L 199,274 L 199,273 L 198,273 L 198,272 L 197,272 L 197,271 L 196,271 L 196,270 L 196,269 L 196,270 L 196,269 L 195,269 L 194,269 L 193,269 L 192,269 L 192,268 L 191,268 L 190,268 L 189,268 L 189,267 L 188,267 L 188,268 L 187,268 L 187,267 L 187,268 L 187,267 L 186,267 L 187,267 L 187,266 L 186,266 L 186,267 L 186,266 L 185,266 L 185,265 L 184,265 L 184,264 L 183,264 L 183,263 L 183,264 L 183,263 L 182,263 L 183,263 L 183,262 L 182,262 L 182,263 L 182,262 L 181,262 L 182,262 L 181,262 L 181,263 L 180,263 L 181,263 L 180,263 L 179,263 L 179,262 L 179,263 L 179,262 L 178,262 L 178,261 L 177,261 L 176,261 L 176,260 L 175,260 L 174,260 L 174,259 L 173,259 L 173,260 L 172,260 L 171,260 L 171,261 L 170,261 L 170,260 L 170,261 L 170,260 L 169,260 L 169,261 L 169,260 L 168,260 L 167,260 L 168,260 L 167,260 L 166,260 L 165,260 L 164,260 L 164,259 L 163,259 L 163,258 L 163,257 L 163,256 L 163,257 L 162,257 L 162,256 L 161,256 L 160,256 L 160,255 L 160,256 L 159,256 L 159,255 L 158,255 L 158,254 L 159,254 L 158,254 L 158,253 L 158,254 L 157,254 L 157,253 L 156,253 L 156,254 L 156,253 L 155,253 L 156,253 L 156,252 L 155,252 L 155,251 L 155,250 L 155,249 L 154,249 L 153,249 L 153,250 L 154,250 L 153,250 L 153,249 L 152,249 L 153,249 L 153,248 L 153,247 L 152,247 L 152,246 L 152,245 L 151,245 L 151,244 L 152,244 L 151,244 L 151,243 L 151,242 L 152,242 L 151,242 L 151,241 L 152,241 L 152,240 L 152,239 L 153,239 L 152,239 L 152,238 L 152,237 L 151,237 L 151,236 L 151,235 L 151,234 L 150,234 L 150,233 L 150,232 L 151,232 L 151,231 L 151,230 L 152,230 L 152,229 L 152,228 L 152,227 L 151,227 L 151,226 L 152,226 L 152,225 L 151,225 L 151,224 L 152,224 L 152,223 L 151,223 L 151,222 L 151,221 L 150,221 L 149,222 L 149,221 L 149,222 L 149,223 L 149,222 L 149,223 L 148,223 L 147,223 L 147,222 L 147,223 L 146,223 L 146,222 L 147,222 L 146,222 L 145,222 L 145,223 L 145,222 L 144,222 L 144,223 L 144,222 L 143,222 L 142,222 L 142,223 L 143,223 L 142,223 L 141,223 L 141,222 L 141,223 L 140,223 L 139,223 L 140,223 L 139,223 L 138,223 L 137,223 L 137,224 L 136,224 L 135,224 L 134,224 L 133,224 L 131,223 L 131,222 L 132,222 L 133,222 L 133,221 L 134,221 L 135,221 L 135,220 L 136,220 L 136,219 L 137,219 L 137,218 L 136,218 L 136,217 L 137,217 L 137,218 L 137,217 L 137,218 L 138,217 L 138,218 L 138,217 L 139,218 L 140,218 L 140,217 L 141,217 L 142,217 L 143,217 L 143,218 L 144,218 L 144,219 L 145,219 L 145,220 L 145,219 L 145,220 L 145,219 L 146,219 L 147,219 L 147,218 L 147,217 L 148,217 L 148,218 L 149,218 L 150,218 L 150,217 L 150,216 L 151,216 L 152,216 L 152,215 L 153,215 L 153,216 L 153,217 L 154,217 L 153,217 L 153,218 L 154,218 L 155,218 L 155,217 L 156,217 L 156,216 L 157,216 L 157,215 L 157,214 L 157,213 L 157,212 L 158,212 L 158,211 L 159,211 L 159,212 L 160,212 L 160,211 L 160,212 L 161,212 L 162,212 L 162,211 L 163,211 L 164,211 L 165,211 L 166,211 L 165,211 L 165,212 L 166,212 L 166,211 L 167,211 L 168,211 L 168,210 L 168,209 L 168,208 L 169,208 L 170,208 L 169,207 L 170,207 L 170,206 L 171,206 L 171,205 L 170,205 L 170,204 L 171,204 L 170,204 L 170,203 L 171,203 L 171,202 L 172,202 L 173,202 L 173,201 L 174,201 L 173,201 L 173,200 L 174,200 L 174,199 L 175,199 L 175,198 L 175,197 L 176,197 L 177,197 L 178,197 L 179,197 "},ac:{name:"Acre",path:"M 42,188 L 43,189 L 44,189 L 46,190 L 49,191 L 50,191 L 51,191 L 52,192 L 53,192 L 54,192 L 55,192 L 56,192 L 58,192 L 59,192 L 59,193 L 60,193 L 62,193 L 64,193 L 67,193 L 71,194 L 74,194 L 75,194 L 76,194 L 77,194 L 77,195 L 79,195 L 82,195 L 83,195 L 84,195 L 86,196 L 87,196 L 87,197 L 92,201 L 93,202 L 94,202 L 94,203 L 95,203 L 95,204 L 96,204 L 96,205 L 97,205 L 97,206 L 98,206 L 99,207 L 100,208 L 101,208 L 101,209 L 105,212 L 109,214 L 111,215 L 114,216 L 115,217 L 116,217 L 117,217 L 119,219 L 121,219 L 124,220 L 125,220 L 126,221 L 127,221 L 130,223 L 131,223 L 133,224 L 133,225 L 133,224 L 133,225 L 132,225 L 132,226 L 132,225 L 131,225 L 131,226 L 130,226 L 130,227 L 129,227 L 129,228 L 129,227 L 129,228 L 128,228 L 129,228 L 128,228 L 128,229 L 127,229 L 128,229 L 127,229 L 127,230 L 127,229 L 127,230 L 127,229 L 127,230 L 126,230 L 125,230 L 124,230 L 124,231 L 123,231 L 122,231 L 122,232 L 121,232 L 120,232 L 120,233 L 120,232 L 120,233 L 119,233 L 119,234 L 118,235 L 117,235 L 116,235 L 116,234 L 116,235 L 116,234 L 116,235 L 116,234 L 115,234 L 115,235 L 114,235 L 113,235 L 113,236 L 113,237 L 112,237 L 112,238 L 111,238 L 111,239 L 110,239 L 110,240 L 110,239 L 110,240 L 109,240 L 109,239 L 109,240 L 108,240 L 107,240 L 107,241 L 106,241 L 104,241 L 104,240 L 104,239 L 104,240 L 104,239 L 103,239 L 103,240 L 103,239 L 103,240 L 103,239 L 102,239 L 102,240 L 102,239 L 102,240 L 101,240 L 101,239 L 101,240 L 101,239 L 101,240 L 100,240 L 100,239 L 100,240 L 100,239 L 99,239 L 98,239 L 97,239 L 96,239 L 95,239 L 95,238 L 95,239 L 95,238 L 95,239 L 95,238 L 94,238 L 94,239 L 94,238 L 94,239 L 93,239 L 92,239 L 91,239 L 90,239 L 90,238 L 90,239 L 89,239 L 89,238 L 88,238 L 87,238 L 87,239 L 87,238 L 87,239 L 86,239 L 85,239 L 85,240 L 85,239 L 85,240 L 84,240 L 83,240 L 82,240 L 81,240 L 80,240 L 80,239 L 79,239 L 79,238 L 79,239 L 78,239 L 78,238 L 78,237 L 78,235 L 78,233 L 78,232 L 78,231 L 78,229 L 78,227 L 78,223 L 78,222 L 79,222 L 79,223 L 79,222 L 79,221 L 78,221 L 78,220 L 78,219 L 79,220 L 79,219 L 79,218 L 79,219 L 79,218 L 80,218 L 80,217 L 80,218 L 79,218 L 79,217 L 79,218 L 78,218 L 78,219 L 78,218 L 77,218 L 77,219 L 78,219 L 77,219 L 76,219 L 76,220 L 76,219 L 76,220 L 76,219 L 76,220 L 75,220 L 76,220 L 75,220 L 76,220 L 75,220 L 75,221 L 75,220 L 75,221 L 74,221 L 74,222 L 73,222 L 73,223 L 72,223 L 71,223 L 70,224 L 70,225 L 69,225 L 68,225 L 67,225 L 67,226 L 64,226 L 63,226 L 62,226 L 61,226 L 59,226 L 58,226 L 56,226 L 56,225 L 56,224 L 57,224 L 56,224 L 56,223 L 57,223 L 56,223 L 56,222 L 55,222 L 55,221 L 55,220 L 55,219 L 54,219 L 54,218 L 54,219 L 54,218 L 53,218 L 52,218 L 53,218 L 52,218 L 51,218 L 50,218 L 49,218 L 49,217 L 48,217 L 47,217 L 45,217 L 42,217 L 43,216 L 43,215 L 44,215 L 45,214 L 44,214 L 45,214 L 45,213 L 46,213 L 46,212 L 45,212 L 46,212 L 46,211 L 45,211 L 45,210 L 44,210 L 44,209 L 43,209 L 43,208 L 42,207 L 41,207 L 41,206 L 40,207 L 40,206 L 40,205 L 40,204 L 39,204 L 39,203 L 38,203 L 37,203 L 37,202 L 37,201 L 36,201 L 36,200 L 37,200 L 36,200 L 37,200 L 37,199 L 36,199 L 36,198 L 35,198 L 35,197 L 34,197 L 34,196 L 35,196 L 35,195 L 35,194 L 34,194 L 33,194 L 33,193 L 32,193 L 32,192 L 31,192 L 31,191 L 32,191 L 32,190 L 32,189 L 31,189 L 32,189 L 33,189 L 33,188 L 34,189 L 34,188 L 34,189 L 35,188 L 35,187 L 34,187 L 34,186 L 34,185 L 34,186 L 35,186 L 38,187 L 39,187 L 42,188 "},am:{name:"Amazonas",path:"M 124,58 L 124,59 L 124,60 L 125,60 L 125,61 L 126,61 L 127,62 L 127,63 L 127,64 L 127,65 L 127,66 L 127,67 L 127,68 L 127,69 L 127,70 L 128,70 L 130,69 L 134,73 L 138,76 L 139,76 L 140,76 L 141,76 L 141,75 L 142,75 L 143,75 L 143,74 L 144,74 L 144,73 L 145,73 L 146,73 L 146,72 L 146,73 L 146,72 L 146,73 L 147,73 L 147,72 L 147,73 L 147,72 L 148,72 L 148,73 L 149,73 L 149,74 L 149,75 L 148,75 L 148,76 L 148,77 L 149,77 L 150,77 L 150,76 L 151,76 L 150,76 L 150,75 L 151,75 L 151,74 L 151,73 L 152,73 L 152,74 L 153,74 L 153,73 L 153,74 L 154,73 L 154,72 L 154,71 L 154,70 L 155,70 L 155,71 L 156,71 L 156,70 L 157,70 L 156,70 L 156,69 L 157,69 L 157,70 L 157,69 L 158,69 L 158,68 L 159,68 L 159,69 L 160,69 L 160,68 L 160,69 L 161,68 L 162,68 L 162,67 L 163,67 L 163,66 L 164,66 L 164,65 L 165,65 L 165,66 L 164,67 L 165,67 L 165,66 L 166,66 L 166,65 L 167,65 L 168,64 L 168,65 L 168,64 L 169,64 L 169,63 L 169,62 L 169,61 L 169,60 L 169,59 L 170,59 L 171,59 L 172,59 L 173,59 L 174,59 L 173,58 L 174,58 L 175,58 L 175,57 L 176,57 L 177,57 L 178,57 L 178,56 L 179,56 L 180,56 L 181,56 L 182,56 L 182,57 L 183,58 L 184,58 L 185,58 L 186,58 L 186,59 L 187,59 L 188,59 L 188,60 L 188,61 L 188,62 L 188,63 L 187,63 L 187,64 L 187,65 L 188,65 L 188,66 L 189,66 L 189,67 L 189,68 L 190,69 L 190,70 L 190,71 L 191,71 L 191,72 L 191,73 L 192,73 L 191,73 L 191,74 L 191,75 L 191,76 L 190,76 L 190,77 L 190,78 L 191,78 L 190,78 L 190,79 L 190,80 L 191,80 L 191,81 L 192,81 L 191,81 L 191,82 L 191,83 L 191,84 L 192,84 L 192,85 L 192,86 L 193,86 L 193,87 L 193,88 L 194,88 L 194,89 L 194,90 L 194,91 L 195,91 L 195,92 L 194,92 L 194,93 L 193,94 L 194,94 L 193,94 L 193,95 L 194,95 L 193,96 L 192,96 L 192,97 L 192,96 L 191,96 L 191,97 L 191,98 L 192,98 L 193,98 L 192,98 L 193,98 L 193,99 L 194,99 L 194,100 L 195,100 L 195,101 L 196,101 L 196,102 L 197,102 L 198,102 L 198,103 L 198,104 L 198,105 L 199,105 L 199,106 L 200,106 L 201,106 L 202,106 L 203,106 L 203,107 L 204,107 L 204,108 L 205,108 L 205,107 L 204,107 L 204,106 L 203,106 L 203,105 L 204,105 L 203,105 L 203,104 L 203,103 L 204,103 L 204,102 L 204,101 L 204,100 L 203,99 L 204,99 L 204,98 L 204,97 L 205,97 L 205,96 L 206,96 L 206,95 L 207,95 L 207,94 L 208,94 L 209,94 L 209,93 L 209,94 L 209,93 L 210,93 L 211,93 L 211,94 L 212,94 L 213,94 L 213,95 L 214,95 L 214,96 L 215,96 L 215,97 L 214,97 L 215,97 L 215,98 L 216,99 L 216,98 L 216,99 L 217,99 L 217,98 L 217,99 L 217,98 L 217,99 L 217,98 L 218,98 L 218,99 L 218,98 L 218,99 L 218,98 L 219,98 L 218,98 L 219,98 L 219,97 L 220,97 L 221,97 L 221,96 L 221,95 L 220,95 L 220,94 L 220,93 L 221,93 L 221,92 L 221,91 L 222,90 L 221,90 L 221,89 L 222,89 L 222,88 L 223,87 L 223,86 L 224,86 L 224,85 L 224,84 L 225,84 L 225,83 L 226,83 L 228,83 L 236,83 L 237,83 L 241,83 L 241,86 L 241,87 L 241,88 L 241,89 L 241,90 L 241,91 L 242,91 L 242,92 L 243,92 L 243,93 L 243,94 L 243,95 L 244,95 L 243,96 L 244,96 L 245,96 L 245,97 L 246,97 L 246,98 L 247,98 L 247,99 L 247,98 L 247,99 L 247,100 L 248,100 L 247,100 L 248,100 L 247,101 L 248,101 L 248,102 L 249,102 L 250,102 L 250,103 L 251,103 L 251,104 L 251,103 L 252,103 L 252,102 L 253,102 L 254,102 L 254,103 L 254,104 L 254,105 L 253,105 L 254,105 L 254,106 L 255,106 L 256,106 L 256,107 L 257,107 L 257,108 L 258,108 L 257,108 L 258,108 L 258,109 L 258,108 L 258,109 L 258,108 L 259,108 L 259,109 L 260,109 L 261,109 L 261,110 L 262,110 L 262,111 L 262,110 L 263,110 L 264,110 L 265,110 L 265,111 L 266,111 L 266,112 L 267,112 L 267,113 L 268,113 L 268,114 L 269,114 L 269,115 L 270,115 L 270,114 L 271,114 L 271,115 L 271,116 L 270,116 L 271,117 L 272,117 L 273,117 L 273,116 L 274,116 L 274,117 L 275,117 L 275,116 L 275,117 L 276,117 L 276,116 L 277,116 L 278,115 L 279,115 L 280,115 L 279,115 L 279,116 L 279,117 L 278,117 L 277,118 L 276,118 L 275,119 L 275,120 L 276,120 L 276,121 L 275,121 L 275,122 L 275,123 L 274,123 L 274,125 L 273,125 L 273,126 L 273,127 L 272,128 L 271,130 L 271,131 L 270,132 L 270,133 L 269,135 L 268,136 L 268,137 L 267,139 L 266,141 L 266,142 L 265,143 L 264,145 L 264,146 L 262,149 L 261,153 L 260,154 L 259,156 L 258,158 L 258,159 L 255,164 L 255,165 L 253,170 L 250,176 L 250,177 L 249,177 L 249,178 L 248,178 L 247,178 L 247,179 L 247,180 L 247,181 L 247,182 L 247,183 L 248,183 L 249,183 L 249,184 L 249,185 L 250,185 L 250,186 L 251,186 L 251,187 L 251,188 L 251,189 L 251,190 L 250,190 L 250,191 L 250,192 L 251,192 L 250,193 L 250,194 L 249,194 L 249,195 L 248,195 L 248,196 L 248,197 L 249,197 L 249,198 L 249,199 L 249,200 L 249,201 L 249,202 L 249,203 L 248,203 L 249,203 L 248,203 L 248,204 L 248,205 L 248,206 L 248,207 L 247,207 L 247,208 L 248,208 L 248,207 L 249,208 L 248,208 L 248,209 L 247,209 L 246,209 L 239,209 L 238,209 L 233,209 L 226,209 L 225,209 L 220,209 L 218,209 L 214,209 L 206,209 L 204,209 L 203,209 L 203,208 L 202,208 L 202,207 L 201,207 L 201,208 L 200,208 L 200,209 L 200,210 L 199,210 L 198,210 L 198,209 L 197,209 L 196,209 L 196,208 L 195,208 L 195,207 L 195,206 L 194,206 L 194,207 L 193,206 L 193,205 L 193,204 L 193,203 L 192,203 L 191,203 L 191,202 L 191,203 L 190,203 L 190,202 L 190,201 L 189,202 L 189,201 L 189,200 L 188,200 L 188,199 L 188,198 L 187,198 L 186,198 L 186,197 L 182,197 L 178,197 L 177,197 L 175,197 L 175,198 L 175,199 L 174,199 L 174,200 L 173,200 L 173,201 L 174,201 L 173,201 L 173,202 L 172,202 L 171,202 L 171,203 L 170,203 L 170,204 L 171,204 L 170,204 L 170,205 L 171,205 L 171,206 L 170,206 L 170,207 L 169,207 L 170,208 L 169,208 L 168,208 L 168,209 L 168,210 L 168,211 L 167,211 L 166,211 L 166,212 L 165,212 L 165,211 L 166,211 L 165,211 L 164,211 L 163,211 L 162,211 L 162,212 L 161,212 L 160,212 L 160,211 L 160,212 L 159,212 L 159,211 L 158,211 L 158,212 L 157,212 L 157,213 L 157,214 L 157,215 L 157,216 L 156,216 L 156,217 L 155,217 L 155,218 L 154,218 L 153,218 L 153,217 L 154,217 L 153,217 L 153,216 L 153,215 L 152,215 L 152,216 L 151,216 L 150,216 L 150,217 L 150,218 L 149,218 L 148,218 L 148,217 L 147,217 L 147,218 L 147,219 L 146,219 L 145,219 L 145,220 L 145,219 L 145,220 L 145,219 L 144,219 L 144,218 L 143,218 L 143,217 L 142,217 L 141,217 L 140,217 L 140,218 L 139,218 L 138,217 L 138,218 L 138,217 L 137,218 L 137,217 L 137,218 L 137,217 L 136,217 L 136,218 L 137,218 L 137,219 L 136,219 L 136,220 L 135,220 L 135,221 L 134,221 L 133,221 L 133,222 L 132,222 L 131,222 L 131,223 L 130,223 L 127,221 L 126,221 L 125,220 L 124,220 L 121,219 L 119,219 L 117,217 L 116,217 L 115,217 L 114,216 L 111,215 L 105,212 L 104,212 L 101,209 L 101,208 L 100,208 L 99,207 L 98,206 L 97,206 L 97,205 L 96,205 L 96,204 L 95,204 L 95,203 L 94,203 L 94,202 L 93,202 L 92,201 L 89,199 L 86,196 L 84,195 L 83,195 L 82,195 L 79,195 L 77,195 L 77,194 L 76,194 L 75,194 L 74,194 L 71,194 L 67,193 L 64,193 L 62,193 L 60,193 L 59,193 L 59,192 L 58,192 L 56,192 L 55,192 L 54,192 L 53,192 L 52,192 L 51,191 L 50,191 L 49,191 L 46,190 L 44,189 L 43,189 L 42,188 L 35,186 L 34,186 L 34,185 L 34,184 L 35,184 L 34,184 L 34,183 L 34,182 L 35,182 L 35,181 L 36,181 L 36,180 L 37,180 L 37,179 L 38,179 L 39,179 L 39,178 L 40,178 L 41,178 L 42,178 L 42,177 L 43,177 L 43,176 L 43,175 L 43,174 L 42,174 L 42,173 L 42,172 L 41,172 L 41,171 L 41,170 L 42,170 L 42,169 L 42,168 L 43,168 L 42,168 L 43,168 L 43,167 L 44,167 L 44,166 L 45,166 L 45,165 L 45,164 L 45,163 L 45,162 L 46,162 L 46,161 L 46,160 L 47,160 L 46,160 L 47,160 L 46,159 L 47,159 L 46,159 L 47,159 L 46,159 L 46,158 L 47,158 L 47,157 L 48,158 L 48,157 L 49,157 L 50,157 L 50,156 L 51,156 L 51,155 L 52,155 L 53,155 L 53,154 L 53,153 L 54,153 L 55,153 L 56,153 L 56,152 L 57,152 L 58,152 L 57,151 L 58,151 L 59,151 L 59,150 L 59,151 L 59,150 L 60,150 L 60,149 L 60,150 L 60,149 L 61,149 L 62,149 L 63,149 L 64,149 L 65,149 L 66,149 L 65,149 L 65,148 L 66,148 L 67,149 L 67,148 L 68,148 L 69,148 L 69,147 L 69,148 L 69,147 L 70,147 L 70,148 L 70,147 L 70,148 L 70,147 L 71,147 L 71,148 L 71,147 L 71,148 L 72,147 L 72,148 L 72,147 L 73,147 L 74,147 L 74,146 L 75,146 L 74,146 L 75,145 L 75,146 L 75,145 L 76,144 L 76,145 L 77,145 L 77,144 L 78,144 L 78,145 L 78,144 L 79,144 L 79,145 L 80,144 L 80,145 L 80,144 L 81,144 L 82,145 L 82,144 L 82,145 L 82,146 L 83,146 L 83,147 L 83,146 L 83,147 L 84,147 L 84,146 L 85,146 L 85,147 L 86,147 L 87,147 L 87,146 L 87,145 L 88,144 L 88,143 L 88,142 L 88,141 L 88,139 L 89,138 L 89,137 L 89,135 L 90,130 L 90,128 L 91,127 L 91,126 L 92,121 L 92,120 L 93,114 L 93,113 L 94,110 L 94,108 L 94,107 L 94,106 L 95,106 L 95,105 L 95,104 L 94,104 L 94,103 L 95,103 L 95,102 L 94,101 L 94,100 L 93,100 L 93,99 L 93,98 L 92,98 L 93,98 L 92,98 L 92,97 L 92,96 L 92,95 L 93,95 L 92,95 L 92,94 L 92,93 L 91,93 L 90,93 L 90,92 L 89,92 L 89,91 L 88,91 L 87,91 L 87,90 L 86,90 L 86,89 L 86,88 L 86,87 L 86,86 L 86,85 L 86,83 L 86,80 L 86,79 L 87,79 L 86,78 L 87,78 L 87,79 L 88,78 L 89,78 L 90,78 L 90,77 L 91,77 L 92,78 L 92,77 L 93,77 L 93,76 L 94,76 L 94,77 L 95,77 L 95,78 L 96,78 L 96,77 L 96,78 L 97,78 L 98,78 L 98,77 L 99,78 L 99,77 L 98,77 L 98,76 L 98,75 L 98,74 L 98,73 L 97,73 L 98,73 L 97,72 L 96,72 L 96,71 L 95,71 L 95,72 L 94,72 L 94,71 L 93,71 L 92,71 L 91,71 L 90,71 L 91,71 L 90,71 L 89,71 L 89,72 L 89,71 L 89,68 L 89,66 L 89,64 L 89,62 L 89,63 L 90,62 L 91,62 L 92,62 L 93,62 L 93,61 L 93,62 L 94,62 L 95,62 L 98,62 L 100,62 L 105,62 L 112,62 L 111,62 L 111,61 L 111,60 L 111,59 L 112,59 L 113,59 L 113,60 L 114,60 L 114,61 L 115,61 L 116,60 L 115,60 L 116,60 L 117,59 L 117,58 L 118,58 L 119,58 L 120,58 L 120,57 L 121,57 L 121,56 L 122,56 L 122,55 L 123,55 L 123,56 L 123,57 L 124,57 L 124,58 "},rr:{name:"Roraima",path:"M 223,13 L 223,14 L 224,13 L 224,14 L 224,15 L 225,15 L 225,16 L 226,16 L 225,16 L 226,16 L 225,16 L 225,17 L 226,17 L 226,18 L 225,18 L 225,19 L 225,20 L 225,21 L 225,22 L 224,22 L 225,22 L 224,22 L 225,22 L 224,22 L 224,23 L 223,23 L 223,24 L 224,24 L 224,23 L 224,24 L 225,24 L 226,24 L 227,24 L 227,25 L 228,25 L 228,24 L 228,25 L 228,24 L 228,25 L 228,24 L 228,25 L 229,25 L 230,25 L 230,26 L 230,25 L 230,26 L 230,27 L 229,27 L 230,27 L 229,27 L 229,28 L 230,28 L 230,29 L 231,29 L 231,30 L 230,30 L 231,30 L 231,31 L 231,30 L 231,31 L 231,30 L 231,31 L 232,31 L 232,32 L 231,32 L 231,33 L 231,34 L 231,33 L 231,34 L 230,34 L 230,35 L 229,35 L 229,36 L 228,36 L 228,37 L 227,37 L 228,37 L 227,37 L 228,37 L 228,38 L 228,39 L 228,40 L 228,41 L 227,41 L 227,42 L 227,43 L 226,43 L 226,44 L 226,45 L 226,46 L 226,47 L 226,48 L 226,49 L 226,50 L 226,51 L 227,51 L 226,51 L 227,51 L 226,51 L 227,51 L 227,52 L 227,53 L 227,54 L 228,54 L 228,55 L 229,55 L 229,54 L 229,55 L 229,56 L 229,57 L 229,58 L 229,59 L 229,60 L 229,61 L 230,61 L 230,60 L 230,61 L 230,62 L 230,61 L 230,62 L 231,62 L 231,63 L 231,62 L 232,62 L 232,63 L 233,63 L 233,64 L 234,64 L 233,64 L 233,65 L 234,65 L 235,65 L 235,66 L 236,66 L 235,66 L 236,66 L 236,67 L 237,67 L 237,68 L 238,68 L 239,68 L 240,68 L 241,68 L 241,69 L 241,74 L 241,78 L 241,83 L 237,83 L 236,83 L 233,83 L 228,83 L 226,83 L 225,83 L 225,84 L 224,84 L 224,85 L 224,86 L 223,86 L 223,87 L 222,88 L 222,89 L 221,89 L 221,90 L 222,90 L 221,91 L 221,92 L 221,93 L 220,93 L 220,94 L 220,95 L 221,95 L 221,96 L 221,97 L 220,97 L 219,97 L 219,98 L 218,98 L 219,98 L 218,98 L 218,99 L 218,98 L 218,99 L 218,98 L 217,98 L 217,99 L 217,98 L 217,99 L 217,98 L 217,99 L 216,99 L 216,98 L 216,99 L 215,98 L 215,97 L 214,97 L 215,97 L 215,96 L 214,96 L 214,95 L 213,95 L 213,94 L 212,94 L 211,94 L 211,93 L 210,93 L 209,93 L 209,94 L 209,93 L 209,94 L 208,94 L 207,94 L 207,95 L 206,95 L 206,96 L 205,96 L 205,97 L 204,97 L 204,98 L 204,99 L 203,99 L 204,100 L 204,101 L 204,102 L 204,103 L 203,103 L 203,104 L 203,105 L 204,105 L 203,105 L 203,106 L 204,106 L 204,107 L 205,107 L 205,108 L 204,108 L 204,107 L 203,107 L 203,106 L 202,106 L 201,106 L 200,106 L 199,106 L 199,105 L 198,105 L 198,104 L 198,103 L 198,102 L 197,102 L 196,102 L 196,101 L 195,101 L 195,100 L 194,100 L 194,99 L 193,99 L 193,98 L 192,98 L 193,98 L 192,98 L 191,98 L 191,97 L 191,96 L 192,96 L 192,97 L 192,96 L 193,96 L 194,95 L 193,95 L 193,94 L 194,94 L 193,94 L 194,93 L 194,92 L 195,92 L 195,91 L 194,91 L 194,90 L 194,89 L 194,88 L 193,88 L 193,87 L 193,86 L 192,86 L 192,85 L 192,84 L 191,84 L 191,83 L 191,82 L 191,81 L 192,81 L 191,81 L 191,80 L 190,80 L 190,79 L 190,78 L 191,78 L 190,78 L 190,77 L 190,76 L 191,76 L 191,75 L 191,74 L 191,73 L 192,73 L 191,73 L 191,72 L 191,71 L 190,71 L 190,70 L 190,69 L 189,68 L 189,67 L 189,66 L 188,66 L 188,65 L 187,65 L 187,64 L 187,63 L 188,63 L 188,62 L 188,61 L 188,60 L 188,59 L 187,59 L 186,59 L 186,58 L 185,58 L 184,58 L 183,58 L 182,57 L 182,56 L 181,56 L 180,56 L 179,56 L 178,55 L 178,54 L 178,53 L 178,52 L 177,52 L 177,53 L 176,53 L 175,53 L 174,53 L 173,53 L 172,53 L 171,53 L 171,52 L 170,52 L 169,52 L 169,51 L 170,51 L 170,50 L 170,49 L 170,48 L 170,47 L 169,47 L 169,46 L 169,45 L 168,45 L 168,44 L 167,44 L 167,43 L 167,42 L 167,41 L 167,40 L 167,39 L 166,39 L 167,39 L 167,38 L 167,37 L 167,36 L 166,36 L 166,35 L 165,35 L 165,34 L 164,34 L 163,34 L 163,33 L 162,33 L 162,32 L 161,32 L 161,31 L 160,31 L 160,30 L 160,29 L 159,29 L 159,28 L 158,28 L 158,27 L 159,27 L 160,27 L 161,28 L 161,29 L 162,29 L 163,29 L 164,29 L 165,29 L 166,29 L 167,29 L 168,29 L 168,30 L 169,30 L 169,31 L 169,32 L 170,32 L 170,33 L 170,32 L 171,32 L 172,32 L 172,31 L 172,32 L 172,31 L 172,32 L 173,32 L 174,32 L 173,32 L 174,32 L 175,32 L 174,32 L 174,31 L 174,30 L 174,31 L 175,31 L 175,32 L 176,32 L 176,33 L 177,33 L 178,33 L 178,32 L 178,31 L 179,31 L 180,31 L 181,31 L 181,32 L 181,33 L 182,33 L 182,34 L 182,33 L 182,34 L 183,34 L 183,35 L 183,36 L 184,36 L 185,36 L 185,35 L 186,35 L 186,34 L 186,35 L 186,34 L 187,35 L 188,35 L 188,34 L 187,34 L 188,34 L 188,33 L 187,33 L 187,32 L 187,31 L 187,30 L 188,30 L 189,30 L 190,30 L 190,31 L 190,30 L 190,29 L 191,29 L 191,28 L 191,29 L 191,28 L 192,28 L 193,28 L 193,29 L 193,28 L 193,29 L 194,29 L 195,29 L 195,30 L 195,29 L 195,30 L 196,30 L 196,29 L 197,29 L 198,29 L 198,28 L 198,29 L 199,29 L 200,29 L 199,29 L 199,28 L 200,28 L 200,29 L 200,28 L 201,28 L 201,27 L 202,27 L 201,27 L 202,27 L 203,27 L 204,27 L 204,26 L 205,26 L 204,26 L 204,25 L 205,25 L 206,25 L 205,25 L 206,25 L 207,25 L 207,24 L 208,24 L 207,24 L 207,23 L 208,23 L 209,23 L 209,24 L 210,24 L 210,23 L 210,24 L 211,24 L 211,23 L 211,24 L 212,24 L 212,23 L 213,23 L 213,22 L 212,22 L 213,22 L 212,22 L 213,22 L 213,21 L 214,21 L 214,20 L 215,20 L 216,20 L 215,20 L 216,20 L 216,19 L 217,19 L 216,19 L 216,18 L 217,18 L 217,17 L 217,16 L 217,15 L 216,15 L 216,14 L 215,14 L 216,14 L 217,14 L 218,14 L 219,14 L 220,14 L 221,14 L 222,14 L 222,13 L 223,13 "},pa:{name:"Pará",path:"M 296,50 L 296,51 L 296,52 L 297,53 L 297,54 L 298,54 L 298,55 L 298,56 L 298,57 L 298,58 L 298,59 L 299,59 L 298,59 L 299,59 L 298,59 L 298,60 L 299,60 L 299,61 L 299,62 L 300,62 L 301,62 L 302,62 L 303,62 L 304,62 L 305,62 L 305,63 L 306,63 L 306,64 L 306,63 L 307,63 L 307,64 L 308,64 L 307,64 L 307,65 L 308,65 L 308,66 L 308,65 L 309,66 L 309,65 L 309,66 L 310,66 L 311,66 L 311,67 L 312,67 L 311,67 L 312,67 L 313,67 L 313,66 L 313,67 L 314,67 L 314,68 L 315,68 L 316,68 L 315,68 L 315,69 L 316,69 L 315,69 L 315,70 L 316,70 L 316,69 L 317,69 L 317,70 L 317,71 L 317,72 L 317,73 L 317,74 L 318,74 L 319,74 L 319,75 L 320,75 L 320,76 L 321,76 L 321,77 L 321,78 L 321,79 L 321,80 L 321,81 L 320,81 L 321,81 L 321,82 L 321,83 L 322,83 L 321,83 L 322,83 L 322,84 L 322,85 L 323,85 L 323,86 L 323,87 L 324,87 L 324,88 L 324,89 L 324,88 L 325,88 L 325,89 L 326,89 L 326,90 L 327,90 L 327,91 L 327,92 L 327,93 L 327,94 L 328,94 L 328,95 L 329,95 L 329,94 L 330,95 L 330,96 L 330,97 L 330,98 L 329,98 L 330,98 L 331,98 L 331,99 L 331,100 L 331,101 L 332,101 L 332,102 L 333,102 L 334,102 L 335,102 L 335,103 L 336,104 L 336,103 L 337,103 L 337,102 L 337,103 L 338,103 L 338,102 L 338,103 L 339,103 L 340,102 L 341,102 L 341,101 L 341,100 L 341,99 L 341,98 L 341,97 L 342,97 L 342,96 L 342,95 L 343,95 L 343,94 L 344,94 L 344,93 L 345,93 L 345,92 L 346,92 L 346,91 L 346,90 L 347,90 L 347,89 L 347,88 L 348,88 L 349,88 L 350,88 L 350,87 L 351,87 L 351,86 L 352,85 L 353,85 L 354,85 L 354,84 L 355,84 L 356,84 L 356,83 L 357,83 L 357,82 L 357,81 L 358,81 L 358,80 L 358,79 L 358,78 L 359,78 L 359,77 L 360,77 L 361,77 L 362,77 L 363,77 L 363,78 L 364,78 L 364,79 L 364,80 L 364,81 L 364,82 L 365,82 L 366,82 L 367,82 L 368,82 L 368,81 L 369,81 L 369,82 L 370,82 L 370,83 L 371,83 L 371,84 L 371,85 L 372,85 L 372,86 L 372,85 L 373,85 L 373,86 L 375,87 L 376,88 L 377,88 L 378,89 L 379,89 L 380,90 L 380,89 L 381,89 L 381,90 L 381,89 L 382,89 L 382,90 L 383,90 L 384,90 L 385,90 L 386,90 L 387,90 L 387,91 L 387,92 L 386,92 L 386,93 L 389,94 L 390,95 L 392,96 L 393,96 L 392,96 L 393,96 L 393,95 L 394,95 L 394,94 L 395,94 L 394,94 L 394,95 L 395,95 L 394,96 L 395,96 L 395,95 L 395,94 L 395,95 L 396,95 L 396,94 L 396,95 L 396,94 L 397,94 L 397,95 L 397,94 L 397,95 L 398,95 L 398,96 L 397,96 L 398,96 L 397,96 L 398,96 L 398,95 L 398,94 L 398,95 L 399,95 L 400,95 L 401,95 L 400,95 L 400,96 L 400,95 L 401,95 L 401,96 L 401,95 L 402,95 L 403,95 L 402,95 L 403,95 L 404,95 L 404,96 L 403,96 L 404,96 L 404,97 L 404,96 L 404,97 L 404,96 L 405,96 L 404,96 L 405,96 L 405,97 L 405,96 L 405,97 L 406,97 L 405,97 L 406,97 L 406,96 L 406,97 L 406,98 L 406,97 L 406,98 L 406,97 L 406,96 L 407,96 L 407,97 L 407,98 L 408,98 L 408,97 L 408,96 L 409,96 L 409,97 L 409,98 L 409,99 L 409,98 L 410,98 L 410,99 L 410,98 L 411,98 L 411,97 L 411,98 L 411,97 L 411,98 L 412,98 L 412,99 L 411,99 L 411,98 L 411,99 L 412,99 L 411,99 L 412,99 L 411,99 L 411,100 L 411,99 L 411,100 L 412,100 L 412,99 L 413,99 L 412,99 L 413,99 L 412,99 L 413,99 L 413,100 L 413,99 L 414,99 L 414,98 L 414,99 L 414,100 L 413,100 L 414,100 L 414,101 L 415,101 L 414,101 L 415,101 L 415,100 L 414,100 L 415,100 L 415,101 L 415,100 L 416,100 L 415,100 L 416,100 L 416,101 L 415,101 L 416,101 L 416,100 L 417,100 L 416,100 L 417,100 L 416,100 L 417,100 L 417,99 L 417,100 L 417,99 L 418,99 L 417,99 L 417,100 L 417,101 L 417,102 L 416,103 L 417,103 L 417,102 L 417,101 L 418,101 L 418,100 L 418,101 L 418,102 L 417,102 L 418,102 L 418,101 L 418,102 L 418,101 L 419,101 L 419,102 L 419,103 L 418,103 L 418,104 L 419,104 L 419,105 L 419,106 L 418,106 L 418,107 L 418,108 L 418,109 L 418,110 L 417,110 L 416,110 L 416,111 L 416,112 L 416,111 L 417,111 L 417,112 L 417,113 L 417,114 L 417,115 L 417,116 L 416,116 L 416,117 L 415,117 L 415,118 L 415,117 L 414,118 L 415,118 L 414,118 L 414,119 L 414,120 L 414,119 L 415,119 L 415,120 L 414,120 L 414,121 L 414,122 L 413,122 L 414,122 L 413,122 L 413,123 L 412,123 L 412,124 L 411,124 L 412,124 L 411,124 L 411,125 L 412,125 L 411,125 L 412,125 L 412,126 L 411,126 L 412,126 L 411,126 L 411,127 L 411,126 L 411,127 L 411,128 L 411,127 L 411,128 L 411,129 L 411,130 L 410,130 L 411,130 L 410,130 L 410,131 L 409,131 L 409,132 L 409,131 L 409,132 L 409,133 L 408,133 L 407,133 L 407,134 L 407,135 L 407,134 L 407,135 L 407,136 L 406,136 L 406,137 L 406,138 L 406,139 L 405,139 L 406,139 L 405,139 L 406,139 L 405,139 L 406,139 L 405,139 L 406,139 L 405,139 L 405,140 L 404,140 L 405,140 L 405,141 L 404,141 L 404,142 L 403,142 L 403,143 L 403,142 L 403,143 L 402,143 L 402,144 L 402,145 L 401,145 L 401,146 L 400,146 L 400,147 L 399,147 L 399,148 L 399,149 L 398,149 L 398,150 L 397,150 L 397,151 L 397,150 L 396,150 L 395,150 L 395,151 L 392,153 L 391,154 L 390,155 L 388,156 L 387,157 L 386,157 L 386,158 L 385,159 L 384,159 L 382,161 L 383,161 L 384,161 L 384,162 L 385,162 L 386,162 L 387,162 L 387,161 L 387,162 L 388,162 L 388,163 L 389,163 L 389,164 L 390,164 L 391,164 L 391,165 L 390,165 L 390,166 L 389,166 L 388,166 L 388,167 L 388,168 L 389,168 L 389,169 L 388,169 L 388,170 L 388,171 L 389,171 L 388,171 L 388,172 L 387,172 L 386,172 L 386,173 L 387,173 L 387,174 L 387,175 L 386,175 L 385,175 L 385,176 L 384,176 L 384,177 L 383,177 L 384,177 L 383,177 L 383,178 L 383,179 L 382,179 L 382,180 L 381,180 L 380,180 L 380,181 L 379,181 L 378,181 L 377,182 L 376,182 L 376,183 L 376,184 L 376,185 L 376,186 L 376,187 L 376,188 L 375,188 L 375,189 L 374,189 L 374,190 L 373,191 L 373,192 L 374,192 L 374,193 L 375,194 L 376,195 L 377,195 L 376,195 L 376,196 L 376,197 L 376,198 L 376,199 L 376,200 L 376,201 L 375,201 L 375,202 L 375,203 L 374,203 L 374,204 L 373,204 L 373,205 L 373,206 L 372,206 L 372,207 L 372,208 L 371,208 L 371,209 L 370,209 L 369,210 L 368,210 L 368,211 L 367,211 L 367,212 L 367,213 L 366,213 L 366,214 L 365,214 L 365,215 L 364,215 L 364,216 L 364,217 L 363,218 L 363,219 L 363,220 L 363,221 L 362,221 L 362,222 L 362,223 L 360,223 L 358,223 L 355,223 L 353,223 L 350,223 L 347,222 L 337,222 L 332,221 L 328,221 L 323,221 L 321,221 L 315,220 L 314,220 L 310,220 L 309,220 L 308,220 L 305,219 L 300,219 L 289,218 L 288,218 L 287,218 L 284,218 L 279,217 L 272,217 L 271,217 L 270,217 L 270,216 L 270,215 L 269,215 L 268,215 L 267,215 L 267,214 L 266,214 L 267,214 L 266,214 L 266,213 L 267,213 L 266,213 L 266,212 L 265,212 L 265,211 L 264,211 L 264,210 L 263,210 L 262,210 L 261,210 L 261,209 L 262,209 L 261,209 L 261,208 L 260,208 L 259,208 L 259,207 L 259,206 L 258,206 L 258,205 L 258,204 L 258,203 L 258,202 L 258,201 L 258,200 L 257,200 L 257,199 L 256,198 L 256,197 L 256,196 L 255,195 L 255,194 L 255,193 L 254,193 L 254,192 L 254,191 L 253,191 L 253,190 L 253,189 L 252,189 L 251,189 L 251,188 L 251,187 L 251,186 L 250,186 L 250,185 L 249,185 L 249,184 L 249,183 L 248,183 L 247,183 L 247,182 L 247,181 L 247,180 L 247,179 L 247,178 L 248,178 L 249,178 L 249,177 L 250,177 L 250,176 L 253,170 L 255,165 L 255,164 L 257,160 L 258,159 L 259,156 L 260,154 L 261,153 L 264,146 L 264,145 L 266,142 L 266,141 L 267,139 L 268,137 L 268,136 L 269,135 L 270,133 L 270,132 L 271,132 L 271,131 L 271,130 L 272,128 L 273,127 L 273,126 L 273,125 L 274,123 L 275,121 L 276,121 L 276,120 L 275,120 L 275,119 L 276,118 L 277,118 L 278,117 L 279,117 L 279,116 L 279,115 L 280,115 L 279,115 L 278,115 L 277,116 L 276,116 L 276,117 L 275,117 L 275,116 L 275,117 L 274,117 L 274,116 L 273,116 L 273,117 L 272,117 L 271,117 L 270,116 L 271,116 L 271,115 L 271,114 L 270,114 L 270,115 L 269,115 L 269,114 L 268,114 L 268,113 L 267,113 L 267,112 L 266,112 L 266,111 L 265,111 L 265,110 L 264,110 L 263,110 L 262,110 L 262,111 L 262,110 L 261,110 L 261,109 L 260,109 L 259,109 L 259,108 L 258,108 L 258,109 L 258,108 L 258,109 L 258,108 L 257,108 L 258,108 L 257,108 L 257,107 L 256,107 L 256,106 L 255,106 L 254,106 L 254,105 L 253,105 L 254,105 L 254,104 L 254,103 L 254,102 L 253,102 L 252,102 L 252,103 L 251,103 L 251,104 L 251,103 L 250,103 L 250,102 L 249,102 L 248,102 L 248,101 L 247,101 L 248,100 L 247,100 L 248,100 L 247,100 L 247,99 L 247,98 L 247,99 L 247,98 L 246,98 L 246,97 L 245,97 L 245,96 L 244,96 L 243,96 L 244,95 L 243,95 L 243,94 L 243,93 L 243,92 L 242,92 L 242,91 L 241,91 L 241,90 L 241,89 L 241,88 L 241,87 L 241,86 L 241,83 L 241,78 L 241,76 L 241,74 L 241,69 L 241,70 L 242,70 L 243,70 L 243,69 L 243,68 L 244,68 L 244,69 L 244,68 L 244,69 L 245,68 L 245,69 L 245,68 L 246,68 L 246,69 L 247,68 L 246,68 L 247,68 L 247,67 L 246,67 L 246,66 L 247,66 L 248,66 L 248,65 L 249,65 L 249,64 L 249,65 L 250,65 L 251,65 L 252,66 L 252,65 L 253,65 L 254,65 L 253,65 L 254,65 L 254,64 L 253,64 L 253,63 L 254,63 L 254,64 L 255,63 L 256,63 L 256,62 L 257,62 L 257,63 L 257,62 L 258,62 L 258,63 L 259,63 L 260,63 L 260,62 L 260,61 L 261,61 L 261,60 L 262,60 L 262,59 L 263,59 L 264,59 L 263,59 L 264,59 L 265,59 L 265,58 L 266,58 L 266,59 L 267,59 L 267,60 L 268,60 L 269,60 L 270,60 L 270,61 L 270,60 L 271,60 L 272,60 L 272,59 L 273,59 L 273,60 L 274,60 L 274,59 L 275,59 L 275,60 L 276,60 L 276,59 L 277,59 L 277,60 L 278,60 L 279,60 L 279,61 L 280,61 L 281,61 L 282,61 L 282,60 L 283,60 L 282,60 L 282,59 L 282,58 L 283,58 L 282,58 L 283,58 L 282,58 L 282,57 L 282,58 L 282,57 L 281,57 L 282,57 L 281,57 L 281,56 L 280,56 L 281,56 L 281,55 L 280,55 L 279,55 L 280,54 L 280,53 L 280,54 L 281,54 L 281,53 L 281,52 L 281,53 L 281,52 L 282,52 L 281,52 L 281,51 L 282,51 L 283,51 L 283,52 L 284,52 L 285,52 L 284,52 L 284,53 L 285,53 L 286,53 L 287,53 L 287,52 L 287,53 L 288,53 L 288,52 L 289,52 L 290,53 L 290,52 L 291,51 L 292,52 L 292,51 L 293,51 L 294,51 L 295,50 L 296,50 "},ap:{name:"Amapá",path:"M 348,31 L 348,32 L 349,32 L 350,32 L 350,33 L 350,34 L 350,35 L 349,35 L 350,35 L 349,35 L 350,35 L 350,36 L 350,37 L 350,38 L 349,38 L 350,39 L 350,40 L 350,41 L 350,42 L 350,43 L 351,43 L 351,44 L 351,45 L 351,46 L 352,46 L 352,47 L 351,47 L 352,47 L 352,48 L 352,49 L 353,49 L 353,50 L 353,51 L 353,52 L 353,51 L 353,52 L 354,52 L 354,53 L 354,54 L 355,54 L 355,55 L 355,56 L 355,57 L 355,56 L 356,56 L 357,56 L 358,56 L 359,56 L 359,57 L 360,57 L 360,58 L 360,59 L 361,59 L 361,60 L 361,61 L 362,61 L 363,61 L 363,62 L 364,62 L 365,62 L 365,63 L 366,63 L 366,64 L 366,65 L 366,66 L 366,67 L 366,68 L 366,69 L 366,70 L 366,71 L 365,71 L 365,72 L 365,73 L 365,74 L 364,74 L 364,75 L 363,75 L 363,76 L 363,77 L 362,77 L 361,77 L 360,77 L 359,77 L 359,78 L 358,78 L 358,79 L 358,80 L 358,81 L 357,81 L 357,82 L 357,83 L 356,83 L 356,84 L 355,84 L 354,84 L 354,85 L 353,85 L 352,85 L 351,86 L 351,87 L 350,87 L 350,88 L 349,88 L 348,88 L 347,88 L 347,89 L 347,90 L 346,90 L 346,91 L 346,92 L 345,92 L 345,93 L 344,93 L 344,94 L 343,94 L 343,95 L 342,95 L 342,96 L 342,97 L 341,97 L 341,98 L 341,99 L 341,100 L 341,101 L 341,102 L 340,102 L 339,103 L 338,103 L 338,102 L 338,103 L 337,103 L 337,102 L 337,103 L 336,103 L 336,104 L 335,103 L 335,102 L 334,102 L 333,102 L 332,102 L 332,101 L 331,101 L 331,100 L 331,99 L 331,98 L 330,98 L 329,98 L 330,98 L 330,97 L 330,96 L 330,95 L 329,94 L 329,95 L 328,95 L 328,94 L 327,94 L 327,93 L 327,92 L 327,91 L 327,90 L 326,90 L 326,89 L 325,89 L 325,88 L 324,88 L 324,89 L 324,88 L 324,87 L 323,87 L 323,86 L 323,85 L 322,85 L 322,84 L 322,83 L 321,83 L 322,83 L 321,83 L 321,82 L 321,81 L 320,81 L 321,81 L 321,80 L 321,79 L 321,78 L 321,77 L 321,76 L 320,76 L 320,75 L 319,75 L 319,74 L 318,74 L 317,74 L 317,73 L 317,72 L 317,71 L 317,70 L 317,69 L 316,69 L 316,70 L 315,70 L 315,69 L 316,69 L 315,69 L 315,68 L 316,68 L 315,68 L 314,68 L 314,67 L 313,67 L 313,66 L 313,67 L 312,67 L 311,67 L 312,67 L 311,67 L 311,66 L 310,66 L 309,66 L 309,65 L 309,66 L 308,65 L 308,66 L 308,65 L 307,65 L 307,64 L 308,64 L 307,64 L 307,63 L 306,63 L 306,64 L 306,63 L 305,63 L 305,62 L 304,62 L 303,62 L 302,62 L 301,62 L 300,62 L 299,62 L 299,61 L 299,60 L 298,60 L 298,59 L 299,59 L 298,59 L 299,59 L 298,59 L 298,58 L 298,57 L 298,56 L 298,55 L 298,54 L 297,54 L 297,53 L 298,52 L 299,52 L 299,53 L 299,54 L 300,54 L 301,54 L 303,56 L 306,56 L 309,55 L 310,55 L 310,54 L 310,55 L 311,55 L 311,54 L 312,54 L 311,54 L 312,54 L 312,53 L 313,53 L 312,54 L 313,54 L 312,54 L 313,54 L 314,54 L 314,55 L 315,55 L 316,55 L 317,55 L 316,55 L 317,55 L 317,54 L 318,54 L 319,54 L 319,55 L 320,55 L 319,55 L 319,56 L 320,56 L 321,56 L 322,56 L 323,56 L 324,56 L 325,56 L 324,55 L 325,55 L 324,55 L 325,55 L 326,54 L 327,54 L 327,53 L 328,53 L 328,52 L 329,52 L 329,51 L 329,50 L 329,49 L 330,49 L 330,48 L 330,47 L 331,47 L 331,46 L 332,46 L 331,46 L 331,45 L 332,45 L 332,44 L 332,43 L 332,42 L 333,42 L 333,41 L 334,41 L 334,40 L 335,40 L 335,39 L 335,38 L 336,38 L 335,38 L 336,38 L 335,38 L 336,38 L 336,37 L 336,36 L 337,36 L 337,35 L 337,34 L 337,35 L 338,35 L 338,34 L 338,33 L 339,33 L 339,32 L 340,32 L 340,31 L 341,31 L 341,30 L 342,30 L 342,29 L 342,28 L 343,27 L 343,26 L 343,25 L 344,25 L 345,25 L 345,26 L 346,26 L 346,27 L 347,27 L 347,28 L 348,29 L 348,30 L 348,31 "},to:{name:"Tocantins",path:"M 387,158 L 388,158 L 388,159 L 389,159 L 390,159 L 390,160 L 391,160 L 392,160 L 392,159 L 393,159 L 394,159 L 394,160 L 394,161 L 395,161 L 396,161 L 396,162 L 397,162 L 398,162 L 398,163 L 398,162 L 399,162 L 399,163 L 400,163 L 400,164 L 400,165 L 400,166 L 400,167 L 400,168 L 400,169 L 400,170 L 400,171 L 400,172 L 401,172 L 401,173 L 401,174 L 401,175 L 400,176 L 401,176 L 401,177 L 400,177 L 400,178 L 400,179 L 399,179 L 400,179 L 399,180 L 400,180 L 399,181 L 399,182 L 399,183 L 399,184 L 398,184 L 398,185 L 398,186 L 397,186 L 396,186 L 396,187 L 397,187 L 397,188 L 398,188 L 398,187 L 399,187 L 399,188 L 400,188 L 400,189 L 399,189 L 398,190 L 399,190 L 400,191 L 400,192 L 401,192 L 401,193 L 402,193 L 401,193 L 401,192 L 402,192 L 402,193 L 402,194 L 402,193 L 402,194 L 403,194 L 403,195 L 404,195 L 403,195 L 404,195 L 404,196 L 404,197 L 405,197 L 405,198 L 406,198 L 406,199 L 406,198 L 406,199 L 406,198 L 406,199 L 406,198 L 407,198 L 407,197 L 408,197 L 408,198 L 408,197 L 409,197 L 410,197 L 410,196 L 410,197 L 410,196 L 411,196 L 411,197 L 411,196 L 411,197 L 411,196 L 412,196 L 412,197 L 413,197 L 414,198 L 414,199 L 413,199 L 414,199 L 413,199 L 413,200 L 414,200 L 414,201 L 413,201 L 413,202 L 412,202 L 411,202 L 411,203 L 410,203 L 409,203 L 409,204 L 408,204 L 408,205 L 409,205 L 408,205 L 409,205 L 408,205 L 409,205 L 408,205 L 409,205 L 408,205 L 408,206 L 408,207 L 408,208 L 407,208 L 408,208 L 408,209 L 408,210 L 407,210 L 406,210 L 407,210 L 407,211 L 406,211 L 406,212 L 405,212 L 406,212 L 405,212 L 406,213 L 407,213 L 407,212 L 407,213 L 408,213 L 407,213 L 408,213 L 408,214 L 409,214 L 408,214 L 409,214 L 409,215 L 409,216 L 409,217 L 410,217 L 411,217 L 411,218 L 412,218 L 413,218 L 412,219 L 413,219 L 413,220 L 412,220 L 412,221 L 411,221 L 411,222 L 412,222 L 412,223 L 413,223 L 414,223 L 414,224 L 413,224 L 414,224 L 414,225 L 414,226 L 414,227 L 415,227 L 415,228 L 416,228 L 417,228 L 418,228 L 419,228 L 420,228 L 420,229 L 421,229 L 422,229 L 423,229 L 424,229 L 424,228 L 424,229 L 425,229 L 424,229 L 424,230 L 423,230 L 423,231 L 423,232 L 422,232 L 422,233 L 421,233 L 420,233 L 420,234 L 419,234 L 418,234 L 418,235 L 417,235 L 418,235 L 418,236 L 417,236 L 417,237 L 416,237 L 416,238 L 416,239 L 415,239 L 415,240 L 414,240 L 414,241 L 414,242 L 413,242 L 413,243 L 412,243 L 412,244 L 412,245 L 413,245 L 413,246 L 414,246 L 414,247 L 415,247 L 416,247 L 417,247 L 417,248 L 418,248 L 419,248 L 418,248 L 418,249 L 418,248 L 418,249 L 418,248 L 418,249 L 417,248 L 416,248 L 416,249 L 416,250 L 415,250 L 416,250 L 416,251 L 415,251 L 415,252 L 416,252 L 417,252 L 418,252 L 417,252 L 417,253 L 416,253 L 415,253 L 415,254 L 415,255 L 415,256 L 415,257 L 416,257 L 416,258 L 415,258 L 416,258 L 416,259 L 417,259 L 417,260 L 418,260 L 418,261 L 417,261 L 416,261 L 416,262 L 417,262 L 416,262 L 417,262 L 417,263 L 416,263 L 417,263 L 417,264 L 416,264 L 416,265 L 417,265 L 416,265 L 416,266 L 416,267 L 416,266 L 417,266 L 418,266 L 419,266 L 418,266 L 418,267 L 417,267 L 416,267 L 415,267 L 415,266 L 415,265 L 414,265 L 414,266 L 414,267 L 411,267 L 410,267 L 409,267 L 409,268 L 408,268 L 407,268 L 407,269 L 406,269 L 405,269 L 405,270 L 404,270 L 405,270 L 404,270 L 403,270 L 403,271 L 402,271 L 401,271 L 401,270 L 401,271 L 400,271 L 400,270 L 399,270 L 399,269 L 398,269 L 399,269 L 398,269 L 397,269 L 397,270 L 397,271 L 397,272 L 398,272 L 398,273 L 397,273 L 397,274 L 395,272 L 394,272 L 394,271 L 393,271 L 393,272 L 393,271 L 393,272 L 393,271 L 392,271 L 391,271 L 390,271 L 390,272 L 390,271 L 390,272 L 390,271 L 390,272 L 390,271 L 390,270 L 390,269 L 390,270 L 389,270 L 388,270 L 388,271 L 388,270 L 388,271 L 387,271 L 386,271 L 386,270 L 386,269 L 385,269 L 385,270 L 385,271 L 385,272 L 384,272 L 384,271 L 384,270 L 384,269 L 384,268 L 384,269 L 384,268 L 384,267 L 383,267 L 382,267 L 382,266 L 381,266 L 381,265 L 380,265 L 379,267 L 379,266 L 378,266 L 377,266 L 377,265 L 378,265 L 377,265 L 377,264 L 377,265 L 376,265 L 376,266 L 375,266 L 375,267 L 374,267 L 374,268 L 374,269 L 374,270 L 374,271 L 373,271 L 372,270 L 371,270 L 367,268 L 367,267 L 366,267 L 365,267 L 365,266 L 364,266 L 363,266 L 362,266 L 362,265 L 362,266 L 362,265 L 361,265 L 360,265 L 360,264 L 361,264 L 360,264 L 361,264 L 361,263 L 360,263 L 361,263 L 360,263 L 361,263 L 361,262 L 361,261 L 362,261 L 361,261 L 362,261 L 362,260 L 362,259 L 363,259 L 362,259 L 362,260 L 361,260 L 360,260 L 360,261 L 360,260 L 360,261 L 359,261 L 359,262 L 359,263 L 358,263 L 358,264 L 358,265 L 357,265 L 356,265 L 357,265 L 357,264 L 356,264 L 356,265 L 356,264 L 356,263 L 356,262 L 355,262 L 355,261 L 355,260 L 356,260 L 356,259 L 356,258 L 356,257 L 356,256 L 355,256 L 355,255 L 355,254 L 355,253 L 356,253 L 355,252 L 356,252 L 355,251 L 355,250 L 355,249 L 355,248 L 356,248 L 355,248 L 355,247 L 354,247 L 354,246 L 354,245 L 355,245 L 355,244 L 355,243 L 356,243 L 356,242 L 355,242 L 355,241 L 356,241 L 356,240 L 356,239 L 356,238 L 356,237 L 356,236 L 357,236 L 357,235 L 356,235 L 357,235 L 356,235 L 357,234 L 357,233 L 358,232 L 358,231 L 359,231 L 359,230 L 359,229 L 359,228 L 359,227 L 360,227 L 360,226 L 361,226 L 361,225 L 361,224 L 362,223 L 361,223 L 362,223 L 362,222 L 362,221 L 363,221 L 363,220 L 363,219 L 363,218 L 364,217 L 364,216 L 364,215 L 365,215 L 365,214 L 366,214 L 366,213 L 367,213 L 367,212 L 367,211 L 368,211 L 368,210 L 369,210 L 370,209 L 371,209 L 371,208 L 372,208 L 372,207 L 372,206 L 373,206 L 373,205 L 373,204 L 374,204 L 374,203 L 375,203 L 375,202 L 375,201 L 376,201 L 376,200 L 376,199 L 376,198 L 376,197 L 376,196 L 376,195 L 377,195 L 376,195 L 375,194 L 374,193 L 374,192 L 373,192 L 373,191 L 374,190 L 374,189 L 375,189 L 375,188 L 376,188 L 376,187 L 376,186 L 376,185 L 376,184 L 376,183 L 376,182 L 377,182 L 378,181 L 379,181 L 380,181 L 380,180 L 381,180 L 382,180 L 382,179 L 383,179 L 383,178 L 383,177 L 384,177 L 383,177 L 384,177 L 384,176 L 385,176 L 385,175 L 386,175 L 387,175 L 387,174 L 387,173 L 386,173 L 386,172 L 387,172 L 388,172 L 388,171 L 389,171 L 388,171 L 388,170 L 388,169 L 389,169 L 389,168 L 388,168 L 388,167 L 388,166 L 389,166 L 390,166 L 390,165 L 391,165 L 391,164 L 390,164 L 389,164 L 389,163 L 388,163 L 388,162 L 387,162 L 387,161 L 387,162 L 386,162 L 385,162 L 384,162 L 384,161 L 383,161 L 382,161 L 383,161 L 383,160 L 384,160 L 384,161 L 384,160 L 385,160 L 385,159 L 386,159 L 386,158 L 387,158 "},ma:{name:"Maranhão",path:"M 423,101 L 422,101 L 423,101 L 423,102 L 422,102 L 422,103 L 421,103 L 422,103 L 421,103 L 422,103 L 422,102 L 422,103 L 422,104 L 422,103 L 422,104 L 422,103 L 422,104 L 423,104 L 423,103 L 423,104 L 423,103 L 423,104 L 423,105 L 423,104 L 423,103 L 424,103 L 424,102 L 425,102 L 425,103 L 425,102 L 425,103 L 424,103 L 424,104 L 425,104 L 424,104 L 424,105 L 425,105 L 424,105 L 424,106 L 424,105 L 424,106 L 424,105 L 424,106 L 425,106 L 424,106 L 425,106 L 425,105 L 425,106 L 425,105 L 426,105 L 426,104 L 426,105 L 426,104 L 426,105 L 426,104 L 427,104 L 426,104 L 427,105 L 426,105 L 427,105 L 426,105 L 427,105 L 426,105 L 426,106 L 426,105 L 427,105 L 426,105 L 427,105 L 427,104 L 427,105 L 427,106 L 427,105 L 427,106 L 428,106 L 428,105 L 428,104 L 429,104 L 429,105 L 428,105 L 428,106 L 427,106 L 428,106 L 428,107 L 427,107 L 428,107 L 428,108 L 427,108 L 428,108 L 428,107 L 428,106 L 428,107 L 429,107 L 428,107 L 428,106 L 429,106 L 429,107 L 429,106 L 429,105 L 430,105 L 429,105 L 430,105 L 430,106 L 430,105 L 430,106 L 430,107 L 429,107 L 429,108 L 429,107 L 429,108 L 429,107 L 430,107 L 430,108 L 430,107 L 430,108 L 429,108 L 430,109 L 429,109 L 430,109 L 429,109 L 429,110 L 429,111 L 429,110 L 430,110 L 430,109 L 431,109 L 431,108 L 431,107 L 432,107 L 432,108 L 432,107 L 432,108 L 432,107 L 432,108 L 433,108 L 432,108 L 433,107 L 432,107 L 433,107 L 433,106 L 433,107 L 433,106 L 433,107 L 433,108 L 433,107 L 434,107 L 435,107 L 435,108 L 435,107 L 436,107 L 435,107 L 436,107 L 436,106 L 436,107 L 436,106 L 436,107 L 436,106 L 437,106 L 437,107 L 436,107 L 435,107 L 436,107 L 436,108 L 435,108 L 436,108 L 436,109 L 437,109 L 437,108 L 437,109 L 437,108 L 438,108 L 438,109 L 437,109 L 438,109 L 437,109 L 438,109 L 438,108 L 438,109 L 439,109 L 439,108 L 439,109 L 439,110 L 439,109 L 438,109 L 438,110 L 437,110 L 438,110 L 438,111 L 437,111 L 438,111 L 438,110 L 437,110 L 438,110 L 438,111 L 437,111 L 437,112 L 437,111 L 437,112 L 437,111 L 437,112 L 436,112 L 437,112 L 437,111 L 438,111 L 438,112 L 438,111 L 439,111 L 438,111 L 438,112 L 439,112 L 439,111 L 439,112 L 439,111 L 439,110 L 440,111 L 439,111 L 439,112 L 440,112 L 439,112 L 440,112 L 441,112 L 440,112 L 440,113 L 441,113 L 441,114 L 441,113 L 441,114 L 441,115 L 442,115 L 442,114 L 442,115 L 441,115 L 441,116 L 442,116 L 442,117 L 443,117 L 442,117 L 443,117 L 443,118 L 443,119 L 443,120 L 442,120 L 443,121 L 444,121 L 445,121 L 446,121 L 446,120 L 447,120 L 448,120 L 448,121 L 448,120 L 447,120 L 447,121 L 447,120 L 447,121 L 446,121 L 447,121 L 448,121 L 449,121 L 448,122 L 449,122 L 449,121 L 450,121 L 450,120 L 450,119 L 451,119 L 452,119 L 451,119 L 452,119 L 452,118 L 453,118 L 453,117 L 454,117 L 454,118 L 455,119 L 456,119 L 457,119 L 458,119 L 459,119 L 460,120 L 461,120 L 462,120 L 462,121 L 463,121 L 464,121 L 464,122 L 465,122 L 466,122 L 465,122 L 466,122 L 466,123 L 466,122 L 467,122 L 467,123 L 468,123 L 468,124 L 469,124 L 470,124 L 471,124 L 472,124 L 473,124 L 474,124 L 475,124 L 475,125 L 476,125 L 476,124 L 477,124 L 478,124 L 479,125 L 478,125 L 478,126 L 478,127 L 479,127 L 479,128 L 478,128 L 478,129 L 477,129 L 477,130 L 477,131 L 476,131 L 476,132 L 475,132 L 474,132 L 475,132 L 474,132 L 474,133 L 474,134 L 473,134 L 472,134 L 471,134 L 470,134 L 470,135 L 470,134 L 470,135 L 469,135 L 469,134 L 469,135 L 468,135 L 468,136 L 467,136 L 467,137 L 467,138 L 466,138 L 467,138 L 467,139 L 466,139 L 467,139 L 466,139 L 466,140 L 466,141 L 465,141 L 465,142 L 464,142 L 464,143 L 464,144 L 463,144 L 464,144 L 463,144 L 463,145 L 462,145 L 462,146 L 462,147 L 463,147 L 463,148 L 464,148 L 464,149 L 464,150 L 464,151 L 463,151 L 463,152 L 463,153 L 463,154 L 464,154 L 463,154 L 464,154 L 464,155 L 464,156 L 464,157 L 465,157 L 465,158 L 465,159 L 464,159 L 465,160 L 465,161 L 464,161 L 463,161 L 463,162 L 462,162 L 462,163 L 462,164 L 461,164 L 461,165 L 461,166 L 461,167 L 461,168 L 461,169 L 461,170 L 461,171 L 462,171 L 462,172 L 463,172 L 463,173 L 464,173 L 464,174 L 464,175 L 464,174 L 464,175 L 464,176 L 464,177 L 464,178 L 463,178 L 463,179 L 463,180 L 462,180 L 461,180 L 461,181 L 460,181 L 459,181 L 459,180 L 459,181 L 458,181 L 457,181 L 456,181 L 456,182 L 455,182 L 455,181 L 454,181 L 454,180 L 453,180 L 452,180 L 451,180 L 450,180 L 449,180 L 449,181 L 449,180 L 448,180 L 448,181 L 447,181 L 447,182 L 446,181 L 446,182 L 446,183 L 445,183 L 445,184 L 444,184 L 444,185 L 443,185 L 443,186 L 442,186 L 441,186 L 441,187 L 440,187 L 440,188 L 439,188 L 439,189 L 438,189 L 437,189 L 436,189 L 436,190 L 435,190 L 435,191 L 435,190 L 434,190 L 434,191 L 433,191 L 432,191 L 431,191 L 431,192 L 431,191 L 431,192 L 430,192 L 429,192 L 429,193 L 428,193 L 428,194 L 427,194 L 428,194 L 427,194 L 427,195 L 427,196 L 427,197 L 426,197 L 427,197 L 426,197 L 426,198 L 427,198 L 426,198 L 426,199 L 426,200 L 426,201 L 425,201 L 425,202 L 425,203 L 424,203 L 424,204 L 424,205 L 424,206 L 423,206 L 424,206 L 423,206 L 423,207 L 423,208 L 422,208 L 421,208 L 421,209 L 421,210 L 420,210 L 421,210 L 420,210 L 420,211 L 421,211 L 421,212 L 421,213 L 421,214 L 422,214 L 422,215 L 422,216 L 422,217 L 423,217 L 423,218 L 423,219 L 422,220 L 423,220 L 423,221 L 423,222 L 423,223 L 422,223 L 422,224 L 422,225 L 422,226 L 422,227 L 422,228 L 421,228 L 421,229 L 420,229 L 420,228 L 419,228 L 418,228 L 417,228 L 416,228 L 415,228 L 415,227 L 414,227 L 414,226 L 414,225 L 414,224 L 413,224 L 414,224 L 414,223 L 413,223 L 412,223 L 412,222 L 411,222 L 411,221 L 412,221 L 412,220 L 413,220 L 413,219 L 412,219 L 413,218 L 412,218 L 411,218 L 411,217 L 410,217 L 409,217 L 409,216 L 409,215 L 409,214 L 408,214 L 409,214 L 408,214 L 408,213 L 407,213 L 408,213 L 407,213 L 407,212 L 407,213 L 406,213 L 405,212 L 406,212 L 405,212 L 406,212 L 406,211 L 407,211 L 407,210 L 406,210 L 407,210 L 408,210 L 408,209 L 408,208 L 407,208 L 408,208 L 408,207 L 408,206 L 408,205 L 409,205 L 408,205 L 409,205 L 408,205 L 409,205 L 408,205 L 409,205 L 408,205 L 408,204 L 409,204 L 409,203 L 410,203 L 411,203 L 411,202 L 412,202 L 413,202 L 413,201 L 414,201 L 414,200 L 413,200 L 413,199 L 414,199 L 413,199 L 414,199 L 414,198 L 413,197 L 412,197 L 412,196 L 411,196 L 411,197 L 411,196 L 411,197 L 411,196 L 410,196 L 410,197 L 410,196 L 410,197 L 409,197 L 408,197 L 408,198 L 408,197 L 407,197 L 407,198 L 406,198 L 406,199 L 406,198 L 406,199 L 406,198 L 406,199 L 406,198 L 405,198 L 405,197 L 404,197 L 404,196 L 404,195 L 403,195 L 404,195 L 403,195 L 403,194 L 402,194 L 402,193 L 402,194 L 402,193 L 402,192 L 401,192 L 401,193 L 402,193 L 401,193 L 401,192 L 400,192 L 400,191 L 399,190 L 398,190 L 399,189 L 400,189 L 400,188 L 399,188 L 399,187 L 398,187 L 398,188 L 397,188 L 397,187 L 396,187 L 396,186 L 397,186 L 398,186 L 398,185 L 398,184 L 399,184 L 399,183 L 399,182 L 399,181 L 400,180 L 399,180 L 400,179 L 399,179 L 400,179 L 400,178 L 400,177 L 401,177 L 401,176 L 400,176 L 401,175 L 401,174 L 401,173 L 401,172 L 400,172 L 400,171 L 400,170 L 400,169 L 400,168 L 400,167 L 400,166 L 400,165 L 400,164 L 400,163 L 399,163 L 399,162 L 398,162 L 398,163 L 398,162 L 397,162 L 396,162 L 396,161 L 395,161 L 394,161 L 394,160 L 394,159 L 393,159 L 392,159 L 392,160 L 391,160 L 390,160 L 390,159 L 389,159 L 388,159 L 388,158 L 387,158 L 386,158 L 386,159 L 385,159 L 385,160 L 384,160 L 384,161 L 384,160 L 383,160 L 383,161 L 382,161 L 384,159 L 385,159 L 386,158 L 386,157 L 387,157 L 388,156 L 390,155 L 391,154 L 392,153 L 394,152 L 395,151 L 395,150 L 396,150 L 397,150 L 397,151 L 397,150 L 398,150 L 398,149 L 399,149 L 399,148 L 399,147 L 400,147 L 400,146 L 401,146 L 401,145 L 402,145 L 402,144 L 402,143 L 403,143 L 403,142 L 403,143 L 403,142 L 404,142 L 404,141 L 405,141 L 405,140 L 404,140 L 405,140 L 405,139 L 406,139 L 405,139 L 406,139 L 405,139 L 406,139 L 405,139 L 406,139 L 405,139 L 406,139 L 406,138 L 406,137 L 406,136 L 407,136 L 407,135 L 407,134 L 407,135 L 407,134 L 407,133 L 408,133 L 409,133 L 409,132 L 409,131 L 409,132 L 409,131 L 410,131 L 410,130 L 411,130 L 410,130 L 411,130 L 411,129 L 411,128 L 411,127 L 411,128 L 411,127 L 411,126 L 411,127 L 411,126 L 412,126 L 411,126 L 412,126 L 412,125 L 411,125 L 412,125 L 411,125 L 411,124 L 412,124 L 411,124 L 412,124 L 412,123 L 413,123 L 413,122 L 414,122 L 413,122 L 414,122 L 414,121 L 414,120 L 415,120 L 415,119 L 414,119 L 414,120 L 414,119 L 414,118 L 415,118 L 414,118 L 415,117 L 415,118 L 415,117 L 416,117 L 416,116 L 417,116 L 417,115 L 417,114 L 417,113 L 417,112 L 417,111 L 416,111 L 416,112 L 416,111 L 416,110 L 417,110 L 418,110 L 418,109 L 418,108 L 418,107 L 418,106 L 419,106 L 419,105 L 419,104 L 418,104 L 418,103 L 419,103 L 419,102 L 419,103 L 419,102 L 420,102 L 420,103 L 420,102 L 420,101 L 420,102 L 420,101 L 420,102 L 420,101 L 421,101 L 421,102 L 421,101 L 421,102 L 420,102 L 421,102 L 420,102 L 421,102 L 420,102 L 420,103 L 420,102 L 421,103 L 421,102 L 421,103 L 421,104 L 421,103 L 421,102 L 422,102 L 422,101 L 423,101 "},pi:{name:"Piauí",path:"M 479,125 L 480,125 L 480,126 L 481,126 L 481,127 L 482,127 L 483,127 L 484,127 L 485,127 L 485,128 L 486,128 L 486,129 L 486,130 L 485,130 L 485,131 L 485,132 L 484,132 L 484,133 L 484,134 L 485,134 L 485,135 L 486,135 L 485,135 L 485,136 L 485,137 L 485,138 L 486,138 L 487,138 L 486,138 L 486,139 L 486,140 L 486,141 L 487,141 L 487,142 L 486,142 L 487,142 L 486,142 L 486,143 L 487,142 L 487,143 L 488,143 L 488,142 L 488,143 L 488,144 L 489,144 L 488,145 L 488,146 L 488,147 L 488,148 L 487,148 L 487,149 L 487,150 L 486,150 L 487,150 L 487,151 L 487,152 L 486,152 L 486,153 L 487,153 L 486,153 L 486,154 L 487,154 L 486,154 L 487,154 L 487,155 L 488,155 L 488,156 L 488,157 L 489,157 L 490,157 L 490,158 L 491,158 L 491,159 L 491,160 L 491,161 L 491,162 L 491,163 L 491,164 L 491,165 L 491,166 L 491,167 L 491,168 L 491,169 L 492,169 L 492,170 L 491,170 L 491,171 L 492,171 L 492,172 L 492,173 L 492,174 L 493,174 L 493,175 L 493,176 L 493,177 L 493,178 L 494,178 L 494,179 L 495,179 L 495,180 L 496,180 L 497,180 L 497,181 L 498,181 L 499,181 L 498,181 L 498,182 L 498,183 L 498,184 L 498,185 L 497,185 L 497,186 L 497,187 L 497,188 L 496,188 L 496,189 L 495,190 L 494,190 L 494,191 L 494,192 L 495,192 L 495,193 L 495,194 L 494,194 L 495,195 L 496,195 L 496,196 L 496,197 L 496,198 L 495,199 L 496,199 L 496,200 L 495,200 L 494,200 L 494,201 L 493,201 L 493,202 L 492,202 L 492,203 L 491,203 L 491,204 L 490,204 L 490,203 L 490,204 L 489,204 L 489,205 L 488,205 L 488,206 L 487,206 L 487,207 L 486,207 L 485,207 L 485,208 L 484,208 L 484,209 L 483,209 L 483,210 L 482,211 L 481,211 L 481,212 L 480,212 L 480,213 L 479,213 L 479,214 L 478,214 L 478,215 L 477,215 L 476,215 L 475,215 L 475,216 L 474,216 L 473,216 L 472,216 L 471,216 L 471,217 L 470,217 L 470,218 L 469,218 L 469,219 L 468,219 L 467,219 L 466,219 L 466,220 L 465,220 L 464,220 L 464,219 L 463,219 L 463,218 L 463,217 L 462,217 L 461,217 L 460,217 L 459,217 L 458,217 L 458,218 L 458,217 L 457,217 L 457,216 L 456,216 L 456,215 L 455,215 L 455,216 L 454,216 L 453,217 L 452,217 L 452,218 L 451,218 L 451,219 L 450,219 L 450,220 L 450,221 L 451,221 L 451,222 L 452,223 L 453,223 L 453,224 L 452,224 L 452,225 L 453,225 L 453,226 L 452,226 L 452,227 L 451,227 L 451,228 L 451,229 L 450,229 L 450,230 L 450,231 L 449,231 L 449,232 L 448,232 L 448,231 L 448,232 L 447,233 L 447,234 L 446,234 L 445,234 L 444,234 L 444,233 L 443,233 L 443,234 L 442,234 L 441,234 L 441,235 L 441,234 L 440,234 L 440,235 L 439,235 L 439,236 L 438,236 L 438,237 L 437,237 L 437,238 L 436,238 L 435,238 L 434,238 L 434,237 L 433,237 L 432,237 L 431,237 L 431,236 L 430,236 L 429,236 L 429,235 L 428,235 L 428,234 L 428,233 L 428,232 L 429,232 L 428,232 L 428,231 L 428,230 L 427,230 L 427,229 L 426,229 L 426,228 L 426,227 L 425,227 L 425,228 L 424,228 L 424,229 L 423,229 L 422,229 L 421,229 L 421,228 L 422,228 L 422,227 L 422,226 L 422,225 L 422,224 L 422,223 L 423,223 L 423,222 L 423,221 L 423,220 L 422,220 L 423,219 L 423,218 L 423,217 L 422,217 L 422,216 L 422,215 L 422,214 L 421,214 L 421,213 L 421,212 L 421,211 L 420,211 L 420,210 L 421,210 L 420,210 L 421,210 L 421,209 L 421,208 L 422,208 L 423,208 L 423,207 L 423,206 L 424,206 L 423,206 L 424,206 L 424,205 L 424,204 L 424,203 L 425,203 L 425,202 L 425,201 L 426,201 L 426,200 L 426,199 L 426,198 L 427,198 L 426,198 L 426,197 L 427,197 L 426,197 L 427,197 L 427,196 L 427,195 L 427,194 L 428,194 L 427,194 L 428,194 L 428,193 L 429,193 L 429,192 L 430,192 L 431,192 L 431,191 L 431,192 L 431,191 L 432,191 L 433,191 L 434,191 L 434,190 L 435,190 L 435,191 L 435,190 L 436,190 L 436,189 L 437,189 L 438,189 L 439,189 L 439,188 L 440,188 L 440,187 L 441,187 L 441,186 L 442,186 L 443,186 L 443,185 L 444,185 L 444,184 L 445,184 L 445,183 L 446,183 L 446,182 L 446,181 L 447,182 L 447,181 L 448,181 L 448,180 L 449,180 L 449,181 L 449,180 L 450,180 L 451,180 L 452,180 L 453,180 L 454,180 L 454,181 L 455,181 L 455,182 L 456,182 L 456,181 L 457,181 L 458,181 L 459,181 L 459,180 L 459,181 L 460,181 L 461,181 L 461,180 L 462,180 L 463,180 L 463,179 L 463,178 L 464,178 L 464,177 L 464,176 L 464,175 L 464,174 L 464,175 L 464,174 L 464,173 L 463,173 L 463,172 L 462,172 L 462,171 L 461,171 L 461,170 L 461,169 L 461,168 L 461,167 L 461,166 L 461,165 L 461,164 L 462,164 L 462,163 L 462,162 L 463,162 L 463,161 L 464,161 L 465,161 L 465,160 L 464,159 L 465,159 L 465,158 L 465,157 L 464,157 L 464,156 L 464,155 L 464,154 L 463,154 L 464,154 L 463,154 L 463,153 L 463,152 L 463,151 L 464,151 L 464,150 L 464,149 L 464,148 L 463,148 L 463,147 L 462,147 L 462,146 L 462,145 L 463,145 L 463,144 L 464,144 L 463,144 L 464,144 L 464,143 L 464,142 L 465,142 L 465,141 L 466,141 L 466,140 L 466,139 L 467,139 L 466,139 L 467,139 L 467,138 L 466,138 L 467,138 L 467,137 L 467,136 L 468,136 L 468,135 L 469,135 L 469,134 L 469,135 L 470,135 L 470,134 L 470,135 L 470,134 L 471,134 L 472,134 L 473,134 L 474,134 L 474,133 L 474,132 L 475,132 L 474,132 L 475,132 L 476,132 L 476,131 L 477,131 L 477,130 L 477,129 L 478,129 L 478,128 L 479,128 L 479,127 L 478,127 L 478,126 L 478,125 L 479,125 "},ce:{name:"Ceará",path:"M 488,149 L 487,149 L 487,148 L 488,148 L 488,147 L 488,146 L 488,145 L 489,144 L 488,144 L 488,143 L 488,142 L 488,143 L 487,143 L 487,142 L 486,143 L 486,142 L 487,142 L 486,142 L 487,142 L 487,141 L 486,141 L 486,140 L 486,139 L 486,138 L 487,138 L 486,138 L 485,138 L 485,137 L 485,136 L 485,135 L 486,135 L 485,135 L 485,134 L 484,134 L 484,133 L 484,132 L 485,132 L 485,131 L 485,130 L 486,130 L 486,129 L 486,128 L 485,128 L 485,127 L 486,127 L 487,127 L 488,127 L 489,127 L 490,127 L 490,126 L 491,126 L 492,126 L 492,127 L 492,126 L 493,126 L 494,126 L 495,126 L 496,126 L 496,125 L 497,125 L 498,125 L 498,126 L 499,126 L 499,125 L 500,125 L 500,126 L 500,125 L 500,126 L 501,126 L 502,126 L 503,126 L 504,126 L 503,126 L 504,126 L 505,126 L 505,127 L 506,127 L 507,127 L 507,128 L 508,128 L 509,128 L 509,129 L 510,129 L 510,130 L 511,130 L 512,130 L 512,131 L 513,131 L 514,131 L 514,132 L 515,132 L 515,133 L 516,133 L 517,134 L 518,134 L 519,134 L 519,135 L 520,135 L 520,136 L 521,136 L 521,137 L 522,137 L 522,138 L 523,138 L 524,138 L 525,138 L 525,139 L 526,139 L 526,140 L 527,140 L 527,141 L 528,141 L 528,142 L 529,142 L 529,143 L 530,143 L 530,144 L 530,145 L 531,145 L 531,146 L 532,146 L 533,146 L 533,147 L 534,147 L 534,148 L 535,148 L 535,149 L 536,149 L 536,150 L 537,150 L 537,151 L 538,151 L 539,151 L 540,151 L 540,152 L 541,152 L 542,153 L 542,154 L 541,154 L 539,154 L 538,155 L 537,155 L 536,155 L 536,156 L 536,157 L 535,157 L 535,158 L 535,159 L 535,160 L 534,160 L 535,160 L 534,160 L 534,161 L 533,161 L 534,161 L 534,162 L 533,162 L 533,163 L 532,163 L 532,164 L 531,164 L 531,165 L 530,165 L 530,166 L 531,166 L 531,167 L 530,167 L 530,168 L 530,169 L 529,169 L 529,170 L 528,170 L 528,171 L 527,171 L 526,171 L 525,171 L 525,172 L 525,173 L 524,173 L 524,174 L 523,174 L 524,174 L 523,174 L 524,175 L 523,175 L 524,175 L 523,175 L 524,175 L 524,176 L 524,177 L 523,177 L 523,178 L 523,179 L 522,179 L 523,179 L 522,179 L 522,180 L 523,180 L 523,181 L 522,181 L 522,182 L 521,182 L 521,183 L 521,184 L 522,184 L 522,185 L 522,186 L 523,186 L 523,187 L 524,187 L 524,188 L 524,189 L 523,189 L 523,190 L 523,191 L 522,191 L 523,191 L 522,191 L 523,191 L 522,191 L 522,192 L 522,193 L 522,192 L 522,193 L 521,193 L 520,193 L 520,194 L 519,194 L 518,194 L 518,195 L 519,195 L 518,195 L 518,196 L 518,195 L 517,195 L 517,196 L 516,196 L 516,195 L 516,194 L 515,194 L 515,193 L 514,193 L 514,194 L 514,193 L 513,193 L 513,192 L 512,192 L 511,192 L 511,191 L 511,190 L 510,190 L 510,191 L 510,190 L 509,190 L 509,189 L 508,189 L 508,188 L 507,188 L 506,188 L 505,188 L 505,189 L 505,188 L 505,189 L 504,189 L 503,189 L 502,189 L 501,189 L 501,188 L 500,188 L 499,188 L 499,189 L 498,189 L 497,189 L 497,188 L 496,188 L 497,188 L 497,187 L 497,186 L 497,185 L 498,185 L 498,184 L 498,183 L 498,182 L 498,181 L 499,181 L 498,181 L 497,181 L 497,180 L 496,180 L 495,180 L 495,179 L 494,179 L 494,178 L 493,178 L 493,177 L 493,176 L 493,175 L 493,174 L 492,174 L 492,173 L 492,172 L 492,171 L 491,171 L 491,170 L 492,170 L 492,169 L 491,169 L 491,168 L 491,167 L 491,166 L 491,165 L 491,164 L 491,163 L 491,162 L 491,161 L 491,160 L 491,159 L 491,158 L 490,158 L 490,157 L 489,157 L 488,157 L 488,156 L 488,155 L 487,155 L 487,154 L 486,154 L 487,154 L 486,154 L 486,153 L 487,153 L 486,153 L 486,152 L 487,152 L 487,151 L 487,150 L 486,150 L 487,150 L 487,149 L 488,149 "},rn:{name:"Rio Grande do Norte",path:"M 542,154 L 543,154 L 543,155 L 544,155 L 545,155 L 546,155 L 547,155 L 547,156 L 548,156 L 548,157 L 549,157 L 550,157 L 551,157 L 552,157 L 553,157 L 554,157 L 555,157 L 556,157 L 557,157 L 558,157 L 559,157 L 560,157 L 561,157 L 562,157 L 563,157 L 564,157 L 564,158 L 565,158 L 566,158 L 567,158 L 567,159 L 568,159 L 568,160 L 568,161 L 569,161 L 569,162 L 569,163 L 570,163 L 570,164 L 570,165 L 570,166 L 571,166 L 570,166 L 571,166 L 571,167 L 571,168 L 571,169 L 572,169 L 572,170 L 572,171 L 572,172 L 572,173 L 573,173 L 573,174 L 573,175 L 574,175 L 574,176 L 574,177 L 573,177 L 572,177 L 571,177 L 571,178 L 570,177 L 569,177 L 568,177 L 567,177 L 566,177 L 566,176 L 566,177 L 565,177 L 565,176 L 564,176 L 563,176 L 563,177 L 562,177 L 561,177 L 560,177 L 559,177 L 559,176 L 558,176 L 557,176 L 556,176 L 556,175 L 556,176 L 556,175 L 555,175 L 556,175 L 556,174 L 555,174 L 554,174 L 554,175 L 553,175 L 552,175 L 552,176 L 552,177 L 553,177 L 553,178 L 553,179 L 553,178 L 552,178 L 552,179 L 552,180 L 552,181 L 552,182 L 551,182 L 552,182 L 551,182 L 552,182 L 551,182 L 551,183 L 550,183 L 550,184 L 549,184 L 549,183 L 549,182 L 549,181 L 549,182 L 549,181 L 548,180 L 547,180 L 546,181 L 546,180 L 545,180 L 544,180 L 544,181 L 543,181 L 542,181 L 542,180 L 541,180 L 542,180 L 541,179 L 541,180 L 540,180 L 539,180 L 539,179 L 539,178 L 539,177 L 540,177 L 540,176 L 540,175 L 540,174 L 541,174 L 542,174 L 542,173 L 543,173 L 543,172 L 543,171 L 543,170 L 542,170 L 542,171 L 541,171 L 540,171 L 539,171 L 539,172 L 538,172 L 539,172 L 538,172 L 537,172 L 537,173 L 536,173 L 536,172 L 535,172 L 535,173 L 535,174 L 534,174 L 534,175 L 533,175 L 533,176 L 532,176 L 532,175 L 532,176 L 531,176 L 530,176 L 530,177 L 529,177 L 528,177 L 527,177 L 527,176 L 526,176 L 525,176 L 525,175 L 525,174 L 525,175 L 524,175 L 523,174 L 524,174 L 523,174 L 524,174 L 524,173 L 525,173 L 525,172 L 525,171 L 526,171 L 527,171 L 528,171 L 528,170 L 529,170 L 529,169 L 530,169 L 530,168 L 530,167 L 531,167 L 531,166 L 530,166 L 530,165 L 531,165 L 531,164 L 532,164 L 532,163 L 533,163 L 533,162 L 534,162 L 534,161 L 533,161 L 534,161 L 534,160 L 535,160 L 534,160 L 535,160 L 535,159 L 535,158 L 535,157 L 536,157 L 536,156 L 536,155 L 537,155 L 538,155 L 539,154 L 541,154 L 542,154 "},pb:{name:"Paraíba",path:"M 542,170 L 543,170 L 543,171 L 543,172 L 543,173 L 542,173 L 542,174 L 541,174 L 540,174 L 540,175 L 540,176 L 540,177 L 539,177 L 539,178 L 539,179 L 539,180 L 540,180 L 541,180 L 541,179 L 542,180 L 541,180 L 542,180 L 542,181 L 543,181 L 544,181 L 544,180 L 545,180 L 546,180 L 546,181 L 547,180 L 548,180 L 548,181 L 549,181 L 549,182 L 549,181 L 549,182 L 549,183 L 549,184 L 550,184 L 550,183 L 551,183 L 551,182 L 552,182 L 551,182 L 552,182 L 551,182 L 552,182 L 552,181 L 552,180 L 552,179 L 552,178 L 553,178 L 553,179 L 553,178 L 553,177 L 552,177 L 552,176 L 552,175 L 553,175 L 554,175 L 554,174 L 555,174 L 556,174 L 556,175 L 555,175 L 556,175 L 556,176 L 556,175 L 556,176 L 557,176 L 558,176 L 559,176 L 559,177 L 560,177 L 561,177 L 562,177 L 563,177 L 563,176 L 564,176 L 565,176 L 565,177 L 566,177 L 566,176 L 566,177 L 567,177 L 568,177 L 569,177 L 570,177 L 571,178 L 571,177 L 572,177 L 573,177 L 574,177 L 574,178 L 574,179 L 574,180 L 574,181 L 575,181 L 575,182 L 575,183 L 575,184 L 576,184 L 576,183 L 576,184 L 576,185 L 576,186 L 576,187 L 576,188 L 576,189 L 576,190 L 576,191 L 575,191 L 574,191 L 573,191 L 573,190 L 574,190 L 573,190 L 572,189 L 571,189 L 570,189 L 569,189 L 569,190 L 569,189 L 569,190 L 568,190 L 567,190 L 566,190 L 566,191 L 566,192 L 566,193 L 565,193 L 564,193 L 564,194 L 564,193 L 563,193 L 563,194 L 562,194 L 561,194 L 561,195 L 560,195 L 559,195 L 558,195 L 557,195 L 556,194 L 556,195 L 555,195 L 554,195 L 553,195 L 553,196 L 553,197 L 552,197 L 552,196 L 551,196 L 551,197 L 551,198 L 551,199 L 550,199 L 551,199 L 550,199 L 550,200 L 549,200 L 548,200 L 548,201 L 547,201 L 546,201 L 546,202 L 545,202 L 545,201 L 544,201 L 545,201 L 544,201 L 544,200 L 543,200 L 543,199 L 544,199 L 543,199 L 544,199 L 543,199 L 543,198 L 543,197 L 542,197 L 541,197 L 541,196 L 542,196 L 542,195 L 543,195 L 543,194 L 544,194 L 543,194 L 543,193 L 543,192 L 544,192 L 544,191 L 545,191 L 546,191 L 546,190 L 545,190 L 545,189 L 544,189 L 543,188 L 542,188 L 541,188 L 541,189 L 540,189 L 539,189 L 539,190 L 538,190 L 538,191 L 537,191 L 536,191 L 536,192 L 535,192 L 535,193 L 535,192 L 534,192 L 534,193 L 534,192 L 534,193 L 533,193 L 533,194 L 532,194 L 532,195 L 531,195 L 531,194 L 531,195 L 530,195 L 529,195 L 528,195 L 527,195 L 527,194 L 527,193 L 526,193 L 526,194 L 525,194 L 524,194 L 523,194 L 523,193 L 522,193 L 522,192 L 522,191 L 523,191 L 522,191 L 523,191 L 522,191 L 523,191 L 523,190 L 523,189 L 524,189 L 524,188 L 524,187 L 523,187 L 523,186 L 522,186 L 522,185 L 522,184 L 521,184 L 521,183 L 521,182 L 522,182 L 522,181 L 523,181 L 523,180 L 522,180 L 522,179 L 523,179 L 522,179 L 523,179 L 523,178 L 523,177 L 524,177 L 524,176 L 524,175 L 523,175 L 524,175 L 523,175 L 524,175 L 525,175 L 525,174 L 525,175 L 525,176 L 526,176 L 527,176 L 527,177 L 528,177 L 529,177 L 530,177 L 530,176 L 531,176 L 532,176 L 532,175 L 532,176 L 533,176 L 533,175 L 534,175 L 534,174 L 535,174 L 535,173 L 535,172 L 536,172 L 536,173 L 537,173 L 537,172 L 538,172 L 539,172 L 538,172 L 539,172 L 539,171 L 540,171 L 541,171 L 542,171 L 542,170 "},pe:{name:"Pernambuco",path:"M 542,188 L 543,188 L 544,189 L 545,189 L 545,190 L 546,190 L 546,191 L 545,191 L 544,191 L 544,192 L 543,192 L 543,193 L 543,194 L 544,194 L 543,194 L 543,195 L 542,195 L 542,196 L 541,196 L 541,197 L 542,197 L 543,197 L 543,198 L 543,199 L 544,199 L 543,199 L 544,199 L 543,199 L 543,200 L 544,200 L 544,201 L 545,201 L 544,201 L 545,201 L 545,202 L 546,202 L 546,201 L 547,201 L 548,201 L 548,200 L 549,200 L 550,200 L 550,199 L 551,199 L 550,199 L 551,199 L 551,198 L 551,197 L 551,196 L 552,196 L 552,197 L 553,197 L 553,196 L 553,195 L 554,195 L 555,195 L 556,195 L 556,194 L 557,195 L 558,195 L 559,195 L 560,195 L 561,195 L 561,194 L 562,194 L 563,194 L 563,193 L 564,193 L 564,194 L 564,193 L 565,193 L 566,193 L 566,192 L 566,191 L 566,190 L 567,190 L 568,190 L 569,190 L 569,189 L 569,190 L 569,189 L 570,189 L 571,189 L 572,189 L 573,190 L 574,190 L 573,190 L 573,191 L 574,191 L 575,191 L 576,191 L 576,192 L 576,193 L 575,193 L 576,193 L 576,194 L 576,195 L 575,195 L 576,195 L 575,195 L 576,195 L 576,196 L 576,197 L 576,198 L 575,198 L 575,199 L 575,200 L 574,200 L 574,201 L 574,202 L 574,203 L 574,204 L 573,204 L 573,205 L 573,206 L 573,205 L 573,206 L 572,206 L 572,207 L 572,208 L 572,209 L 571,209 L 571,210 L 572,210 L 571,210 L 570,210 L 569,210 L 568,210 L 568,209 L 567,209 L 566,209 L 565,209 L 565,210 L 564,210 L 563,210 L 562,210 L 563,210 L 562,210 L 562,209 L 562,210 L 561,210 L 560,210 L 559,210 L 558,210 L 558,211 L 558,212 L 557,212 L 557,213 L 556,213 L 556,214 L 555,214 L 554,214 L 555,215 L 554,215 L 553,215 L 554,215 L 553,215 L 552,215 L 552,216 L 551,216 L 552,216 L 551,216 L 550,216 L 549,215 L 548,216 L 548,215 L 547,215 L 547,216 L 546,216 L 546,217 L 545,217 L 545,216 L 545,215 L 544,215 L 543,215 L 542,215 L 542,214 L 541,214 L 541,213 L 540,213 L 540,212 L 539,212 L 539,211 L 538,211 L 537,211 L 537,212 L 536,212 L 536,211 L 536,212 L 536,211 L 536,212 L 536,211 L 536,210 L 535,210 L 534,210 L 534,211 L 534,212 L 533,212 L 533,213 L 532,213 L 532,214 L 531,214 L 530,214 L 530,215 L 529,215 L 529,216 L 528,216 L 528,215 L 528,214 L 527,214 L 527,213 L 527,212 L 528,212 L 527,212 L 527,211 L 527,212 L 526,212 L 525,212 L 525,211 L 524,211 L 525,210 L 525,209 L 524,209 L 523,210 L 523,211 L 522,211 L 522,210 L 521,209 L 520,209 L 519,209 L 518,209 L 518,208 L 517,208 L 516,208 L 515,208 L 515,207 L 515,208 L 514,208 L 514,207 L 514,206 L 514,205 L 513,205 L 512,205 L 512,206 L 511,206 L 510,206 L 510,207 L 509,207 L 508,207 L 508,208 L 508,209 L 507,209 L 506,209 L 505,209 L 505,210 L 505,211 L 506,211 L 505,211 L 505,212 L 504,212 L 503,212 L 503,213 L 502,213 L 501,213 L 501,212 L 500,212 L 500,213 L 500,214 L 500,215 L 499,215 L 499,216 L 499,217 L 498,217 L 497,217 L 496,217 L 496,218 L 495,218 L 494,218 L 493,218 L 493,217 L 493,216 L 494,216 L 493,216 L 494,216 L 494,215 L 494,214 L 494,213 L 493,213 L 492,213 L 492,212 L 492,211 L 492,210 L 491,210 L 491,209 L 490,209 L 489,209 L 490,209 L 489,209 L 488,209 L 488,208 L 488,207 L 488,208 L 488,207 L 488,208 L 487,208 L 487,207 L 487,208 L 486,208 L 485,208 L 485,207 L 486,207 L 487,207 L 487,206 L 488,206 L 488,205 L 489,205 L 489,204 L 490,204 L 490,203 L 490,204 L 491,204 L 491,203 L 492,203 L 492,202 L 493,202 L 493,201 L 494,201 L 494,200 L 495,200 L 496,200 L 496,199 L 495,199 L 496,198 L 496,197 L 496,196 L 496,195 L 495,195 L 494,194 L 495,194 L 495,193 L 495,192 L 494,192 L 494,191 L 494,190 L 495,190 L 496,189 L 496,188 L 497,188 L 497,189 L 498,189 L 499,189 L 499,188 L 500,188 L 501,188 L 501,189 L 502,189 L 503,189 L 504,189 L 505,189 L 505,188 L 505,189 L 505,188 L 506,188 L 507,188 L 508,188 L 508,189 L 509,189 L 509,190 L 510,190 L 510,191 L 510,190 L 511,190 L 511,191 L 511,192 L 512,192 L 513,192 L 513,193 L 514,193 L 514,194 L 514,193 L 515,193 L 515,194 L 516,194 L 516,195 L 516,196 L 517,196 L 517,195 L 518,195 L 518,196 L 518,195 L 519,195 L 518,195 L 518,194 L 519,194 L 520,194 L 520,193 L 521,193 L 522,193 L 522,192 L 522,193 L 522,192 L 522,193 L 523,193 L 523,194 L 524,194 L 525,194 L 526,194 L 526,193 L 527,193 L 527,194 L 527,195 L 528,195 L 529,195 L 530,195 L 531,195 L 531,194 L 531,195 L 532,195 L 532,194 L 533,194 L 533,193 L 534,193 L 534,192 L 534,193 L 534,192 L 535,192 L 535,193 L 535,192 L 536,192 L 536,191 L 537,191 L 538,191 L 538,190 L 539,190 L 539,189 L 540,189 L 541,189 L 541,188 L 542,188 "},al:{name:"Alagoas",path:"M 567,209 L 568,209 L 568,210 L 569,210 L 570,210 L 571,210 L 571,211 L 571,212 L 570,212 L 570,213 L 569,213 L 569,214 L 569,215 L 568,215 L 568,216 L 567,216 L 568,216 L 567,216 L 567,217 L 566,217 L 566,218 L 565,218 L 565,219 L 564,219 L 564,220 L 564,221 L 563,221 L 562,221 L 562,222 L 562,221 L 562,222 L 561,222 L 561,223 L 561,224 L 560,224 L 560,225 L 559,225 L 559,226 L 559,227 L 558,227 L 558,228 L 557,228 L 556,229 L 555,229 L 555,230 L 555,231 L 555,232 L 554,232 L 553,232 L 553,231 L 552,231 L 552,232 L 552,231 L 552,230 L 551,230 L 551,229 L 550,229 L 549,229 L 548,229 L 548,228 L 547,228 L 547,227 L 546,227 L 546,226 L 546,225 L 545,225 L 544,225 L 544,224 L 543,224 L 542,224 L 542,223 L 541,223 L 540,223 L 540,222 L 539,222 L 538,222 L 537,222 L 537,221 L 536,221 L 536,220 L 535,220 L 535,221 L 535,220 L 534,220 L 533,219 L 532,219 L 532,218 L 531,218 L 530,218 L 529,218 L 529,217 L 528,216 L 529,216 L 529,215 L 530,215 L 530,214 L 531,214 L 532,214 L 532,213 L 533,213 L 533,212 L 534,212 L 534,211 L 534,210 L 535,210 L 536,210 L 536,211 L 536,212 L 536,211 L 536,212 L 536,211 L 536,212 L 537,212 L 537,211 L 538,211 L 539,211 L 539,212 L 540,212 L 540,213 L 541,213 L 541,214 L 542,214 L 542,215 L 543,215 L 544,215 L 545,215 L 545,216 L 545,217 L 546,217 L 546,216 L 547,216 L 547,215 L 548,215 L 548,216 L 549,215 L 549,216 L 550,216 L 551,216 L 552,216 L 551,216 L 552,216 L 552,215 L 553,215 L 554,215 L 553,215 L 554,215 L 555,215 L 554,214 L 555,214 L 556,214 L 556,213 L 557,213 L 557,212 L 558,212 L 558,211 L 558,210 L 559,210 L 560,210 L 561,210 L 562,210 L 562,209 L 562,210 L 563,210 L 562,210 L 563,210 L 564,210 L 565,210 L 565,209 L 566,209 L 567,209 "},se:{name:"Sergipe",path:"M 532,219 L 533,219 L 534,220 L 535,220 L 535,221 L 535,220 L 536,220 L 536,221 L 537,221 L 537,222 L 538,222 L 539,222 L 540,222 L 540,223 L 541,223 L 542,223 L 542,224 L 543,224 L 544,224 L 544,225 L 545,225 L 546,225 L 546,226 L 546,227 L 547,227 L 547,228 L 548,228 L 548,229 L 549,229 L 550,229 L 551,229 L 551,230 L 552,230 L 552,231 L 552,232 L 552,231 L 553,231 L 553,232 L 554,232 L 554,233 L 553,233 L 552,233 L 551,233 L 551,234 L 550,234 L 549,235 L 548,235 L 548,236 L 547,236 L 547,237 L 546,237 L 546,238 L 545,238 L 545,239 L 545,240 L 544,240 L 544,241 L 543,241 L 543,242 L 543,243 L 542,243 L 542,244 L 541,244 L 541,245 L 541,246 L 540,246 L 539,247 L 538,247 L 537,247 L 536,247 L 535,247 L 534,247 L 534,246 L 533,246 L 534,246 L 533,246 L 533,245 L 533,246 L 533,245 L 532,245 L 532,244 L 532,243 L 532,244 L 531,244 L 531,243 L 532,243 L 532,242 L 531,242 L 531,241 L 530,241 L 531,241 L 531,240 L 530,240 L 530,239 L 529,239 L 529,238 L 528,238 L 528,237 L 528,236 L 529,236 L 529,235 L 530,235 L 530,236 L 530,235 L 530,236 L 530,235 L 530,236 L 530,235 L 531,235 L 531,236 L 532,236 L 533,236 L 533,235 L 534,235 L 534,234 L 534,233 L 534,232 L 534,231 L 534,230 L 535,230 L 535,228 L 535,227 L 534,227 L 534,226 L 534,225 L 533,225 L 532,225 L 532,224 L 532,223 L 531,223 L 531,222 L 531,221 L 532,221 L 532,220 L 531,220 L 531,219 L 532,219 "},ba:{name:"Bahia",path:"M 513,205 L 514,205 L 514,206 L 514,207 L 514,208 L 515,208 L 515,207 L 515,208 L 516,208 L 517,208 L 518,208 L 518,209 L 519,209 L 520,209 L 521,209 L 522,210 L 522,211 L 523,211 L 523,210 L 524,209 L 525,209 L 525,210 L 524,211 L 525,211 L 525,212 L 526,212 L 527,212 L 527,211 L 527,212 L 528,212 L 527,212 L 527,213 L 527,214 L 528,214 L 528,215 L 528,216 L 529,217 L 529,218 L 530,218 L 531,218 L 532,218 L 532,219 L 531,219 L 531,220 L 532,220 L 532,221 L 531,221 L 531,222 L 531,223 L 532,223 L 532,224 L 532,225 L 533,225 L 534,225 L 534,226 L 534,227 L 535,227 L 535,228 L 535,230 L 534,230 L 534,231 L 534,232 L 534,233 L 534,234 L 534,235 L 533,235 L 533,236 L 532,236 L 531,236 L 531,235 L 530,235 L 530,236 L 530,235 L 530,236 L 530,235 L 530,236 L 530,235 L 529,235 L 529,236 L 528,236 L 528,237 L 528,238 L 529,238 L 529,239 L 530,239 L 530,240 L 531,240 L 531,241 L 530,241 L 531,241 L 531,242 L 532,242 L 532,243 L 531,243 L 531,244 L 532,244 L 532,243 L 532,244 L 532,245 L 533,245 L 533,246 L 533,245 L 533,246 L 534,246 L 533,246 L 534,246 L 534,247 L 535,247 L 536,247 L 537,247 L 538,247 L 539,247 L 540,246 L 541,246 L 540,246 L 540,247 L 540,248 L 539,248 L 539,249 L 538,250 L 538,251 L 538,252 L 537,252 L 537,253 L 537,254 L 536,254 L 536,255 L 535,255 L 535,256 L 535,257 L 534,257 L 534,258 L 533,258 L 533,259 L 533,260 L 532,260 L 532,261 L 531,261 L 531,262 L 531,263 L 530,263 L 530,264 L 529,264 L 529,265 L 528,265 L 528,266 L 527,266 L 527,267 L 526,267 L 525,267 L 524,267 L 523,267 L 523,268 L 522,268 L 523,268 L 522,268 L 521,268 L 521,269 L 521,268 L 521,269 L 521,268 L 521,269 L 520,269 L 520,270 L 519,270 L 518,271 L 518,272 L 518,273 L 519,273 L 519,272 L 519,273 L 519,274 L 519,275 L 519,276 L 519,275 L 519,276 L 519,275 L 519,276 L 519,277 L 519,276 L 518,276 L 518,277 L 518,278 L 518,279 L 518,280 L 519,280 L 519,281 L 518,281 L 518,282 L 518,283 L 518,284 L 518,285 L 518,286 L 518,287 L 517,287 L 517,288 L 517,289 L 517,290 L 517,291 L 517,292 L 517,293 L 517,294 L 518,294 L 518,295 L 518,296 L 518,297 L 518,298 L 518,299 L 518,300 L 518,301 L 518,302 L 518,303 L 519,303 L 519,304 L 519,305 L 519,306 L 519,307 L 520,307 L 519,307 L 519,308 L 519,309 L 519,310 L 518,310 L 518,311 L 518,312 L 517,312 L 517,313 L 517,314 L 518,314 L 517,314 L 517,315 L 517,316 L 517,317 L 516,317 L 516,318 L 516,319 L 516,320 L 516,321 L 516,322 L 516,323 L 515,323 L 515,324 L 515,325 L 515,326 L 515,327 L 515,328 L 515,329 L 515,330 L 515,331 L 515,332 L 516,332 L 516,333 L 515,333 L 515,334 L 514,334 L 514,335 L 513,335 L 513,336 L 512,336 L 511,336 L 511,337 L 510,337 L 510,338 L 510,339 L 509,339 L 509,340 L 509,341 L 508,341 L 508,342 L 508,341 L 507,341 L 506,340 L 505,339 L 504,339 L 503,338 L 502,338 L 502,337 L 501,337 L 501,336 L 500,336 L 501,335 L 501,334 L 501,333 L 500,333 L 500,332 L 499,332 L 499,331 L 499,332 L 499,331 L 498,331 L 498,332 L 498,331 L 497,331 L 497,330 L 497,329 L 496,329 L 495,329 L 495,328 L 496,328 L 495,328 L 495,327 L 496,327 L 496,326 L 496,325 L 496,324 L 496,323 L 496,322 L 497,322 L 497,321 L 498,321 L 499,321 L 499,322 L 499,321 L 500,321 L 500,322 L 500,321 L 500,320 L 499,320 L 499,319 L 500,319 L 499,319 L 499,318 L 500,318 L 500,317 L 501,317 L 502,317 L 501,317 L 501,316 L 502,316 L 502,315 L 503,315 L 503,314 L 504,314 L 504,313 L 504,314 L 504,313 L 505,313 L 505,312 L 505,311 L 506,311 L 506,310 L 505,310 L 505,309 L 504,309 L 503,309 L 503,308 L 502,308 L 501,308 L 501,307 L 501,306 L 500,306 L 499,306 L 499,307 L 499,306 L 499,307 L 499,306 L 498,306 L 497,306 L 496,306 L 495,306 L 495,305 L 494,305 L 494,304 L 494,305 L 493,305 L 494,305 L 493,305 L 493,304 L 492,304 L 492,305 L 491,305 L 491,304 L 490,304 L 490,305 L 489,305 L 488,305 L 488,306 L 487,306 L 487,305 L 486,305 L 485,305 L 485,303 L 485,302 L 484,302 L 484,301 L 483,301 L 483,300 L 479,297 L 479,296 L 479,297 L 478,297 L 477,297 L 477,298 L 477,297 L 476,297 L 475,297 L 475,298 L 475,297 L 474,297 L 474,296 L 473,296 L 473,297 L 473,296 L 473,297 L 473,296 L 473,297 L 472,297 L 472,296 L 471,296 L 470,296 L 470,295 L 469,295 L 468,295 L 468,294 L 467,294 L 466,294 L 466,293 L 465,293 L 464,292 L 463,292 L 463,291 L 462,291 L 461,291 L 460,291 L 460,290 L 459,290 L 458,290 L 458,291 L 458,290 L 458,291 L 457,291 L 456,291 L 456,292 L 455,292 L 456,292 L 455,292 L 455,293 L 455,292 L 454,292 L 453,292 L 453,291 L 452,291 L 451,291 L 450,291 L 450,290 L 450,289 L 450,288 L 450,287 L 451,287 L 451,286 L 451,285 L 451,286 L 450,286 L 450,285 L 450,286 L 450,285 L 450,286 L 450,285 L 450,286 L 450,285 L 450,286 L 450,285 L 449,285 L 448,285 L 447,285 L 446,285 L 445,285 L 445,284 L 445,285 L 444,285 L 443,285 L 442,285 L 442,286 L 442,285 L 442,286 L 441,286 L 440,286 L 439,286 L 439,287 L 438,287 L 438,288 L 437,288 L 436,288 L 437,288 L 437,289 L 436,289 L 436,290 L 436,289 L 436,290 L 435,290 L 436,290 L 435,290 L 434,290 L 435,290 L 434,290 L 434,291 L 433,291 L 433,292 L 432,292 L 432,291 L 432,292 L 432,291 L 432,292 L 432,291 L 432,292 L 431,292 L 430,292 L 430,293 L 429,293 L 429,294 L 428,294 L 427,294 L 427,295 L 427,294 L 426,294 L 426,295 L 425,295 L 425,296 L 425,295 L 425,296 L 424,296 L 424,297 L 423,297 L 422,297 L 421,297 L 421,298 L 420,298 L 420,299 L 419,299 L 419,298 L 419,299 L 419,298 L 420,297 L 420,296 L 421,296 L 421,295 L 421,294 L 420,294 L 420,293 L 420,292 L 420,291 L 420,290 L 421,290 L 420,290 L 420,289 L 421,289 L 420,289 L 421,289 L 420,288 L 420,287 L 421,287 L 421,286 L 422,286 L 421,286 L 421,285 L 420,285 L 420,284 L 419,284 L 420,284 L 419,284 L 419,283 L 418,283 L 417,283 L 417,282 L 417,281 L 417,280 L 417,279 L 417,278 L 416,278 L 417,278 L 417,277 L 417,276 L 418,276 L 418,275 L 417,275 L 417,274 L 417,273 L 418,273 L 418,272 L 419,272 L 420,272 L 420,271 L 419,271 L 418,271 L 418,272 L 417,272 L 416,272 L 416,271 L 416,270 L 416,269 L 416,268 L 416,267 L 417,267 L 418,267 L 419,267 L 419,266 L 418,266 L 417,266 L 416,266 L 416,267 L 416,266 L 416,265 L 417,265 L 416,265 L 416,264 L 417,264 L 417,263 L 416,263 L 417,263 L 417,262 L 416,262 L 417,262 L 416,262 L 416,261 L 417,261 L 418,261 L 418,260 L 417,260 L 417,259 L 416,259 L 416,258 L 415,258 L 416,258 L 416,257 L 415,257 L 415,256 L 415,255 L 415,254 L 415,253 L 416,253 L 417,253 L 417,252 L 418,252 L 417,252 L 416,252 L 415,252 L 415,251 L 416,251 L 416,250 L 415,250 L 416,250 L 416,249 L 416,248 L 417,248 L 418,249 L 418,248 L 418,249 L 418,248 L 418,249 L 418,248 L 419,248 L 418,248 L 417,248 L 417,247 L 416,247 L 415,247 L 414,247 L 414,246 L 413,246 L 413,245 L 412,245 L 412,244 L 412,243 L 413,243 L 413,242 L 414,242 L 414,241 L 414,240 L 415,240 L 415,239 L 416,239 L 416,238 L 416,237 L 417,237 L 417,236 L 418,236 L 418,235 L 417,235 L 418,235 L 418,234 L 419,234 L 420,234 L 420,233 L 421,233 L 422,233 L 422,232 L 423,232 L 423,231 L 423,230 L 424,230 L 424,229 L 425,229 L 424,229 L 424,228 L 425,228 L 425,227 L 426,227 L 426,228 L 426,229 L 427,229 L 427,230 L 428,230 L 428,231 L 428,232 L 429,232 L 428,232 L 428,233 L 428,234 L 428,235 L 429,235 L 429,236 L 430,236 L 431,236 L 431,237 L 432,237 L 433,237 L 434,237 L 434,238 L 435,238 L 436,238 L 437,238 L 437,237 L 438,237 L 438,236 L 439,236 L 439,235 L 440,235 L 440,234 L 441,234 L 441,235 L 441,234 L 442,234 L 443,234 L 443,233 L 444,233 L 444,234 L 445,234 L 446,234 L 447,234 L 447,233 L 448,232 L 448,231 L 448,232 L 449,232 L 449,231 L 450,231 L 450,230 L 450,229 L 451,229 L 451,228 L 451,227 L 452,227 L 452,226 L 453,226 L 453,225 L 452,225 L 452,224 L 453,224 L 453,223 L 452,223 L 451,222 L 451,221 L 450,221 L 450,220 L 450,219 L 451,219 L 451,218 L 452,218 L 452,217 L 453,217 L 454,216 L 455,216 L 455,215 L 456,215 L 456,216 L 457,216 L 457,217 L 458,217 L 458,218 L 458,217 L 459,217 L 460,217 L 461,217 L 462,217 L 463,217 L 463,218 L 463,219 L 464,219 L 464,220 L 465,220 L 466,220 L 466,219 L 467,219 L 468,219 L 469,219 L 469,218 L 470,218 L 470,217 L 471,217 L 471,216 L 472,216 L 473,216 L 474,216 L 475,216 L 475,215 L 476,215 L 477,215 L 478,215 L 478,214 L 479,214 L 479,213 L 480,213 L 480,212 L 481,212 L 481,211 L 482,211 L 483,210 L 483,209 L 484,209 L 484,208 L 485,208 L 486,208 L 487,208 L 487,207 L 487,208 L 488,208 L 488,207 L 488,208 L 488,207 L 488,208 L 488,209 L 489,209 L 490,209 L 489,209 L 490,209 L 491,209 L 491,210 L 492,210 L 492,211 L 492,212 L 492,213 L 493,213 L 494,213 L 494,214 L 494,215 L 494,216 L 493,216 L 494,216 L 493,216 L 493,217 L 493,218 L 494,218 L 495,218 L 496,218 L 496,217 L 497,217 L 498,217 L 499,217 L 499,216 L 499,215 L 500,215 L 500,214 L 500,213 L 500,212 L 501,212 L 501,213 L 502,213 L 503,213 L 503,212 L 504,212 L 505,212 L 505,211 L 506,211 L 505,211 L 505,210 L 505,209 L 506,209 L 507,209 L 508,209 L 508,208 L 508,207 L 509,207 L 510,207 L 510,206 L 511,206 L 512,206 L 512,205 L 513,205 "},mg:{name:"Minas Gerais",path:"M 478,375 L 478,376 L 477,376 L 477,377 L 476,377 L 477,377 L 476,377 L 476,378 L 476,377 L 476,378 L 475,378 L 474,378 L 474,379 L 475,379 L 474,379 L 474,380 L 473,380 L 473,381 L 473,382 L 473,383 L 473,384 L 472,384 L 473,384 L 472,384 L 472,385 L 472,386 L 471,386 L 471,387 L 471,388 L 471,387 L 471,388 L 472,388 L 472,389 L 471,389 L 470,389 L 469,389 L 469,390 L 468,390 L 467,390 L 467,391 L 466,391 L 465,391 L 465,392 L 464,392 L 463,392 L 463,393 L 462,393 L 461,393 L 462,393 L 461,393 L 461,394 L 460,394 L 460,393 L 459,393 L 458,393 L 457,393 L 457,392 L 457,393 L 457,392 L 457,393 L 456,393 L 455,393 L 455,394 L 454,394 L 454,393 L 454,394 L 453,394 L 453,393 L 453,394 L 453,393 L 453,394 L 453,393 L 452,393 L 452,394 L 452,393 L 452,394 L 452,393 L 452,394 L 451,394 L 452,394 L 451,394 L 451,393 L 451,394 L 450,394 L 449,394 L 448,394 L 448,395 L 447,395 L 446,395 L 446,396 L 446,395 L 446,396 L 445,396 L 444,396 L 445,396 L 444,396 L 443,396 L 442,396 L 441,396 L 442,396 L 441,396 L 441,397 L 440,397 L 439,397 L 439,398 L 438,398 L 438,397 L 438,398 L 437,398 L 436,398 L 436,399 L 435,399 L 434,399 L 433,399 L 432,399 L 432,400 L 431,400 L 431,401 L 430,401 L 429,401 L 429,402 L 428,401 L 429,401 L 428,401 L 429,401 L 428,401 L 427,401 L 427,402 L 426,402 L 426,401 L 425,401 L 425,402 L 425,401 L 425,400 L 425,401 L 424,401 L 424,400 L 424,401 L 425,401 L 425,402 L 424,402 L 423,402 L 423,403 L 424,403 L 424,402 L 424,403 L 424,402 L 424,403 L 424,402 L 424,403 L 424,404 L 424,403 L 424,404 L 423,404 L 424,404 L 423,404 L 422,404 L 422,405 L 422,404 L 421,404 L 421,405 L 420,405 L 419,405 L 418,405 L 418,404 L 418,405 L 418,404 L 418,405 L 417,405 L 416,405 L 415,405 L 415,404 L 415,403 L 416,403 L 415,403 L 414,403 L 414,402 L 415,402 L 415,401 L 414,401 L 415,401 L 414,401 L 415,401 L 414,401 L 414,400 L 415,400 L 414,400 L 413,400 L 413,399 L 412,399 L 411,398 L 411,397 L 410,397 L 410,396 L 411,396 L 410,396 L 411,396 L 411,395 L 412,395 L 412,394 L 411,394 L 410,394 L 410,393 L 410,394 L 411,393 L 412,393 L 412,392 L 411,392 L 411,391 L 411,390 L 411,389 L 412,389 L 412,388 L 413,388 L 413,387 L 413,386 L 413,385 L 412,385 L 412,384 L 412,385 L 412,384 L 411,384 L 410,384 L 409,384 L 408,384 L 407,384 L 406,384 L 406,383 L 406,382 L 405,382 L 405,381 L 406,381 L 405,381 L 405,382 L 405,381 L 405,380 L 404,380 L 404,379 L 404,378 L 403,377 L 403,376 L 403,375 L 404,375 L 404,374 L 405,374 L 405,373 L 404,373 L 404,372 L 403,372 L 403,371 L 402,371 L 402,370 L 402,369 L 403,369 L 403,368 L 403,367 L 402,367 L 402,366 L 401,366 L 400,365 L 400,364 L 399,364 L 399,365 L 398,365 L 397,365 L 397,364 L 396,364 L 395,364 L 395,365 L 395,364 L 394,364 L 394,365 L 394,366 L 393,366 L 393,365 L 393,366 L 392,366 L 392,367 L 391,367 L 391,366 L 390,366 L 390,365 L 389,365 L 389,366 L 389,367 L 388,367 L 388,366 L 387,366 L 386,366 L 386,367 L 385,367 L 385,366 L 384,366 L 384,367 L 383,367 L 382,367 L 381,367 L 381,368 L 380,368 L 380,369 L 380,370 L 380,371 L 380,370 L 379,370 L 379,369 L 379,368 L 379,367 L 378,367 L 377,367 L 377,368 L 377,369 L 376,369 L 375,369 L 375,368 L 375,367 L 374,367 L 374,366 L 374,365 L 375,365 L 375,364 L 374,364 L 373,364 L 372,364 L 372,363 L 371,363 L 370,363 L 370,364 L 369,364 L 368,364 L 367,364 L 366,364 L 365,364 L 364,364 L 364,363 L 363,363 L 362,363 L 361,363 L 360,363 L 360,362 L 359,362 L 358,362 L 357,362 L 356,362 L 356,363 L 355,363 L 355,364 L 354,364 L 353,364 L 352,364 L 352,365 L 351,365 L 351,366 L 351,365 L 350,365 L 351,365 L 351,364 L 350,364 L 351,364 L 351,363 L 350,363 L 350,362 L 350,361 L 350,360 L 351,360 L 351,359 L 352,359 L 352,358 L 351,358 L 351,357 L 352,357 L 353,358 L 353,357 L 352,357 L 352,356 L 353,356 L 353,355 L 354,355 L 354,354 L 354,353 L 355,353 L 356,353 L 357,353 L 357,352 L 358,352 L 358,351 L 358,350 L 358,349 L 359,349 L 359,348 L 360,348 L 360,347 L 360,346 L 361,346 L 362,346 L 363,346 L 364,346 L 364,345 L 365,345 L 366,345 L 367,345 L 367,346 L 368,346 L 368,345 L 369,345 L 370,345 L 369,345 L 370,345 L 370,344 L 371,344 L 372,344 L 372,345 L 373,345 L 373,346 L 373,345 L 374,345 L 375,345 L 375,344 L 375,343 L 376,343 L 376,342 L 377,342 L 377,343 L 378,343 L 378,342 L 379,342 L 379,341 L 380,341 L 381,341 L 381,342 L 382,342 L 383,342 L 384,342 L 384,341 L 385,341 L 385,342 L 386,342 L 387,342 L 388,342 L 389,342 L 389,341 L 389,342 L 390,342 L 390,343 L 391,343 L 392,343 L 393,343 L 393,344 L 394,343 L 395,343 L 395,342 L 395,343 L 396,343 L 396,342 L 397,342 L 397,341 L 397,342 L 397,341 L 398,341 L 398,340 L 399,340 L 399,339 L 399,340 L 399,339 L 399,340 L 400,340 L 400,339 L 401,339 L 401,338 L 402,338 L 402,337 L 402,336 L 402,335 L 401,335 L 401,334 L 402,334 L 401,334 L 402,334 L 401,334 L 402,334 L 402,333 L 402,332 L 403,332 L 402,332 L 403,332 L 402,332 L 403,332 L 403,331 L 402,331 L 402,330 L 401,330 L 400,330 L 399,330 L 399,329 L 399,328 L 399,327 L 399,328 L 400,328 L 400,327 L 401,327 L 400,327 L 401,327 L 400,327 L 401,327 L 401,326 L 402,326 L 401,326 L 401,325 L 401,326 L 401,325 L 402,325 L 402,326 L 402,325 L 401,325 L 402,325 L 401,325 L 402,325 L 403,325 L 402,325 L 403,325 L 402,325 L 402,324 L 403,324 L 404,324 L 403,324 L 404,324 L 404,323 L 404,324 L 404,323 L 405,323 L 404,323 L 405,323 L 404,323 L 404,322 L 404,321 L 403,321 L 404,321 L 404,320 L 403,321 L 403,320 L 404,320 L 403,320 L 403,319 L 403,318 L 403,319 L 403,318 L 402,318 L 402,317 L 402,318 L 402,317 L 401,317 L 400,317 L 400,316 L 400,315 L 400,314 L 401,314 L 401,313 L 402,313 L 402,312 L 402,311 L 401,311 L 402,311 L 402,310 L 402,309 L 403,309 L 404,309 L 403,309 L 404,309 L 403,309 L 404,309 L 404,308 L 405,308 L 406,308 L 407,308 L 408,307 L 409,307 L 409,306 L 409,305 L 408,305 L 408,304 L 408,303 L 407,303 L 407,302 L 407,301 L 408,301 L 408,300 L 409,300 L 409,299 L 408,299 L 408,298 L 408,299 L 407,299 L 407,298 L 408,297 L 408,296 L 407,296 L 408,296 L 408,295 L 409,295 L 410,295 L 410,296 L 411,296 L 412,296 L 413,296 L 413,295 L 413,294 L 413,293 L 413,292 L 412,292 L 413,292 L 413,291 L 414,291 L 414,292 L 415,292 L 416,292 L 416,293 L 416,294 L 417,294 L 418,294 L 419,294 L 420,294 L 420,293 L 420,294 L 421,294 L 421,295 L 421,296 L 420,296 L 420,297 L 419,298 L 419,299 L 419,298 L 419,299 L 420,299 L 420,298 L 421,298 L 421,297 L 422,297 L 423,297 L 424,297 L 424,296 L 425,296 L 425,295 L 425,296 L 425,295 L 426,295 L 426,294 L 427,294 L 427,295 L 427,294 L 428,294 L 429,294 L 429,293 L 430,293 L 430,292 L 431,292 L 432,292 L 432,291 L 432,292 L 432,291 L 432,292 L 432,291 L 432,292 L 433,292 L 433,291 L 434,291 L 434,290 L 435,290 L 434,290 L 435,290 L 436,290 L 435,290 L 436,290 L 436,289 L 436,290 L 436,289 L 437,289 L 437,288 L 436,288 L 437,288 L 438,288 L 438,287 L 439,287 L 439,286 L 440,286 L 441,286 L 442,286 L 442,285 L 442,286 L 442,285 L 443,285 L 444,285 L 445,285 L 445,284 L 445,285 L 446,285 L 447,285 L 448,285 L 449,285 L 450,285 L 450,286 L 450,285 L 450,286 L 450,285 L 450,286 L 450,285 L 450,286 L 450,285 L 450,286 L 451,286 L 451,285 L 451,286 L 451,287 L 450,287 L 450,288 L 450,289 L 450,290 L 450,291 L 451,291 L 452,291 L 453,291 L 453,292 L 454,292 L 455,292 L 455,293 L 455,292 L 456,292 L 455,292 L 456,292 L 456,291 L 457,291 L 458,291 L 458,290 L 458,291 L 458,290 L 459,290 L 460,290 L 460,291 L 461,291 L 462,291 L 463,291 L 463,292 L 464,292 L 465,293 L 466,293 L 466,294 L 467,294 L 468,294 L 468,295 L 469,295 L 470,295 L 470,296 L 471,296 L 472,296 L 472,297 L 473,297 L 473,296 L 473,297 L 473,296 L 473,297 L 473,296 L 474,296 L 474,297 L 475,297 L 475,298 L 475,297 L 476,297 L 477,297 L 477,298 L 477,297 L 478,297 L 479,297 L 479,296 L 479,297 L 480,298 L 481,298 L 483,300 L 483,301 L 484,301 L 484,302 L 485,302 L 485,303 L 485,304 L 485,305 L 486,305 L 487,305 L 487,306 L 488,306 L 488,305 L 489,305 L 490,305 L 490,304 L 491,304 L 491,305 L 492,305 L 492,304 L 493,304 L 493,305 L 494,305 L 493,305 L 494,305 L 494,304 L 494,305 L 495,305 L 495,306 L 496,306 L 497,306 L 498,306 L 499,306 L 499,307 L 499,306 L 499,307 L 499,306 L 500,306 L 501,306 L 501,307 L 501,308 L 502,308 L 503,308 L 503,309 L 504,309 L 505,309 L 505,310 L 506,310 L 506,311 L 505,311 L 505,312 L 505,313 L 504,313 L 504,314 L 504,313 L 504,314 L 503,314 L 503,315 L 502,315 L 502,316 L 501,316 L 501,317 L 502,317 L 501,317 L 500,317 L 500,318 L 499,318 L 499,319 L 500,319 L 499,319 L 499,320 L 500,320 L 500,321 L 500,322 L 500,321 L 499,321 L 499,322 L 499,321 L 498,321 L 497,321 L 497,322 L 496,322 L 496,323 L 496,324 L 496,325 L 496,326 L 496,327 L 495,327 L 495,328 L 496,328 L 495,328 L 495,329 L 496,329 L 497,329 L 497,330 L 497,331 L 498,331 L 498,332 L 498,331 L 499,331 L 499,332 L 499,331 L 499,332 L 500,332 L 500,333 L 501,333 L 501,334 L 501,335 L 500,336 L 501,336 L 501,337 L 501,336 L 500,336 L 499,336 L 498,336 L 497,336 L 497,335 L 496,335 L 496,336 L 495,336 L 495,337 L 494,337 L 493,337 L 493,336 L 493,337 L 493,336 L 492,336 L 492,337 L 492,336 L 491,336 L 491,337 L 493,338 L 493,339 L 492,339 L 492,338 L 492,339 L 491,339 L 491,338 L 491,339 L 490,339 L 489,339 L 489,340 L 488,340 L 489,340 L 488,340 L 489,340 L 488,340 L 488,341 L 488,342 L 488,343 L 487,343 L 489,343 L 490,343 L 490,344 L 489,344 L 489,345 L 489,346 L 490,346 L 491,346 L 491,347 L 491,348 L 490,348 L 490,349 L 490,348 L 489,348 L 489,349 L 488,349 L 488,348 L 487,348 L 486,348 L 487,348 L 486,348 L 486,349 L 487,349 L 486,349 L 487,349 L 488,349 L 488,350 L 489,350 L 490,350 L 489,351 L 489,352 L 490,352 L 490,353 L 491,353 L 491,354 L 491,355 L 491,356 L 490,356 L 490,357 L 491,357 L 490,357 L 490,358 L 489,358 L 489,357 L 489,358 L 489,359 L 488,359 L 488,360 L 487,360 L 487,361 L 487,362 L 488,362 L 487,362 L 487,363 L 487,364 L 486,364 L 485,364 L 486,365 L 485,365 L 486,365 L 485,365 L 485,366 L 485,367 L 484,367 L 484,368 L 483,368 L 482,368 L 481,368 L 480,368 L 479,368 L 479,369 L 478,369 L 478,370 L 479,370 L 479,371 L 478,371 L 478,372 L 479,372 L 478,372 L 478,373 L 479,374 L 479,373 L 479,374 L 478,374 L 479,374 L 478,374 L 478,375 "},es:{name:"Espírito Santo",path:"M 478,375 L 478,374 L 479,374 L 478,374 L 479,374 L 479,373 L 479,374 L 478,373 L 478,372 L 479,372 L 478,372 L 478,371 L 479,371 L 479,370 L 478,370 L 478,369 L 479,369 L 479,368 L 480,368 L 481,368 L 482,368 L 483,368 L 484,368 L 484,367 L 485,367 L 485,366 L 485,365 L 486,365 L 485,365 L 486,365 L 485,364 L 486,364 L 487,364 L 487,363 L 487,362 L 488,362 L 487,362 L 487,361 L 487,360 L 488,360 L 488,359 L 489,359 L 489,358 L 489,357 L 489,358 L 490,358 L 490,357 L 491,357 L 490,357 L 490,356 L 491,356 L 491,355 L 491,354 L 491,353 L 490,353 L 490,352 L 489,352 L 489,351 L 490,350 L 489,350 L 488,350 L 488,349 L 487,349 L 486,349 L 487,349 L 486,349 L 486,348 L 487,348 L 486,348 L 487,348 L 488,348 L 488,349 L 489,349 L 489,348 L 490,348 L 490,349 L 490,348 L 491,348 L 491,347 L 491,346 L 490,346 L 489,346 L 489,345 L 489,344 L 490,344 L 490,343 L 489,343 L 487,343 L 488,343 L 488,342 L 488,341 L 488,340 L 489,340 L 488,340 L 489,340 L 488,340 L 489,340 L 489,339 L 490,339 L 491,339 L 491,338 L 491,339 L 492,339 L 492,338 L 492,339 L 493,339 L 493,338 L 491,337 L 491,336 L 492,336 L 492,337 L 492,336 L 493,336 L 493,337 L 493,336 L 493,337 L 494,337 L 495,337 L 495,336 L 496,336 L 496,335 L 497,335 L 497,336 L 498,336 L 499,336 L 500,336 L 501,336 L 501,337 L 502,337 L 502,338 L 503,338 L 505,339 L 506,340 L 507,340 L 508,341 L 508,342 L 508,343 L 508,344 L 507,345 L 508,345 L 507,346 L 507,347 L 507,348 L 507,349 L 507,350 L 507,351 L 508,351 L 508,352 L 508,353 L 508,354 L 508,355 L 508,356 L 508,357 L 507,357 L 507,358 L 507,359 L 506,359 L 506,360 L 505,360 L 505,361 L 504,361 L 503,362 L 503,363 L 502,363 L 503,363 L 502,363 L 502,364 L 502,365 L 501,365 L 501,366 L 501,367 L 501,368 L 501,369 L 500,369 L 500,368 L 500,369 L 500,370 L 499,370 L 499,371 L 499,372 L 498,372 L 498,373 L 498,374 L 498,373 L 498,374 L 498,373 L 498,374 L 497,373 L 498,373 L 497,373 L 497,374 L 497,373 L 497,374 L 497,375 L 496,375 L 497,375 L 496,375 L 496,376 L 495,376 L 494,376 L 494,377 L 494,376 L 493,376 L 493,377 L 493,378 L 492,378 L 493,378 L 493,379 L 492,379 L 492,380 L 492,381 L 491,381 L 491,382 L 490,382 L 490,383 L 490,382 L 490,383 L 490,382 L 489,382 L 488,382 L 487,382 L 486,382 L 485,382 L 485,381 L 485,382 L 485,381 L 484,381 L 484,382 L 484,381 L 483,381 L 482,381 L 481,381 L 481,380 L 480,380 L 480,379 L 480,378 L 480,377 L 479,377 L 479,376 L 480,376 L 479,376 L 478,376 L 478,375 L 478,376 L 478,375 L 478,376 L 478,375 "},rj:{name:"Rio de Janeiro",path:"M 478,375 L 478,376 L 478,375 L 478,376 L 478,375 L 478,376 L 479,376 L 480,376 L 479,376 L 479,377 L 480,377 L 480,378 L 480,379 L 480,380 L 481,380 L 481,381 L 482,381 L 483,381 L 484,381 L 484,382 L 484,381 L 485,381 L 485,382 L 485,381 L 485,382 L 486,382 L 487,382 L 488,382 L 489,382 L 490,382 L 490,383 L 490,382 L 490,383 L 490,384 L 490,385 L 489,385 L 489,386 L 489,387 L 490,387 L 490,388 L 490,389 L 490,390 L 490,391 L 490,392 L 490,393 L 489,393 L 488,394 L 487,394 L 486,395 L 485,395 L 484,395 L 483,395 L 483,396 L 482,396 L 481,396 L 480,396 L 480,397 L 479,397 L 479,398 L 478,398 L 478,399 L 477,399 L 477,400 L 476,400 L 476,401 L 476,402 L 476,403 L 477,403 L 478,403 L 477,403 L 478,403 L 477,403 L 477,404 L 476,404 L 476,405 L 476,404 L 476,405 L 476,404 L 476,405 L 475,405 L 475,406 L 476,406 L 475,406 L 474,406 L 473,406 L 472,406 L 472,405 L 471,405 L 470,405 L 469,405 L 469,406 L 469,405 L 468,405 L 467,405 L 467,406 L 466,406 L 465,406 L 464,406 L 463,406 L 462,406 L 461,406 L 460,406 L 460,405 L 460,406 L 460,405 L 461,405 L 460,405 L 461,405 L 460,405 L 461,405 L 460,405 L 460,404 L 460,405 L 460,404 L 461,404 L 460,404 L 461,404 L 461,403 L 462,403 L 462,402 L 461,402 L 460,402 L 460,403 L 459,403 L 458,403 L 458,404 L 459,404 L 459,405 L 460,405 L 460,406 L 459,406 L 458,406 L 458,407 L 457,407 L 456,407 L 455,407 L 456,407 L 455,407 L 454,407 L 453,407 L 452,407 L 451,407 L 450,407 L 449,407 L 449,408 L 448,408 L 448,407 L 449,407 L 450,407 L 449,407 L 450,407 L 451,407 L 452,407 L 453,407 L 454,407 L 453,407 L 453,406 L 452,406 L 451,405 L 450,405 L 449,405 L 448,405 L 448,406 L 447,406 L 448,406 L 447,406 L 448,406 L 447,406 L 447,407 L 446,407 L 445,407 L 445,406 L 444,406 L 444,407 L 444,406 L 444,407 L 443,407 L 443,406 L 444,406 L 443,406 L 444,406 L 443,406 L 444,406 L 444,405 L 443,405 L 443,406 L 442,406 L 442,407 L 442,406 L 441,406 L 441,407 L 440,407 L 439,407 L 439,408 L 438,408 L 439,408 L 438,408 L 438,409 L 438,410 L 439,409 L 440,409 L 439,409 L 439,410 L 439,409 L 439,410 L 438,410 L 439,410 L 440,410 L 439,410 L 439,411 L 439,410 L 439,411 L 439,410 L 440,410 L 441,410 L 441,411 L 441,410 L 441,411 L 440,411 L 439,411 L 438,411 L 437,411 L 437,410 L 436,410 L 436,409 L 437,409 L 437,408 L 437,407 L 437,406 L 438,406 L 438,405 L 439,405 L 440,405 L 441,405 L 441,404 L 442,404 L 441,404 L 441,405 L 442,405 L 441,405 L 442,405 L 442,404 L 443,404 L 444,404 L 445,404 L 445,403 L 445,402 L 446,402 L 445,401 L 446,401 L 445,401 L 444,401 L 443,401 L 443,400 L 443,401 L 443,400 L 443,401 L 442,401 L 443,401 L 442,401 L 441,401 L 440,401 L 439,401 L 439,400 L 438,400 L 438,399 L 438,398 L 437,398 L 438,398 L 438,397 L 438,398 L 439,398 L 439,397 L 440,397 L 441,397 L 441,396 L 442,396 L 441,396 L 442,396 L 443,396 L 444,396 L 445,396 L 444,396 L 445,396 L 446,396 L 446,395 L 446,396 L 446,395 L 447,395 L 448,395 L 448,394 L 449,394 L 450,394 L 451,394 L 451,393 L 451,394 L 452,394 L 451,394 L 452,394 L 452,393 L 452,394 L 452,393 L 452,394 L 452,393 L 453,393 L 453,394 L 453,393 L 453,394 L 453,393 L 453,394 L 454,394 L 454,393 L 454,394 L 455,394 L 455,393 L 456,393 L 457,393 L 457,392 L 457,393 L 457,392 L 457,393 L 458,393 L 459,393 L 460,393 L 460,394 L 461,394 L 461,393 L 462,393 L 461,393 L 462,393 L 463,393 L 463,392 L 464,392 L 465,392 L 465,391 L 466,391 L 467,391 L 467,390 L 468,390 L 469,390 L 469,389 L 470,389 L 471,389 L 472,389 L 472,388 L 471,388 L 471,387 L 471,388 L 471,387 L 471,386 L 472,386 L 472,385 L 472,384 L 473,384 L 472,384 L 473,384 L 473,383 L 473,382 L 473,381 L 473,380 L 474,380 L 474,379 L 475,379 L 474,379 L 474,378 L 475,378 L 476,378 L 476,377 L 476,378 L 476,377 L 477,377 L 476,377 L 477,377 L 477,376 L 478,376 L 478,375 "},sp:{name:"São Paulo",path:"M 416,420 L 416,421 L 416,420 L 416,421 L 416,420 L 415,420 L 415,421 L 415,420 L 415,421 L 415,420 L 414,420 L 414,421 L 413,421 L 412,421 L 412,422 L 411,422 L 410,422 L 410,423 L 409,423 L 408,423 L 408,424 L 407,424 L 407,425 L 406,425 L 406,426 L 405,426 L 405,427 L 404,427 L 404,428 L 403,428 L 403,429 L 402,429 L 401,429 L 401,430 L 400,430 L 399,430 L 399,431 L 398,431 L 398,432 L 397,432 L 396,432 L 396,433 L 395,433 L 395,434 L 394,434 L 394,435 L 394,436 L 394,437 L 394,436 L 393,436 L 393,437 L 392,437 L 392,438 L 391,438 L 391,439 L 391,438 L 392,438 L 392,437 L 392,438 L 391,438 L 390,437 L 390,436 L 390,435 L 389,435 L 390,435 L 389,435 L 390,435 L 389,435 L 390,435 L 389,435 L 389,434 L 389,435 L 388,435 L 388,434 L 387,434 L 386,434 L 386,435 L 385,435 L 385,436 L 385,435 L 384,435 L 384,434 L 385,434 L 385,433 L 385,432 L 385,433 L 385,432 L 385,431 L 386,431 L 385,431 L 385,430 L 385,431 L 385,430 L 384,430 L 383,430 L 382,430 L 381,430 L 381,429 L 381,430 L 381,429 L 381,430 L 380,430 L 379,430 L 379,429 L 378,429 L 379,429 L 378,429 L 378,430 L 377,430 L 376,430 L 375,430 L 374,430 L 374,429 L 374,428 L 375,428 L 374,428 L 375,428 L 375,427 L 374,427 L 375,427 L 375,426 L 375,425 L 376,425 L 375,425 L 375,424 L 374,424 L 374,423 L 374,422 L 373,422 L 374,422 L 373,422 L 373,421 L 373,422 L 373,421 L 372,421 L 372,420 L 371,420 L 372,420 L 371,420 L 371,419 L 371,420 L 371,419 L 372,419 L 371,419 L 370,419 L 370,418 L 371,418 L 371,417 L 371,416 L 370,416 L 370,415 L 370,414 L 370,413 L 370,412 L 371,412 L 371,413 L 371,412 L 370,412 L 371,412 L 370,412 L 370,411 L 370,410 L 369,410 L 369,409 L 369,408 L 369,409 L 369,408 L 368,408 L 367,408 L 367,407 L 366,407 L 366,406 L 365,406 L 365,405 L 364,405 L 363,405 L 363,406 L 363,405 L 362,406 L 361,406 L 361,405 L 360,405 L 360,406 L 360,405 L 359,405 L 359,406 L 358,406 L 358,405 L 358,406 L 357,406 L 357,405 L 356,405 L 355,405 L 355,406 L 354,406 L 353,406 L 353,405 L 354,405 L 353,405 L 353,404 L 352,404 L 352,403 L 352,404 L 351,404 L 351,403 L 350,403 L 349,403 L 348,403 L 348,402 L 347,402 L 346,402 L 345,402 L 344,402 L 343,402 L 342,402 L 341,402 L 341,401 L 340,401 L 339,401 L 338,401 L 338,400 L 337,400 L 336,400 L 335,400 L 335,401 L 334,402 L 334,401 L 333,401 L 332,401 L 331,401 L 330,401 L 329,401 L 329,400 L 328,400 L 328,401 L 327,401 L 326,401 L 325,401 L 324,400 L 323,400 L 323,401 L 322,401 L 322,402 L 322,401 L 321,401 L 322,401 L 322,400 L 323,400 L 323,399 L 324,399 L 325,399 L 325,398 L 326,398 L 326,397 L 327,397 L 328,397 L 328,396 L 329,396 L 330,396 L 330,395 L 331,395 L 331,394 L 332,394 L 332,393 L 332,392 L 333,392 L 333,391 L 334,391 L 334,390 L 334,389 L 335,389 L 336,389 L 336,388 L 336,387 L 335,387 L 335,386 L 336,386 L 337,386 L 337,385 L 338,385 L 338,384 L 339,384 L 339,383 L 339,382 L 339,381 L 339,380 L 340,380 L 340,379 L 340,378 L 341,378 L 342,378 L 342,377 L 342,376 L 342,375 L 342,374 L 343,373 L 344,373 L 344,372 L 344,371 L 345,371 L 345,370 L 346,370 L 346,369 L 347,369 L 348,369 L 349,369 L 349,368 L 350,368 L 350,367 L 350,366 L 351,366 L 351,365 L 352,365 L 352,364 L 353,364 L 354,364 L 355,364 L 355,363 L 356,363 L 356,362 L 357,362 L 358,362 L 359,362 L 360,362 L 360,363 L 361,363 L 362,363 L 363,363 L 364,363 L 364,364 L 365,364 L 366,364 L 367,364 L 368,364 L 369,364 L 370,364 L 370,363 L 371,363 L 372,363 L 372,364 L 373,364 L 374,364 L 375,364 L 375,365 L 374,365 L 374,366 L 374,367 L 375,367 L 375,368 L 375,369 L 376,369 L 377,369 L 377,368 L 377,367 L 378,367 L 379,367 L 379,368 L 379,369 L 379,370 L 380,370 L 380,371 L 380,370 L 380,369 L 380,368 L 381,368 L 381,367 L 382,367 L 383,367 L 384,367 L 384,366 L 385,366 L 385,367 L 386,367 L 386,366 L 387,366 L 388,366 L 388,367 L 389,367 L 389,366 L 389,365 L 390,365 L 390,366 L 391,366 L 391,367 L 392,367 L 392,366 L 393,366 L 393,365 L 393,366 L 394,366 L 394,365 L 394,364 L 395,364 L 395,365 L 395,364 L 396,364 L 397,364 L 397,365 L 398,365 L 399,365 L 399,364 L 400,364 L 400,365 L 401,366 L 402,366 L 402,367 L 403,367 L 403,368 L 403,369 L 402,369 L 402,370 L 402,371 L 403,371 L 403,372 L 404,372 L 404,373 L 405,373 L 405,374 L 404,374 L 404,375 L 403,375 L 403,376 L 403,377 L 404,378 L 404,379 L 404,380 L 405,380 L 405,381 L 405,382 L 405,381 L 406,381 L 405,381 L 405,382 L 406,382 L 406,383 L 406,384 L 407,384 L 408,384 L 409,384 L 410,384 L 411,384 L 412,384 L 412,385 L 412,384 L 412,385 L 413,385 L 413,386 L 413,387 L 413,388 L 412,388 L 412,389 L 411,389 L 411,390 L 411,391 L 411,392 L 412,392 L 412,393 L 411,393 L 410,394 L 410,393 L 410,394 L 411,394 L 412,394 L 412,395 L 411,395 L 411,396 L 410,396 L 411,396 L 410,396 L 410,397 L 411,397 L 411,398 L 412,399 L 413,399 L 413,400 L 414,400 L 415,400 L 414,400 L 414,401 L 415,401 L 414,401 L 415,401 L 414,401 L 415,401 L 415,402 L 414,402 L 414,403 L 415,403 L 416,403 L 415,403 L 415,404 L 415,405 L 416,405 L 417,405 L 418,405 L 418,404 L 418,405 L 418,404 L 418,405 L 419,405 L 420,405 L 421,405 L 421,404 L 422,404 L 422,405 L 422,404 L 423,404 L 424,404 L 423,404 L 424,404 L 424,403 L 424,404 L 424,403 L 424,402 L 424,403 L 424,402 L 424,403 L 424,402 L 424,403 L 423,403 L 423,402 L 424,402 L 425,402 L 425,401 L 424,401 L 424,400 L 424,401 L 425,401 L 425,400 L 425,401 L 425,402 L 425,401 L 426,401 L 426,402 L 427,402 L 427,401 L 428,401 L 429,401 L 428,401 L 429,401 L 428,401 L 429,402 L 429,401 L 430,401 L 431,401 L 431,400 L 432,400 L 432,399 L 433,399 L 434,399 L 435,399 L 436,399 L 436,398 L 437,398 L 438,398 L 438,399 L 438,400 L 439,400 L 439,401 L 440,401 L 441,401 L 442,401 L 443,401 L 442,401 L 443,401 L 443,400 L 443,401 L 443,400 L 443,401 L 444,401 L 445,401 L 446,401 L 445,401 L 446,402 L 445,402 L 445,403 L 445,404 L 444,404 L 443,404 L 442,404 L 442,405 L 441,405 L 442,405 L 441,405 L 441,404 L 442,404 L 441,404 L 441,405 L 440,405 L 439,405 L 438,405 L 438,406 L 437,406 L 437,407 L 437,408 L 437,409 L 436,409 L 436,410 L 437,410 L 437,411 L 438,411 L 438,412 L 438,411 L 438,412 L 437,412 L 436,412 L 436,411 L 436,412 L 436,411 L 435,411 L 435,412 L 434,412 L 435,412 L 434,412 L 433,412 L 433,413 L 434,413 L 433,413 L 434,413 L 433,413 L 433,414 L 433,413 L 433,414 L 432,414 L 432,413 L 432,414 L 432,413 L 432,414 L 432,413 L 432,414 L 431,414 L 431,415 L 430,415 L 430,414 L 430,415 L 429,415 L 428,415 L 428,416 L 429,416 L 429,417 L 428,417 L 429,417 L 429,418 L 428,418 L 427,418 L 428,418 L 427,418 L 426,418 L 427,418 L 427,417 L 426,417 L 426,418 L 426,417 L 427,417 L 426,417 L 426,418 L 426,417 L 425,417 L 426,417 L 425,417 L 426,417 L 425,417 L 424,417 L 423,417 L 422,417 L 421,417 L 420,417 L 420,418 L 420,417 L 420,418 L 419,418 L 418,418 L 419,418 L 418,418 L 418,419 L 418,420 L 417,420 L 416,420 "},pr:{name:"Paraná",path:"M 336,400 L 337,400 L 338,400 L 338,401 L 339,401 L 340,401 L 341,401 L 341,402 L 342,402 L 343,402 L 344,402 L 345,402 L 346,402 L 347,402 L 348,402 L 348,403 L 349,403 L 350,403 L 351,403 L 351,404 L 352,404 L 352,403 L 352,404 L 353,404 L 353,405 L 354,405 L 353,405 L 353,406 L 354,406 L 355,406 L 355,405 L 356,405 L 357,405 L 357,406 L 358,406 L 358,405 L 358,406 L 359,406 L 359,405 L 360,405 L 360,406 L 360,405 L 361,405 L 361,406 L 362,406 L 363,405 L 363,406 L 363,405 L 364,405 L 365,405 L 365,406 L 366,406 L 366,407 L 367,407 L 367,408 L 368,408 L 369,408 L 369,409 L 369,408 L 369,409 L 369,410 L 370,410 L 370,411 L 370,412 L 371,412 L 370,412 L 371,412 L 371,413 L 371,412 L 370,412 L 370,413 L 370,414 L 370,415 L 370,416 L 371,416 L 371,417 L 371,418 L 370,418 L 370,419 L 371,419 L 372,419 L 371,419 L 371,420 L 371,419 L 371,420 L 372,420 L 371,420 L 372,420 L 372,421 L 373,421 L 373,422 L 373,421 L 373,422 L 374,422 L 373,422 L 374,422 L 374,423 L 374,424 L 375,424 L 375,425 L 376,425 L 375,425 L 375,426 L 375,427 L 374,427 L 375,427 L 375,428 L 374,428 L 375,428 L 374,428 L 374,429 L 374,430 L 375,430 L 376,430 L 377,430 L 378,430 L 378,429 L 379,429 L 378,429 L 379,429 L 379,430 L 380,430 L 381,430 L 381,429 L 381,430 L 381,429 L 381,430 L 382,430 L 383,430 L 384,430 L 385,430 L 385,431 L 385,430 L 385,431 L 386,431 L 385,431 L 385,432 L 385,433 L 385,432 L 385,433 L 385,434 L 384,434 L 384,435 L 385,435 L 385,436 L 385,435 L 386,435 L 386,434 L 387,434 L 388,434 L 388,435 L 389,435 L 389,434 L 389,435 L 390,435 L 389,435 L 390,435 L 389,435 L 390,435 L 389,435 L 390,435 L 390,436 L 390,437 L 391,438 L 392,438 L 392,437 L 392,438 L 391,438 L 391,439 L 391,438 L 391,439 L 390,439 L 390,440 L 390,441 L 389,441 L 388,441 L 389,441 L 388,442 L 387,442 L 387,443 L 386,443 L 386,444 L 386,445 L 385,445 L 385,446 L 385,447 L 384,447 L 384,448 L 384,447 L 383,447 L 383,448 L 381,448 L 380,448 L 379,448 L 378,448 L 379,448 L 378,448 L 377,448 L 378,448 L 377,448 L 376,448 L 375,448 L 375,449 L 375,448 L 375,449 L 374,449 L 375,449 L 374,449 L 375,449 L 374,449 L 375,449 L 375,450 L 374,450 L 373,450 L 372,450 L 372,451 L 372,450 L 372,451 L 371,451 L 370,451 L 371,451 L 370,451 L 369,451 L 369,450 L 368,450 L 368,449 L 368,450 L 368,449 L 368,450 L 367,450 L 367,449 L 366,449 L 367,449 L 366,449 L 366,448 L 366,449 L 366,448 L 366,449 L 366,448 L 365,448 L 366,448 L 365,448 L 365,449 L 365,448 L 364,448 L 365,448 L 365,449 L 364,449 L 364,448 L 364,449 L 364,448 L 363,448 L 363,449 L 363,448 L 362,448 L 362,449 L 363,449 L 362,449 L 361,449 L 360,449 L 360,450 L 360,449 L 359,449 L 358,449 L 359,449 L 358,449 L 358,448 L 358,449 L 358,448 L 358,449 L 358,448 L 357,448 L 357,449 L 357,448 L 356,448 L 356,449 L 357,449 L 356,449 L 356,450 L 355,450 L 355,451 L 354,451 L 355,451 L 355,452 L 354,452 L 354,451 L 353,451 L 353,452 L 353,451 L 353,452 L 352,452 L 352,451 L 352,452 L 351,452 L 351,451 L 350,451 L 350,452 L 349,452 L 348,452 L 348,453 L 347,453 L 347,454 L 347,455 L 347,454 L 347,455 L 347,456 L 348,456 L 347,456 L 347,457 L 348,457 L 347,457 L 348,457 L 347,457 L 346,457 L 345,457 L 345,458 L 345,457 L 344,457 L 344,456 L 343,456 L 342,456 L 341,456 L 340,456 L 339,456 L 338,456 L 337,456 L 336,456 L 336,455 L 335,455 L 336,455 L 335,455 L 334,455 L 334,454 L 334,455 L 333,455 L 333,454 L 333,455 L 333,454 L 332,454 L 331,454 L 330,454 L 329,454 L 328,454 L 328,453 L 327,453 L 326,453 L 325,453 L 324,453 L 323,453 L 322,453 L 322,454 L 322,453 L 322,454 L 322,453 L 321,453 L 320,453 L 320,452 L 319,452 L 318,452 L 318,451 L 318,452 L 317,452 L 316,452 L 315,452 L 314,452 L 314,451 L 314,450 L 313,450 L 313,449 L 312,449 L 312,448 L 311,448 L 311,447 L 312,447 L 311,447 L 312,447 L 311,447 L 312,447 L 311,447 L 311,446 L 311,445 L 311,446 L 312,446 L 312,445 L 311,445 L 311,444 L 311,445 L 311,444 L 311,443 L 310,443 L 311,443 L 310,443 L 309,443 L 309,442 L 308,442 L 308,443 L 307,443 L 307,442 L 308,442 L 308,441 L 307,441 L 307,442 L 306,442 L 307,442 L 306,442 L 306,443 L 306,442 L 305,442 L 304,442 L 304,443 L 304,442 L 304,443 L 303,443 L 303,444 L 303,443 L 302,443 L 302,442 L 301,442 L 301,441 L 300,441 L 300,440 L 301,440 L 301,439 L 302,439 L 302,438 L 302,437 L 303,437 L 303,436 L 303,435 L 303,434 L 303,433 L 303,432 L 304,431 L 304,430 L 304,429 L 305,429 L 305,428 L 304,428 L 304,427 L 305,427 L 305,426 L 305,425 L 305,424 L 304,423 L 305,423 L 304,423 L 304,422 L 305,422 L 305,421 L 306,421 L 306,420 L 307,420 L 308,420 L 308,419 L 308,418 L 308,417 L 308,416 L 309,415 L 309,414 L 309,413 L 310,413 L 310,412 L 311,412 L 312,412 L 312,411 L 313,411 L 313,410 L 313,409 L 314,409 L 314,408 L 314,407 L 314,406 L 315,406 L 315,405 L 316,405 L 316,404 L 317,404 L 318,404 L 318,403 L 319,403 L 320,403 L 320,402 L 321,402 L 321,401 L 322,401 L 322,402 L 322,401 L 323,401 L 323,400 L 324,400 L 325,401 L 326,401 L 327,401 L 328,401 L 328,400 L 329,400 L 329,401 L 330,401 L 331,401 L 332,401 L 333,401 L 334,401 L 334,402 L 335,401 L 335,400 L 336,400 "},sc:{name:"Santa Catarina",path:"M 384,448 L 384,449 L 384,450 L 385,450 L 385,451 L 386,451 L 385,451 L 386,451 L 385,451 L 385,452 L 385,453 L 384,453 L 384,454 L 384,455 L 383,456 L 383,457 L 383,458 L 383,459 L 384,459 L 384,460 L 384,461 L 384,462 L 385,462 L 384,462 L 385,462 L 384,462 L 384,463 L 384,464 L 385,464 L 386,464 L 386,465 L 385,465 L 386,465 L 385,465 L 384,465 L 384,466 L 385,466 L 385,467 L 385,468 L 384,468 L 385,468 L 385,467 L 386,467 L 387,467 L 387,468 L 387,469 L 387,470 L 386,470 L 386,471 L 386,472 L 385,472 L 386,472 L 386,473 L 385,473 L 385,474 L 384,474 L 385,474 L 384,474 L 384,475 L 384,476 L 384,477 L 384,478 L 383,478 L 383,479 L 384,479 L 383,479 L 383,480 L 383,481 L 382,481 L 382,482 L 382,483 L 382,484 L 381,484 L 380,485 L 379,485 L 378,486 L 377,486 L 377,487 L 376,487 L 375,487 L 375,488 L 374,488 L 374,489 L 373,489 L 373,490 L 372,490 L 372,491 L 371,491 L 371,492 L 370,492 L 370,493 L 369,493 L 369,494 L 368,494 L 367,494 L 367,493 L 366,493 L 365,493 L 364,493 L 363,493 L 363,494 L 364,494 L 364,495 L 364,494 L 363,494 L 363,493 L 362,493 L 363,493 L 362,493 L 363,493 L 362,493 L 363,493 L 363,492 L 363,493 L 364,493 L 363,493 L 363,492 L 363,493 L 363,492 L 364,492 L 363,492 L 364,492 L 363,492 L 364,492 L 364,493 L 364,492 L 365,492 L 364,492 L 365,492 L 365,491 L 365,492 L 365,491 L 365,492 L 365,491 L 365,490 L 366,490 L 366,489 L 365,489 L 365,488 L 366,488 L 365,488 L 365,487 L 365,486 L 366,486 L 367,486 L 367,485 L 367,486 L 367,485 L 367,484 L 368,484 L 368,485 L 368,484 L 368,485 L 369,485 L 369,484 L 368,484 L 368,483 L 368,482 L 368,483 L 367,483 L 367,482 L 367,483 L 366,483 L 367,483 L 367,482 L 366,482 L 367,482 L 366,482 L 366,483 L 365,483 L 365,482 L 364,482 L 364,483 L 364,482 L 363,482 L 363,483 L 363,482 L 363,483 L 363,482 L 362,482 L 363,482 L 363,483 L 362,483 L 362,482 L 361,482 L 360,482 L 359,482 L 358,482 L 357,482 L 357,481 L 356,481 L 355,481 L 355,480 L 355,479 L 354,479 L 354,478 L 353,478 L 352,478 L 353,478 L 353,477 L 352,477 L 352,476 L 352,475 L 351,475 L 350,475 L 351,475 L 350,475 L 350,474 L 349,474 L 349,473 L 348,473 L 347,473 L 347,472 L 346,472 L 347,472 L 346,472 L 346,471 L 345,471 L 346,471 L 345,471 L 344,471 L 344,470 L 343,470 L 343,469 L 342,469 L 342,470 L 342,469 L 341,469 L 340,469 L 339,469 L 338,469 L 339,469 L 338,469 L 338,468 L 338,469 L 337,469 L 337,468 L 338,468 L 337,468 L 337,467 L 337,468 L 338,467 L 337,467 L 336,467 L 335,467 L 335,466 L 334,466 L 335,466 L 334,466 L 334,467 L 334,466 L 333,466 L 334,466 L 333,466 L 332,466 L 331,466 L 331,465 L 331,466 L 331,465 L 330,465 L 330,466 L 329,466 L 329,465 L 329,466 L 328,466 L 328,465 L 327,465 L 327,466 L 327,465 L 327,466 L 326,466 L 326,465 L 325,465 L 325,464 L 325,465 L 324,465 L 324,464 L 323,464 L 323,465 L 323,464 L 322,464 L 323,464 L 323,463 L 322,463 L 322,464 L 321,464 L 321,465 L 321,464 L 320,464 L 320,465 L 320,464 L 319,464 L 319,465 L 318,465 L 319,465 L 319,464 L 318,464 L 318,463 L 317,463 L 317,464 L 316,464 L 316,465 L 315,465 L 315,464 L 315,465 L 314,465 L 314,464 L 313,464 L 313,465 L 312,465 L 312,464 L 311,464 L 312,464 L 311,464 L 312,464 L 312,463 L 312,464 L 312,463 L 312,462 L 312,463 L 312,462 L 313,462 L 312,462 L 313,462 L 313,461 L 313,462 L 313,461 L 314,461 L 313,461 L 314,461 L 313,461 L 314,461 L 313,460 L 314,460 L 313,460 L 313,459 L 313,458 L 312,458 L 313,458 L 312,458 L 313,458 L 313,457 L 312,457 L 313,457 L 313,456 L 313,455 L 313,454 L 313,453 L 313,454 L 313,453 L 314,453 L 313,453 L 314,453 L 314,452 L 315,452 L 316,452 L 317,452 L 318,452 L 318,451 L 318,452 L 319,452 L 320,452 L 320,453 L 321,453 L 322,453 L 322,454 L 322,453 L 322,454 L 322,453 L 323,453 L 324,453 L 325,453 L 326,453 L 327,453 L 328,453 L 328,454 L 329,454 L 330,454 L 331,454 L 332,454 L 333,454 L 333,455 L 333,454 L 333,455 L 334,455 L 334,454 L 334,455 L 335,455 L 336,455 L 335,455 L 336,455 L 336,456 L 337,456 L 338,456 L 339,456 L 340,456 L 341,456 L 342,456 L 343,456 L 344,456 L 344,457 L 345,457 L 345,458 L 345,457 L 346,457 L 347,457 L 348,457 L 347,457 L 348,457 L 347,457 L 347,456 L 348,456 L 347,456 L 347,455 L 347,454 L 347,455 L 347,454 L 347,453 L 348,453 L 348,452 L 349,452 L 350,452 L 350,451 L 351,451 L 351,452 L 352,452 L 352,451 L 352,452 L 353,452 L 353,451 L 353,452 L 353,451 L 354,451 L 354,452 L 355,452 L 355,451 L 354,451 L 355,451 L 355,450 L 356,450 L 356,449 L 357,449 L 356,449 L 356,448 L 357,448 L 357,449 L 357,448 L 358,448 L 358,449 L 358,448 L 358,449 L 358,448 L 358,449 L 359,449 L 358,449 L 359,449 L 360,449 L 360,450 L 360,449 L 361,449 L 362,449 L 363,449 L 362,449 L 362,448 L 363,448 L 363,449 L 363,448 L 364,448 L 364,449 L 364,448 L 364,449 L 365,449 L 365,448 L 364,448 L 365,448 L 365,449 L 365,448 L 366,448 L 365,448 L 366,448 L 366,449 L 366,448 L 366,449 L 366,448 L 366,449 L 367,449 L 366,449 L 367,449 L 367,450 L 368,450 L 368,449 L 368,450 L 368,449 L 368,450 L 369,450 L 369,451 L 370,451 L 371,451 L 370,451 L 371,451 L 372,451 L 372,450 L 372,451 L 372,450 L 373,450 L 374,450 L 375,450 L 375,449 L 374,449 L 375,449 L 374,449 L 375,449 L 374,449 L 375,449 L 375,448 L 375,449 L 375,448 L 376,448 L 377,448 L 378,448 L 377,448 L 378,448 L 379,448 L 378,448 L 379,448 L 380,448 L 381,448 L 383,448 L 383,447 L 384,447 L 384,448 "},rs:{name:"Rio Grande do Sul",path:"M 338,468 L 338,469 L 339,469 L 338,469 L 339,469 L 340,469 L 341,469 L 342,469 L 342,470 L 342,469 L 343,469 L 343,470 L 344,470 L 344,471 L 345,471 L 346,471 L 345,471 L 346,471 L 346,472 L 347,472 L 346,472 L 347,472 L 347,473 L 348,473 L 349,473 L 349,474 L 350,474 L 350,475 L 351,475 L 350,475 L 351,475 L 352,475 L 352,476 L 352,477 L 353,477 L 353,478 L 352,478 L 353,478 L 354,478 L 354,479 L 355,479 L 355,480 L 355,481 L 356,481 L 357,481 L 357,482 L 358,482 L 359,482 L 360,482 L 361,482 L 362,482 L 362,483 L 363,483 L 363,482 L 362,482 L 363,482 L 363,483 L 363,482 L 363,483 L 363,482 L 364,482 L 364,483 L 364,482 L 365,482 L 365,483 L 366,483 L 366,482 L 367,482 L 366,482 L 367,482 L 367,483 L 366,483 L 367,483 L 367,482 L 367,483 L 368,483 L 368,482 L 368,483 L 368,484 L 369,484 L 369,485 L 368,485 L 368,484 L 368,485 L 368,484 L 367,484 L 367,485 L 367,486 L 367,485 L 367,486 L 366,486 L 365,486 L 365,487 L 365,488 L 366,488 L 365,488 L 365,489 L 366,489 L 366,490 L 365,490 L 365,491 L 365,492 L 365,491 L 365,492 L 365,491 L 365,492 L 364,492 L 365,492 L 364,492 L 364,493 L 364,492 L 363,492 L 364,492 L 363,492 L 364,492 L 363,492 L 363,493 L 363,492 L 363,493 L 364,493 L 363,493 L 363,492 L 363,493 L 362,493 L 363,493 L 362,493 L 363,493 L 362,493 L 363,493 L 363,494 L 364,494 L 364,495 L 364,494 L 363,494 L 363,493 L 364,493 L 365,493 L 366,493 L 367,493 L 367,494 L 368,494 L 369,494 L 369,495 L 368,495 L 368,496 L 367,496 L 367,497 L 366,497 L 366,498 L 366,499 L 365,499 L 365,500 L 364,500 L 364,501 L 364,502 L 363,502 L 363,503 L 363,504 L 363,505 L 362,505 L 362,506 L 362,507 L 361,507 L 361,508 L 361,509 L 361,510 L 360,510 L 360,511 L 359,512 L 358,513 L 358,514 L 357,514 L 357,515 L 356,516 L 356,517 L 355,517 L 355,518 L 354,519 L 354,520 L 353,520 L 352,521 L 352,522 L 351,522 L 350,523 L 349,523 L 349,524 L 348,524 L 348,525 L 347,525 L 347,526 L 346,526 L 346,527 L 345,527 L 344,528 L 343,528 L 342,529 L 341,529 L 341,530 L 340,530 L 339,530 L 339,531 L 338,531 L 338,532 L 337,532 L 337,533 L 336,533 L 336,534 L 336,533 L 336,532 L 336,531 L 337,531 L 336,530 L 336,529 L 335,529 L 336,529 L 335,529 L 336,529 L 335,529 L 336,529 L 337,529 L 338,529 L 338,530 L 339,530 L 339,529 L 340,529 L 339,529 L 340,529 L 339,529 L 340,529 L 341,529 L 341,528 L 342,528 L 342,527 L 343,527 L 343,526 L 344,526 L 344,525 L 344,526 L 345,526 L 344,526 L 344,525 L 345,525 L 344,525 L 345,525 L 345,524 L 345,525 L 346,525 L 347,525 L 347,524 L 348,524 L 348,523 L 348,522 L 349,522 L 349,521 L 348,521 L 348,520 L 348,519 L 349,519 L 350,519 L 350,518 L 351,518 L 351,517 L 351,516 L 352,516 L 353,516 L 353,515 L 354,515 L 355,515 L 355,514 L 355,513 L 355,512 L 355,511 L 355,510 L 355,509 L 356,509 L 356,508 L 356,509 L 356,510 L 356,511 L 357,511 L 357,510 L 357,509 L 357,508 L 357,507 L 356,507 L 356,506 L 356,507 L 356,506 L 356,507 L 356,506 L 355,507 L 356,508 L 355,508 L 354,508 L 353,508 L 352,508 L 352,509 L 352,510 L 351,510 L 351,509 L 350,509 L 350,508 L 350,509 L 350,508 L 350,507 L 350,508 L 350,507 L 349,507 L 348,507 L 349,507 L 348,507 L 348,506 L 347,506 L 348,506 L 347,506 L 347,505 L 348,505 L 348,504 L 347,504 L 347,505 L 347,504 L 347,505 L 347,504 L 346,505 L 346,506 L 346,507 L 347,507 L 347,508 L 348,508 L 348,509 L 349,509 L 349,510 L 349,511 L 349,510 L 349,509 L 348,509 L 348,510 L 347,510 L 347,511 L 347,512 L 347,513 L 347,514 L 347,515 L 346,515 L 347,515 L 347,514 L 346,514 L 346,513 L 345,513 L 345,514 L 345,515 L 345,516 L 346,516 L 345,516 L 344,516 L 344,517 L 344,518 L 344,519 L 345,519 L 344,519 L 343,519 L 342,519 L 342,520 L 342,521 L 341,521 L 341,522 L 340,522 L 340,521 L 340,522 L 339,522 L 338,522 L 339,522 L 338,522 L 337,522 L 337,523 L 338,523 L 337,523 L 337,524 L 337,525 L 337,526 L 337,527 L 336,527 L 335,527 L 335,528 L 334,528 L 334,529 L 333,529 L 333,530 L 334,530 L 335,530 L 335,531 L 334,531 L 334,532 L 333,532 L 334,532 L 334,531 L 335,531 L 335,532 L 336,532 L 335,532 L 334,532 L 334,533 L 333,533 L 334,533 L 334,532 L 335,532 L 336,532 L 335,532 L 335,533 L 335,532 L 336,532 L 336,533 L 335,533 L 335,534 L 334,534 L 334,535 L 333,535 L 333,536 L 333,537 L 332,537 L 332,538 L 331,539 L 331,540 L 331,541 L 331,542 L 330,542 L 330,543 L 330,544 L 329,545 L 329,546 L 328,546 L 328,547 L 328,548 L 327,548 L 327,549 L 326,549 L 326,550 L 325,550 L 324,551 L 323,552 L 322,552 L 322,553 L 321,553 L 321,554 L 320,554 L 320,555 L 319,555 L 318,555 L 318,556 L 317,556 L 317,555 L 316,555 L 315,555 L 316,555 L 315,555 L 315,554 L 316,554 L 315,554 L 316,554 L 316,553 L 317,553 L 316,553 L 317,553 L 317,552 L 317,553 L 317,552 L 317,551 L 317,550 L 316,549 L 317,549 L 317,548 L 317,547 L 317,548 L 318,547 L 318,546 L 319,546 L 318,546 L 318,547 L 319,547 L 320,546 L 320,545 L 321,545 L 321,544 L 321,543 L 322,543 L 323,543 L 323,542 L 323,543 L 324,544 L 325,544 L 326,544 L 327,543 L 327,542 L 328,542 L 328,541 L 328,540 L 329,539 L 329,538 L 328,538 L 328,537 L 327,536 L 327,535 L 328,535 L 328,534 L 327,534 L 326,534 L 327,534 L 326,534 L 326,535 L 326,534 L 326,535 L 326,534 L 327,534 L 326,534 L 327,534 L 327,535 L 326,535 L 326,536 L 325,536 L 326,536 L 326,537 L 326,536 L 326,537 L 327,537 L 326,537 L 326,538 L 325,538 L 324,538 L 323,538 L 323,539 L 323,540 L 322,540 L 322,541 L 321,541 L 321,540 L 321,541 L 320,541 L 320,540 L 319,540 L 318,540 L 318,539 L 318,540 L 317,540 L 317,539 L 316,539 L 316,538 L 315,538 L 315,537 L 314,537 L 314,536 L 314,535 L 313,535 L 314,535 L 313,535 L 313,534 L 313,533 L 312,533 L 312,532 L 311,532 L 311,531 L 311,532 L 311,531 L 310,531 L 309,531 L 310,531 L 310,530 L 309,530 L 308,530 L 308,531 L 308,530 L 307,530 L 306,529 L 303,527 L 303,526 L 302,526 L 302,525 L 301,525 L 301,524 L 300,524 L 299,524 L 298,524 L 297,524 L 297,523 L 296,523 L 297,523 L 296,523 L 296,522 L 295,522 L 295,521 L 295,522 L 294,522 L 293,522 L 293,521 L 292,521 L 292,520 L 291,520 L 290,519 L 290,520 L 290,519 L 291,519 L 290,519 L 291,519 L 290,519 L 291,519 L 290,519 L 290,518 L 289,518 L 289,517 L 288,517 L 288,516 L 287,516 L 287,515 L 287,516 L 287,515 L 286,515 L 286,516 L 286,517 L 285,517 L 285,518 L 284,518 L 283,518 L 283,519 L 282,519 L 281,519 L 281,518 L 281,517 L 281,516 L 281,515 L 280,515 L 280,514 L 279,514 L 279,513 L 279,512 L 278,512 L 278,511 L 277,511 L 277,512 L 277,511 L 276,511 L 276,510 L 275,510 L 275,509 L 274,509 L 274,508 L 273,508 L 273,507 L 272,507 L 273,507 L 272,507 L 272,506 L 272,507 L 272,506 L 272,507 L 271,507 L 271,506 L 270,506 L 270,505 L 269,505 L 268,505 L 269,505 L 268,505 L 267,505 L 266,505 L 266,506 L 266,505 L 266,506 L 265,506 L 265,507 L 265,508 L 264,508 L 264,507 L 264,508 L 263,508 L 263,507 L 263,508 L 262,508 L 261,508 L 262,508 L 261,508 L 261,507 L 260,507 L 260,508 L 260,507 L 259,507 L 260,507 L 259,507 L 259,506 L 258,506 L 259,506 L 260,506 L 261,505 L 261,504 L 262,504 L 263,504 L 263,503 L 263,502 L 263,501 L 264,501 L 265,501 L 266,500 L 267,500 L 267,499 L 268,498 L 269,497 L 270,497 L 270,496 L 270,495 L 271,495 L 272,495 L 272,494 L 272,493 L 272,492 L 273,492 L 273,491 L 274,491 L 275,491 L 276,490 L 275,490 L 275,489 L 276,489 L 277,489 L 277,488 L 277,487 L 278,487 L 279,487 L 279,486 L 279,485 L 280,485 L 281,485 L 281,484 L 281,483 L 282,483 L 283,483 L 283,482 L 283,481 L 284,481 L 285,481 L 285,482 L 286,482 L 285,481 L 286,481 L 286,480 L 285,480 L 284,480 L 284,479 L 285,479 L 286,479 L 286,478 L 287,478 L 288,478 L 288,477 L 289,477 L 290,477 L 290,476 L 290,475 L 291,475 L 292,475 L 292,474 L 293,474 L 294,474 L 295,474 L 295,473 L 294,473 L 295,473 L 296,473 L 296,472 L 296,471 L 297,471 L 297,470 L 298,470 L 298,469 L 298,470 L 299,470 L 300,470 L 300,469 L 300,470 L 300,469 L 301,469 L 301,468 L 301,469 L 302,469 L 303,469 L 303,468 L 302,468 L 303,468 L 304,468 L 304,469 L 304,468 L 305,468 L 306,467 L 306,466 L 307,466 L 308,466 L 309,466 L 309,465 L 310,465 L 310,464 L 311,464 L 312,464 L 312,465 L 313,465 L 313,464 L 314,464 L 314,465 L 315,465 L 315,464 L 315,465 L 316,465 L 316,464 L 317,464 L 317,463 L 318,463 L 318,464 L 319,464 L 319,465 L 318,465 L 319,465 L 319,464 L 320,464 L 320,465 L 320,464 L 321,464 L 321,465 L 321,464 L 322,464 L 322,463 L 323,463 L 323,464 L 322,464 L 323,464 L 323,465 L 323,464 L 324,464 L 324,465 L 325,465 L 325,464 L 325,465 L 326,465 L 326,466 L 327,466 L 327,465 L 327,466 L 327,465 L 328,465 L 328,466 L 329,466 L 329,465 L 329,466 L 330,466 L 330,465 L 331,465 L 331,466 L 331,465 L 331,466 L 332,466 L 333,466 L 334,466 L 333,466 L 334,466 L 334,467 L 334,466 L 335,466 L 334,466 L 335,466 L 335,467 L 336,467 L 337,467 L 338,467 L 337,468 L 337,467 L 337,468 L 338,468 L 337,468 L 337,469 L 338,469 L 338,468 "},ms:{name:"Mato Grosso do Sul",path:"M 280,325 L 281,325 L 281,326 L 282,326 L 282,327 L 282,326 L 282,327 L 283,327 L 284,327 L 284,328 L 284,327 L 285,327 L 285,328 L 286,328 L 287,328 L 287,329 L 288,329 L 288,330 L 289,330 L 290,330 L 290,331 L 290,330 L 290,331 L 290,330 L 290,331 L 291,331 L 291,330 L 291,331 L 292,331 L 292,332 L 293,332 L 294,332 L 295,332 L 295,331 L 295,332 L 296,332 L 296,331 L 297,332 L 297,331 L 297,332 L 297,331 L 298,331 L 298,330 L 299,330 L 300,330 L 301,330 L 301,329 L 301,330 L 301,329 L 301,330 L 302,330 L 303,330 L 303,331 L 304,331 L 304,332 L 305,332 L 306,332 L 306,331 L 307,331 L 307,332 L 307,331 L 307,332 L 307,331 L 308,331 L 308,332 L 308,331 L 308,330 L 309,330 L 309,329 L 310,329 L 310,328 L 311,328 L 311,327 L 312,327 L 312,326 L 313,326 L 313,330 L 313,332 L 312,332 L 311,332 L 311,333 L 310,333 L 310,334 L 310,335 L 310,336 L 311,336 L 312,336 L 312,337 L 312,336 L 312,337 L 313,337 L 314,337 L 313,337 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 315,337 L 316,337 L 317,337 L 318,337 L 319,337 L 320,337 L 321,337 L 322,337 L 322,338 L 321,338 L 321,339 L 321,340 L 321,341 L 322,341 L 321,341 L 322,341 L 322,342 L 323,342 L 323,341 L 324,341 L 325,341 L 326,341 L 326,342 L 326,343 L 325,343 L 324,343 L 324,344 L 323,344 L 323,345 L 324,345 L 324,346 L 325,346 L 326,346 L 327,346 L 328,346 L 329,346 L 330,346 L 331,346 L 331,347 L 331,348 L 332,348 L 333,348 L 334,349 L 335,349 L 334,349 L 335,349 L 335,350 L 336,350 L 337,350 L 338,350 L 337,350 L 338,350 L 338,351 L 339,351 L 339,352 L 339,351 L 339,352 L 340,352 L 341,352 L 341,353 L 342,353 L 342,352 L 342,353 L 343,352 L 343,353 L 343,352 L 343,353 L 344,353 L 345,353 L 346,353 L 346,354 L 347,354 L 346,354 L 347,354 L 347,355 L 347,354 L 348,354 L 348,355 L 349,355 L 350,355 L 350,356 L 351,356 L 351,357 L 352,357 L 351,357 L 351,358 L 352,358 L 352,359 L 351,359 L 351,360 L 350,360 L 350,361 L 350,362 L 350,363 L 351,363 L 351,364 L 350,364 L 351,364 L 351,365 L 350,365 L 351,365 L 351,366 L 350,366 L 350,367 L 350,368 L 349,368 L 349,369 L 348,369 L 347,369 L 346,369 L 346,370 L 345,370 L 345,371 L 344,371 L 344,372 L 344,373 L 343,373 L 342,374 L 342,375 L 342,376 L 342,377 L 342,378 L 341,378 L 340,378 L 340,379 L 340,380 L 339,380 L 339,381 L 339,382 L 339,383 L 339,384 L 338,384 L 338,385 L 337,385 L 337,386 L 336,386 L 335,386 L 335,387 L 336,387 L 336,388 L 336,389 L 335,389 L 334,389 L 334,390 L 334,391 L 333,391 L 333,392 L 332,392 L 332,393 L 332,394 L 331,394 L 331,395 L 330,395 L 330,396 L 329,396 L 328,396 L 328,397 L 327,397 L 326,397 L 326,398 L 325,398 L 325,399 L 324,399 L 323,399 L 323,400 L 322,400 L 322,401 L 321,401 L 321,402 L 320,402 L 320,403 L 319,403 L 318,403 L 318,404 L 317,404 L 316,404 L 316,405 L 315,405 L 315,406 L 314,406 L 314,407 L 314,408 L 314,409 L 313,409 L 313,410 L 313,411 L 312,411 L 312,412 L 311,412 L 310,412 L 310,413 L 309,413 L 309,414 L 309,415 L 308,416 L 308,417 L 308,418 L 308,419 L 308,420 L 307,420 L 306,420 L 306,421 L 305,421 L 305,420 L 304,420 L 303,420 L 303,419 L 302,419 L 302,418 L 302,419 L 302,418 L 301,418 L 301,419 L 301,418 L 300,418 L 299,418 L 298,418 L 298,419 L 297,419 L 296,419 L 296,420 L 295,420 L 294,420 L 293,420 L 292,420 L 291,420 L 290,420 L 289,420 L 290,420 L 289,420 L 289,419 L 289,418 L 289,417 L 289,416 L 288,416 L 289,416 L 289,415 L 288,415 L 288,414 L 287,414 L 287,413 L 288,413 L 288,412 L 288,411 L 287,411 L 287,410 L 288,410 L 288,409 L 287,409 L 287,408 L 287,407 L 286,407 L 286,406 L 286,405 L 286,404 L 286,403 L 287,403 L 286,403 L 287,403 L 287,402 L 286,402 L 286,401 L 285,400 L 285,399 L 285,398 L 284,398 L 284,397 L 283,397 L 283,396 L 282,396 L 282,397 L 282,396 L 282,397 L 282,396 L 282,397 L 282,396 L 281,396 L 282,396 L 281,396 L 282,396 L 281,396 L 281,397 L 281,396 L 280,396 L 279,396 L 278,396 L 277,396 L 277,395 L 276,395 L 277,395 L 276,395 L 276,394 L 276,393 L 276,394 L 275,394 L 274,394 L 274,395 L 274,394 L 274,395 L 273,395 L 274,395 L 273,395 L 273,396 L 272,396 L 272,395 L 272,396 L 272,395 L 271,395 L 271,396 L 271,395 L 271,396 L 272,396 L 271,396 L 270,396 L 270,397 L 269,397 L 269,396 L 269,397 L 269,396 L 268,396 L 267,396 L 266,396 L 265,396 L 265,395 L 264,395 L 264,396 L 264,395 L 264,396 L 263,396 L 263,395 L 263,396 L 262,396 L 262,395 L 261,395 L 260,395 L 259,395 L 259,394 L 258,394 L 257,394 L 256,394 L 256,395 L 256,394 L 255,394 L 254,394 L 253,394 L 254,394 L 254,393 L 253,393 L 254,393 L 254,392 L 254,391 L 255,391 L 254,391 L 254,390 L 255,390 L 255,389 L 254,389 L 255,388 L 254,388 L 254,387 L 255,387 L 254,387 L 254,386 L 254,385 L 255,385 L 255,384 L 255,383 L 254,382 L 255,382 L 255,381 L 255,380 L 256,380 L 255,380 L 255,379 L 256,379 L 256,378 L 255,378 L 255,377 L 254,377 L 255,377 L 255,376 L 255,377 L 255,376 L 254,376 L 254,375 L 255,375 L 255,374 L 254,374 L 254,373 L 253,373 L 253,372 L 253,371 L 253,370 L 252,370 L 252,369 L 252,368 L 251,368 L 252,368 L 252,367 L 251,367 L 252,367 L 252,366 L 253,366 L 253,365 L 254,365 L 255,365 L 255,364 L 252,361 L 253,358 L 253,357 L 254,356 L 255,354 L 255,353 L 256,351 L 257,351 L 258,351 L 257,351 L 257,350 L 257,349 L 260,340 L 261,340 L 260,340 L 259,339 L 259,338 L 259,337 L 258,337 L 258,336 L 257,335 L 257,334 L 258,334 L 257,334 L 257,333 L 257,332 L 256,332 L 257,332 L 257,331 L 256,331 L 257,331 L 256,331 L 257,331 L 257,330 L 257,331 L 258,331 L 257,331 L 258,331 L 258,332 L 258,333 L 259,333 L 259,334 L 260,334 L 260,335 L 261,335 L 262,335 L 262,334 L 262,335 L 262,334 L 262,335 L 263,335 L 263,334 L 264,334 L 265,334 L 266,334 L 266,333 L 267,333 L 267,332 L 268,332 L 268,331 L 268,330 L 269,330 L 269,329 L 270,329 L 269,329 L 270,329 L 269,329 L 270,329 L 270,328 L 271,328 L 270,328 L 271,328 L 271,327 L 272,327 L 272,328 L 272,327 L 272,328 L 272,327 L 272,328 L 272,327 L 273,327 L 273,328 L 273,327 L 273,328 L 273,327 L 274,327 L 275,327 L 275,328 L 275,327 L 276,327 L 277,327 L 277,326 L 278,326 L 279,326 L 279,325 L 279,326 L 279,325 L 280,325 "},mt:{name:"Mato Grosso",path:"M 297,332 L 297,331 L 297,332 L 296,331 L 296,332 L 295,332 L 295,331 L 295,332 L 294,332 L 293,332 L 292,332 L 292,331 L 291,331 L 291,330 L 291,331 L 290,331 L 290,330 L 290,331 L 290,330 L 290,331 L 290,330 L 289,330 L 288,330 L 288,329 L 287,329 L 287,328 L 286,328 L 285,328 L 285,327 L 284,327 L 284,328 L 284,327 L 283,327 L 282,327 L 282,326 L 282,327 L 282,326 L 281,326 L 281,325 L 280,325 L 279,325 L 279,326 L 279,325 L 279,326 L 278,326 L 277,326 L 277,327 L 276,327 L 275,327 L 275,328 L 275,327 L 274,327 L 273,327 L 273,328 L 273,327 L 273,328 L 273,327 L 272,327 L 272,328 L 272,327 L 272,328 L 272,327 L 272,328 L 272,327 L 271,327 L 271,328 L 270,328 L 271,328 L 270,328 L 270,329 L 269,329 L 270,329 L 269,329 L 270,329 L 269,329 L 269,330 L 268,330 L 268,331 L 268,332 L 267,332 L 267,333 L 266,333 L 266,334 L 265,334 L 264,334 L 263,334 L 263,335 L 262,335 L 262,334 L 262,335 L 262,334 L 262,335 L 261,335 L 260,335 L 260,334 L 259,334 L 259,333 L 258,333 L 258,332 L 258,331 L 257,331 L 258,331 L 257,331 L 257,330 L 257,331 L 255,329 L 254,330 L 253,330 L 253,329 L 252,329 L 251,329 L 251,328 L 250,328 L 250,327 L 249,327 L 250,327 L 249,327 L 249,326 L 248,326 L 248,325 L 248,324 L 247,324 L 248,324 L 247,324 L 247,323 L 248,323 L 247,323 L 247,322 L 247,321 L 247,320 L 247,319 L 247,318 L 247,317 L 248,317 L 248,316 L 249,316 L 249,315 L 248,315 L 249,315 L 249,314 L 249,313 L 248,313 L 247,313 L 245,313 L 243,313 L 242,313 L 241,313 L 240,313 L 239,313 L 238,313 L 237,313 L 233,313 L 232,313 L 230,313 L 229,313 L 228,313 L 227,313 L 226,313 L 225,313 L 224,313 L 223,313 L 223,312 L 223,311 L 223,309 L 223,308 L 223,307 L 223,306 L 222,304 L 222,303 L 222,302 L 219,298 L 218,297 L 219,296 L 222,296 L 222,293 L 222,292 L 222,290 L 221,290 L 221,289 L 221,288 L 220,288 L 221,288 L 220,288 L 221,288 L 220,288 L 220,287 L 220,286 L 220,287 L 220,286 L 219,286 L 219,285 L 219,284 L 219,283 L 219,282 L 220,282 L 220,281 L 220,280 L 219,280 L 219,279 L 219,278 L 218,278 L 217,278 L 218,278 L 217,278 L 217,277 L 217,278 L 217,277 L 217,278 L 216,277 L 216,278 L 216,277 L 216,276 L 217,275 L 217,276 L 217,275 L 218,275 L 218,274 L 219,274 L 220,274 L 220,273 L 220,272 L 221,272 L 220,271 L 221,271 L 220,271 L 221,271 L 221,270 L 222,270 L 222,269 L 222,270 L 222,269 L 222,268 L 223,268 L 223,267 L 224,267 L 224,266 L 224,265 L 224,264 L 225,264 L 224,264 L 224,263 L 224,262 L 225,262 L 225,261 L 226,261 L 226,260 L 227,260 L 228,260 L 228,259 L 228,258 L 229,258 L 227,257 L 227,256 L 227,255 L 227,254 L 226,254 L 226,253 L 226,252 L 225,252 L 224,252 L 225,252 L 224,252 L 224,251 L 224,250 L 224,249 L 224,248 L 224,247 L 225,247 L 225,246 L 226,246 L 226,245 L 227,245 L 227,244 L 226,244 L 226,243 L 226,242 L 226,241 L 225,241 L 224,241 L 223,241 L 222,241 L 222,240 L 221,240 L 221,241 L 221,240 L 221,241 L 220,241 L 220,240 L 219,240 L 219,239 L 214,239 L 212,239 L 210,239 L 206,239 L 205,239 L 204,239 L 204,238 L 204,237 L 205,237 L 205,236 L 205,237 L 205,236 L 205,235 L 205,234 L 205,233 L 205,232 L 205,231 L 205,230 L 204,230 L 204,229 L 204,228 L 203,228 L 203,227 L 204,227 L 204,226 L 204,225 L 204,224 L 205,224 L 205,223 L 204,223 L 204,222 L 204,221 L 204,222 L 204,221 L 205,221 L 205,220 L 205,219 L 204,219 L 204,218 L 204,217 L 203,217 L 203,216 L 203,215 L 203,216 L 203,215 L 204,215 L 204,214 L 204,213 L 204,212 L 204,211 L 205,211 L 205,210 L 204,210 L 204,209 L 205,209 L 208,209 L 209,209 L 211,209 L 214,209 L 220,209 L 226,209 L 233,209 L 234,209 L 235,209 L 238,209 L 239,209 L 246,209 L 247,209 L 248,209 L 248,208 L 249,208 L 248,207 L 248,208 L 247,208 L 247,207 L 248,207 L 248,206 L 248,205 L 248,204 L 248,203 L 249,203 L 248,203 L 249,203 L 249,202 L 249,201 L 249,200 L 249,199 L 249,198 L 249,197 L 248,197 L 248,196 L 248,195 L 249,195 L 249,194 L 250,194 L 250,193 L 251,192 L 250,192 L 250,191 L 250,190 L 251,190 L 251,189 L 252,189 L 253,189 L 253,190 L 253,191 L 254,191 L 254,192 L 254,193 L 255,193 L 255,194 L 255,195 L 256,196 L 256,197 L 256,198 L 257,199 L 257,200 L 258,200 L 258,201 L 258,202 L 258,203 L 258,204 L 258,205 L 258,206 L 259,206 L 259,207 L 259,208 L 260,208 L 261,208 L 261,209 L 262,209 L 261,209 L 261,210 L 262,210 L 263,210 L 264,210 L 264,211 L 265,211 L 265,212 L 266,212 L 266,213 L 267,213 L 266,213 L 266,214 L 267,214 L 266,214 L 267,214 L 267,215 L 268,215 L 269,215 L 270,215 L 270,216 L 270,217 L 271,217 L 272,217 L 277,217 L 283,218 L 284,218 L 287,218 L 288,218 L 293,218 L 295,219 L 297,219 L 299,219 L 300,219 L 305,219 L 308,220 L 309,220 L 310,220 L 311,220 L 314,220 L 315,220 L 317,220 L 320,221 L 321,221 L 323,221 L 324,221 L 325,221 L 328,221 L 332,221 L 333,221 L 337,222 L 344,222 L 347,222 L 350,223 L 353,223 L 355,223 L 358,223 L 360,223 L 362,223 L 361,223 L 362,223 L 361,224 L 361,225 L 361,226 L 360,226 L 360,227 L 359,227 L 359,228 L 359,229 L 359,230 L 359,231 L 358,231 L 358,232 L 357,233 L 357,234 L 356,235 L 357,235 L 356,235 L 357,235 L 357,236 L 356,236 L 356,237 L 356,238 L 356,239 L 356,240 L 356,241 L 355,241 L 355,242 L 356,242 L 356,243 L 355,243 L 355,244 L 355,245 L 354,245 L 354,246 L 354,247 L 355,247 L 355,248 L 356,248 L 355,248 L 355,249 L 355,250 L 355,251 L 356,252 L 355,252 L 356,253 L 355,253 L 355,254 L 355,255 L 355,256 L 356,256 L 356,257 L 356,258 L 356,259 L 356,260 L 355,260 L 355,261 L 355,262 L 356,262 L 356,263 L 356,264 L 356,265 L 356,264 L 357,264 L 357,265 L 356,265 L 357,265 L 358,265 L 358,266 L 357,266 L 357,267 L 356,267 L 356,268 L 357,268 L 356,268 L 356,269 L 356,270 L 357,270 L 356,270 L 356,271 L 356,272 L 355,272 L 355,273 L 355,274 L 354,274 L 354,275 L 354,276 L 354,277 L 353,277 L 353,278 L 353,279 L 353,280 L 353,281 L 353,282 L 353,283 L 352,283 L 352,284 L 351,284 L 351,285 L 351,286 L 351,287 L 351,288 L 351,289 L 351,290 L 350,290 L 350,291 L 350,292 L 350,293 L 349,293 L 350,293 L 349,293 L 349,294 L 350,294 L 349,294 L 349,295 L 348,295 L 347,295 L 347,296 L 347,295 L 346,295 L 345,295 L 344,296 L 343,296 L 343,297 L 342,297 L 342,298 L 341,298 L 341,299 L 342,299 L 341,299 L 341,300 L 341,301 L 341,302 L 340,302 L 341,302 L 341,303 L 340,303 L 340,302 L 340,303 L 340,304 L 340,305 L 339,305 L 339,306 L 339,307 L 338,307 L 338,306 L 337,306 L 337,307 L 336,307 L 335,307 L 335,308 L 335,307 L 334,307 L 333,307 L 333,308 L 333,309 L 332,309 L 332,310 L 331,310 L 331,311 L 330,311 L 329,311 L 329,312 L 329,313 L 329,312 L 329,313 L 328,313 L 327,313 L 327,314 L 327,315 L 328,315 L 328,316 L 328,317 L 327,317 L 328,317 L 327,317 L 327,318 L 326,318 L 327,318 L 326,318 L 326,319 L 325,319 L 325,320 L 324,320 L 324,321 L 323,321 L 323,322 L 322,322 L 323,322 L 322,322 L 322,323 L 322,324 L 321,324 L 322,324 L 321,324 L 321,325 L 321,326 L 320,326 L 320,327 L 320,328 L 320,329 L 320,330 L 319,330 L 320,330 L 319,330 L 320,330 L 319,330 L 320,330 L 320,331 L 319,331 L 320,331 L 319,331 L 319,332 L 320,332 L 319,332 L 320,332 L 319,332 L 319,333 L 320,333 L 320,334 L 321,334 L 321,335 L 321,336 L 322,336 L 322,337 L 321,337 L 320,337 L 319,337 L 318,337 L 317,337 L 316,337 L 315,337 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 314,336 L 314,337 L 313,337 L 314,337 L 313,337 L 312,337 L 312,336 L 312,337 L 312,336 L 311,336 L 310,336 L 310,335 L 310,334 L 310,333 L 311,333 L 311,332 L 312,332 L 313,332 L 313,330 L 313,327 L 313,326 L 312,326 L 312,327 L 311,327 L 311,328 L 310,328 L 310,329 L 309,329 L 309,330 L 308,330 L 308,331 L 308,332 L 308,331 L 307,331 L 307,332 L 307,331 L 307,332 L 307,331 L 306,331 L 306,332 L 305,332 L 304,332 L 304,331 L 303,331 L 303,330 L 302,330 L 301,330 L 301,329 L 301,330 L 301,329 L 301,330 L 300,330 L 299,330 L 298,330 L 298,331 L 297,331 L 297,332 L 297,331 L 297,332 "},go:{name:"Goiás",path:"M 362,259 L 362,260 L 362,261 L 361,261 L 362,261 L 361,261 L 361,262 L 361,263 L 360,263 L 361,263 L 360,263 L 361,263 L 361,264 L 360,264 L 361,264 L 360,264 L 360,265 L 361,265 L 362,265 L 362,266 L 362,265 L 362,266 L 363,266 L 364,266 L 365,266 L 365,267 L 366,267 L 367,267 L 368,268 L 369,268 L 372,270 L 373,271 L 374,271 L 374,270 L 374,269 L 374,268 L 374,267 L 375,267 L 375,266 L 376,266 L 376,265 L 377,265 L 377,264 L 377,265 L 378,265 L 377,265 L 377,266 L 378,266 L 379,266 L 379,267 L 380,265 L 381,265 L 381,266 L 382,266 L 382,267 L 383,267 L 384,267 L 384,268 L 384,269 L 384,268 L 384,269 L 384,270 L 384,271 L 384,272 L 385,272 L 385,271 L 385,270 L 385,269 L 386,269 L 386,270 L 386,271 L 387,271 L 388,271 L 388,270 L 388,271 L 388,270 L 389,270 L 390,270 L 390,269 L 390,270 L 390,271 L 390,272 L 390,271 L 390,272 L 390,271 L 390,272 L 390,271 L 391,271 L 392,271 L 393,271 L 393,272 L 393,271 L 393,272 L 393,271 L 394,271 L 394,272 L 395,272 L 396,272 L 397,274 L 397,273 L 398,273 L 398,272 L 397,272 L 397,271 L 397,270 L 397,269 L 398,269 L 399,269 L 398,269 L 399,269 L 399,270 L 400,270 L 400,271 L 401,271 L 401,270 L 401,271 L 402,271 L 403,271 L 403,270 L 404,270 L 405,270 L 404,270 L 405,270 L 405,269 L 406,269 L 407,269 L 407,268 L 408,268 L 409,268 L 409,267 L 410,267 L 411,267 L 413,267 L 414,267 L 414,266 L 414,265 L 415,265 L 415,266 L 415,267 L 416,267 L 417,267 L 418,267 L 418,266 L 419,266 L 419,267 L 418,267 L 417,267 L 416,267 L 416,268 L 416,269 L 416,270 L 416,271 L 416,272 L 417,272 L 418,272 L 418,271 L 419,271 L 420,271 L 420,272 L 419,272 L 418,272 L 418,273 L 417,273 L 417,274 L 417,275 L 418,275 L 418,276 L 417,276 L 417,277 L 417,278 L 416,278 L 417,278 L 417,279 L 417,280 L 417,281 L 417,282 L 417,283 L 418,283 L 419,283 L 419,284 L 420,284 L 419,284 L 420,284 L 420,285 L 421,285 L 421,286 L 422,286 L 421,286 L 421,287 L 420,287 L 420,288 L 421,289 L 420,289 L 421,289 L 420,289 L 420,290 L 421,290 L 420,290 L 420,291 L 420,292 L 420,293 L 420,294 L 419,294 L 418,294 L 417,294 L 416,294 L 416,293 L 416,292 L 415,292 L 414,292 L 414,291 L 413,291 L 413,292 L 412,292 L 413,292 L 413,293 L 413,294 L 413,295 L 413,296 L 412,296 L 411,296 L 410,296 L 410,295 L 409,295 L 408,295 L 408,296 L 407,296 L 408,296 L 408,297 L 407,298 L 407,299 L 408,299 L 408,298 L 408,299 L 409,299 L 409,300 L 408,300 L 408,301 L 407,301 L 407,302 L 407,303 L 408,303 L 408,304 L 408,305 L 409,305 L 409,306 L 409,307 L 408,307 L 407,308 L 406,308 L 405,308 L 404,308 L 404,309 L 403,309 L 404,309 L 403,309 L 404,309 L 403,309 L 402,309 L 402,310 L 402,309 L 401,309 L 401,308 L 401,307 L 401,306 L 401,307 L 401,306 L 402,306 L 402,305 L 402,304 L 402,303 L 401,303 L 401,302 L 399,302 L 398,302 L 397,302 L 392,302 L 391,302 L 390,302 L 390,303 L 390,304 L 389,304 L 389,305 L 390,305 L 389,305 L 390,305 L 389,305 L 390,305 L 390,306 L 389,306 L 389,307 L 389,308 L 389,309 L 389,310 L 391,310 L 392,310 L 393,310 L 395,310 L 397,310 L 398,310 L 399,310 L 401,310 L 402,310 L 402,311 L 401,311 L 402,311 L 402,312 L 402,313 L 401,313 L 401,314 L 400,314 L 400,315 L 400,316 L 400,317 L 401,317 L 402,317 L 402,318 L 402,317 L 402,318 L 403,318 L 403,319 L 403,318 L 403,319 L 403,320 L 404,320 L 403,320 L 403,321 L 404,320 L 404,321 L 403,321 L 404,321 L 404,322 L 404,323 L 405,323 L 404,323 L 405,323 L 404,323 L 404,324 L 404,323 L 404,324 L 403,324 L 404,324 L 403,324 L 402,324 L 402,325 L 403,325 L 402,325 L 403,325 L 402,325 L 401,325 L 402,325 L 401,325 L 402,325 L 402,326 L 402,325 L 401,325 L 401,326 L 401,325 L 401,326 L 402,326 L 401,326 L 401,327 L 400,327 L 401,327 L 400,327 L 401,327 L 400,327 L 400,328 L 399,328 L 399,327 L 399,328 L 399,329 L 399,330 L 400,330 L 401,330 L 402,330 L 402,331 L 403,331 L 403,332 L 402,332 L 403,332 L 402,332 L 403,332 L 402,332 L 402,333 L 402,334 L 401,334 L 402,334 L 401,334 L 402,334 L 401,334 L 401,335 L 402,335 L 402,336 L 402,337 L 402,338 L 401,338 L 401,339 L 400,339 L 400,340 L 399,340 L 399,339 L 399,340 L 399,339 L 399,340 L 398,340 L 398,341 L 397,341 L 397,342 L 397,341 L 397,342 L 396,342 L 396,343 L 395,343 L 395,342 L 395,343 L 394,343 L 393,344 L 393,343 L 392,343 L 391,343 L 390,343 L 390,342 L 389,342 L 389,341 L 389,342 L 388,342 L 387,342 L 386,342 L 385,342 L 385,341 L 384,341 L 384,342 L 383,342 L 382,342 L 381,342 L 381,341 L 380,341 L 379,341 L 379,342 L 378,342 L 378,343 L 377,343 L 377,342 L 376,342 L 376,343 L 375,343 L 375,344 L 375,345 L 374,345 L 373,345 L 373,346 L 373,345 L 372,345 L 372,344 L 371,344 L 370,344 L 370,345 L 369,345 L 370,345 L 369,345 L 368,345 L 368,346 L 367,346 L 367,345 L 366,345 L 365,345 L 364,345 L 364,346 L 363,346 L 362,346 L 361,346 L 360,346 L 360,347 L 360,348 L 359,348 L 359,349 L 358,349 L 358,350 L 358,351 L 358,352 L 357,352 L 357,353 L 356,353 L 355,353 L 354,353 L 354,354 L 354,355 L 353,355 L 353,356 L 352,356 L 352,357 L 353,357 L 353,358 L 352,357 L 351,357 L 351,356 L 350,356 L 350,355 L 349,355 L 348,355 L 348,354 L 347,354 L 347,355 L 347,354 L 346,354 L 347,354 L 346,354 L 346,353 L 345,353 L 344,353 L 343,353 L 343,352 L 343,353 L 343,352 L 342,353 L 342,352 L 342,353 L 341,353 L 341,352 L 340,352 L 339,352 L 339,351 L 339,352 L 339,351 L 338,351 L 338,350 L 337,350 L 338,350 L 337,350 L 336,350 L 335,350 L 335,349 L 334,349 L 335,349 L 334,349 L 333,348 L 332,348 L 331,348 L 331,347 L 331,346 L 330,346 L 329,346 L 328,346 L 327,346 L 326,346 L 325,346 L 324,346 L 324,345 L 323,345 L 323,344 L 324,344 L 324,343 L 325,343 L 326,343 L 326,342 L 326,341 L 325,341 L 324,341 L 323,341 L 323,342 L 322,342 L 322,341 L 321,341 L 322,341 L 321,341 L 321,340 L 321,339 L 321,338 L 322,338 L 322,337 L 322,336 L 321,336 L 321,335 L 321,334 L 320,334 L 320,333 L 319,333 L 319,332 L 320,332 L 319,332 L 320,332 L 319,332 L 319,331 L 320,331 L 319,331 L 320,331 L 320,330 L 319,330 L 320,330 L 319,330 L 320,330 L 319,330 L 320,330 L 320,329 L 320,328 L 320,327 L 320,326 L 321,326 L 321,325 L 321,324 L 322,324 L 321,324 L 322,324 L 322,323 L 322,322 L 323,322 L 322,322 L 323,322 L 323,321 L 324,321 L 324,320 L 325,320 L 325,319 L 326,319 L 326,318 L 327,318 L 326,318 L 327,318 L 327,317 L 328,317 L 327,317 L 328,317 L 328,316 L 328,315 L 327,315 L 327,314 L 327,313 L 328,313 L 329,313 L 329,312 L 329,313 L 329,312 L 329,311 L 330,311 L 331,311 L 331,310 L 332,310 L 332,309 L 333,309 L 333,308 L 333,307 L 334,307 L 335,307 L 335,308 L 335,307 L 336,307 L 337,307 L 337,306 L 338,306 L 338,307 L 339,307 L 339,306 L 339,305 L 340,305 L 340,304 L 340,303 L 340,302 L 340,303 L 341,303 L 341,302 L 340,302 L 341,302 L 341,301 L 341,300 L 341,299 L 342,299 L 341,299 L 341,298 L 342,298 L 342,297 L 343,297 L 343,296 L 344,296 L 345,295 L 346,295 L 347,295 L 347,296 L 347,295 L 348,295 L 349,295 L 349,294 L 350,294 L 349,294 L 349,293 L 350,293 L 349,293 L 350,293 L 350,292 L 350,291 L 350,290 L 351,290 L 351,289 L 351,288 L 351,287 L 351,286 L 351,285 L 351,284 L 352,284 L 352,283 L 353,283 L 353,282 L 353,281 L 353,280 L 353,279 L 353,278 L 353,277 L 354,277 L 354,276 L 354,275 L 354,274 L 355,274 L 355,273 L 355,272 L 356,272 L 356,271 L 356,270 L 357,270 L 356,270 L 356,269 L 356,268 L 357,268 L 356,268 L 356,267 L 357,267 L 357,266 L 358,266 L 358,265 L 358,264 L 358,263 L 359,263 L 359,262 L 359,261 L 360,261 L 360,260 L 360,261 L 360,260 L 361,260 L 362,260 L 362,259 L 363,259 L 362,259 "},df:{name:"Distrito Federal",path:"M 398,302 L 399,302 L 400,302 L 401,302 L 401,303 L 402,303 L 402,304 L 402,305 L 402,306 L 401,306 L 401,307 L 401,306 L 401,307 L 401,308 L 401,309 L 402,309 L 402,310 L 402,309 L 402,310 L 401,310 L 400,310 L 399,310 L 398,310 L 397,310 L 396,310 L 395,310 L 394,310 L 393,310 L 392,310 L 391,310 L 390,310 L 389,310 L 389,309 L 389,308 L 389,307 L 389,306 L 390,306 L 390,305 L 389,305 L 390,305 L 389,305 L 390,305 L 389,305 L 389,304 L 390,304 L 390,303 L 390,302 L 391,302 L 392,302 L 393,302 L 395,302 L 396,302 L 397,302 L 398,302 "}}}),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.fn.mousewheel)}(function(t,e,i,n){"use strict";var r=function(e,i){var n=this;n.container=e,n.$container=t(e),n.options=n.extendDefaultOptions(i),n.zoomTO=0,n.zoomCenterX=0,n.zoomCenterY=0,n.previousPinchDist=0,n.zoomData={zoomLevel:0,zoomX:0,zoomY:0,panX:0,panY:0},n.currentViewBox={x:0,y:0,w:0,h:0},n.panning=!1,n.zoomAnimID=null,n.zoomAnimStartTime=null,n.zoomAnimCVBTarget=null,n.$map=t("."+n.options.map.cssClass,n.container),n.initialMapHTMLContent=n.$map.html(),n.$tooltip={},n.paper={},n.areas={},n.plots={},n.links={},n.legends={},n.mapConf={},n.customEventHandlers={},n.init()};return r.prototype={MouseOverFilteringTO:120,panningFilteringTO:150,panningEndFilteringTO:50,zoomFilteringTO:150,resizeFilteringTO:150,init:function(){var i=this;if(""===i.options.map.cssClass||0===t("."+i.options.map.cssClass,i.container).length)throw new Error("The map class `"+i.options.map.cssClass+"` doesn't exists");if(i.$tooltip=t("<div>").addClass(i.options.map.tooltip.cssClass).css("display","none"),i.$map.empty().append(i.$tooltip),t.mapael&&t.mapael.maps&&t.mapael.maps[i.options.map.name])i.mapConf=t.mapael.maps[i.options.map.name];else{if(!(t.fn.mapael&&t.fn.mapael.maps&&t.fn.mapael.maps[i.options.map.name]))throw new Error("Unknown map '"+i.options.map.name+"'");i.mapConf=t.fn.mapael.maps[i.options.map.name],window.console&&window.console.warn&&window.console.warn("Extending $.fn.mapael is deprecated (map '"+i.options.map.name+"')")}if(i.paper=new e(i.$map[0],i.mapConf.width,i.mapConf.height),!0===i.isRaphaelBBoxBugPresent())throw i.destroy(),new Error("Can't get boundary box for text (is your container hidden? See #135)");i.$container.addClass("mapael"),i.options.map.tooltip.css&&i.$tooltip.css(i.options.map.tooltip.css),i.setViewBox(0,0,i.mapConf.width,i.mapConf.height),i.options.map.width?i.paper.setSize(i.options.map.width,i.mapConf.height*(i.options.map.width/i.mapConf.width)):i.initResponsiveSize(),t.each(i.mapConf.elems,function(t){i.areas[t]={},i.areas[t].options=i.getElemOptions(i.options.map.defaultArea,i.options.areas[t]?i.options.areas[t]:{},i.options.legend.area),i.areas[t].mapElem=i.paper.path(i.mapConf.elems[t])}),i.options.map.beforeInit&&i.options.map.beforeInit(i.$container,i.paper,i.options),t.each(i.mapConf.elems,function(t){i.initElem(t,"area",i.areas[t])}),i.links=i.drawLinksCollection(i.options.links),t.each(i.options.plots,function(t){i.plots[t]=i.drawPlot(t)}),i.$container.on("zoom.mapael",function(t,e){i.onZoomEvent(t,e)}),i.options.map.zoom.enabled&&i.initZoom(i.mapConf.width,i.mapConf.height,i.options.map.zoom),i.options.map.zoom.init!==n&&(i.options.map.zoom.init.animDuration===n&&(i.options.map.zoom.init.animDuration=0),i.$container.trigger("zoom",i.options.map.zoom.init)),i.createLegends("area",i.areas,1),i.createLegends("plot",i.plots,i.paper.width/i.mapConf.width),i.$container.on("update.mapael",function(t,e){i.onUpdateEvent(t,e)}),i.$container.on("showElementsInRange.mapael",function(t,e){i.onShowElementsInRange(t,e)}),i.initDelegatedMapEvents(),i.initDelegatedCustomEvents(),i.options.map.afterInit&&i.options.map.afterInit(i.$container,i.paper,i.areas,i.plots,i.options),t(i.paper.desc).append(" and Mapael "+i.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(i){t.each(e.legends[i],function(t){var n=e.legends[i][t];n.container.empty(),n.container.html(n.initialHTMLContent)})}),e.$container.removeClass("mapael"),e.$container.removeData("mapael"),e.container=n,e.$container=n,e.options=n,e.paper=n,e.$map=n,e.$tooltip=n,e.mapConf=n,e.areas=n,e.plots=n,e.links=n,e.customEventHandlers=n},initResponsiveSize:function(){var e=this,i=null,n=function(t){var i=e.$map.width();if(e.paper.width!==i){var n=i/e.mapConf.width;e.paper.setSize(i,e.mapConf.height*n),!0!==t&&e.options.legend.redrawOnResize&&e.createLegends("plot",e.plots,n)}};e.onResizeEvent=function(){clearTimeout(i),i=setTimeout(function(){n()},e.resizeFilteringTO)},t(window).on("resize.mapael",e.onResizeEvent),n(!0)},extendDefaultOptions:function(e){return e=t.extend(!0,{},r.prototype.defaultOptions,e),t.each(["area","plot"],function(i,n){if(t.isArray(e.legend[n]))for(var o=0;o<e.legend[n].length;++o)e.legend[n][o]=t.extend(!0,{},r.prototype.legendDefaultOptions[n],e.legend[n][o]);else e.legend[n]=t.extend(!0,{},r.prototype.legendDefaultOptions[n],e.legend[n])}),e},initDelegatedMapEvents:function(){var e,i,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 i=this;clearTimeout(e),e=setTimeout(function(){var e=t(i),a=e.attr("data-id"),s=e.attr("data-type");if(o[s]!==n)r.elemEnter(o[s][a]);else if("legend-elem"===s||"legend-label"===s){var l=e.attr("data-legend-id"),c=e.attr("data-legend-type");r.elemEnter(r.legends[c][l].elems[a])}},r.MouseOverFilteringTO)}),r.$container.on("mousemove.mapael","[data-id]",function(e){var a=this;clearTimeout(i),i=setTimeout(function(){var i=t(a),s=i.attr("data-id"),l=i.attr("data-type");o[l]!==n&&r.elemHover(o[l][s],e)},0)}),r.$container.on("mouseout.mapael","[data-id]",function(){clearTimeout(e),clearTimeout(i);var a=t(this),s=a.attr("data-id"),l=a.attr("data-type");if(o[l]!==n)r.elemOut(o[l][s]);else if("legend-elem"===l||"legend-label"===l){var c=a.attr("data-legend-id"),u=a.attr("data-legend-type");r.elemOut(r.legends[u][c].elems[s])}}),r.$container.on("click.mapael","[data-id]",function(e,i){var a=t(this),s=a.attr("data-id"),l=a.attr("data-type");if(o[l]!==n)r.elemClick(o[l][s]);else if("legend-elem"===l||"legend-label"===l){var c=a.attr("data-legend-id"),u=a.attr("data-legend-type");r.handleClickOnLegendElem(r.legends[u][c].elems[s],s,c,u,i)}})},initDelegatedCustomEvents:function(){var e=this;t.each(e.customEventHandlers,function(i){var r=i+".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[i][s]!==n&&e.customEventHandlers[i][s][a]!==n){var l=e.customEventHandlers[i][s][a];l.options.eventHandlers[i](r,a,l.mapElem,l.textElem,l.options)}})})},initElem:function(e,i,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":i}),r.options.cssClass!==n&&a.addClass(r.options.cssClass),r.options.text&&r.options.text.content!==n){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":i+"-text"})}r.options.eventHandlers&&o.setEventHandlers(e,i,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,i,r){var o=this,a=!1,s=0,l=0,c={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,i){if(c[e]===n)throw new Error("Unknown zoom button '"+e+"'");var r=t("<div>").addClass(i.cssClass).html(i.content).attr("title",i.title);r.on("click.mapael",c[e]),o.$map.append(r)}),o.options.map.zoom.mousewheel&&o.$map.on("mousewheel.mapael",function(t){var e=t.deltaY>0?1:-1,i=o.mapPagePositionToXY(t.pageX,t.pageY);o.$container.trigger("zoom",{fixedCenter:!0,level:o.zoomData.zoomLevel+e,x:i.x,y:i.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,i=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 n=o.mapPagePositionToXY(o.zoomCenterX,o.zoomCenterY);i=(e-o.previousPinchDist)/Math.abs(e-o.previousPinchDist),o.$container.trigger("zoom",{fixedCenter:!0,level:o.zoomData.zoomLevel+i,x:n.x,y:n.y}),o.previousPinchDist=e}return!1}})),o.$map.on("dragstart",function(){return!1});var u=null,h=null;t("body").on("mouseup.mapael"+(r.touch?" touchend.mapael":""),function(){a=!1,clearTimeout(u),clearTimeout(h),u=setTimeout(function(){o.panning=!1},o.panningEndFilteringTO)}),o.$map.on("mousedown.mapael"+(r.touch?" touchstart.mapael":""),function(t){clearTimeout(u),clearTimeout(h),t.pageX!==n?(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(c){var d=o.zoomData.zoomLevel,f=0,p=0;if(clearTimeout(u),clearTimeout(h),c.pageX!==n?(f=c.pageX,p=c.pageY):1===c.originalEvent.touches.length?(f=c.originalEvent.touches[0].pageX,p=c.originalEvent.touches[0].pageY):a=!1,a&&0!==d){var g=(s-f)/(1+d*r.step)*(e/o.paper.width),m=(l-p)/(1+d*r.step)*(i/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),i-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),h=setTimeout(function(){o.$map.trigger("afterPanning",{x1:v,y1:y,x2:v+o.currentViewBox.w,y2:y+o.currentViewBox.h})},o.panningFilteringTO),s=f,l=p,o.panning=!0),!1}})},mapPagePositionToXY:function(t,e){var i=this,n=i.$map.offset(),r=i.options.map.width?i.mapConf.width/i.options.map.width:i.mapConf.width/i.$map.width(),o=1/(1+i.zoomData.zoomLevel*i.options.map.zoom.step);return{x:o*r*(t-n.left)+i.zoomData.panX,y:o*r*(e-n.top)+i.zoomData.panY}},onZoomEvent:function(e,i){var r,o,a,s,l,c=this,u=c.zoomData.zoomLevel,h=1+c.zoomData.zoomLevel*c.options.map.zoom.step,d=i.animDuration!==n?i.animDuration:c.options.map.zoom.animDuration;if(i.area!==n){if(c.areas[i.area]===n)throw new Error("Unknown area '"+i.area+"'");var f=i.areaMargin!==n?i.areaMargin:10,p=c.areas[i.area].mapElem.getBBox(),g=p.width+2*f,m=p.height+2*f;i.x=p.cx,i.y=p.cy,u=Math.min(Math.floor((c.mapConf.width/g-1)/c.options.map.zoom.step),Math.floor((c.mapConf.height/m-1)/c.options.map.zoom.step))}else if(i.level!==n&&(u="string"==typeof i.level?"+"===i.level.slice(0,1)||"-"===i.level.slice(0,1)?c.zoomData.zoomLevel+parseInt(i.level,10):parseInt(i.level,10):i.level<0?c.zoomData.zoomLevel+i.level:i.level),i.plot!==n){if(c.plots[i.plot]===n)throw new Error("Unknown plot '"+i.plot+"'");i.x=c.plots[i.plot].coords.x,i.y=c.plots[i.plot].coords.y}else{if(i.latitude!==n&&i.longitude!==n){var v=c.mapConf.getCoords(i.latitude,i.longitude);i.x=v.x,i.y=v.y}i.x===n&&(i.x=c.currentViewBox.x+c.currentViewBox.w/2),i.y===n&&(i.y=c.currentViewBox.y+c.currentViewBox.h/2)}l=1+(u=Math.min(Math.max(u,c.options.map.zoom.minLevel),c.options.map.zoom.maxLevel))*c.options.map.zoom.step,a=c.mapConf.width/l,s=c.mapConf.height/l,0===u?(r=0,o=0):(i.fixedCenter!==n&&!0===i.fixedCenter?(r=c.zoomData.panX+(i.x-c.zoomData.panX)*(l-h)/l,o=c.zoomData.panY+(i.y-c.zoomData.panY)*(l-h)/l):(r=i.x-a/2,o=i.y-s/2),r=Math.min(Math.max(0,r),c.mapConf.width-a),o=Math.min(Math.max(0,o),c.mapConf.height-s)),l===h&&r===c.zoomData.panX&&o===c.zoomData.panY||(d>0?c.animateViewBox(r,o,a,s,d,c.options.map.zoom.animEasing):(c.setViewBox(r,o,a,s),clearTimeout(c.zoomTO),c.zoomTO=setTimeout(function(){c.$map.trigger("afterZoom",{x1:r,y1:o,x2:r+a,y2:o+s})},c.zoomFilteringTO)),t.extend(c.zoomData,{zoomLevel:u,panX:r,panY:o,zoomX:r+a/2,zoomY:o+s/2}))},onShowElementsInRange:function(t,e){var i=this;e.animDuration===n&&(e.animDuration=0),e.hiddenOpacity===n&&(e.hiddenOpacity=.3),e.ranges&&e.ranges.area&&i.showElemByRange(e.ranges.area,i.areas,e.hiddenOpacity,e.animDuration),e.ranges&&e.ranges.plot&&i.showElemByRange(e.ranges.plot,i.plots,e.hiddenOpacity,e.animDuration),e.ranges&&e.ranges.link&&i.showElemByRange(e.ranges.link,i.links,e.hiddenOpacity,e.animDuration),e.afterShowRange&&e.afterShowRange()},showElemByRange:function(e,i,r,o){var a=this,s={};e.min===n&&e.max===n||(e={0:e}),t.each(e,function(o){var a=e[o];if(a.min===n&&a.max===n)return!0;t.each(i,function(t){var e=i[t].options.value;if("object"!=typeof e&&(e=[e]),e[o]===n)return!0;a.min!==n&&e[o]<a.min||a.max!==n&&e[o]>a.max?s[t]=r:s[t]=1})}),t.each(s,function(t){a.setElementOpacity(i[t],s[t],o)})},setElementOpacity:function(t,e,i){e>0&&(t.mapElem.show(),t.textElem&&t.textElem.show()),this.animate(t.mapElem,{opacity:e},i,function(){0===e&&t.mapElem.hide()}),this.animate(t.textElem,{opacity:e},i,function(){0===e&&t.textElem.hide()})},onUpdateEvent:function(e,i){var r=this;if("object"==typeof i){var o=0,a=i.animDuration?i.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!==n?t.mapElem.originalAttrs.opacity:1,a)};if("object"==typeof i.mapOptions&&(!0===i.replaceOptions?r.options=r.extendDefaultOptions(i.mapOptions):t.extend(!0,r.options,i.mapOptions),i.mapOptions.areas===n&&i.mapOptions.plots===n&&i.mapOptions.legend===n||t("[data-type='legend-elem']",r.$container).each(function(e,i){"1"===t(i).attr("data-hidden")&&t(i).trigger("click",{hideOtherElems:!1,animDuration:a})})),"object"==typeof i.deletePlotKeys)for(;o<i.deletePlotKeys.length;o++)r.plots[i.deletePlotKeys[o]]!==n&&(s(r.plots[i.deletePlotKeys[o]]),delete r.plots[i.deletePlotKeys[o]]);else"all"===i.deletePlotKeys&&(t.each(r.plots,function(t,e){s(e)}),r.plots={});if("object"==typeof i.deleteLinkKeys)for(o=0;o<i.deleteLinkKeys.length;o++)r.links[i.deleteLinkKeys[o]]!==n&&(s(r.links[i.deleteLinkKeys[o]]),delete r.links[i.deleteLinkKeys[o]]);else"all"===i.deleteLinkKeys&&(t.each(r.links,function(t,e){s(e)}),r.links={});if("object"==typeof i.newPlots&&t.each(i.newPlots,function(t){r.plots[t]===n&&(r.options.plots[t]=i.newPlots[t],r.plots[t]=r.drawPlot(t),a>0&&l(r.plots[t]))}),"object"==typeof i.newLinks){var c=r.drawLinksCollection(i.newLinks);t.extend(r.links,c),t.extend(r.options.links,i.newLinks),a>0&&t.each(c,function(t){l(c[t])})}if(t.each(r.areas,function(t){("object"==typeof i.mapOptions&&("object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultArea||"object"==typeof i.mapOptions.areas&&"object"==typeof i.mapOptions.areas[t]||"object"==typeof i.mapOptions.legend&&"object"==typeof i.mapOptions.legend.area)||!0===i.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 i.mapOptions&&("object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultPlot||"object"==typeof i.mapOptions.plots&&"object"==typeof i.mapOptions.plots[t]||"object"==typeof i.mapOptions.legend&&"object"==typeof i.mapOptions.legend.plot)||!0===i.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 i.mapOptions&&("object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultLink||"object"==typeof i.mapOptions.links&&"object"==typeof i.mapOptions.links[t])||!0===i.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))}),i.mapOptions&&("object"==typeof i.mapOptions.legend||"object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultArea||"object"==typeof i.mapOptions.map&&"object"==typeof i.mapOptions.map.defaultPlot)&&(t("[data-type='legend-elem']",r.$container).each(function(e,i){"1"===t(i).attr("data-hidden")&&t(i).trigger("click",{hideOtherElems:!1,animDuration:a})}),r.createLegends("area",r.areas,1),r.options.map.width?r.createLegends("plot",r.plots,r.options.map.width/r.mapConf.width):r.createLegends("plot",r.plots,r.$map.width()/r.mapConf.width)),"object"==typeof i.setLegendElemsState)t.each(i.setLegendElemsState,function(e,i){var o=r.$container.find("."+e)[0];o!==n&&t("[data-type='legend-elem']",o).each(function(e,n){("0"===t(n).attr("data-hidden")&&"hide"===i||"1"===t(n).attr("data-hidden")&&"show"===i)&&t(n).trigger("click",{hideOtherElems:!1,animDuration:a})})});else{var u="hide"===i.setLegendElemsState?"hide":"show";t("[data-type='legend-elem']",r.$container).each(function(e,i){("0"===t(i).attr("data-hidden")&&"hide"===u||"1"===t(i).attr("data-hidden")&&"show"===u)&&t(i).trigger("click",{hideOtherElems:!1,animDuration:a})})}r.initDelegatedCustomEvents(),i.afterUpdate&&i.afterUpdate(r.$container,r.paper,r.areas,r.plots,r.options,r.links)}},setPlotCoords:function(t){var e=this;if(t.options.x!==n&&t.options.y!==n)t.coords={x:t.options.x,y:t.options.y};else if(t.options.plotsOn!==n&&e.areas[t.options.plotsOn]!==n){var i=e.areas[t.options.plotsOn].mapElem.getBBox();t.coords={x:i.cx,y:i.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===n&&(t.options.attrs.transform=""),t.mapElem.originalBBox===n&&(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 i=this,r={},o={},a={},s={},l={};return t.each(e,function(t){var c=i.getElemOptions(i.options.map.defaultLink,e[t],{});if(r="string"==typeof e[t].between[0]?i.options.plots[e[t].between[0]]:e[t].between[0],o="string"==typeof e[t].between[1]?i.options.plots[e[t].between[1]]:e[t].between[1],r.plotsOn!==n&&i.areas[r.plotsOn]!==n){var u=i.areas[r.plotsOn].mapElem.getBBox();a={x:u.cx,y:u.cy}}else r.latitude!==n&&r.longitude!==n?a=i.mapConf.getCoords(r.latitude,r.longitude):(a.x=r.x,a.y=r.y);if(o.plotsOn!==n&&i.areas[o.plotsOn]!==n){var h=i.areas[o.plotsOn].mapElem.getBBox();s={x:h.cx,y:h.cy}}else o.latitude!==n&&o.longitude!==n?s=i.mapConf.getCoords(o.latitude,o.longitude):(s.x=o.x,s.y=o.y);l[t]=i.drawLink(t,a.x,a.y,s.x,s.y,c)}),l},drawLink:function(t,e,i,n,r,o){var a={options:o},s=(e+n)/2,l=(i+r)/2,c=-1/((r-i)/(n-e)),u=l-c*s,h=Math.sqrt((n-e)*(n-e)+(r-i)*(r-i)),d=1+c*c,f=-2*s+2*c*u-2*c*l,p=f*f-4*d*(s*s+u*u-u*l-l*u+l*l-o.factor*h*(o.factor*h)),g=0,m=0;return o.factor>0?m=c*(g=(-f+Math.sqrt(p))/(2*d))+u:m=c*(g=(-f-Math.sqrt(p))/(2*d))+u,a.mapElem=this.paper.path("m "+e+","+i+" C "+g+","+m+" "+n+","+r+" "+n+","+r),this.initElem(t,"link",a),a},isAttrsChanged:function(t,e){for(var i in e)if(e.hasOwnProperty(i)&&void 0===t[i]||e[i]!==t[i])return!0;return!1},updateElem:function(e,i){var r,o,a,s=this;if(!0===e.options.toFront&&e.mapElem.toFront(),e.options.href!==n?(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,i)}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,i),e.options.cssClass!==n&&t(e.mapElem.node).removeClass().addClass(e.options.cssClass)},drawPlot:function(t){var e=this,i={};return i.options=e.getElemOptions(e.options.map.defaultPlot,e.options.plots[t]?e.options.plots[t]:{},e.options.legend.plot),e.setPlotCoords(i),"svg"===i.options.type&&(i.mapElem=e.paper.path(i.options.path)),e.setPlotAttributes(i),"square"===i.options.type?i.mapElem=e.paper.rect(i.options.attrs.x,i.options.attrs.y,i.options.attrs.width,i.options.attrs.height):"image"===i.options.type?i.mapElem=e.paper.image(i.options.attrs.src,i.options.attrs.x,i.options.attrs.y,i.options.attrs.width,i.options.attrs.height):"svg"===i.options.type||(i.mapElem=e.paper.circle(i.options.attrs.x,i.options.attrs.y,i.options.attrs.r)),e.initElem(t,"plot",i),i},setEventHandlers:function(e,i,r){var o=this;t.each(r.options.eventHandlers,function(t){o.customEventHandlers[t]===n&&(o.customEventHandlers[t]={}),o.customEventHandlers[t][i]===n&&(o.customEventHandlers[t][i]={}),o.customEventHandlers[t][i][e]=r})},drawLegend:function(i,r,o,a,s){var l=this,c={},u={},h=0,d=0,f=null,p=null,g={},m=0,v=0,y=0,b=0,L=[],x=(c=t("."+i.cssClass,l.$container)).html();for(c.empty(),u=new e(c.get(0)),t(u.canvas).attr({"data-legend-type":r,"data-legend-id":s}),d=h=0,i.title&&""!==i.title&&(p=(f=u.text(i.marginLeftTitle,0,i.title).attr(i.titleAttrs)).getBBox(),f.attr({y:.5*p.height}),h=i.marginLeftTitle+p.width,d+=i.marginBottomTitle+p.height),m=0;m<i.slices.length;++m){var w=0;L[m]=t.extend(!0,{},"plot"===r?l.options.map.defaultPlot:l.options.map.defaultArea,i.slices[m]),i.slices[m].legendSpecificAttrs===n&&(i.slices[m].legendSpecificAttrs={}),t.extend(!0,L[m].attrs,i.slices[m].legendSpecificAttrs),"area"===r?(L[m].attrs.width===n&&(L[m].attrs.width=30),L[m].attrs.height===n&&(L[m].attrs.height=20)):"square"===L[m].type?(L[m].attrs.width===n&&(L[m].attrs.width=L[m].size),L[m].attrs.height===n&&(L[m].attrs.height=L[m].size)):"image"===L[m].type||"svg"===L[m].type?(L[m].attrs.width===n&&(L[m].attrs.width=L[m].width),L[m].attrs.height===n&&(L[m].attrs.height=L[m].height)):L[m].attrs.r===n&&(L[m].attrs.r=L[m].size/2),w=i.marginBottomTitle,f&&(w+=p.height),"plot"!==r||L[m].type!==n&&"circle"!==L[m].type?w+=a*L[m].attrs.height/2:w+=a*L[m].attrs.r,b=Math.max(b,w)}for("horizontal"===i.mode&&(h=i.marginLeft),m=0;m<L.length;++m){var _={},S={},C={};if(L[m].display===n||!0===L[m].display){if("area"===r?("horizontal"===i.mode?(v=h+i.marginLeft,y=b-.5*a*L[m].attrs.height):(v=i.marginLeft,y=d),_=u.rect(v,y,a*L[m].attrs.width,a*L[m].attrs.height)):"square"===L[m].type?("horizontal"===i.mode?(v=h+i.marginLeft,y=b-.5*a*L[m].attrs.height):(v=i.marginLeft,y=d),_=u.rect(v,y,a*L[m].attrs.width,a*L[m].attrs.height)):"image"===L[m].type||"svg"===L[m].type?("horizontal"===i.mode?(v=h+i.marginLeft,y=b-.5*a*L[m].attrs.height):(v=i.marginLeft,y=d),"image"===L[m].type?_=u.image(L[m].url,v,y,a*L[m].attrs.width,a*L[m].attrs.height):(_=u.path(L[m].path),L[m].attrs.transform===n&&(L[m].attrs.transform=""),S=_.getBBox(),L[m].attrs.transform="m"+a*L[m].width/S.width+",0,0,"+a*L[m].height/S.height+","+v+","+y+L[m].attrs.transform)):("horizontal"===i.mode?(v=h+i.marginLeft+a*L[m].attrs.r,y=b):(v=i.marginLeft+a*L[m].attrs.r,y=d+a*L[m].attrs.r),_=u.circle(v,y,a*L[m].attrs.r)),delete L[m].attrs.width,delete L[m].attrs.height,delete L[m].attrs.r,_.attr(L[m].attrs),S=_.getBBox(),"horizontal"===i.mode?(v=h+i.marginLeft+S.width+i.marginLeftLabel,y=b):(v=i.marginLeft+S.width+i.marginLeftLabel,y=d+S.height/2),C=u.text(v,y,L[m].label).attr(i.labelAttrs),"horizontal"===i.mode){var k=i.marginBottom+S.height;h+=i.marginLeft+S.width+i.marginLeftLabel+C.getBBox().width,"image"!==L[m].type&&"area"!==r&&(k+=i.marginBottomTitle),f&&(k+=p.height),d=Math.max(d,k)}else h=Math.max(h,i.marginLeft+S.width+i.marginLeftLabel+C.getBBox().width),d+=i.marginBottom+S.height;t(_.node).attr({"data-legend-id":s,"data-legend-type":r,"data-type":"legend-elem","data-id":m,"data-hidden":0}),t(C.node).attr({"data-legend-id":s,"data-legend-type":r,"data-type":"legend-label","data-id":m,"data-hidden":0}),g[m]={mapElem:_,textElem:C},i.hideElemsOnClick.enabled&&(C.attr({cursor:"pointer"}),_.attr({cursor:"pointer"}),l.setHoverOptions(_,L[m].attrs,L[m].attrs),l.setHoverOptions(C,i.labelAttrs,i.labelAttrsHover),L[m].clicked!==n&&!0===L[m].clicked&&l.handleClickOnLegendElem(g[m],m,s,r,{hideOtherElems:!1}))}}return"SVG"!==e.type&&i.VMLWidth&&(h=i.VMLWidth),u.setSize(h,d),{container:c,initialHTMLContent:x,elems:g}},handleClickOnLegendElem:function(e,i,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 c=e.mapElem,u=e.textElem,h=t(c.node),d=t(u.node),f=s.slices[i],p="area"===o?l.areas:l.plots,g=a.animDuration!==n?a.animDuration:s.hideElemsOnClick.animDuration,m=h.attr("data-hidden"),v="0"===m?{"data-hidden":"1"}:{"data-hidden":"0"};"0"===m?l.animate(u,{opacity:.5},g):l.animate(u,{opacity:1},g),t.each(p,function(e){var i,o=p[e].mapElem.data("hidden-by");o===n&&(o={}),i=t.isArray(p[e].options.value)?p[e].options.value[r]:p[e].options.value,l.getLegendSlice(i,s)===f&&("0"===m?(o[r]=!0,l.setElementOpacity(p[e],s.hideElemsOnClick.opacity,g)):(delete o[r],t.isEmptyObject(o)&&l.setElementOpacity(p[e],p[e].mapElem.originalAttrs.opacity!==n?p[e].mapElem.originalAttrs.opacity:1,g)),p[e].mapElem.data("hidden-by",o))}),h.attr(v),d.attr(v),a.hideOtherElems!==n&&!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")!==i&&e.trigger("click",{hideOtherElems:!1})})},createLegends:function(e,i,n){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,i,n,a))},setHoverOptions:function(i,n,r){"SVG"!==e.type&&delete r.transform,i.attrsHover=r,i.attrsHover.transform?i.originalAttrs=t.extend({transform:"s1"},n):i.originalAttrs=n},elemEnter:function(t){var e=this;if(t!==n){if(t.mapElem!==n&&e.animate(t.mapElem,t.mapElem.attrsHover,t.mapElem.attrsHover.animDuration),t.textElem!==n&&e.animate(t.textElem,t.textElem.attrsHover,t.textElem.attrsHover.animDuration),t.options&&t.options.tooltip!==n){var i="";e.$tooltip.removeClass().addClass(e.options.map.tooltip.cssClass),t.options.tooltip.content!==n&&(i="function"==typeof t.options.tooltip.content?t.options.tooltip.content(t.mapElem):t.options.tooltip.content),t.options.tooltip.cssClass!==n&&e.$tooltip.addClass(t.options.tooltip.cssClass),e.$tooltip.html(i).css("display","block")}t.mapElem===n&&t.textElem===n||e.paper.safari&&e.paper.safari()}},elemHover:function(t,e){var i=this;if(t!==n&&t.options.tooltip!==n){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(i.$map.width()-i.$tooltip.outerWidth()-5,r-i.$map.offset().left+a),top:Math.min(i.$map.height()-i.$tooltip.outerHeight()-5,o-i.$map.offset().top+s)};"object"==typeof t.options.tooltip.overflow&&(!0===t.options.tooltip.overflow.right&&(l.left=r-i.$map.offset().left+10),!0===t.options.tooltip.overflow.bottom&&(l.top=o-i.$map.offset().top+20)),i.$tooltip.css(l)}},elemOut:function(t){var e=this;t!==n&&(t.mapElem!==n&&e.animate(t.mapElem,t.mapElem.originalAttrs,t.mapElem.attrsHover.animDuration),t.textElem!==n&&e.animate(t.textElem,t.textElem.originalAttrs,t.textElem.attrsHover.animDuration),t.options&&t.options.tooltip!==n&&e.$tooltip.css({display:"none",top:-1e3,left:-1e3}),t.mapElem===n&&t.textElem===n||e.paper.safari&&e.paper.safari())},elemClick:function(t){t!==n&&(this.panning||t.options.href===n||window.open(t.options.href,t.options.target))},getElemOptions:function(e,i,r){var o=t.extend(!0,{},e,i);if(o.value!==n)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,i){var n=0,r=0,o="";switch("number"==typeof i&&(i="bottom"===e||"top"===e?{x:0,y:i}:"right"===e||"left"===e?{x:i,y:0}:{x:0,y:0}),e){case"bottom":n=(t.x+t.x2)/2+i.x,r=t.y2+i.y,o="middle";break;case"top":n=(t.x+t.x2)/2+i.x,r=t.y-i.y,o="middle";break;case"left":n=t.x-i.x,r=(t.y+t.y2)/2+i.y,o="end";break;case"right":n=t.x2+i.x,r=(t.y+t.y2)/2+i.y,o="start";break;default:n=(t.x+t.x2)/2+i.x,r=(t.y+t.y2)/2+i.y,o="middle"}return{x:n,y:r,textAnchor:o}},getLegendSlice:function(t,e){for(var i=0;i<e.slices.length;++i)if(e.slices[i].sliceValue!==n&&t===e.slices[i].sliceValue||e.slices[i].sliceValue===n&&(e.slices[i].min===n||t>=e.slices[i].min)&&(e.slices[i].max===n||t<=e.slices[i].max))return e.slices[i];return{}},animateViewBox:function(t,i,n,r,o,a){var s=this,l=s.currentViewBox.x,c=t-l,u=s.currentViewBox.y,h=i-u,d=s.currentViewBox.w,f=n-d,p=s.currentViewBox.h,g=r-p;s.zoomAnimCVBTarget||(s.zoomAnimCVBTarget={x:t,y:i,w:n,h:r});var m=d>n?"in":"out",v=e.easing_formulas[a||"linear"],y=o-2*o/100,b=s.zoomAnimStartTime;s.zoomAnimStartTime=(new Date).getTime();var L=function(){s.cancelAnimationFrame(s.zoomAnimID);var e=(new Date).getTime()-s.zoomAnimStartTime;if(e<y){var a,x,w,_;if(b&&s.zoomAnimCVBTarget&&s.zoomAnimCVBTarget.w!==n){var S=(new Date).getTime()-b,C=v(S/o);a=l+(s.zoomAnimCVBTarget.x-l)*C,x=u+(s.zoomAnimCVBTarget.y-u)*C,w=d+(s.zoomAnimCVBTarget.w-d)*C,_=p+(s.zoomAnimCVBTarget.h-p)*C,c=t-(l=a),h=i-(u=x),f=n-(d=w),g=r-(p=_),s.zoomAnimCVBTarget={x:t,y:i,w:n,h:r}}else{var k=v(e/o);a=l+c*k,x=u+h*k,w=d+f*k,_=p+g*k}"in"===m&&(w>s.currentViewBox.w||w<n)||"out"===m&&(w<s.currentViewBox.w||w>n)||s.setViewBox(a,x,w,_),s.zoomAnimID=s.requestAnimationFrame(L)}else s.zoomAnimStartTime=null,s.zoomAnimCVBTarget=null,s.currentViewBox.w!==n&&s.setViewBox(t,i,n,r),s.$map.trigger("afterZoom",{x1:t,y1:i,x2:t+n,y2:i+r})};L()},requestAnimationFrame:function(t){return this._requestAnimationFrameFn.call(window,t)},cancelAnimationFrame:function(t){this._cancelAnimationFrameFn.call(window,t)},_requestAnimationFrameFn:function(){var t,e=(t=(new Date).getTime(),function(i){var n=(new Date).getTime();if(!(n-t>16))return setTimeout(function(){e(i)},0);t=n,i(n)});return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||e}(),_cancelAnimationFrameFn:window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelAnimationFrame||window.mozCancelRequestAnimationFrame||window.msCancelAnimationFrame||window.msCancelRequestAnimationFrame||window.oCancelAnimationFrame||window.oCancelRequestAnimationFrame||clearTimeout,setViewBox:function(t,e,i,n){var r=this;r.currentViewBox.x=t,r.currentViewBox.y=e,r.currentViewBox.w=i,r.currentViewBox.h=n,r.paper.setViewBox(t,e,i,n,!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,i,r){if(t)if(i>0){for(var o={},a=0;a<this._nonAnimatedAttrs.length;a++){var s=this._nonAnimatedAttrs[a];e[s]!==n&&(o[s]=e[s])}t.attr(o),t.animate(e,i,"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:"&#8226;",title:"Reset zoom"},in:{cssClass:"zoomButton zoomIn",content:"+",title:"Zoom in"},out:{cssClass:"zoomButton zoomOut",content:"&#8722;",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===n&&(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:{world_countries:{width:999.29852,height:392.03476,getCoords:function(t,e){return{x:2.775076875916*e+471.505926315,y:-2.8112860731578*t+235.89691962022}},elems:{PE:"m 246.37,248.26 c 0.32,-1.79 4.23,-4.35 2.73,-1.46 -1.45,2.09 2.59,0.39 3.11,2.75 2.72,-1.13 1.47,-5.5 4.96,-5.95 3.11,-0.83 7.69,-4.81 5.11,-7.43 2.35,-1.19 4.43,3.08 6.14,4.56 0.7,2.08 3.04,2.21 4.97,1.17 2.11,-0.15 5.75,1.18 2.69,3.69 -0.51,0.71 3.29,2.56 0.76,1.93 -3.16,0.08 -7.44,1.58 -7.92,5.32 -0.06,2.05 -3.42,3.58 -1.21,5.52 0.76,1.37 2.13,3 1.77,3.78 2.26,0.16 3.53,3.49 5.91,0.61 2.26,-1.86 -1.32,6.12 2.9,3.61 2.5,1.32 3.37,4.79 2.23,7.29 0.95,2.52 -2.79,6.04 0.3,7.72 -0.57,1.85 -2.55,3 -2.55,4.98 -3.44,2.21 -5.57,-4.41 -9.39,-4.56 -3.34,-1.31 -6.28,-3.43 -8.43,-6.26 0.32,-1.93 -1.53,-4.59 -2.66,-7.02 -2.53,-2.81 -3.15,-7.33 -5.63,-10.49 -0.47,-3 -4.42,-4.05 -5.21,-5.89 1.88,0.13 -1.01,-3.15 -0.55,-3.87 z",BF:"m 456.58,206.27 c 1.04,-2.27 -0.4,-4.54 2.65,-4.79 0.7,-1.85 0.88,-4.37 3.11,-3.1 0.83,-0.73 0.44,-1.27 1.59,-1.56 1.43,-1.81 4.2,-2.03 6.48,-3.6 3.23,-0.6 1.57,4 4.41,4.53 1.15,0.24 -1.42,0.91 0.87,2 1.62,0.34 2.62,-0.07 2.39,1.8 0.95,2.4 -3.19,1.99 -4.47,3.19 -3.06,-0.32 -7.13,-0.27 -9.66,0.43 -0.06,1.39 1.22,5.92 -0.89,2.56 -2.2,-0.12 -4.4,1.93 -5.53,-1.03 -0.26,-0.14 -0.88,0.05 -0.95,-0.42 z",FR:"m 320.44,229.09 c 3.5,-2.22 -0.96,-5.61 1.06,-8.23 1.75,-3.18 5.63,1.18 6.32,2.34 0.23,-1.32 1.46,1.48 -0.36,2.69 -1.07,2.79 -2.6,4.03 -5.24,3.39 -0.49,0.72 -1.29,0.16 -1.78,-0.18 z m -17.32,-33.96 c -1.44,-0.36 -0.63,-2.45 0.08,-0.26 z m 192.61,-78.74 c 1.65,-1.47 3.13,-2.32 2.66,0.76 -1.27,4.32 -2.55,0.43 -2.66,-0.76 z m -36.96,-15.9 c 2.7,-0.08 -1.08,-0.93 1.51,-0.72 -4.33,-0.12 3.07,-2.66 4.28,-0.7 1.46,-0.41 2.78,0.1 3.08,-0.51 -0.68,-1.77 -1.57,-3.78 0.78,-2.26 1.39,1.11 5.71,0.69 4,-0.37 2.05,-0.92 4.59,-0.73 4.1,-3.44 2.64,-1.5 4.35,1.69 6.91,1.76 -0.28,2.27 2.31,-0.77 2.15,1.29 2.43,0.75 4.64,1.76 7.05,1.89 3.81,0.08 -0.46,2.1 0.15,4.48 -2.03,-0.09 -2.17,1.61 -4.01,3.03 -0.88,1.88 2.46,-1.44 2.47,1.52 -0.67,0.65 1.58,2.16 -0.98,2.37 1.7,0.78 0.11,3.19 2.93,2.66 -1.77,2.7 -4.67,3.56 -7.34,2.1 0.36,-0.21 -3.5,-0.83 -5.33,0.71 0.58,2.4 -1.63,2.53 -3.83,1.72 -1.61,-1.41 -4.18,-10e-4 -6.48,-0.95 -2.3,-0.72 -3.81,-0.89 -2.1,-3.18 0.98,-2.31 -0.1,-1.94 0.71,-4.33 1.35,0.73 2.04,2.86 0.92,0.27 -2.12,-1.23 -0.46,-0.44 -0.93,-2.5 -1.83,0.71 -4.34,-3.53 -1.71,-2.49 -2.59,-0.07 -1.33,-0.92 -3.27,-0.96 1.23,-0.3 -1.33,0.1 -0.81,-0.41 -0.69,-0.31 -3.16,-0.22 -4.24,-0.98 z",LY:"m 497.92,151.14 c 1.22,-1.02 3.3,-2.31 2.26,-4.45 1.64,-1.36 4.45,-1.74 3.66,-4.37 2.93,1.82 6.41,0.15 9.36,2.05 2,0.86 2.23,4.49 5.53,3.54 3.2,0.07 6.84,5.03 9.01,0.5 -2.33,-4.25 4.21,-6.37 7.31,-4.84 1.14,2.42 5.27,1.09 6.57,3.1 -1.75,2.8 -0.4,6.49 -0.36,9.96 -0.07,7.58 0.05,15.16 -0.06,22.74 -1.18,0.21 -3.56,-0.76 -2.74,1.4 -7.23,-3.84 -14.52,-7.62 -22,-10.94 -2.87,0.55 -5.22,3.4 -7.74,0.43 -3.87,0.51 -4.52,-4.36 -8.24,-3.67 -0.09,-2.15 -4.24,-4.5 -1.19,-6.01 -0.81,-3.08 1.09,-6.77 -1.38,-9.44 z",BY:"m 536.15,88.53 c 2.51,-0.84 2.42,-2.61 0.94,-4.65 2.05,0.38 5.52,-0.77 6.14,-1 -1.65,-1.71 4.41,-2.24 2.21,-3.4 2.47,-1.46 5.19,-2 8.01,-1.21 0.87,0.9 5.84,-0.04 4.08,3.31 1.82,2.07 3.09,2.51 5.12,3.65 -0.7,1.84 -5.16,-0.46 -3.09,2.59 1.51,1.91 -4.05,1.08 -2.99,3.57 -2.54,-1.13 -4.21,-0.29 -6.38,-0.94 -2.85,0.32 -5.9,-1.52 -9.1,-0.89 -1.6,-0.22 -4.73,2.54 -3.66,-0.47 -0.38,-0.29 -0.92,-0.21 -1.27,-0.56 z",PK:"m 640.67,151.64 c 3.95,1.79 8.26,1.07 12.34,0.72 4.22,1.01 1.66,-5.15 5.25,-4.55 2.06,0.2 0.74,-1.54 3.23,-1.54 2.86,1.63 2.24,-2.57 3.79,-3.75 3.59,0.37 -1.34,-3.47 1.89,-2.43 2.95,0.23 1.1,-2.43 3.35,-3.6 -0.01,-1.31 -2.18,-3.16 0.77,-3.47 2.85,-1.65 6.81,-1.33 9.59,-1.23 2.13,0.39 1.58,3.56 3.46,3.2 1.26,1.55 5.23,0.15 1.53,1.71 -1.9,2.5 -5.73,1.36 -8.5,1.33 -1.73,1.51 1.24,1.92 0.04,3.16 -1.34,2.56 5.7,3.16 2.32,4.38 -1.97,1.16 0.04,3.18 -2.52,4.09 -1.14,1.82 -3.07,3.92 -4.92,5.76 -1.17,3.02 -4.19,1.45 -5.74,1.86 -1.69,1.44 -2.62,3.46 0.03,4.04 -0.74,2.43 3,2.59 2.19,5.35 -0.7,0.83 -4.08,0.91 -6.22,0.54 -1.11,2.01 -2.29,1.6 -3.54,0.89 -0.58,-0.52 -0.41,-2.6 -2.23,-2.62 0.82,-1.92 -2.84,-2.17 -0.57,-1.34 -3.12,0.1 -5.6,0.7 -7.75,0.13 -1.6,0.26 -4.51,1.16 -5.62,0.13 -0.69,-4.03 4.36,-2.41 4.62,-5.27 -2.66,0.34 -0.14,-4.03 -3.41,-3.72 -1.62,-0.75 -1.86,-2.85 -3.39,-3.79 z",ID:"m 844.1,252.59 c 0.28,1.08 0.13,-2.98 1.43,-0.99 0.85,2.54 -1.43,2.01 -1.43,0.99 z m -70.2,-19.41 c 0.55,-1.5 1.03,-0.93 0.47,-1.62 1.7,-4.63 2.41,3.7 5.92,1.12 2.7,0.67 3.97,-2.97 6.65,-0.62 2.54,-0.19 3.17,-1.43 4.17,-3.33 0.53,-1.38 1.48,-3.37 2.12,-5.45 2.11,0.1 5.07,0.12 4.94,1.43 1.01,1.31 -2.48,-0.15 -0.69,1.65 -0.18,0.67 2.72,2.27 1.24,3.68 1.07,1.24 5.35,3.79 1.08,3.13 -1.78,-1.04 -2.61,3.94 -1.82,4.68 -0.99,0.36 -2.22,1.17 -2.39,1.26 -1.79,1.91 -0.28,1.88 -0.58,3.73 -1.09,0.57 -0.82,3.52 -4.02,4.03 -2.06,1.1 -1.24,-3.42 -2.78,-1.91 -1.62,1.17 -2.41,-2.34 -3.81,0.19 -1.82,-0.08 -2.62,0.99 -2.68,-1.63 -2.12,1.16 -2.49,0.45 -4.17,0.2 -0.82,-2.04 0.27,-5.83 -2.53,-5.61 1.04,-0.68 -1.46,-1.32 -0.21,-2.52 -0.6,-0.57 -1.28,-1.56 -0.93,-2.41 z m -3.25,9.64 c -1.93,3.7 4.6,0.57 0,0 z m -6.54,-2.36 c -1.17,1.33 2.05,1.13 2.02,3.17 2.09,2.06 2.52,-1.43 0.47,-1.37 -0.4,-3.22 -1.04,-2.02 -2.49,-1.8 z m -6.41,-7.05 c -2.5,-2.43 -1.84,1.04 0,0 z m -14.87,0.47 c 2.59,-1.55 -4.34,-4.6 0,0 z m -0.58,-13.04 c -2.16,1.1 -4.7,-1.74 -6.38,-0.52 0.8,3.59 5,4.51 6.74,7.4 0.7,2.45 4.36,2.68 4.04,6.05 1.16,2.15 3.68,3.94 4.67,6.59 1.11,3.63 4.3,6.14 7.08,8.63 1.57,0.47 4.02,4.81 3.73,2.14 1.72,1.03 1.63,-0.27 3.17,0.77 0.5,-2.69 -0.31,-5.3 0.77,-7.65 -0.83,-1.61 -3.03,-3.22 -4.09,-1.06 1.48,-1.31 -0.14,-3.14 -1.22,-4.66 -2.88,-0.05 -1.81,-2.35 -2,-2.39 2.65,-1.16 -1.22,-2.63 -2.39,-1.04 -0.85,0.26 3.05,-1.4 0.22,-1.54 -1.79,-1.19 -3.08,-3.65 -5.05,-4.24 0.97,2.75 -2.27,-2.24 -2.25,-1.11 -0.91,-2.81 -5,-3.14 -5.7,-6.04 -0.29,-0.58 -0.86,-0.92 -1.34,-1.33 z m 94.76,34.81 c -2.37,1.03 -0.94,4.18 0.01,0.75 -0.25,-0.4 0.73,-0.48 -0.01,-0.75 z m -16.26,2.53 c 1.92,0.08 3.88,-1.52 0.8,-0.88 -0.51,-0.19 -0.78,0.52 -0.8,0.88 z m -3.62,0.33 c -1.7,1.62 3.67,0.44 0.84,0.12 l -0.42,-0.08 z m -2.98,0.4 c -1.36,2.21 2.94,-1.13 0.38,0.28 0.21,-0.23 -0.21,-0.46 -0.38,-0.28 z m -9.47,1.52 c 2.72,0.11 5.82,0.66 7.79,-1.08 1.07,-2.18 -0.65,1.4 -2.62,0.11 -1.61,0.69 -5.33,-2.08 -5.54,0.96 l 0.15,0.13 z m -2.95,2.04 c 1.18,0.19 5.35,3.62 4.82,0.86 -1.41,-1.2 -3.09,-1.98 -4.82,-0.86 z m -2.85,-1.73 c 1.18,-1.38 2.5,0.46 2.65,-0.56 2.04,-0.15 -0.51,-1.28 -0.71,-1.21 -0.94,0 -3.71,-1.15 -1.29,0.64 0.46,1.44 -4.5,-1.9 -3.7,1.37 0.95,0.64 2.05,-0.35 3.06,-0.24 z m -4.33,-1.99 c -1.7,1.09 -1.19,2.65 0.49,1.64 0.52,-0.83 0.94,-1.71 -0.49,-1.64 z m -5.16,-0.35 c 1.23,1.07 1.75,2.98 3.21,1.1 0.5,-2.05 -2.43,-0.3 -3.21,-1.1 z m -4.26,-3.37 c -2.23,2.03 6.23,-0.05 1.48,-0.02 -0.49,-0.01 -0.99,-0.1 -1.48,0.02 z m -17.24,-2.34 c -2.16,-1.59 -3.86,2.62 -3.51,2.14 3.4,-0.5 2.28,2.56 5.73,2.02 3.28,0.83 6.78,0.67 10.2,1.96 3.01,0.08 7.42,0.77 9.28,1.2 -0.36,-1.74 -0.25,-3.59 -2.97,-2.58 -2.68,-0.14 -1.7,-3.15 -4.88,-2.73 -1.48,-0.51 -2.83,-1.36 -3.81,0.5 -3.04,0.39 -4.71,-1.18 -6.93,-2.09 -1.3,-0.08 -1.96,-1.08 -3.1,-0.43 z m 46.68,11.07 c -0.68,2.23 3.93,-0.11 4.33,-1.86 0.55,-2.56 -2.33,0.27 -2.46,0.44 -1.17,-0.63 -1.28,0.52 -1.88,1.42 z m 19.83,-26.89 c 0.96,-0.2 -1.01,-1.41 0.79,-0.29 2.41,-1.1 -4.14,-0.71 -1.17,0.04 l 0.24,-0.12 z m -1.92,4.45 c 2.66,0.34 -0.48,-2.04 -0.41,-0.14 z m -0.02,4.1 c 2.13,1.84 3.14,0.23 1.08,-1.3 -2.01,-0.19 -6.73,-1.71 -6.8,1.46 0.13,-2.06 2.17,0.07 2.86,-0.49 1.1,0.73 2.05,-0.7 2.86,0.33 z m -6.51,-9.78 c -0.04,1.56 3.12,3.66 1.01,0.99 -2.27,-3.46 2.38,-1.26 1.92,-2.11 -3.14,-0.41 2.08,-3.57 -0.99,-3.05 -0.12,0.95 -3.06,2.86 -1.18,0.71 0.36,-1.5 0.16,-4.13 -1.02,-1.09 -0.89,1.52 0.52,2.99 0.25,4.55 z m -0.53,4.05 c -0.8,1.66 3.89,0.54 0.65,-0.16 h -0.31 z m 0.13,-3.16 c -1.86,0.54 2.01,2.75 0.39,0.39 l -0.11,-0.15 z m -2.29,9.9 c 4.74,-0.87 -3.2,-3.92 -1.39,-0.73 0.41,0.34 0.92,0.5 1.39,0.73 z m -6.26,-6.11 c -0.8,2.07 4.64,-0.11 1.11,0.16 l -0.62,-0.15 z m -3.27,-0.05 c 1.79,-0.81 -1.37,-2.18 -1.02,-0.14 1.05,-1.09 0.3,-0.5 1.02,0.14 z m -0.52,7.77 c -1.92,1.21 -1.02,5.26 0.11,2.25 -1.83,-0.61 1.19,-1.26 -0.11,-2.25 z m -1.48,2.9 c 1.73,-3.14 -1.78,-1.56 -0.22,-0.2 l 0.06,-0.18 z m -8.79,-0.75 c -0.46,2.31 4.29,1.43 2.53,-0.51 1.29,-2.09 -1.63,-7.27 2.21,-6.28 -0.53,1.72 -0.32,3.05 1.43,3.94 -1.14,1.89 1.48,2.61 1.8,0.87 2.98,0 1.1,-1.2 0.14,-2.61 1.21,-1.12 -1.82,-3.54 -2.58,-4.95 2.21,0.86 4.01,-3.08 5.78,-2.6 -0.09,-1.6 -2.38,-0.18 -1.96,-0.29 -2.28,0.21 -3.49,0.41 -5.06,1.85 -3,-0.9 -3.37,-6.82 0.98,-5.19 3.28,-1.16 7.69,2.35 9.98,-1.5 2.41,-2.9 -0.75,-1.66 -1.84,0.03 -3.07,0.67 -6.23,-0.21 -9.11,-1.01 -1.06,1.59 -3.12,1.29 -3.23,3.95 -0.71,-0.41 1.08,2.83 -0.42,2.18 -0.21,2.8 -2.89,4.96 -1.82,7.66 2.5,-1.68 2.02,3.47 1.17,4.47 z m -63.9,-21.23 c 1.46,-0.3 -3.53,-2.47 -0.65,-0.5 l 0.38,0.19 z m 96.92,9.51 c 1.18,-1.98 4.71,-1.91 6.93,-0.68 2.5,0.02 0.1,5.72 2,5.35 0.45,-1.2 1.5,4.18 3.35,1.35 1.75,-2.47 3.53,-3.07 5.68,-4.58 2.94,0.89 5.63,2.49 8.67,3.03 0.6,2.99 0.4,7.71 -0.01,11.23 0.48,1.8 0.85,6.39 -0.18,6.81 -1.4,-2.86 -3.85,-2.48 -5.38,-2.53 1.09,-1.45 -0.76,-2.94 0.76,-2.52 -1.89,-0.05 -1.63,-1.63 0.12,-0.65 -2.37,-0.6 -2.13,-3.71 -3.2,-4 -1.28,-1.43 -5.02,-2.77 -7.57,-3.05 -2.1,-0.01 -1.41,-1.84 -1.44,-1.56 -1.47,0.45 -3.78,-0.48 -2.6,-2.4 -0.46,-0.51 -1.7,5.09 -3.09,1.82 1.88,-1.26 -4.51,-3.14 -0.21,-2.72 2.01,-1.5 2.99,0.56 3.52,-1.18 0.19,-1.16 -4.95,0.93 -5.48,-1.23 0.65,-1.76 -2.77,-0.49 -2.4,-1.85 z m 17.69,20.64 c 1.89,1.91 6.05,-3.52 1.68,-2.47 -1.02,0.41 -1.3,1.56 -1.68,2.47 z m -5.92,-18.96 c 0.85,1.34 6.01,0.49 1.74,0.18 -0.58,-0.06 -1.16,-0.13 -1.74,-0.18 z",YE:"m 619.35,188.7 c -1.65,-1.63 -1.51,-5.17 -3.76,-6.5 -3.5,0.77 -7.67,0.07 -10.51,2.66 -1.04,1.42 -2.24,4.24 -3.93,2.02 -3.11,0.26 -7.42,-1.26 -9.6,0.49 -0.06,1.62 -1.53,3.91 -1.31,5.28 1.62,1.29 0.77,6.66 3.08,7.25 3.29,1.04 4.59,-2.58 7.98,-2.06 4,-1.07 6.96,-3.4 10.98,-4.53 2.43,-0.43 4.63,-1.26 4.89,-3.69 0.67,-0.45 1.49,-0.49 2.17,-0.91 z m 1.62,12.3 c 6.67,-0.85 -4.22,-1.91 0,0 z",MG:"m 591.79,297.71 c 1.2,2.82 0.97,7.37 2.95,8.73 2.79,1.88 7.92,0.75 8.65,-2.85 1.29,-3.83 2.44,-7.72 3.73,-11.54 1.42,-3.12 1.53,-7.02 3.01,-9.95 -0.6,-1.37 -0.73,-4.62 0.82,-1.66 1.9,-2.04 -0.38,-5.85 -0.85,-8.49 -0.87,-0.29 -1.43,-3.51 -1.9,-1.92 -1.27,0.91 -0.45,3.18 -2.27,4.06 -0.19,0.19 -1.97,-1.07 -0.92,0.84 -0.11,0.93 -1.26,1.18 -0.04,2.22 -0.91,-0.83 -1.7,1.65 -1.62,-0.1 -1.26,1.44 -0.18,2.8 -1.67,1.53 -1.92,1.31 -0.6,1.96 -2.14,1.61 -1.5,0.4 -3.11,0.31 -4.4,1.58 -1.71,2.75 -1.33,5.74 0.02,8.72 0.17,2.82 -2.6,4.67 -3.36,7.2 z",BO:"m 278.97,266.42 c 2.55,0.92 4,-0.24 6.07,-1.58 1.83,-1.59 7.41,-3.49 5.45,0.89 -0.13,2.3 1.75,4.96 4.28,5.04 2.75,0.15 4.61,3.2 7.62,2.87 3.23,0.65 1.54,4.44 2.41,5.56 -0.88,4.62 6.82,0.07 5.04,4.31 2.5,1.45 2.99,4.61 1.14,7.11 1.18,3.96 -2.48,-2.62 -5.16,-0.73 -4.44,-0.31 -7.07,2.7 -7.15,6.88 -0.06,2.22 -5.32,-1.01 -5.13,3.18 -0.31,-2.5 -4.81,-2.91 -5.54,-2.31 -1.52,1.17 -4.75,4.3 -4.51,0.3 -0.15,-2.22 -2.81,-4.42 -1.84,-6.01 0.49,-2.31 -1.73,-4.83 -2.44,-7.31 -1.14,-1.06 3.63,-3.14 0.56,-3.99 -0.32,-3.06 1.21,-5.67 1.05,-9.02 1.58,-1.37 -1.62,-3.65 -1.83,-5.21 z",CI:"m 448.04,217.31 c 1.43,-1.6 0.22,-2.8 1.35,-3.91 0.59,-0.67 -1.34,-2.42 1.31,-1.34 -0.95,-1.89 -0.32,-2.29 -1.43,-4.1 0.82,-2.97 3.97,0.01 4.46,-2.12 1.36,-0.64 0.77,1.88 2.83,0.49 1.82,1.17 2.93,3.02 5.18,1.42 2.95,-0.26 4.17,4.14 1.97,6.31 -2.43,2.51 1.76,6.79 -0.06,7.18 -0.54,-0.78 -3.11,0.31 -2.31,-0.69 -0.76,0.31 -4.38,0.61 -1,0.18 1.23,0.64 -5.22,0.11 -2.31,0.45 -3.1,-0.38 -9.05,4.8 -6.65,-1.41 -0.79,-1.62 -2.12,-1.85 -3.34,-2.47 z",DZ:"m 447.83,158.87 c -1.42,-4.06 2.69,-6.52 5.93,-6.61 2.69,-0.8 5.76,-2.94 8.06,-4.1 -1.83,-1.76 2.54,-2.76 4.09,-2.99 3.3,1.15 3.26,-1.18 1.37,-3.08 0.44,-1.92 -0.86,-4.75 -0.94,-5.19 2.13,-1.53 4.57,-1.62 6.46,-3.05 3.12,-1.42 6.64,-1.21 9.8,-1.92 2.76,0.4 5.39,0.34 7.65,-0.34 1.96,-0.05 4.13,0.03 5.43,0.53 -2.12,1.45 1,6.38 -2.98,7.8 0.47,3.54 5.03,4.58 5.13,8.4 0.23,3.1 1.52,5.64 1.57,9.07 -0.83,1.67 0.58,3.63 -1.37,4.66 1.84,2.02 1.64,5.46 5.08,5.02 4.96,2.86 -2.46,4.34 -4.43,6.15 -3.83,2.19 -7.47,4.71 -10.7,7.7 -2.4,-0.07 -8.29,3.34 -7.19,-1.03 -2.48,-1.01 -5.22,-1.52 -6.15,-4 -6.84,-4.13 -13.22,-9.02 -20.11,-13.09 -2.21,-1.35 -4.46,-2.64 -6.71,-3.93 z",CH:"m 488.45,105.83 c 1.29,-2.14 2.66,-4.1 4.76,-4 2.28,0.2 3.51,-1.55 5.32,0.74 -0.98,1.45 4.27,0.74 1.85,1.94 -0.53,1.03 -1.24,0.84 -2.77,0.41 -0.61,3.86 -2.74,-1.95 -3.77,1.37 -3.11,1.46 -2.84,-3 -5.4,-0.46 z",CM:"m 495.72,222.09 c 0.47,-3.22 3.41,-5.46 5.57,-6.53 1.27,2.08 2.15,2.36 3.29,0.26 0.18,-2.57 2.73,-4.33 2.93,-6.51 2.19,-1.52 1.75,-5.62 4.98,-6.24 1.08,-1.83 -3.37,-3.4 -0.72,-4.23 3.2,2.1 0.52,6.67 3.61,8.69 -2.26,-0.37 -6.76,0.32 -3.01,2.82 3.73,1.91 2.38,5.81 -0.14,7.91 -0.42,2.53 1.22,5.29 2.32,7.46 2.54,0.81 3.26,6.86 -0.01,4.31 -3.04,-0.52 -5.92,-0.7 -9.02,-0.83 -1.81,-0.39 -6.9,2.06 -6.2,-1.63 -0.19,-1.82 -0.76,-2.84 -0.86,-3.33 -1,1.33 -2.12,-2.49 -2.94,-1.55 z",MK:"m 528.66,118.73 c 0.72,-2.03 2.99,-1.79 4.92,-2.22 2.81,0.77 2.27,4.33 -0.81,3.59 -1.58,0.85 -4.12,1.04 -4.1,-1.37 z",BW:"m 527.36,305.27 c 0.81,-2.27 -1.87,-8.12 1.68,-7.74 2.46,-1.12 0.37,-6.2 1.08,-8.87 -0.38,-2.72 4.82,-1.97 6.6,-2.11 1.16,2.25 5.11,-3.32 6.09,0.9 1.25,4.17 6.02,4.42 6.41,8.27 1.43,1.11 5.97,1.59 2.48,3.25 -3.21,0.74 -4.64,4.07 -6.95,6.05 -2.13,0.14 -1.28,4.09 -4.34,3.16 -2.45,-0.7 -5.26,-2.69 -6.1,1.11 -1.71,2.37 -6.82,3.13 -4.88,-1.17 -0.38,-1.17 -1.04,-2.17 -2.09,-2.86 z",UA:"m 533.33,99.45 c 0.38,-2.42 2.62,-0.95 1.55,-3.19 1.51,-2.24 5.9,-2.87 2.56,-5.17 1.24,-1.88 5.76,-1.8 8.43,-1.21 2.08,0.47 4.68,1.02 6.24,0.62 1.37,0.15 3.91,1.05 4.74,0.38 0.25,-3 4.8,-1.41 6.48,-2.35 2.03,-0.95 4.88,1.12 3.49,2.26 0.42,1.56 4.07,0.15 3.62,3.02 2.25,0.9 4.97,-0.87 6.7,1.19 1.53,0.31 6.03,0.27 5.9,2.18 -1.87,0.91 0.64,0.9 -1.06,1.74 3.11,2.67 -4.06,1.43 -3.8,3.68 -2.7,1.82 -6.53,0.96 -9.21,3.43 2.58,-2.32 -2.41,0.17 0.41,1.46 1.07,1.21 5.82,-0.36 2.73,1.55 -2.21,-1.2 -6.6,3.05 -7.27,0.97 1.25,-2.46 -5.49,-1.56 -0.98,-2.96 4.95,-1.59 -4.78,-0.76 -3.46,-2.07 -3.23,-0.26 4.67,-0.42 0.65,-0.42 -1.37,-1.95 0.32,-0.22 -1.65,-0.07 -0.22,-1.27 -3.13,2.33 -3.62,0.72 0.24,0.25 0.69,1.87 -1.3,2.11 1.92,-1.05 -1.71,-0.2 -0.1,0.98 -0.61,-0.67 -6.41,0.78 -2.76,-1.71 0.93,-2.27 1.5,-1.55 3.85,-1.53 -0.18,-1.02 -2.58,-1.29 -1.6,-2.59 -0.99,-1.59 -2.48,-2.46 -4.37,-2.61 -2.58,-1.71 -4.68,1.24 -7.34,0.98 -2.41,0.31 -5.68,-0.1 -7.92,-0.87 -0.4,-0.01 -0.51,-0.49 -0.9,-0.53 z",KE:"m 565.98,238.45 c -1.07,-3.74 2.54,-5.6 3.18,-8.69 -1.15,-1.8 -1.5,-4.12 -2.68,-5.32 0.29,-3.5 6.28,-1.26 8.65,-0.77 2.74,2.44 6.51,2.92 8.94,0.29 1.02,-0.16 4,0.51 3.69,0.99 -3.5,3.08 -1.82,7.92 -2.24,12.02 0.81,1.63 2.52,4.78 -0.33,4.2 0.79,1.52 -2.38,1.75 -2.35,3.92 -0.94,2.23 -1.95,5.44 -4.46,2.07 -2.59,-1.71 -2.38,-4.35 -6.03,-5.25 -2.2,-0.99 -4.16,-2.68 -6.39,-3.46 z",TW:"m 805.03,169.47 c -0.48,1.96 2.33,6.52 2.74,2.31 0.92,-1.65 3.91,-7.83 0.29,-6.84 -1.39,1.01 -2.44,2.92 -3.04,4.53 z",JO:"m 568.85,153.04 c 0.91,-3.06 1.42,-6.72 2.23,-9.42 2.89,2.96 6.55,-2.17 8.62,-1.24 2.67,3.53 -1.78,4.19 -4.98,4.69 0.47,0.91 3.25,2.52 2.05,2.92 -1.97,1.51 -4.82,4.48 -7.93,3.06 z",MX:"m 146.91,144.12 c 4.03,-0.61 6.19,-0.66 9.33,0.98 3.78,0.9 7.36,3.02 11.36,2.39 1.8,-0.09 4,0.57 4.58,-1.3 3.87,-0.71 7.78,1.72 9.43,5.05 1.12,2.54 5,3.88 6,0.6 4.48,-1.37 5.43,4.11 8.08,6.22 0.1,3.47 3.3,3.99 5.99,4.78 1.66,0.21 -1.86,4.93 -0.82,6.79 -1.12,2.04 1,5.79 0.91,5.71 -2.07,-3.94 0.48,2.62 1.93,3.59 1.77,1.76 2.02,5.25 2.55,3.87 2.27,0.76 5.91,2.4 5.97,1.14 2.66,-0.29 4.19,-1.31 5.88,-0.17 1.6,-1.88 -1.16,-0.68 1.42,-1.96 2.46,-2.61 0.26,-6.77 5.15,-6.31 3.48,-0.81 3.86,-0.36 6.33,-0.19 0.26,2.44 -2.58,4.46 -2.14,5.95 0.62,0.64 -0.9,4.29 -1.51,1.72 -1.52,1.82 -2.49,2.76 -4.99,2.52 -1.62,-0.04 -3.27,-0.35 -3.18,1.62 -2.43,-0.32 5.21,3.74 0.25,3.3 -3.93,-1.31 -2.58,6.77 -4.69,2.76 -0.69,-1.06 -6.52,-4.51 -3.45,-2.55 -3.28,-1.38 -1.63,-0.96 -5.09,0.37 -3.83,1.6 -7.15,-1.96 -10.81,-2.44 -3.76,-1.96 -7.39,-3.38 -11.04,-5.17 -1.44,-1.39 -7.37,-3.65 -4.34,-5.73 -1.08,-0.83 1.2,-2.68 -1.02,-3.9 -0.19,-2.82 -5.05,-6.01 -5.47,-6.73 -0.63,-1.05 -3.04,-3.19 -3.99,-3.34 -1.06,0.21 -1.42,-1.5 -0.43,-2.24 -0.91,-1.2 -4.58,-1.95 -3.82,-4.15 -2.28,0.08 -4.27,-2.95 -5.37,-4.94 -1.41,-2.21 -1.42,-5.35 -4.29,-5.46 -1.79,0.17 -3.23,-2.4 -2.32,0.28 -0.23,3.69 3.17,5.75 4.96,8.27 0.78,1.45 3.2,4.8 3.49,5.02 0.49,-0.56 2.41,4.15 3.06,5.6 0.06,2.72 2.23,0.16 2.89,3 2.19,1.7 -2.08,2.99 -1.92,0.26 -2.75,-2.57 -6,-2.84 -5.08,-6.62 -1.52,-0.71 -2.61,-3.46 -3.45,-2.34 -1.97,-0.2 -6.6,-4.19 -2.34,-2.76 1.72,1.22 0.86,-0.5 0.25,-0.24 1.51,-2.83 -4.23,-4.37 -4.82,-7.38 -1.2,-1.22 -1.91,-4 -3.41,-5.63 z",AE:"m 614.9,167.34 c 1.12,1.33 4.68,0.15 7.22,0.3 0.84,-0.73 3.89,-4.15 5.57,-5.23 0.32,1.15 1.11,4.3 -0.84,3.09 -0.43,1.59 0.57,2.62 -0.88,3.06 -0.36,3.02 -1.96,4.08 -4.92,2.93 -3.16,0.32 -4.78,-1.53 -6.14,-4.15 z",BZ:"m 224.45,190.94 c 0.24,-3.09 -0.56,-6.25 2.53,-7.3 0.29,1.75 0.85,5.64 -1.6,6.97 l -0.06,0.33 z",BR:"m 266.7,256.8 c 1.46,-2.11 2.75,-3.84 3.14,-6.74 2.29,-1.46 5.6,-3.35 7.84,-2.31 0.57,-3.26 2.17,-6.93 1.28,-10.19 -1.94,-1.19 -1.76,-4.64 1.04,-3.76 0.18,-1.73 -3.3,-0.97 -1.54,-3.06 3.03,0.03 4.52,0.14 6.33,-1.04 1,1.65 1.4,3.9 4.06,3.71 1.53,-1.52 1.23,1.67 2.51,-0.87 2.04,-0.84 3.65,-2.08 4.62,-3.66 -2.79,0.11 -1.74,-4.02 -3.65,-5.3 1.71,0.49 4.48,1.94 5.53,1.46 0.52,-2 6.46,-0.98 5.62,-4.04 2.95,-1.06 1.23,2.16 2.82,2.76 -0.07,2.41 -1.85,6.71 1.73,8.09 1.93,0.81 3.93,-2.13 6.16,-1.54 2.09,0.09 2.63,0.19 2.43,-1.56 2.53,-1.05 4.4,1.51 6.59,0.45 3.41,1.99 3.65,-5.35 6.01,-4.79 -0.54,-2.73 1.11,2 1,0.3 0.25,3.01 0.78,5.59 3.32,6.7 -0.09,1.92 -4.17,4.12 -5.06,7.04 -0.34,1.56 -4.33,1.35 -1.45,1.78 1.67,0.03 4.62,-3.81 4.25,0.41 1.46,1.61 4.74,-1.62 3.38,1.58 -0.5,0.81 2.36,-3.23 2.79,-2.35 1.43,-0.16 -0.83,0.06 0.54,-1.23 1.18,-1.57 2.7,-1.1 3.66,-0.82 0.73,0.05 1.03,0.82 2.11,0.83 1.07,0.67 2.48,0.63 2.32,1.38 0.78,-0.13 1.62,-0.15 1.87,0.67 1.16,0.13 -1.26,2.24 0.79,1.18 -0.69,1.26 -1.58,4.64 0.01,1.46 1.86,-2.63 -0.55,1.94 1.3,-0.46 1.59,-1.38 4.26,0.93 5.97,0.64 2.74,0.42 6.44,-0.33 8.95,2.53 2.13,3.18 5.69,3.83 8.9,4.58 1.09,3.16 1.62,4.91 1.4,7.38 -0.38,3.15 -2.76,4.44 -3.38,6.11 -2.21,1.74 -3.17,2.31 -3.54,3.19 -0.25,0.79 -2.34,6.81 -3.79,3.74 -0.42,1.14 -1.31,3 -0.85,3.69 -0.01,1.34 0.72,6.53 -0.56,9.43 -0.34,2.2 -1.91,4.24 -1.69,6.7 -1.24,2.13 -3.31,3.79 -3.37,6.7 -2.84,0.59 -2.01,3.47 -5.06,2.71 -1.22,-1.53 -0.6,0.65 -3.13,0.33 2.75,-0.82 -3.29,-0.52 -1.79,0.67 -1.69,0.79 -3.67,1.71 -4.9,1.86 -3.43,1.46 -4.25,4.41 -6.41,3.93 1.76,0.96 -0.49,1.07 0.3,2.05 -0.9,0.64 0.67,3.24 0.07,4.84 -0.26,2.68 -4.11,4.03 -5.09,7.86 -0.66,2.16 -7.08,5.51 -3.13,2.81 1.27,-0.99 4.21,-4.65 1.47,-3.73 -1.31,-1.93 -0.07,1.79 -0.93,1.26 -1.83,1.86 -2.32,3.24 -2.93,5.11 0.04,2.12 -4.51,4.63 -2.66,1.15 0.95,-2.58 -4.38,-3.84 -5.93,-5.87 -1.77,1.23 -2.88,-3.55 -5.59,-1.85 1.22,-1.65 4.21,-4.54 5.22,-5.85 2.71,-1.71 7.57,-3.48 4.51,-7.29 -3.94,1.35 1.69,-5.48 -2.17,-4.73 -3,1.6 -1.94,-7 -4.92,-4.41 -2.28,0.5 -5.22,-0.81 -3.49,-3.69 -0.95,-1.92 -0.41,-2.95 -0.14,-4.92 1.86,-2.56 0.16,-4.82 -1.6,-6.55 1.79,-3.82 -6.05,0.49 -4.98,-4.03 -0.75,-1.12 0.85,-5.38 -2.7,-5.56 -2.5,0.22 -4.23,-2.13 -6.37,-2.71 -2.28,0.01 -5.18,-1.62 -4.99,-4.14 -0.44,-2.07 0.99,-4.92 -2.61,-3.53 -2.64,0.91 -4.45,2.73 -6.87,3.62 -2.12,-1.36 -6.87,1.41 -5.16,-3.45 1.08,-3.21 -4.45,3.31 -4.83,-1.02 -1.8,-0.36 -2.28,-0.1 -2.04,-1.84 -1.24,-1.17 -1.54,-2.65 -2.51,-3.78 z m 64.34,-17.04 c 1.69,1.81 4.29,0.77 5.82,-0.97 2.76,-3.8 -3.6,-2.64 -5.41,-2.38 0.34,1.32 -0.93,1.2 0.01,2.25 1.2,0.1 -1.24,-0.03 -0.42,1.1 z",SL:"m 435.02,210.22 c 1.93,-1.56 5.36,-4.95 7.22,-0.74 1.09,1.13 -0.89,3.59 1.16,2.39 -1.16,2.19 -3.35,5.68 -6.08,2.91 1.45,-0.71 -1.26,-0.53 -1.72,-2.37 -1.36,-0.45 1.89,-1.32 -0.29,-0.89 -0.48,-0.9 1.07,-0.74 -0.28,-1.31 z",ML:"m 437.94,194.09 c 2.04,0.27 0.91,-4.28 3.33,-1.43 0.66,-0.14 2.73,-0.47 4.23,-0.55 2.58,-0.13 7.07,-0.19 10.4,-0.03 2.61,-1.65 -0.96,-6 -0.22,-8.98 -0.61,-5.94 -1.17,-11.89 -2.04,-17.8 2.18,0.22 4.68,-0.68 6.45,0.99 5,3.35 10.11,6.64 14.98,10.12 0.79,2.34 3.83,2.32 5.75,3.54 -0.87,2.43 0.94,2.51 2.85,1.83 -0.17,3.51 0.95,7.94 -1.95,10.48 -3.03,-0.07 -6.2,0.86 -9.14,1.22 -2.98,-1.16 -5.79,2.3 -8.35,2.58 -0.66,1.62 -1.51,1.07 -1.88,2.53 -3.32,-2.45 -1.5,3.09 -4.45,3.36 -1.6,0.57 0.02,4.22 -2.58,4.94 -1.29,0.07 -0.15,-2.12 -1.6,-1.03 -0.4,1.08 -1.89,1.12 -3.22,0.55 -1.36,2.1 -1.08,-2.87 -2.67,-1.59 1.46,-1.31 -0.82,-2.75 -1.47,-4.3 -0.46,1.21 -3.4,1.35 -4.37,1.04 -1.52,0.18 -2.09,0.26 -1.85,-1.7 -0.05,-2.03 -2.16,-2.23 -1.89,-4.57 -0.51,-0.29 0.13,-0.87 -0.33,-1.19 z",CD:"m 505.77,251.86 c 1.11,-0.45 1.26,-4.86 3.32,-2.51 1.04,-1.47 3.32,-2.13 3.01,-0.08 3.18,-1.06 5.29,-4.26 5.08,-7.65 2.52,-2.81 4.78,-5.42 4.56,-9.55 0.61,-2.99 2.06,-6.3 2.13,-8.9 2.02,-4.45 4.64,0.54 7.38,0.4 2.12,0.77 3.39,0.33 4.39,-1.51 2.2,1.04 4.02,-1.17 6.29,-0.61 1.13,-1.59 4.43,0.23 6.29,0.12 1.5,3.66 5.21,-0.2 6.72,2 2.14,1.43 3.1,2.6 2.3,5.16 3.85,1.6 -3.17,3.66 -2.74,6.36 0.38,3.32 -2.26,5.6 -2.13,8.35 1.51,3.41 0.61,7.8 2.24,10.97 1.86,1.39 4,5.34 0.03,4.67 -3.03,-0.07 -4.18,2.35 -3.41,4.97 -0.48,2.25 -0.88,7.37 2.73,5.97 1.08,-0.64 0.96,4.79 -0.18,2.86 -2.42,1.32 -2.68,-3.38 -5.42,-2.94 -0.95,-3.24 -2.96,0.76 -5.34,-1.31 -1.27,-0.74 -0.93,-2.21 -3.01,-0.96 -0.5,-0.98 -1.88,-1.79 -3.82,-0.94 -1.87,0.16 -3.53,0.88 -2.39,-1.55 -1.9,-2.75 -1.01,-6.14 -1.62,-9.07 -1.53,-0.06 -3.51,0.31 -3.49,-1.1 -2.15,0.08 -3.24,0.79 -3.08,3.1 -2.11,-0.79 -4.92,1.62 -5.92,-1.16 -1.4,-2.23 -1.11,-6.26 -5.05,-4.86 -2.81,-0.23 -6.65,0.7 -8.88,-0.26 z",IT:"m 507.51,129.94 c -3.05,-1.56 2.25,-1.9 3.67,-1.24 1.87,-0.1 5.68,-1.88 2.74,1.15 1.11,2.58 -1.33,3.18 -3.09,1.38 -1.28,-0.02 -2.12,-1.1 -3.32,-1.29 z m -12.37,-8.02 c -1.85,-1.43 1.82,-2.01 2.86,-1.99 1.23,0.55 1.16,4.18 0.05,5.58 -1.7,1 -3.95,0.46 -2.47,-1.54 -0.34,-0.72 -0.13,-1.18 -0.44,-2.05 z m -4.9,-13.17 c 3.1,-0.02 -1.04,-2.76 2.09,-2.35 2.48,-0.19 2.62,-2.39 4.57,0.34 -0.27,-2.86 2.83,-0.83 2.93,-1.72 0.94,-1.14 3.02,-1.32 5.54,-1.83 0.95,1.66 5.23,1.16 4.21,3.41 2.1,1.41 -2.13,-0.39 -3.2,1.12 -0.43,-0.49 -1.01,1.04 0.12,1.66 -2.29,2.57 4.77,3.24 4.6,6.55 0.65,2.38 6.19,0.94 5.12,2.54 0.55,2.04 7.22,1.64 6.66,5.04 -1.28,-1.22 -5.59,-2.89 -4.92,0.65 3.38,1.22 -0.58,2.57 -1.22,4.3 -2.73,1.61 -0.35,-1.81 0,-2.41 -0.55,-2.94 -2.96,-3.35 -4.6,-4.73 -1.02,-1.37 -5.06,-1.66 -6.86,-3.77 -3.53,-0.91 -3.86,-4.73 -7.02,-6.29 -1.56,-2.47 -6,3.28 -5.14,0.18 -3.86,0.28 -0.56,-1.71 -2.89,-2.69 z",SO:"m 585.58,229.11 c 0.69,-4.69 6.2,-7.52 10.68,-7.31 2.28,-1.77 4.01,-4.34 6.21,-6.28 1.31,-1.33 3.8,-3.01 0.32,-2.36 -3.72,-1.45 -8.97,-1.63 -11.19,-5.33 -3.05,-1.74 0.89,-6.67 2.05,-2.34 2.51,2.1 5.36,-0.94 8.17,-0.4 2.93,-1.76 6.73,-0.59 9.82,-2.27 3.25,-3.21 1.61,3.36 2.25,3.39 1.32,-0.12 -2.15,0.54 -0.97,2.35 -1.4,3.16 -3.42,5.74 -4.82,8.9 -1.89,4.51 -5.29,8.36 -9.04,11.49 -4.21,2.3 -7.59,5.75 -10.67,9.35 -0.46,0.71 -1.19,3.14 -2.01,0.66 -1.7,-2.5 -0.43,-5.99 -0.81,-8.9 l 0,-0.47 z",AF:"m 639.74,139.82 c 1.69,-1.45 1.23,-5.93 4.7,-3.54 1.43,1.33 2.67,-1.68 3.45,-1.57 3.5,0.06 3.17,-4.17 6.08,-4.32 2.12,-0.55 5.14,0.72 7.27,1.14 1.63,-1.71 3.03,0.55 3.91,-1.65 2.23,1.22 1.92,-4.15 4.62,-1.79 0.27,1.14 0.98,1.67 0.38,3.63 1.58,2.07 5.54,-3.13 6.54,-0.84 2.18,-0.77 3.22,-0.4 2.08,0.59 -2.94,0.85 -7.6,-0.11 -9.19,2.95 2.67,2.03 -1.37,3.58 -0.54,5.27 -2.16,0.74 -4.42,-0.54 -2.19,2.29 -3.26,-0.32 -1.84,4.85 -4.25,4.39 -1.55,-0.59 -3.3,0.83 -3.34,1.36 -3.63,-1.33 -2.64,3.38 -4.45,4.24 -4.18,0.55 -8.59,1.68 -12.69,0.06 -3.07,-0.31 4.68,-5.14 -1.31,-5.25 -0.69,-1.82 -0.25,-4.72 -0.62,-5.58 -0.62,-0.14 -0.37,-0.99 -0.44,-1.38 z",BD:"m 716.95,161.12 c 0.8,-0.22 1.8,1.17 2.06,0.38 1.27,1.37 2.41,0.19 2.29,3 1.76,0.89 7.81,-0.72 6.42,1.69 -1.03,1.41 -4.28,2.92 -2.37,4.04 1.32,2.74 1.74,-3.85 2.7,-0.2 -0.07,1.9 2.06,6.05 -0.4,5.62 0.02,3.91 -0.92,-4.11 -1.4,-3.01 -0.46,-2.79 -2.64,1.38 -2.92,-2.19 0.42,-2.1 -0.97,-0.41 -0.61,-0.49 0.43,1.3 -0.12,2.01 0.29,3.26 -0.2,-0.37 -1.91,2.15 -0.98,0.24 -0.49,0.49 -0.68,-0.2 -0.82,-0.86 0.03,2.56 -1.46,1.13 -0.88,0.69 -0.26,0.81 -0.26,-1.15 -0.23,0.9 -0.62,0.75 -0.11,-1.06 -0.79,0.58 -0.52,-2.38 -1.15,-4.56 -1.56,-6.27 1.17,-1.53 -3.4,-2.26 -0.76,-3.09 1.6,-0.72 2.09,-1.06 0.18,-1.93 -2.43,-0.94 1.25,-2 -0.22,-2.35 z m 6.09,10.81 c 0.03,1.88 0.88,2.41 0.6,0.18 -0.25,-0.23 -0.31,-0.96 -0.6,-0.18 z",DO:"m 272.83,184.89 c -0.53,-1.77 0.29,-3.1 0.36,-5.21 2.54,-0.49 5.56,1.5 6.64,1.93 -2.86,-0.43 5.6,2.18 1.12,2.37 -2.45,-0.36 -4.34,0.19 -6.19,0.35 -0.48,1.5 -1.01,2.47 -1.93,0.57 z",GW:"m 425.53,200.98 c 2.38,-0.33 4.57,-1.22 7.02,-1.01 2.59,-0.24 0.04,1.59 1.2,2.64 -2.43,-0.49 -3.7,3.48 -4.57,1.09 0.75,-1.43 0.86,-0.14 -0.24,-1.09 2.76,-0.42 0.44,-0.85 -1.35,0.03 2.05,-1.52 -2.31,0.28 -0.46,-1.61 -0.69,0.1 -0.93,0.55 -1.61,-0.05 z",GH:"m 463.12,218.04 c -0.22,-3.53 2.96,-6.14 1.13,-9.66 -0.36,-2.09 -1.06,-4.54 2.09,-3.68 2.18,0.85 5.88,-1.57 5.79,1.26 1.67,1.44 -0.15,3.04 1.26,3.69 0.13,2.29 0.34,4.75 0.19,7.43 1.73,0.4 1.94,2.6 0.15,2.09 -0.84,-0.97 -1.55,-0.77 0.01,-0.12 -3.22,0.88 -6.4,4.07 -9.73,2.5 -1.54,0.11 1.78,-1.18 -0.32,-1.76 0.11,-0.64 -0.23,-1.24 -0.57,-1.76 z",AT:"m 498.33,102.64 c 0.57,-1.73 2.38,0.79 3.17,-0.71 2.12,0.58 4.66,-0.95 6.64,-0.11 -1.9,-2.04 1.39,-2.14 2.12,-3.4 2.58,1.59 3.61,-1.95 6.56,0.05 3.57,-0.79 2.09,3.65 1.2,3.27 -0.3,2.95 -3.14,2.19 -5.71,3.3 -2.34,-0.32 -6.06,-0.31 -7.08,-1.78 -2.62,0.75 -4.48,0.69 -6.73,-0.02 l 0.01,-0.32 z",SE:"m 503.07,69.37 c 2.29,1.64 0.79,-3.19 3.48,-2.93 1.06,-1.32 -1.91,-2.64 0.84,-2.85 0.63,-1.42 -2.73,-1.22 -1.44,-3.27 -1.05,-2.33 -0.33,-5.19 2.99,-4.95 1.69,0.79 3.22,-1.25 0.83,-1.43 2.34,-0.66 2.48,-3.52 3.11,-4.4 1.67,-0.14 3.98,-2.03 4.49,-3.23 -1.16,-1.42 3.27,-2.43 4.88,-2.38 -0.36,-2.99 6.56,0.79 5.61,-1.45 0.75,-2.79 6.02,1.11 8.74,1.36 1.76,0.22 -0.56,2.09 1.31,2.27 -1.16,0.73 1.47,1.77 -0.24,2.84 2.9,2.24 -1.35,1.51 -1.95,1.63 -2.18,-0.67 -1.63,1.02 -3.03,0.7 0.16,0.51 -1.39,0.13 -0.93,1.34 -3.45,0.72 2.08,1.59 -1.5,2.46 -1.99,1.99 -4.11,1.55 -6.45,2.85 -1.95,0.25 0.37,0.75 -1.88,0.98 0.4,0.08 -1.63,-1.45 -0.21,0.24 -0.86,0.96 -1.99,0.69 -1.09,1.46 -0.52,2.59 -1.41,0.78 -1.07,2.37 -0.25,3.19 3.46,1.91 4.93,4.05 0.88,1.07 -4.17,1.6 -0.98,1.79 -0.31,-0.45 -1.15,1.75 -2.7,0.64 0.72,1.18 -3.27,1.21 -3.17,1.26 2.66,0.54 -1.56,0.14 0.83,1.06 -0.62,1.31 -0.04,1.66 -1.19,4.34 -0.86,3.05 -6.6,0.05 -5.62,3.58 -2,-0.05 -4.22,0.96 -4.17,-1.25 -1.78,-1.45 1.78,-1.69 -1.27,-3.17 -1.84,-1.15 -1.31,-2.93 -1.87,-3.66 -0.87,-0.06 0.36,-0.36 -0.86,-0.2 -0.39,0.39 -0.79,-1.77 -0.43,-2.02 z m 19.78,5.86 c 1.67,-0.89 2.56,-3.93 -0.46,-1.71 -0.09,0.69 -0.24,2.77 0.46,1.71 z m -5.45,1.61 c 0.61,1.22 3.14,-5 0.72,-1.2 -0.33,0.31 -0.83,0.66 -0.72,1.2 z",TR:"m 544.2,124.61 c -0.19,-3.46 5.6,-2.64 5.36,-2.55 1.31,-0.09 3.86,0.31 2.53,-0.61 2.88,-0.79 2.42,0.17 0.35,-1.24 2.89,-0.92 6.58,0.52 9.35,-1.99 3.33,-0.86 6.8,-1.32 9.09,0.22 1.54,0.31 3.87,1.67 6.25,1.93 3.71,0.27 7.46,-0.25 10.79,-1.28 2,-0.43 3.08,-0.35 4.43,0.78 1.22,1.57 -0.08,3.67 2.78,3.29 2.74,1.29 -2.71,1.04 -0.37,3.34 -0.08,2.03 0.48,2.83 1.38,4.65 -1.79,0.36 -4.56,-1.14 -6.84,-0.22 -3.3,-0.31 -6.8,1.88 -10.22,1.34 -1.74,-0.49 -4.1,0.38 -5.62,0.15 0.58,1.1 -1.19,2.8 -1.8,1.96 -1.11,-0.92 2,-3.14 -0.57,-2.19 -0.84,1.09 -4.26,-0.84 -5.19,1.34 -2.98,3.2 -7.33,-4.03 -9.27,-0.46 -1.59,2.06 -4.09,-0.49 -5.63,-0.92 -1.1,0.37 -1.36,0.57 -1.51,0.13 -4.23,0.77 3.27,-0.76 -0.58,-0.85 -2.1,0.18 -1.05,0.28 -0.63,-0.64 -1.89,-0.4 -0.01,-2.04 -2.33,-2.61 -1.69,0.79 -0.65,-2.62 0,-0.43 2.24,0.08 -0.69,-0.86 0.78,-1.55 -1.97,-1.18 1.52,-2.33 -2.52,-1.57 z m -0.08,-3.56 c 2.53,-1.48 -0.23,-4.36 3.83,-3.6 1.87,-0.15 2.85,1.97 4.5,2.55 -2.73,0.01 -5.63,0.78 -7.84,2.96 0.29,-1.45 3.13,-1.91 -0.16,-1.53 l -0.21,-0.12 z",UG:"m 553.91,238.9 c -0.39,-4.17 2.3,-6.77 4.75,-9.42 -2.41,0.04 -1.63,-5.56 0.75,-4.17 1.7,0.21 3.32,-0.39 5.57,-0.42 2.14,-2.38 2.72,2.71 4,4.52 0.43,3.24 -4,4.5 -2.99,8.06 -1.04,2.18 -5.96,0.5 -8.56,0.92 -1.39,0 -2.88,2.34 -3.52,0.5 z",MZ:"m 555.68,277.82 c 3.38,-0.51 7.85,-4.21 10.07,-1.42 4.51,-0.87 -0.98,5.86 3.59,6.74 0.61,2.22 -0.65,-2.7 1.56,-2.32 2.53,-3.74 -2.44,-6.16 -3.24,-8.98 -1.9,-4.36 3.49,-4.31 5.89,-3.25 1.32,-0.53 2.84,0.44 3.87,-1.29 2.26,1.88 7.76,-4.55 6.8,-0.28 -0.52,2 0.53,4.58 0.1,6.64 0.2,2.16 0.97,3.01 0.4,4.25 -0.43,1.98 -3.01,5.04 -5.57,5.78 -3.19,1.08 -5.18,2.18 -6.33,4.8 -1,-0.6 -4.36,4.09 -4.82,2.41 0.15,2.61 1.46,4.11 1.84,6.62 -0.17,2.65 1.06,-1 0.49,1.71 0.65,1.67 -1.08,3.66 0.13,3.82 -0.58,3.45 -10.01,3.24 -7.47,6.38 2.13,1.12 -2.26,3.35 -1.99,0.39 -0.65,-3.17 -0.44,-6.79 -1.88,-10.02 -0.89,-2.83 3.92,-3.48 3.06,-6.29 2.7,-1.94 -0.57,-4.19 1.33,-6.02 -0.33,-2.62 0.82,-5.75 -2.86,-5.66 -2.16,-2 -5.13,0.08 -4.95,-4.02 z",JP:"m 856.18,127.94 c -1.84,1.01 0.27,2.23 0,0 z m 8.64,-20.15 c 0.38,2.34 0.31,7.64 -3.24,5.92 0.46,1.55 -3.12,2.39 -0.87,4.1 -1.78,2.55 5.43,-0.24 1.23,-0.76 -1.88,-2.01 2.04,0.05 3.04,-1.31 1.98,0.42 4.65,3.42 5.48,-0.05 1.5,-1.31 5.08,-0.78 5.48,-2 -1.46,0.31 -1.51,-1.51 -0.94,-2.78 -2.12,2.33 -5.03,0.1 -7.2,-1.25 -0.96,-0.69 -1.68,-2.33 -2.98,-1.87 z m -25.3,33.26 c -1.96,1.25 -0.79,0.12 0.08,1.06 -0.66,1.4 2.1,2.1 2.13,-0.17 1.59,-0.98 2.83,0.63 3.83,-1.61 -0.73,-3.04 -3.47,0.43 -4.98,-0.63 -0.33,0.44 -0.48,1.13 -1.04,1.36 z m -4.43,-0.85 c 1.96,-0.48 3.46,0.68 4.31,-1.17 2.06,0.38 3.71,-0.69 5.65,-1.14 1.06,0.33 3.92,-0.05 1.52,1.29 -0.04,2.5 3,2.91 3.71,0.24 2.76,0.37 -1.03,-2 1.2,-2.22 -0.8,1.25 2.05,-0.16 0.73,1.18 2.25,-0.07 3.07,-0.2 4.69,-1.45 -0.84,1.6 1.08,1.49 1,-0.46 1.69,1 1.25,-1.62 2.53,-0.79 -2.34,2.74 0.98,1.33 1.51,-0.29 0.85,-0.39 -0.74,-3.11 1.07,-3.95 0.41,-1.16 -0.91,-4.42 1.52,-3.5 0.7,-2.16 2.14,-4.91 -0.38,-6.96 1.19,-1.59 -1.49,-2.88 -1.55,-1.2 2.79,-0.41 -0.65,2.12 -0.91,-0.01 -0.96,0.48 -1.8,1.83 -1.8,3.26 -1.26,0.07 2,1.61 -0.15,3.1 -1.01,2.68 -5.58,6.7 -7.62,5.5 -0.92,-0.68 2.17,-2.09 -0.47,-1.18 -0.41,1.88 -2.34,3.69 -2.79,5 -2.16,1.03 -1.9,-1.28 -4.8,0.22 -3.81,-0.99 -5.72,2.44 -9.06,3.44 l -0.04,0.57 z m -3.05,1.69 c -1.65,0.19 1.8,1.81 -0.39,1.11 1.03,1.15 2.45,0.91 1.24,-0.52 3.49,0.55 -2.05,4.9 1.23,5.48 -0.19,-1.7 1.19,-1.77 0.25,0.42 2.1,-0.6 3.06,-4.2 3.57,-5.74 -1.92,-0.54 0.47,-2.18 -2.22,-1.51 -0.75,-2.25 -2.9,0.43 -3.68,0.77 z m -5.99,20.39 c 1.34,-1.15 2.28,-2.78 0.65,-1.35 -0.25,0.41 -0.91,0.79 -0.65,1.35 z",NZ:"m 980.38,359.42 c 1.59,0.63 -0.23,-0.77 1.18,-0.76 -2.77,0.04 -0.77,-0.16 -1.18,0.76 z m -23.67,-7.74 c 2.14,2.42 4.24,-1.63 5.73,-3.43 -0.09,-1.29 0.81,-3.97 2.77,-2.23 0.11,-1.33 3.61,-5.66 -0.04,-4.42 -2.7,2.86 -6.03,-1.77 -6.17,-2.62 -1.34,-2.4 0.57,3.23 -1.32,0.45 -1.54,0.37 -1.17,-2.95 -2.07,-3.17 1.31,0.47 -1.09,-2.61 -0.89,-1.21 -0.64,-1.78 -3.1,-0.5 -3.03,-2.47 -1.58,-0.97 0.72,3.28 1.2,2.63 -0.84,-0.87 2.64,4.36 1.51,2 1.37,-0.12 1.56,1.23 0.71,1.18 0.74,1.83 2.19,0.91 1.26,2.12 0.85,1.57 0.3,5.01 -2.42,5.22 0.8,1.83 6.18,3.35 2.38,6.16 h 0.35 z m -23.16,13.34 c 1.43,-0.64 -0.04,1.31 2.71,0.51 2.11,0.86 4.97,2.3 7.18,0.16 2.23,-1.12 1.62,-1.84 3.08,-4.28 1.22,-2.98 4.59,-2.2 5.41,-2.8 -2.75,-1.32 2.77,-3.59 3.2,-5.59 -1.26,-1.38 1.75,-1.87 -0.72,-1.42 1.64,-1.35 -1.32,0.96 -0.13,-0.9 -1.84,1.5 -2.02,0.63 -3.02,-0.32 -1.28,-0.72 1.64,-1.16 -0.99,-0.6 -1.6,2.24 -2.96,4.34 -4.78,6.58 -3.04,1.83 -7.46,3.44 -9.11,5.24 -1.94,0.98 -0.67,1.81 -2.02,1.88 -1.19,0.79 2.01,-0.37 -0.12,0.44 1.48,0.34 -1.01,0.13 -0.68,1.1 z m 4.23,2.52 c 0.39,-1.85 -2.66,1.98 0.05,0.67 1.38,0.02 -0.1,-0.55 -0.05,-0.67 z",CU:"m 241.98,175.35 c -2.12,-0.41 1.52,-2.41 0.61,-0.14 z m -5.53,-1.26 c 2.2,-0.06 1.37,-3.05 4.41,-3.05 3.72,-0.8 5.87,-0.72 9.13,0.22 1.3,1.13 4.9,1.77 6.58,3.1 1.31,0.86 -0.15,-0.99 1.4,0.57 -0.58,0.42 2.65,0.95 4.2,1.75 -1.67,0.65 7.22,1.75 2.29,2.73 -2.01,0.36 -5.38,-0.1 -8.08,0.44 1.59,-1.04 2.34,-2.98 -0.59,-2.44 -1.98,-0.84 -1.67,-3.44 -4.25,-2.54 -2.82,-1.76 -5.11,-1.09 -7.22,-2.28 3.23,-0.68 -3.4,-1.54 -3.71,0.57 -1.75,0.07 -2.86,1.63 -4.15,0.93 z",VE:"m 268.42,209.82 c 0.97,-2.58 3.12,-7.68 5.32,-7.2 -3.36,0.3 1.55,3.51 -1.64,5.08 -0.12,3.73 4.58,2.02 1.93,-0.83 -2.24,-2.86 4.14,-3.18 4.38,-3.78 -2.75,0.43 -0.26,-3.72 0.01,-0.24 1.91,0.5 4.17,1.08 4.61,3.31 3.18,-1.09 6.18,0.35 8.7,1.24 2.75,-1.2 3.12,-1.35 2.53,-1.66 1.61,-0.19 8.79,-0.45 3.86,0.26 -2.39,-0.24 1.52,1.3 -0.96,1.24 1.21,-0.35 1.63,0.38 2.13,0.76 -0.13,0.15 0.68,0.47 0.21,-0.33 0.87,0.79 2.07,-0.05 3.73,1.72 -0.17,0.75 -2.12,2.37 -1.78,2.29 0.79,0.3 6.07,-1.08 3.6,1.46 -3.33,1.26 1.48,3.28 -2.31,3.6 -1.81,1.84 0.24,3.32 0.99,5.23 -1.62,1.67 -4.02,1.65 -5.92,2.58 0.24,2.11 -2.51,-0.76 -3.65,-0.22 -3.92,-1.92 0.79,2.1 0.24,4.27 3.91,0.06 -0.98,2.09 -1.1,2.94 -1.76,0.26 -2.96,3.24 -3.63,1.35 -3.83,2.2 -3.61,-4.88 -5.84,-5.46 2.84,-1.65 -2,-5.15 0.54,-7.64 1.68,-4.03 -5.54,0.73 -6.18,-2.84 -1.67,-2.55 -5.64,0.37 -7.24,-2.33 0.7,-1.68 -0.57,-5.67 -2.53,-4.79 z",PT:"m 445.98,125.1 c 1.66,-1.86 2.37,-5.18 1.31,-6.81 0.24,-1.34 2.63,-1.51 2.05,-0.28 2.16,-1.06 7.75,0.04 3.38,2.22 0.21,1.55 0.62,4.19 -1.74,3.81 2.54,1.22 -0.16,3.54 1.44,4.41 -1.67,1.35 -1.15,4.11 -4.28,2.74 -2.59,1.02 1.31,-5.72 -1.84,-3.62 0.53,-1.15 1.43,-1.51 -0.56,-0.75 -0.57,-0.46 0.26,-1.17 0.24,-1.72 z",CO:"m 252.95,231.17 c -0.47,-0.82 1.85,-0.35 0.81,-1.95 2.5,-0.46 3.03,-2.26 4.08,-4.06 -0.63,-0.77 -0.28,-1.72 -0.65,-4.65 1.16,-2.12 -1.46,-4.1 -0.91,-6.37 2.5,1.42 -0.06,-4.87 1.91,-1.82 1.43,2.74 -0.39,-2.04 2.18,-2 2.56,-1.09 1.18,-3.33 2.83,-4.85 0.82,-1.6 2.69,-1.01 2.08,-0.06 1.3,-2.42 5.88,-1.87 7,-4.17 0.13,-0.9 4.12,0.24 1.1,1.26 -2.95,0.87 -4.41,5.94 -4.39,7.25 2.84,-0.06 0.85,5.72 3.84,6.14 3.15,-0.97 5.11,0.97 7.27,2.49 2.47,-0.41 6.43,-0.86 3.69,2.39 -0.77,2.77 2.44,5.6 0.14,6.98 2.41,-0.07 2.68,7.45 1.64,2.71 -0.67,-1.62 -2.32,0.65 -2.92,-0.01 -1.16,1.25 -5.74,-1.2 -4.46,2.22 2.38,-0.47 2.33,1.82 0.01,1.18 -1.81,2.49 3.12,5.09 0.67,8.27 -0.55,2.31 0.13,6.66 -2.61,4.32 -1.04,-0.94 3.03,-3.69 -0.15,-3.93 -2,-1.89 -6.61,2.13 -7.17,-1.54 -1.85,-1.51 -3.21,-3.79 -5.46,-5.19 -2,-0.1 -3.19,-1.6 -5.33,-1.01 -1.52,-1.26 -3.67,-1.92 -5.19,-3.56 z",MR:"m 424.61,177.22 c -0.18,-2.88 3.65,-1.21 5.47,-1.61 1.9,-0.07 3.87,0.15 5.71,-0.11 -0.74,-2.93 -0.09,-5.47 2.88,-6.22 0.32,-2.63 -1.73,-8.14 2.76,-6.78 2.11,-0.06 4.26,0.13 6.34,-0.11 0.26,-2.03 -0.54,-4.73 2.1,-2.35 2.48,1.6 7.23,3.93 8.25,5.27 -1.49,0 -2.98,0 -4.47,0 1.24,7.82 1.65,15.77 2.77,23.59 2.5,5.12 -5.53,2.42 -8.24,3.23 -2.38,-0.56 -5.24,0.51 -6.98,0.52 -2.36,-3.17 -1.71,3.69 -3.97,0.76 -2.4,-2.45 -4.97,-5.97 -9.03,-4.15 -1.92,-0.86 -2.62,2.9 -1.79,-0.59 2.27,-2.58 -0.3,-7.76 0.03,-8.08 1.44,-2.05 -1.06,-4.04 -1.7,-3.88 z",AO:"m 505.24,249.73 c 1.06,-2.15 4.38,-1.73 1.43,-0.01 -0.06,3.73 -1.21,1.68 -1.43,0.01 z m -0.75,34.43 c -0.43,-3.48 1.32,-6.18 1.89,-9.52 0.53,-3.17 4.76,-4.24 3.86,-7.99 -0.67,-2.52 -3.67,-6 -1.22,-6.6 0.42,-2.56 -3.79,-5.84 -2.23,-7.43 3.48,-0.43 8.63,-1.53 11.43,0.41 0.16,3.55 2.62,6.51 6.32,5.06 2.05,-0.06 0.7,-3.78 3.81,-3.01 0.94,0.03 0.46,1.77 2.4,1.03 3.94,-0.19 -0.04,5.91 2.74,7.85 0.65,1.46 -1.06,4.29 1.57,2.75 3.2,-0.66 3.98,-0.14 3.38,3.14 1.5,5.03 -7.79,-0.5 -5.61,5.38 -0.48,3.98 0.1,8.09 4.15,10 -3.67,0.81 -7.28,1.24 -10.98,0.58 -3.36,-1.38 -6.89,-1.35 -10.78,-1.21 -4.13,0.37 -6.81,-1.83 -10.75,-0.44 z",DE:"m 510.16,83.58 c 0.63,-0.95 1.7,1.39 0.28,0.42 -0.06,-0.51 1.11,-0.31 -0.28,-0.42 z m -1.91,-0.81 c 0.29,-1.17 1.74,-0.71 1.27,0.04 -0.42,0 -0.91,0.39 -1.27,-0.04 z m -13.09,-1.84 c -0.92,1.13 0.26,0.4 0,0 z m 0.4,0.28 c -0.93,0.06 0.94,0.06 0,0 z m 1.14,0 c -0.85,-0.17 0.1,1.88 -0.49,1.71 -0.35,0.34 2.73,2.01 2.47,1.98 -1.79,-2.3 -3.58,0.65 -3.51,0.01 -0.07,0.76 -4.12,-1.38 -3.41,0.7 1.74,0.46 -2.97,2.47 -0.29,2.83 -0.71,2.07 -4.39,0.32 -2.35,2.67 -1.72,1.83 1.3,2.48 0.02,4.05 0.58,1.79 2.43,2.59 4.8,2.63 1.09,-0.33 -3.22,5.13 0.68,4.01 1.11,-1.14 4.44,0.48 6.08,0.54 1.81,-0.1 5.13,-1.41 7.28,-0.3 -1.19,-1.95 0.91,-2.39 2.28,-3.45 -1.92,-1.32 -6.51,-4.24 -3.32,-4.71 2.63,-0.73 4.66,-1.76 6.27,-1.77 -0.5,-1.5 -0.12,-3.85 -1.78,-4.92 1.1,-1.9 -1.09,-3.73 -2.81,-4.21 -0.88,-0.97 -3.87,0.28 -1.14,-0.43 -2.35,0.63 -3.33,1.16 -5.29,1.44 -0.74,-0.78 1.55,-1.66 -0.99,-1.3 -2.62,0.04 -0.5,-1.54 -4.5,-1.47 z",SD:"m 570.73,170.57 c -2.63,0.94 -4.06,5.29 -7.24,3.16 -3.38,0.23 -4.32,-0.56 -7.36,0.02 -4.97,0 -9.94,0 -14.9,0 -0.25,2.4 1.29,6.69 -2.45,5.63 -1.09,3.03 0.86,9.72 -1.01,11.93 -3.25,-0.03 -3.01,4.18 -4.46,5.78 1.11,1.37 -2.43,3.26 0.78,2.88 -0.09,2.13 1.2,3.44 1.72,5.6 3.53,1.87 -0.67,6.52 3.46,5.66 1.28,-1.28 0.81,-3.4 2.08,-4.86 2.28,-3.07 2.9,3.17 5.53,1.67 2.07,-0.75 4.03,2.41 5.57,-0.39 1.7,-0.24 2.31,-3.24 4.22,-0.43 2.37,0.91 4.6,-3.2 4.67,-5.07 -0.08,-1.6 -1.33,-1.84 0.95,-1.89 0.3,-1.87 2.28,-0.18 1.05,1.27 -0.14,2.63 2.85,4.67 2.53,6.51 1.7,-0.03 1.07,-3.87 2.87,-2.76 -0.47,-3.3 3.08,-4.68 3.64,-6.92 1.05,-3.04 0.78,-6.4 1.91,-9.4 0.5,-2.13 7.1,-3.34 2.97,-5.26 -3.39,-1.34 -1.59,-6.55 -2.49,-8.22 -0.46,-2.5 -2.62,-3.15 -4.02,-4.91 z m -31.67,40.88 c -0.81,0.98 0.37,0.36 0,0 z",TH:"m 741.93,183.35 c 2.23,0.61 0.18,-4.66 3.68,-3.29 1.64,-0.78 3.08,-2.49 4.83,-1.43 -0.46,2.03 0.96,2 2.18,2.36 0.78,1.75 -2.19,7.33 1.32,4.33 0.93,-1.95 3.82,1.42 4.39,-1.39 3.6,-0.35 4.08,3.63 4.74,5.91 2.02,0.95 2.14,4 0.43,5.64 -2.29,-0.61 -6.2,-1.05 -7.24,1.99 -1.45,0.48 2.75,7.69 0.09,3.84 -0.68,0.12 -2.15,-2.05 -4.64,-1.33 1.64,-3.49 -3.45,-2.96 -2.56,0.21 0.04,3.19 -3.25,5.95 -2.05,9.21 2.48,-0.33 3.27,4.51 3.3,5.61 -1.87,-3.06 0.99,2.69 3.08,1.41 2.88,1.99 0.28,3.65 -1.46,2.95 1.04,-1.79 -2.61,-2.53 -2.74,-2.3 -1.12,-1.85 -1.8,-2.07 -3.03,-3.96 -0.79,-1.73 -2.47,0.52 -1.87,-2.29 -0.38,-4.12 5.04,-6.66 3.14,-10.45 -0.44,-2.75 -1.62,-4.86 -3.33,-7.09 1.02,-0.93 1.38,-2.68 1.89,-3.94 -0.71,0.38 -1.61,-2.78 -3.04,-3.56 0.11,-1.31 -0.76,-1.44 -1.12,-2.41 z",AU:"m 791.49,330.29 c 2.22,-0.61 0.81,-3.23 1.35,-3.26 0.11,-3.48 -2.66,-6.34 -2.72,-9.87 -1.04,-2.38 -3.46,-6.91 -3.96,-7.92 -0.32,-0.75 1.81,2.65 1.06,0.08 -1.89,-1.68 0.38,-2.2 0.04,-0.08 0.58,-1.11 1.32,2.13 1.48,-0.5 -1.84,-2.55 -3.18,-5.44 -1.22,-8.35 -1.21,-1.64 1.49,-5.18 0.83,-1.49 2.25,-2.24 5.68,-5.3 8.69,-5.12 3.16,-0.68 5.84,-2.23 9.27,-2.56 2.63,-0.92 3.32,-3.52 4.69,-5.04 -1.41,-1.75 2.24,-5.39 2.3,-3.34 1.25,2.77 1.12,1.55 1.8,0.85 1.47,-0.05 -1.6,-1.49 -0.25,-2.15 -0.62,-0.78 2.79,0.71 2.77,0.08 -1.8,-0.46 1.11,-1.31 -0.78,-1.83 0.35,-2.27 2.85,0.37 1.53,-1.36 -0.71,-0.63 2.12,0.16 0.7,-1.33 0.83,-0.19 1.58,-2.32 1.2,-0.37 1.82,0.48 0.79,-3.25 1.65,-1.29 0.67,-0.2 1.52,-0.17 2.1,-1.11 2.29,0.21 3.67,4.58 3,4.35 0.52,0.45 0.86,-2.72 2.97,-0.78 0.29,0.69 0.33,-1.37 1.29,0.37 -0.4,-0.52 1.58,-1.1 -0.06,-1.51 0.74,0.21 -1.69,-1.36 0.43,-1.8 -0.06,-1.85 2.25,-1.31 1.33,-2.93 1.48,-0.55 0.59,-2.1 2.15,-0.89 -0.94,-2.38 3.04,-0.45 4.05,-1.18 1.86,-0.94 -0.62,-2.21 -1.7,-2.65 1.28,0.17 0.77,-0.92 2.45,0.71 0.63,-0.77 2.6,1.36 3.21,0.84 1.4,0.66 3.93,1.65 4.79,0.4 1.96,-1.3 -0.68,1.49 1.03,0.73 1.07,1.52 1.41,-2.07 2.08,-0.07 1.34,0.47 -1.12,2.28 -0.55,2.66 -1.11,-0.21 -2.16,0.86 -1.46,1.97 -1.19,1.83 -2.53,3.38 0.37,4.36 2.4,1.97 5.27,3.02 8.25,4.58 2.66,4.45 7.1,-0.33 6.64,-4.26 0.64,-2.11 -0.6,-7.36 1.17,-7.41 -1.54,-1.68 0.84,-2.32 0.7,-5.3 1.91,-2.41 1.62,2.91 2.73,3.04 1.28,1.63 0.3,6.44 2.73,6.53 1.46,-0.82 3.69,1.89 3.32,3.67 0.61,3.17 2.37,4.32 2.29,7.52 0.2,1.62 1.99,3.14 3.41,2.71 0.65,1.97 2.53,1.64 3.8,2.69 0.47,0.26 -0.89,1.6 0.83,1.83 1.17,1.86 1.88,5.94 2.95,3.73 1.84,0.39 1.6,1.25 2.07,3.57 1.45,-0.32 0.24,1.18 2.14,1.3 1.76,1.71 3.34,4.29 4.26,5.55 -1.36,3.4 2.44,5.95 0.59,9.3 -1.26,3.24 -0.54,7.74 -3.5,9.71 -1.67,0.98 -2.22,2.93 -3.4,4.84 0.03,2.08 -1.93,2.42 -2.2,5.28 0.47,3.49 -1.89,4.72 -5.46,4.37 -1.69,0.74 -4.28,2.3 -5.05,2.95 1.38,0.61 -2.78,-0.25 -2.36,-1.91 -1.21,0.89 -2.66,0.73 -0.99,-0.26 -1.04,-1.73 -1.87,0.42 -1.43,0.41 -2.75,3.08 -5.83,-0.71 -8.88,0.26 -2.22,-1.14 -5.08,-2.7 -4.63,-5.8 -1.21,-1.52 -3.23,-2.95 -0.52,-0.82 1.39,1.17 -2.72,-2.42 -0.62,-1.09 -0.06,-2.24 -2.63,1.53 -3.09,-0.47 2.22,-1.63 -1.2,-5.85 -1.29,-1.34 -1.47,1.42 -3.85,0.01 -0.79,-0.32 -0.06,-2.15 2.52,-5.48 0.97,-6.19 -0.45,2.95 -4.21,3.34 -5.39,5.77 1.68,1.61 -3.7,-0.88 -1.29,-0.71 -0.16,-2.72 -2.99,-3.32 -3.23,-4.96 0.26,-0.87 -2.59,-1.94 -4.61,-2.05 -2.96,-1.22 -6.47,-1.72 -9.95,-0.76 -3.74,2.19 -8.2,0.83 -11.77,3.34 -2.38,0.79 -3.1,4.24 -6.11,2.78 -2.76,0.09 -7.41,-0.79 -9.12,1.7 -2.95,0.97 -5.53,2.7 -8.77,0.95 -0.79,-0.98 -5.26,-2.21 -2.32,-3.31 z m 90.47,17.83 c 1.93,2.47 0.52,-2.1 0,0 z m -11.14,0 c 1.48,1.07 0.1,-2.86 0,0 z m 9.64,7.83 c 0.39,1.2 1.83,-0.28 1.11,0.95 1.34,0.97 0.48,-4.13 1.87,-2.77 0.18,-2.25 -0.41,-4.84 -2.96,-3.2 -1.65,1.37 -5.44,-1.05 -7.36,-0.47 -0.42,2.13 3.78,5.1 1.59,4.31 -0.12,2.14 3.71,2.53 2.25,3.28 1.32,0.04 2.92,0.54 2.84,-1.03 0.68,0.92 1.13,-0.65 0.67,-1.08 z m -27.37,-18.87 c 4.04,-0.72 -1.41,-1.98 -2.43,-0.45 0.61,0.92 1.68,-0.14 2.43,0.45 z m -17.24,-69.43 c -1.28,-0.58 -3.73,-0.24 -0.99,1.44 1.71,0.6 2.21,-2.97 0.99,-1.44 z m -2.05,1.26 c 0.84,-1.66 -2.21,-0.8 -0.55,-0.1 z",PG:"m 878.44,241.91 c 0.38,-1.94 3.55,0.33 0.52,-0.28 l -0.27,0.12 z m 23.31,11.21 c 0.44,2.12 4.23,2 1.66,-0.11 -1.33,-1.54 -3.89,-3.41 -1.66,0.11 z m -6.43,-6.65 c -1.02,-1.69 -7.66,-4.86 -3.27,-2.06 2.63,0.3 3.1,3.93 4.06,4.53 0.86,-0.9 0.27,-2.19 -0.79,-2.47 z m -5.01,17.27 c 1.29,0.67 1.17,-0.09 -0.41,-0.7 l 0.25,0.34 z m -5.57,-11.37 c 2.18,1.61 6.09,0.82 7.63,-1.15 2.41,0.24 0.05,-1.92 2.11,-2.38 0.29,-2.22 -3.39,-1.69 -2.14,0.63 -1.15,0.47 -4.02,3.23 -4.25,0.64 0.41,-0.42 -1.53,2.45 -3.13,1 -2.21,-0.35 -2.21,0.62 -0.21,1.26 z m -21.82,8.94 c 0.3,-3.07 -0.44,-6.05 0.01,-8.89 0.2,-2.99 -0.51,-7.15 0.5,-9.44 2.67,1.59 5.78,2.02 8.42,3.39 2.57,0.46 4.08,3.15 5.01,4.82 1.45,0.26 7.22,2.26 4.05,3.42 -3.79,-0.23 1.5,3.53 1.92,4.33 0.26,1.95 2.05,2.12 3.05,2.48 -1.12,1.72 3.73,0.92 1.16,1.82 0.85,1.51 4.63,0.93 1.81,1.61 2.04,1.17 -1.89,0.41 -1.22,0.26 -2.15,-1.44 -4.95,-0.07 -6.75,-1.87 -2.29,-1.7 -3.02,-5.59 -6.68,-5.64 -1.76,-1.77 -1.54,0.89 -3.91,-1.05 1.21,1.3 0.71,2.14 -0.81,1.29 2.25,2.18 -6.1,0.35 -0.96,1.49 2.94,2.84 -3.46,2.3 -5.06,2.15 l -0.26,0.03 z",IQ:"m 579.52,141.76 c 3.35,-1.23 8.01,-3.06 6.94,-7.36 0.04,-1.98 3.23,-3.11 4.84,-3.85 2.48,0.07 3.33,0.76 5,0.95 -0.02,2.44 3.84,3.56 3.45,3.77 0.58,1.72 -1.45,2.49 -1.72,3.64 -0.51,1.59 1.97,2.82 2.09,4.02 2.7,0.67 5.14,2.81 4.32,5.55 0.65,0.26 3.36,4.41 0.38,2.48 -3.04,-0.74 -3.3,4.74 -7.03,2.77 -3.58,-0.26 -5.88,-3.65 -8.86,-5.36 -2.74,-1.21 -5.2,-3.27 -8.37,-3.12 0.26,-0.46 -0.96,-2.2 -1.04,-3.49 z",HR:"m 520.86,114.99 c 1.93,-0.01 2.97,2.11 0.72,0.38 -1.74,-0.36 -3.2,-1.21 -0.72,-0.38 z m -11.29,-7.28 c 2.63,-0.58 5.72,0.79 5.65,-1.9 2.54,-2.52 4.79,1.54 8.03,1.02 1.28,-0.8 1.93,2.07 2.02,1.81 -1.06,1.36 -4.28,-0.31 -6.63,-0.24 -1.29,0.48 -4.75,-0.22 -2.16,1.72 0.08,2.02 4.02,3.27 4.12,4.66 -1.62,-1.77 -6.82,-1.63 -6.22,-3.67 0.49,0.88 -2.49,-4.97 -3.21,-2.02 -0.96,1.61 -1.74,-0.94 -1.6,-1.37 z",GL:"m 350.08,66.85 c -1.04,-0.38 1,-0.77 2.1,0 -1.44,-0.58 -0.63,0.6 -2.1,0 z m -72.85,-47.31 c 1.2,0.31 8.15,0.27 3.75,0.53 -1.87,-0.15 -3.55,0.83 -0.86,1.06 1.35,0.34 5.81,1 6.17,0.53 -3.96,-0.92 2.94,-0.21 2.81,-0.39 1.66,0.42 4.52,-0.36 6.93,-0.46 3.5,0.33 7.71,0.64 10.68,1.36 0.53,0.15 4.8,0.51 2.25,1.44 1.17,0.27 4.31,1.26 4.77,1.66 -0.04,0.42 3.72,0.85 0.63,0.9 2.78,0.13 -0.9,0.33 1.2,0.41 -1.34,0.2 -4.2,0.74 -1.17,0.47 1.83,-0.47 1.52,0.57 3,1.12 -3.5,-0.1 3.32,0.98 0.44,1.23 0.2,0.59 -1.07,0.55 1.18,0.62 0.86,0.88 1.41,0.65 0.08,1.39 4.92,0.42 -4.31,-0.02 -0.48,0.47 3.36,-0.43 -3.71,1.92 0.82,1.18 3.77,-0.89 -6.22,0.85 -0.86,1.72 0.07,0.06 4.32,0.05 3.55,-0.77 1.03,-0.13 1.48,-0.84 0.16,-1.91 0.56,-0.73 1.05,2.76 3.04,0.96 -4.13,1.84 6.46,0.3 1.37,1.29 -5.64,0.62 6.11,-0.2 0.75,0.31 -3.73,1.41 4.05,-0.34 -0.45,0.78 2.56,0.1 4.76,0.57 0.64,0.35 2.44,0.47 4.16,0.73 1.98,0.92 0.37,0.07 2.86,0.24 0.86,0.19 2.05,0.68 -3,-0.32 -0.02,0.48 -0.73,0.11 2.39,-0.09 0.34,0.39 -2.79,-0.54 -9.21,-2.3 -9.88,-0.72 2.87,1.02 8.68,1.77 9.51,1.79 2.13,-0.68 2.67,0.57 0.72,0.84 2.12,-0 -2.01,0.41 0.87,0.35 0.74,-0.44 -3.56,1.46 -0.75,0.75 2.42,3.6e-4 -0.62,0.59 1.22,0.73 -1.18,-0.49 -3.54,0.02 -2.16,0.67 1.93,0.24 -3.47,0.94 -2.71,0.41 -1.98,0.07 0.72,0.04 -1.67,0.31 0.82,0.26 -3.9,0.81 -0.58,0.46 -1.15,0.35 5.51,0.55 3.23,-0.24 1.62,0.13 2.65,-0.58 0.87,0.49 2.03,0.31 -1.81,0.02 1.04,0.48 2.46,0.43 2.02,0.59 -0.03,0.17 -2.22,-0.06 -5.34,-0.54 -4.8,-0.28 -3.64,-0.76 -0.29,0.72 1.46,0.45 -1.66,0.11 -3.3,-0.49 -2.82,-0.03 -0.4,0.14 -3.02,1.14 -0.29,0.96 2.47,-0.86 5.66,-1.26 3.09,-0.46 1.96,0.56 1.48,-0.58 3.2,-0.4 -2.02,0.32 0.8,0.61 0.77,0.07 3.15,0.31 -4.4,0.6 -0.14,0.68 3.01,-0.57 -2.16,0.45 1.19,0.45 -0.94,-0.05 -7.09,-1.23 -7.74,-0.39 -2.6,0.41 -2.17,1.61 0.28,0.88 1.75,0.09 5.92,-0.72 4.59,0.2 1.54,0.42 3.58,0.01 0.77,0.39 -2.16,-1.22 -8.38,-0.3 -7.04,0.09 1.57,-0.21 -1.61,0.22 0.89,0.23 -3.99,0.14 3.61,0.25 -0.16,0.39 0.18,-0.45 5.35,0.02 1.5,0.07 -1.54,-0.11 1.33,0.22 -0.73,0.31 3.14,0.03 -3.4,0.19 0.51,0.59 3.74,-0.33 -5.46,0.38 -0.54,0.69 -3.31,1.06 2.91,-0.19 3.76,-1.33 1.7,-0.44 4.12,-1.25 4.01,-0.7 1.32,-0.07 -4.05,0.36 -0.24,0.42 -2.39,-0.51 -7.95,2.07 -7.65,2.35 -1.96,0.45 2.19,-0.23 -0.21,0.3 1.56,0.11 6.15,-0.7 2.21,0.16 -2.55,-0.08 -1.9,0.59 -0.59,0.43 -0.34,0.72 0.51,-0.06 0.44,0.86 1.23,-0.68 5.28,-1.43 4.94,-0.74 -1.83,-1.11 -6.89,1.86 -3.64,1.1 -1.78,2.76 4.25,-0.2 0.3,1.38 -1.43,1.79 1.29,1.85 1.96,0.1 0.04,0.88 2.46,-0.1 0.7,-1.29 0.52,0.38 2.46,1.52 2.4,1.49 0.24,0.24 2.44,1.69 -0.14,0.55 -1.82,-1.32 -1.75,0.17 -0.32,0.23 -2.2,-0.1 -1.68,0.91 -3.99,0.61 1.13,-0.08 -0.22,0.55 1.7,0.33 1.58,-0.67 2.43,-0.51 2.43,-0.26 -1.74,-0.19 -5.32,0.95 -2,0.68 -3.84,0.82 0.54,1 0.56,0.78 -2.51,0.25 1.34,0.26 -1.27,0.55 3.05,0.5 1.1,-0.32 0.53,0.6 0.51,0.39 3.05,-0.58 1.27,0.6 1.22,0.05 0.04,0.72 1.31,0.16 -1.85,1.31 1.85,-0.48 -0.52,0.92 0.11,1.44 2.65,0.9 2.58,1.43 -2.95,0.92 3.57,-0.74 -0.06,0.77 0.14,0.79 2.09,-1.25 0.62,0.38 1.12,-0.55 -0.32,0.77 1.3,0.29 -4.1,0.51 3.79,0.01 -0.63,0.5 -0.06,0.32 1.66,0.07 1.2,0.74 0.75,0.37 1.48,-1.01 0.94,0.2 2.49,-0.05 -2.28,0.69 0.27,0.36 2.28,-0.26 -2.45,0.8 0.68,0.53 2.38,-0.21 -1.41,-0.27 1.14,-0.36 2.09,0.46 3.09,-0.42 4.44,-1.05 -0.6,1.36 -0.31,0.74 1.2,0.51 0.81,0 -3.01,0.96 -2,0.88 -0.67,0.72 3.94,-1.14 0.83,0.32 -0.23,0.43 -0.42,0.26 0.19,0.32 0.53,0.59 2.01,-1.02 0.68,0.26 0.53,0.01 1.7,-0.49 1.79,-0.24 -2.69,2.52 2.84,-1.05 -0.42,1.05 -0.16,1.61 3.24,-1.26 2.66,0.15 0.99,1.17 2.71,-0.08 0.94,0.01 2.82,0.35 0.35,-0.67 0.62,-0.92 -3.5,-0.59 0.22,-0.12 0.32,-0.21 2.15,-0.08 -2.6e-4,0.1 1.51,-0.39 -2.62,0.46 1.39,-0.27 -1.76,-0.42 2.04,0.25 1.61,-0.04 -0.16,-0.31 2.71,0.35 1.81,-0.58 -0.35,-0.54 2.71,0.37 1.38,-0.32 1.98,-0.15 1.57,-0.24 -2.6,-0.56 0.41,-0.38 1.75,-0.81 -3.03,-0.74 0.6,-0.68 1.57,-0.69 -2.52,-0.6 0.29,-0.59 1.17,-0.78 -0.56,-0.25 0.15,-1.5 -2.26,-0.93 -1.46,-0.34 0.46,-0.25 -0.23,-0.41 -4.35,-1.23 -1.13,-0.86 -0.38,-0.79 1.85,-0.54 0.49,-3.6e-4 1.37,-0.35 2.79,-0.62 0.66,-1.38 0.53,0.62 2.37,0.47 0.8,-0.03 2.98,1.02 -1.49,-1.48 1.15,-0.22 2.42,0.74 -1.98,-1.28 0.89,-0.09 -2.35,-0.7 3.25,-0.24 -0.72,-1.26 -1.15,-0.26 3.49,0.66 2.12,-0.6 -0.26,-0.82 -4.04,-0.72 -0.74,-1.02 3.71,0.7 -2.99,-2.72 1.28,-2.03 1.85,0.37 1.92,-1.01 1.14,-1.37 1.84,-0.42 3.25,-0.05 4.2,-0.36 2.05,0.4 -0.95,-1.43 1.26,-0.75 1.08,-0.91 -0.82,-1.61 1.16,-1.17 3.26,-0.42 -2.51,1.33 0.84,1.41 1.25,-0.64 2.63,0.03 4.93,-0.79 -1.93,-1.74 1.8,0.28 1.33,-0.61 2.18,-0.69 2.47,-0.97 3.61,-2.01 1.42,-0.93 1.89,-2.45 4.67,-2.36 0.28,-1.12 -0.69,-0.69 -0.63,-1.24 -1.23,-1.48 2.23,0.71 2.62,0.73 1.9,0.22 2.23,-0.23 2.32,-0.37 2.16,0.94 0.29,-1.07 2.9,-0.12 2.72,-0.54 5.43,-0.92 8.68,-1.16 2.84,-0.84 2.79,-1.58 4.89,-1.64 -1.03,-0.38 1.71,-0.69 1.87,-0.75 1.81,-0.33 -0.57,-0.64 1.71,-0.73 1.91,0.12 -0.57,-0.25 1.88,-0.31 2.99,-1.05 -4.32,-0.11 -5.76,-1.1 -2.97,-0.84 -6.86,1.37 -10.57,0.58 1.49,0.1 5.77,-0.51 5.57,-1.1 -1.94,-0.07 -6.85,0.28 -6.8,0.04 1.81,0.5 2.94,-1.78 2.21,-1.44 2.37,0.44 -0.22,-1.23 2.17,0.04 2.18,0.75 8.25,-1.6 2.87,-1.53 -2.29,-0.11 -3.09,-0.46 -5.68,-0.24 1.53,0.18 4.4,-0.39 1.22,-0.92 -0.07,0.32 -3.32,-1.14 -0.41,-0.33 3.63,2.13 9.05,0.12 11.64,3.95 1.84,1.75 4.21,-0.84 4.06,0.14 2.19,1.31 2.66,-0.71 1.88,-0.67 1.32,-0.91 -2.71,-0.71 0.22,-1.01 -0.69,-0.56 0.6,-1.07 -1.71,-0.59 -1.71,0.08 2.65,-1.75 -0.43,-0.81 0.18,-0.31 -2.77,0.14 -0.58,-0.59 -0.57,-0.82 -7.23,-1.51 -7.57,-1.55 -3.69,-0.03 4.51,0.2 0.78,-1.14 -2.45,0.05 -4.43,0.71 -4.44,-0.01 -5.34,-0.35 6.43,0.45 3.84,-0.79 -2.4,-0.56 -9.52,0.6 -3.87,-0.21 1.44,-0.47 -4.17,-1.17 -0.64,-0.56 1.58,0.85 6.31,-0.26 5.6,-0.61 -2.53,-0.68 -1.86,-1.31 0.15,-0.07 2.26,-0.72 4.76,-0.11 7.26,-0.03 -1.4,0.19 -7.18,-0.69 -3.04,0.55 2.61,0.32 7.08,0.96 8.43,-1.28 -2.06,-0.86 -4.62,0.06 -4.37,0.11 -0.93,-0.88 -2.16,-0.27 -0.58,-0.98 -2.68,-0.48 2.73,-0.08 0.09,-1.04 2.95,-0.04 6.03,1.67 8.79,0.26 -1.23,-0.81 -5.75,-0.36 -5.19,-0.49 2.25,-1.81 -4.72,-0.52 -3.67,-1.25 1.91,0.75 6.46,-0.28 2.18,-0.79 -1.54,-0.13 -3.22,-0.44 -0.55,-0.2 -4.3,-1.32 3.43,0.42 4.74,0.88 3.79,-1.39 -2.77,-3.43 -4.94,-2.39 -2.01,0.21 8.54,-0.13 3.5,-0.84 -2.11,-0.34 -2.46,-0.06 -0.28,0.36 -2.01,-0.29 -4.7,-0.75 -5.12,-0.95 2.34,0.01 0.16,0.12 1.47,-0.13 -0.75,-0.08 -3.92,-0.39 -1.14,-0.95 1.86,1.32 4.87,-0.52 1.21,-0.1 1.84,0.08 2.89,-0.01 2.47,-0.29 2,-0.79 7.37,2.12 7.18,-0.63 -2.26,-0.27 -4.39,-0.53 -6.74,-0.6 3.04,-0.01 0.35,-0.22 -1.06,-0.35 1.75,0.29 2.76,-0.31 0.28,-0.35 1.9,-0.2 7.71,0.39 2.93,-0.57 -2.53,-1.39 -5.38,1.85 -5.7,0.15 2.25,-0.98 -0.23,-0.77 1.63,-1.07 -0.15,-0.9 1.72,-1.28 -0.04,-1.17 1.23,-0.87 4.18,-0.78 6.45,-1.87 -4.29,0.69 0.27,-2.19 2.55,-1.44 4.73,-1.19 -2.21,-0.94 -4,-0.69 -1.73,0.37 -1.09,1.09 -3.02,0.61 1.88,-2.36 6.92,-0.48 10.29,-1.24 2.63,-0.27 2.82,-1.16 0.12,-0.99 -3.84,0.35 -7.67,-0.47 -11.49,0.12 1.35,-0.64 6.81,0.21 9.63,-0.74 2.17,0.36 7.34,0.16 7.65,-0.63 0.66,-0.8 5.84,-0.44 7.96,-1.82 -5.09,-0.65 -10.21,-1.31 -15.34,-0.63 0.5,1.64 -5.67,0.8 -7.6,0.93 1.55,-1.01 -3.99,0.56 -5.15,0.88 -2.91,0.58 -9.45,3.25 -4.08,0.7 2.06,-0.33 6.93,-3.18 2,-3.26 -3.57,0.24 -6.75,1.75 -10.45,1.85 -1.74,0.31 -2.71,0.34 -2.34,0.02 -0.92,-0.89 8.17,-0.04 4.82,-1.7 -6.82,-0.18 -13.65,0.3 -20.43,1.09 1.29,-1.99 7.63,-0.03 7.69,-1.44 -1.17,-0.48 -5.4,0.08 -1.92,-0.16 5.02,0.28 10.05,0.12 15.07,0.12 3.88,-0.52 7.9,0.06 11.65,-1.2 -3.81,-1.07 -6.85,-0.48 -9.93,-0.81 -1.28,0.3 -3.97,0.5 -1.1,0.11 3.16,-0.86 -2.93,-1.11 -4.29,-0.71 -4.73,0.17 -9.47,-0.2 -14.19,0.31 -2.97,0.04 -8.63,0.48 -9.42,0.46 -0.02,-0.8 7.39,-0.26 7.08,-0.72 -3.68,-0.42 3.37,0.34 4.75,-0.09 4.97,-0.37 9.98,0.22 14.94,-0.42 -2.84,-1.02 -6.66,-0.36 -8.36,-0.47 0.57,-0.19 -5.13,-0.42 -7.56,-0.34 -2.96,-0.3 -6.86,0.05 -7.72,0.04 -1.9,0.07 -6.83,-0.34 -6.75,0.27 0.56,0.48 -3.85,-0.53 -5.26,0.09 -2.91,0.78 7.57,0.72 2.53,0.92 -1.77,-0.1 -4.34,0.14 -1.2,0.16 5.43,0.03 -6.63,-0.4 -1.37,0.55 -2.92,-0.43 -7.67,-0.49 -9.54,-1.07 -2.13,-0.51 -4.02,-0.02 -3.22,0.06 -3.05,-0.15 -1.17,0.15 0.76,0.27 -1.87,-0.12 -7.22,-0.27 -6.87,-0 1.18,0.23 5.1,0.61 1.77,0.37 -2.62,-0.36 -6.01,-0.3 -4.16,0.1 -4.03,-0.01 4.56,0.54 3.64,0.07 4.58,0.27 9.38,-0.28 13.81,0.87 1.25,1.43 -6.53,-2.03 -4.74,0.28 -2.72,-1.55 -9.86,-0.82 -10.47,-0.51 3.59,0.54 4.96,1.12 8.47,1.27 -2.19,0.13 -6.47,-0.76 -6.46,0.45 -1,0.4 2.84,0.84 -0.35,0.81 -5.07,-0.68 -10.07,-1.94 -15.2,-2.2 -4.51,-0.43 0.15,1.93 2.23,1.74 -1.98,0.59 -6.22,-0.42 -2.07,0.51 2.77,0.96 -4.34,-0.76 -6.01,-0.63 -1.58,-0.79 -4.66,3.04 -3.5,-0.27 -4.27,-1.74 -7.34,0.23 -12.12,-0.21 -1.77,0.05 -5.97,0.4 -1.97,0.77 1.62,0.83 8.52,1.78 3.67,1.17 -3.45,-0.49 -6.83,-1.99 -10.36,-1.1 -1.06,1.27 2.02,0.82 -0.23,1.66 1.43,1.67 -5.11,-0.83 -5.7,0.73 3.34,1.97 -2.2,-1.42 -3.72,0.26 -2.24,1.25 -6.51,0.43 -7.63,2.45 2.8,0.82 8.22,0.08 9.32,0.11 -2.38,-0.55 -2.49,0.99 -2.92,2.13 -3.75,1.08 -7.7,0.47 -11.5,1.22 0.33,0.33 -4.54,0.64 -6.12,0.92 -3.19,-0.23 -6.62,1.43 -2.07,1.86 2.43,0.3 2.68,0.56 5.74,0.22 -4.72,0.85 3.75,0.18 -0.18,0.7 -0.47,0.48 3.6,0.41 4.41,-0.03 1.72,1.03 6.5,-1.24 6.2,0.47 -2.28,-0.14 1.31,0.89 -1.32,0.41 -2.01,-0.73 -9.17,0.17 -3.66,0.3 1.66,-0.01 7.67,0.03 2.86,0.1 -3.86,0.07 -7.78,-0.5 -11.6,0.14 -0.82,0.87 2.96,0.21 0.63,0.57 0.94,1.34 5.75,-1.79 2.71,0.38 z m 132.2,12.52 c -1.59,-0.6 3.65,0.15 -0.05,-0.84 -1.37,-1.04 -7.96,-0.86 -3.67,0.54 0.65,0.18 6.83,1.56 3.72,0.3 z m -8.88,3.59 c -1.57,0.39 -6.63,0.59 -6.22,1.84 1.86,-0.25 9.2,0.01 6.19,-1.58 z m 19.57,-14.37 c -0.09,-3.96 -2.53,0.26 0,0 z m 1.99,2.22 c -1.38,-0.31 -4.15,1.28 -1.17,1.05 2.3,0.21 4.03,-0.09 0.81,-0.51 l 0.75,-0.25 z m -5.73,1.9 c 1.97,-1.23 -4.11,-0.66 -0.42,0.09 z m -2.69,0.78 c -1.92,-0.24 -3.67,0.98 -0.63,0.98 2.3,0.11 4.16,-0.43 0.63,-0.98 z m -2.67,4.26 c -1.66,-0.74 -7.55,-0.67 -6.21,-0.02 2.38,-0.41 6.14,1.58 6.21,0.02 z m 7.04,-16.54 c 0.81,-0.83 -2.47,0.39 0.48,0.07 z M 340.48,3.07 c 2.14,0.65 6.97,1.81 6.72,0.61 1.52,-0.55 -3.67,-1.42 -5.09,-1.18 -0.89,0.06 -4.14,0.09 -1.63,0.57 z M 330.4,38.95 c -2.3,0.49 0.91,1.63 0.43,0.12 z m -10.12,-0.22 c 2.72,0.25 -2.42,0.09 0.62,0.9 -3.41,-0.35 2.03,0.77 2.01,0.48 2.87,-0.13 -3.74,0.24 -0.05,0.7 1.7,0.29 7.63,-1.19 3.07,-1.89 -0.96,-0.54 -6.82,-2.06 -5.64,-0.19 z",NE:"m 472.53,195.05 c -0.75,-2.18 2.68,-1.53 4.08,-2.47 2.43,-0.56 5.27,0.81 6.33,-1.99 2.35,-2.68 -1.72,-9.21 3.14,-9.31 3.87,-0.56 5.85,-4.74 9.41,-6.21 3.12,-1.84 6.25,-3.67 9.42,-5.39 3.3,-0.57 6.46,3.04 8.67,1.73 -0.4,3.12 2.65,5.56 2.09,8.04 -1.29,3.47 0.67,8.09 -2.66,10.59 -1.98,1.89 -4.03,5.09 -3.75,6.99 -2.89,3.51 -7.48,-0.93 -10.4,2.34 -2.67,0.41 -5.33,-2.05 -7.76,-0.39 -1.36,-2.74 -6.89,-3.28 -7.81,-0.17 -1.64,1.53 -0.88,5.55 -3.1,2.2 -1.66,-0.94 -1.67,2.51 -2.44,-0.17 1.27,-1.19 -4.63,-1.04 -2.67,-2.69 0.23,-0.28 -2.57,-1.65 -2.55,-3.1 z",DK:"m 495.21,76.19 c -0.44,-2.15 3.9,-0.81 4.89,-2.71 2.49,-0.81 0.08,2.94 -1.9,1.63 -1.84,-0.67 -2.84,1.45 -2.99,1.08 z m 7.13,5.32 c 2.8,1.22 2.68,-0.62 0.13,-0.32 l 0.22,0.24 z m 0.3,-1.57 c 2.3,0.37 1.55,1.39 2.62,1.82 -0.59,-1.14 1.46,-1.07 0.72,-2.45 2.45,-2.14 -2.03,-1 -0.8,-0.55 -0.37,-0.06 -0.84,0.36 -1.21,-0.54 -0.05,0.27 -2.79,0.52 -1,1.57 l -0.08,0.11 z m -3.83,-0.45 c 0.48,2.01 4.2,1.24 2.49,-0.3 -0.23,0.82 -1.44,-0.23 -2.49,0.3 z m -4.36,-3.04 c 0.99,0.09 3.68,-0.25 2.92,-0.28 0.65,-2.73 4.5,0.4 2.46,-7.2e-4 0.21,0.8 1.86,-0.2 2.24,1.05 -1.31,0.45 -1.95,0.52 -2.47,1.41 0.41,0.8 -2.47,-0.01 -0.44,0.54 -1.25,0.79 -0.42,2.08 -0.54,2.11 -3.23,0.8 -2.36,-1.44 -3.91,-1.8 -0.76,-1.62 1.08,-0.89 -0.39,-1.78 l -0.02,-0.43 z",LV:"m 530.16,76.64 c 0.3,-2.33 4.87,-5.24 7.05,-1.36 3.35,0.59 1.1,-3.97 4.66,-2.94 1.99,1.68 6.31,0.33 7.07,2.64 -0.07,0.92 2.46,2.76 -0.51,3.69 -2.9,0.81 -5.39,-1.02 -8.03,-1.68 -3.25,0.69 -7.16,-0.89 -10.12,0.76 -0.3,-0.29 -0.22,-0.77 -0.13,-1.11 z",RO:"m 528.08,105.9 c 3.05,0.28 3.81,-3.14 5.89,-4.6 2.82,-2 6.18,0.64 9.05,-0.62 2.26,-0.8 4.32,-0.99 5.44,1.71 3.09,1.12 -0.25,6.94 3.88,5.75 3.2,-1.84 1.01,3.23 0.12,1.24 -0.87,-0.78 -0.25,1.39 -0.65,0.71 0.2,0.38 -0.75,3.91 -2.79,1.87 -3.58,-1.5 -6.51,1.86 -10.13,0.74 -2.41,-0.32 -4.26,-0.29 -4.36,-2.31 0.71,-0.32 -4.34,0.19 -3.1,-1.71 -2.07,-0.49 -1.75,-1.75 -3.35,-2.78 z",ZM:"m 532.92,281.12 c 0.13,-2.93 -0.39,-6.24 0.25,-8.95 3.23,0.4 6.48,0.56 5.29,-3.6 -0.37,-3.2 0.74,-1.97 1.41,-0.82 2.72,-1.79 2.32,2.13 5.56,1.48 1.49,-0.27 2.14,-1.59 2.94,0.77 2.67,-0.14 3.74,4.3 5.71,3.22 1.04,0.13 0.76,-5.12 -0.93,-2.58 -4.74,-1.4 -0.18,-6.33 -2.57,-8.87 1.47,-3.13 5.81,-3.76 8.61,-1.69 1.4,1.36 4.69,1.44 5.11,3.68 2.05,1.86 -1.93,4.4 0.56,6.69 -1.68,0.43 -3.04,4.51 -1.09,4.43 -0.87,2.05 -9.5,0.98 -7.63,4.68 -3.81,-0.6 -4.39,3.14 -7.48,4.27 -1.36,3.74 -5.32,2.41 -7.91,1.2 -3.67,0.48 -5.88,-0.51 -7.86,-3.9 z",IR:"m 594.01,124.87 c 2.29,-2.79 4.55,3.52 7.72,0.9 1.39,-2.34 5.8,-1.64 3.41,0.44 2.62,1.02 2.25,4.53 5.71,4.22 2.37,2.95 6.36,2.25 9.56,1.4 2.1,-0.3 -0.77,0.55 1.31,0.14 -0.81,-2.08 2.61,-1.48 3.62,-3.28 2.96,-0.75 5.14,-0.76 7.93,0.75 3.37,-0.31 4.9,3.68 8.23,3.11 0.61,2.16 -0.29,4.89 -0.85,6.38 -2.57,1.29 1.27,2.5 -0.69,3.99 0.86,2.3 0.22,4.85 3.38,4.77 -0.06,2.59 -4.49,3.82 -0.92,6.16 1.33,2 4.63,2.02 3.94,5.11 3.5,1.76 -3.36,1.63 -3.11,3.85 -0.01,3.99 -3.48,0.77 -5.33,1.49 -2.6,-0.63 -5.52,-0.09 -7.42,-1.84 0.25,-4.75 -4.26,-2.89 -6.48,-1.43 -3.79,0.01 -5.73,-3.2 -9.13,-3.81 -1.53,-1.87 -1.89,-3.1 -2.65,-4.49 -1.02,-2.53 -2.21,-1.34 -3.9,-2.11 -1.26,-0.45 0.73,-1 -0.75,-0.49 -0.64,3.09 -2.51,-1.04 -3.15,-1.73 0.77,-2.94 -2.24,-4.73 -4.63,-5.73 -0.52,-1.35 -2.98,-3.72 -1.24,-4.84 1.63,-0.71 0.92,-2.55 1.48,-2.98 -2.84,0.39 -3.19,-2.43 -4.25,-4.34 -1.58,-1.89 -0.35,-3.31 -1.81,-5.64 z m 32.76,35.03 c -3.1,1.47 -0.07,0.94 1.27,-0.07 -0.42,-0.38 -0.83,0.25 -1.27,0.07 z",MM:"m 727.56,176.02 c 0.68,-1.15 1.81,0.25 1.16,-2.16 1.11,-0.04 2.07,-0.87 1.49,-3.05 1.46,-0.74 -0.37,-4.26 2.76,-2.25 1.11,-2.81 2.28,-4.89 2.84,-7.7 1.65,-1.14 4.22,-2.64 5.53,-1.71 -1.55,-1.04 1.2,-3.42 1.57,-3.51 1.76,1 1.47,2.48 2.85,3.12 0.44,2.99 -0.31,4.89 -2.55,5.84 -0.63,1.41 -1.49,5.21 1.31,3.17 2.75,-1.17 0.15,3.21 3.26,3.06 -0.29,1.23 -1.55,3.36 1.37,2.79 -0.36,2.73 2.63,0.88 3.27,1.29 -1.48,1.93 -2.69,3.05 -4.53,3.93 -1.35,0.72 -2.76,1.49 -4.36,1.72 -0.34,1.57 -0.81,3.14 -1.38,3.4 1.11,1.68 3.34,5.13 4.09,5.85 -1.37,2.06 -3.07,4.4 0.17,6.29 0.35,2.99 3.27,6.53 0.02,9.02 -0.88,1.05 -1.51,3.79 -1.45,0.58 1.47,-2.49 0.58,-2.87 0.55,-4.18 0.45,-0.21 -0.96,-5.69 -1.22,-4.71 -0.39,1.23 -0.56,-3.14 -1.2,-3.34 -0.63,-2.51 0.31,-4.23 -1.54,-5.18 -0.73,-2.35 -0.82,-1.04 -1.53,0.65 -1.53,0.73 -1.12,-1.58 -1.29,0.67 -1.3,0.4 -2.69,2.31 -2.68,1.26 0.14,0.34 -0.59,0.2 -0.29,-0.59 -1.4,2.94 0.08,-2.26 -1.25,0.8 0.28,-1.45 -0.56,0.59 0.12,-1.92 -1.99,3.38 -1.02,-1.22 -0.38,-2.76 -0.76,-2.36 -1.51,-6.26 -2.23,-4.05 -2.15,-1.88 1.58,-0.27 0.06,-2.15 -0.67,-0.85 -2.15,-1.08 -1.94,-0.82 -0.43,0.34 0.3,-2.48 -0.88,-0.57 0.26,-1.72 -0.85,0.45 -1.44,-2.03 z",ET:"m 563.4,213.45 c 0.41,-2.63 4.67,-0.69 3.05,-4.4 0.31,-2.14 0.94,-4.2 2.39,-4.16 -0.44,-3.5 3.54,-4.53 3.9,-7.41 -0.38,-2.92 3.11,-2.05 3.6,-2.06 0.25,-3.07 2.69,0.6 4.13,-0.79 3.42,-0.22 6.63,2.85 8.8,5.71 -1.22,1.87 -2.62,5.61 1.23,4.23 -0.31,2.08 2.43,6.23 5.78,6.5 2.36,1.18 7.39,2.1 8.26,2.46 -2.82,2.52 -5.32,5.37 -7.89,8.12 -3.82,-0.82 -6.13,2.51 -9.57,2.78 -1.89,-0.93 -4.24,-0.87 -5.48,1.61 -3.65,0.27 -5.98,-3.07 -9.52,-2.92 -1.46,-0.87 -0.49,-3.09 -2.49,-2.94 -1.11,-2.91 -3.05,-5.97 -6.2,-6.73 z",GT:"m 216.08,194.7 c 0.19,-3 1.54,-5.27 4.97,-4.34 0.45,-2.13 -4.34,-2.79 -1.53,-3.79 -0.1,-2.22 3.45,-0.63 5,-1.07 -0.3,2.68 -0.01,6.85 2.21,5.6 0.96,0.96 -2.99,1.76 -2.22,3.57 -1.96,2.49 -4.96,2.64 -7.74,0.59 l -0.35,-0.28 z",SR:"m 311.83,225.6 c -1.86,-2.17 -0.51,-4.3 1.36,-4.72 -1.09,-3.3 3.77,-1.06 3.81,-1.81 1.55,-0.63 2.77,0.68 2.53,-0.34 5.17,-0.24 -0.95,4.68 2.55,6.9 -0.55,1.82 -0.99,4.41 -3.31,2.84 -1.51,0.27 -2.85,0.17 -2.08,1.85 -3.33,0.41 -2.96,-3.89 -4.86,-4.72 z",EH:"m 424.61,177.22 c -0.57,-3.33 2.36,-5.36 3.44,-8.22 -0.84,-0.49 3.7,-3.2 3.23,-5.89 1.56,-1.8 3.26,-3.74 4.73,-5.39 3.91,0.25 7.93,-0.07 11.78,0.22 0.81,3.33 0.01,5.55 -3.6,4.57 -1.85,0.06 -3.74,-0.12 -5.56,0.07 -0.71,2.52 1.86,7.31 -1.96,7.8 -2.24,1.66 0.93,6.76 -3.79,5.24 -2.65,0.12 -5.38,-0.24 -7.97,0.18 -0.34,0.39 -0.36,0.95 -0.29,1.43 z",CZ:"m 505.43,94.08 c 1.9,0.8 5.69,-2.65 7.09,-1.6 1.57,-0.48 3.15,0.71 4.83,0.81 -1.65,0.84 2.5,2.19 1.44,0.45 1.85,0.84 4.05,0.97 5.27,2.63 -2.52,1.33 -4.66,2.74 -7.41,2.08 -3.07,-1.86 -4.49,2.17 -7.59,-0.68 -2.06,-0.99 -2.46,-2.18 -3.63,-3.69 z",TD:"m 509.24,195.08 c 1.48,-2.82 4.26,-5.02 5.68,-7.87 -0.28,-3.18 1.06,-6.8 0.67,-9.54 -1.33,-2.22 -3.92,-7.42 0.52,-7.93 3.16,1.08 6.13,3.02 9.28,4.31 4.31,2.16 8.65,4.26 12.85,6.62 0.46,2.85 0.05,5.99 0.22,8.96 0.87,3.04 -3.56,0.7 -3.31,3.81 -1.45,2.08 -1.68,4.21 -2.39,6.6 2.59,-0.38 0.77,2.95 2.83,3.93 -0.68,1.21 -3.59,1.09 -4.14,3.15 -1.42,2.85 -4.89,3.04 -7.1,3.71 1.33,2.52 -5.01,2.76 -6.23,3.16 -0.82,-0.61 -3.7,1.92 -3.59,-1.07 -0.59,-1.8 -6.5,-5.42 -1.71,-5.29 2.76,0.24 2.38,-0.04 0.94,-2.07 -0.03,-2.51 0.04,-5.91 -2.67,-6.71 -1.21,-0.75 -1.72,-2.4 -1.86,-3.75 z",AL:"m 525.44,121.31 c 1.54,-1.75 -0.99,-4.9 1.34,-5.31 2.94,-0.14 1.39,3.01 2.7,4.49 1.52,0.75 -1.08,3.52 -2.05,3.53 -1.17,-2.05 -1.54,-1.21 -1.99,-2.71 z",FI:"m 529.12,41.38 c 2.56,-2.1 5.75,2.56 9.33,0.6 2.86,1.35 4.92,-0.31 6.08,-2.55 2.54,-1.03 6.96,-1.07 8.41,0.84 -1.36,0.95 -0.21,1.5 -2.17,1.55 1.62,-0.03 -0.92,2.36 2.03,2.15 3.51,0.77 1.39,2.16 -0.08,3.59 1.4,1.31 3.55,3.09 1.83,3.8 -0.44,1.18 -0.66,1.88 1.11,2.32 -1.82,0.82 3.3,1.44 0.04,2.38 -1.35,0.88 6.42,1.82 2.5,3.91 -3.11,2.05 -6.4,3.94 -9.71,5.53 -2.85,-0.3 -4.48,0.39 -6.26,0.69 -2.51,0.7 -6.01,0.85 -6.38,1.06 1.01,-0.54 -0.75,-1.1 -0.29,-1.29 -1.71,-0.09 -5.49,-0.39 -3.9,-2.99 1.08,-0.93 -2.85,-4.07 0.38,-4.7 -0.66,-0.96 2.72,-0.7 2.07,-1.3 2.69,-0.72 4.69,-3.33 7.68,-3.76 1.73,-0.72 -1.1,-2.71 -3.01,-2.98 -2.52,-0.88 0.57,-2.67 -1.37,-3.73 0.8,-0.59 -1.01,-1.45 -0.05,-2.2 -2.56,-1.37 -5.52,-1.7 -8.24,-2.91 z m -2.08,25.16 c 0.52,-0.52 1.92,-0.26 -0.15,-0.81 1,1.23 -1.72,-0.5 0.15,0.81 z",SY:"m 570.71,142.04 c 1.24,-0.86 4.03,-3.39 1.3,-3.78 -0.74,-1.31 -1.53,-4.12 0.8,-3.94 0.49,-0.93 0.77,-0.66 0.69,-2.15 3,-0.13 6.21,0.39 9.34,-0.18 1.85,-0.58 5.4,-1.41 6.57,-0.64 -1.6,1.39 -3.85,1.65 -2.88,4.25 0.05,4.11 -4.64,4.87 -7.54,6.57 -2.31,1.62 -7.03,3.78 -8.2,0.71 l 0.05,-0.54 z",KG:"m 664.63,122.89 c 2.3,-0.76 2.91,1.05 4.92,-0.68 2.16,0.88 2.87,-0.65 4.86,-1.21 -0.49,-0.36 -3.37,-1.38 -3.76,-1.96 -0.9,1.93 -6.12,-0.69 -2.2,-1.54 2.08,-0.21 -1,-1.68 1.71,-2.16 2.49,-1.24 5.94,2.82 6.18,-0.91 3.03,-0.69 5.82,1.61 9.09,0.29 3.21,0.13 6.71,0.36 9.06,2.49 -3.42,1.01 -6.11,3.32 -9.58,3.35 -1.69,3.44 -4.52,-0.76 -6.55,2.11 -2.02,0.38 -1.34,2.99 -4.23,2.23 -2.52,0.68 -3.84,-0.77 -6.29,-0.4 -0.74,-0.83 -5.5,1.09 -3.22,-1.61 z",SB:"m 920.68,265.88 c 4.3,0.98 -3.81,-3.21 -0.58,-0.43 z m -2.7,-4.52 c 2.63,3.35 0.38,-2.51 -0.68,-2.14 0.29,0.7 0.26,1.5 0.68,2.14 z m -2.42,1.9 c 3.89,0.96 1,-1.56 -0.98,-1.53 -0.68,0.61 0.43,1.39 0.98,1.53 z m -2.42,-4.8 c 3.82,2.44 0.25,-1.32 -1.78,-1.66 0.4,0.71 0.97,1.41 1.78,1.66 z m -3.66,1.29 c 1.31,-1.32 -2.71,-1.95 -1.05,-0.8 0.66,-0.18 0.38,0.8 1.05,0.8 z m -2.61,-4.1 c 5.19,3.39 -3.75,-4.46 0,0 z",OM:"m 616.21,182.18 c 4.03,-1.59 9.69,-1.6 9.78,-7.19 0.72,-2.21 -2.22,-3.76 -0.06,-6.07 -0.12,-1.28 2.14,-0.6 0.67,-2.41 1.15,-3.21 3.41,3.36 6.79,2.52 1.82,0.51 4.03,2.77 4.29,4.28 -1.6,1.93 -3.06,5.18 -5.09,4.88 -1.36,1.73 0.91,4.9 -2.5,4.41 -1.15,1.87 -2.49,2.84 -4.65,3.28 -0.26,2.97 -4.49,1.94 -6.41,2.5 -0.82,-2.08 -1.92,-3.93 -2.82,-6.21 z m 11.24,-19.87 c 1.9,-2.52 0.3,3.26 0,0 z",PA:"m 241.78,212.35 c 1.11,-1.13 -0.69,-4.84 1.73,-3.09 -0.08,1.32 1.78,1.39 1.57,0.83 3.02,2.42 6.44,-3.33 9.12,-0.92 2.98,0.48 4.49,4.97 2.09,5.28 -1.41,2.51 -2.85,-4.05 -0.02,-1.68 -1.8,-1.71 -1.46,-0.33 -3.65,-2.48 -1.61,-0.09 -3.23,1.89 -3.78,2.6 3.24,1.84 -2.42,3.88 -1.76,0.51 -0.87,1.82 -2.54,-1.89 -4.53,-1.17 -0.78,0.1 -0.34,1.43 -0.77,0.11 z",AR:"m 281.51,383.73 c 2.4,1.32 -0.98,1.37 1.51,2.11 1.77,2.42 5.58,3.4 8.14,3.74 -2.66,1.38 -6.38,0.26 -9.44,0.18 -0.35,-1.88 -0.25,-4.06 -0.2,-6.04 z m -3.74,-65.8 c 1.13,-2.35 2.71,-5.43 4.55,-6.82 -0.44,-2.38 -1.63,-6.25 1.48,-7.3 3.3,-1.08 0.72,-5.21 4.14,-6.15 0.57,-1.26 2.94,0.69 4.48,0.41 1.12,2.15 1.13,1.78 2.01,-0.28 3.81,-1.96 5.04,2.92 7.84,4.31 3.17,1.67 7.5,2.66 9.95,5.27 -0.97,1.96 -5.1,5.98 -0.45,5.17 2.5,0.64 4.03,0.33 5.96,-0.2 1.34,-1.24 3.14,-2.44 2.81,-4.7 3.6,-1.07 3.05,5.99 -0.72,5.55 -2.56,1.8 -4.01,3.69 -6.41,6.17 -1.84,1.24 -2.25,3.28 -2.35,5.19 -0.73,2.27 -0.81,4.15 -1.4,6.21 -1.45,2.99 5.21,2.63 3.15,5.81 1.23,1.37 3.08,2.52 0.53,4.44 -1.81,3.61 -6.24,3.53 -9.77,4.18 -1.73,0.82 -6.12,-1.55 -3.98,1.19 0.09,0.85 -1.25,2.97 -0.48,3.95 -2.34,2.46 -6.17,-0.27 -7.67,0.15 -0.93,2.03 0.88,5.54 2.72,4.15 -1.82,-0.73 2.92,-0.79 1.15,1.34 -1.12,0.98 -3.33,-2.2 -3.28,0.26 3.11,0.18 -2.79,1.81 -1.17,4.26 -1.06,1.43 -1.16,1.79 -3.41,2.02 -3.12,0.46 -4.22,4.97 -0.11,5.5 2.5,-1.09 2.92,2.55 0.42,2.24 4.03,0.07 -3.58,2.29 -3.98,4.27 1.91,-0.03 -1.58,3.8 -2.46,0.96 1.37,0.97 -2.11,0.74 0.24,0.81 1.78,0.32 -4,2.73 -1.29,3.19 1.02,1.96 -3.25,1.19 0.2,1.42 1.71,1.25 2.07,2.82 -0.53,1.43 -2.48,-0.71 -5.1,-0.27 -7.6,-0.49 -2.44,-0.66 0.7,-5.17 -3.05,-3.47 -1.46,-1.34 -1.9,-4.01 0.28,-5.03 2.81,-0.82 0.2,-3.91 3,-4.94 -0.54,-1.08 1.09,-2.38 0.32,-3.13 -0.48,-1.25 2.67,-2.7 -0.09,-3.26 -2.17,-0.4 4.2,-0.77 0.96,-1.47 -1.77,-0.08 -0.35,-2.36 -1.11,-3.09 -0.73,-0.48 -1.48,-3.09 0.16,-3.65 -0.77,-2.43 -0.04,-5.42 0.85,-6.82 -0.11,-2.32 2.89,-2.81 0.79,-5.23 -1.04,-3.28 3.32,-4.38 2.05,-7.13 0.95,-1.8 2.76,-4.49 0.99,-5.93 0.39,-2.26 -2.32,-3.83 -0.66,-6.04 0.88,-1.84 1.61,-2.36 0.95,-4.74 z",GB:"m 468.18,66.85 c 0.73,0.5 0.74,-2.55 -0.62,-1.46 1.42,0.81 -1.37,0.46 0.75,1.28 z m -13.62,10.44 c 2.34,0.35 1.14,-1.51 -0.23,-0.73 0.93,0.37 0.65,0.52 0.23,0.73 z m 2.74,17.69 c 1.94,-1.8 4.37,-0.14 5.49,-1.81 2.97,0.29 4,-0.48 6.51,-0.56 1.81,0.42 5.84,0.27 6.27,-1.37 -2.46,-0.63 -2.69,0.17 -1.35,-1.05 -0.28,-0.25 1.95,-0.5 0.86,-0.91 4.04,-1.89 -1.41,-3.09 -3.21,-2.42 3.28,-1.88 -4.93,-2.87 -0.12,-2.21 0.67,-0.33 -1.42,-2.82 -3.46,-2.88 -0.53,-3.86 -4.23,-3.68 -7.05,-4 1.74,0.94 4.67,-1.34 1.43,-0.7 2.63,0.19 6.43,-5.05 1.4,-3.72 -2.31,-0.11 -5.91,0.89 -2.97,-0.38 -4.23,0.6 5.56,-2.36 0.85,-2.28 -2.58,0.5 -4.16,-0.23 -4.71,1.2 0.8,1.49 -2.11,0.36 -0.97,1.89 -2.22,0.06 1.76,0.51 -0.25,0.7 1.35,0.33 -0.33,0.5 -0.4,1.51 -2.78,-0.01 2.14,0.13 -0.35,0.25 1.87,0.7 3.13,-1.11 1.67,0.55 1.08,-0.88 -1.51,1.53 -0.73,1.44 0.63,0.34 -0.92,2.98 0.56,0.87 0.23,-1.39 1.08,-2.15 0.48,-0.62 0.95,0.66 0.6,-1.55 1.98,-0.18 -1.65,-0.35 0.4,2.76 -1.47,2.71 -0.18,1.03 2.74,0.56 4.25,-0.04 3.47,-0.7 -2.01,1.39 0.97,2.08 0.38,0.57 1.55,-0.34 0.51,1.4 -0.38,0.59 1.65,1.62 -0.37,1 0.46,0.91 -6.04,-0.4 -2.91,0.49 -2.13,1.49 -0.99,0.66 0.22,1.2 2.05,1.41 -5.17,2.73 -1.98,2.81 -1.74,0.99 2.93,-0.46 1.97,0.67 1.61,0.12 3.23,0.73 4.81,-0.64 -1.47,2.76 -5.23,0.39 -6.34,3.11 -0.58,0.81 -4.7,1.75 -1.57,1.9 z m -2.12,-19.78 c 1.63,-0.56 -1.14,-2.33 -2,-1.23 0.05,0.77 2.63,0.37 2,1.23 z m -1.93,-2.72 c 2.2,-0.45 0.89,-1.79 -0.58,-0.66 -1.07,0.55 0.17,0.89 -0.16,1.32 0.35,-0.04 0.65,-0.32 0.74,-0.66 z m -3.97,10.04 c 0.86,-0.99 5.51,-3.9 6.54,-0.8 0.26,-0.02 1.21,1 0.38,0.7 0.14,1.77 -3.34,0.88 -4.31,0.42 -0.25,1.29 -2.03,-0.1 -2.62,-0.32 z",CR:"m 233.81,206.48 c 0.33,-1.46 0.15,-3.05 2.63,-1.75 1.26,-0.41 3.08,0.93 3.6,0.56 0.32,2 4.06,3.34 1.96,3.95 0.36,1.38 0.15,5.52 -0.99,2.05 -0.87,-0.61 0.42,1.87 -1.24,0.14 0.64,-2.43 -3.28,-2.77 -4.36,-4.72 2.83,2.83 -1.34,1.74 -1.6,-0.24 z",PY:"m 298.18,298.18 c 1.02,-3.67 1.45,-8.62 6.57,-8.05 3.56,-1.4 6.47,1.43 6.83,4.47 -1.78,2.94 1.27,4.86 3.71,3.31 3.62,0.26 1.32,7.01 5.7,4.96 1.04,1.71 -1.13,4.37 -0.59,6.64 -0.96,2.02 -3.48,3.27 -5.13,3.5 -1.63,-0.54 -5.65,0.06 -5.82,-1.27 1.08,-2.1 4.76,-5.63 0.07,-6.27 -2.98,-1.78 -6.39,-2.41 -9,-4.65 -0.75,-0.97 -1.33,-1.92 -2.34,-2.65 z",GN:"m 430.29,204.77 c 0.33,-2.42 4.58,-1.46 3.32,-3.67 1.08,-2.79 4,1.15 6.35,-0.44 0.05,1.12 0.93,1.05 1.95,0.85 0.99,0.45 3.86,0.23 4.5,-1.01 0.56,1.49 3.03,3.02 1.43,4.31 1.61,-0.95 0.9,2.02 1.89,2.32 -0.98,1.79 0.93,2.72 0.52,3.91 1.83,1.69 -2.98,-0.02 -0.4,2.04 -0.69,1.73 -2.13,0.55 -3.22,2.32 -1.39,-0.69 -0.34,-5.01 -3.64,-3.51 -1.2,1.08 0.1,-2.46 -1.36,-3.31 -2.24,-3.04 -4.72,0.61 -6.61,1.65 0.51,-0.33 -1.42,-2.45 -1.34,-2.35 -0.73,-0.99 -3.15,-1.08 -2.02,-2.82 -1.2,1.34 0.12,-1.08 -1.37,-0.28 z",IE:"m 444.11,90.46 c -0.13,-0.4 1.83,-0.99 -0.44,-0.38 -1.79,-0.58 2.78,-1.53 -0.36,-1.09 -1.39,-0.37 2.35,-0.25 1.36,-0.92 1.45,-0.45 4.34,-1.04 1.19,-0.5 -3.64,0.91 3.84,-2.69 -0.27,-1.7 -2.94,-0.59 -0.76,-1.01 -0.54,-1.8 -1.56,-0.16 -0.99,-2.2 1.47,-0.74 1.83,-0.48 3.13,-1.09 1.36,-1.72 0.6,-0.78 2.86,-1.81 3.28,-0.91 -0.2,-1.24 2.32,-0.5 0.16,0.34 -1.91,0.64 -2.14,2.7 0.58,1.99 0.61,-0.54 3.44,0.81 2.42,1.05 1.41,1.91 0.22,5.57 -1.81,4.63 -1.85,0.81 -3.68,0.65 -4.27,1.59 -2.38,0.59 -3.98,0.52 -3,-0.14 l -0.42,0.04 z",NG:"m 479.33,213.43 c -0.74,-3.13 2.48,-4.29 2.68,-6.99 0.86,-1.84 -1.53,-5.34 1.23,-7.33 0.72,-3.9 6.68,-2.57 8.22,-0.04 3.1,-2.33 6.54,2.67 9.38,-0.98 3.15,-0.3 5.91,1.56 8.43,-1.04 2.01,1.12 1.79,3.72 3.2,4.78 0.16,2.42 -3.57,2.63 -3.59,5.45 -0.53,2.4 -2.48,3.65 -3.28,6.1 -0.85,1.35 -2.04,6.12 -3.53,2.87 -1.55,-1.18 -3.97,1.25 -5.54,3.03 0.46,1.96 -1.51,2.94 -1.66,2.96 -1.22,1.07 -3.43,0.25 -3.54,0.36 -0.26,-0.19 -0.24,1.57 -0.61,-0.46 0,2.25 -0.2,0.07 -0.89,1.32 -0.71,0.74 -3.87,-1.61 -2.56,-2.93 0.19,-0.74 -1.69,0.23 -0.33,-0.75 -1.03,0.52 -0.43,-1.14 -1.01,-0.35 0.07,-2.63 -6.4,-1.2 -3.46,-2.39 -1.78,0.87 -3.75,1.15 -2.82,-1.83 0.04,-0.6 0.02,-1.25 -0.32,-1.77 z",TN:"m 492.73,139.84 c 2.59,-1.31 2.36,-3.83 2.33,-6.21 -0.86,-2.13 4.15,-3.27 4.79,-2.72 0.36,2.04 1.6,0.55 2.76,0.85 -1.84,1.44 -2.03,2.98 -0.07,4.34 -0.98,2.24 -4.61,4.64 -0.5,5.19 0.95,-0.06 2.98,2.36 1.05,3.54 -3.75,0.6 -1.75,4.67 -4.77,5.76 -0.31,-3.76 -2.59,-6.57 -5.09,-8.89 -0.09,-0.65 -0.7,-1.13 -0.51,-1.85 z",PL:"m 511.14,86.91 c 1.18,-1.07 0.14,-2.61 1.23,-2.64 -2.71,-0.48 3.59,-0.81 4.68,-1.52 1.76,-1.47 7.6,-1.81 6.35,-0.5 1.16,1.25 3.78,-0.39 2.09,0.68 3.65,-0.2 8.06,-0.79 11.41,0.55 1.73,2.21 1.59,4.08 -0.5,5.24 2.09,0.18 -0.1,3.42 2.48,3.85 0.22,1.59 -5.48,2.45 -3.53,5.21 -2.76,-1.91 -6.66,-0.13 -8.87,-1.25 -2.82,0.03 -4.86,-2.26 -7.69,-2.79 0.45,1.84 -2.54,0.21 -1.59,-0.6 -1.56,-0.4 -4.91,-0.16 -3.77,-2 -1.91,-1.14 0.23,-3.58 -2.28,-4.23 z",NA:"m 504.49,284.16 c 2.67,-0.59 4.83,-0.78 7.32,0.45 3.68,-0.16 7.38,-0.03 11.06,-0.07 2.77,2.04 6.86,1.64 10.15,1.42 2.28,-0.53 8.45,-1.96 8.32,-0.28 -2.14,0.01 -3.73,3 -5.16,0.58 -2.85,0.57 -7.67,-0.11 -6.03,4.33 -0.21,2.99 1.49,7.83 -2.81,7.26 0.04,5.88 0.15,11.82 -0.09,17.68 -1.9,1.55 -5.65,2.34 -7.23,-0.2 -1.21,-2.07 -2.61,2.63 -4.13,-0.62 -2.03,-2.42 -2.71,-5.57 -2.83,-8.65 -2.09,-3.07 0.35,-7.14 -2.64,-9.75 -2.17,-2.8 -2.68,-6.66 -5.37,-9.07 -0.59,-0.91 -0.65,-2.04 -0.57,-3.09 z",ZA:"m 517.64,316.02 c 1.19,-1.75 2.24,-1.55 2.91,0.34 2.74,0.95 4.87,0.75 6.81,-0.97 0.05,-3.37 0.13,-6.75 0,-10.11 2.76,1 1.69,4.81 2.21,5.84 3.4,1.06 4.82,-2.6 6.62,-4.38 2.3,1.28 7.34,2.96 7.44,-1.4 3.59,-1.1 4.32,-5.96 8.43,-6.63 1.66,-1.27 5.99,-0.87 7.01,1.02 1.42,3.41 1.71,6.92 1.74,10.57 0.81,1.51 3.16,0.61 1.66,3.16 -0.2,3.58 -4.05,3.76 -5.13,7.09 -2.03,3.26 -5.17,5.67 -8.18,7.99 -3.36,2.5 -6,2.18 -9.22,3.16 -3.5,-1.28 -6.2,0.4 -9.48,0.63 -2.63,1.1 -5.23,1.31 -6.64,-0.86 -1.62,1.82 -0.59,-2.47 -1.89,-2.84 -1.44,-0.92 2.3,-1.41 0.56,-3.41 -2.1,-2.85 -3.25,-6.13 -4.83,-9.22 z",EG:"m 540.62,151.24 c 0.62,-2.12 -0.39,-5.44 2.84,-4.44 3.39,0.06 6.21,1.69 9.5,2.06 2.81,-1.31 3.87,-1.98 4.7,-1.77 0.47,-0.55 4.95,0.31 2.55,0.41 1.25,0.78 3.94,1.03 6.56,0.05 2.29,3.29 1.8,6.73 0.16,10.07 -2.92,-0.61 -3.58,-6.11 -5.17,-5.73 -0.08,2.73 3.43,4.48 3.31,6.42 1.6,2.88 2.84,6.25 4.98,9.06 2.21,1.08 -0.78,0.82 0.53,2.94 -1.41,1.63 -3.38,2.62 -5.01,4.17 -2.06,-1.14 -5.94,-0.88 -6.85,-0.91 -2.87,0.38 -5.9,0.08 -8.84,0.17 -2.85,-0.03 -5.72,0.05 -8.56,-0.01 -0.52,-6.86 0.27,-13.84 -0.17,-20.72 -0.11,-0.61 -0.23,-1.24 -0.51,-1.79 z",TZ:"m 553.31,249.69 c 0.05,-2.04 3.18,-2.61 3.48,-4.46 1.9,-1.22 -2.19,-2.05 0.62,-3.11 0.28,-1.93 -2.42,-4.35 1.3,-3.68 3.3,0.31 7.01,-0.92 9.83,1.32 3.58,1.98 7.47,3.62 9.08,6.89 2.99,1.01 3.44,3.34 1.84,5.82 1.21,1.91 2.3,3.4 1.63,5.05 -0.44,2.33 0.58,3.64 1,5.64 -0.1,1.36 3.86,1.55 0.32,3.04 -2.86,1.07 -5.18,1.74 -7.74,2.08 -1.96,0.13 -4.23,-0.06 -5.95,-0.53 -1.33,-1.85 -0.81,-6.41 -3.9,-5.14 -2.7,-1.2 -5.66,-1.91 -7.67,-3.9 -0.76,-3.22 -4.06,-4.84 -3.5,-8.25 z m 28.59,0 c -0.2,2.46 1.25,0.12 0,0 z",GE:"m 582.88,113.61 c 2.79,-0.74 6.67,0.6 9.61,1.38 1.83,1.51 4.27,-0.27 6.31,1.21 -0.92,1.66 3.09,0.79 1.37,2.38 3.41,2.97 -2.66,-0.44 -3.79,1.12 -2.66,0.97 -4.88,-0.74 -6.53,-0.77 -1.84,0.24 -3.15,0.32 -2.29,-1.68 -0.23,-2.66 -3.01,-2.48 -4.68,-3.63 z",SA:"m 590.61,189.47 c -0.88,-2.99 -3.92,-4.58 -4.89,-7.97 -1.27,-3.07 -6.19,-3.66 -5.52,-7.9 0.39,-2.99 -1.87,-5.27 -4.52,-6.93 -0.65,-2.58 -2.92,-5.29 -4.69,-7.94 -0.06,-2.16 -2.94,-1.82 -2.91,-2.56 0.23,-2.93 1.6,-3.33 4.3,-2.82 1.27,-1.95 4.6,-2.38 4.88,-3.78 -1.29,-1.21 -3.84,-3.03 -0.42,-3.02 3.89,-1.94 8.22,-0.99 11.6,1.61 3.52,1.8 6.13,5.86 10.43,5.55 2.65,-0.37 4.65,0.71 6.44,1.64 2.33,0.35 1.6,2.87 3.14,3.21 1.82,1.38 2.95,2.21 2.39,3.91 0.18,1.21 2.56,4.27 3.61,4.3 1.04,2.59 4.1,5.36 7.63,4.83 3.93,-0.7 5.02,2.87 3.03,5.92 -0.74,3.57 -5.79,2.83 -8.46,4.41 -3.59,1.37 -8.49,0.07 -11.59,3.09 -1.02,2.11 -2.19,3.42 -4.17,1.94 -2.95,-0.03 -6.49,-0.82 -8.92,0 0.04,0.99 -0.26,2.74 -1.34,2.51 z",VN:"m 755.17,172.63 c 0.91,-1.98 2.34,0.56 3.54,-0.94 1.04,0.45 2.54,0.26 4.02,-0.74 1.02,-2.2 3.13,0.9 5.07,0.38 -0.86,1.7 0.74,3.22 2.41,3.54 2.96,-0.51 -1.88,2.41 -2.21,1.77 0.48,1.03 -2.31,2.48 -2.75,4.57 -1.54,2.03 3.01,3.94 1.85,4.62 2.04,2.46 3.28,2.9 4.87,4.81 0.05,-0.85 1.95,1.9 1.82,2.41 1.55,3.64 0.92,3.94 1.59,7.16 -0.67,-0.85 -0.52,1.4 -0.52,1.15 0.64,1.16 -2.21,3.59 -4.5,4.49 -1.66,0.8 -2.66,-0.69 -2.43,0.39 -0.15,0.91 -1.37,0.04 0.09,0.95 -1.36,0.66 -1.47,-1.28 -0.44,0.82 -2.44,-1.62 -0.12,-0.77 -0.39,0.78 -1.94,-0.57 -1.84,-2.06 -0.82,0.3 -2.07,0.81 -4.16,4.06 -3.82,0.99 0.78,-2.37 0.92,-2.65 -1.03,-3.75 1.68,-0.88 2.76,-2.29 4.83,-1.03 -0.67,-1.4 -1.31,-3.13 0.78,-2.89 1.61,-0.85 4.31,-1.91 3.12,-4.9 -1.35,-2.37 1.11,-4.83 -1,-6.45 1.26,-1.25 -2.9,-1.71 -2.51,-3.92 -2.51,-1.44 -2.46,-4.26 -5.2,-4.92 -3.29,-1.8 0.52,-1.56 1.45,-2.95 -1.87,-0.74 -0.48,-2.8 -3.09,-2.24 -2.24,1.73 -2.61,-2.83 -2.89,-2.56 -0.49,0.58 -1.33,-1.6 -1.86,-1.83 z",RU:"m 971.63,34.32 c -1.5,-0.19 -5.91,2.38 -2.08,1.91 2.33,-1.01 8.44,0.86 8.55,-1.53 -2.14,-0.48 -4.28,-0.89 -6.47,-0.38 z M 699.9,23.18 c -3.3,0.24 -0.12,1.64 0,0 z m -33.68,5.84 c -1.81,2.27 7.41,0.46 3.17,0.09 0.98,-0.56 -2.87,-0.28 -3.17,-0.09 z m -31.55,9.7 c 0.94,-0.02 3.93,1.6 4.89,0.34 -2,-1.28 -6.78,-2.58 -4.89,-0.34 z M 645.6,7.94 c 2.1,0.81 6.73,0.71 7.81,-0.79 -2.55,-0.76 -5.11,0.83 -7.81,0.79 z m -9.12,0.95 c 2.18,0.64 7.53,0.74 7.73,-1.03 -3.66,0.05 -4.99,-0.33 -7.91,0.71 z M 623.91,28.36 c -4.56,1.43 2.66,0.38 3.65,0.95 1.19,0.47 4.53,-0.33 1.95,-1.01 2,0.9 2.82,-0.47 0.2,-0.48 -1.21,-0.19 5.53,0.74 1.33,-0.65 0.73,-0.06 5.38,0.3 2.36,-1.36 2.9,0.68 2.13,-0.65 4.55,-0.29 -1.54,-0.19 1.53,-0.23 1.67,-0.46 0.13,-0.76 -2.34,0.04 0.06,-0.73 2.54,-0.34 5.76,-1.32 8.84,-1.66 4.99,-0.57 10.06,-0.97 14.86,-2.56 -1.87,-2.8 -8.01,-0.49 -8.89,0.04 -3.71,0.39 -7.48,1.2 -11.28,0.77 -1.77,-0.36 -3.22,1.48 -3.1,0.45 -2.2,0.2 -0.1,0.46 -2.95,0.51 -4.08,0.54 -4.67,1.68 -7.82,1.94 0.15,0.68 -4.98,0.18 -1.05,0.85 1.4,0.2 -3.27,0.59 0.06,0.67 3.97,0.31 -5.23,-0.06 -0.89,0.73 1.24,0.01 -4.22,0.13 -1.04,0.61 -2.54,-0.21 -1.1,0.04 0.47,0.44 -2.25,-0.51 -4.99,0.93 -5.67,1.12 0.61,0.54 6.12,-0.52 2.67,0.12 z m -5.88,2.75 c 1.68,0.11 1.59,-0.22 0.24,0.32 1.51,-0.45 -0.47,0.57 -0.24,0.71 -1.06,0.7 -5.24,0.87 -2.19,2.36 1.86,-0.28 4.85,0.15 4.97,0.36 -0.41,0.75 2.03,0.62 0.25,0.77 -1.12,-0.13 0.72,0.92 -0.99,0.67 2.84,0.54 5.41,0.4 7.21,0.61 1.05,0.34 2.39,0.25 0.79,-0.27 2.41,0.43 2.75,0.37 2.04,0.24 4.33,-0.45 -4.41,-0.98 -4.36,-3.97 0.1,-1.36 -0.47,-1.57 0.41,-1.44 0.29,-0.6 1.54,-0.35 -0.03,-0.74 1.52,0.53 2.74,-0.78 0.38,-0.46 1.41,0.09 2.26,-0.42 0.53,-0.26 4.28,-0.45 -3.39,-1.33 -4.83,-0.64 -2.97,-0.14 -2.08,1.5 -4.89,1.6 z m -7.43,9.53 c -1.67,-2.02 -7.61,1.11 -3.2,1.55 0.98,-0.01 5.53,-0.93 3.2,-1.55 z M 626.15,6.83 c 1.89,0.57 9.44,-0.37 3.92,-0.56 -0.39,0.08 -2.89,-0.15 -1.08,0.44 -0.44,0.01 -3.74,-0.5 -2.84,0.12 z m -9.1,3.04 c 1.78,0.7 6.23,-0.28 2.16,-0.59 -0.28,0.25 -3.39,0.33 -2.16,0.59 z m -13.03,0.4 c 0.78,0.15 5.2,-0.26 2.8,-0.59 2.36,-0.85 6.52,-0.52 7.91,-1.38 -1.22,-0.29 -4.91,0.3 -1.6,-0.28 -0.59,-0.58 -3.5,0.14 -1.34,-0.24 -3.13,-0.25 -2.81,0.57 -3.31,0.85 -1.9,0.22 -7.46,0.41 -2.75,0.61 -2.3,-0.15 0.42,0.53 -2.01,0.44 -7.49,0.01 3.22,-0.16 0.3,0.59 z m -7.39,-1.66 c 3.46,1.24 7.04,-0.96 10.56,-0.08 -1.62,-1.32 -7.35,0.24 -10.56,0.08 z M 550.76,41.81 c 2.52,-0.75 5.08,-1.98 6.88,-2.34 0.83,0.45 2.94,-0.54 3.58,-0.55 1.61,0.32 3.8,1.03 0.66,0.9 -2.9,-0.77 1.31,0.46 -0.7,0.49 1.53,-0.15 3.23,-0.12 3.2,0.35 0.65,0.34 -2.22,1.33 0.48,0.31 3.07,-0.65 6.96,-0 10.19,1.01 3.84,1.6 6,1.58 9.2,2.84 3.79,0.78 1.59,4.16 -1.47,4.37 -4.11,1.23 -8.3,-0.06 -12.43,-0.41 -2.29,-1 -5.99,-0.44 -7.02,-1.96 -1.92,-0.17 -4.1,-0.36 -1.1,0.3 -1,0.77 3.67,0.87 0.81,1.12 1.5,-0.05 2.08,0.13 0.26,0.22 0.82,0.03 2.97,0.23 0.97,0.57 1.94,-0.29 6.08,1.31 3.11,2.8 2.07,1.43 0.39,2.95 3.74,2.79 1.49,0.82 5.7,2.62 6.11,0.27 -1.26,-0.29 -6.55,-1.72 -2.32,-2.66 1.78,0.52 3.44,1 2.99,1.37 2.04,-0.56 8.95,1.76 4.63,-1.44 -0.68,-2.3 5.02,-2.1 6.68,-3.68 1.48,0.13 4.51,0.29 3.19,1.35 1.11,-1.54 2.52,1.82 1.93,-0.73 2.17,-1.28 0.18,-2.28 -0.97,-2.98 2.76,-1.95 0.07,-3.27 -0.76,-3.71 2.57,0.57 8.38,-0.19 8.42,2.42 -2.12,-0.45 -6.53,1.12 -2.4,2.09 2.21,1.21 2.8,0.62 5.62,0.23 -0.91,-2.75 3.9,-1.49 3.35,-2.25 -0.81,-0.51 3.82,-0.62 4.96,-1.57 2.57,-0.84 3.87,-0.01 5.58,-0.28 -3.18,-1.57 8.33,-1.77 3.14,-1.4 -1.33,0.27 1.2,-0.16 -0.05,0.79 1.06,1.15 -3.55,0.91 -0.29,1.24 2.91,0.48 5.56,-2.03 9.15,-1.01 2.48,-0.4 6.59,-2.15 6,-0.25 0.12,1.82 2.64,0.33 2.43,-0.11 3.13,0.15 2.36,-1.62 0.18,-2.43 3.11,-1.19 6.74,-0.36 10.13,-0.11 1.58,0.26 3.57,0.97 3.25,1.14 2.44,0.14 5.15,0.73 8.09,1.98 1.56,2.29 5.21,-2.21 1.82,-1.33 -1.13,-1.89 -3.26,-1.52 -4.87,-2.19 1.38,-0.81 1.37,-1.23 1.32,-3.03 -4.77,-0.76 4.39,-1.49 4.45,-4.43 1.95,-2.69 4.8,-1.07 8.35,-1.33 4.1,-0.82 2.93,3.44 0.05,3.74 1.68,0.94 3.6,2.18 1.73,3.93 0.86,1.89 -1.11,4.11 2.42,4.15 0.76,1.93 -3.34,4.01 -4.19,4.65 -2.24,1.3 -6.63,0.18 -7.57,0.78 3.24,1.44 7.59,1.87 10.57,0.09 2.11,-0.42 4.07,-2.19 5.25,-3.57 -3.52,-2.7 3.66,-3.35 5.21,-2.4 3.33,0.55 -0.34,4.1 3.31,3.5 2.06,0.07 3.91,-0.08 1.06,-0.3 -2.07,0.51 -2.85,-1.52 -0.6,-1.72 -1.7,-3.02 -6.11,-2.78 -9.2,-2.28 -3.32,1.25 -4.05,-3.19 -1.18,-4.22 -1.37,-1.81 -5.14,-2.02 -1.67,-3.51 2.76,0.11 4.47,-1.6 3.74,-2.88 4.25,0.41 -2.19,5.52 2.88,4.66 2.84,-0.4 5.34,1.47 8.25,0.58 -2.11,0.46 -2.66,-1.43 -5.43,-1.02 -2.46,0.05 -3.97,-2.26 -0.53,-1.84 1.8,1.27 5.53,-0.37 1.63,-0.18 1.45,-1.57 8.02,-0.68 8.84,0.14 1.57,1.18 8.01,1.5 4.08,-0.7 -2.4,0.18 -4.08,-0.51 -4.45,-2.45 -2.02,-1.1 4.3,-1.77 7.14,-1.4 3.48,-0.3 8.76,0.04 11.02,-1.07 2.34,-0.1 -4.74,-0.7 -2.39,-0.95 -0.42,-0.13 4.58,0.38 1.01,-0.39 0.57,0.25 -3.6,-0.71 -0.97,-0.71 1.82,1.27 2.53,-0.93 3.62,-0.68 -3.88,-0.68 2.51,0.27 3.54,-1.02 2.47,-0.31 7.11,-1.08 10.59,-1.06 1.75,-0.02 6.32,-0.75 2.14,-0.57 -3.2,0.14 2.48,-0.71 1.89,-0.48 1.44,0.03 8.01,-0.59 4.39,0.68 2.73,-0.33 6.46,-0.1 6.71,-0.79 1.53,-0.5 7.67,0.84 3.11,-0.6 0.9,-0.72 6.18,-0.34 8.72,-0.09 -3.83,0.29 -4.57,-2.17 -0.62,-2.7 0.92,-0.73 6.69,-1.44 9.5,-0.53 5.79,0.7 -7.79,1.3 -2.14,1.22 1.05,0.09 4.77,-0.38 1.9,0.35 1.69,-0.44 8.06,-0.46 3.4,1.12 -1.39,0.48 3.57,0.27 4.44,-0.48 3.58,0.25 7.62,-0.79 10.87,0.72 -0.84,0.42 2.48,-0.24 1.6,1.27 1.98,-0.48 0.95,-0.87 2.48,0.42 2.08,1.99 -5.7,-1.07 -2.24,0.93 4.73,-0 -1.11,2.27 -2.81,2.4 -1.94,0.31 -5.86,1.12 -5.85,1.26 -0.9,1.24 -6.22,1.45 -8.63,2.71 -1.8,0.05 -6.59,2.58 -2.26,1.24 2.16,-1.56 5.9,-0.49 8.13,-1.3 2.01,-0.61 3.05,-0.34 6.04,-1.01 -1.37,-0.24 -5.76,0.35 -2.07,-0.9 2.24,0.69 3.44,-0.75 4.09,0.77 2.3,1.09 4.96,-1.83 4.83,0.98 1.66,0.24 1.77,0.4 0.3,-0.3 4.8,-0.78 9.67,-0.25 14.49,-0.31 1.31,0.49 -2.79,0.97 0.54,1.44 4.1,0.37 8.27,0.6 12.35,0.24 1.32,-0.38 -1.11,-2.03 1.18,-1.71 2.19,-1.28 4.98,1.13 7.38,0.3 -0.95,0.87 4.04,-0.89 5.45,0.66 1.57,0.25 2.9,0.72 0.29,0.99 1.1,0.24 3.22,0.23 0.84,0.44 3.89,0.1 -3.53,0.87 0.5,0.78 3.52,0.89 -0.52,1.51 -2.08,0.92 1.24,2.04 2.83,0.75 2.99,0.75 0.84,0.89 -2.7,0.35 0.17,1.39 2.02,1.74 6.76,2.73 7.4,-0.04 1.99,-3.1 6.22,1.88 8.33,-0.22 2.53,-1.29 6.77,0.83 8.07,0.88 -1.07,-0.26 2.51,-0.22 0.21,-0.7 0.86,-1.55 7.15,1.34 4.48,-1.25 -1.52,-0.35 3.99,-1.31 0.04,-0.9 -3.64,-0.53 4.95,-0.88 3.67,-1.44 -1.78,-1.2 3.85,0.5 4.95,-0.03 3.78,0.46 7.81,-0.29 11.41,1.08 -1.97,0.11 -6.62,-0.64 -6.82,0.4 1.84,-0.05 5.37,-0.93 6.18,0.11 -1.39,0.83 -1.65,0.91 -1.09,-0.09 -0.72,0.29 -1.94,-0.53 -1.24,0.75 -5.07,-0.17 0.46,1.63 2.66,-0.53 2.46,-1.06 7.58,-1.06 8.91,0.76 -1.79,-0.38 -4.53,0.84 -1.05,0.47 1.15,0.28 4.44,0.6 1.29,1.23 2.21,-1.04 6.84,0.24 4.96,0.85 5.17,1 10.36,-1.23 15.56,-0.33 2.68,-0.3 8.1,1.17 6.57,2.79 -1.16,1.6 4.4,1.44 5.94,1.15 4.24,-0.26 8.41,0.19 12.63,0.51 2.15,-0.66 4.01,-1.15 5.28,0.74 2.64,0.49 6.14,2.47 6.98,0.05 -1.24,-1.52 -3.26,-0.69 -1.32,-2.19 0.7,-1.37 8.12,1.13 7.9,0.16 3.46,0.52 7.04,-0.18 10.46,0.85 1.35,0.51 6.14,0.35 4.29,0.92 0.79,-0.46 4.68,1.19 2.41,0.52 2.16,0.46 5.41,1.1 5.43,1.55 1.19,0.56 3.35,0.93 0.79,0.09 2.16,0.97 5.03,1.12 7.95,2.4 1.33,0.64 1.4,1.9 1.88,2.97 0.84,1.19 3.75,0.75 1.22,0 2.47,-0.77 -2.9,-1.74 0.45,-1.46 1.76,0.08 2.44,0.01 2.51,0.67 0.81,-0.43 3.29,0.07 0.65,-0.46 2.22,-0.49 6.18,1.78 7.69,2.37 -0.96,0.09 1.65,0.5 -0.56,0.77 -0.76,2.14 -4.58,-0.74 -1.93,1.06 -2.47,0.6 -2.35,-0.21 -5,-0.36 2.44,0.29 1.25,1.6 0.94,1.38 2.18,0.9 -3.6,1.04 -1.04,1.29 -1.43,-0.11 3,1.25 0.18,0.73 -0.3,0.17 -1.68,1.32 -1.72,-0.36 -1.51,1.26 -4.85,-0.64 -6.58,-1.32 -1.81,-3.33 -6.72,0.72 -8.23,-2.23 -0.61,-0.31 1.99,-2.18 -0.21,-0.88 -1.28,-0.91 -1.46,-0.1 -2.74,0.68 2.99,0.99 -0.19,1.65 -0.28,1.65 3.75,-0.02 -5.6,2.72 -3.73,1.89 -2,0.91 -6.16,-1.99 -6.2,-0.85 3.84,0.06 0.17,0.91 -1.55,0.24 2.36,0.43 -0.59,1.16 1.81,0.69 1.75,-0.28 2.11,-0.33 2.58,1.05 2.16,-0.14 3.34,0.5 3.34,1.94 -1.67,-0.07 1.26,0.52 1.03,0.8 2.43,1.15 0.52,3.62 -2.11,2.22 -1.33,0.29 -4.96,-1.63 -2.89,-0.15 -3.34,0.63 -6.6,1.85 -8.87,2.22 -2.5,0.64 -3.1,1.12 -4.43,1.7 -0.56,0.3 -2.37,1.48 -4.94,1.89 -0.74,1.29 -1.85,2.25 -3.1,0.15 -3.55,-1.16 -6.98,0.24 -9.9,1.78 2.5,-3.25 -2.42,-0.68 -2.59,-0.69 -0.29,1.42 -3.63,-0.72 -3.75,0.28 -2.2,0.8 -0.97,2.76 -2.67,3 -2.8,1.07 -1.97,4.41 0.19,2.71 3.15,0.22 -2.73,3.14 1.25,3.62 1.02,2.49 -3.36,1.43 -0.75,0.35 -1.62,0.1 -5.18,2.81 -2.6,4.89 -1.79,1.07 -7.62,0.75 -5.76,4.09 0.54,0.69 -4.84,0.51 -3.78,1.21 0.26,2.66 -4.19,5.47 -5.34,4.98 -1.23,-1.82 -0.28,-3.97 -1.79,-4.95 -0.41,-3.63 -2.89,-7.71 0.14,-10.94 0.78,0.26 2.73,-2.06 2.57,-2.91 2.48,-0.16 4.7,-0.97 6.7,-2.47 1.76,-2.35 5.38,-3.06 7.18,-4.99 2.5,-0.93 5.74,-0.98 4.96,-3.13 0.24,-2.16 3.65,-2.8 3.73,-2.53 2.99,0.51 -2.88,-1.13 -4.15,-0.39 -2.79,0.04 -0.26,3.84 -2.75,2.81 -2.29,-0.33 -6.12,3.78 -7.01,2.35 1.19,-1.04 -2.28,-0.34 -0.36,-1.72 2.14,-2.08 -0.23,-0.94 -1.49,-1.11 -2.69,-0.3 -6.59,-0.44 -8.43,1.64 -1.71,1.5 -7.4,3.4 -6.03,4.97 0.96,-1.1 3.85,1.21 0.73,0.68 -3.09,0.1 -5.55,0.89 -8.63,0.83 -3.18,-0.96 4.91,-0.49 0.68,-1.26 -2.13,-0.49 -5.39,-1.56 -7.38,-0.56 1.01,0.46 -1.95,-0.17 -0.43,0.88 -2.55,-0.2 -5.58,-0.7 -7.83,0.16 -2.34,-1.32 -6.17,-0.32 -9.07,-0.26 -3.53,1.16 -5.89,3.73 -9.04,5.38 -3.56,1.69 -5.69,4.21 -9.53,5.74 -2.6,0.19 -3.31,2.3 -0.27,2.04 2.61,-0.94 2.14,1.14 2.26,2.27 2.19,0.07 -0,-1.75 2.56,-1.47 -3.02,1 1.77,0.77 -0.67,1.65 -1.82,2.34 5.63,-2.43 2.06,0.65 2.26,-0.43 0.18,-3.46 3.17,-2.04 1.97,-0.28 4.66,2.3 5.58,3.22 -1.6,0.15 -1.95,-0.45 -0.19,1.01 -0.15,1.5 1.17,2.27 -1.22,3.44 -1.55,2.06 -0.54,4.25 -1.6,6.27 0.41,3.03 -4.64,4.81 -5.79,7.92 -2.09,2.7 -5.25,4.3 -7.35,6.9 -1.64,1.88 -5.23,4.21 -7.92,3.24 -1.8,0.11 -0.61,-1.9 -2.3,-0.7 -0.16,-1.65 -1.87,2.49 -3.28,1.31 0.46,1.81 -1.75,-1.25 1.09,-0.86 1.52,-2.63 -2.24,-6.36 2.34,-6.58 3,2.1 3.84,-1.39 5.39,-2.88 -0.38,-2.5 3.83,-3.99 1.6,-5.81 -3.45,0.24 -6.72,3.17 -10.12,1.43 0.13,-2.81 -1.87,-2.89 -4.03,-4.41 -2.43,-0.09 -5.88,-0.38 -5.77,-3.74 -1.45,-1.8 -2.14,-4.2 -3.6,-5.7 -2.3,-1.41 -5.07,-1.76 -7.89,-2.02 -2.79,0.1 -7.06,0.22 -8.32,2.4 4.53,0.5 -1.32,3.5 -1.93,5.45 -0.81,1.4 -0.35,2.28 -2.87,2.41 -2.78,2.08 -5.92,-1.06 -8.94,-0.42 -3.56,-2.26 -6.54,2.47 -10.36,1.78 -3.78,1.2 -8.2,0.14 -11.23,-1.73 -3.43,-2.39 -7.69,-0.54 -11.49,-0.62 -3.53,0 -2.29,-4.58 -6.08,-3.84 -3.47,-1 -7.32,-2.39 -8.77,1.51 2.67,2.58 -1.84,4.43 -4.22,3.08 -2.65,0.3 -5.06,-0.22 -6.91,-1.86 -3.05,-0.27 -5.04,-1.01 -8.15,0.62 -3.41,0.72 -4.12,2.94 -7.39,2.57 -2.57,3.54 -4.17,-2.26 -5.85,-0.12 -3.45,0.09 -4.91,-3.11 -7.92,-4.23 -1.79,0.67 -5.66,1.46 -6,-0.37 -1.76,-1.57 -3.29,3.16 -4.42,-0.56 -2.08,-2.7 -4.08,-5.81 -7.45,-6.99 -2.94,-0.65 2.26,-2.26 -1.52,-1.44 -2.68,0.52 -4.55,2.65 -7.12,2.07 -1.71,1.15 -1.51,-1.01 -0.09,-1.09 -0.96,0.21 -3.6,-0.82 -3.19,0.06 -0.64,-1.58 -2.14,0.01 -4.41,-0.88 1.6,-1.26 -0.94,-3.7 -2.77,-2.54 -3.35,-1.83 -4.38,0.94 -7.69,1.08 -3.32,-0.09 -5.6,1.49 -8.71,1.36 -2.79,0.62 -4.93,1.23 -7.82,0.89 -0.95,0.56 -0.85,1.29 0.85,1.36 -3.67,0.63 4.3,1.18 0.3,1.57 -1.27,-0.73 -3.63,0.61 -1.72,1.73 -1.63,0.74 -4.26,1.08 -1.26,1.96 2.69,-0.04 3.89,2.45 0.51,2.77 -2.59,-1.22 -3.45,1.54 -6.07,-0.6 -1.28,-1.9 -3.02,0.94 -4.63,-0.61 -2.08,0.38 -3.98,2.57 -6.19,0.18 -0.36,0.13 -0.41,2.64 -0.76,0.47 -2.31,-1.41 -5.48,-3.19 -7.58,-1.69 -2.42,-1.77 -3.19,0.57 -6.05,1 -0.91,1.62 -3.37,0.79 -1.95,3.21 -1.78,1.59 -3.66,-3.44 -4.48,-0.03 -2.34,1.01 0.7,2.74 -1.77,3.83 1.72,0.88 1.16,2.91 3.55,2.32 1.92,0.42 4,3.42 2.02,3.3 3.17,0.87 0.68,1.16 0.15,1.87 0.14,0.2 -3.39,1.02 -3.1,0.78 0.05,0.65 -2.16,2.52 -2.08,3.59 2.36,0.01 1.19,3.75 2.55,1.49 -3.08,2.65 4.55,4.97 1.08,6.89 -2.15,1.53 -4.26,-2.15 -6.69,-2.29 -0.24,-2.22 -3.9,-0.8 -5.31,-1.29 -3.01,-1.83 -6.89,-1.88 -10.23,-2.23 -1.78,-0.19 -4.76,-3.39 -6.74,-3.27 -1.46,-0.98 -3.03,-1.13 -2.39,-2.05 -0.52,0.01 3.77,0.8 2.26,-0.72 1.23,-0.82 1.38,-1.35 2.52,-1.35 -1.99,-0.82 -2.6,-1.9 -0.03,-1.48 0.08,-0.87 4.3,-1.72 0.79,-1.49 -1.7,0.19 0.99,-0.52 -1.29,0.13 -1.34,-2.6 5.48,-1.24 4.27,-3.36 0.06,-0.72 -0.91,-1.17 0.33,-1.54 -1.63,0.07 2.15,-2.61 -0.74,-2.02 -2.43,-1.28 -4.96,-0.76 -6.99,-2.3 -2.48,1.01 -5.03,-0.02 -5.75,-2.1 -2.48,0.45 -2.83,-1.27 -2.31,-2.1 -1.74,-3.01 -5.47,0.3 -7.34,-1.15 -0.7,-1.78 -1.35,-3.13 1.38,-2.27 3.16,-0.33 0.44,-2.32 -0.94,-2.06 -0.65,-1.4 -3.51,-2.48 -2.43,-4.79 -2.86,-1.11 -4.55,-0.8 -7.42,-1.56 -0.34,-1.92 -1.75,-2 -1.49,-3.59 -2.06,-0.78 1.47,-1.38 -0.64,-2.52 -0.39,-2.21 2.22,-2.82 1.75,-4.13 1.41,-0.3 5.09,-0.54 5.47,-0.65 -2.54,-0.54 -4.68,-1.21 -4.25,-2.06 -4.58,1.28 2.09,-1.55 3.43,-2.54 2,-1.25 7.48,-3.89 2.47,-5.11 -3.07,-0.74 -0.25,-1.08 -0.51,-2.36 -2.14,-0.64 -0.29,-1.41 -2.37,-1.96 0.74,-0.38 -0.53,-2.35 1.36,-2.08 -1.86,-2.36 -3.8,-3.95 -0.44,-5.63 -1.21,-1.25 -5.27,-1.27 -3.5,-3.22 z m -24,40.71 c 0.88,-1.73 2.7,-1.43 4.13,-2.53 -2.85,1.07 0.58,1.91 0.81,0.07 2.08,0.22 6.34,0.97 4.11,2.79 -2.19,-0.03 -8.09,0.44 -7.89,-0.69 2.88,-0.71 -0.85,-0.45 -1.16,0.35 z m 223,-67.55 c -4.59,2.22 3.76,0.36 5.68,0.55 2.84,-0.28 8.08,0.35 9.36,-1.46 -2.8,-0.94 -5.59,-1.47 -8.48,-0.35 2.46,-1.14 1.51,-1.97 -0.83,-1.28 0.14,-0.04 -4.27,0.2 -2.19,0.83 -2.54,-0.13 0.16,1.15 -2.09,0.62 -0.66,0.05 -1.03,0.67 -1.45,1.09 z m -15.19,-4.39 c -2.63,0.17 1.01,0.57 -1.42,0.71 -2.13,0.29 -4.71,0.8 -1.08,0.67 1.38,0.3 5.95,1.77 9.06,1.42 2.18,0.49 5.08,0.87 8.3,-0.03 -1.67,-0.82 -3.11,-0.54 -0.78,-1.18 2.16,-2.45 -3.42,-1.89 -4.48,-1.31 -2.13,0.5 -2.34,0.64 -0.16,-0.48 -3.02,-0.52 -6.41,-0.32 -9.44,0.2 z m -8.47,-0.91 c 1.77,-0.54 6.96,0.07 2.33,-0.04 -2.54,0.03 3.07,0.57 -0.35,0.37 0.98,0.78 6.2,0.36 8.94,-0.08 2.09,-0.12 5.73,0.71 4.54,-1.43 4.76,-0.14 -1.67,-0.62 -3.05,-1.86 -1.06,-0.3 -4,0.25 -1.31,0.2 -2.23,0.29 -7.04,0.42 -7.73,1.41 2.63,0.43 -5.01,1.09 -0.54,1.12 -0.45,-0.23 -3.92,0.04 -2.82,0.32 z m -1.28,0.91 c 0.46,0.98 4.67,0.37 2.23,0.78 2.23,0.88 6.89,-1.15 2.05,-0.83 -0.89,0.18 -5.17,-0.51 -4.28,0.05 z m 160.93,14.73 c 1.89,0.35 7.14,-1.17 2.58,-1.29 -3.24,-0.5 -6.78,-0.05 -9.54,-1.02 -3.43,1.66 3.77,2.03 5.24,2.25 l 0.85,0.04 z m -25.17,3.62 c -2.36,0.58 3.2,-0.42 4.04,0.33 2,0.5 8.21,0.71 3.78,-1.2 -2.87,-1.22 -5.22,0.19 -7.82,0.87 z m -8.42,-6.04 c 0.81,-0.01 1.46,1.28 -0.37,0.79 2.5,2.49 6.34,1.41 8.91,1.5 1.91,-0.24 6.38,-0.99 5.66,-0.08 1.51,-0.16 6.2,-0.24 2.21,-0.64 -3.44,-0.75 -2.13,-2.75 0.12,-1.6 -2.84,1.84 5.45,2.38 5.47,0.44 3.07,-0.14 -3.3,-1.64 -4.56,-1.03 -2.46,0.55 -4.5,-1.5 -5.62,-0.66 -0.9,0.21 -1.25,2.33 -2.11,0.68 -2.65,-0.48 -5.34,-1.7 -8,-0.36 0.83,1.16 -1.43,-0.07 -1.71,0.96 z m 80.88,57.08 c -3.12,-0.06 3.2,3.15 -0.02,0.55 -0.07,-0.17 0.2,-0.4 0.02,-0.55 z m -7.79,-9.11 c 1.7,0.2 5.64,-2.63 1.53,-1.36 -0.47,-0.2 -0.5,1.33 -1.53,1.36 z m -40.64,36.73 c -2.29,0.38 -3.51,1.08 -5.23,2.73 0.13,-0.02 4.7,-2.12 5.23,-2.73 z m -7.3,2.84 c -1.21,1.14 -2.89,3.28 -0.55,1.04 0.9,-0.66 2.7,-0.78 0.55,-1.04 z m -9.66,-26.71 c 0.75,1.38 -0.43,1.65 -1.91,1.68 -0.17,2.36 -1.31,4.65 0.77,6.5 -1.23,3.17 -0,6.76 -0.66,9.65 0.05,1.47 -1.02,7.12 1.07,3.3 1.11,-1.76 3.47,1.34 3.17,0.46 -0.05,-2.77 -1.34,0.29 -1.58,-2.82 -2.96,-1.39 1.1,-6.32 1.28,-5.58 -0.61,-1.26 4.06,1.68 3.46,1.59 -1.93,-2.09 -2.68,-5.85 -3.35,-7.75 -0.75,0.02 -1.18,-3.19 -0.15,-2.9 -0.66,-1.12 -0.96,-3.6 -0.05,-0.95 -0.34,-2.36 -1.49,-2.05 -1.26,-3.92 -0.65,-0.64 -2.51,-0.14 -0.77,0.74 z m -14.76,-2.79 c -0.45,1.81 3.64,-0.2 1.02,-0.48 -0.44,-0.39 -0.62,0.49 -1.02,0.48 z",HT:"m 266.35,183.21 c 0.99,0.03 4.39,1.37 4.7,-0.3 -1.42,-0.77 -0.59,-2.99 -2.83,-2.75 2.53,-1.63 5.89,0.33 4.66,2.79 -1.39,0.24 1.33,2.8 -1.22,1.39 -1.06,-0.01 -8.54,0.81 -5.31,-1.14 z",BA:"m 515.61,108.85 c 1.82,-0.49 4.8,-0.16 7.39,-0.06 1.25,0.88 3.38,0.03 2.04,2.13 1.88,0.97 -0.1,0.88 0.72,2.1 -1.5,0.44 -2.48,1.02 -2.64,2.86 -2.69,-0.82 -4.05,-3.01 -6.27,-4.99 0.04,-1.12 -1.73,-0.78 -1.25,-2.05 z",IN:"m 661.02,168.77 c 2.15,-2.64 10.72,0.22 6.65,-5.13 -1.73,-1.18 -1.11,-2.71 -2.75,-3.65 0.53,-4.88 5.65,-1.01 7.64,-4.52 1.73,-3 5.85,-5.29 5.99,-8.59 1.43,-1.5 3.18,-2.4 0.21,-3.07 -1.63,-1.59 -1.49,-3.83 -1.68,-5.26 3.14,-1.38 6.62,1.29 9.3,-2.1 2.3,-1.39 2.86,2.18 4.57,3.04 -1.41,1.43 3.61,5 -0.35,4.78 -2.13,-0.68 -0.03,3.77 1.34,3.53 2.41,1.42 5.57,2.61 2.52,5.25 0.4,3.43 5.65,4.33 8.7,5.38 3.86,0 6.89,3.07 10.87,2.88 4.34,1.45 0.38,-6.23 4.38,-4 -0.49,4.9 5.68,2.25 8.5,2.78 1.05,-1.6 -2.06,-2.93 1.09,-2.86 3.05,-2.18 5.91,-4.26 9.57,-3.92 1.62,-0.78 1.39,0.8 2.11,1.23 -1.51,2.39 4,0.44 1.53,3.35 0.15,2.57 -3.8,0 -5.02,2.87 -1.52,2.68 -1.82,7.66 -5.35,7.78 0.34,1.88 -1.46,7.6 -2.6,3.28 0.56,-3.52 -1.66,-2.19 -2.84,-1.16 -2.77,-2.69 5.71,-4.36 1.08,-5.77 -2.64,-0.13 -5.78,0.48 -5.97,-2.74 -1.64,-0.43 -5.01,-2.22 -3.37,1.42 3.43,0.75 -3.64,3.11 0.58,3.64 -0.54,2.11 2.77,6.55 0.32,7.27 0.14,-2.94 -1.22,2.41 -1.79,-0.81 0.35,-1.41 -1.28,1.63 -2.67,1.7 -0.84,2.4 -2.43,5.18 -5.24,4.8 -1.25,2.86 -5.37,5.36 -8.05,7.72 -1.36,2.67 -8.24,3 -6.05,7.72 0.67,2.63 -0.29,5.48 -1.25,8.74 1.46,2.18 -3.6,4.23 -1.64,5.29 -3.2,-0.57 -3.39,5.55 -6.34,1.92 -1.91,-2.81 -1.52,-5.2 -3.5,-8.28 -2.54,-3.3 -2.51,-7.76 -4.9,-11.15 -1.54,-3.02 -2.32,-6.83 -2.3,-10.07 -0.66,-0.95 -0.81,-5.32 -0.56,-7.14 1.96,-0.46 -2.38,-1.05 0.2,-1.88 -3.14,-0.91 -1.37,5.66 -5.59,4.12 -2.56,-0.4 -7.37,-5.37 -2.47,-4.86 3.91,-3.18 -3.31,1.14 -3.81,-2.38 -0.35,-1.97 0.32,-0.7 -1.1,-0.85 l 0.06,-0.34 z m 68.31,30.59 c -0.76,2.09 -0.39,5.08 0.27,1.28 0.49,-1.51 0.24,-4.58 -0.27,-1.28 z",CN:"m 676.19,124.66 c 0.98,-1.83 3.25,-2.89 5.46,-3.21 1.72,2.58 3.49,-2.51 6.01,-1.25 1.96,-1.24 5.07,-2.13 6.86,-3.29 -0.65,-2.73 3.04,-2.13 0.47,-5.26 0.7,-1.82 -0.76,-1.93 -1.33,-2.46 2.18,-1.71 6.37,0.32 7.36,-1.37 -1.71,-0.44 0.85,-4.93 2.17,-4.89 2.66,1.09 7.77,1.38 6.25,-2.85 1.12,-1.02 3.17,-0.74 3.53,-2.58 3.42,-0.89 2.49,1.94 5.53,2.87 2.83,-0.07 6.03,2.03 5.68,5 -0.4,1.63 -1.19,3.52 1.67,3.39 3.81,-0.25 7.11,1.27 10.59,2.43 0.94,2.78 3.39,5.13 6.71,4.15 3.26,0.94 6.58,-0.02 9.86,0.56 3.02,1.55 6.81,1.97 9.99,2.52 3.46,-1.14 7.28,-2.67 11.14,-2.14 3.36,0.17 5.74,-2.56 8.43,-3.8 -3.55,-2.2 0.96,-5.11 3.39,-2.82 2.7,-0.29 4.66,-2.42 7.58,-2.27 1.89,-2.66 5.14,-2.73 8.12,-3.34 3.52,1.8 3.22,-1.63 0.5,-2.54 -2.9,-2.4 -7.09,1.31 -9.71,-1.03 1.84,-1.66 2.23,-6.59 5.67,-4.32 1.73,-0.47 5.28,-0.91 4.66,-2.74 0.65,-2.25 5.72,-3.82 3.46,-5.87 -3.15,-0.11 2.81,-2.56 4.29,-2.25 3.47,-0.72 6.65,0.61 9.85,1.03 1.47,1.29 2.72,2.4 3.14,4.21 1.6,1.71 1.34,4.47 3.28,5.65 2.63,-0.12 6.8,1 7.49,2.86 -0.06,3.38 4.81,2.8 7.08,1.24 2.05,-0.65 5.63,-1.43 3.84,1.81 -2.18,1.1 -1.62,4.59 -3.99,5.76 -0.74,2.42 -3.94,-0.86 -5.37,1.36 -0.68,1.23 1.33,6.54 -1.79,6.4 0.65,1.89 -2.28,-3.04 -2.11,0.29 -1.2,1.07 -3.81,1.45 -4.57,1.93 0.9,3.73 -4.61,-1.94 -5.15,1.91 -2.77,1.4 -5.47,3.91 -8.38,3.98 -1.83,0.26 -4.94,3.72 -5.71,2.3 1.87,-0.72 2.25,-1.37 -0.02,-1.55 1.16,-1.01 4.13,-2.63 1.82,-4.16 -2.71,0.14 -4.38,2.63 -7.17,3.79 -0.26,2.82 -6.3,-0.06 -4.28,3.62 1.87,1.47 4.4,-0.22 3.61,3.08 2.93,1.27 3.81,-3.22 6.7,-0.84 1.85,0.07 4.74,0.71 2.12,1.94 -0.85,-0.61 -2.49,0.66 -4.04,0.94 1.1,0.5 -1.5,1.4 -1.84,1.14 0.85,1.18 -5.19,3.68 -0.97,4.61 3.04,0.63 2.02,5.26 4.61,6.08 0.38,0.89 2.57,2.29 -0.03,1.31 -1.71,-0.33 -3.98,-0.32 -4.77,-1.14 0.2,0.17 1.18,1.11 3.05,1.01 1.24,0.82 5.05,3.07 1.14,3.56 -0.82,1.12 -4.41,1 -1.66,1.07 0.15,1.25 2.24,-0.9 3.32,0.96 1.68,7e-4 -2.37,2.24 -0.01,0.92 1.46,1.66 -2.03,0.31 -0.33,1.92 0.25,0.71 -2.53,0.11 -0.44,0.9 0.21,2.07 -1.3,-0.07 -2.09,1.69 -0.34,-1.27 0.17,3.3 -1.32,1.9 0.31,1.21 -1.28,2.5 -1.15,1.82 -1.91,-0.55 1.16,1.12 -1.18,1.94 -2.52,-0.3 1.93,-0.49 0.12,1.08 0.75,1.16 -1.52,-0.46 -0.8,1.16 -1.3,-0.69 -1,1.85 -2.11,1.43 -1.44,0.56 -1.84,0.37 -1.2,1.22 -0.58,1.11 -3.91,1.83 -3.53,2.7 -0.54,1.17 -3.16,1.16 -3.37,1.31 -0.21,0.3 -1.88,0.26 -2.25,0.37 -0.4,-0.54 -0.32,1.21 -1.98,0.36 -1.09,0.06 -1.43,-1.98 -0.79,-1.66 -2.48,0.28 0.3,1.37 -0.8,2.65 -1.59,-2.37 0.45,1.1 -1.14,0.16 -0.53,2.04 -2.1,-0.49 -2.11,1.18 -1.28,-0.82 -3.27,1.61 -4.19,0.79 -0.95,0.09 -1.82,1.58 -1.18,1.78 1.08,2.17 -1.87,1.65 -1.57,0.11 -0.21,-1.58 0.77,-2.41 -0.73,-2.43 -0.66,1.54 -1.9,-0.84 -2.21,-0.27 -0.84,-1.36 -0.36,1.63 -2.6,0.24 -1.39,0.29 -4.02,-1.33 -2.89,-2.75 -0.33,-1.32 -3.39,-0.8 -4.13,-1.88 -1.6,1.63 -3.37,1.75 -4.75,2.01 -0.87,-0.55 -1.87,0.5 -2.97,-0.31 -0.93,1.27 -3.59,0.13 -1.88,2.76 1.13,2.12 -2.19,1.84 -1.82,-0.17 -3.05,2.72 -2.46,-1.51 -5.31,-0.98 0.41,-1.66 1.61,-2.8 -0.66,-3.07 -0.66,-2.14 -0.16,-3.51 -3.08,-2.08 -1.52,-0.11 -0.44,-4.15 1.31,-4.64 1.63,-0.67 1.84,-5.2 0.32,-5.63 -0.62,-0.82 -1.93,-3.56 -3.2,-1.93 -1.58,-0.67 -3.46,0.33 -2.03,-1.74 -0.71,-0.71 -1.24,0.1 -0.84,-1.18 -1.66,-0.28 -3.02,1.33 -4.67,0.18 -3,0.65 -5.1,5 -7.99,3.9 -2.19,-0.27 -4.92,-2.17 -6.72,0.26 -1.39,2.29 -0.88,0.42 -1.34,-0.74 -2.24,1.12 -6.05,-0.24 -7.37,0.15 -1.72,-1 -3.07,-1.32 -5.2,-2.73 -2.13,-0.8 -4.8,-3.35 -7.47,-3.95 -1.43,1.75 -3.37,-1.06 -4.89,-1.65 -1.25,-0.09 -1.77,-1.57 -2.84,-1.23 0.24,-1.36 -2.08,-4.64 0.61,-2.74 3.94,-1.31 -2.27,-3.7 -0.23,-5.46 -2.53,-0.9 -2.49,-4.23 -5.76,-3.62 -1.19,-0.91 -2.65,-0.68 -2.66,-2.99 -1.4,-0.97 -5.85,-1.1 -2.11,-2.04 -0.68,-1.91 -0.62,-4.36 -3.56,-3.51 0.02,-1.05 -0.58,-1.09 -0.48,-2.31 z m 97.06,56.63 c -1.11,3.9 4.72,3.69 5.27,0.66 1.63,-1.13 0.73,-3.74 -0.44,-2.35 -2.21,-0.55 -3.09,0.13 -4.83,1.69 z m 14.89,-8.96 c 1.82,-0.56 0.14,1.44 0,0 z",CA:"m 244.83,107.58 c 2.56,-1.73 -4.42,-1.05 -3.23,-0.93 1.16,0.78 3.66,0.35 3.23,0.93 z M 104.71,86.08 c 3.08,-0.45 -0.47,0.88 2.33,2.09 2.62,1.96 -2.81,-1.34 -2.42,-1.74 -1.02,0.29 -0.33,-0.53 0.09,-0.35 z m -1.61,-1.25 c -1.31,-3.08 3.61,-0.28 1.49,-0.2 -0.93,0.47 3.48,-2.79 1.31,-0.11 0.03,2.3 -3.46,1.11 -1.72,0.94 0.13,-0.07 -2.15,-0.68 -1.07,-0.63 z m 7.14,-1.3 c -1.97,0.46 -0.13,0.25 -0.04,0.57 0.33,0.02 0.37,-0.51 0.04,-0.57 z m 0.86,1.37 c 2.1,1.83 1.37,-0.53 -0.62,-0.93 l 0.14,0.3 z M 309.76,101.63 c -3.74,1.04 -2.32,-2.06 0.32,-2.47 -0.97,0.04 -3.66,0.15 -1.35,-0.7 -0.84,1.41 2.48,-1.8 2.19,-0.65 0.19,-0.53 -0.89,-1.18 0.45,-1.6 0.95,-2.81 2.42,-5.02 5.54,-5.58 2.59,-0.18 -1.89,0.8 0.31,1.17 -0.88,0.61 -4.78,5.96 -1.61,3.18 0.66,-0.31 3.99,0.11 1,0.89 -1.13,0.11 1.44,-0.04 -0.42,0.73 1.61,0.2 3.54,-0.84 2.04,1.08 1.8,-1.07 2.61,-1.46 5.38,-0.6 -0.87,1.02 -2.5,1.19 -1.2,1.4 0.05,0.34 0.89,0.09 -0.7,1.12 0.85,-0.39 5.1,-1.26 1.4,0.5 -1.56,0.18 0.51,0.26 -0.6,1.31 0.53,1.55 3.59,-3.11 1.88,-0.13 -0.79,1.96 2.57,-1.37 1.04,1.65 -1.29,3.05 -2.65,0.4 -2.49,0.31 -2.83,2.91 0.95,-4.13 -1.92,-1.48 -0.31,0.75 -1.34,0.25 -2.54,1.84 -5.04,0.91 3.13,-2.34 0.7,-1.86 0.01,-0.95 -1.74,0.99 -2.54,0.22 -0.35,0.19 1.48,-1.19 -0.49,-0.8 -1.06,1.54 -4.96,-0.09 -6.38,0.48 z m -13.97,-6.19 c 1.75,0.03 7.41,2.68 2.62,2 -1.7,-0.27 -9.04,-3.24 -2.62,-2 z m 4.16,7.1 c 0.66,-1.17 2.5,-1.07 0.33,-0.31 1.28,-1.24 -0.82,1.46 -0.33,0.31 z m 1.76,4.82 c -1.8,-2.58 4.69,-5.31 2.21,-1.89 0.47,0.45 -2.17,0.92 -0.8,0.9 -2.04,1.42 2.53,0.05 0.14,0.01 2.15,-0.94 -0.29,-0.55 1.6,-0.81 2.95,0.15 -1.22,2.57 -3.16,1.8 z m -6.54,-1.87 c -0.58,-0.96 -3.25,-1.11 -0.83,-2.23 -0.95,2.98 4.97,1.1 5.26,1.88 -1.31,0.29 -1.93,2.05 -2.6,0.23 -0.48,0.53 -1.25,0.39 -1.82,0.12 z M 146.14,38.73 c 2.04,2.16 5.73,2.16 9.08,2.11 1.9,0.06 2.05,3.48 5,1.99 3.34,-0.06 4.47,-0.1 8.62,-0.48 2.71,-0.39 5.75,-1.68 7.96,-1.82 0.12,1.1 4.45,0.21 3.52,1.24 2.83,-0.26 7.06,1.05 9.03,-0.86 -0.38,-0.8 -2.91,-0.99 -3.76,-0.03 1.4,-0.93 -2.45,-1.6 0.72,-0.97 2.01,-1.22 4.15,-0.13 5.74,-0.72 -1.83,-1.48 -4.91,-1.85 -7.57,-2.29 -1.3,-0.45 -3.98,-1.07 -2.25,-2.41 -2.43,-2.5 -4.5,-5.8 -8.66,-4.99 -3.42,-1.76 -2.11,2.72 0.38,3.84 -3.4,2.2 -3.08,-2.67 -6.23,-2.63 -1.42,-0.87 -5.32,-0.51 -1.4,0.18 0.95,0.32 -1.7,-0.12 0.11,0.65 -0.55,-0.65 -6.22,1.4 -4.5,0.11 2.51,-1.3 -6.37,-2.15 -5.77,-0.39 -0.62,-0 -4.26,0.38 -0.94,-0.68 -0.75,-3 -6.07,-0.2 -8.52,-0.27 -1.42,0.62 -5.7,1.08 -3.04,2.03 -1.61,0.03 -4.53,1.63 -1.3,1.71 3.11,-0.04 1.83,-0.01 1.51,0.64 2.2,0.34 7.16,-0.7 7.75,-0.15 -0.67,0.01 -3.39,0.09 -1.34,0.17 -1.74,0.94 -6.48,-0.16 -6.63,1.54 3.31,1.26 7.06,0.66 10.55,0.55 2.33,0.08 6.76,0.17 7.64,1.17 -4.22,0.32 -8.48,-0.56 -12.71,0.23 -1,0.12 -2.1,-0 -3.01,0.54 z m -51.48,2.87 c 1.51,-0.44 0.54,0.2 0,-0.73 2.66,0.85 -1.13,-0.61 1.69,-0.17 0.89,-0.89 6.58,-1.37 2.64,0.17 -1.82,0.74 1.69,2.23 -0.86,0.9 -1.04,-0.24 -2.37,0.11 -3.48,-0.17 z m -11.14,24.71 c -4.74,0.6 -2.53,-5.35 -2.97,-8.32 0.51,-5.66 -0.5,-11.32 0.04,-16.99 0.37,-3.03 6.07,-0.4 8.15,0.13 1.99,0.48 7.51,1.29 7.51,0.89 -1.1,-1.47 5.34,1.78 2.19,-0.64 2.81,-0.87 5.93,-2.03 6.76,-1.83 2.59,-0.42 4.86,-1.4 6.95,-1.35 1.76,1.12 -5.93,1.39 -3.63,2.45 0.33,-0.17 4.33,-2 5.58,-1.66 -1.4,1.69 4.21,-1.53 3.24,-1.01 -3.01,-1.53 3.09,-0.15 3.51,1.65 0.73,1.14 5.49,0.83 2.6,0.69 1.65,-0.06 -0.15,-1.24 2.02,-0.79 -3.09,-0.18 2.76,-1.13 -0.53,-0.74 -1.08,0.04 2.55,-0.88 1.76,0.74 2.39,-0.25 -1.7,1.07 0.84,1.05 3.31,-1.3 7.01,-1.88 10.62,-0.29 3.1,0.19 9.75,2.4 10.88,1.31 2.3,-0.71 9.6,1.99 3.82,2.28 -3.69,1.21 3.34,1.18 5,1.34 3.05,0.26 6.43,-0.99 8.67,-0.54 2.92,1.04 3.42,0.68 5.84,2.08 -1.21,0.61 -2.78,-0.51 -0.62,0.69 0.02,0.11 4.35,2.54 1.08,0.32 -0.2,-1.47 2.67,0.58 0.4,-1.56 -1.79,-2.45 -0.5,-1.93 2.44,-2.39 1.25,-0.6 4.56,-1.41 1.27,-1.14 -1.22,1.15 -5.07,0.43 -4.44,1.07 -2.82,0.55 -2.81,-1.33 0.45,-1.36 2.84,-1.2 5.87,-0.6 7.18,1.02 2.5,0.5 6.03,1.19 9.28,1.53 3.16,-0.39 6.32,0.22 9.42,-0.09 -3.13,-1.65 6.02,1.92 2.48,-0.46 -1.47,0.42 -3.22,-0.33 -2.65,-0.73 -1.46,-0.58 1.58,-0.36 2.14,-0.86 1.7,0.7 3.29,0.69 3.14,1.29 3.15,-2.04 -0.1,1.34 0.82,1.78 0.03,0.71 2.07,0.16 1.6,0.63 2.8,1.45 -4.59,-0.3 -0.84,1.17 1.91,1.41 -1.85,-1.34 1.34,-0.34 2.24,-1.01 -2.52,-3.19 1.31,-3.24 2.32,-0.41 5.92,-1.92 2.95,-2.58 1.52,0.95 -3.62,0.77 -0.77,-0.19 0.69,-0.24 -0.97,-1.12 1.23,-1 1.07,-0.19 -1.05,1.24 1.2,0.11 -1.98,-0.81 -6.79,-0.11 -8.7,-2.42 0.49,-1.44 2.05,-0.47 1.56,-1.36 -3.41,0.98 -1.2,-3.45 0.98,-1.7 0.81,-1.07 -2.56,-0.64 0.04,-1.02 1.52,-0.69 3.3,-0.36 0.61,-0.67 2.31,-0.94 1.96,1.17 4.35,0.52 1.51,0.23 2.43,2.42 2.9,2.66 1.31,1.26 5.29,1.89 1.1,1.83 -0.59,0.47 2.37,0.22 -0.18,0.8 -2.2,0.78 0.07,0.46 1.98,0.93 0.32,-0.62 2.69,-0.19 0.6,0.02 2.11,-0.14 4.46,0.1 1.28,0.73 -1.45,-0.18 2.86,0.97 1.26,2.35 2.09,1.79 1.56,-2.7 4.37,-2.24 1.94,-0.05 4.58,3.11 1.77,2.69 0.16,2.3 2.94,3.74 4.7,2.5 1.67,-1.64 2.36,-4.21 4.92,-4.09 -2.14,-0.41 2.15,-0.47 -0.59,-0.85 -1.27,-0.32 -2,-2.61 1.21,-1.98 1.52,0.28 6.69,0.22 5.83,0.88 -3.77,0.13 1.61,-0.21 0.99,0.83 2.21,-0.61 3.43,0.98 0.4,0.98 3.59,-0.39 1.24,1.58 -0.92,1.12 -1.08,0.83 2.57,1.41 3,3.55 -2.46,1.68 -6.78,3.08 -7.84,1.39 -1.45,-0.72 -0.92,-1.23 -3.01,-0.4 2.13,-0.37 2.4,0.17 3.84,1.87 -1.74,-0.44 -1.92,-0.44 -2.14,-0.01 -1.88,-0.53 -4.67,-1.55 -6.03,-0.58 5.01,0.23 -1.93,4.21 -4.04,2.76 -2.46,-0.63 -0.25,-0.53 -0.98,-0.62 -1.3,-0.23 -4.45,-1.31 -3.5,-0.51 -0.92,-0.36 -5.89,-0.27 -2.81,-0.25 3.62,0.89 7.31,1.87 10.82,2.38 -1.03,1.96 -5.91,3.47 -5.86,3.16 -2.55,-0.41 -1.86,-1.03 -3.11,0.91 -2.26,0.36 -8.59,-1.05 -9.49,-1.16 -1.29,0.69 5.54,0.37 3.02,1.39 2.48,-1.49 7.83,1.65 2.78,2.06 -2,-0.32 -2.91,0.06 -1.22,0.73 -2.3,-0.36 -2.13,1.41 -2.74,0.73 -0.46,1.4 -2,0.53 -1.39,1.69 -2.08,0.11 -1.69,3.18 -3.61,3.39 1.24,2.05 -1.5,4.67 0.69,4.72 1.72,0.47 -0.41,2.56 0.92,0.17 3.52,-1.7 5.11,4.92 4.09,5.11 2.05,-0.87 -0.14,0.49 2.28,-0.39 3.91,-0.93 8.29,0.43 11.65,2.49 1.68,0.86 7.67,1.82 6.77,3.05 3.47,-1.04 5.34,-0.15 8.43,0.06 -0.75,2.1 0.08,4.64 0.26,6.34 0.95,0.51 2.19,1.47 0.57,1.79 1.75,-0.47 5.9,2.21 2.48,3.28 1.45,-1.58 4.45,0.08 4.46,0.44 -2.57,-2.9 1.98,-1.26 1.46,-1.41 -0.03,-0.6 0.01,-1.95 0.9,-2.64 -0.74,-1.25 -1.02,-2.3 -1.44,-3.61 0.46,-0.89 -0.11,-1.27 -1.11,-2.3 -0.61,-1.94 5.15,-1.38 6.52,-3.51 4.22,-2.81 -0.03,-7.89 -3.79,-8.31 0.71,-1.66 2.34,-2.57 2.83,-3.18 2.16,-0.49 -1.96,-1.63 0.02,-2.24 -1.18,-0.38 -0.34,-0.96 -1.74,-0.73 1.34,-1.63 1.99,-2.18 -0.12,-3.43 1.39,-3.46 6.51,0.15 7.76,-0.76 1.59,0.83 7.15,-1.66 7.06,1.25 2.62,-0.24 1.07,0.89 3.46,0.75 -2.6,1.14 3.21,1.14 4.45,2.06 2.49,-1.25 0.42,0.81 0.74,2.26 -1.55,0.38 -5.34,-0.21 -1.48,0.2 2.84,-0.45 0.35,2.25 2.73,2.1 -0.79,0.38 -1.21,1 -1.63,0.92 -3.1,1.8 5.98,-1.97 3.87,2.16 -2.05,0.74 -3.51,1.21 -0.56,0.39 0.74,-0.84 2.92,-2.33 1.42,-0.37 1.54,-2.1 0.73,1.37 1.52,-0.15 2.02,-1.1 3.96,-2.16 4.54,-0.78 -0.45,-1.4 -0.11,-1.39 1.63,-1.63 -1.87,-0.2 -0.13,-1.63 0.85,-0.95 -3,-1.08 0.71,-0.99 -0.29,-1.45 0.91,-2.07 2.88,-0.97 0.98,-0.29 1.57,-0.58 2.12,1.13 2.7,1.58 -0.6,0.25 2.61,0.74 -0.48,1.01 1.67,-0.01 2.25,0.09 2.22,0.58 2.6,0.65 -3.13,1.67 0.2,1.16 1.49,-0.33 1.62,0.85 -0.52,1.25 1.9,-0.82 2.82,-0.05 2.23,0.08 0.83,-0.29 2.46,1.54 0.07,1.35 2.52,0.36 3.26,1.57 1.98,2.24 -0.58,0.44 -2.7,-0.45 -0.87,-0.35 -3.2,-0.39 1.42,0.76 -0.46,0.58 3.04,0.12 -1.17,0.41 1.49,0.85 -0.49,0.02 -1.23,0.41 0.92,0.26 -0.3,1.01 2.15,1.52 2.48,1.25 0.63,1.08 0.41,1.41 -0.1,1.83 -1.42,0.88 2.43,-1.21 0.72,0.34 2.06,-1.37 0.58,-0.05 2.32,-0.32 -1.99,1.75 -0.59,0.5 0.78,-0.21 -0.83,0.96 3.44,0.91 4.93,1.94 -0.91,0.27 -0.18,0.2 -2.27,0.57 -1.84,0.6 -5.63,1.13 -1.65,0.57 2.38,-0.14 -3.16,0.98 -4.22,1.44 -2.7,-0.93 -0.89,-0.3 0.64,0.4 -2.33,1.52 3.75,-1.61 5.49,-1.72 1.43,0.01 -2.41,-0.46 0.42,-0.41 1.33,-0.34 3.51,1.41 1.11,1.71 1.48,0.47 2.57,-1.08 3.17,0.01 0.44,-0.43 2.91,1.71 0.64,1.58 1.75,0.56 -0.62,0.7 1,1.17 -2.22,0.27 -1.65,-0.28 0.39,0.74 -2.99,-0.77 1.74,0.68 -1.38,1.45 -2.37,2.12 -6.86,0.27 -7.89,2.97 -1.65,1.5 -6.45,2.06 -7.47,1.84 -3.18,-0.9 -6.5,0.01 -9.77,-0.48 -3.36,-0.48 -4.38,1.16 -6.78,2.81 -2.39,0.17 -3.24,1.57 -5.77,3.28 -1.99,-1.07 -5.18,-0.85 -1.58,-0.48 5.12,0.4 -6.41,5.83 -0.69,3.68 3.03,-2.92 6.6,-5.2 10.86,-5.86 1.82,-1.26 7.93,0.03 6.2,0.88 1.62,1.52 -3.47,2.53 -4.77,1.78 -4.06,0.15 1.22,0.69 2,1.16 3.73,-1.32 0.07,1.86 0.75,1.84 1.83,0.1 0.7,3.59 3.79,2.65 -1.76,0.9 3.54,1.02 3.53,1.41 1.87,-1.26 6.01,1.52 2.29,1.42 -2.69,0.95 -5.02,1.96 -6.51,1.47 -0.37,0.6 -2.85,2.58 -3.65,2.69 -1.04,1.1 -3.75,-1.22 -1.3,-2.57 -2.36,0.6 1.63,-0.33 0.76,-0.7 2.73,-1.8 3.52,-0.2 5.5,-1.39 1.65,-0.88 -5.93,0.77 -2.59,-1.05 1.32,-0.18 -1.05,-1.65 -0.69,0.14 -1.72,1.42 -4,0.4 -3.9,1.17 -2.12,0.93 -3.27,-0.09 -4.35,-1.4 0.03,-2.33 -0.19,-5.65 -3.46,-4.3 -2.45,-1.44 -3.52,4.25 -5.14,5.43 -2.9,1.15 -7.13,0.8 -10.76,0.87 -2.86,0.95 -5.35,2.75 -7.94,2.49 5.27,0.89 -3.8,-0.49 -5.56,1.57 -1.62,1.44 2.98,0.61 1.28,1.92 -1.93,-0.43 -4.04,0.88 -3.2,0.9 -3.13,-1.58 -5.29,2.34 -7.94,1.28 -0.31,-1.39 2.97,-0.16 1.48,-1.37 1.6,-1.89 3.6,-4.31 3.26,-6.92 -0.97,-1.69 1.66,1.48 1.9,1.01 1.71,1.67 2.32,-1.01 2.7,-0.39 -1.01,-1.37 -1.51,-2.43 -3.69,-3.12 -1.7,-0.13 -2.37,-0.91 -5.5,-0.7 -2.21,-0.29 -4.55,-0.92 -4.02,-2.13 -1.25,-0.79 -0.48,-3.83 -3.11,-2.77 -1.63,-1.3 -2.66,-2.91 -5.18,-2.61 -1.96,-1.73 -1.99,1.66 -2.83,0.8 1.4,-2.08 -2.07,1.92 -0.71,0.05 -2.26,2.27 -5.62,0.96 -8.19,1.03 -2.23,-0.69 -4.28,-1.2 -6.83,-1.39 -1.67,0.55 -2.07,-3.73 -2.84,-0.91 -25.35,0.01 -50.71,-0.04 -76.06,0.02 -2.68,-0.23 0.16,-0.72 -1.56,-1.48 0.63,-0.24 -3,0.57 -1.83,-0.34 1.39,0.7 -0.1,-0.79 -0.32,-1.6 1.24,1.36 -2.46,1.77 -2,-0.42 2.07,-0.8 -2.61,1.02 -0.39,-1.08 0.32,-1.28 -1.91,2.58 -1.73,0.17 -1.48,1.22 -3.29,-0.16 -0.71,-0.12 1.57,-1.91 -1.47,1.23 -1.36,-0.4 -1.97,-0.13 0.79,0.11 -0.92,-0.51 -0.99,1.23 -4.7,-0.38 -1.06,-0.09 2.02,-0.15 -5.01,0.1 -1.14,-0.68 0.94,-0.02 -2.68,0.12 -0.33,-0.91 3.19,-0.33 1.8,0.01 -0.1,-0.34 -0.48,1.5 -1.85,-0.46 -0.45,-0.97 1.47,-1.47 2.44,0.87 2.2,-0.78 -2.45,0.23 0.84,-2.3 -1.41,-0.25 -3.01,1.39 -0.76,-1.05 -2.99,0.49 1.7,-2.23 -1.07,-1.48 -1.47,-3.57 1.57,0.74 4.05,0.59 0.74,0.17 -0.3,-1.19 0.68,-1.5 -0.94,-0.78 -1.22,2.51 -3.85,-1.63 -2.38,-0.97 2.73,-0.79 -2.3,0.68 -1.47,-1.41 2.99,1.86 -1.4,-0.85 1.53,0.03 -2.29,-0.51 2.4,-1.37 -0.15,-1.06 -0.32,-1.5 1.91,-0.87 0.29,-1.81 -0.41,3.34 -0.83,0.2 -0.77,-1.31 -2.81,-0.83 -5.59,-1.48 -6.98,-4.04 -1.8,-2.74 -5.22,-3.62 -7.04,-5.94 -2.86,-1.73 -4.34,2.92 -6.63,1.49 -2.57,-1.25 -4.45,-4.25 -6.79,-3.03 z M 221.95,34.56 c 2.71,1 5.66,0.09 8.24,1.27 -2.22,0.9 -9.4,-1.53 -5.2,1.22 1.53,0.7 2.86,0.59 2.55,0.77 0.85,0.02 3.21,0.3 2.68,-0.32 1.12,0.64 1.95,-0.71 1.86,0.68 1.49,0.87 4.22,0.59 2.18,0.28 3.62,0.1 7.47,0.79 10.93,0.47 -1.54,-0.51 -5.12,-1.38 -1.54,-0.59 1.34,0.63 6.02,1.49 2.2,0.35 0.08,-1.25 7.06,1.95 7.56,-0.38 -1.85,-1.2 -2.64,-0.17 -0.89,-1.44 -0.2,1.08 4.01,0.75 4.52,2.45 2.36,-0.76 -0.69,-0.06 1.66,-0.06 -1.72,1.35 2.73,-0.25 1,0.89 2.05,0.14 3.5,1.75 0.3,1.21 -2.45,1.88 2.27,0.12 3.42,0.41 1.54,-0.85 -0.26,0.19 1.01,0.3 0.43,0.41 2.55,1.08 2.17,0.23 0.79,-0.08 0.08,2.04 1.89,0.94 -0.33,0.35 5.21,3.53 0.97,4.11 1.44,1.85 5.43,-0.13 5.88,-0.08 2.46,1.07 4.84,1.21 3.7,1.53 1.81,0.54 -4.94,0.46 -4.75,1.06 0.01,-2.73 -6.31,-2.19 -8.61,-0.71 -1.09,1.08 4.69,2.44 0.63,2.21 -1.59,0.93 -6.76,0.13 -3.2,1.49 -1.08,1.55 0.2,-1.12 -2.6,-0.91 -2.86,-1.04 -3.86,0.32 -5.85,1.69 1.76,1.72 5.55,1.53 6.77,0.64 0.57,-0.23 4.81,0.61 3.08,-0.99 0.05,0.06 1.43,0.67 1.71,0.62 0.12,1.1 1.18,-0.27 2.6,-0.01 -0.96,1.59 3.24,2.18 2.96,2.51 0.09,-0.66 4.07,0.75 0.7,0.77 -2.35,0.11 4.13,1.16 1.91,1.18 2.86,0.97 4.35,0.24 6.19,1.79 2.74,0.47 5.5,1.08 8.25,1.35 -0.11,-1.4 -3.05,-2.23 -4.52,-3.16 0.28,0.51 -6.01,-2.56 -1.86,-1.87 0.75,0.85 2.44,1.17 0.93,-0.21 2.43,1.5 3.49,1.89 4.08,1.85 0.64,0.73 1.16,-0.32 1.42,0.39 0.89,-0.66 3.78,2.4 1.81,-0.11 3.01,0.9 -0.41,-1 0.83,-1.64 -1.68,-1.57 2.26,2.56 1.18,-0.34 -2.02,-0.73 1.47,0.53 -0.06,-0.55 -0.74,0.15 -1.62,-0.58 -2.38,-1.1 2.33,-0.84 -1.46,-0.09 -0.68,-1.53 -1.39,0.67 -1.8,-0.3 -3.29,-0.56 1.09,0.07 -2.18,-0.92 -0.55,-1 -0.61,-0.17 -1.18,-1.48 -2.49,-0.34 0.66,-1.39 -1.83,-1.01 -0.41,-1.69 -3.28,-0.22 -0.55,-0.65 0.36,0.35 1.4,0.92 3.34,-0.39 0.73,-0.91 -0.34,-0.79 1.69,0.46 1.59,-0.39 -2.57,-0.4 1.89,-1.03 1.78,0.63 0.62,-3.6e-4 2.8,0.28 2.55,-0.25 -3.14,2.77 5.99,-1.54 2.2,0.69 0.2,-0.06 -3.5,1.07 -0.92,1.05 1.72,-0.54 -1.63,0.94 0.94,0.09 -2.62,1.42 2.76,0.13 -0.19,1.01 1.53,0.83 1.55,-0.56 2.22,0.61 1.17,0.58 2.78,-0.06 1.4,-1.24 1.62,-0.12 -1.32,-0.27 0.4,-0.69 -0.89,-0.48 1.85,0.54 1.79,0.4 0.67,-0.07 -0.68,-0.71 1.16,-0.73 -2.52,-0.99 -0.79,-0.18 0.82,-0.38 -1.27,-0.83 -3.37,-0.63 -0.79,-0.79 -2.45,-0.74 4.59,0.41 1.13,-0.3 2.25,-0.38 -2.45,-1.11 0.97,-0.46 1.55,-0.43 -1.67,-1.37 -1.27,-0.96 -0.95,-0.51 -0.81,0.6 -1.97,0.07 -0.18,1.16 -0.94,-1.11 -1.87,0.21 -2.87,0.77 3.39,-1.95 -0.02,-1.18 -1.5,1.27 0.78,-0.56 -1.58,-0.05 -3.98,1.04 0.11,9e-5 -0.62,-0.1 -1.35,0.09 -1.97,0.32 -0.19,0.02 -3.48,-0.35 2.89,0.16 -0.07,-0.52 1.73,-0.83 -1.75,-0.41 -0.64,-1.02 -1.8,0.47 -1.63,0.18 -1.1,-0.59 -1.8,0.51 -0.91,1.28 -2.16,0.13 -1.76,1.97 0.61,-1.73 -1.97,0.31 -0.71,0.48 1.07,-1.45 -0.6,-0.45 -0.14,-0.72 -2.05,-0.68 -2.02,-0.37 1.82,-1.02 -3.16,-0.02 0.29,-0.66 3.62,-0.25 -1.59,0.13 -1.2,-0.42 -2.23,0.35 -3.54,-0.45 -1.47,-0.47 -2.95,-0.13 -3.87,-0.62 -0.53,-0.23 3.06,0.22 -1.26,-0.43 1.24,-0.2 -3.57,-0.65 3.2,-0.18 -0.81,-0.82 -1.4,0.06 -3.08,0.56 -0.81,-0.05 -1.69,-0.24 3.47,0.06 -0.32,-0.43 -2.79,-0.31 3.01,0.39 4.25,0.43 3.6,-0.32 -3.05,-1.18 -4.23,-1.1 -1.64,0.31 -5.3,0.06 -1.61,0.07 1.3,-0.57 6.18,0.08 5.48,-1.19 -2.02,-2.05 -6.01,1.39 -7.26,0.68 1.17,-0.37 5.27,-1.09 1.79,-1.36 -2.38,0.73 -3,1.41 -1.98,0.48 -0.04,-0.45 7.62,-1.24 2.53,-1.95 -1.79,-0.5 -5.98,1.51 -2.17,-0.25 -1.99,-1.75 -5.75,4.13 -3.67,0.87 -1.39,0.36 -3,0.73 -0.92,-0.28 2.35,0.43 3.3,-2.55 0.37,-0.87 -2.24,0.27 -3.61,1.29 -3.14,0.22 -1.43,-0.47 6.13,-0.74 2.1,-2.04 -2.47,-1.32 -4.97,2.51 -4.37,0.64 -1.21,0.07 -1.92,1.54 -0.58,-0.15 -0.29,-1.59 -2.71,1.19 -1.59,-0.17 -2.22,0.38 3.08,-1.33 -0.06,-0.85 -0.1,0.74 -1.76,-0.49 -2.05,1.28 -0.09,0.53 -0.27,-0.92 -0.62,-0.7 2.68,-0.88 -3.2,0.48 0.18,-0.36 -3.59,0.15 5.52,-0.88 0.49,-1.42 -1.76,0.39 -4.96,2.19 -1.67,0.37 -0.55,-0.71 -4.52,0.91 -1.06,-0.29 3.82,0.34 0.2,-1.94 -1.12,-1.17 -1.6,-1.42 -9.64,-0.02 -4.52,0.85 4.93,0.93 -4.8,-0.98 -1.85,0.48 1.22,0.45 2.74,1.09 0.5,0.32 1.89,1.25 -2.8,-1.31 -1.85,0.02 0.15,-0.46 -1.27,-1.66 -2.1,-0.86 -0.92,-1.7 -0.87,0.99 -0.75,0.25 -1.18,-0.77 -2.75,1.87 -2.85,0.28 2.17,0.26 -0.56,-0.31 1.3,-1.04 -2.36,-0 -2.3,0.98 -0.14,-0.53 1.4,-0.93 -1.83,-1.85 -2.94,-2.97 -2.09,-0.41 -6.81,0.29 -6.06,0.8 -1.51,-0.32 -5.69,0.56 -1.78,0.82 5.62,0.68 -6.33,-0.58 -1.39,0.53 1.79,0.35 3.42,0.63 0.69,0.19 -4.06,-1.18 -2.46,2.08 -0.25,1.35 1.59,-0.17 -1.23,0.49 1.24,0.8 1.01,0.88 -3.06,-1.56 -3.72,0.14 -2.2,-0.05 1.07,0.69 1,1 2.38,-1.22 2.32,3.18 0.62,1.73 1.64,-1.16 -7.5,1.08 -2.57,-0.17 1.14,-0.24 5.04,-0.29 1.75,-1.12 -2.5,-0.11 -2.64,-1.91 -3.1,-2.94 -2.31,-1.94 7.89,-3.35 2.28,-3.48 -3.25,0.13 -8.61,-0.33 -10.1,2.89 -2.02,0.44 -1.5,2.27 -1.83,3.77 z m 17.02,15.33 c -3.46,-1.07 1.37,1.92 1.69,0.82 -1.41,0.06 -0.8,-0.36 -1.69,-0.82 z m -0.03,9.98 c 1.39,2.91 8.62,-2.63 3.09,-1.16 -1.48,-0.19 -2.07,0.18 -3.09,1.16 z m -30.66,-27.28 c -1.81,0.47 2.85,0.93 2.9,-0.19 3.01,-1.16 -3.6,-1.76 0.63,-1.67 3.1,0.96 5.95,-0.21 6.97,-1.94 1.64,-0.5 3.5,-1.37 0.63,-1.39 -3.64,0.32 -7.1,-0.84 -10.81,-0.27 -3.63,-0.14 2.04,1.87 -1.22,1 -2.17,-0.37 -1.37,3.3 0.12,3.74 -1.18,1.25 2.23,0.47 0.8,0.72 z m 25.75,23.64 c 0.29,3.94 4.97,0.02 6.58,-1 2.13,0.26 4.2,2.58 7.81,1.32 1.24,-0.34 -0.29,-1 -1.25,-1.17 -2.11,0.15 -2.67,0.67 -2.12,-0.99 -2.59,-0.83 -6.29,-3.41 -8.61,-2.21 -0.52,-1.61 -3.19,-3.22 -3.68,0.18 -0.48,2.35 0.11,3.46 -2.81,3.95 0.12,1.08 3.17,-0.11 4.08,-0.09 z m -45.17,-24.25 c 3.8,-0.46 6.48,3.63 10.14,2.74 0.93,-0.26 -1.44,-2.07 0.17,-0.81 2.26,0.66 5.32,-0.78 4.35,-1.07 0.38,-0.85 -1.56,-0.61 0.47,-1 -0.04,-1.67 -2.77,-0.05 -2.57,-1.6 -1.62,-0.13 -4.72,0.32 -1.32,-0.67 1.67,-0.31 2.15,-0.61 0.62,-0.84 3.92,-0.12 -0.43,-1.57 -1.59,-0.84 -1.45,0.8 -5.86,-0.74 -5.09,-0.04 1.1,-0.05 -5.32,-0.06 -1.53,0.68 -0.99,0.09 -4.41,0.02 -1.21,0.74 1.76,0.03 4.83,0.28 1.28,0.42 1.9,1.07 0.27,0.08 0.1,1.26 -1.76,0.95 -5.62,-2.67 -5.98,0.13 0.14,0.4 3.11,0.53 2.16,0.9 z m -14.12,-3.1 c 2.24,0.22 5.97,3.17 6.62,-0.29 -1.89,-0.62 -5.27,-1.3 -6.62,0.29 z m 29.22,14.16 c 1.91,-0.7 4.92,-0.87 1.8,-1.6 -1.15,-0.65 -5.13,-3.31 -6.77,-1.62 2.04,0.59 -2.2,-0.14 -0.12,0.74 -1.81,-0.18 -4.73,1.57 -1.3,1.12 1.42,0.55 4.22,1.16 6.4,1.36 z m 45.69,-12.48 c 3.56,0.26 7.37,0.17 10.86,-0.09 -2.46,-1.8 -5.96,-2.44 -9.17,-2.05 -1.83,-1 -6.3,0.4 -2.53,1.1 0.44,0.19 0.59,0.68 0.84,1.04 z m 17.77,13.71 c -1.55,-0.69 -4.85,0.08 -1.36,0.7 0.54,0.38 3.29,-0.48 1.36,-0.7 z m -9.77,1.64 c 2.22,2.37 8.93,-1.35 4.35,-2.54 -1.39,-0.2 -5.97,0.43 -4.35,2.54 z m -3.45,-5.48 c -1.79,0.27 -3.67,2.44 -0.69,1.01 0.21,0.13 2.11,-1.15 0.69,-1.01 z m -4.31,-0.3 c 5.15,-1.14 -4.52,-0.79 -1.08,-0.33 l 0.5,0.12 z m 2.74,-18.71 c -2.32,-0.15 -2.08,1.4 0.05,0.73 -1.8,-0.43 -0.14,-0.18 -0.05,-0.73 z m -27.39,-1.39 c 0.43,1.41 0.18,-1.87 0.97,0.6 2.23,-0.02 2.72,-0.23 4.93,-0.19 0.99,-0.29 3.8,1.1 6.18,0.38 -2.31,-0.54 -1.89,-0.54 -0.08,-0.38 0.27,-1.28 4.2,1.23 2.77,-0.63 0.74,1.1 4.92,1.1 2.36,-0.19 1.3,0.8 1.93,-0.3 1.69,0.7 1.92,-0.5 3.39,0.45 3.05,0.98 2.86,-0.68 6.45,-0.28 8.4,-1.97 -1.31,-0.94 -5.27,0.78 -3.52,-0.91 -1.71,-0.65 -3.41,0.59 -3.84,-0.18 -1.52,-0.09 -7.18,-0.11 -2.83,-0.21 0.74,0.04 -2.86,-1.55 -0.18,-0.68 3.42,1.1 7.07,0.92 10.03,0.03 -0.04,-0.92 -2.59,-1.33 0.28,-1.16 1.63,0.32 8.82,-0.43 3.65,-0.56 -2.89,-0.26 7.18,-0 2.2,-0.85 -1.84,-0.04 -3.34,-0.32 -0.62,-0.21 1.92,0.69 5.12,-1.1 1.49,-1.04 -3,-0 -1.49,0.18 -1.61,-0.26 -1.45,-0.52 -7.94,1.17 -4.66,-0.02 -2.21,-0.28 -3.99,-0.11 -0.81,-0.12 1.76,0.12 7.78,-0.03 3.06,-0.3 -1.72,0.03 -5.1,-0.06 -1.51,-0.08 2.28,-0.63 7.24,1.14 7.93,0.18 0.4,-0.67 -6.5,-0.28 -7.74,-0.41 -3.17,-0.12 0.65,-0.38 1.46,-0.31 1.6,0.56 3.73,-0.16 0.84,-0.28 -3.45,-0.22 3.09,0.42 4.35,0.26 1.19,-0.16 7.87,-0.32 3.29,-1.04 -2.19,0.18 -2.73,-0.43 -0.25,-0.26 2.8,0.17 5.47,1.21 8.33,0.1 -3.29,-0.2 3.61,-0.39 -0.21,-0.85 -0.85,0.32 -5.31,0.31 -2.45,0.07 -2.95,-0.53 8.31,0.44 3.53,-1.3 3.49,1.42 6.85,-1.38 10.4,-1.6 1.58,-0.76 6.13,-0.33 5.94,-1.37 -3.32,-0.16 -6.7,0.43 -10.04,0.74 -2.98,0.61 -7.36,0.43 -2.64,0.08 1.95,-0.29 6.47,-0.55 6.8,-0.91 -2.4,-0.22 -5.78,0.49 -5.24,-0.2 -4.16,-0.76 3.11,0.64 4.59,-0.04 2.54,-0.07 4.72,-0.12 3.63,-0.22 4.22,-0.36 8.69,-0.25 12.67,-1.73 -1.97,-1.43 -5.27,-0.1 -5.6,-0.49 1.51,-0.47 -3.45,-0.69 -0.73,-0.78 -3.45,-0.49 -6.93,-0.07 -10.48,-0.08 -1.48,0.13 -6.05,0.61 -2.12,0.17 1.76,0.34 6.35,-0.62 2.28,-0.72 -4.28,0.14 -6.88,-0.27 -10.84,-0.3 -3.47,0.11 2.51,0.8 -1.24,0.45 -0.96,-1.2 -9.33,-0 -3.94,0.42 1.12,0.67 -3.67,-0.45 -4.99,-0.7 -1.87,0.32 -7.19,-0.53 -7.26,0.28 1.72,0.32 3.03,0.31 3.06,0.67 2.57,0.03 1.04,0.6 -0.63,0.52 1.18,-1.12 -6.23,-0.8 -4.76,-1.27 -1.66,0.31 -5.91,-0.46 -5.87,0.28 0.46,0.21 4.51,0.6 4.35,0.5 -2.02,0.34 -6.98,-0.82 -7.21,-0.16 5.35,1.05 -6.51,-0.45 -0.87,0.65 -1.68,-0.4 -4.39,0.47 -1.09,0.68 2.15,0.19 6.78,0.7 7.19,1.24 -3.19,-0.42 -6.77,-1.44 -9.8,-1.09 1.29,0.52 3.88,0.47 0.96,0.34 -2.88,-0.58 -7.8,-1.66 -8.62,-0.88 2.78,0.5 -5.6,0.08 -1.6,0.77 1.74,-0.31 5.95,0.84 1.87,0.43 1.18,0.42 -4.86,-0.7 -3.78,0.17 -3.31,-1.43 -5.85,0.41 -8.09,0.01 -1.79,-0.17 -8.35,1.18 -3.44,0.9 1.42,-0.36 6.26,0.04 2.37,0.06 -2.81,1.45 4.19,-0.05 5.53,0.05 3.08,0.18 2.28,0.16 -0.17,0.07 -1.6,-0.23 -6.35,0.82 -2.42,0.8 1.74,-0.03 -5.74,-0.06 -1.53,0.8 4.08,-0.18 8.23,-0.07 12.24,-0.98 3.81,0.26 -4.02,1.3 -5.65,0.94 -1.55,-0.22 -7.83,0.01 -3.69,0.84 4.19,1.31 7.99,-1.72 12.23,-1.08 1.47,-0.54 7.39,-0.18 3.29,-0.18 -2.88,0.61 -7.5,-0.29 -9.37,1.75 2.81,-0.34 6.24,1.21 8.62,-0.74 1.94,-0.27 -1.29,0.74 1.19,0.28 1.33,-0.72 5.21,-0.13 1.76,-0.16 -4.69,0.67 1.96,0.93 3.56,0.42 2.34,0.16 5.74,-1.7 5.37,-1.5 2.11,0.22 2.88,-0.74 3.34,-0.7 2.52,-0.44 2.76,0.02 0.09,0.21 -1.03,0.17 0.24,0.23 -1.75,0.48 -3.29,1.57 5.86,0.16 4.43,0.92 -2.06,-0.06 -7.47,1.4e-4 -7.17,0.78 1.89,0.01 6.11,-0.05 2.11,0.19 -3.77,0.21 -7.58,0.08 -11.33,0.47 -1.3,1.07 5.45,0.64 3.66,1.82 2.07,0.7 7.61,-0.06 2.51,0.51 -3.64,0.26 -6.99,-2.43 -11,-2.06 -1.31,-0.21 -7.75,-0.14 -3.73,0.92 3.6,0.72 -0.04,-0.6 -1.19,0.33 2.38,0.2 6.66,1.96 7.65,2.28 -1.65,-0.54 -4.61,0.01 -1.2,0.14 1.73,0.3 7.25,0.04 6.54,-0.02 -1.28,0.73 -6.41,0.18 -2.45,0.63 1.98,1.12 -4.75,-0.87 -7.35,-0.42 -2.11,-0.32 -5.18,0.72 -5.56,1 -2.26,0.34 1.27,1.26 -1.02,1.15 1.34,0.86 5.84,-1.66 3.84,0.19 3.04,-0.14 4.24,-1.95 4.07,-0.42 3.38,0.47 -0.1,-0.5 -0.85,0.39 5.16,-0.27 -5.39,0.29 0.08,0.57 3.03,0.07 0.18,-0.59 -1,0.19 1.63,-0.44 -0.98,0.82 1.3,0.46 1.21,-0.39 -0.15,0.77 2.06,0.35 1.94,-0.05 6.84,-2.96 2.95,-0.42 -0.4,0.22 -3.18,0.54 -1.25,0.88 -3.4,0.36 -6.03,-0.21 -9.04,-1.41 -1.65,-0.49 -5.65,0.01 -2.57,1.37 2.47,0.02 1.21,-0.05 1.85,0.28 1.82,0.91 -6.32,-0.29 -6.6,1.5 -1.53,0.72 1.85,1.39 1.9,0.38 z m -12.51,-3.14 c -2.8,-0.02 -6.17,-0.78 -8.66,0.32 2.53,0.58 6.54,0.9 8.66,-0.32 z m -1.82,4.12 c 1.71,-0.98 6.9,1.12 4.27,2.72 1.17,0.75 2.53,2.95 4.68,1.28 -0.05,2.09 7.18,-0.38 6.39,0.5 1.45,1.54 5.25,-0.07 6.91,0.56 2.39,-0.96 4.95,1.12 7.37,-0.98 2.5,1.53 6.29,1.19 8.98,0.2 -2.05,-0.7 4.76,0.05 0.77,-0.71 -3.66,0.36 3.57,-1.08 -0.37,-1.34 -1.24,-0.38 -6.4,-1.58 -9.94,-0.84 -1.68,0.03 -7.01,0.4 -6.27,0.96 1.15,0.08 -2.11,0.59 -2.38,-0.08 -2.27,-0.28 -4.74,-0.33 -6.02,-0.19 -1.03,0.01 -4.09,-0 -1.09,-0.56 -1.31,-0.92 -5,-0.36 -5.17,-0.68 2.33,-0.33 2.14,-0.21 0.57,-0.4 -4.8,-0.6 1.43,-0.23 1.54,-0.18 1.44,0.2 3.84,-0.17 0.94,-0.64 -1.35,-0.28 -6.33,-0.28 -2.36,-0.22 0.86,-0.64 -3.59,-0.82 -4.94,-0.46 -1.51,-0.65 -3.64,1.46 -2.2,-0.32 -3.15,-0.59 -6.64,-1.34 -9.82,-0.55 2.88,0.59 -2.14,0.27 0.77,0.78 0.94,0.34 3.95,0.11 1.28,0.43 1,0.78 5.24,0.32 1.96,0.63 1.36,0.23 2.75,-0.17 4.15,0.1 z m -2.52,1.8 c -1.67,0.15 -3.78,0.65 -2.96,0.86 0.25,-0.07 -3.05,1.2 -0.28,0.98 1.68,1.28 10.19,1.81 5.69,-1.29 -0.78,-0.33 -1.62,-0.49 -2.46,-0.55 z m -7.63,4.34 c -2.25,-0.08 -6.35,0.67 -3.12,0.8 0.94,-0.14 2.62,0.23 3.12,-0.8 z m -6.3,-2.43 c 1.95,-0.49 6.91,0.16 5.93,-0.76 -0.98,-0.36 -0.42,-1.07 1,-0.78 -0.7,-0.84 -1.17,-0.48 -0.45,-1.85 -0.44,-1.5 -4.66,-1.41 -2.97,-1.46 -1.84,1.17 -4.07,-0.63 -6.53,0.5 0.81,0.6 3.87,0.43 1.18,0.57 2.29,0.74 2.38,-0.08 1.44,0.79 1.94,0.66 -2.88,-0.43 -4.17,-1.21 -2.5,-0.37 -1.86,1.12 0.2,0.51 -2.51,0.49 0.26,0.71 0.11,1.16 3.11,0.63 -3.73,-0.55 -2.33,0.3 -3.66,0.88 3.03,0.71 4.25,0.37 2.03,-0.01 6.98,-0.52 2.4,0.04 0.61,0.34 -2.29,0.18 -0.3,0.29 -1.51,0.1 -0.95,0.24 -1.92,0.41 1.18,0.47 2.58,0.08 0.67,0.53 0.4,0.39 1,0.45 1.51,0.58 z m 8,-8.05 c 0.59,-0.63 3.62,0.21 5.55,-0.85 -3.24,-0.45 1.93,-0.65 -1.07,-1.05 -2.75,0.29 -5.61,-1.79 -8.38,-0.56 2.04,0.73 -1.78,0.08 0.61,0.95 0.63,0.38 5.09,0.7 1.38,0.69 -1.06,0.24 1.54,0.29 1.91,0.82 z m -22.65,-1.96 c 3.07,1.42 5.97,-0.12 8.83,0.63 2.41,-0.27 5.97,2.74 7.7,0.59 -1.74,-0.45 -1.52,-1.2 -2.01,-1.58 -2.37,-0.48 -5.02,-1.41 -7.65,-1.04 -2.3,-1.33 -5.88,-1.41 -8.24,-0.32 0.53,0.39 3.35,-0.06 1.54,0.82 1.6,-0.32 3.02,-0.53 2.88,0.17 1.79,-0.18 1.42,0.19 -0.07,0.31 3.68,0.42 -1.5,0.28 -2.52,0.27 z m 0.63,3.86 c 3.65,-0.13 -6.13,-3.42 -2.26,-0.72 0.63,0.55 1.51,0.51 2.26,0.72 z m -14.48,-2.28 c 2.73,-0.92 -3.86,-0.4 -5.02,-0.28 -2.04,-0.51 -6.71,0.96 -2.21,1.73 2.09,0.17 5.69,0.59 6.93,-0.85 -1.36,-0.04 -2.73,-0.65 -0.35,-0.58 z m -16.41,8.08 c 0.08,0.64 1.8,-0.2 2.61,0.13 1.2,0.81 2.85,-0.31 1.77,-0.71 1.61,0.24 1.21,-0.8 3.18,-0.34 -3.97,1.62 2.39,0.28 4.08,0.91 1.83,-0.86 3.62,-0.14 0.77,0.2 -1.82,0.23 -7.76,0.27 -6.94,1.29 4.16,1.61 8.39,-0.49 12.53,-0.89 3.24,-0.92 5.57,0.31 8.81,-0.22 4.38,-0.21 1.85,-4.77 -1.3,-2.84 1.73,1.03 -3.16,0.02 -2.86,0.11 0.88,-0.7 -2.53,0.02 -1.14,-1.26 -1.17,-1.88 -4.15,-1.17 -5.97,-0.03 1.67,0.5 4.13,0.73 1.22,1.39 2.13,-0.3 4.88,1.53 0.98,1 -2.52,0.58 -6.09,-0.95 -6.56,-1 0.85,-1.03 -4.96,-0.62 -6,-1.45 -1.53,-1.29 -7.51,0.23 -3.08,0.59 4.24,0.15 -7.21,-0.34 -2.67,0.93 1.44,-0.29 5.72,-0.06 1.95,0.12 -1.83,-0.32 -6.9,0.82 -2.38,0.81 2.03,-0.2 5.05,-0.63 1.55,-0.05 -2.06,-0.04 -6.99,1.04 -2.38,1.27 0.89,-0.15 1.15,-0.23 1.83,0.04 z m -4.54,-2.95 c -1.7,-0.11 -6.96,1.72 -2.4,1.7 0.6,-0.33 3.32,-0.6 2.4,-1.7 z m -6.46,0.79 c 2.43,0.56 -0.35,-2.6 2.02,-0.76 2.44,-0.46 -0.12,-1.35 2.26,-1.45 2.08,-1.56 0.32,1.94 3.27,0.87 0.85,-1.28 5.07,-0.49 2.59,-1.78 3.33,0.35 -2.38,-0.74 0.95,-0.79 2.88,-0.81 -4.56,-1.34 -3.15,-0.32 -3.97,-0.64 -7.71,0.62 -11.35,2.04 -1.63,0.42 -6.95,1.26 -3.67,1.37 -0.26,1.24 4.24,-0.02 4.98,0.16 1,0.29 0.75,0.76 2.09,0.67 z m -14.58,9.4 c -2.3,1.54 -1.01,1.55 0.54,1.65 3.42,0.13 6.1,4.07 9.46,1.34 3.81,0.68 5.01,-3.62 8.94,-3.85 2.34,-1.26 7.02,-0.58 8.27,-2.29 -2.96,-1.47 -8,-2.13 -9.93,-1.41 -1.54,-0.5 -2.05,0.53 -1.73,-0.27 -3.64,-0.98 -7.3,-0.82 -11.03,-0.58 -3.41,-0.58 -1.6,1.64 -0.6,2.18 -1.44,0.47 -3.24,1.27 -2.29,2.13 -1.83,-0.39 -0.58,0.41 -1.13,0.96 z m 42.07,-16.43 c 4.84,0.17 -2.13,-2.1 -3.6,-0.9 -1.48,0.21 -7.75,0.88 -3.46,0.84 2.41,0.09 4.68,0.21 7.06,0.06 z m 37.7,-4.58 c 2.59,0.46 -1.25,-0.02 1.43,0.8 1.38,0.45 7.38,-0.33 3.11,0.35 -1.88,-0.13 -3.02,0.14 -0.95,0.77 1.75,0.42 3.87,-0.67 3.34,0.09 1.68,-0.37 5.08,-0.8 4.62,-0.28 1.84,0.03 4.39,-0.01 1.12,0.08 -5.99,0.49 8.17,0.14 2.33,0.39 -2.42,0.32 -7.75,-0.34 -8.39,0.74 1.69,0.34 3.63,0.51 0.81,0.42 1.88,0.71 8.33,0.47 3.46,0.66 -2.71,0.42 3.58,1.14 4.97,1.15 1.26,-0.5 0.71,-0.8 2.98,-0.22 1.56,0.64 -2.85,-2.13 -0.15,-0.66 1.16,0.93 3.43,0.83 3.11,-0.38 1.57,0.29 2.33,0.35 1.21,-0.66 1.78,-1.99 -0.26,1.35 2.43,0.32 1.27,-1.67 7.19,-0.69 6.09,-1.91 -1.7,-0.84 -5.18,-0.2 -5.85,-0.62 2.82,-1.14 -2.02,-0.3 1,-0.83 -1.49,-0.81 -2.62,0.15 -1.91,-1.21 -1.43,-0.96 -3.51,-0.15 -2.11,0.57 -2.84,0.07 -1.14,-1.36 -4.36,-1.19 -3.03,0.01 -5.63,-2.64 -9.3,-2.54 -1.73,-0.44 -4.4,0.47 -1.16,0.52 4.81,0.36 -4.41,0.29 -0.62,0.44 -2.55,-0.24 -5.52,0.56 -2.85,0.78 0.98,0.09 3.49,0.28 1.02,0.29 5.34,0.82 -4.69,-0.06 -3.4,0.74 1.92,0.57 -4.53,0.16 -0.94,0.63 1.71,0.25 2.27,-0.16 2.51,0.36 1.16,0.33 4.81,-0.46 1.7,0.09 2.52,1.15 -6.92,-0.96 -4.83,0.22 z m -9.72,0.3 c 1.19,0.3 5.95,0.59 2.61,-0.65 -0.72,0.02 -2.82,-0.62 -2.61,0.65 z m 55.89,67.48 c 1.53,-0.33 0.9,-0.42 1.03,0.1 1.65,-1.15 0.91,0.32 1.58,-1.38 -0.59,2.99 1.24,-1.59 -0.84,-0.05 -1.3,1.74 0.63,-1.57 -1.05,0.46 l -0.44,0.4 z m -135.84,9.1 c 0.95,-1.81 0.57,1.37 1.15,-0.93 -1.24,-2.31 -2.12,1.15 -1.42,-0.37 1.49,0.27 -1.42,0.57 0.27,1.3 z m 5.07,7.51 c 0.64,0.57 4.07,0.48 1.67,1.68 3.17,-0.62 1.37,2.05 4.79,0.91 0.71,-0.85 -2.16,1.57 0.36,1.37 2.35,0.91 5.3,0.72 2.46,-1.11 -2.43,-1.05 -4.67,-4.86 -8.34,-4.36 -1.02,-0.82 -6.32,-1.3 -3.1,0.2 1.37,-0.69 1.6,-0.21 0.18,0.41 -0.28,0.95 2.41,0.35 1.99,0.89 z",SV:"m 222.03,196.98 c 0.88,-1.85 3.05,-2.65 4.44,-0.35 3.04,-1.49 2.33,3.55 -0.45,1.68 -0.11,-0.05 -3.19,-0.56 -3.99,-1.33 z",GY:"m 301.66,218.91 c 0.49,-1.79 1.12,-2.46 2.95,-3.04 -2.84,-1.04 1.95,-3.71 1.27,-3.93 2.24,1.68 -0.88,-0.82 1.59,0.77 2.39,0.75 2.17,4.25 2,4.69 1.27,-2.76 5.15,1.96 3.7,3.65 -2.72,-0.18 -3.01,4.7 -0.29,5.18 -10e-4,2.18 4.29,5.02 0.07,3.89 -2.38,0.99 -4.44,3.28 -6.58,0.57 -1.44,-1.81 -0.19,-4.74 0.04,-6.63 -0.61,-1.32 -1.37,-1.38 -1.21,-3.1 -1.67,0.2 -2.75,-0.41 -3.56,-2.05 z",BE:"m 478.93,91.9 c 2.32,-1.15 4.47,-0.04 6.06,-1.1 1.51,0.32 3.18,0.75 3.06,2.03 3.04,0.69 -0.46,2.11 -0.34,3.56 -2.48,-0.6 -2,-2.13 -4.33,-1.33 0.56,-1.8 -4.26,-1.27 -4.45,-3.16 z",GQ:"m 498.59,231.17 c 0.57,-0.61 -0.03,-2.96 2.29,-1.55 3.75,-1.68 3.3,5.15 -0.4,3.16 -0.91,0.03 -4.04,0.11 -1.89,-1.6 z",LS:"m 546.8,319.01 c 0.71,1.9 2.91,4.13 4.08,1.42 4.63,-0.16 1.3,-6.51 -1.79,-3.51 -0.99,0.45 -1.02,1.91 -2.29,2.09 z",BG:"m 533.97,112.48 c 1.59,-2.91 1.02,1.06 3.37,-0.12 3.37,1 6.48,-0.11 9.72,-0.88 2.31,0.28 5.98,1.47 2.27,2.81 -0.57,1.91 -1.71,1.69 0.14,3.21 -1.73,-0.14 -4.89,-0.3 -5.01,1.49 -2.34,1.77 -4.87,-1.4 -7.43,0.27 -2.24,0.89 -1.01,-2.22 -3.11,-2.68 -0.02,-1.82 2.99,-2.17 0.28,-3.6 z",BI:"m 552.39,243.34 c 0.66,-0.13 2.99,0.31 2.86,-1 2.1,-0.75 0.41,1.93 2.05,1.88 -0.8,1.38 -2.12,4.99 -3.98,3.28 -0.86,-1.35 0.21,-2.98 -0.93,-4.15 z",DJ:"m 587.83,204.6 c -0.8,-2.73 3.53,-6.12 4.51,-3.27 -0.46,1.17 -4.12,2.23 -0.91,1.75 1.34,1.79 -2.93,1.73 -3.6,1.52 z",AZ:"m 596.08,123.95 c 1.37,-0.12 4.67,1.29 3.26,2.25 -1.32,-0.22 -2.65,-1.04 -3.26,-2.25 z m 0.72,-4.49 c 1.06,-0.89 6.64,1.92 3.42,-0.83 1.16,-2.58 3.98,3.43 5.82,-0.11 2.25,-1.16 2.64,3.87 5.38,3.54 -0.25,-0.15 -3.6,0.66 -2.8,3.06 -0.52,1.23 -1.34,-0.09 -1.11,2.38 -2.4,0.12 -2.56,-1.81 -1.48,-2.65 -1.92,-2.61 -5.89,3.52 -5.2,-0.31 -0.9,-0.69 -3.39,-1.11 -1.41,-1.99 -1.93,-0.6 -1.07,-2.48 -2.18,-2.59 l -0.09,-0.14 z",MY:"m 776.03,229.79 c 0.94,1.19 3.66,1.54 4.54,1.91 -1.52,-0.7 0.64,-1.85 -0.2,-2.82 0.71,0.24 1.44,-2.13 3.47,-1.6 3.2,0.14 3.49,-7.1 6.03,-3.04 0.76,-0.77 0.48,-3.7 1.3,-1.03 1.04,0.24 -0.67,-1.97 1.23,-2.07 -0.71,-1.32 2.8,-2.95 3.42,-5.2 -0.23,1.83 1.43,-0.64 2.14,1.28 1.13,1.03 -1.26,2.58 1.24,1.51 -0.72,1.4 1.68,0.18 2.51,1.76 3.12,0.67 -3,0.96 -1.88,1.86 2.74,1.53 -1.92,0.86 -2.26,1.45 -1.8,-0.34 -4.97,-1.38 -5.12,1.37 -0.46,2.54 -1.76,3.45 -2.6,5.97 -2.13,1.99 -5.98,-1.42 -7.81,1.64 -2.57,0.56 -6.2,0.31 -6,-2.98 z m -26.46,-12.24 c 0.81,-1.87 3.14,1.48 2.99,2.15 0.86,-1.4 2.33,0.75 2.47,-1.61 3.54,1.64 4.14,5.64 3.78,9.14 1.49,1.41 2.95,5.27 1.51,4.14 -2.37,0.91 -5.07,-2.51 -7.43,-3.83 -0.75,-2.57 -2.09,-3.59 -2.65,-6.4 -0.03,-1.26 0.13,-2.5 -0.67,-3.59 z",PH:"m 820.11,207.51 c 0.82,1.58 -0.23,-2.89 0,0 z m -3.49,-7.05 c 0.99,1.44 3.32,3.35 0.62,3.2 -1.3,-0.61 0.15,1.59 0.72,1.89 0.16,3.43 1.86,0.36 0.58,-1.65 2.72,2.14 1.73,-1.54 1.01,-2.78 -0.18,-1.27 -2.04,-0.65 -2.93,-0.66 z m -2.51,7.05 c -1.05,4.34 3.36,-4.32 1.39,-2.87 -0.2,1.08 -0.99,1.88 -1.39,2.87 z m -0.55,-5.64 c 0.23,-1.55 2.22,1.26 2.48,0.23 -1.22,-1.33 -2.47,-3.02 -2.48,-0.23 z m -1.69,7.23 c 2.83,2.93 1.01,-2.32 2.62,-3.92 -2.35,-1.67 -1.28,2.68 -3.2,2.71 l 0.19,0.64 z m -1.84,6.41 c 0.78,1.98 2.03,-3.59 2.71,-1.05 0.9,-0.8 1.16,1.09 1.97,-0.84 2.89,0.63 -0.14,6.61 4.16,5.12 0.3,0.06 0.81,2.53 1.59,-0.01 -1.3,-1.4 0.21,-5.55 1.13,-2.03 0.43,2.55 0.28,-0.8 0.74,-0.69 1.78,-2.11 -1.11,-3.92 -0.11,-5.38 -0.33,-1.64 -3.69,-3.74 -2.16,-0.4 -1.91,-0.53 -1.87,1.23 -3.48,1.66 -0.94,1.41 -2.07,1.73 -1.41,-0.27 -1.34,-1.08 -3.18,1.53 -4.58,2.3 0.03,0.58 -0.28,1.11 -0.57,1.58 z m -0.15,-12.99 c 1.37,1.3 -1.23,5.28 2.16,2.82 2.7,-2.22 0.02,-1.86 -1.84,-3.29 z m -5.75,-12.27 c 0.17,2 1.5,6.03 2.43,3.8 2.23,0.61 -1.82,2.67 0.72,2.78 0.63,0.68 3.87,-1.27 4.8,1.72 -0.26,-1.32 -0.91,-3.18 0.93,-0.96 0.43,1.22 2.78,1.88 2.56,1.94 0.3,2.23 1.13,-1.46 -0.36,-1.02 -1.03,-1.16 -0.4,-1.39 0.4,-1.67 -1.58,-0.77 -1.61,-0.73 -2.22,0.11 -0.91,-2.69 -2.4,-0.92 -3.06,-0.55 -1.48,-1.61 -2.71,-5.38 0.33,-6.48 0.05,0.11 1.99,-2.95 0.09,-3.94 1,-2.9 -0.05,-1.62 -1.57,-2.04 -3.66,-2.61 -3.34,3.01 -3.47,5.26 0.66,3.49 -1.7,-1.12 -1.58,1.06 z m 1.47,7.51 c 1.09,1.87 3.92,5.29 3.14,0.86 -0.53,-1.08 -2.14,-1.26 -3.14,-0.86 z m -8.51,13.72 c 0.2,1.1 4.23,-2.57 4.46,-3.92 2.15,-0.13 2.43,-3.15 1.62,-3.68 -0.27,1.18 -0.08,1.27 -0.56,1.34 -0.2,1.79 -1.78,1.81 -2.8,3.74 -0.85,0.86 -2.18,1.29 -2.71,2.52 z m 12.81,5.73 c 1.89,1.01 0.24,-1.57 0,0 z",UY:"m 311.36,321.52 c 1.41,-2.04 4.89,-0.87 5.47,1.5 1.9,-0.63 4.87,2.28 6.66,3.89 1.83,0.85 -0.82,2.69 0.03,4.25 -1.55,3.07 -4.83,2.34 -7.67,2.58 -2.09,-0.87 -8.29,-1.8 -5.1,-5.16 -0.91,-2.46 0.84,-4.7 0.62,-7.05 z",CG:"m 502.78,246.68 c 0.46,-1.75 3.43,-0.13 1.65,-2.27 -0.84,-1.77 -0.21,-2.37 2.04,-2.28 -0.05,-3.58 2.35,2.6 3.6,-0.63 1.31,2.9 2.21,-2.62 2.08,-3.94 -1.87,-0.89 -2.27,-3.03 -0.2,-4.28 -0.2,-3.41 -4.84,0.65 -3.36,-3.12 1.95,-2.02 6.63,0.75 8.01,0.25 0.34,-2.92 1.85,-6.38 5.5,-4.76 3.6,0.03 -1.21,4.29 -0.3,6.41 -0.05,3.99 -1.97,6.86 -4.7,9.61 0.43,3.55 -2.12,6.63 -5.2,7.7 0.46,-3.72 -2.66,1.03 -3.68,-0.77 -1.35,-1.81 -3.39,3.15 -3.85,-0.45 -0.43,-0.58 -1.02,-1.01 -1.57,-1.47 z",RS:"m 527.66,115.24 c 1.53,-1.25 3.09,-1.55 4.56,0.4 -0.18,1.45 -3,2.01 -3.18,1.86 -0.05,-1.09 -1.47,-1 -1.68,-2.1 m -0.84,-9.68 c -2.48,0.14 -2.86,2.04 -0.82,2.79 -2.61,0.83 1.29,0.24 -0.71,1.91 -0.45,0.81 2.48,1.6 0.37,1.44 1.92,1.69 -2.56,1.04 0.33,2.32 1.77,1.82 3.34,-0.1 4.34,0.67 2.54,0.13 0.42,2.83 3.17,1.73 1.9,-0.05 0.7,-1.8 2.51,-2.46 -3.46,-1.24 0.89,-5.32 -2.67,-3.79 -2.5,-0.59 -0.92,-2.05 -3.85,-2.59 0.63,-1.14 -1.77,-2.19 -2.66,-2.01 z",ME:"m 523.1,115.89 c 0.25,-1.66 1.44,-3.47 2.89,-1.55 2.94,0.62 1.38,1.64 -0.11,1.93 0.18,2.71 -1.86,0.38 -2.22,-0.09 0.92,-0.03 -0.85,0.25 -0.57,-0.29 z",EE:"m 537.06,70.85 c 0.6,-1.04 1.34,-0.13 -0.09,-0.76 -0.13,-1.61 2.75,-1.72 4.84,-1.83 1.93,-0.52 7.06,0.13 7.88,0.44 -2.59,0.76 -1.03,3.56 -1.05,4.25 -2.65,2.53 -6.13,-2.06 -9.3,-0.16 1.53,-2.48 -0.87,-0.23 -1.83,-1.72 z m -2.39,-1.43 c -3.01,-0.05 0.01,1.64 0.91,0.45 -0.19,-0.33 -0.67,-0.19 -0.91,-0.45 z m -1.65,3.27 c 0.87,-1.16 5.33,-1.53 1.65,-1.89 -3.01,0.38 -1.52,0.02 -1.65,1.89 z",RW:"m 552,242.64 c 0.4,-2.57 3.25,-3.61 4.42,-3.65 1.72,1.72 1.16,4.36 -1.45,3.13 0.19,2.38 -2.84,0.96 -2.97,0.52 z",AM:"m 592.45,119.98 c 2.56,-0.33 5.77,-0.93 5.47,1.17 0.15,0.96 2.85,1.67 0.42,1.97 2.04,0.44 4.06,3.16 1.45,2.96 -0.61,-2.51 -2.88,-1.32 -4.53,-2.8 -4.29,-0.22 -0.87,-1.32 -2.81,-3.3 z",SN:"m 423.83,194.19 c 0.12,-0.09 2.64,-3.19 2.94,-4.92 2.88,-0.61 7.06,-0.8 8.5,2.4 1.83,1.52 3.8,3.4 3.27,5.66 1.46,0.88 3.16,4.02 -0.27,3.51 -2.77,-0.42 -5.35,-1.28 -8.53,-0.81 -1.93,1.34 -6.57,0.51 -2.35,0.14 1.63,0.26 2.32,-0.91 0.58,0.04 -1.62,-0.22 -4.09,0.03 -1.61,-1.6 2.45,-0.5 4.14,-1.3 6.73,-0.4 0.8,-0.66 -2.59,-1.21 -3.7,-1.32 -2.29,1.53 -4.4,-0.28 -3.54,-0.69 1.42,-1.28 -1.46,1.75 -0.92,-0.96 l -0.47,-0.65 z",TG:"m 471.48,204.3 c 2.11,0.43 3.17,0.03 2.83,2.29 2.39,1.59 2.1,5.22 2.19,7.95 -0.53,1.66 1.21,4.69 -1.64,3.54 -2.84,-1.32 -0.4,-4.57 -1.44,-6.53 -0.4,-0.76 0.18,-2.86 -0.71,-2.83 0.99,-1.66 -0.9,-3.13 -1.23,-4.41 z",ES:"m 481.01,124.75 c -3.23,1.01 -1.72,-2.19 -0.44,-1.14 0.66,0.42 1.44,-0.02 0.44,1.14 z m -34.51,-9.69 c -1.12,-1.61 3.86,-1.24 2.45,-1.98 2.63,-0.74 5.81,0.24 9.04,0.28 3.37,0.18 6.58,0.01 9.89,0.57 0.69,1.2 4.87,2.08 5.98,1.12 1.69,1.81 6.14,0.75 6.81,1.78 -0.36,3.24 -6.37,2.32 -7.21,4.71 -1.76,1.25 -3.38,3.65 -1.23,5.28 -3.13,1.3 -1.31,3.64 -4.82,3.61 -1.54,3.44 -6.17,0.78 -8.96,2.58 -1.53,1.81 -3.61,1.22 -4.39,-0.67 1.04,-0.9 -2.14,-1.43 -2.93,-1.86 -0.2,-1.79 2.55,-1.96 0.46,-3.16 2.46,-1.43 -2.21,-3.58 0.79,-3.38 0.67,-1.89 0.25,-4.13 2.15,-5.44 -1.02,-2.01 -5.14,0.52 -5.33,-1.24 -0.81,-0.18 -2.94,0.94 -1.19,-0.8 -1.06,0.5 -0.05,-0.05 -0.72,-0.56 0.34,-0.26 -0.71,-0.18 -0.43,-0.6 l -0.2,-0.07 z",GA:"m 496.4,238.12 c -0.6,-0.74 1.77,0.08 1.29,-2.52 -0.32,-1.18 3.34,0.41 0.71,-0.82 -1.45,-1.4 0.92,-0.16 0.33,-2.07 2.47,0.48 6.01,0.73 4.55,-2.89 1.57,-1.14 6.76,-1.49 5.26,1.87 0.18,0.66 4.28,-0.8 3.14,2.12 -3.42,2.04 1.38,3.08 0.44,5.63 -0.1,0.9 -1.19,4.99 -2.04,2.09 -1.61,3.01 -3.29,-2.85 -4.08,0.77 -2.37,-0.58 -2.23,1.44 -1.11,2.62 0.67,2.35 -1.95,-0.57 -2.11,1.79 -1.37,-1.68 -4.07,-4.42 -3.38,-4.01 -1.66,-0.56 -1.55,-2.01 -1.3,-1.68 -0.96,-0.41 -1.3,-2.68 -0.49,-0.72 1.96,0.14 -1.03,-0.93 -1.2,-2.16 z",HU:"m 516.57,103.77 c 2.11,-0.35 0.34,-2.99 2.43,-2.38 1.54,-1.19 4.7,0.77 6.02,-0.83 1.53,-0.8 3.17,-0.28 4.4,-1.58 1.7,0.3 5.87,0.26 5.56,2.12 -3.03,0.15 -3,4.63 -6.02,4.69 -3.59,-0.54 -7.33,2.83 -10.43,-0.55 -0.9,-0.17 -1.03,-1.52 -1.96,-1.47 z",MW:"m 562.64,274.16 c 0.55,-1.54 1.02,-3.52 1.93,-3.87 -1.59,-2.89 1.41,-4.69 -0.21,-6.99 -2.72,-2.02 1.67,-0.22 2.39,-0.63 1.41,1.41 1.32,4.73 1.73,5.49 -2.65,2.36 -0.17,5.96 2.15,7.65 1.58,2.22 0.74,5.14 -1.29,6.37 1.59,3.5 -2.26,-0.57 -2.26,-2.16 1.69,-2.24 0.19,-4.57 -2.08,-3.73 -0.59,-1.02 -1.84,-1.13 -2.34,-2.12 z",TJ:"m 658.73,125.13 c 1.18,-1.28 4.56,-0.9 4.21,-2.37 -1.87,-0.4 2.45,0.45 1.19,-1.61 1.26,0.02 5.5,-1.48 2.96,0.74 1.05,1.01 2.39,0.38 0.21,1.41 -1.41,-2.67 -5.48,2.23 -1.02,1.02 1.77,0.59 4.14,-0.45 6.02,1.07 1.94,-1.37 4.89,-0.84 4.35,1.59 2.44,-1.12 3.96,2.41 3.17,3.83 -1.95,-0.91 -3.11,0.52 -4.41,-0.44 -2.4,1.75 -6.63,2.78 -5.15,-1.37 -0.71,-0.18 -1.43,-2.98 -3.1,-0.56 -0.59,1.42 -0.71,1.64 -2.7,1.79 0.25,1.79 -2.81,-0.1 -3.84,1.52 -1.76,-1.7 1.84,-3.13 0.32,-5.05 0.18,-1.17 -1.73,-0.61 -2.23,-1.56 z",KH:"m 755.76,198.21 c 0.59,-3.27 5.73,-3.72 7.96,-2.65 1.54,0.74 2.61,1.15 2.58,-0.36 0.93,-0.6 3.89,-0.27 3.75,-0.38 -0.99,1.74 1.79,5.8 -1.09,6.48 -1.92,0.98 -1.78,1.07 -3.53,1.67 0.39,1.22 1.9,2.95 -0.33,1.71 -1.91,0.06 -3.33,2.31 -5.24,1.16 -1.45,0.92 0.24,-2.88 -1.42,-0.89 -1.22,-0.76 -0.38,-2.35 -1.48,-3.16 0.32,-1.4 -1,-2.27 -1.2,-3.58 z",KR:"m 822.96,129.52 c 0.55,0.4 1.63,-2.7 3.79,-1.66 2.05,-1.89 3.71,2.6 4.27,4.45 0.43,2.34 0.11,4.94 -2.71,4.64 0.09,1.13 -2.54,-0.58 -2.41,1.11 -0.67,-0.96 -0.84,1.65 -1.11,-0.18 -1.09,1.41 -2.53,1.09 -2.41,0.33 1.32,-0.25 -1.3,-1.14 0.86,-2.65 -1.8,0.25 1.81,-1.21 -0.11,-0.92 1.21,-0.17 -0.79,-1.02 -0.24,-1.92 -1.84,-0.48 0.09,-1.84 0.89,-0.5 0.43,-0.92 -0.31,-1.19 -0.81,-2.7 z",HN:"m 224.11,195.03 c 0.55,-2.12 3.29,-4.64 5.8,-3.75 3.09,0.04 4.62,-1.16 7.72,-0.16 2.35,0.74 1.48,0.96 1.03,1.19 0.14,0.13 1.39,0.51 1.63,0.41 -0.9,-0.61 2.59,1.32 -0.25,1 -2.54,0.7 -3.88,0.03 -5.35,2.23 -1.06,0.91 -3.73,0.28 -3.8,2.4 -0.9,1.88 -2.04,-1.1 -2.35,-0.67 0.17,-2.12 -3.09,-0.68 -4.43,-2.65 z",IS:"m 405.62,51.63 c 2.16,-0.72 4.6,-0.3 4.87,-0.3 3.05,-0.07 -3.66,1.31 0.45,1.08 0.6,0.6 -3.4,0.12 -4.54,0.62 -3.06,0.86 4.9,-0.38 3.77,1.05 1.24,0.15 2.59,-0.84 0.71,0.43 -0.23,0.35 0.11,0.02 1.38,0.02 -1.11,0.56 -1.87,0.98 -3.46,1.16 1.65,0.86 5.37,-0.27 6,0.57 0.56,0.2 5.43,1.94 7.36,0.32 1.74,-0.34 5.05,-1.16 7.59,-1.9 2.1,-0.2 2.25,-1.4 3.58,-1.59 -0.35,-0.14 1.01,-0.17 -0.66,-0.4 1.02,0.32 2.79,-0.46 0.57,-0.46 2.34,-0.37 -1.51,0.03 0.73,-0.68 -0.59,-1.36 -3.35,0.61 -1.9,-1.01 -2.62,0.82 0.43,-1.03 -2.22,-1.01 2.25,-1.38 0.06,-0.05 -1.29,-0.27 -1.94,-2.31 -2.55,1.21 -4.65,0.17 -0.86,1.48 -4.09,-1.44 -2.19,1.52 -1.07,-2.17 -3.68,-1.57 -4.19,-0.29 -2.21,-2.41 -1.78,0.14 -2.68,0.63 -1.63,-0.67 -1.58,1.8 -2.3,0.13 -1.44,-1.35 -0.37,0.03 -0.02,-1.27 0.3,-1.04 -7.13,-1.94 -3.28,-0.97 0.94,-0.19 -2.39,0.24 0.11,0.57 0.64,1.46 -3.73,-1.44 -2.37,0.21 -2.91,-0.64 1.75,0.89 -1.02,0.28 0.62,0.58 0.96,0.31 1.21,0.62 -1.59,-0.14 -2.67,-0.42 -1.44,0.41 -1.53,-0.52 -2.19,0.25 -0.11,0.35 z",NI:"m 228.97,198.89 c 2.22,1.54 1.82,-2.21 3.14,-1.96 1.8,-0.48 3.25,-0.98 4.5,-2.96 1.86,1.45 5.3,-2.12 4.28,0.65 -0.25,1.86 -0.79,4.26 -0.92,6.21 -0.06,-2.95 -0.25,1.59 -0.43,1.07 -0.08,1.24 0.94,4.96 -1.84,2.87 -3.7,0.58 -5.7,-2.53 -8.45,-4.88 -0.24,-0.2 -0.57,-0.68 -0.29,-1 z",CL:"m 276.37,385.59 c -0.05,-1.26 1.39,-0.84 0.65,-1.59 1.59,0.13 5.04,-1.84 4.57,1.54 0.28,3.88 0.23,5.47 -3.52,4.19 -0.61,-0.05 -2.89,0.29 -1.99,-0.31 -1.32,-0.12 -2.45,0.16 -3.87,-0.54 0.81,0.32 2.1,-0.39 3.66,-0.26 -1.03,0.77 3.05,0.44 0.34,-0.18 -2.36,-1.03 2.7,0.75 2.19,0 1.41,0.25 1.64,1.19 1.82,0.15 -1.76,-0.03 -4.75,-1.9 -1.19,-2.27 1.7,-1.56 -2.52,0.22 -2.66,-0.71 z m 0.26,-98.36 c 2.02,0.25 1.75,-4.14 3.23,-1.04 0.67,2.13 2.81,4.91 1.41,6.76 2.08,1.77 0.96,7.45 4.58,7.14 1.13,3.77 -4.88,3.71 -4.01,6.44 -0.2,1.91 0.59,4.02 -0.02,5.39 -2.29,1.49 -4.86,5.58 -3.56,8.57 -1.57,0.99 -2.42,4.09 -1.59,5.24 0.87,2.47 1.44,3.61 1.51,6.1 -2.23,1.13 -1.01,4.3 -2.21,5.7 -2.53,1.3 -1.36,4.75 -0.67,6.83 -2.18,1.13 -2.17,3.47 -2.36,4.99 -1.25,1.89 0.52,4.42 -1.11,5.57 0.01,2.29 1.19,2.52 1.22,4.43 -1.71,1.55 3.78,1.37 0.43,2.25 -3.22,-0.51 2.82,1.52 -0.57,2.37 0.34,1.34 -0.01,1.58 0.07,3.02 -0.61,1.46 -2.67,2.58 -1.64,4.61 -0.92,1.62 -4.95,3.2 -2.6,5.74 -0.14,2.05 3.62,-0.36 2.65,2.43 -0.47,3.82 6.22,1.32 8.79,2.7 3.36,0.62 -1.14,-0.41 -2.06,0.91 -2.43,0.02 -3.41,1.26 -3.24,3.58 -1.39,1.23 -5.33,-1.82 -3.06,-1.16 -0.68,0.34 1.72,-0.97 0.55,0.44 1.42,-0.91 3.15,-3.11 0.31,-1.56 -2.07,0.42 -1.23,0.09 -2.01,0.85 1.44,1.92 -4.32,-0.94 -0.61,-0.22 -2.27,-2.3 6.73,-1.24 1.42,-1.92 -1.04,0.64 -0.6,-0.68 -1.92,0.43 1.36,-0.03 -1.56,1.89 -1.2,0.55 0.06,-0.49 1.71,-1.5 0.13,-0.76 -1.35,1.4 -0.79,-1.71 -0.7,-1.26 2.17,0.51 1.54,-0.41 2.66,-0.09 -0.44,3.05 1.46,-2.61 -1.65,-1.74 2.46,0.16 1.67,1.45 -0.24,0.34 1.61,1.45 -0.76,0.42 -0.01,0.85 -0.55,0.96 -1.01,-0.22 -0.6,-0.65 -2.03,-0.12 -0.19,-0.88 -0.41,-0.81 0.36,-0.88 -2.69,-0.9 -0.39,-1.76 0.93,-0.49 0.61,-1.34 -0.61,0.07 -1.22,-1.17 1.08,-0.85 -0.96,-1.29 -2.23,-1.65 3.6,0.7 0.23,-0.81 0.76,-0.65 1.68,0.2 0.18,-0.78 0.06,-0.26 0.08,-1.16 1.53,-0.22 -2.34,-0.58 0.83,-3.46 -1.59,-0.6 -1.78,-1.82 1.42,-2.25 -0.36,-2.59 3.47,0.33 -2.49,-2.26 0.43,-1.15 -0.1,-1.19 4.23,1.11 1.71,-0.74 2.06,1.56 -0.88,-2.02 -0.68,-0.25 -2.66,0.18 -2.16,-0.88 -1.02,-0.42 1.18,0.03 -2.05,-1.18 0.26,-1.08 0.88,-0.99 -0.62,0.01 0.16,-0.9 -1.58,-1.09 -1.28,0.64 -2.57,-0.96 0.74,-0.86 -2.96,0.44 -1.14,0.62 -1.94,0.01 1.62,-1.89 1.86,-2.17 -1.22,0 -0.43,-0.85 0.83,-0.49 1.36,-0.61 1.81,1.23 -0.1,0.86 2.31,-0.08 1.35,0.39 1.99,0.86 0.77,-0.64 1.44,-1.95 0.22,-0.6 0.29,-1.86 1.88,-1.77 0.37,-1.87 0.92,-1.46 3.32,-0.04 0.33,-1.04 0.62,-1.23 4.04,-2.35 0.68,-2.97 0.43,-1.15 0.86,-1.04 0.37,-2.49 1.07,-1.47 0.63,-2.47 1.12,-3.09 1.33,1.3 0.21,-1.02 -0.45,-1.02 2.67,-1.44 0.6,-0.53 -0.81,-0.73 -2.55,2.03 -3.01,-3.42 -0.91,-4.9 1.79,-2.07 -1.93,-6.4 0.04,-7.44 1.43,-1.34 1.51,-3.41 3.03,-5.53 1.21,-3.42 2.91,-6.61 2.07,-10.33 -1.29,-2.93 2.03,-4.84 0.3,-7.64 2.01,-2.99 1.42,-7.08 2.93,-10.02 0.06,-3.01 -0.89,-5.37 0.45,-7.38 0.71,-3.26 0.45,-6.62 -0.05,-9.87 -0.4,-0.74 0.29,-1.76 -0.36,-2.34 z m -6.78,74.23 c 0.56,-1.88 -2.75,-0.01 -1.07,0.52 l 0.56,-0.17 z m -1.96,-8.14 c -1.8,-0.98 -3.3,4.48 -0.93,4.4 1.56,-1.42 -0.04,-2.28 1.05,-3.75 z m -3.57,22.95 c 1.89,-0.19 0.91,-1.17 0.82,-3.19 -1.3,-1.25 -0.81,0.99 -1.43,1.06 -0.68,0.31 -1.56,0.59 0.28,1.59 0.73,-3 0.68,0.64 0.33,0.55 z m 0.61,-3.67 c 0.49,-1.39 -0.84,-1.39 -0.53,-0.75 -1.24,0.1 -0.13,0.98 0.53,0.75 z m -1.6,0.03 c 0.75,-2.37 -2.08,-1.32 -0.39,-0.87 0.23,0.25 -0.02,0.69 0.39,0.87 z m 0.53,7.83 c 1.72,0.13 0.88,-1.72 0,0 z m 2.21,-1.79 c 0.43,-1.09 -2.4,-1.19 0,0 z m -1.46,0.76 c 3.02,-1.15 -1.99,-0.87 0,0 z m -1.63,-0.91 c 1.5,-1.81 -1.25,-0.65 0,0 z m 0.8,-1.39 c 0.78,-1.24 -0.56,-0.17 -0.87,-0.44 -0.26,0.69 0.43,0.93 0.87,0.44 z m 4.34,8.49 c 1.83,0.02 -3.39,-1.61 -3.22,-1.3 0.98,0.8 2.22,0.74 3.22,1.3 z m 9.71,5.08 c 1.02,0.7 2.43,1.2 1.75,0.05 1.18,0.28 3.17,1.85 3.46,0.99 -1.07,-0.7 -2.24,-0.5 -0.26,-0.61 -1.89,-0.56 -2.83,-0.44 -0.48,-0.73 -1.32,-0.58 -3.38,0.33 -4.47,0.31 z m -1.47,0.22 c 1.86,-0.63 -1.32,-0.36 0.45,-0.87 -1.44,0.44 -2.68,-0.18 -0.45,0.87 z m -0.07,-2.73 c 0.23,-1.03 0.35,-2.08 -1.05,-1 0.04,0.55 0.53,0.94 1.05,1 z m -2.1,-0.61 c -3.24,-0.16 2.74,1.87 0,0 z m -1.09,-0.2 c -2.37,-0.68 -0.37,1.88 -0.39,0.54 0.69,0.25 0.1,-0.34 0.39,-0.54 z m -3.2,0.54 c 3.23,-0.71 0.16,-1.7 -1.01,-2 -1.43,0.42 1.49,0.88 -0.77,0.48 -1.27,1.1 3.85,0.62 1.21,1.4 z m 16.09,2.7 c -1.18,-1.36 -5.24,-0.27 -2.03,0.39 0.09,-0.66 1.54,0.87 2.03,-0.39 z",MA:"m 435.34,157.82 c 3.51,-1.58 8.67,-3.15 9.9,-7.6 -1.92,-2.47 1.17,-6.42 3.2,-8.19 3.79,-0.7 6.09,-3.66 7.2,-7.08 2.19,-0.65 3.38,3 6.18,1.58 2.19,-0.14 3.29,-0.27 5.09,1.74 -0.08,1.96 1.14,5.01 1.62,6.42 -0.43,1.66 -4.65,-0.6 -6,1.76 -2.79,-0.04 0.86,2.65 -2.45,2.75 -2.89,1.88 -5.76,2.93 -8.95,3.73 -2.19,0.78 -3.99,2.27 -3.3,4.82 -4.14,0.35 -8.33,0.06 -12.49,0.08 z",LR:"m 440.03,216.14 c 1.83,-1.24 2.39,-4.03 4.44,-4.43 2.22,0.14 0.61,5.84 3.27,2.46 2.46,0.33 -1.11,4.3 2.27,3.96 2.12,1.34 1.66,7.23 -1.53,4.32 -3.12,-1.85 -5.71,-4.25 -8.45,-6.31 z",NL:"m 482.62,90.46 c 1.95,0.97 -0.52,-0.48 2.14,-0.3 1.14,-0.06 -3.78,-0.2 -0.57,-1.79 0.55,-2.7 8.79,-4.99 7.11,-0.85 -1.71,0.01 0.69,1.12 -0.61,1.98 -2.17,0.18 -2.33,0.02 -1.76,1.94 0.3,1.35 -2.06,2.03 -0.81,0.3 -2.1,-1.48 -4.93,-0.13 -6.42,-1.21 l 0.29,-0.07 z",CF:"m 511.86,218.62 c 1.77,-2.21 2.85,-4.56 5.73,-5.01 1.22,1.22 4.09,-0.82 6.16,-0.93 1.69,-1.38 -0.16,-2.94 3.02,-2.46 3.37,-0.04 4.4,-3.88 6.79,-5.2 3.27,-1.11 4.41,4.22 3.67,5.65 0.28,0.52 2.21,0.5 2.35,1.77 2.68,0.6 2.73,3.31 5.43,4.47 -0.45,1.76 3.81,3.45 2.66,4.3 -2.17,0.78 -4.86,-1.52 -6.36,0.42 -2.09,-0.85 -4.18,1.49 -6.17,0.83 -1.28,2.77 -6.09,0.99 -7.68,-0.78 -2.93,-1.92 -4.44,3.1 -4.31,3.91 -2.96,-0.58 -6.01,-0.26 -6.14,3.39 -0.3,0.07 -0.9,-2.78 -2.47,-3.26 -1.22,-2.01 -2.17,-4.62 -2.58,-6.92 z",SK:"m 518.91,98.85 c 2.51,-0.63 5.04,-3.35 7.51,-2.21 2.17,0.85 5.54,-0.96 7.91,1.06 -1.09,3.67 -5.16,-0.25 -7.14,2.45 -2.96,-0.08 -5.13,2.79 -8.14,-0.1 -0.1,-0.39 0.02,-0.81 -0.14,-1.2 z",LT:"m 530.27,77.87 c 3.05,-1.8 6.58,-0.36 9.84,-0.7 1.85,-0.36 7.4,2.36 5.18,3.35 -2.43,0.07 -1.76,2.97 -2.5,2.64 -2.47,0.5 -5.42,1.45 -7.68,-0.54 0.63,-3.74 -5.3,-0.28 -4.84,-4.74 z",ZW:"m 541.96,285.73 c 2.74,0.77 5.77,1.04 7.14,-2.41 3.04,-0.69 3.3,-4.86 7.14,-3.72 1.14,1.68 5.13,2 7.14,3.02 -0.44,2.08 0.95,4.75 -0.74,6.34 1.42,1.95 -0.04,3.83 -0.8,6.08 -0.79,2.91 -4.6,4.41 -7.82,3.01 -1.93,-1.33 -5.66,-1.22 -5.41,-4.73 -2.57,-1.13 -5.49,-4.18 -6.64,-7.58 z",LK:"m 693.19,214.25 c -1.23,4.36 3.86,6.27 5.71,2.37 0.06,-3.36 -1.74,-4.91 -3.65,-7.84 -2.19,-1.63 0.81,0.69 -1.39,-0.75 -0.85,0.54 3.19,1.28 0.23,0.77 -0.38,1.5 -0.88,4.98 -1.19,3.97 -0.03,0.52 0.24,0.98 0.29,1.48 z",IL:"m 566.95,147.85 c 1.69,-1.7 1.42,-5.7 3.8,-5.71 1.34,3.02 -2.94,1.31 -1.6,3.99 0.15,0.56 -1.06,2.06 1.16,0.9 -0.44,1.53 -1.37,8.03 -2.13,3.85 -0.53,-0.96 -0.8,-2.03 -1.22,-3.03 z",LA:"m 749.45,178.39 c 1.02,-1.22 1.78,-2.83 3.12,-3.15 1.11,2.39 2.6,-0.56 1.04,-2.12 1.25,-2.09 3.1,1.91 3.89,1.63 -0.97,2.9 2.55,2.37 3.97,2.31 0.59,1.1 0.04,1.11 1.49,2.11 -0.53,1.53 -4.67,1.18 -1.64,2.82 2.73,0.82 3.04,3.56 5.51,5.17 0.43,2.43 3.48,2.66 2.68,4.57 2.36,1.37 -0.81,4.58 -2.32,2.97 -1.92,0.35 -0.3,2.73 -2.87,1.18 -0.88,-0.47 0.94,-2.86 0.23,-3.61 0.57,-1.96 -3.33,-2.69 -2.12,-5.69 -1.55,-2.5 -3.98,-3.46 -5.69,-1.23 -1.67,-3 -5.88,3.86 -4.29,-0.92 0.59,-2.17 0.5,-4.24 -2.02,-4.08 0.79,-1.19 -0.1,-2.42 -0.98,-1.97 z",KP:"m 816.84,122.85 c 2.59,-1.48 5.26,-2.72 7.31,-4.69 0.86,1.47 5.12,1.43 3.03,-0.63 2.63,0.4 4.45,-1.79 5.8,-2.67 2.59,2.04 0.14,1.73 -1.31,3.76 0.92,3.33 -4.08,3.75 -6.09,5.33 -1.11,1.84 1.86,1.45 2.29,3.44 -1.5,1.01 -3.8,-0.13 -4.84,1.89 -1.84,0.14 -2.7,-0.88 -3.21,0.14 0.39,-0.52 -1.55,-0.36 -0.73,-0.93 -2.55,0.34 0.91,-2.31 1.1,-1.75 -2.6,0.02 1.52,-3.15 -1.87,-2.73 0.01,0.5 -1.79,-0.5 -1.45,-1.17 z",GR:"m 545.17,126.04 c -1.44,-0.12 -1.9,-1.54 0.25,-0.61 0.92,0.89 -0.13,0.09 -0.25,0.61 z m -6.34,10.56 c -3.34,-0.05 -0.37,-2.12 0.68,-0.43 1.73,-0.29 5.08,0.32 4.88,0.94 -2.12,0.27 -3.69,0.25 -5.56,-0.51 z m -1.48,-9.18 c -0.69,-1.04 -2.82,-1.58 -0.46,-1.36 1.55,0.16 4.59,4.29 1.65,1.57 -0.35,-0.18 -0.9,0.16 -1.19,-0.22 z m -8.51,0.26 c 2.24,1.03 -1.41,1.08 0,0 z m -1.41,-3.66 c 2.05,-0.05 2.05,-4.11 4.6,-3.45 2.38,-1.45 5.12,-0.88 7.76,-1.89 1.35,1.16 4.93,1.21 4.87,-0.43 2.5,0.73 -0.92,4.05 -2.73,2.24 -1.49,-0.14 -5.95,0.56 -2.92,1.66 1.81,1.58 -3.07,-1.43 -0.56,0.99 -0.98,-0.49 -2.57,-1.08 -0.83,0.16 -1.52,-0.38 -3.14,-3.48 -2.86,-0.2 1.16,1.09 2.41,3.54 0.78,1.83 -0.6,0.79 1.08,1.42 -0.98,1.31 1.52,0.94 4.64,0.97 4.02,3.5 -1.81,-1.95 -3.74,-0.36 -1.59,0.63 -1.18,0.51 -2.83,-1.15 -1.28,1.18 1.3,3.13 -1.11,-0.93 -1.39,1.49 -0.75,-1.26 -1.3,-1.77 -2.09,-1.03 0.25,-1.99 -3.16,-3.34 0.09,-4.11 1.16,0.66 5.81,1.14 2.4,-0.11 -1.57,-0.44 -4.82,0.91 -5.22,-1.74 2.97,0.28 -1.98,-0.52 -2.05,-2.04 z",TM:"m 617.39,118.21 c 2.91,-3.16 6.68,-0.85 9.06,1.25 2,-0.16 4.6,1 3.87,-1.84 1.02,-1.07 4.14,-1.36 3.4,-1.45 -0.27,-1.6 4.14,0.52 4.74,1.36 -0.37,2.12 2.58,2.39 4.69,2.11 1.64,3.69 4.97,5.76 8.74,7.21 1.42,1.64 6.38,0.8 4.33,3.74 -2.75,-1.31 -4.57,1.15 -5.97,3.21 -3.12,0.45 -2.77,2.05 -5.58,2.97 -1.73,-1.19 -3.96,-1.24 -3.1,-4.16 -3.28,0.38 -4.88,-3.4 -8.24,-3.13 -2.82,-1.64 -5.28,-1.49 -8.31,-0.63 -1.37,1.94 -4.87,2.62 -3.74,-0.96 1.59,-2.44 -3.48,-3.29 -1.37,-3.57 1.62,-0.1 -0.89,-1.71 -1.74,-1.3 0.12,-1.81 1.08,-3.34 -0.79,-4.81 z",EC:"m 247.34,241.79 c 0.56,-1.35 0.41,-4.3 1.59,-4.54 -0.23,-1.3 1.79,-2.25 0.9,-3.85 2.19,-0.37 3.44,-2.62 5.64,-0.29 1.79,0.8 3.64,2.47 5.35,1.47 1.38,1.31 2.48,1.02 1.69,1.84 2.06,2.8 -2.75,6.82 -6.09,7.42 -2.67,0.7 -1.82,6.03 -4.71,5.36 -0.68,-1.98 -4.7,-0.73 -2.12,-2.81 -0.74,-1.59 1.65,-2.89 1.07,-5.11 -0.88,2.01 -0.14,0.99 -1.14,1.43 -0.11,1.34 -1.7,-0.51 -2.16,-0.92 z m 2.63,1.34 c -1.83,1.11 0.51,0.96 0,0 z m -32.07,-7.51 c 2.44,0.88 -1.18,3.78 2,2.57 0.3,-0.63 -1.01,-3.21 -2,-2.57 z",BJ:"m 474.11,205.49 c 0.64,-2.71 4.8,-1.26 4.62,-4.35 2.63,-0.84 4.19,3.7 3.22,5.34 -0.27,2.61 -3.28,3.79 -2.53,6.89 0.52,2.5 0.56,5.54 -3,4.76 -0.07,-2.01 0.47,-6.02 -0.42,-8.64 0.25,-2.12 -1.84,-2.22 -1.88,-4 z",SI:"m 509.32,106.07 c 0.74,-0.2 -0.9,-1.4 0.83,-1.36 2.87,1.35 6.07,-2.33 7.79,0.18 -2.08,-0.27 -3.04,2.13 -3.97,2.88 -1.55,-1.27 -4.75,1.19 -3.91,-0.87 -0.71,-0.11 -0.23,-0.5 -0.75,-0.83 z",NO:"m 485.82,62.84 c 1.26,-0.31 3.08,-0.04 0.79,-0.26 1.08,-0.49 -1.94,-0.11 0.31,-0.42 -2.73,-0.44 1.77,-0.61 2.54,-0.58 2.96,-0.13 -3.4,0.05 -2.8,-0.32 0.18,-0.21 -1.19,-1.24 0.51,-0.14 -0.08,-1.13 3.05,0.62 1.67,-0.79 1.3,0.53 1.37,-1.1 2.56,0.3 -0.34,0.37 1.88,-0.53 -0.51,-0.78 -2.77,-0.03 0.17,-0 -0.91,-0.23 -1.15,-0.92 4.72,0.65 2.98,-0.4 2.37,-0.32 1.02,-0.03 -0.53,-0.15 2.37,-0.31 -2.71,0.23 -0.41,-0.24 -1.95,-1.52 6.06,1.08 2.37,-0.39 -0.46,-0.81 2.72,0.79 0.78,-0.16 -0.54,-0.18 0.32,-0.58 1.65,-0.55 -2.26,-0.71 3.37,-0.25 0.63,-0.7 2.72,-0.69 1.59,0.96 3.94,0.08 1.32,-0.25 -0.46,-0.58 2.03,-0.94 -0.86,-0.59 0.82,-0.83 -0.41,-0.8 -2.29,0.72 0.68,0.45 -1.89,1.28 -2.18,0.93 -1.04,-0.98 -1.87,-0.36 -2,0.03 2.16,-0.67 0.46,-0.77 1.65,-2.29 5.41,-0.44 4.07,-1.96 1.06,-0.19 0.73,-0.91 2.73,-0.54 -1.33,-0.24 -4.9,0.82 -2.23,0 -1.27,-0.01 0.67,-0.28 0.88,-0.6 1.91,-0.35 -0.95,0.49 1.42,0.09 2.26,-0.94 -0.76,0.24 -0.5,-0.61 -1.44,-0.76 2.85,0 0.29,-1.01 0.56,0.15 1.66,-1.02 1.99,-0.79 -3.53,-0.71 5.72,-0.93 1.35,-0.94 -2.63,0.49 0.03,-0.21 -0.97,-0.15 -2.11,-0.8 3.27,-0.55 -0.19,-0.97 1.21,-0.03 -0.25,-0.25 1.69,-0.19 -1.98,-0.16 1.79,-0.11 -0.69,-0.54 1.29,-0.53 3.4,-0 2.48,-0.74 1.64,-0.23 4.96,0.02 1.35,-0.35 -2.63,0.16 0.76,-0.49 -0.08,-0.73 0.18,0.17 3.04,0.75 2.27,-0.03 -3.82,0.08 2.74,-0.95 -1.72,-0.34 -2.44,0.43 1.74,-0.48 -0.75,-0.43 0.35,-0.01 5.19,-0.57 1.31,-0.54 0.83,-0.93 3.01,0.03 2.66,0.31 -0.19,-0.22 2.1,-0.43 0.06,-0.61 0.73,-0.28 -1.14,-0.71 1.36,-0.05 -2.96,-1.35 2.82,0.09 2.15,-0.69 2.17,-0.11 -5.74,0.1 -1.42,-0.83 2.36,0.29 -0.05,-0.37 1.87,-0.17 -1.1,-0.4 1.91,-2.29 2.33,-1.5 2.88,0.47 -2.03,-0.96 1.02,-0.36 2.6,0.67 0.2,0.31 0.52,-0.27 -0.36,0.29 -0.21,-1.03 1.65,-0.76 -0.92,2.87 1.93,-2.06 1.63,0.51 -2.83,1.89 2.37,-0.36 0.96,0.08 0.67,-1.45 1.02,-0.35 2.54,-0.88 2.11,1.14 1.05,-0.53 0.67,-0.46 -4.2,-0.81 2.66,-0.25 1.5,-0.5 1.56,-0.3 1.82,0.72 0.1,0.55 1.62,-0.21 3.8,0.73 2.37,-0.46 0.51,-0.18 3.93,-1.1 3.42,-1.5 -0.84,-0.62 4.06,-0.76 3.55,-0.03 -2,-0.06 -2.62,3.07 -0.8,1.13 1.27,-1.29 4.18,-1.93 3.05,-0.85 0.08,1.6 1.9,-0.07 2.23,-0.36 1.63,-0.17 -1.82,-0.38 0.53,-0.66 1.45,-0.88 4.14,0.8 0.91,0.71 1.69,0.19 -1.86,0.61 0.84,0.26 0.39,0.46 -2.03,0.69 0.52,0.55 -1.21,1.59 2.05,-2.74 2.68,-0.49 2.12,-0.11 2.92,0.19 4.66,0.99 -1.47,1.05 -6.54,0.26 -5.78,0.68 2.79,0.32 1.98,1.46 4.58,0.78 2.52,0.96 -1.66,0.18 -2.23,1.2 -1.23,0.67 -3.88,1.43 -1.48,-0.43 -2.59,-1.43 -7.34,-2.38 -9.52,0.4 -0.81,3.51 -5.16,0.84 -7.65,2.03 -2.68,-0.31 -4.71,-2.68 -6.62,-1.11 -2.13,-0.47 -0.16,0.84 -1.93,1.38 1.27,1.67 -5.73,-1.77 -5.14,1.27 -2.3,-0.22 -6.17,1.15 -4.97,3.04 -1.87,1.2 -3.41,2.53 -4.9,2.95 1.17,2.75 -4.41,3.41 -1.14,4.9 -2.33,0.59 -6.57,0.68 -5.72,4.14 0.71,1.64 -0.32,3.59 2.18,3.87 -0.48,1.36 -2.55,1.05 -0.79,2.71 -0.75,1.79 -3.15,1.78 -2.61,4.23 -1.65,-0.06 -3.3,-1.91 -2.68,-2.73 -0.44,1.06 -1.26,1.03 -0.85,1.82 -2.91,0.76 -2.77,1.61 -6.29,3.04 -1.51,0.83 -4.6,0.12 -4,-0.19 -3.57,-0.14 -3.22,-2.92 -1.57,-1.96 3.17,-0.69 -1.7,0.39 -0.07,-0.73 2.73,-0.65 -2.07,0.06 1.27,-1.03 -1.4,0.45 -2.04,0.14 -1.83,0.63 -1,-0.98 -1.25,1.04 -1.45,-0.77 0.61,0.23 -0.14,0.15 1.61,-0.14 -0.48,-0.38 1.39,-0.2 -0.64,-0.45 1.16,-0.92 2.5,-1.84 2.68,-1.25 2.87,-2 -2.26,0.61 -2.59,0.33 0.21,-0.74 -2.15,0.38 -1.05,-1.04 1.41,0.37 0.99,-0.89 -0.44,-0.22 -1.36,-1.08 2.3,-0.14 -0.5,-0.98 -0.02,-0.36 4.94,-1.06 5.19,0.03 0.68,-0.38 2.26,-0.56 1.62,-1.31 0.43,-0.23 -1.2,1.23 -1.35,0.52 -0.78,-0.42 -6.28,1.02 -4.57,-0.44 1.71,-0.1 -0.99,0.12 -0.92,-0.13 z m 58.18,-26.95 c 1.4,-0.42 -3.26,-0.53 -0.61,0.12 z m -7.07,0.64 c -1.13,-0.1 -1.93,0.41 -4.02,0.38 -1.04,0.42 3.23,0.58 4.02,-0.38 z m -12.74,3.08 c 0.69,-0.98 -1.04,0.02 -1.39,0.06 0.27,-0.41 -1.24,1.38 1.39,-0.06 z m -5.05,1.12 c 0.92,-0.07 -1.34,0.93 1.02,0.37 3.71,-0.07 0.34,-1.81 -0.11,-0.84 1.43,0.21 -2.1,-0.12 -0.91,0.47 z m -4.35,1.58 c -0.36,0.38 -1.74,1.62 0.24,0.71 -0.45,1.34 5.44,-1.86 1.36,-0.69 -0.61,1.24 0,-1.89 -1.16,-0.11 l 0.23,0.1 z m -1.49,0.33 c 3.52,-0.83 -1.42,-1.19 -0.91,-0.12 1.28,-0.2 1.46,-0.52 0.91,0.12 z m -3.59,1.17 c 0.03,0.68 2.78,-0.85 0.05,-0.35 0.45,0.42 -0.75,0.04 -0.05,0.35 z m 20,-26.23 c 1.3,0.65 6.35,-1.22 4.36,0.4 1.8,0.27 5.88,-1.01 6.15,-1.4 -0.88,-0.35 -5.46,0.11 -3.2,-0.94 -1.86,-0.19 -5.96,-0.41 -6.72,0.29 2.63,0.3 0.29,1.07 -0.6,1.64 z m -6.29,-6.99 c -3.2,0.5 3.52,1.05 4.83,0.56 1.93,-0.27 7.79,0.02 2.96,0.31 -1.05,-0.01 -3.58,-0.05 -1.09,0.23 -1.45,-0.02 -5.49,-0.27 -2.02,0.45 3.57,0.43 6.3,-0.3 8.6,0.78 3.9,-0.08 6.43,-0.98 9.59,-1.82 2.52,-1.37 -3.26,-1 -4.41,-1.29 -3,-0.64 -3.17,0.19 -6.22,0.31 1.44,-1.86 -2.02,-0.77 -2.25,0.49 -1.74,-0.8 -1.66,-0.54 -4.15,-0.9 -1.83,-0.94 -3.16,-0.83 -2.83,0.02 -2.44,-0.38 -0.91,0.06 -1,0.53 -1.9,-0.54 -4.83,-0.28 -3.25,0.09 0.33,0.22 2.75,0.09 1.23,0.24 z m -20.56,2.17 c 1.43,0.89 1.1,-0.97 2.49,0 -2.27,0.33 1.45,0.91 -1.14,0.67 -3.69,0.56 6.63,1.44 1.44,1.39 1.84,1.17 7.55,0.74 6.04,-0.63 1.64,0.22 3.04,-0.75 2.54,0.55 2.3,0.1 4.53,-1.15 3.41,0.1 3.93,0.29 -3.43,-0.03 -4.61,0.87 -1.97,0.48 -2.26,-0.11 -3.99,0.62 3.09,1.01 6.56,-0.07 9.79,-0.05 0.24,1 -6.32,0.02 -5.92,0.87 1.73,-0.02 5.43,0.79 1.74,0.25 -1.88,-0.45 -6.66,0.09 -2.25,1.16 1.45,0.41 7.32,0.15 3.01,0.52 -1.21,0.56 4.19,1.65 3.74,0.18 1.03,-1.41 3.41,-2.01 4.35,-3.3 1.63,-0.1 0.89,-1.78 3.66,-1.56 1.49,0.13 6.64,-0.54 2.61,-0.84 -2.92,-0.48 -5.6,-0.41 -6.96,-1.93 -0.79,0.3 -3.04,0.67 -1.18,-0.4 -3.75,-1.72 -6.96,10e-4 -4.33,2.1 -1.55,-0.66 -5.56,-3.79 -6.28,-0.8 -1.96,-0.68 -2.15,-0.85 -4.29,-0.82 1.67,-0.05 6.21,-0.84 1.93,-0.68 -2.82,0.37 -4.57,-0.1 -6.49,0.69 0.91,-0.1 -1.62,0.23 0.7,1.03 z m 2.37,2.41 c -1.6,-0.8 -6.01,-2.2 -2.23,-0.37 0.19,0.02 3.62,1.26 2.23,0.37 z",MD:"m 545.77,99.88 c 2.16,-1.57 4.18,0.57 5.96,0.53 1.43,0.26 2.23,2.93 1.96,2.89 2.88,1.16 0.75,2.71 -0.8,1.4 -0.73,1.37 -3.41,5.07 -3.05,1.08 1.27,-2.27 -2.61,-4.76 -4.07,-5.9 z",LB:"m 569.26,142.56 c 0.93,-1.57 2.6,-6.43 4.07,-3.4 -0.89,1.41 -2.1,3.21 -4.07,3.4 z",NP:"m 694.09,154.14 c 0.44,-1.98 1.75,-3.37 3.45,-3.38 2.26,-2 5.02,3.31 7.74,2.77 1.15,2.11 3.46,1.87 4.73,2.94 1.1,0.54 2.98,0.38 5.37,0.84 1.99,-0.52 0.5,2.96 0.69,3.95 -2.76,0.44 -5.03,-0.77 -7.68,-0.9 -2.02,-2.49 -4.77,-1.25 -7.1,-2.59 -2.56,-0.64 -5.72,-2.18 -7.2,-3.63 z",ER:"m 572.96,193.02 c 1.46,-3.19 1.28,-6.2 5.2,-7.02 2.35,-1.7 2.05,5.09 3.76,6.81 0.36,0.9 0.66,-2.05 1.19,0.41 2.35,0.45 4.82,3.36 6.16,4.47 1.19,1.37 3.37,3.11 0.05,2.85 -2.3,-2.41 -4.43,-6.15 -8.29,-5.72 -0.95,-0.46 -2.9,0.78 -4,-1.06 -0.53,1.56 -0.73,2.6 -2.01,1.23 -1.79,1.42 -2.11,-0.3 -2.05,-1.98 z",US:"m 39.4,68.72 c 2.12,0 5.18,-0.56 5.03,-1.27 -1.37,0.24 -4.62,-0.06 -5.03,1.27 z m -2.83,3.6 c 1.56,1.95 3.92,0.16 0.44,-0.05 z m 93.97,55.56 c -2.1,-1.68 -2.06,-4.52 -3.45,-6.43 1.29,-1.2 -0.18,-3.87 -0.51,-5.8 0.03,-2.69 1.18,-2.04 1.07,-4.81 0.64,-2.31 0.08,-5.98 2.07,-5.16 -1.83,-0.29 -2.6,-0.64 -1.21,-1.37 -2.05,-0.06 0.71,-1.42 -0.98,-0.82 -0.61,-1.79 -3.25,-5.33 0.69,-3.45 2.66,0.08 4.48,0.44 2.04,2.21 0.91,0.69 0.04,-1.37 1.69,-1.13 -0.1,1.81 -0.8,1.18 -1.33,2.02 1.29,0.4 2.83,-2.18 1.4,-3.55 -1.06,-0.23 0.75,-0.82 -0.68,-1.65 4.14,-0.26 8.43,-0.05 12.63,-0.12 21.22,0 42.45,0 63.67,0 0.91,-2.58 1.69,1.99 3.95,1.21 2.54,-0.61 3.95,0.79 6.01,1.34 1.49,-0.47 5.36,-0.02 5.2,0.42 -2.03,0.48 -5.87,2.25 -6.06,3.48 1.45,0.16 3.57,-1.22 3.22,0.14 2.55,0.31 6.38,-2.29 7.03,-0.57 2.84,1.09 5.88,0.96 9.07,0.22 -0.19,1.54 2.5,0.4 2.58,1.82 -0.46,1.52 -5.21,-0.99 -7.18,1.42 0.41,-1.34 -2.3,-0.14 -2.59,1.75 -1.95,1.22 -0.74,1.2 0.68,0.46 -0.91,2.73 -2.75,6.57 -0.09,8.99 5,-0.33 1.65,-5.17 3.02,-7.5 -0.02,-1.89 2.7,-2.63 2.22,-1.81 -0.32,1.22 1.23,-2.01 1.37,-1.35 0.55,-2.08 6.21,0.31 4.66,3 -1.91,0.84 -2,3.23 0.26,1.15 2.45,-1.08 2.74,4.46 0.99,4.09 -1.5,1.24 -2.29,2.82 0.36,2.78 -1.13,0.65 4.19,-0.03 5.39,-1.1 2.29,-0.52 5.75,-1.94 5.26,-3.92 2.22,-0.25 8.31,0.81 7.45,-2.17 0.96,-2.37 6.22,-3.12 9.36,-2.62 3.05,0.22 5.28,-0.17 7.03,-2.44 0.47,-2 2.25,-5.46 4.42,-3.82 3.84,-1.28 1.87,4.47 3.91,5.86 2.36,0.89 -1,1.61 -1.92,2.03 -1.09,-0.48 -1.77,0.7 -2.37,-0.16 -1.62,2.63 -2.84,0.88 -2.92,1.85 -0.57,-0.52 -2.76,2.76 -2.77,3.72 -0.5,1.65 3.15,2.57 2.26,1.27 1.44,2.18 -2.44,0.77 -2.26,1.3 -1.36,-0.01 -0.81,-0.79 -2.35,0.69 -1.85,-0.55 -5.89,1.74 -5.94,0.93 0.08,-1.86 -0.43,1.42 -0.64,1.54 1.07,0.31 0.31,2.04 -0.01,1.54 -0.9,2.28 -2.37,3.6 -3.89,0.92 2.26,-2.12 -1.68,0.74 0.9,2.02 1.32,1.16 -1.51,4.32 -2.25,4.43 1.62,-2.59 -0.02,-2.12 -0.66,-3.71 1.06,0.17 -0.7,-0.53 0.22,-0.82 -1.12,-0.18 2.34,-2.82 0.01,-1.31 -1.19,0.08 -0.93,0.86 -0.68,2.93 -1.98,-2.35 1.7,2.29 -1.13,-0.09 -2.04,0.95 0.34,-3.01 -1.33,-0.26 1.01,0.12 4.53,3.02 1.45,1.58 -0.68,-0.81 3.05,3 0.07,1.22 2.49,1.99 0.13,0.79 -1.37,0.35 2.31,1.44 3.97,0.8 4.64,4.16 -1.47,-3.21 -0.73,-1.15 -1.05,-1.15 -0.61,0.62 -1.78,0.54 -2.16,0.44 0.48,0.52 2.54,0.87 2.11,0.85 2.07,-0.15 -1.61,1.89 -1.63,1.17 -2.95,-1.31 2.28,1.44 -1.22,0.87 1.2,0.56 2.95,0.18 0.85,1.03 -3.03,-0.38 -2.37,2.59 -5.29,2.47 -1.86,1.13 -1.92,2.25 -3.66,3.11 -2.2,1.15 -1.84,0.89 -2.24,1.35 -0.94,1.12 -1.34,1.62 -1.66,2.36 -0.67,0.46 -0.34,3.97 0.86,5.96 1.3,1.56 1.85,5.71 0.94,2.06 -0.69,0.74 2.79,4.86 1.56,7.37 0.64,2.75 -3.75,2.38 -2.46,1.67 -1.2,-0.96 -3.12,-3.38 -2.47,-3.59 -0.87,0.38 -0.31,-1.65 -1.14,-0.72 -1.58,-0.99 -0.03,-3.68 -0.91,-2.8 -1.33,1.64 1.35,-4.09 -1.62,-4.2 -1.3,-3.9 -4.43,-0.17 -5.84,-1.39 -1,-1.43 -0.58,-0.62 -3.17,-1.53 2.66,-0.46 -3.13,0.42 -1.44,-0.27 -0.33,-0.07 -1.32,0.56 -1.31,0.44 -1.8,1.72 -0.82,-2.43 -2.08,-0.11 -2.05,0.26 -4.43,0.11 -5.98,0.62 1.83,0.12 1.44,0.49 2.23,0.54 1.48,0.19 -1.78,1.62 1.17,1.98 0.42,2.21 -1.79,-1.1 -2.75,-0.55 0.67,1.59 -3.11,0.78 -3.19,-0.15 -1.68,-1.66 -4.03,1.09 -5.44,-1.14 0.53,-0.41 -2.14,1.69 -1.44,-0.17 0.3,1.13 -4.08,2.03 -1.94,1.22 -0.53,-0.07 -2.13,-1.1 -1,0.52 -2.02,1.83 -3.54,2.46 -3.8,2.22 -1.35,-0.93 -0.48,0.94 -1.72,0.68 -1.48,0.86 -0.03,0.86 -1.96,1.41 2.07,1.13 -2.37,1.66 0.19,1.61 -1.17,1.85 2.48,5.04 -1.08,3.42 -4.63,0.08 -4.65,-5.18 -7.45,-7.69 -1.23,-3.51 -6.12,-3.84 -7.55,-0.56 -3.97,-0.74 -4.02,-5.1 -7.47,-6.6 -2.22,-2.17 -5.82,-1.46 -7.53,0.12 -3.92,0.02 -7.79,0.07 -11.46,-1.56 -4.73,-1.54 -6.98,-3.2 -12.12,-1.91 -1.1,-3.53 -5.01,-4.7 -8.26,-5.41 -1.69,-0.62 -1.71,-3.37 -3.9,-4.43 -1.73,-0.97 0.03,-2.81 -2.33,-3.35 -1.29,-2.34 0.66,-0.68 0.52,-1.17 0.25,-2.59 -2,0.3 -2.1,-1.48 0.73,0.67 -0.18,-0.45 -0.31,-0.41 z M 104.4,80.81 c 0.33,1.25 2.04,0.65 1.2,-0.13 -0.11,-0.61 -0.94,-0.94 -1.29,-1.14 -0.46,-0.02 2.06,0.19 -0.19,-1.1 -0.89,-0.84 -3.75,-1.73 -2.38,-0.68 -2.16,0.77 1.6,-0.15 0.42,1.52 1.05,-0.32 1.26,0.87 0.18,0.86 0.69,0.15 1.7,0.05 2.06,0.68 z m 0.1,-3.67 c -2.34,0.7 2.58,1.37 -0.2,0.35 l 0.21,-0.12 z m -3.29,-0.28 c 2.41,-0.24 -0.19,-1.07 1.79,-0.84 -2.17,-1.81 -3.48,-1.06 -1.79,0.84 z m -7.89,-4.1 c 1.12,1.18 2.64,1.85 1.61,0.35 1.83,1.35 4.07,0.41 1.03,-0.14 -1.4,-0.69 2.07,0.54 1.38,-0.34 -1.51,-0.94 -1.71,0.28 -2.26,-0.83 -2,-0.35 -1.08,1.03 -1.29,0.8 -0.66,-0.5 -1.34,-0.24 -0.47,0.15 z m 6.37,5.31 c -0.01,-0.77 1.79,-2.12 0.45,-1.96 -1.55,-1.36 -0.65,0.17 -0.73,1.05 0.26,-0.11 -0.42,0.78 0.28,0.91 z m -2.69,-1.66 c 0.4,-1.03 1.59,2.83 1.3,-0.2 -0.84,-2.96 -3.62,-2.69 -1.9,-0.7 -0.6,0.36 1.04,0.37 0.6,0.89 z M 0.07,57.92 c -0.4,-1.9 5.96,0.26 2.01,-0.03 -1.59,0.66 -0.57,0.63 -2.01,0.03 z M 20.67,80.91 c -1.34,-0.5 -1.14,0.58 -1.77,0.11 1.22,-0.83 4.87,-3.75 6.46,-2.6 0.35,0.4 2.71,0.41 1.19,-0.48 2.49,-2.14 5.1,-1.84 7.04,-4.16 2.94,1.25 -1.15,-2.12 2.2,-1.81 -3.58,-0.13 3.7,-4.04 -0.4,-1.86 -1.86,1.57 -4.72,-0.66 -2.12,-0.48 -2.6,-1.73 -1.27,3.51 -3.8,0.64 -1.82,-0.72 -4.13,-0.54 -6.71,0.48 -0.61,-0.02 1.89,-1.72 -0.33,-1.64 1.49,-1.38 -2.1,-3.72 -0.13,-4.18 -1.65,0.26 -0.43,2.97 -3.37,2.31 -2.26,0.51 -4.6,-1.57 -5.32,-2.26 0.81,-1.41 2.91,0.03 2.49,0.1 0.64,-0.75 3.62,0.47 1.28,-0.66 1.91,-0.57 -5.18,0.24 -3.21,-0.77 -1.12,-1.18 -0.77,0.65 -2.64,-0.74 1.02,-0.52 -2.33,-0.86 0.32,-0.9 -0.94,-0.56 2.18,-3.04 3.26,-2.16 -1.33,-0.27 1.28,-1.29 -0.53,-0.44 -0.88,-1.58 1.84,-0.74 0.88,-1.63 2.88,-0.58 1.38,1.17 3.97,0.24 1.37,-1.94 7.74,0.22 5.33,-3.41 -2.71,-0.4 2.89,-0.61 0.23,-1.59 -0.7,0.36 -2.98,0.31 -4.67,1.54 -0.62,-0.83 -2.2,-1.05 -0.89,-0.26 -2.9,-1.25 -7.61,1.13 -9.42,-1.3 -3.9,-1.57 3.76,-0.3 -0.4,-1.33 -2.08,0.34 -5.88,-1.45 -2.97,-0.96 1.88,-0.94 3.67,-1.4 5.92,-1.25 -2.66,-0.56 6.5,-2.5 4.29,-0.4 0.32,0.68 5.32,1.26 6.89,0.05 3.27,0.23 -1.44,-0.02 -1.57,-0.95 -3.08,-1.31 0.04,-0.48 1.12,0.3 1.36,0.43 6.18,0.27 2.37,-0.36 -0.73,0.47 -4.09,0.17 -2.23,-0.92 -2.45,-1.03 -4.35,0.94 -7.06,-1.7 -1.65,-1.27 -6.85,-1.73 -6.54,-2.33 2,-2.26 7.61,-1.14 9.13,-2.59 2.26,-3.26 5.43,-2.28 8.87,-3.57 -0.37,1.11 0.32,0.47 1.97,0.2 -3.35,0.42 -1.08,-1.3 -0.36,-0.75 4.21,1.35 7.14,-3.3 10.49,-0.78 -3.14,1.51 0.55,-0.02 1.71,-0.13 1.84,0.3 0.02,1.06 2.4,0.87 2.04,-1.23 7.42,0.57 4.26,0.68 2.93,0.38 5.81,0.31 9.47,0.19 3.54,0.82 7.19,0.78 10.75,1.26 3.13,0.64 5.69,-1.02 8.99,0.57 5.49,-0.45 2.11,5.94 3.07,9.47 0.65,5.66 -0.39,11.42 0.14,17.05 1.93,1.51 5.09,-0.95 5.87,1.33 2.45,1.47 5.47,4.28 7.14,0.99 3.25,-1.67 4.58,2.07 7.43,2.95 2.73,2.04 3.75,5.53 7.2,5.96 2.91,-0.05 4.17,3.88 1.06,4.73 -0.43,-0.14 -1.2,-0.77 0.58,-1.57 -1,1.16 -2.73,-0.19 -0.38,0.05 -1.54,-0.37 -0.74,-3.32 -2.81,-1.78 0.23,-0.76 -2.33,2.61 -1.14,-0.16 0.25,-1.29 2,-0.1 -0.16,-1 0.54,1.59 -2.17,-1.07 -0.19,-0.1 -1.39,-1.21 -1.71,-1.91 -3.82,-2.35 1.92,-0.47 -0.2,-0.37 -0.38,-1.4 2.86,1.19 -1.63,-1.11 1.31,-0.45 -2.03,-0.04 -1.48,-0.27 -2.63,-1.03 2.12,-1.23 -2.64,0.72 -2.56,-1.52 -1.39,-3.25 -1.37,-0.67 -0.21,1.37 -0.78,-0.06 -3.5,-0.43 -1.91,-1.68 -1.16,0.41 -3.82,-0.64 -3.15,0.07 1.24,0.19 3.5,1.5 1.06,1.36 -0.35,0.97 -4.8,-1.66 -5.23,-2.26 -1.97,0.64 -4.62,-2.08 -2.4,-1.81 -0.08,0.76 2.12,-0.31 -0.26,-0.45 -2.5,1.73 -4.67,-0.19 -6.26,0.02 -2.92,-0.98 -7.63,1.05 -8.66,-1.54 1.63,-1.19 -3.96,1.85 -2.33,-0.39 -1.99,0.22 -0.65,-0.38 -2.67,-0.13 3.29,-0.61 -2.25,-0.23 0.86,-1.07 -1.41,0.17 -3.88,0.35 -3.56,0.28 -0.9,1.2 -1.15,-0.87 -0.97,-0.57 -0.84,0.92 -2.12,-0.02 -0.89,0.61 -3.1,0.9 1.81,0.48 -1.22,1.4 3.19,-1.11 0.67,0.89 1.28,0.62 -0.36,1.79 -3.91,0.06 -3.91,1.21 -0.34,-0.05 -2.06,1.11 -2.04,0.69 -1.52,0.4 -2.66,1.72 -4.47,0.64 1.73,-0.82 3.58,-1.19 0.78,-0.91 -1.15,-0.94 2.13,-1.74 0.78,-2.95 1.59,-1.26 6.46,-0.37 6.08,-0.55 -2.11,0 -3.05,-1.57 -0.34,-1.59 -2.86,0.34 -5.31,0.77 -7.89,2.48 -0.42,2.05 -3.85,-0.08 -1.12,1.68 -1.77,0.87 -1.55,0.52 -3.27,1.61 -2.15,0.5 -0.73,0.95 1.12,1.69 -3.04,0.92 -1.89,2.07 -4.37,2.23 -2.09,1.25 -4.42,1.37 -4.9,2.88 -2.63,0.77 -2.93,1.18 -5.09,1.68 -0.74,0.59 1.6,0.19 0.03,1.2 0.26,-0.8 -2.29,0.3 -2.85,0.95 -0.77,-0.7 -2.72,0.37 -4.25,0.69 -2.45,0.36 1.11,-0.77 -1.44,-0.56 -0.68,2 -2.34,1.34 -2.73,1.35 0.35,0.11 0.1,0.54 -0.14,0.36 z m 26.99,-8.45 c 1.93,-0.85 3.42,-0.67 0.41,-1.24 -0.19,0.63 -2.14,0.53 -0.41,1.24 z m -2.98,3.04 c -0.67,1.22 1.57,-0.57 1.01,-0.48 1.9,-0.39 0.78,-0.73 2.64,-0.74 -2.75,-0.74 2.92,0.27 0.56,-1.22 -0.86,-0.19 -2.3,-0.51 -2.04,-0.25 -1.04,0.87 -2.82,-0.49 -1.47,0.92 -0.85,0.3 0.26,0.88 -1.18,-0.24 -3.45,-0.69 0.16,2.92 -0.51,1.47 -1.1,0.14 2.13,-0.32 0.99,0.54 z M 8.31,66.85 c 1.35,0.96 6.08,0.52 3.05,-1.04 -0.44,0.04 -5.38,0.22 -3.05,1.04 z m 17.8,12.93 c -1.12,1.49 1.56,0.1 0,0 z m 36.12,-12.93 c -0.52,1.89 3.71,-2.69 0.58,-0.16 z M 14.45,82.02 c 0.46,1.06 5.29,-0.53 4.55,-0.44 -0.89,-1.32 -3.62,-0.52 -4.55,0.44 z m -7.91,3.79 c 2.65,-0.21 5.15,-1.86 2.83,-2.13 -2.47,0.5 1.02,0.87 -1.38,1.1 1.05,0.67 -3.21,0.78 -1.44,1.03 z M 106.8,80.01 c 0.83,-0.58 0.7,-0.69 0.73,0.13 0.87,0.7 2,-1.92 -0.5,-1.82 0.13,0.39 -0.84,0.05 -0.23,1.69 z m -8.44,-6.19 c 1.08,-0.61 -0.74,2.49 1.17,0.71 1.96,0.03 -1.92,-3.63 0.88,-0.96 -0.99,-2.16 -4.33,-3.14 -2.05,0.25 z m 881.51,16.69 c -0.15,-1.56 3.37,-0.74 0,0 z m 16.68,-33.32 c -2,1.09 -3.57,-1.54 -0.74,-0.51 1.3,-0.8 4.62,0.32 2.98,0.96 -0.08,-0.58 -3.3,-0.68 -2.25,-0.45 z m -10,31.78 c -3.35,0.61 -0.63,0.14 1.28,0.03 0.08,-1.38 -0.06,-0.71 -1.28,-0.03 z m -8.59,1.35 c 2.07,-0.17 2.04,-1.3 0,0 z m -0.77,0.17 c 2.08,-1.56 -1.65,-0.91 0,0 z m -25.36,-3.25 c 3.52,-0.32 -2.58,-1.27 -0.45,-0.18 l 0.19,0.1 z M 40.21,182.25 c 3.59,-0.27 1.71,-4.09 -0.35,-3.14 -0.51,0.81 -0.55,2.33 0.35,3.14 z m -1.97,-4.52 c 3.2,-0.59 -2.98,-2.16 0,0 z M 227.78,102.47 c 1.48,-2.16 -4.13,2.08 0,0 z m 40.46,18.76 c -2.1,0.97 -1.64,-1 1.1,-0.77 1.53,-0.1 2.19,-1.01 1.41,0.06 4.61,-1.37 -1.64,1.1 -2.51,0.71 z",KZ:"m 635.48,106.92 c 0.85,0.58 0.85,1.1 1.4,0.98 -0.06,1.45 -2.75,-0.73 -1.37,-0.98 m -34.27,-8.19 c 1.87,-1.3 -0.29,-2.91 1.88,-4.33 0.77,-2.08 4.91,3.38 3.99,-0.56 -0.22,-1.67 5.03,-2.02 5.66,-3.84 2.5,1.26 3.81,-0.22 6.2,0.77 2.81,-0.79 4.79,4.77 4.62,1.32 2.54,2.56 4.49,-0.52 7.02,-0.04 1.56,0.8 3.36,-1.01 4.84,0.91 2.25,1.26 2.97,-1.12 5.37,0.13 4.15,-1.28 0.43,-2.62 -1.75,-3.35 -2.3,-0.64 4.55,-0.85 1.32,-2.37 0.62,-1.47 6.13,-0.31 2.29,-1.49 -2.87,-0.18 1.71,-1.17 -1.18,-0.99 -1.25,-1.99 3.47,-0.56 5.06,-1.45 2.11,-0.76 5.14,-0.05 6.85,-1.43 3.21,-0.32 6.7,-0.54 9,-1.89 1.36,-0.49 4.81,-0.11 6.37,0.69 0.83,1.68 -0.1,3.23 2.83,2.23 0.89,-0.92 1.32,1.48 1.88,0.55 -0.43,-0.19 5.25,-0.11 1.72,1.04 2.26,1.53 5.58,-1.12 8.38,-1.86 2.56,-0.65 0.87,0.29 0.7,0.89 3.19,1.36 5.73,3.73 7.7,6.55 0.84,2.51 2.64,3.17 3.86,1.09 1.75,1.5 4.49,2.17 7.47,0.82 2.83,1.04 4.28,4.83 7.79,4.13 1.77,-1.65 1.23,0.86 3.1,1.28 -2.05,-0.27 -2.18,2.4 -4.57,2.28 0.3,1.93 -0.29,4.78 -2.86,3.6 -2.35,0.22 -5.16,-1.75 -5.54,1.95 -1.78,1.45 -0.09,2.31 -0.4,3.3 -2.16,-0.69 -5.75,-0.33 -7.13,0.85 2.3,-0.22 0.81,3.12 2.35,4.62 -1.09,0.68 -1.69,0.94 -1.55,2.8 -3.23,-2.28 -7.38,-2.07 -11.24,-2.07 -2.43,1.3 -7.39,-3.12 -7.37,1.39 -2.92,-1.13 -6.59,-1.72 -8.04,1.07 -1.93,0.67 -5.37,1.79 -5.58,4.09 -1.83,-0.48 -1.91,-2.53 -4.49,-1.42 -1.63,-0.37 -1,-2.74 -2.74,-3.09 1.03,-2.29 -1.64,-3.09 -3.39,-4.11 -2.22,0.8 -4.63,-0.29 -6.91,0.43 -2.26,-0.9 -5.8,-3.2 -5.06,-5.65 -2.74,-0.28 -1.35,-0.29 -0.6,-0.7 -0.37,-0.54 0.4,-0.87 -1.21,-0.94 -0.69,-2.11 -0.39,2.46 -1.53,0.68 -1.61,-0.35 -2.77,1.73 -5.65,1.57 -5.86,-0.35 -2.77,6.16 -3.42,9.74 -0.79,4.85 -4.39,-3.89 -7.64,-1 -1.94,1.39 -3.02,1.34 -1.61,-1.03 0.38,-0.93 -3.8,-0.84 -3.84,-2.55 -0.49,-1.71 -5.18,-3.45 -1.17,-3.16 2.17,0.77 1.7,0.06 0.4,-0.86 0.58,-2.69 6.52,-0.37 5.37,-1.44 -0.75,-0.8 1.98,-4.85 -1.49,-4.23 -2.7,-0.43 -5.14,-0.39 -7.64,1.08 -0.69,-0.24 -2.03,1.33 -3.14,-0.52 3.21,0.38 -1.77,-4.38 -3.24,-2.86 -0.39,0.14 -1.02,-0.86 -0.39,-0.93 -0.16,-0.54 -0.54,-0.79 -1.12,-0.79 -0.49,-0.05 -0.8,-0.43 -0.51,-0.89 z",SZ:"m 557.32,310.75 c 1.26,2.66 4.82,1.23 3.68,-1.1 -1.1,-2.6 -3.34,-0.91 -3.68,1.1 z",UZ:"m 634.94,107.63 c 2.49,0.38 1.12,2.32 0.89,2.72 -1.58,0.97 -0.69,-0.89 -0.98,-0.64 1.01,-1.7 -0.67,0.41 0.09,-2.08 z m -7.78,1.44 c 1.67,-0.03 7.15,-2.58 6.73,-0.72 -1.66,2.59 1.05,2.25 2.03,3.18 0.97,0.87 3.67,-0.43 4.43,-1.27 2.09,2.38 4.37,3.47 7.5,2.72 2.67,0.25 5.12,-0.95 6.82,1.84 1.29,-0.11 -0.59,3.17 1.78,2.97 -0.51,3.95 4.61,0.47 4.78,3.45 1.45,-0.04 2.7,-3.27 5.3,-3.4 1.18,-1.19 4.61,-1.27 1.45,-0.08 -3.27,0.81 2.64,3.36 2.68,0.97 0.4,2 6,1.64 2.49,2.82 -1.22,0.94 -3.79,1.37 -6.13,0.45 2.54,-1.53 -0.46,-1.91 -1.88,-0.75 -1.91,-1.12 -0.27,2.46 -2.47,1.25 0.35,-0.03 0.17,2.48 -2.73,1.7 -3.17,1.35 2.25,1.41 0.93,3.28 1.64,1.79 -1.59,4.69 -3.64,3.06 -1.43,-0.27 0.25,-2.77 -2.4,-2.43 -3.38,-1.17 -7.08,-2.94 -9.81,-5.29 -0.68,-3.64 -3.37,-3.1 -6.13,-3.51 0.41,-2.53 -2.07,-2.53 -3.94,-3.75 -2.78,-0.67 0.42,1.77 -1.96,0.57 -0.85,1.13 -3.88,1.11 -2.72,3.36 -5.77,1.58 -1.93,-7.55 -3.09,-10.4 z",MN:"m 715.47,97.3 c 2.21,-1.36 4.58,-0.74 6.08,-2.4 2.56,-0.79 5.4,-2.44 7.78,-2.08 1.76,0.76 4.35,0.26 5.77,2.15 3.17,-0.53 7.33,2.18 9.44,-1.13 -2.94,-2.15 1.68,-5.81 3.83,-4.23 2.9,1.17 7.1,0.22 7.76,3.94 3.36,2.26 6.88,-0.66 10.43,0.34 3.49,0.12 5.14,3.12 8.55,3.04 3.6,0.7 7.68,-0.1 10.9,-1.49 3.04,-2.41 6.37,0.05 9.52,0 -1.05,1.66 -1.83,3.52 -3.06,5.03 1.09,1.42 4.03,0.25 5.64,0.57 2.34,-2.62 9.85,4.62 3.86,3.15 -3.45,-0.03 -6.71,0.89 -8.92,3.33 -3.61,-0.16 -6.31,3.89 -9.99,1.24 -2.64,0.18 -2.1,2.81 -0.75,3.9 -3.19,1.47 -5.91,4.43 -9.81,3.6 -3.87,-0.76 -7.6,2.86 -11.05,1.72 -3.6,0.51 -6.48,-2.04 -9.86,-2.18 -3.79,0.03 -7.61,-0.37 -11.42,-0.41 -2.84,-0.96 -3.18,-5.25 -6.83,-5.27 -2.75,-2.39 -8.44,0.46 -9.88,-3.04 2.35,-1.88 -0.41,-6.01 -2.61,-6.12 -1.91,-0.46 -5.47,-1.59 -5.22,-3.38 z",BT:"m 718.13,159.29 c 1.2,-1.82 3.41,-4.27 5.2,-2.5 2.47,-0.34 3.75,1.18 3.95,3.26 -3.04,-0.14 -6.66,1.35 -9.15,-0.76 z",NC:"m 927.62,293.83 c 1.71,1.96 4.72,3.95 6.28,4.45 3.03,0.03 -2.85,-2.47 -3.41,-3.67 -1.14,-0.87 -5.55,-4.18 -2.87,-0.78 z",FJ:"m 971.09,281.12 c -2.23,-0.19 -6.1,3.14 -2.02,1.59 1.31,0.61 2.75,-1.28 0.65,-0.15 0.53,-0.42 0.79,-1.08 1.36,-1.45 z m -5.31,8.4 c 2.08,-0.7 -0.46,-0.63 0,0 z m -1.54,-2.83 c 2.75,1.62 4.33,-1.95 1.39,-2.17 -1.03,-0.23 -3.15,1.74 -1.39,2.17 z",KW:"m 601,153.77 c 0.56,-1.79 3.68,-4.46 4.28,-1.29 -2.6,-0.55 3.37,3.63 -0.75,2.94 -1.1,-0.89 -1.42,-2.21 -3.53,-1.65 z",TL:"m 815.54,262.09 c 2.29,-1.66 1.58,1.43 0.01,-0.01 m 3.21,-0.55 c 0.81,0.53 5.95,-1.08 5.79,-2.43 -1.86,0.72 -6.82,-0.29 -5.79,2.43 z",BS:"m 267.62,176.8 c 0.17,-1.42 3.32,-0.79 0.79,-0.07 z m -8.13,-12.64 c -0.72,-1.44 2.35,2.69 1.06,1.5 0.67,-0.84 -0.6,-1.2 -1.06,-1.5 z m -1.78,-1.31 c -0.33,-0.79 0.35,-3.18 -2.04,-2.86 1.85,-0.39 2.76,1.35 2.04,2.86 z m -1.2,6.06 c 0.21,0.35 -1.09,-1.92 -0.14,-1.27 -0.3,0.42 1.04,-0.31 0.43,1.01 z m -1.5,-4.16 c 3.19,1.57 -1.35,3.32 -0.11,1.1 0.29,-0.29 0.18,-0.76 0.11,-1.1 z",VU:"m 938.23,281.65 c 1.61,-0.58 -1.85,-0.74 0,0 z m -1.79,0.66 c 2.46,-0.54 -2.57,-3.16 -0.26,-0.67 l 0.07,0.35 z m -1.18,-4.14 c -0.37,-0.81 -1.02,0.61 -1.56,-1.17 -0.6,1.6 1.95,4.29 1.56,1.17 z",FK:"m 371.78,390.14 c 1.36,-0.97 -1.93,-2.38 -3.9,-2.41 -3.05,-0.14 0.58,0.28 0.74,0.68 1.16,0.24 2.29,0.94 3.16,1.73 z m -65.58,-7.9 c 1.78,1.15 1.13,-0.67 2.93,-0.17 -1.32,-0.96 3.77,-0.56 2.02,-1.48 0.92,-0.53 -1.79,-0.21 -0.97,0.15 -0.75,-1.74 -2.42,0.03 -2.42,0.37 -0.86,-0.02 -0.93,1.02 -1.56,1.13 z m -1.55,-2.08 c 0.91,0.01 0.35,-0.34 0,0 z m 0.78,0.07 c -1.32,0.17 -2.19,-0.12 -0.23,0.83 -3,-0.14 0.37,0.45 -0.87,0.2 -0.08,1.01 -2.44,0.7 -0.81,1.17 1.24,-0.02 6.78,-3.02 1.91,-2.2 z",GM:"m 425.26,198.03 c 0.71,0.78 4.95,-0.82 1.67,-0.13 -2.57,-0.56 2.45,-0.38 3.36,-1.13 0.97,0.82 5.3,1.12 1.67,1.51 -2.03,-2.19 -5.77,2.16 -6.69,-0.26 z",QA:"m 612.64,164.51 c -0.22,-1.8 2.78,-3.37 2.25,0.05 0.69,2.01 -2.87,3.02 -2.25,-0.05 z",JM:"m 254.5,184.26 c 1.77,-2.44 8.32,1.83 4.21,0.87 -1.02,1.21 -2.73,-0.09 -4.21,-0.87 z",CY:"m 561.46,137.2 c 1.04,-0.9 5.64,-1.47 5.97,-1.65 -1.79,1.36 -1.58,1.89 -3.94,2.84 -0.7,-0.33 -1.76,-0.28 -2.03,-1.19 z",PR:"m 288.97,185.11 c -1.94,1.26 -5.5,-1.35 -2.16,-1.59 0.95,0.19 4.71,0.05 2.16,1.59 z",PS:"m 568.89,145.08 c 2.09,-3.37 1.99,4.04 -0.09,1.92 1.69,-1.65 -0.49,0.09 0.09,-1.92 z",BN:"m 788.31,222.72 c 1.27,-0.22 3.44,-2.27 1.95,0.11 0.51,2.62 -1.33,0.75 -1.95,-0.11 z",TT:"m 300.22,207.39 c 2.05,-0.48 0.12,-3.15 2.58,-1.96 0.31,2.2 -0.78,1.84 -2.58,1.96 z",PF:"m 57.69,285.59 c 1.46,0.8 -1.48,-1.8 -0.45,-0.06 z",WS:"m 991.64,273.63 c -1.72,1.32 3.38,0.32 0,0 z",LU:"m 487.81,95.39 c 0.65,-2.6 3.8,2.42 0.17,0.89 0.5,-0.17 -0.04,-0.74 -0.17,-0.89 z",KM:"m 592.41,269.2 c 0.31,-2.77 -1.68,-1.13 0,0 z",FO:"m 452.8,60.76 c -2.56,-1.32 1.36,1.68 0,0 0.91,0.61 0.44,-0.7 -0.34,-0.19 z",SS:"m 566.64,207.99 c -0.19,2.08 0.23,4.73 -2.7,4.14 -1.45,2.41 2.99,1.96 3.64,4.3 1.51,1.46 1.41,4.35 3.61,4.48 1.29,3.62 -5.24,-0.17 -6.05,3.95 -2.72,0.1 -4.39,0.87 -6.86,0.14 -1.77,2.62 -3.4,-4.33 -5.5,-1.69 -2.28,0.44 -5.15,-0.75 -5.45,-3.69 -2.8,-1.08 -2.37,-4.15 -5.49,-5.07 0.86,-2.33 -4.24,-1.45 -2.5,-3.64 1.26,-1.32 1.02,-3.42 2.14,-5.03 3.11,-1.81 2.65,4.17 5.98,2.03 1.8,0.07 3.66,2.2 4.99,-0.26 1.68,-0.25 2.29,-3.22 4.19,-0.41 2.39,0.9 4.63,-3.17 4.68,-5.07 -0.07,-1.62 -1.35,-1.85 0.96,-1.89 0.29,-1.86 2.27,-0.18 1.05,1.26 -0.23,2.66 2.99,4.66 2.5,6.51 l 0.51,0.04 z"}}}}),e}),function(t,e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(["jquery","googlemaps!"],e):t.GMaps=e()}(this,function(){var t,i,n=function(t,e){var i;if(t===e)return t;for(i in e)void 0!==e[i]&&(t[i]=e[i]);return t},r=function(t,e){var i,n=Array.prototype.slice.call(arguments,2),r=[],o=t.length;if(Array.prototype.map&&t.map===Array.prototype.map)r=Array.prototype.map.call(t,function(t){var i=n.slice(0);return i.splice(0,0,t),e.apply(this,i)});else for(i=0;o>i;i++)callback_params=n,callback_params.splice(0,0,t[i]),r.push(e.apply(this,callback_params));return r},o=function(t){var e,i=[];for(e=0;e<t.length;e++)i=i.concat(t[e]);return i},a=function(t,e){var i=t[0],n=t[1];return e&&(i=t[1],n=t[0]),new google.maps.LatLng(i,n)},s=function(t,e){var i;for(i=0;i<t.length;i++)t[i]instanceof google.maps.LatLng||(t[i].length>0&&"object"==typeof t[i][0]?t[i]=s(t[i],e):t[i]=a(t[i],e));return t},l=function(t,e){t=t.replace("#","");return"jQuery"in window&&e?$("#"+t,e)[0]:document.getElementById(t)},c=function(t){var e=document,i=function(t){if("object"!=typeof window.google||!window.google.maps)return"object"==typeof window.console&&window.console.error&&console.error("Google Maps API is required. Please register the following JavaScript library https://maps.googleapis.com/maps/api/js."),function(){};if(!this)return new i(t);t.zoom=t.zoom||15,t.mapType=t.mapType||"roadmap";var r,o=function(t,e){return void 0===t?e:t},a=this,s=["bounds_changed","center_changed","click","dblclick","drag","dragend","dragstart","idle","maptypeid_changed","projection_changed","resize","tilesloaded","zoom_changed"],c=["mousemove","mouseout","mouseover"],u=["el","lat","lng","mapType","width","height","markerClusterer","enableNewStyle"],h=t.el||t.div,d=t.markerClusterer,f=google.maps.MapTypeId[t.mapType.toUpperCase()],p=new google.maps.LatLng(t.lat,t.lng),g=o(t.zoomControl,!0),m=t.zoomControlOpt||{style:"DEFAULT",position:"TOP_LEFT"},v=m.style||"DEFAULT",y=m.position||"TOP_LEFT",b=o(t.panControl,!0),L=o(t.mapTypeControl,!0),x=o(t.scaleControl,!0),w=o(t.streetViewControl,!0),_=o(_,!0),S={},C={zoom:this.zoom,center:p,mapTypeId:f},k={panControl:b,zoomControl:g,zoomControlOptions:{style:google.maps.ZoomControlStyle[v],position:google.maps.ControlPosition[y]},mapTypeControl:L,scaleControl:x,streetViewControl:w,overviewMapControl:_};if("string"==typeof t.el||"string"==typeof t.div?h.indexOf("#")>-1?this.el=l(h,t.context):this.el=function(t,e){var i=t.replace(".","");return"jQuery"in this&&e?$("."+i,e)[0]:document.getElementsByClassName(i)[0]}.apply(this,[h,t.context]):this.el=h,void 0===this.el||null===this.el)throw"No element defined.";for(window.context_menu=window.context_menu||{},window.context_menu[a.el.id]={},this.controls=[],this.overlays=[],this.layers=[],this.singleLayers={},this.markers=[],this.polylines=[],this.routes=[],this.polygons=[],this.infoWindow=null,this.overlay_el=null,this.zoom=t.zoom,this.registered_events={},this.el.style.width=t.width||this.el.scrollWidth||this.el.offsetWidth,this.el.style.height=t.height||this.el.scrollHeight||this.el.offsetHeight,google.maps.visualRefresh=t.enableNewStyle,r=0;r<u.length;r++)delete t[u[r]];for(1!=t.disableDefaultUI&&(C=n(C,k)),S=n(C,t),r=0;r<s.length;r++)delete S[s[r]];for(r=0;r<c.length;r++)delete S[c[r]];this.map=new google.maps.Map(this.el,S),d&&(this.markerClusterer=d.apply(this,[this.map]));var T=function(t,e){var i="",n=window.context_menu[a.el.id][t];for(var r in n)if(n.hasOwnProperty(r)){var o=n[r];i+='<li><a id="'+t+"_"+r+'" href="#">'+o.title+"</a></li>"}if(l("gmaps_context_menu")){var s=l("gmaps_context_menu");s.innerHTML=i;var c=s.getElementsByTagName("a"),u=c.length;for(r=0;u>r;r++){var h=c[r];google.maps.event.clearListeners(h,"click"),google.maps.event.addDomListenerOnce(h,"click",function(i){i.preventDefault(),n[this.id.replace(t+"_","")].action.apply(a,[e]),a.hideContextMenu()},!1)}var d=function(t){var e=0,i=0;if(t.offsetParent)do{e+=t.offsetLeft,i+=t.offsetTop}while(t=t.offsetParent);return[e,i]}.apply(this,[a.el]),f=d[0]+e.pixel.x-15,p=d[1]+e.pixel.y-15;s.style.left=f+"px",s.style.top=p+"px"}};this.buildContextMenu=function(t,e){if("marker"===t){e.pixel={};var i=new google.maps.OverlayView;i.setMap(a.map),i.draw=function(){var n=i.getProjection(),r=e.marker.getPosition();e.pixel=n.fromLatLngToContainerPixel(r),T(t,e)}}else T(t,e);var n=l("gmaps_context_menu");setTimeout(function(){n.style.display="block"},0)},this.setContextMenu=function(t){window.context_menu[a.el.id][t.control]={};var i,n=e.createElement("ul");for(i in t.options)if(t.options.hasOwnProperty(i)){var r=t.options[i];window.context_menu[a.el.id][t.control][r.name]={title:r.title,action:r.action}}n.id="gmaps_context_menu",n.style.display="none",n.style.position="absolute",n.style.minWidth="100px",n.style.background="white",n.style.listStyle="none",n.style.padding="8px",n.style.boxShadow="2px 2px 6px #ccc",l("gmaps_context_menu")||e.body.appendChild(n);var o=l("gmaps_context_menu");google.maps.event.addDomListener(o,"mouseout",function(t){t.relatedTarget&&this.contains(t.relatedTarget)||window.setTimeout(function(){o.style.display="none"},400)},!1)},this.hideContextMenu=function(){var t=l("gmaps_context_menu");t&&(t.style.display="none")};var E=function(e,i){google.maps.event.addListener(e,i,function(e){null==e&&(e=this),t[i].apply(this,[e]),a.hideContextMenu()})};google.maps.event.addListener(this.map,"zoom_changed",this.hideContextMenu);for(var A=0;A<s.length;A++){(M=s[A])in t&&E(this.map,M)}for(A=0;A<c.length;A++){var M;(M=c[A])in t&&E(this.map,M)}google.maps.event.addListener(this.map,"rightclick",function(e){t.rightclick&&t.rightclick.apply(this,[e]),null!=window.context_menu[a.el.id].map&&a.buildContextMenu("map",e)}),this.refresh=function(){google.maps.event.trigger(this.map,"resize")},this.fitZoom=function(){var t,e=[],i=this.markers.length;for(t=0;i>t;t++)"boolean"==typeof this.markers[t].visible&&this.markers[t].visible&&e.push(this.markers[t].getPosition());this.fitLatLngBounds(e)},this.fitLatLngBounds=function(t){var e,i=t.length,n=new google.maps.LatLngBounds;for(e=0;i>e;e++)n.extend(t[e]);this.map.fitBounds(n)},this.setCenter=function(t,e,i){this.map.panTo(new google.maps.LatLng(t,e)),i&&i()},this.getElement=function(){return this.el},this.zoomIn=function(t){t=t||1,this.zoom=this.map.getZoom()+t,this.map.setZoom(this.zoom)},this.zoomOut=function(t){t=t||1,this.zoom=this.map.getZoom()-t,this.map.setZoom(this.zoom)};var D,P=[];for(D in this.map)"function"!=typeof this.map[D]||this[D]||P.push(D);for(r=0;r<P.length;r++)!function(t,e,i){t[i]=function(){return e[i].apply(e,arguments)}}(this,this.map,P[r])};return i}();return c.prototype.createControl=function(t){var e=document.createElement("div");for(var i in e.style.cursor="pointer",!0!==t.disableDefaultStyles&&(e.style.fontFamily="Roboto, Arial, sans-serif",e.style.fontSize="11px",e.style.boxShadow="rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px"),t.style)e.style[i]=t.style[i];for(var n in t.id&&(e.id=t.id),t.title&&(e.title=t.title),t.classes&&(e.className=t.classes),t.content&&("string"==typeof t.content?e.innerHTML=t.content:t.content instanceof HTMLElement&&e.appendChild(t.content)),t.position&&(e.position=google.maps.ControlPosition[t.position.toUpperCase()]),t.events)!function(e,i){google.maps.event.addDomListener(e,i,function(){t.events[i].apply(this,[this])})}(e,n);return e.index=1,e},c.prototype.addControl=function(t){var e=this.createControl(t);return this.controls.push(e),this.map.controls[e.position].push(e),e},c.prototype.removeControl=function(t){var e,i=null;for(e=0;e<this.controls.length;e++)this.controls[e]==t&&(i=this.controls[e].position,this.controls.splice(e,1));if(i)for(e=0;e<this.map.controls.length;e++){var n=this.map.controls[t.position];if(n.getAt(e)==t){n.removeAt(e);break}}return t},c.prototype.createMarker=function(t){if(null==t.lat&&null==t.lng&&null==t.position)throw"No latitude or longitude defined.";var e=this,i=t.details,r=t.fences,o=t.outside,a={position:new google.maps.LatLng(t.lat,t.lng),map:null},s=n(a,t);delete s.lat,delete s.lng,delete s.fences,delete s.outside;var l=new google.maps.Marker(s);if(l.fences=r,t.infoWindow){l.infoWindow=new google.maps.InfoWindow(t.infoWindow);for(var c=["closeclick","content_changed","domready","position_changed","zindex_changed"],u=0;u<c.length;u++)!function(e,i){t.infoWindow[i]&&google.maps.event.addListener(e,i,function(e){t.infoWindow[i].apply(this,[e])})}(l.infoWindow,c[u])}var h=["animation_changed","clickable_changed","cursor_changed","draggable_changed","flat_changed","icon_changed","position_changed","shadow_changed","shape_changed","title_changed","visible_changed","zindex_changed"],d=["dblclick","drag","dragend","dragstart","mousedown","mouseout","mouseover","mouseup"];for(u=0;u<h.length;u++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(){t[i].apply(this,[this])})}(l,h[u]);for(u=0;u<d.length;u++)!function(e,i,n){t[n]&&google.maps.event.addListener(i,n,function(i){i.pixel||(i.pixel=e.getProjection().fromLatLngToPoint(i.latLng)),t[n].apply(this,[i])})}(this.map,l,d[u]);return google.maps.event.addListener(l,"click",function(){this.details=i,t.click&&t.click.apply(this,[this]),l.infoWindow&&(e.hideInfoWindows(),l.infoWindow.open(e.map,l))}),google.maps.event.addListener(l,"rightclick",function(i){i.marker=this,t.rightclick&&t.rightclick.apply(this,[i]),null!=window.context_menu[e.el.id].marker&&e.buildContextMenu("marker",i)}),l.fences&&google.maps.event.addListener(l,"dragend",function(){e.checkMarkerGeofence(l,function(t,e){o(t,e)})}),l},c.prototype.addMarker=function(t){var e;if(t.hasOwnProperty("gm_accessors_"))e=t;else{if(!(t.hasOwnProperty("lat")&&t.hasOwnProperty("lng")||t.position))throw"No latitude or longitude defined.";e=this.createMarker(t)}return e.setMap(this.map),this.markerClusterer&&this.markerClusterer.addMarker(e),this.markers.push(e),c.fire("marker_added",e,this),e},c.prototype.addMarkers=function(t){for(var e,i=0;e=t[i];i++)this.addMarker(e);return this.markers},c.prototype.hideInfoWindows=function(){for(var t,e=0;t=this.markers[e];e++)t.infoWindow&&t.infoWindow.close()},c.prototype.removeMarker=function(t){for(var e=0;e<this.markers.length;e++)if(this.markers[e]===t){this.markers[e].setMap(null),this.markers.splice(e,1),this.markerClusterer&&this.markerClusterer.removeMarker(t),c.fire("marker_removed",t,this);break}return t},c.prototype.removeMarkers=function(t){var e=[];if(void 0===t){for(var i=0;i<this.markers.length;i++){(r=this.markers[i]).setMap(null),c.fire("marker_removed",r,this)}this.markerClusterer&&this.markerClusterer.clearMarkers&&this.markerClusterer.clearMarkers(),this.markers=e}else{for(i=0;i<t.length;i++){var n=this.markers.indexOf(t[i]);if(n>-1)(r=this.markers[n]).setMap(null),this.markerClusterer&&this.markerClusterer.removeMarker(r),c.fire("marker_removed",r,this)}for(i=0;i<this.markers.length;i++){var r;null!=(r=this.markers[i]).getMap()&&e.push(r)}this.markers=e}},c.prototype.drawOverlay=function(t){var e=new google.maps.OverlayView,i=!0;return e.setMap(this.map),null!=t.auto_show&&(i=t.auto_show),e.onAdd=function(){var i=document.createElement("div");i.style.borderStyle="none",i.style.borderWidth="0px",i.style.position="absolute",i.style.zIndex=100,i.innerHTML=t.content,e.el=i,t.layer||(t.layer="overlayLayer");var n=this.getPanes(),r=["contextmenu","DOMMouseScroll","dblclick","mousedown"];n[t.layer].appendChild(i);for(var o=0;o<r.length;o++)!function(t,e){google.maps.event.addDomListener(t,e,function(t){-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&document.all?(t.cancelBubble=!0,t.returnValue=!1):t.stopPropagation()})}(i,r[o]);t.click&&(n.overlayMouseTarget.appendChild(e.el),google.maps.event.addDomListener(e.el,"click",function(){t.click.apply(e,[e])})),google.maps.event.trigger(this,"ready")},e.draw=function(){var n=this.getProjection().fromLatLngToDivPixel(new google.maps.LatLng(t.lat,t.lng));t.horizontalOffset=t.horizontalOffset||0,t.verticalOffset=t.verticalOffset||0;var r=e.el,o=r.children[0],a=o.clientHeight,s=o.clientWidth;switch(t.verticalAlign){case"top":r.style.top=n.y-a+t.verticalOffset+"px";break;default:case"middle":r.style.top=n.y-a/2+t.verticalOffset+"px";break;case"bottom":r.style.top=n.y+t.verticalOffset+"px"}switch(t.horizontalAlign){case"left":r.style.left=n.x-s+t.horizontalOffset+"px";break;default:case"center":r.style.left=n.x-s/2+t.horizontalOffset+"px";break;case"right":r.style.left=n.x+t.horizontalOffset+"px"}r.style.display=i?"block":"none",i||t.show.apply(this,[r])},e.onRemove=function(){var i=e.el;t.remove?t.remove.apply(this,[i]):(e.el.parentNode.removeChild(e.el),e.el=null)},this.overlays.push(e),e},c.prototype.removeOverlay=function(t){for(var e=0;e<this.overlays.length;e++)if(this.overlays[e]===t){this.overlays[e].setMap(null),this.overlays.splice(e,1);break}},c.prototype.removeOverlays=function(){for(var t,e=0;t=this.overlays[e];e++)t.setMap(null);this.overlays=[]},c.prototype.drawPolyline=function(t){var e=[],i=t.path;if(i.length)if(void 0===i[0][0])e=i;else for(var n,r=0;n=i[r];r++)e.push(new google.maps.LatLng(n[0],n[1]));var o={map:this.map,path:e,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight,geodesic:t.geodesic,clickable:!0,editable:!1,visible:!0};t.hasOwnProperty("clickable")&&(o.clickable=t.clickable),t.hasOwnProperty("editable")&&(o.editable=t.editable),t.hasOwnProperty("icons")&&(o.icons=t.icons),t.hasOwnProperty("zIndex")&&(o.zIndex=t.zIndex);for(var a=new google.maps.Polyline(o),s=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],l=0;l<s.length;l++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(e){t[i].apply(this,[e])})}(a,s[l]);return this.polylines.push(a),c.fire("polyline_added",a,this),a},c.prototype.removePolyline=function(t){for(var e=0;e<this.polylines.length;e++)if(this.polylines[e]===t){this.polylines[e].setMap(null),this.polylines.splice(e,1),c.fire("polyline_removed",t,this);break}},c.prototype.removePolylines=function(){for(var t,e=0;t=this.polylines[e];e++)t.setMap(null);this.polylines=[]},c.prototype.drawCircle=function(t){delete(t=n({map:this.map,center:new google.maps.LatLng(t.lat,t.lng)},t)).lat,delete t.lng;for(var e=new google.maps.Circle(t),i=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],r=0;r<i.length;r++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(e){t[i].apply(this,[e])})}(e,i[r]);return this.polygons.push(e),e},c.prototype.drawRectangle=function(t){t=n({map:this.map},t);var e=new google.maps.LatLngBounds(new google.maps.LatLng(t.bounds[0][0],t.bounds[0][1]),new google.maps.LatLng(t.bounds[1][0],t.bounds[1][1]));t.bounds=e;for(var i=new google.maps.Rectangle(t),r=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],o=0;o<r.length;o++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(e){t[i].apply(this,[e])})}(i,r[o]);return this.polygons.push(i),i},c.prototype.drawPolygon=function(t){var e=!1;t.hasOwnProperty("useGeoJSON")&&(e=t.useGeoJSON),delete t.useGeoJSON,t=n({map:this.map},t),0==e&&(t.paths=[t.paths.slice(0)]),t.paths.length>0&&t.paths[0].length>0&&(t.paths=o(r(t.paths,s,e)));for(var i=new google.maps.Polygon(t),a=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","rightclick"],l=0;l<a.length;l++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(e){t[i].apply(this,[e])})}(i,a[l]);return this.polygons.push(i),c.fire("polygon_added",i,this),i},c.prototype.removePolygon=function(t){for(var e=0;e<this.polygons.length;e++)if(this.polygons[e]===t){this.polygons[e].setMap(null),this.polygons.splice(e,1),c.fire("polygon_removed",t,this);break}},c.prototype.removePolygons=function(){for(var t,e=0;t=this.polygons[e];e++)t.setMap(null);this.polygons=[]},c.prototype.getFromFusionTables=function(t){var e=t.events;delete t.events;var i=t,n=new google.maps.FusionTablesLayer(i);for(var r in e)!function(t,i){google.maps.event.addListener(t,i,function(t){e[i].apply(this,[t])})}(n,r);return this.layers.push(n),n},c.prototype.loadFromFusionTables=function(t){var e=this.getFromFusionTables(t);return e.setMap(this.map),e},c.prototype.getFromKML=function(t){var e=t.url,i=t.events;delete t.url,delete t.events;var n=t,r=new google.maps.KmlLayer(e,n);for(var o in i)!function(t,e){google.maps.event.addListener(t,e,function(t){i[e].apply(this,[t])})}(r,o);return this.layers.push(r),r},c.prototype.loadFromKML=function(t){var e=this.getFromKML(t);return e.setMap(this.map),e},c.prototype.addLayer=function(t,e){var i;switch(e=e||{},t){case"weather":this.singleLayers.weather=i=new google.maps.weather.WeatherLayer;break;case"clouds":this.singleLayers.clouds=i=new google.maps.weather.CloudLayer;break;case"traffic":this.singleLayers.traffic=i=new google.maps.TrafficLayer;break;case"transit":this.singleLayers.transit=i=new google.maps.TransitLayer;break;case"bicycling":this.singleLayers.bicycling=i=new google.maps.BicyclingLayer;break;case"panoramio":this.singleLayers.panoramio=i=new google.maps.panoramio.PanoramioLayer,i.setTag(e.filter),delete e.filter,e.click&&google.maps.event.addListener(i,"click",function(t){e.click(t),delete e.click});break;case"places":if(this.singleLayers.places=i=new google.maps.places.PlacesService(this.map),e.search||e.nearbySearch||e.radarSearch){var n={bounds:e.bounds||null,keyword:e.keyword||null,location:e.location||null,name:e.name||null,radius:e.radius||null,rankBy:e.rankBy||null,types:e.types||null};e.radarSearch&&i.radarSearch(n,e.radarSearch),e.search&&i.search(n,e.search),e.nearbySearch&&i.nearbySearch(n,e.nearbySearch)}if(e.textSearch){var r={bounds:e.bounds||null,location:e.location||null,query:e.query||null,radius:e.radius||null};i.textSearch(r,e.textSearch)}}return void 0!==i?("function"==typeof i.setOptions&&i.setOptions(e),"function"==typeof i.setMap&&i.setMap(this.map),i):void 0},c.prototype.removeLayer=function(t){if("string"==typeof t&&void 0!==this.singleLayers[t])this.singleLayers[t].setMap(null),delete this.singleLayers[t];else for(var e=0;e<this.layers.length;e++)if(this.layers[e]===t){this.layers[e].setMap(null),this.layers.splice(e,1);break}},c.prototype.getRoutes=function(e){switch(e.travelMode){case"bicycling":t=google.maps.TravelMode.BICYCLING;break;case"transit":t=google.maps.TravelMode.TRANSIT;break;case"driving":t=google.maps.TravelMode.DRIVING;break;default:t=google.maps.TravelMode.WALKING}i="imperial"===e.unitSystem?google.maps.UnitSystem.IMPERIAL:google.maps.UnitSystem.METRIC;var r=n({avoidHighways:!1,avoidTolls:!1,optimizeWaypoints:!1,waypoints:[]},e);r.origin=/string/.test(typeof e.origin)?e.origin:new google.maps.LatLng(e.origin[0],e.origin[1]),r.destination=/string/.test(typeof e.destination)?e.destination:new google.maps.LatLng(e.destination[0],e.destination[1]),r.travelMode=t,r.unitSystem=i,delete r.callback,delete r.error;var o=[];(new google.maps.DirectionsService).route(r,function(t,i){if(i===google.maps.DirectionsStatus.OK){for(var n in t.routes)t.routes.hasOwnProperty(n)&&o.push(t.routes[n]);e.callback&&e.callback(o,t,i)}else e.error&&e.error(t,i)})},c.prototype.removeRoutes=function(){this.routes.length=0},c.prototype.getElevations=function(t){(t=n({locations:[],path:!1,samples:256},t)).locations.length>0&&t.locations[0].length>0&&(t.locations=o(r([t.locations],s,!1)));var e=t.callback;delete t.callback;var i=new google.maps.ElevationService;if(t.path){var a={path:t.locations,samples:t.samples};i.getElevationAlongPath(a,function(t,i){e&&"function"==typeof e&&e(t,i)})}else delete t.path,delete t.samples,i.getElevationForLocations(t,function(t,i){e&&"function"==typeof e&&e(t,i)})},c.prototype.cleanRoute=c.prototype.removePolylines,c.prototype.renderRoute=function(t,e){var i,r="string"==typeof e.panel?document.getElementById(e.panel.replace("#","")):e.panel;e.panel=r,e=n({map:this.map},e),i=new google.maps.DirectionsRenderer(e),this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,avoidHighways:t.avoidHighways,avoidTolls:t.avoidTolls,optimizeWaypoints:t.optimizeWaypoints,callback:function(t,e,n){n===google.maps.DirectionsStatus.OK&&i.setDirections(e)}})},c.prototype.drawRoute=function(t){var e=this;this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,avoidHighways:t.avoidHighways,avoidTolls:t.avoidTolls,optimizeWaypoints:t.optimizeWaypoints,callback:function(i){if(i.length>0){var n={path:i[i.length-1].overview_path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(n.icons=t.icons),e.drawPolyline(n),t.callback&&t.callback(i[i.length-1])}}})},c.prototype.travelRoute=function(t){if(t.origin&&t.destination)this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,unitSystem:t.unitSystem,error:t.error,callback:function(e){if(e.length>0&&t.start&&t.start(e[e.length-1]),e.length>0&&t.step){var i=e[e.length-1];if(i.legs.length>0)for(var n,r=i.legs[0].steps,o=0;n=r[o];o++)n.step_number=o,t.step(n,i.legs[0].steps.length-1)}e.length>0&&t.end&&t.end(e[e.length-1])}});else if(t.route&&t.route.legs.length>0)for(var e,i=t.route.legs[0].steps,n=0;e=i[n];n++)e.step_number=n,t.step(e)},c.prototype.drawSteppedRoute=function(t){var e=this;if(t.origin&&t.destination)this.getRoutes({origin:t.origin,destination:t.destination,travelMode:t.travelMode,waypoints:t.waypoints,error:t.error,callback:function(i){if(i.length>0&&t.start&&t.start(i[i.length-1]),i.length>0&&t.step){var n=i[i.length-1];if(n.legs.length>0)for(var r,o=n.legs[0].steps,a=0;r=o[a];a++){r.step_number=a;var s={path:r.path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(s.icons=t.icons),e.drawPolyline(s),t.step(r,n.legs[0].steps.length-1)}}i.length>0&&t.end&&t.end(i[i.length-1])}});else if(t.route&&t.route.legs.length>0)for(var i,n=t.route.legs[0].steps,r=0;i=n[r];r++){i.step_number=r;var o={path:i.path,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(o.icons=t.icons),e.drawPolyline(o),t.step(i)}},c.Route=function(t){this.origin=t.origin,this.destination=t.destination,this.waypoints=t.waypoints,this.map=t.map,this.route=t.route,this.step_count=0,this.steps=this.route.legs[0].steps,this.steps_length=this.steps.length;var e={path:new google.maps.MVCArray,strokeColor:t.strokeColor,strokeOpacity:t.strokeOpacity,strokeWeight:t.strokeWeight};t.hasOwnProperty("icons")&&(e.icons=t.icons),this.polyline=this.map.drawPolyline(e).getPath()},c.Route.prototype.getRoute=function(t){var i=this;this.map.getRoutes({origin:this.origin,destination:this.destination,travelMode:t.travelMode,waypoints:this.waypoints||[],error:t.error,callback:function(){i.route=e[0],t.callback&&t.callback.call(i)}})},c.Route.prototype.back=function(){if(this.step_count>0){this.step_count--;var t=this.route.legs[0].steps[this.step_count].path;for(var e in t)t.hasOwnProperty(e)&&this.polyline.pop()}},c.Route.prototype.forward=function(){if(this.step_count<this.steps_length){var t=this.route.legs[0].steps[this.step_count].path;for(var e in t)t.hasOwnProperty(e)&&this.polyline.push(t[e]);this.step_count++}},c.prototype.checkGeofence=function(t,e,i){return i.containsLatLng(new google.maps.LatLng(t,e))},c.prototype.checkMarkerGeofence=function(t,e){if(t.fences)for(var i,n=0;i=t.fences[n];n++){var r=t.getPosition();this.checkGeofence(r.lat(),r.lng(),i)||e(t,i)}},c.prototype.toImage=function(t){t=t||{};var e={};if(e.size=t.size||[this.el.clientWidth,this.el.clientHeight],e.lat=this.getCenter().lat(),e.lng=this.getCenter().lng(),this.markers.length>0){e.markers=[];for(var i=0;i<this.markers.length;i++)e.markers.push({lat:this.markers[i].getPosition().lat(),lng:this.markers[i].getPosition().lng()})}if(this.polylines.length>0){var n=this.polylines[0];e.polyline={},e.polyline.path=google.maps.geometry.encoding.encodePath(n.getPath()),e.polyline.strokeColor=n.strokeColor,e.polyline.strokeOpacity=n.strokeOpacity,e.polyline.strokeWeight=n.strokeWeight}return c.staticMapURL(e)},c.staticMapURL=function(t){function e(t,e){if("#"===t[0]&&(t=t.replace("#","0x"),e)){if(e=parseFloat(e),0===(e=Math.min(1,Math.max(e,0))))return"0x00000000";1===(e=(255*e).toString(16)).length&&(e+=e),t=t.slice(0,8)+e}return t}var i,n=[],r=("file:"===location.protocol?"http:":location.protocol)+"//maps.googleapis.com/maps/api/staticmap";t.url&&(r=t.url,delete t.url),r+="?";var o=t.markers;delete t.markers,!o&&t.marker&&(o=[t.marker],delete t.marker);var a=t.styles;delete t.styles;var s=t.polyline;if(delete t.polyline,t.center)n.push("center="+t.center),delete t.center;else if(t.address)n.push("center="+t.address),delete t.address;else if(t.lat)n.push(["center=",t.lat,",",t.lng].join("")),delete t.lat,delete t.lng;else if(t.visible){var l=encodeURI(t.visible.join("|"));n.push("visible="+l)}var c=t.size;c?(c.join&&(c=c.join("x")),delete t.size):c="630x300",n.push("size="+c),t.zoom||!1===t.zoom||(t.zoom=15);var u=!t.hasOwnProperty("sensor")||!!t.sensor;for(var h in delete t.sensor,n.push("sensor="+u),t)t.hasOwnProperty(h)&&n.push(h+"="+t[h]);if(o)for(var d,f,p=0;i=o[p];p++){for(var h in d=[],i.size&&"normal"!==i.size?(d.push("size:"+i.size),delete i.size):i.icon&&(d.push("icon:"+encodeURI(i.icon)),delete i.icon),i.color&&(d.push("color:"+i.color.replace("#","0x")),delete i.color),i.label&&(d.push("label:"+i.label[0].toUpperCase()),delete i.label),f=i.address?i.address:i.lat+","+i.lng,delete i.address,delete i.lat,delete i.lng,i)i.hasOwnProperty(h)&&d.push(h+":"+i[h]);d.length||0===p?(d.push(f),d=d.join("|"),n.push("markers="+encodeURI(d))):(d=n.pop()+encodeURI("|"+f),n.push(d))}if(a)for(p=0;p<a.length;p++){var g=[];a[p].featureType&&g.push("feature:"+a[p].featureType.toLowerCase()),a[p].elementType&&g.push("element:"+a[p].elementType.toLowerCase());for(var m=0;m<a[p].stylers.length;m++)for(var v in a[p].stylers[m]){var y=a[p].stylers[m][v];("hue"==v||"color"==v)&&(y="0x"+y.substring(1)),g.push(v+":"+y)}var b=g.join("|");""!=b&&n.push("style="+b)}if(s){if(i=s,s=[],i.strokeWeight&&s.push("weight:"+parseInt(i.strokeWeight,10)),i.strokeColor){var L=e(i.strokeColor,i.strokeOpacity);s.push("color:"+L)}if(i.fillColor){var x=e(i.fillColor,i.fillOpacity);s.push("fillcolor:"+x)}var w=i.path;if(w.join){var _;for(m=0;_=w[m];m++)s.push(_.join(","))}else s.push("enc:"+w);s=s.join("|"),n.push("path="+encodeURI(s))}var S=window.devicePixelRatio||1;return n.push("scale="+S),r+(n=n.join("&"))},c.prototype.addMapType=function(t,e){if(!e.hasOwnProperty("getTileUrl")||"function"!=typeof e.getTileUrl)throw"'getTileUrl' function required.";e.tileSize=e.tileSize||new google.maps.Size(256,256);var i=new google.maps.ImageMapType(e);this.map.mapTypes.set(t,i)},c.prototype.addOverlayMapType=function(t){if(!t.hasOwnProperty("getTile")||"function"!=typeof t.getTile)throw"'getTile' function required.";var e=t.index;delete t.index,this.map.overlayMapTypes.insertAt(e,t)},c.prototype.removeOverlayMapType=function(t){this.map.overlayMapTypes.removeAt(t)},c.prototype.addStyle=function(t){var e=new google.maps.StyledMapType(t.styles,{name:t.styledMapName});this.map.mapTypes.set(t.mapTypeId,e)},c.prototype.setStyle=function(t){this.map.setMapTypeId(t)},c.prototype.createPanorama=function(t){return t.hasOwnProperty("lat")&&t.hasOwnProperty("lng")||(t.lat=this.getCenter().lat(),t.lng=this.getCenter().lng()),this.panorama=c.createPanorama(t),this.map.setStreetView(this.panorama),this.panorama},c.createPanorama=function(t){var e=l(t.el,t.context);t.position=new google.maps.LatLng(t.lat,t.lng),delete t.el,delete t.context,delete t.lat,delete t.lng;for(var i=["closeclick","links_changed","pano_changed","position_changed","pov_changed","resize","visible_changed"],r=n({visible:!0},t),o=0;o<i.length;o++)delete r[i[o]];var a=new google.maps.StreetViewPanorama(e,r);for(o=0;o<i.length;o++)!function(e,i){t[i]&&google.maps.event.addListener(e,i,function(){t[i].apply(this)})}(a,i[o]);return a},c.prototype.on=function(t,e){return c.on(t,this,e)},c.prototype.off=function(t){c.off(t,this)},c.prototype.once=function(t,e){return c.once(t,this,e)},c.custom_events=["marker_added","marker_removed","polyline_added","polyline_removed","polygon_added","polygon_removed","geolocated","geolocation_failed"],c.on=function(t,e,i){if(-1==c.custom_events.indexOf(t))return e instanceof c&&(e=e.map),google.maps.event.addListener(e,t,i);var n={handler:i,eventName:t};return e.registered_events[t]=e.registered_events[t]||[],e.registered_events[t].push(n),n},c.off=function(t,e){-1==c.custom_events.indexOf(t)?(e instanceof c&&(e=e.map),google.maps.event.clearListeners(e,t)):e.registered_events[t]=[]},c.once=function(t,e,i){return-1==c.custom_events.indexOf(t)?(e instanceof c&&(e=e.map),google.maps.event.addListenerOnce(e,t,i)):void 0},c.fire=function(t,e,i){if(-1==c.custom_events.indexOf(t))google.maps.event.trigger(e,t,Array.prototype.slice.apply(arguments).slice(2));else if(t in i.registered_events)for(var n=i.registered_events[t],r=0;r<n.length;r++)!function(t,e,i){t.apply(e,[i])}(n[r].handler,i,e)},c.geolocate=function(t){var e=t.always||t.complete;navigator.geolocation?navigator.geolocation.getCurrentPosition(function(i){t.success(i),e&&e()},function(i){t.error(i),e&&e()},t.options):(t.not_supported(),e&&e())},c.geocode=function(t){this.geocoder=new google.maps.Geocoder;var e=t.callback;t.hasOwnProperty("lat")&&t.hasOwnProperty("lng")&&(t.latLng=new google.maps.LatLng(t.lat,t.lng)),delete t.lat,delete t.lng,delete t.callback,this.geocoder.geocode(t,function(t,i){e(t,i)})},"object"==typeof window.google&&window.google.maps&&(google.maps.Polygon.prototype.getBounds||(google.maps.Polygon.prototype.getBounds=function(t){for(var e,i=new google.maps.LatLngBounds,n=this.getPaths(),r=0;r<n.getLength();r++){e=n.getAt(r);for(var o=0;o<e.getLength();o++)i.extend(e.getAt(o))}return i}),google.maps.Polygon.prototype.containsLatLng||(google.maps.Polygon.prototype.containsLatLng=function(t){var e=this.getBounds();if(null!==e&&!e.contains(t))return!1;for(var i=!1,n=this.getPaths().getLength(),r=0;n>r;r++)for(var o=this.getPaths().getAt(r),a=o.getLength(),s=a-1,l=0;a>l;l++){var c=o.getAt(l),u=o.getAt(s);(c.lng()<t.lng()&&u.lng()>=t.lng()||u.lng()<t.lng()&&c.lng()>=t.lng())&&c.lat()+(t.lng()-c.lng())/(u.lng()-c.lng())*(u.lat()-c.lat())<t.lat()&&(i=!i),s=l}return i}),google.maps.Circle.prototype.containsLatLng||(google.maps.Circle.prototype.containsLatLng=function(t){return!google.maps.geometry||google.maps.geometry.spherical.computeDistanceBetween(this.getCenter(),t)<=this.getRadius()}),google.maps.Rectangle.prototype.containsLatLng=function(t){return this.getBounds().contains(t)},google.maps.LatLngBounds.prototype.containsLatLng=function(t){return this.contains(t)},google.maps.Marker.prototype.setFences=function(t){this.fences=t},google.maps.Marker.prototype.addFence=function(t){this.fences.push(t)},google.maps.Marker.prototype.getId=function(){return this.__gm_id}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){if(null==this)throw new TypeError;var e=Object(this),i=e.length>>>0;if(0===i)return-1;var n=0;if(arguments.length>1&&((n=Number(arguments[1]))!=n?n=0:0!=n&&n!=1/0&&n!=-1/0&&(n=(n>0||-1)*Math.floor(Math.abs(n)))),n>=i)return-1;for(var r=n>=0?n:Math.max(i-Math.abs(n),0);i>r;r++)if(r in e&&e[r]===t)return r;return-1}),c}),function(t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,i){return e||(e=window),i||(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i,e,e.document)}:t(jQuery,window,document)}(function(t,e,i,n){function r(e){var i,n,o={};t.each(e,function(t){(i=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(i[1]+" ")&&(n=t.replace(i[0],i[2].toLowerCase()),o[n]=t,"o"===i[1]&&r(e[t]))}),e._hungarianMap=o}function o(e,i,a){var s;e._hungarianMap||r(e),t.each(i,function(r){(s=e._hungarianMap[r])===n||!a&&i[s]!==n||("o"===s.charAt(0)?(i[s]||(i[s]={}),t.extend(!0,i[s],i[r]),o(e[s],i[s],a)):i[s]=i[r])})}function a(t){var e=Gt.defaults.oLanguage,i=e.sDecimal;if(i&&Ht(i),t){var n=t.sZeroRecords;!t.sEmptyTable&&n&&"No data available in table"===e.sEmptyTable&&Dt(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&n&&"Loading..."===e.sLoadingRecords&&Dt(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),(t=t.sDecimal)&&i!==t&&Ht(t)}}function s(t){if(ce(t,"ordering","bSort"),ce(t,"orderMulti","bSortMulti"),ce(t,"orderClasses","bSortClasses"),ce(t,"orderCellsTop","bSortCellsTop"),ce(t,"order","aaSorting"),ce(t,"orderFixed","aaSortingFixed"),ce(t,"paging","bPaginate"),ce(t,"pagingType","sPaginationType"),ce(t,"pageLength","iDisplayLength"),ce(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":""),t=t.aoSearchCols)for(var e=0,i=t.length;e<i;e++)t[e]&&o(Gt.models.oSearch,t[e])}function l(e){ce(e,"orderable","bSortable"),ce(e,"orderData","aDataSort"),ce(e,"orderSequence","asSorting"),ce(e,"orderDataType","sortDataType");var i=e.aDataSort;"number"==typeof i&&!t.isArray(i)&&(e.aDataSort=[i])}function c(i){if(!Gt.__browser){var n={};Gt.__browser=n;var r=t("<div/>").css({position:"fixed",top:0,left:-1*t(e).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(t("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(t("<div/>").css({width:"100%",height:10}))).appendTo("body"),o=r.children(),a=o.children();n.barWidth=o[0].offsetWidth-o[0].clientWidth,n.bScrollOversize=100===a[0].offsetWidth&&100!==o[0].clientWidth,n.bScrollbarLeft=1!==Math.round(a.offset().left),n.bBounding=!!r[0].getBoundingClientRect().width,r.remove()}t.extend(i.oBrowser,Gt.__browser),i.oScroll.iBarWidth=Gt.__browser.barWidth}function u(t,e,i,r,o,a){var s,l=!1;for(i!==n&&(s=i,l=!0);r!==o;)t.hasOwnProperty(r)&&(s=l?e(s,t[r],r,t):t[r],l=!0,r+=a);return s}function h(e,n){var r=Gt.defaults.column,o=e.aoColumns.length;r=t.extend({},Gt.models.oColumn,r,{nTh:n||i.createElement("th"),sTitle:r.sTitle?r.sTitle:n?n.innerHTML:"",aDataSort:r.aDataSort?r.aDataSort:[o],mData:r.mData?r.mData:o,idx:o});e.aoColumns.push(r),(r=e.aoPreSearchCols)[o]=t.extend({},Gt.models.oSearch,r[o]),d(e,o,t(n).data())}function d(e,i,r){i=e.aoColumns[i];var a=e.oClasses,s=t(i.nTh);if(!i.sWidthOrig){i.sWidthOrig=s.attr("width")||null;var c=(s.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);c&&(i.sWidthOrig=c[1])}r!==n&&null!==r&&(l(r),o(Gt.defaults.column,r),r.mDataProp!==n&&!r.mData&&(r.mData=r.mDataProp),r.sType&&(i._sManualType=r.sType),r.className&&!r.sClass&&(r.sClass=r.className),r.sClass&&s.addClass(r.sClass),t.extend(i,r),Dt(i,r,"sWidth","sWidthOrig"),r.iDataSort!==n&&(i.aDataSort=[r.iDataSort]),Dt(i,r,"aDataSort"));var u=i.mData,h=C(u),d=i.mRender?C(i.mRender):null;r=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};i._bAttrSrc=t.isPlainObject(u)&&(r(u.sort)||r(u.type)||r(u.filter)),i._setter=null,i.fnGetData=function(t,e,i){var r=h(t,e,n,i);return d&&e?d(r,e,t,i):r},i.fnSetData=function(t,e,i){return k(u)(t,e,i)},"number"!=typeof u&&(e._rowReadObject=!0),e.oFeatures.bSort||(i.bSortable=!1,s.addClass(a.sSortableNone)),e=-1!==t.inArray("asc",i.asSorting),r=-1!==t.inArray("desc",i.asSorting),i.bSortable&&(e||r)?e&&!r?(i.sSortingClass=a.sSortableAsc,i.sSortingClassJUI=a.sSortJUIAscAllowed):!e&&r?(i.sSortingClass=a.sSortableDesc,i.sSortingClassJUI=a.sSortJUIDescAllowed):(i.sSortingClass=a.sSortable,i.sSortingClassJUI=a.sSortJUI):(i.sSortingClass=a.sSortableNone,i.sSortingClassJUI="")}function f(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;gt(t);for(var i=0,n=e.length;i<n;i++)e[i].nTh.style.width=e[i].sWidth}(""!==(e=t.oScroll).sY||""!==e.sX)&&ft(t),Nt(t,null,"column-sizing",[t])}function p(t,e){var i=v(t,"bVisible");return"number"==typeof i[e]?i[e]:null}function g(e,i){var n=v(e,"bVisible");return-1!==(n=t.inArray(i,n))?n:null}function m(e){var i=0;return t.each(e.aoColumns,function(e,n){n.bVisible&&"none"!==t(n.nTh).css("display")&&i++}),i}function v(e,i){var n=[];return t.map(e.aoColumns,function(t,e){t[i]&&n.push(e)}),n}function y(t){var e,i,r,o,a,s,l,c,u,h=t.aoColumns,d=t.aoData,f=Gt.ext.type.detect;for(e=0,i=h.length;e<i;e++)if(u=[],!(l=h[e]).sType&&l._sManualType)l.sType=l._sManualType;else if(!l.sType){for(r=0,o=f.length;r<o;r++){for(a=0,s=d.length;a<s&&(u[a]===n&&(u[a]=w(t,a,e,"type")),(c=f[r](u[a],t))||r===f.length-1)&&"html"!==c;a++);if(c){l.sType=c;break}}l.sType||(l.sType="string")}}function b(e,i,r,o){var a,s,l,c,u,d,f=e.aoColumns;if(i)for(a=i.length-1;0<=a;a--){var p=(d=i[a]).targets!==n?d.targets:d.aTargets;for(t.isArray(p)||(p=[p]),s=0,l=p.length;s<l;s++)if("number"==typeof p[s]&&0<=p[s]){for(;f.length<=p[s];)h(e);o(p[s],d)}else if("number"==typeof p[s]&&0>p[s])o(f.length+p[s],d);else if("string"==typeof p[s])for(c=0,u=f.length;c<u;c++)("_all"==p[s]||t(f[c].nTh).hasClass(p[s]))&&o(c,d)}if(r)for(a=0,e=r.length;a<e;a++)o(a,r[a])}function L(e,i,r,o){var a=e.aoData.length,s=t.extend(!0,{},Gt.models.oRow,{src:r?"dom":"data",idx:a});s._aData=i,e.aoData.push(s);for(var l=e.aoColumns,c=0,u=l.length;c<u;c++)l[c].sType=null;return e.aiDisplayMaster.push(a),(i=e.rowIdFn(i))!==n&&(e.aIds[i]=s),(r||!e.oFeatures.bDeferRender)&&P(e,a,r,o),a}function x(e,i){var n;return i instanceof t||(i=t(i)),i.map(function(t,i){return n=D(e,i),L(e,n.data,i,n.cells)})}function w(t,e,i,r){var o=t.iDraw,a=t.aoColumns[i],s=t.aoData[e]._aData,l=a.sDefaultContent,c=a.fnGetData(s,r,{settings:t,row:e,col:i});if(c===n)return t.iDrawError!=o&&null===l&&(Mt(t,0,"Requested unknown parameter "+("function"==typeof a.mData?"{function}":"'"+a.mData+"'")+" for row "+e+", column "+i,4),t.iDrawError=o),l;if(c!==s&&null!==c||null===l||r===n){if("function"==typeof c)return c.call(s)}else c=l;return null===c&&"display"==r?"":c}function _(t,e,i,n){t.aoColumns[i].fnSetData(t.aoData[e]._aData,n,{settings:t,row:e,col:i})}function S(e){return t.map(e.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\\./g,".")})}function C(e){if(t.isPlainObject(e)){var i={};return t.each(e,function(t,e){e&&(i[t]=C(e))}),function(t,e,r,o){var a=i[e]||i._;return a!==n?a(t,e,r,o):t}}if(null===e)return function(t){return t};if("function"==typeof e)return function(t,i,n,r){return e(t,i,n,r)};if("string"==typeof e&&(-1!==e.indexOf(".")||-1!==e.indexOf("[")||-1!==e.indexOf("("))){var r=function(e,i,o){var a,s;if(""!==o)for(var l=0,c=(s=S(o)).length;l<c;l++){if(o=s[l].match(ue),a=s[l].match(he),o){if(s[l]=s[l].replace(ue,""),""!==s[l]&&(e=e[s[l]]),a=[],s.splice(0,l+1),s=s.join("."),t.isArray(e))for(l=0,c=e.length;l<c;l++)a.push(r(e[l],i,s));e=""===(e=o[0].substring(1,o[0].length-1))?a:a.join(e);break}if(a)s[l]=s[l].replace(he,""),e=e[s[l]]();else{if(null===e||e[s[l]]===n)return n;e=e[s[l]]}}return e};return function(t,i){return r(t,i,e)}}return function(t){return t[e]}}function k(e){if(t.isPlainObject(e))return k(e._);if(null===e)return function(){};if("function"==typeof e)return function(t,i,n){e(t,"set",i,n)};if("string"==typeof e&&(-1!==e.indexOf(".")||-1!==e.indexOf("[")||-1!==e.indexOf("("))){var i=function(e,r,o){var a;a=(o=S(o))[o.length-1];for(var s,l,c=0,u=o.length-1;c<u;c++){if(s=o[c].match(ue),l=o[c].match(he),s){if(o[c]=o[c].replace(ue,""),e[o[c]]=[],(a=o.slice()).splice(0,c+1),s=a.join("."),t.isArray(r))for(l=0,u=r.length;l<u;l++)i(a={},r[l],s),e[o[c]].push(a);else e[o[c]]=r;return}l&&(o[c]=o[c].replace(he,""),e=e[o[c]](r)),null!==e[o[c]]&&e[o[c]]!==n||(e[o[c]]={}),e=e[o[c]]}a.match(he)?e[a.replace(he,"")](r):e[a.replace(ue,"")]=r};return function(t,n){return i(t,n,e)}}return function(t,i){t[e]=i}}function T(t){return re(t.aoData,"_aData")}function E(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function A(t,e,i){for(var r=-1,o=0,a=t.length;o<a;o++)t[o]==e?r=o:t[o]>e&&t[o]--;-1!=r&&i===n&&t.splice(r,1)}function M(t,e,i,r){var o,a=t.aoData[e],s=function(i,n){for(;i.childNodes.length;)i.removeChild(i.firstChild);i.innerHTML=w(t,e,n,"display")};if("dom"!==i&&(i&&"auto"!==i||"dom"!==a.src)){var l=a.anCells;if(l)if(r!==n)s(l[r],r);else for(i=0,o=l.length;i<o;i++)s(l[i],i)}else a._aData=D(t,a,r,r===n?n:a._aData).data;if(a._aSortData=null,a._aFilterData=null,s=t.aoColumns,r!==n)s[r].sType=null;else{for(i=0,o=s.length;i<o;i++)s[i].sType=null;O(t,a)}}function D(e,i,r,o){var a,s,l,c=[],u=i.firstChild,h=0,d=e.aoColumns,f=e._rowReadObject,p=(o=o!==n?o:f?{}:[],function(t,e){if("string"==typeof t){var i=t.indexOf("@");-1!==i&&(i=t.substring(i+1),k(t)(o,e.getAttribute(i)))}}),g=function(e){r!==n&&r!==h||(s=d[h],l=t.trim(e.innerHTML),s&&s._bAttrSrc?(k(s.mData._)(o,l),p(s.mData.sort,e),p(s.mData.type,e),p(s.mData.filter,e)):f?(s._setter||(s._setter=k(s.mData)),s._setter(o,l)):o[h]=l),h++};if(u)for(;u;)"TD"!=(a=u.nodeName.toUpperCase())&&"TH"!=a||(g(u),c.push(u)),u=u.nextSibling;else for(u=0,a=(c=i.anCells).length;u<a;u++)g(c[u]);return(i=i.firstChild?i:i.nTr)&&(i=i.getAttribute("id"))&&k(e.rowId)(o,i),{data:o,cells:c}}function P(e,n,r,o){var a,s,l,c,u,h=e.aoData[n],d=h._aData,f=[];if(null===h.nTr){for(a=r||i.createElement("tr"),h.nTr=a,h.anCells=f,a._DT_RowIndex=n,O(e,h),c=0,u=e.aoColumns.length;c<u;c++)l=e.aoColumns[c],(s=r?o[c]:i.createElement(l.sCellType))._DT_CellIndex={row:n,column:c},f.push(s),r&&!l.mRender&&l.mData===c||t.isPlainObject(l.mData)&&l.mData._===c+".display"||(s.innerHTML=w(e,n,c,"display")),l.sClass&&(s.className+=" "+l.sClass),l.bVisible&&!r?a.appendChild(s):!l.bVisible&&r&&s.parentNode.removeChild(s),l.fnCreatedCell&&l.fnCreatedCell.call(e.oInstance,s,w(e,n,c),d,n,c);Nt(e,"aoRowCreatedCallback",null,[a,d,n,f])}h.nTr.setAttribute("role","row")}function O(e,i){var n=i.nTr,r=i._aData;if(n){var o=e.rowIdFn(r);o&&(n.id=o),r.DT_RowClass&&(o=r.DT_RowClass.split(" "),i.__rowc=i.__rowc?le(i.__rowc.concat(o)):o,t(n).removeClass(i.__rowc.join(" ")).addClass(r.DT_RowClass)),r.DT_RowAttr&&t(n).attr(r.DT_RowAttr),r.DT_RowData&&t(n).data(r.DT_RowData)}}function I(e){var i,n,r,o,a,s=e.nTHead,l=e.nTFoot,c=0===t("th, td",s).length,u=e.oClasses,h=e.aoColumns;for(c&&(o=t("<tr/>").appendTo(s)),i=0,n=h.length;i<n;i++)a=h[i],r=t(a.nTh).addClass(a.sClass),c&&r.appendTo(o),e.oFeatures.bSort&&(r.addClass(a.sSortingClass),!1!==a.bSortable&&(r.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),St(e,a.nTh,i))),a.sTitle!=r[0].innerHTML&&r.html(a.sTitle),Ft(e,"header")(e,r,a,u);if(c&&z(e.aoHeader,s),t(s).find(">tr").attr("role","row"),t(s).find(">tr>th, >tr>td").addClass(u.sHeaderTH),t(l).find(">tr>th, >tr>td").addClass(u.sFooterTH),null!==l)for(i=0,n=(e=e.aoFooter[0]).length;i<n;i++)(a=h[i]).nTf=e[i].cell,a.sClass&&t(a.nTf).addClass(a.sClass)}function N(e,i,r){var o,a,s,l,c=[],u=[],h=e.aoColumns.length;if(i){for(r===n&&(r=!1),o=0,a=i.length;o<a;o++){for(c[o]=i[o].slice(),c[o].nTr=i[o].nTr,s=h-1;0<=s;s--)!e.aoColumns[s].bVisible&&!r&&c[o].splice(s,1);u.push([])}for(o=0,a=c.length;o<a;o++){if(e=c[o].nTr)for(;s=e.firstChild;)e.removeChild(s);for(s=0,i=c[o].length;s<i;s++)if(l=h=1,u[o][s]===n){for(e.appendChild(c[o][s].cell),u[o][s]=1;c[o+h]!==n&&c[o][s].cell==c[o+h][s].cell;)u[o+h][s]=1,h++;for(;c[o][s+l]!==n&&c[o][s].cell==c[o][s+l].cell;){for(r=0;r<h;r++)u[o+r][s+l]=1;l++}t(c[o][s].cell).attr("rowspan",h).attr("colspan",l)}}}}function R(e){var i=Nt(e,"aoPreDrawCallback","preDraw",[e]);if(-1!==t.inArray(!1,i))ht(e,!1);else{i=[];var r=0,o=e.asStripeClasses,a=o.length,s=e.oLanguage,l=e.iInitDisplayStart,c="ssp"==Bt(e),u=e.aiDisplay;e.bDrawing=!0,l!==n&&-1!==l&&(e._iDisplayStart=c?l:l>=e.fnRecordsDisplay()?0:l,e.iInitDisplayStart=-1);l=e._iDisplayStart;var h=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,ht(e,!1);else if(c){if(!e.bDestroying&&!j(e))return}else e.iDraw++;if(0!==u.length)for(s=c?e.aoData.length:h,c=c?0:l;c<s;c++){var d=u[c],f=e.aoData[d];null===f.nTr&&P(e,d);var p=f.nTr;if(0!==a){var g=o[r%a];f._sRowStripe!=g&&(t(p).removeClass(f._sRowStripe).addClass(g),f._sRowStripe=g)}Nt(e,"aoRowCallback",null,[p,f._aData,r,c,d]),i.push(p),r++}else r=s.sZeroRecords,1==e.iDraw&&"ajax"==Bt(e)?r=s.sLoadingRecords:s.sEmptyTable&&0===e.fnRecordsTotal()&&(r=s.sEmptyTable),i[0]=t("<tr/>",{class:a?o[0]:""}).append(t("<td />",{valign:"top",colSpan:m(e),class:e.oClasses.sRowEmpty}).html(r))[0];Nt(e,"aoHeaderCallback","header",[t(e.nTHead).children("tr")[0],T(e),l,h,u]),Nt(e,"aoFooterCallback","footer",[t(e.nTFoot).children("tr")[0],T(e),l,h,u]),(o=t(e.nTBody)).children().detach(),o.append(t(i)),Nt(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}}function F(t,e){var i=t.oFeatures,n=i.bFilter;i.bSort&&xt(t),n?X(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,R(t),t._drawHold=!1}function B(e){var i=e.oClasses,n=t(e.nTable),r=(n=t("<div/>").insertBefore(n),e.oFeatures),o=t("<div/>",{id:e.sTableId+"_wrapper",class:i.sWrapper+(e.nTFoot?"":" "+i.sNoFooter)});e.nHolding=n[0],e.nTableWrapper=o[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var a,s,l,c,u,h,d=e.sDom.split(""),f=0;f<d.length;f++){if(a=null,"<"==(s=d[f])){if(l=t("<div/>")[0],"'"==(c=d[f+1])||'"'==c){for(u="",h=2;d[f+h]!=c;)u+=d[f+h],h++;"H"==u?u=i.sJUIHeader:"F"==u&&(u=i.sJUIFooter),-1!=u.indexOf(".")?(c=u.split("."),l.id=c[0].substr(1,c[0].length-1),l.className=c[1]):"#"==u.charAt(0)?l.id=u.substr(1,u.length-1):l.className=u,f+=h}o.append(l),o=t(l)}else if(">"==s)o=o.parent();else if("l"==s&&r.bPaginate&&r.bLengthChange)a=st(e);else if("f"==s&&r.bFilter)a=G(e);else if("r"==s&&r.bProcessing)a=ut(e);else if("t"==s)a=dt(e);else if("i"==s&&r.bInfo)a=et(e);else if("p"==s&&r.bPaginate)a=lt(e);else if(0!==Gt.ext.feature.length)for(h=0,c=(l=Gt.ext.feature).length;h<c;h++)if(s==l[h].cFeature){a=l[h].fnInit(e);break}a&&((l=e.aanFeatures)[s]||(l[s]=[]),l[s].push(a),o.append(a))}n.replaceWith(o),e.nHolding=null}function z(e,i){var n,r,o,a,s,l,c,u,h,d,f=t(i).children("tr");for(e.splice(0,e.length),o=0,l=f.length;o<l;o++)e.push([]);for(o=0,l=f.length;o<l;o++)for(r=(n=f[o]).firstChild;r;){if("TD"==r.nodeName.toUpperCase()||"TH"==r.nodeName.toUpperCase()){for(u=(u=1*r.getAttribute("colspan"))&&0!==u&&1!==u?u:1,h=(h=1*r.getAttribute("rowspan"))&&0!==h&&1!==h?h:1,a=0,s=e[o];s[a];)a++;for(c=a,d=1===u,s=0;s<u;s++)for(a=0;a<h;a++)e[o+a][c+s]={cell:r,unique:d},e[o+a].nTr=n}r=r.nextSibling}}function H(t,e,i){var n=[];i||(i=t.aoHeader,e&&z(i=[],e));e=0;for(var r=i.length;e<r;e++)for(var o=0,a=i[e].length;o<a;o++)!i[e][o].unique||n[o]&&t.bSortCellsTop||(n[o]=i[e][o].cell);return n}function V(e,i,n){if(Nt(e,"aoServerParams","serverParams",[i]),i&&t.isArray(i)){var r={},o=/(.*?)\[\]$/;t.each(i,function(t,e){var i=e.name.match(o);i?(i=i[0],r[i]||(r[i]=[]),r[i].push(e.value)):r[e.name]=e.value}),i=r}var a,s=e.ajax,l=e.oInstance,c=function(t){Nt(e,null,"xhr",[e,t,e.jqXHR]),n(t)};if(t.isPlainObject(s)&&s.data){var u="function"==typeof(a=s.data)?a(i,e):a;i="function"==typeof a&&u?u:t.extend(!0,i,u);delete s.data}u={data:i,success:function(t){var i=t.error||t.sError;i&&Mt(e,0,i),e.json=t,c(t)},dataType:"json",cache:!1,type:e.sServerMethod,error:function(i,n){var r=Nt(e,null,"xhr",[e,null,e.jqXHR]);-1===t.inArray(!0,r)&&("parsererror"==n?Mt(e,0,"Invalid JSON response",1):4===i.readyState&&Mt(e,0,"Ajax error",7)),ht(e,!1)}},e.oAjaxData=i,Nt(e,null,"preXhr",[e,i]),e.fnServerData?e.fnServerData.call(l,e.sAjaxSource,t.map(i,function(t,e){return{name:e,value:t}}),c,e):e.sAjaxSource||"string"==typeof s?e.jqXHR=t.ajax(t.extend(u,{url:s||e.sAjaxSource})):"function"==typeof s?e.jqXHR=s.call(l,i,c,e):(e.jqXHR=t.ajax(t.extend(u,s)),s.data=a)}function j(t){return!t.bAjaxDataGet||(t.iDraw++,ht(t,!0),V(t,W(t),function(e){U(t,e)}),!1)}function W(e){var i,n,r,o,a=e.aoColumns,s=a.length,l=e.oFeatures,c=e.oPreviousSearch,u=e.aoPreSearchCols,h=[],d=Lt(e);i=e._iDisplayStart,n=!1!==l.bPaginate?e._iDisplayLength:-1;var f=function(t,e){h.push({name:t,value:e})};f("sEcho",e.iDraw),f("iColumns",s),f("sColumns",re(a,"sName").join(",")),f("iDisplayStart",i),f("iDisplayLength",n);var p={draw:e.iDraw,columns:[],order:[],start:i,length:n,search:{value:c.sSearch,regex:c.bRegex}};for(i=0;i<s;i++)r=a[i],o=u[i],n="function"==typeof r.mData?"function":r.mData,p.columns.push({data:n,name:r.sName,searchable:r.bSearchable,orderable:r.bSortable,search:{value:o.sSearch,regex:o.bRegex}}),f("mDataProp_"+i,n),l.bFilter&&(f("sSearch_"+i,o.sSearch),f("bRegex_"+i,o.bRegex),f("bSearchable_"+i,r.bSearchable)),l.bSort&&f("bSortable_"+i,r.bSortable);return l.bFilter&&(f("sSearch",c.sSearch),f("bRegex",c.bRegex)),l.bSort&&(t.each(d,function(t,e){p.order.push({column:e.col,dir:e.dir}),f("iSortCol_"+t,e.col),f("sSortDir_"+t,e.dir)}),f("iSortingCols",d.length)),null===(a=Gt.ext.legacy.ajax)?e.sAjaxSource?h:p:a?h:p}function U(t,e){var i=Y(t,e),r=e.sEcho!==n?e.sEcho:e.draw,o=e.iTotalRecords!==n?e.iTotalRecords:e.recordsTotal,a=e.iTotalDisplayRecords!==n?e.iTotalDisplayRecords:e.recordsFiltered;if(r){if(1*r<t.iDraw)return;t.iDraw=1*r}for(E(t),t._iRecordsTotal=parseInt(o,10),t._iRecordsDisplay=parseInt(a,10),r=0,o=i.length;r<o;r++)L(t,i[r]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,R(t),t._bInitComplete||ot(t,e),t.bAjaxDataGet=!0,ht(t,!1)}function Y(e,i){var r=t.isPlainObject(e.ajax)&&e.ajax.dataSrc!==n?e.ajax.dataSrc:e.sAjaxDataProp;return"data"===r?i.aaData||i[r]:""!==r?C(r)(i):i}function G(e){var n=e.oClasses,r=e.sTableId,o=e.oLanguage,a=e.oPreviousSearch,s=e.aanFeatures,l='<input type="search" class="'+n.sFilterInput+'"/>',c=(c=o.sSearch).match(/_INPUT_/)?c.replace("_INPUT_",l):c+l,u=(n=t("<div/>",{id:s.f?null:r+"_filter",class:n.sFilter}).append(t("<label/>").append(c)),s=function(){var t=this.value?this.value:"";t!=a.sSearch&&(X(e,{sSearch:t,bRegex:a.bRegex,bSmart:a.bSmart,bCaseInsensitive:a.bCaseInsensitive}),e._iDisplayStart=0,R(e))},l=null!==e.searchDelay?e.searchDelay:"ssp"===Bt(e)?400:0,t("input",n).val(a.sSearch).attr("placeholder",o.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",l?me(s,l):s).on("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",r));return t(e.nTable).on("search.dt.DT",function(t,n){if(e===n)try{u[0]!==i.activeElement&&u.val(a.sSearch)}catch(t){}}),n[0]}function X(t,e,i){var r=t.oPreviousSearch,o=t.aoPreSearchCols,a=function(t){r.sSearch=t.sSearch,r.bRegex=t.bRegex,r.bSmart=t.bSmart,r.bCaseInsensitive=t.bCaseInsensitive};if(y(t),"ssp"!=Bt(t)){for(Z(t,e.sSearch,i,e.bEscapeRegex!==n?!e.bEscapeRegex:e.bRegex,e.bSmart,e.bCaseInsensitive),a(e),e=0;e<o.length;e++)$(t,o[e].sSearch,e,o[e].bEscapeRegex!==n?!o[e].bEscapeRegex:o[e].bRegex,o[e].bSmart,o[e].bCaseInsensitive);q(t)}else a(e);t.bFiltered=!0,Nt(t,null,"search",[t])}function q(e){for(var i,n,r=Gt.ext.search,o=e.aiDisplay,a=0,s=r.length;a<s;a++){for(var l=[],c=0,u=o.length;c<u;c++)n=o[c],i=e.aoData[n],r[a](e,i._aFilterData,n,i._aData,c)&&l.push(n);o.length=0,t.merge(o,l)}}function $(t,e,i,n,r,o){if(""!==e){var a=[],s=t.aiDisplay;for(n=K(e,n,r,o),r=0;r<s.length;r++)e=t.aoData[s[r]]._aFilterData[i],n.test(e)&&a.push(s[r]);t.aiDisplay=a}}function Z(t,e,i,n,r,o){n=K(e,n,r,o),o=t.oPreviousSearch.sSearch;var a,s=t.aiDisplayMaster;r=[];if(0!==Gt.ext.search.length&&(i=!0),a=Q(t),0>=e.length)t.aiDisplay=s.slice();else{for((a||i||o.length>e.length||0!==e.indexOf(o)||t.bSorted)&&(t.aiDisplay=s.slice()),e=t.aiDisplay,i=0;i<e.length;i++)n.test(t.aoData[e[i]]._sFilterRow)&&r.push(e[i]);t.aiDisplay=r}}function K(e,i,n,r){return e=i?e:de(e),n&&(e="^(?=.*?"+t.map(e.match(/"[^"]+"|[^ ]+/g)||[""],function(t){if('"'===t.charAt(0)){var e=t.match(/^"(.*)"$/);t=e?e[1]:t}return t.replace('"',"")}).join(")(?=.*?")+").*$"),RegExp(e,r?"i":"")}function Q(t){var e,i,n,r,o,a,s,l,c=t.aoColumns,u=Gt.ext.type.search;for(e=!1,i=0,r=t.aoData.length;i<r;i++)if(!(l=t.aoData[i])._aFilterData){for(a=[],n=0,o=c.length;n<o;n++)(e=c[n]).bSearchable?(s=w(t,i,n,"filter"),u[e.sType]&&(s=u[e.sType](s)),null===s&&(s=""),"string"!=typeof s&&s.toString&&(s=s.toString())):s="",s.indexOf&&-1!==s.indexOf("&")&&(fe.innerHTML=s,s=pe?fe.textContent:fe.innerText),s.replace&&(s=s.replace(/[\r\n]/g,"")),a.push(s);l._aFilterData=a,l._sFilterRow=a.join(" "),e=!0}return e}function J(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function tt(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function et(e){var i=e.sTableId,n=e.aanFeatures.i,r=t("<div/>",{class:e.oClasses.sInfo,id:n?null:i+"_info"});return n||(e.aoDrawCallback.push({fn:it,sName:"information"}),r.attr("role","status").attr("aria-live","polite"),t(e.nTable).attr("aria-describedby",i+"_info")),r[0]}function it(e){var i=e.aanFeatures.i;if(0!==i.length){var n=e.oLanguage,r=e._iDisplayStart+1,o=e.fnDisplayEnd(),a=e.fnRecordsTotal(),s=e.fnRecordsDisplay(),l=s?n.sInfo:n.sInfoEmpty;s!==a&&(l+=" "+n.sInfoFiltered),l=nt(e,l+=n.sInfoPostFix),null!==(n=n.fnInfoCallback)&&(l=n.call(e.oInstance,e,r,o,a,s,l)),t(i).html(l)}}function nt(t,e){var i=t.fnFormatNumber,n=t._iDisplayStart+1,r=t._iDisplayLength,o=t.fnRecordsDisplay(),a=-1===r;return e.replace(/_START_/g,i.call(t,n)).replace(/_END_/g,i.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,i.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,i.call(t,o)).replace(/_PAGE_/g,i.call(t,a?1:Math.ceil(n/r))).replace(/_PAGES_/g,i.call(t,a?1:Math.ceil(o/r)))}function rt(t){var e,i,n,r=t.iInitDisplayStart,o=t.aoColumns;i=t.oFeatures;var a=t.bDeferLoading;if(t.bInitialised){for(B(t),I(t),N(t,t.aoHeader),N(t,t.aoFooter),ht(t,!0),i.bAutoWidth&&gt(t),e=0,i=o.length;e<i;e++)(n=o[e]).sWidth&&(n.nTh.style.width=bt(n.sWidth));Nt(t,null,"preInit",[t]),F(t),("ssp"!=(o=Bt(t))||a)&&("ajax"==o?V(t,[],function(i){var n=Y(t,i);for(e=0;e<n.length;e++)L(t,n[e]);t.iInitDisplayStart=r,F(t),ht(t,!1),ot(t,i)}):(ht(t,!1),ot(t)))}else setTimeout(function(){rt(t)},200)}function ot(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&f(t),Nt(t,null,"plugin-init",[t,e]),Nt(t,"aoInitComplete","init",[t,e])}function at(t,e){var i=parseInt(e,10);t._iDisplayLength=i,Rt(t),Nt(t,null,"length",[t,i])}function st(e){for(var i=e.oClasses,n=e.sTableId,r=e.aLengthMenu,o=(a=t.isArray(r[0]))?r[0]:r,a=(r=a?r[1]:r,t("<select/>",{name:n+"_length","aria-controls":n,class:i.sLengthSelect})),s=0,l=o.length;s<l;s++)a[0][s]=new Option("number"==typeof r[s]?e.fnFormatNumber(r[s]):r[s],o[s]);var c=t("<div><label/></div>").addClass(i.sLength);return e.aanFeatures.l||(c[0].id=n+"_length"),c.children().append(e.oLanguage.sLengthMenu.replace("_MENU_",a[0].outerHTML)),t("select",c).val(e._iDisplayLength).on("change.DT",function(){at(e,t(this).val()),R(e)}),t(e.nTable).on("length.dt.DT",function(i,n,r){e===n&&t("select",c).val(r)}),c[0]}function lt(e){var i=e.sPaginationType,n=Gt.ext.pager[i],r="function"==typeof n,o=function(t){R(t)},a=(i=t("<div/>").addClass(e.oClasses.sPaging+i)[0],e.aanFeatures);return r||n.fnInit(e,i,o),a.p||(i.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(t){if(r){var e,i=t._iDisplayStart,s=t._iDisplayLength,l=t.fnRecordsDisplay(),c=(i=(c=-1===s)?0:Math.ceil(i/s),s=c?1:Math.ceil(l/s),l=n(i,s),0);for(e=a.p.length;c<e;c++)Ft(t,"pageButton")(t,a.p[c],c,l,i,s)}else n.fnUpdate(t,o)},sName:"pagination"})),i}function ct(t,e,i){var n=t._iDisplayStart,r=t._iDisplayLength,o=t.fnRecordsDisplay();return 0===o||-1===r?n=0:"number"==typeof e?(n=e*r)>o&&(n=0):"first"==e?n=0:"previous"==e?0>(n=0<=r?n-r:0)&&(n=0):"next"==e?n+r<o&&(n+=r):"last"==e?n=Math.floor((o-1)/r)*r:Mt(t,0,"Unknown paging action: "+e,5),e=t._iDisplayStart!==n,t._iDisplayStart=n,e&&(Nt(t,null,"page",[t]),i&&R(t)),e}function ut(e){return t("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function ht(e,i){e.oFeatures.bProcessing&&t(e.aanFeatures.r).css("display",i?"block":"none"),Nt(e,null,"processing",[e,i])}function dt(e){(h=t(e.nTable)).attr("role","grid");var i=e.oScroll;if(""===i.sX&&""===i.sY)return e.nTable;var n=i.sX,r=i.sY,o=e.oClasses,a=h.children("caption"),s=a.length?a[0]._captionSide:null,l=t(h[0].cloneNode(!1)),c=t(h[0].cloneNode(!1)),u=h.children("tfoot");u.length||(u=null),l=t("<div/>",{class:o.sScrollWrapper}).append(t("<div/>",{class:o.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:n?n?bt(n):null:"100%"}).append(t("<div/>",{class:o.sScrollHeadInner}).css({"box-sizing":"content-box",width:i.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===s?a:null).append(h.children("thead"))))).append(t("<div/>",{class:o.sScrollBody}).css({position:"relative",overflow:"auto",width:n?bt(n):null}).append(h)),u&&l.append(t("<div/>",{class:o.sScrollFoot}).css({overflow:"hidden",border:0,width:n?n?bt(n):null:"100%"}).append(t("<div/>",{class:o.sScrollFootInner}).append(c.removeAttr("id").css("margin-left",0).append("bottom"===s?a:null).append(h.children("tfoot")))));var h,d=(h=l.children())[0],f=(o=h[1],u?h[2]:null);return n&&t(o).on("scroll.DT",function(){var t=this.scrollLeft;d.scrollLeft=t,u&&(f.scrollLeft=t)}),t(o).css(r&&i.bCollapse?"max-height":"height",r),e.nScrollHead=d,e.nScrollBody=o,e.nScrollFoot=f,e.aoDrawCallback.push({fn:ft,sName:"scrolling"}),l[0]}function ft(e){var i,r,o,a,s,l=(h=e.oScroll).sX,c=h.sXInner,u=h.sY,h=h.iBarWidth,d=t(e.nScrollHead),g=d[0].style,m=(y=d.children("div"))[0].style,v=y.children("table"),y=e.nScrollBody,b=t(y),L=y.style,x=t(e.nScrollFoot).children("div"),w=x.children("table"),_=t(e.nTHead),S=t(e.nTable),C=S[0],k=C.style,T=e.nTFoot?t(e.nTFoot):null,E=e.oBrowser,A=E.bScrollOversize,M=re(e.aoColumns,"nTh"),D=[],P=[],O=[],I=[],N=function(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0};r=y.scrollHeight>y.clientHeight,e.scrollBarVis!==r&&e.scrollBarVis!==n?(e.scrollBarVis=r,f(e)):(e.scrollBarVis=r,S.children("thead, tfoot").remove(),T&&(o=T.clone().prependTo(S),i=T.find("tr"),o=o.find("tr")),a=_.clone().prependTo(S),_=_.find("tr"),r=a.find("tr"),a.find("th, td").removeAttr("tabindex"),l||(L.width="100%",d[0].style.width="100%"),t.each(H(e,a),function(t,i){s=p(e,t),i.style.width=e.aoColumns[s].sWidth}),T&&pt(function(t){t.style.width=""},o),d=S.outerWidth(),""===l?(k.width="100%",A&&(S.find("tbody").height()>y.offsetHeight||"scroll"==b.css("overflow-y"))&&(k.width=bt(S.outerWidth()-h)),d=S.outerWidth()):""!==c&&(k.width=bt(c),d=S.outerWidth()),pt(N,r),pt(function(e){O.push(e.innerHTML),D.push(bt(t(e).css("width")))},r),pt(function(e,i){-1!==t.inArray(e,M)&&(e.style.width=D[i])},_),t(r).height(0),T&&(pt(N,o),pt(function(e){I.push(e.innerHTML),P.push(bt(t(e).css("width")))},o),pt(function(t,e){t.style.width=P[e]},i),t(o).height(0)),pt(function(t,e){t.innerHTML='<div class="dataTables_sizing">'+O[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=D[e]},r),T&&pt(function(t,e){t.innerHTML='<div class="dataTables_sizing">'+I[e]+"</div>",t.childNodes[0].style.height="0",t.childNodes[0].style.overflow="hidden",t.style.width=P[e]},o),S.outerWidth()<d?(i=y.scrollHeight>y.offsetHeight||"scroll"==b.css("overflow-y")?d+h:d,A&&(y.scrollHeight>y.offsetHeight||"scroll"==b.css("overflow-y"))&&(k.width=bt(i-h)),(""===l||""!==c)&&Mt(e,1,"Possible column misalignment",6)):i="100%",L.width=bt(i),g.width=bt(i),T&&(e.nScrollFoot.style.width=bt(i)),!u&&A&&(L.height=bt(C.offsetHeight+h)),l=S.outerWidth(),v[0].style.width=bt(l),m.width=bt(l),c=S.height()>y.clientHeight||"scroll"==b.css("overflow-y"),m[u="padding"+(E.bScrollbarLeft?"Left":"Right")]=c?h+"px":"0px",T&&(w[0].style.width=bt(l),x[0].style.width=bt(l),x[0].style[u]=c?h+"px":"0px"),S.children("colgroup").insertBefore(S.children("thead")),b.scroll(),!e.bSorted&&!e.bFiltered||e._drawHold||(y.scrollTop=0))}function pt(t,e,i){for(var n,r,o=0,a=0,s=e.length;a<s;){for(n=e[a].firstChild,r=i?i[a].firstChild:null;n;)1===n.nodeType&&(i?t(n,r,o):t(n,o),o++),n=n.nextSibling,r=i?r.nextSibling:null;a++}}function gt(i){var n,r,o=i.nTable,a=i.aoColumns,s=(x=i.oScroll).sY,l=x.sX,c=x.sXInner,u=a.length,h=v(i,"bVisible"),d=t("th",i.nTHead),g=o.getAttribute("width"),y=o.parentNode,b=!1,L=i.oBrowser,x=L.bScrollOversize;for((n=o.style.width)&&-1!==n.indexOf("%")&&(g=n),n=0;n<h.length;n++)null!==(r=a[h[n]]).sWidth&&(r.sWidth=mt(r.sWidthOrig,y),b=!0);if(x||!b&&!l&&!s&&u==m(i)&&u==d.length)for(n=0;n<u;n++)null!==(h=p(i,n))&&(a[h].sWidth=bt(d.eq(n).width()));else{(u=t(o).clone().css("visibility","hidden").removeAttr("id")).find("tbody tr").remove();var w=t("<tr/>").appendTo(u.find("tbody"));for(u.find("thead, tfoot").remove(),u.append(t(i.nTHead).clone()).append(t(i.nTFoot).clone()),u.find("tfoot th, tfoot td").css("width",""),d=H(i,u.find("thead")[0]),n=0;n<h.length;n++)r=a[h[n]],d[n].style.width=null!==r.sWidthOrig&&""!==r.sWidthOrig?bt(r.sWidthOrig):"",r.sWidthOrig&&l&&t(d[n]).append(t("<div/>").css({width:r.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(i.aoData.length)for(n=0;n<h.length;n++)r=a[b=h[n]],t(vt(i,b)).clone(!1).append(r.sContentPadding).appendTo(w);for(t("[name]",u).removeAttr("name"),r=t("<div/>").css(l||s?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(u).appendTo(y),l&&c?u.width(c):l?(u.css("width","auto"),u.removeAttr("width"),u.width()<y.clientWidth&&g&&u.width(y.clientWidth)):s?u.width(y.clientWidth):g&&u.width(g),n=s=0;n<h.length;n++)c=(y=t(d[n])).outerWidth()-y.width(),s+=y=L.bBounding?Math.ceil(d[n].getBoundingClientRect().width):y.outerWidth(),a[h[n]].sWidth=bt(y-c);o.style.width=bt(s),r.remove()}g&&(o.style.width=bt(g)),!g&&!l||i._reszEvt||(o=function(){t(e).on("resize.DT-"+i.sInstance,me(function(){f(i)}))},x?setTimeout(o,1e3):o(),i._reszEvt=!0)}function mt(e,n){if(!e)return 0;var r=t("<div/>").css("width",bt(e)).appendTo(n||i.body),o=r[0].offsetWidth;return r.remove(),o}function vt(e,i){var n=yt(e,i);if(0>n)return null;var r=e.aoData[n];return r.nTr?r.anCells[i]:t("<td/>").html(w(e,n,i,"display"))[0]}function yt(t,e){for(var i,n=-1,r=-1,o=0,a=t.aoData.length;o<a;o++)(i=(i=(i=w(t,o,e,"display")+"").replace(ge,"")).replace(/&nbsp;/g," ")).length>n&&(n=i.length,r=o);return r}function bt(t){return null===t?"0px":"number"==typeof t?0>t?"0px":t+"px":t.match(/\d$/)?t+"px":t}function Lt(e){var i,r,o,a,s,l,c=[],u=e.aoColumns;i=e.aaSortingFixed,r=t.isPlainObject(i);var h=[];for(o=function(e){e.length&&!t.isArray(e[0])?h.push(e):t.merge(h,e)},t.isArray(i)&&o(i),r&&i.pre&&o(i.pre),o(e.aaSorting),r&&i.post&&o(i.post),e=0;e<h.length;e++)for(i=0,r=(o=u[l=h[e][0]].aDataSort).length;i<r;i++)s=u[a=o[i]].sType||"string",h[e]._idx===n&&(h[e]._idx=t.inArray(h[e][1],u[a].asSorting)),c.push({src:l,col:a,dir:h[e][1],index:h[e]._idx,type:s,formatter:Gt.ext.type.order[s+"-pre"]});return c}function xt(t){var e,i,n,r,o=[],a=Gt.ext.type.order,s=t.aoData,l=0,c=t.aiDisplayMaster;for(y(t),e=0,i=(r=Lt(t)).length;e<i;e++)(n=r[e]).formatter&&l++,kt(t,n.col);if("ssp"!=Bt(t)&&0!==r.length){for(e=0,i=c.length;e<i;e++)o[c[e]]=e;l===r.length?c.sort(function(t,e){var i,n,a,l,c=r.length,u=s[t]._aSortData,h=s[e]._aSortData;for(a=0;a<c;a++)if(0!==(i=(i=u[(l=r[a]).col])<(n=h[l.col])?-1:i>n?1:0))return"asc"===l.dir?i:-i;return(i=o[t])<(n=o[e])?-1:i>n?1:0}):c.sort(function(t,e){var i,n,l,c,u=r.length,h=s[t]._aSortData,d=s[e]._aSortData;for(l=0;l<u;l++)if(i=h[(c=r[l]).col],n=d[c.col],0!==(i=(c=a[c.type+"-"+c.dir]||a["string-"+c.dir])(i,n)))return i;return(i=o[t])<(n=o[e])?-1:i>n?1:0})}t.bSorted=!0}function wt(t){for(var e,i,n=t.aoColumns,r=Lt(t),o=(t=t.oLanguage.oAria,0),a=n.length;o<a;o++){var s=(i=n[o]).asSorting;e=i.sTitle.replace(/<.*?>/g,"");var l=i.nTh;l.removeAttribute("aria-sort"),i.bSortable&&(0<r.length&&r[0].col==o?(l.setAttribute("aria-sort","asc"==r[0].dir?"ascending":"descending"),i=s[r[0].index+1]||s[0]):i=s[0],e+="asc"===i?t.sSortAscending:t.sSortDescending),l.setAttribute("aria-label",e)}}function _t(e,i,r,o){var a=e.aaSorting,s=e.aoColumns[i].asSorting,l=function(e,i){var r=e._idx;return r===n&&(r=t.inArray(e[1],s)),r+1<s.length?r+1:i?null:0};"number"==typeof a[0]&&(a=e.aaSorting=[a]),r&&e.oFeatures.bSortMulti?-1!==(r=t.inArray(i,re(a,"0")))?(null===(i=l(a[r],!0))&&1===a.length&&(i=0),null===i?a.splice(r,1):(a[r][1]=s[i],a[r]._idx=i)):(a.push([i,s[0],0]),a[a.length-1]._idx=0):a.length&&a[0][0]==i?(i=l(a[0]),a.length=1,a[0][1]=s[i],a[0]._idx=i):(a.length=0,a.push([i,s[0]]),a[0]._idx=0),F(e),"function"==typeof o&&o(e)}function St(t,e,i,n){var r=t.aoColumns[i];Ot(e,{},function(e){!1!==r.bSortable&&(t.oFeatures.bProcessing?(ht(t,!0),setTimeout(function(){_t(t,i,e.shiftKey,n),"ssp"!==Bt(t)&&ht(t,!1)},0)):_t(t,i,e.shiftKey,n))})}function Ct(e){var i,n,r=e.aLastSort,o=e.oClasses.sSortColumn,a=Lt(e),s=e.oFeatures;if(s.bSort&&s.bSortClasses){for(s=0,i=r.length;s<i;s++)n=r[s].src,t(re(e.aoData,"anCells",n)).removeClass(o+(2>s?s+1:3));for(s=0,i=a.length;s<i;s++)n=a[s].src,t(re(e.aoData,"anCells",n)).addClass(o+(2>s?s+1:3))}e.aLastSort=a}function kt(t,e){var i,n=t.aoColumns[e],r=Gt.ext.order[n.sSortDataType];r&&(i=r.call(t.oInstance,t,e,g(t,e)));for(var o,a=Gt.ext.type.order[n.sType+"-pre"],s=0,l=t.aoData.length;s<l;s++)(n=t.aoData[s])._aSortData||(n._aSortData=[]),(!n._aSortData[e]||r)&&(o=r?i[s]:w(t,s,e,"sort"),n._aSortData[e]=a?a(o):o)}function Tt(e){if(e.oFeatures.bStateSave&&!e.bDestroying){var i={time:+new Date,start:e._iDisplayStart,length:e._iDisplayLength,order:t.extend(!0,[],e.aaSorting),search:J(e.oPreviousSearch),columns:t.map(e.aoColumns,function(t,i){return{visible:t.bVisible,search:J(e.aoPreSearchCols[i])}})};Nt(e,"aoStateSaveParams","stateSaveParams",[e,i]),e.oSavedState=i,e.fnStateSaveCallback.call(e.oInstance,e,i)}}function Et(e,i,r){var o,a,s=e.aoColumns;i=function(i){if(i&&i.time){var l=Nt(e,"aoStateLoadParams","stateLoadParams",[e,i]);if(-1===t.inArray(!1,l)&&!(0<(l=e.iStateDuration)&&i.time<+new Date-1e3*l||i.columns&&s.length!==i.columns.length)){if(e.oLoadedState=t.extend(!0,{},i),i.start!==n&&(e._iDisplayStart=i.start,e.iInitDisplayStart=i.start),i.length!==n&&(e._iDisplayLength=i.length),i.order!==n&&(e.aaSorting=[],t.each(i.order,function(t,i){e.aaSorting.push(i[0]>=s.length?[0,i[1]]:i)})),i.search!==n&&t.extend(e.oPreviousSearch,tt(i.search)),i.columns)for(o=0,a=i.columns.length;o<a;o++)(l=i.columns[o]).visible!==n&&(s[o].bVisible=l.visible),l.search!==n&&t.extend(e.aoPreSearchCols[o],tt(l.search));Nt(e,"aoStateLoaded","stateLoaded",[e,i])}}r()};if(e.oFeatures.bStateSave){var l=e.fnStateLoadCallback.call(e.oInstance,e,i);l!==n&&i(l)}else r()}function At(e){var i=Gt.settings;return-1!==(e=t.inArray(e,re(i,"nTable")))?i[e]:null}function Mt(t,i,n,r){if(n="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+n,r&&(n+=". For more information about this error, please see http://datatables.net/tn/"+r),i)e.console&&console.log&&console.log(n);else if(i=(i=Gt.ext).sErrMode||i.errMode,t&&Nt(t,null,"error",[t,r,n]),"alert"==i)alert(n);else{if("throw"==i)throw Error(n);"function"==typeof i&&i(t,r,n)}}function Dt(e,i,r,o){t.isArray(r)?t.each(r,function(n,r){t.isArray(r)?Dt(e,i,r[0],r[1]):Dt(e,i,r)}):(o===n&&(o=r),i[r]!==n&&(e[o]=i[r]))}function Pt(e,i,n){var r,o;for(o in i)i.hasOwnProperty(o)&&(r=i[o],t.isPlainObject(r)?(t.isPlainObject(e[o])||(e[o]={}),t.extend(!0,e[o],r)):e[o]=n&&"data"!==o&&"aaData"!==o&&t.isArray(r)?r.slice():r);return e}function Ot(e,i,n){t(e).on("click.DT",i,function(i){t(e).blur(),n(i)}).on("keypress.DT",i,function(t){13===t.which&&(t.preventDefault(),n(t))}).on("selectstart.DT",function(){return!1})}function It(t,e,i,n){i&&t[e].push({fn:i,sName:n})}function Nt(e,i,n,r){var o=[];return i&&(o=t.map(e[i].slice().reverse(),function(t){return t.fn.apply(e.oInstance,r)})),null!==n&&(i=t.Event(n+".dt"),t(e.nTable).trigger(i,r),o.push(i.result)),o}function Rt(t){var e=t._iDisplayStart,i=t.fnDisplayEnd(),n=t._iDisplayLength;e>=i&&(e=i-n),e-=e%n,(-1===n||0>e)&&(e=0),t._iDisplayStart=e}function Ft(e,i){var n=e.renderer,r=Gt.ext.renderer[i];return t.isPlainObject(n)&&n[i]?r[n[i]]||r._:"string"==typeof n&&r[n]||r._}function Bt(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function zt(t,e){var i=[],n=(i=Ee.numbers_length,Math.floor(i/2));return e<=i?i=ae(0,e):t<=n?((i=ae(0,i-2)).push("ellipsis"),i.push(e-1)):(t>=e-1-n?i=ae(e-(i-2),e):((i=ae(t-n+2,t+n-1)).push("ellipsis"),i.push(e-1)),i.splice(0,0,"ellipsis"),i.splice(0,0,0)),i.DT_el="span",i}function Ht(e){t.each({num:function(t){return Ae(t,e)},"num-fmt":function(t){return Ae(t,e,Qt)},"html-num":function(t){return Ae(t,e,$t)},"html-num-fmt":function(t){return Ae(t,e,$t,Qt)}},function(t,i){jt.type.order[t+e+"-pre"]=i,t.match(/^html\-/)&&(jt.type.search[t+e]=jt.type.search.html)})}function Vt(t){return function(){var e=[At(this[Gt.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return Gt.ext.internal[t].apply(this,e)}}var jt,Wt,Ut,Yt,Gt=function(e){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new Wt(t?At(this[jt.iApiIndex]):this)},this.fnAddData=function(e,i){var r=this.api(!0),o=t.isArray(e)&&(t.isArray(e[0])||t.isPlainObject(e[0]))?r.rows.add(e):r.row.add(e);return(i===n||i)&&r.draw(),o.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),i=e.settings()[0],r=i.oScroll;t===n||t?e.draw(!1):(""!==r.sX||""!==r.sY)&&ft(i)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===n||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,i){var r=this.api(!0),o=(t=r.rows(t)).settings()[0],a=o.aoData[t[0][0]];return t.remove(),e&&e.call(this,o,a),(i===n||i)&&r.draw(),a},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,i,r,o,a){o=this.api(!0),null===e||e===n?o.search(t,i,r,a):o.column(e).search(t,i,r,a),o.draw()},this.fnGetData=function(t,e){var i=this.api(!0);if(t!==n){var r=t.nodeName?t.nodeName.toLowerCase():"";return e!==n||"td"==r||"th"==r?i.cell(t,e).data():i.row(t).data()||null}return i.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==n?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),i=t.nodeName.toUpperCase();return"TR"==i?e.row(t).index():"TD"==i||"TH"==i?[(t=e.cell(t).index()).row,t.columnVisible,t.column]:null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,i){return this.api(!0).row(t).child(e,i).show().child()[0]},this.fnPageChange=function(t,e){var i=this.api(!0).page(t);(e===n||e)&&i.draw(!1)},this.fnSetColumnVis=function(t,e,i){t=this.api(!0).column(t).visible(e),(i===n||i)&&t.columns.adjust().draw()},this.fnSettings=function(){return At(this[jt.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,i){this.api(!0).order.listener(t,e,i)},this.fnUpdate=function(t,e,i,r,o){var a=this.api(!0);return i===n||null===i?a.row(e).data(t):a.cell(e,i).data(t),(o===n||o)&&a.columns.adjust(),(r===n||r)&&a.draw(),0},this.fnVersionCheck=jt.fnVersionCheck;var i=this,r=e===n,u=this.length;for(var f in r&&(e={}),this.oApi=this.internal=jt.internal,Gt.ext.internal)f&&(this[f]=Vt(f));return this.each(function(){var f,p={},g=1<u?Pt(p,e,!0):e,m=0,v=(p=this.getAttribute("id"),!1),y=Gt.defaults,w=t(this);if("table"!=this.nodeName.toLowerCase())Mt(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{s(y),l(y.column),o(y,y,!0),o(y.column,y.column,!0),o(y,t.extend(g,w.data()));var _=Gt.settings;m=0;for(f=_.length;m<f;m++){var S=_[m];if(S.nTable==this||S.nTHead&&S.nTHead.parentNode==this||S.nTFoot&&S.nTFoot.parentNode==this){var k=g.bRetrieve!==n?g.bRetrieve:y.bRetrieve;if(r||k)return S.oInstance;if(g.bDestroy!==n?g.bDestroy:y.bDestroy){S.oInstance.fnDestroy();break}return void Mt(S,0,"Cannot reinitialise DataTable",3)}if(S.sTableId==this.id){_.splice(m,1);break}}null!==p&&""!==p||(this.id=p="DataTables_Table_"+Gt.ext._unique++);var T=t.extend(!0,{},Gt.models.oSettings,{sDestroyWidth:w[0].style.width,sInstance:p,sTableId:p});T.nTable=this,T.oApi=i.internal,T.oInit=g,_.push(T),T.oInstance=1===i.length?i:w.dataTable(),s(g),a(g.oLanguage),g.aLengthMenu&&!g.iDisplayLength&&(g.iDisplayLength=t.isArray(g.aLengthMenu[0])?g.aLengthMenu[0][0]:g.aLengthMenu[0]),g=Pt(t.extend(!0,{},y),g),Dt(T.oFeatures,g,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" ")),Dt(T,g,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),Dt(T.oScroll,g,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),Dt(T.oLanguage,g,"fnInfoCallback"),It(T,"aoDrawCallback",g.fnDrawCallback,"user"),It(T,"aoServerParams",g.fnServerParams,"user"),It(T,"aoStateSaveParams",g.fnStateSaveParams,"user"),It(T,"aoStateLoadParams",g.fnStateLoadParams,"user"),It(T,"aoStateLoaded",g.fnStateLoaded,"user"),It(T,"aoRowCallback",g.fnRowCallback,"user"),It(T,"aoRowCreatedCallback",g.fnCreatedRow,"user"),It(T,"aoHeaderCallback",g.fnHeaderCallback,"user"),It(T,"aoFooterCallback",g.fnFooterCallback,"user"),It(T,"aoInitComplete",g.fnInitComplete,"user"),It(T,"aoPreDrawCallback",g.fnPreDrawCallback,"user"),T.rowIdFn=C(g.rowId),c(T);var E=T.oClasses;t.extend(E,Gt.ext.classes,g.oClasses),w.addClass(E.sTable),T.iInitDisplayStart===n&&(T.iInitDisplayStart=g.iDisplayStart,T._iDisplayStart=g.iDisplayStart),null!==g.iDeferLoading&&(T.bDeferLoading=!0,p=t.isArray(g.iDeferLoading),T._iRecordsDisplay=p?g.iDeferLoading[0]:g.iDeferLoading,T._iRecordsTotal=p?g.iDeferLoading[1]:g.iDeferLoading);var A=T.oLanguage;t.extend(!0,A,g.oLanguage),A.sUrl&&(t.ajax({dataType:"json",url:A.sUrl,success:function(e){a(e),o(y.oLanguage,e),t.extend(!0,A,e),rt(T)},error:function(){rt(T)}}),v=!0),null===g.asStripeClasses&&(T.asStripeClasses=[E.sStripeOdd,E.sStripeEven]);p=T.asStripeClasses;var M=w.children("tbody").find("tr").eq(0);if(-1!==t.inArray(!0,t.map(p,function(t){return M.hasClass(t)}))&&(t("tbody tr",this).removeClass(p.join(" ")),T.asDestroyStripes=p.slice()),p=[],0!==(_=this.getElementsByTagName("thead")).length&&(z(T.aoHeader,_[0]),p=H(T)),null===g.aoColumns)for(_=[],m=0,f=p.length;m<f;m++)_.push(null);else _=g.aoColumns;for(m=0,f=_.length;m<f;m++)h(T,p?p[m]:null);if(b(T,g.aoColumnDefs,_,function(t,e){d(T,t,e)}),M.length){var D=function(t,e){return null!==t.getAttribute("data-"+e)?e:null};t(M[0]).children("th, td").each(function(t,e){var i=T.aoColumns[t];if(i.mData===t){var r=D(e,"sort")||D(e,"order"),o=D(e,"filter")||D(e,"search");null===r&&null===o||(i.mData={_:t+".display",sort:null!==r?t+".@data-"+r:n,type:null!==r?t+".@data-"+r:n,filter:null!==o?t+".@data-"+o:n},d(T,t))}})}var P=T.oFeatures;p=function(){if(g.aaSorting===n){var e=T.aaSorting;for(m=0,f=e.length;m<f;m++)e[m][1]=T.aoColumns[m].asSorting[0]}Ct(T),P.bSort&&It(T,"aoDrawCallback",function(){if(T.bSorted){var e=Lt(T),i={};t.each(e,function(t,e){i[e.src]=e.dir}),Nt(T,null,"order",[T,e,i]),wt(T)}}),It(T,"aoDrawCallback",function(){(T.bSorted||"ssp"===Bt(T)||P.bDeferRender)&&Ct(T)},"sc");e=w.children("caption").each(function(){this._captionSide=t(this).css("caption-side")});var i=w.children("thead");if(0===i.length&&(i=t("<thead/>").appendTo(w)),T.nTHead=i[0],0===(i=w.children("tbody")).length&&(i=t("<tbody/>").appendTo(w)),T.nTBody=i[0],0===(i=w.children("tfoot")).length&&e.length>0&&(""!==T.oScroll.sX||""!==T.oScroll.sY)&&(i=t("<tfoot/>").appendTo(w)),0===i.length||0===i.children().length?w.addClass(E.sNoFooter):i.length>0&&(T.nTFoot=i[0],z(T.aoFooter,T.nTFoot)),g.aaData)for(m=0;m<g.aaData.length;m++)L(T,g.aaData[m]);else(T.bDeferLoading||"dom"==Bt(T))&&x(T,t(T.nTBody).children("tr"));T.aiDisplay=T.aiDisplayMaster.slice(),T.bInitialised=!0,!1===v&&rt(T)};g.bStateSave?(P.bStateSave=!0,It(T,"aoDrawCallback",Tt,"state_save"),Et(T,g,p)):p()}}),i=null,this},Xt={},qt=/[\r\n]/g,$t=/<.*?>/g,Zt=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,Kt=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Qt=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,Jt=function(t){return!t||!0===t||"-"===t},te=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},ee=function(t,e){return Xt[e]||(Xt[e]=RegExp(de(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(Xt[e],"."):t},ie=function(t,e,i){var n="string"==typeof t;return!!Jt(t)||(e&&n&&(t=ee(t,e)),i&&n&&(t=t.replace(Qt,"")),!isNaN(parseFloat(t))&&isFinite(t))},ne=function(t,e,i){return!!Jt(t)||((Jt(t)||"string"==typeof t)&&!!ie(t.replace($t,""),e,i)||null)},re=function(t,e,i){var r=[],o=0,a=t.length;if(i!==n)for(;o<a;o++)t[o]&&t[o][e]&&r.push(t[o][e][i]);else for(;o<a;o++)t[o]&&r.push(t[o][e]);return r},oe=function(t,e,i,r){var o=[],a=0,s=e.length;if(r!==n)for(;a<s;a++)t[e[a]][i]&&o.push(t[e[a]][i][r]);else for(;a<s;a++)o.push(t[e[a]][i]);return o},ae=function(t,e){var i,r=[];e===n?(e=0,i=t):(i=e,e=t);for(var o=e;o<i;o++)r.push(o);return r},se=function(t){for(var e=[],i=0,n=t.length;i<n;i++)t[i]&&e.push(t[i]);return e},le=function(t){var e;t:{if(!(2>t.length))for(var i=(e=t.slice().sort())[0],n=1,r=e.length;n<r;n++){if(e[n]===i){e=!1;break t}i=e[n]}e=!0}if(e)return t.slice();e=[];r=t.length;var o,a=0;n=0;t:for(;n<r;n++){for(i=t[n],o=0;o<a;o++)if(e[o]===i)continue t;e.push(i),a++}return e};Gt.util={throttle:function(t,e){var i,r,o=e!==n?e:200;return function(){var e=this,a=+new Date,s=arguments;i&&a<i+o?(clearTimeout(r),r=setTimeout(function(){i=n,t.apply(e,s)},o)):(i=a,t.apply(e,s))}},escapeRegex:function(t){return t.replace(Kt,"\\$1")}};var ce=function(t,e,i){t[e]!==n&&(t[i]=t[e])},ue=/\[.*?\]$/,he=/\(\)$/,de=Gt.util.escapeRegex,fe=t("<div>")[0],pe=fe.textContent!==n,ge=/<.*?>/g,me=Gt.util.throttle,ve=[],ye=Array.prototype;Wt=function(e,i){if(!(this instanceof Wt))return new Wt(e,i);var n=[],r=function(e){(e=function(e){var i,n,r=Gt.settings,o=t.map(r,function(t){return t.nTable});return e?e.nTable&&e.oApi?[e]:e.nodeName&&"table"===e.nodeName.toLowerCase()?-1!==(i=t.inArray(e,o))?[r[i]]:null:e&&"function"==typeof e.settings?e.settings().toArray():("string"==typeof e?n=t(e):e instanceof t&&(n=e),n?n.map(function(){return-1!==(i=t.inArray(this,o))?r[i]:null}).toArray():void 0):[]}(e))&&(n=n.concat(e))};if(t.isArray(e))for(var o=0,a=e.length;o<a;o++)r(e[o]);else r(e);this.context=le(n),i&&t.merge(this,i),this.selector={rows:null,cols:null,opts:null},Wt.extend(this,this,ve)},Gt.Api=Wt,t.extend(Wt.prototype,{any:function(){return 0!==this.count()},concat:ye.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,i=this.length;e<i;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new Wt(e[t],this[t]):null},filter:function(t){var e=[];if(ye.filter)e=ye.filter.call(this,t,this);else for(var i=0,n=this.length;i<n;i++)t.call(this,this[i],i,this)&&e.push(this[i]);return new Wt(this.context,e)},flatten:function(){var t=[];return new Wt(this.context,t.concat.apply(t,this.toArray()))},join:ye.join,indexOf:ye.indexOf||function(t,e){for(var i=e||0,n=this.length;i<n;i++)if(this[i]===t)return i;return-1},iterator:function(t,e,i,r){var o,a,s,l,c,u,h,d=[],f=this.context,p=this.selector;for("string"==typeof t&&(r=i,i=e,e=t,t=!1),a=0,s=f.length;a<s;a++){var g=new Wt(f[a]);if("table"===e)(o=i.call(g,f[a],a))!==n&&d.push(o);else if("columns"===e||"rows"===e)(o=i.call(g,f[a],this[a],a))!==n&&d.push(o);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(h=this[a],"column-rows"===e&&(u=_e(f[a],p.opts)),l=0,c=h.length;l<c;l++)o=h[l],(o="cell"===e?i.call(g,f[a],o.row,o.column,a,l):i.call(g,f[a],o,a,l,u))!==n&&d.push(o)}return d.length||r?((e=(t=new Wt(f,t?d.concat.apply([],d):d)).selector).rows=p.rows,e.cols=p.cols,e.opts=p.opts,t):this},lastIndexOf:ye.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(ye.map)e=ye.map.call(this,t,this);else for(var i=0,n=this.length;i<n;i++)e.push(t.call(this,this[i],i));return new Wt(this.context,e)},pluck:function(t){return this.map(function(e){return e[t]})},pop:ye.pop,push:ye.push,reduce:ye.reduce||function(t,e){return u(this,t,e,0,this.length,1)},reduceRight:ye.reduceRight||function(t,e){return u(this,t,e,this.length-1,-1,-1)},reverse:ye.reverse,selector:null,shift:ye.shift,slice:function(){return new Wt(this.context,this)},sort:ye.sort,splice:ye.splice,toArray:function(){return ye.slice.call(this)},to$:function(){return t(this)},toJQuery:function(){return t(this)},unique:function(){return new Wt(this.context,le(this))},unshift:ye.unshift}),Wt.extend=function(e,i,n){if(n.length&&i&&(i instanceof Wt||i.__dt_wrapper)){var r,o,a,s=function(t,e,i){return function(){var n=e.apply(t,arguments);return Wt.extend(n,n,i.methodExt),n}};for(r=0,o=n.length;r<o;r++)i[(a=n[r]).name]="function"==typeof a.val?s(e,a.val,a):t.isPlainObject(a.val)?{}:a.val,i[a.name].__dt_wrapper=!0,Wt.extend(e,i[a.name],a.propExt)}},Wt.register=Ut=function(e,i){if(t.isArray(e))for(var n=0,r=e.length;n<r;n++)Wt.register(e[n],i);else{var o,a,s=e.split("."),l=ve;for(n=0,r=s.length;n<r;n++){var c;o=(a=-1!==s[n].indexOf("()"))?s[n].replace("()",""):s[n];t:{c=0;for(var u=l.length;c<u;c++)if(l[c].name===o){c=l[c];break t}c=null}c||(c={name:o,val:{},methodExt:[],propExt:[]},l.push(c)),n===r-1?c.val=i:l=a?c.methodExt:c.propExt}}},Wt.registerPlural=Yt=function(e,i,r){Wt.register(e,r),Wt.register(i,function(){var e=r.apply(this,arguments);return e===this?this:e instanceof Wt?e.length?t.isArray(e[0])?new Wt(e.context,e[0]):e[0]:n:e})},Ut("tables()",function(e){var i;if(e){i=Wt;var n=this.context;if("number"==typeof e)e=[n[e]];else{var r=t.map(n,function(t){return t.nTable});e=t(r).filter(e).map(function(){var e=t.inArray(this,r);return n[e]}).toArray()}i=new i(e)}else i=this;return i}),Ut("table()",function(t){var e=(t=this.tables(t)).context;return e.length?new Wt(e[0]):t}),Yt("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),Yt("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),Yt("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),Yt("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),Yt("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),Ut("draw()",function(t){return this.iterator("table",function(e){"page"===t?R(e):("string"==typeof t&&(t="full-hold"!==t),F(e,!1===t))})}),Ut("page()",function(t){return t===n?this.page.info().page:this.iterator("table",function(e){ct(e,t)})}),Ut("page.info()",function(){if(0===this.context.length)return n;var t=this.context[0],e=t._iDisplayStart,i=t.oFeatures.bPaginate?t._iDisplayLength:-1,r=t.fnRecordsDisplay(),o=-1===i;return{page:o?0:Math.floor(e/i),pages:o?1:Math.ceil(r/i),start:e,end:t.fnDisplayEnd(),length:i,recordsTotal:t.fnRecordsTotal(),recordsDisplay:r,serverSide:"ssp"===Bt(t)}}),Ut("page.len()",function(t){return t===n?0!==this.context.length?this.context[0]._iDisplayLength:n:this.iterator("table",function(e){at(e,t)})});var be=function(t,e,i){if(i){var n=new Wt(t);n.one("draw",function(){i(n.ajax.json())})}if("ssp"==Bt(t))F(t,e);else{ht(t,!0);var r=t.jqXHR;r&&4!==r.readyState&&r.abort(),V(t,[],function(i){E(t);for(var n=0,r=(i=Y(t,i)).length;n<r;n++)L(t,i[n]);F(t,e),ht(t,!1)})}};Ut("ajax.json()",function(){var t=this.context;if(0<t.length)return t[0].json}),Ut("ajax.params()",function(){var t=this.context;if(0<t.length)return t[0].oAjaxData}),Ut("ajax.reload()",function(t,e){return this.iterator("table",function(i){be(i,!1===e,t)})}),Ut("ajax.url()",function(e){var i=this.context;return e===n?0===i.length?n:(i=i[0]).ajax?t.isPlainObject(i.ajax)?i.ajax.url:i.ajax:i.sAjaxSource:this.iterator("table",function(i){t.isPlainObject(i.ajax)?i.ajax.url=e:i.ajax=e})}),Ut("ajax.url().load()",function(t,e){return this.iterator("table",function(i){be(i,!1===e,t)})});var Le=function(e,i,r,o,a){var s,l,c,u,h,d,f=[];for(c=typeof i,i&&"string"!==c&&"function"!==c&&i.length!==n||(i=[i]),c=0,u=i.length;c<u;c++)for(h=0,d=(l=i[c]&&i[c].split&&!i[c].match(/[\[\(:]/)?i[c].split(","):[i[c]]).length;h<d;h++)(s=r("string"==typeof l[h]?t.trim(l[h]):l[h]))&&s.length&&(f=f.concat(s));if((e=jt.selector[e]).length)for(c=0,u=e.length;c<u;c++)f=e[c](o,a,f);return le(f)},xe=function(e){return e||(e={}),e.filter&&e.search===n&&(e.search=e.filter),t.extend({search:"none",order:"current",page:"all"},e)},we=function(t){for(var e=0,i=t.length;e<i;e++)if(0<t[e].length)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t},_e=function(e,i){var n,r,o,a=[],s=e.aiDisplay;o=e.aiDisplayMaster;var l=i.search;if(n=i.order,r=i.page,"ssp"==Bt(e))return"removed"===l?[]:ae(0,o.length);if("current"==r)for(n=e._iDisplayStart,r=e.fnDisplayEnd();n<r;n++)a.push(s[n]);else if("current"==n||"applied"==n){if("none"==l)a=o.slice();else if("applied"==l)a=s.slice();else if("removed"==l){var c={};for(n=0,r=s.length;n<r;n++)c[s[n]]=null;a=t.map(o,function(t){return c.hasOwnProperty(t)?null:t})}}else if("index"==n||"original"==n)for(n=0,r=e.aoData.length;n<r;n++)"none"==l?a.push(n):(-1===(o=t.inArray(n,s))&&"removed"==l||0<=o&&"applied"==l)&&a.push(n);return a};Ut("rows()",function(e,i){e===n?e="":t.isPlainObject(e)&&(i=e,e="");i=xe(i);var r=this.iterator("table",function(r){var o,a=i;return Le("row",e,function(e){var i=te(e),s=r.aoData;if(null!==i&&!a)return[i];if(o||(o=_e(r,a)),null!==i&&-1!==t.inArray(i,o))return[i];if(null===e||e===n||""===e)return o;if("function"==typeof e)return t.map(o,function(t){var i=s[t];return e(t,i._aData,i.nTr)?t:null});if(e.nodeName){i=e._DT_RowIndex;var l=e._DT_CellIndex;return i!==n?s[i]&&s[i].nTr===e?[i]:[]:l?s[l.row]&&s[l.row].nTr===e?[l.row]:[]:(i=t(e).closest("*[data-dt-row]")).length?[i.data("dt-row")]:[]}return"string"==typeof e&&"#"===e.charAt(0)&&(i=r.aIds[e.replace(/^#/,"")])!==n?[i.idx]:(i=se(oe(r.aoData,o,"nTr")),t(i).filter(e).map(function(){return this._DT_RowIndex}).toArray())},r,a)},1);return r.selector.rows=e,r.selector.opts=i,r}),Ut("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||n},1)}),Ut("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return oe(t.aoData,e,"_aData")},1)}),Yt("rows().cache()","row().cache()",function(t){return this.iterator("row",function(e,i){var n=e.aoData[i];return"search"===t?n._aFilterData:n._aSortData},1)}),Yt("rows().invalidate()","row().invalidate()",function(t){return this.iterator("row",function(e,i){M(e,i,t)})}),Yt("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),Yt("rows().ids()","row().id()",function(t){for(var e=[],i=this.context,n=0,r=i.length;n<r;n++)for(var o=0,a=this[n].length;o<a;o++){var s=i[n].rowIdFn(i[n].aoData[this[n][o]]._aData);e.push((!0===t?"#":"")+s)}return new Wt(i,e)}),Yt("rows().remove()","row().remove()",function(){var t=this;return this.iterator("row",function(e,i,r){var o,a,s,l,c,u=e.aoData,h=u[i];for(u.splice(i,1),o=0,a=u.length;o<a;o++)if(c=(s=u[o]).anCells,null!==s.nTr&&(s.nTr._DT_RowIndex=o),null!==c)for(s=0,l=c.length;s<l;s++)c[s]._DT_CellIndex.row=o;A(e.aiDisplayMaster,i),A(e.aiDisplay,i),A(t[r],i,!1),0<e._iRecordsDisplay&&e._iRecordsDisplay--,Rt(e),(i=e.rowIdFn(h._aData))!==n&&delete e.aIds[i]}),this.iterator("table",function(t){for(var e=0,i=t.aoData.length;e<i;e++)t.aoData[e].idx=e}),this}),Ut("rows.add()",function(e){var i=this.iterator("table",function(t){var i,n,r,o=[];for(n=0,r=e.length;n<r;n++)(i=e[n]).nodeName&&"TR"===i.nodeName.toUpperCase()?o.push(x(t,i)[0]):o.push(L(t,i));return o},1),n=this.rows(-1);return n.pop(),t.merge(n,i),n}),Ut("row()",function(t,e){return we(this.rows(t,e))}),Ut("row().data()",function(e){var i=this.context;if(e===n)return i.length&&this.length?i[0].aoData[this[0]]._aData:n;var r=i[0].aoData[this[0]];return r._aData=e,t.isArray(e)&&r.nTr.id&&k(i[0].rowId)(e,r.nTr.id),M(i[0],this[0],"data"),this}),Ut("row().node()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null}),Ut("row.add()",function(e){e instanceof t&&e.length&&(e=e[0]);var i=this.iterator("table",function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?x(t,e)[0]:L(t,e)});return this.row(i[0])});var Se=function(t,e){var i=t.context;i.length&&(i=i[0].aoData[e!==n?e:t[0]])&&i._details&&(i._details.remove(),i._detailsShow=n,i._details=n)},Ce=function(t,e){var i=t.context;if(i.length&&t.length){var n=i[0].aoData[t[0]];if(n._details){(n._detailsShow=e)?n._details.insertAfter(n.nTr):n._details.detach();var r=i[0],o=new Wt(r),a=r.aoData;o.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"),0<re(a,"_details").length&&(o.on("draw.dt.DT_details",function(t,e){r===e&&o.rows({page:"current"}).eq(0).each(function(t){(t=a[t])._detailsShow&&t._details.insertAfter(t.nTr)})}),o.on("column-visibility.dt.DT_details",function(t,e){if(r===e)for(var i,n=m(e),o=0,s=a.length;o<s;o++)(i=a[o])._details&&i._details.children("td[colspan]").attr("colspan",n)}),o.on("destroy.dt.DT_details",function(t,e){if(r===e)for(var i=0,n=a.length;i<n;i++)a[i]._details&&Se(o,i)}))}}};Ut("row().child()",function(e,i){var r=this.context;if(e===n)return r.length&&this.length?r[0].aoData[this[0]]._details:n;if(!0===e)this.child.show();else if(!1===e)Se(this);else if(r.length&&this.length){var o=r[0],a=(r=r[0].aoData[this[0]],[]),s=function(e,i){if(t.isArray(e)||e instanceof t)for(var n=0,r=e.length;n<r;n++)s(e[n],i);else e.nodeName&&"tr"===e.nodeName.toLowerCase()?a.push(e):(n=t("<tr><td/></tr>").addClass(i),t("td",n).addClass(i).html(e)[0].colSpan=m(o),a.push(n[0]))};s(e,i),r._details&&r._details.detach(),r._details=t(a),r._detailsShow&&r._details.insertAfter(r.nTr)}return this}),Ut(["row().child.show()","row().child().show()"],function(){return Ce(this,!0),this}),Ut(["row().child.hide()","row().child().hide()"],function(){return Ce(this,!1),this}),Ut(["row().child.remove()","row().child().remove()"],function(){return Se(this),this}),Ut("row().child.isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1});var ke=/^([^:]+):(name|visIdx|visible)$/,Te=function(t,e,i,n,r){i=[],n=0;for(var o=r.length;n<o;n++)i.push(w(t,r[n],e));return i};Ut("columns()",function(e,i){e===n?e="":t.isPlainObject(e)&&(i=e,e="");i=xe(i);var r=this.iterator("table",function(n){var r=e,o=i,a=n.aoColumns,s=re(a,"sName"),l=re(a,"nTh");return Le("column",r,function(e){var i=te(e);if(""===e)return ae(a.length);if(null!==i)return[i>=0?i:a.length+i];if("function"==typeof e){var r=_e(n,o);return t.map(a,function(t,i){return e(i,Te(n,i,0,0,r),l[i])?i:null})}var c="string"==typeof e?e.match(ke):"";if(c)switch(c[2]){case"visIdx":case"visible":if((i=parseInt(c[1],10))<0){var u=t.map(a,function(t,e){return t.bVisible?e:null});return[u[u.length+i]]}return[p(n,i)];case"name":return t.map(s,function(t,e){return t===c[1]?e:null});default:return[]}return e.nodeName&&e._DT_CellIndex?[e._DT_CellIndex.column]:(i=t(l).filter(e).map(function(){return t.inArray(this,l)}).toArray()).length||!e.nodeName?i:(i=t(e).closest("*[data-dt-column]")).length?[i.data("dt-column")]:[]},n,o)},1);return r.selector.cols=e,r.selector.opts=i,r}),Yt("columns().header()","column().header()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),Yt("columns().footer()","column().footer()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),Yt("columns().data()","column().data()",function(){return this.iterator("column-rows",Te,1)}),Yt("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),Yt("columns().cache()","column().cache()",function(t){return this.iterator("column-rows",function(e,i,n,r,o){return oe(e.aoData,o,"search"===t?"_aFilterData":"_aSortData",i)},1)}),Yt("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,i,n,r){return oe(t.aoData,r,"anCells",e)},1)}),Yt("columns().visible()","column().visible()",function(e,i){var r=this.iterator("column",function(i,r){if(e===n)return i.aoColumns[r].bVisible;var o,a,s,l=i.aoColumns,c=l[r],u=i.aoData;if(e!==n&&c.bVisible!==e){if(e){var h=t.inArray(!0,re(l,"bVisible"),r+1);for(o=0,a=u.length;o<a;o++)s=u[o].nTr,l=u[o].anCells,s&&s.insertBefore(l[r],l[h]||null)}else t(re(i.aoData,"anCells",r)).detach();c.bVisible=e,N(i,i.aoHeader),N(i,i.aoFooter),i.aiDisplay.length||t(i.nTBody).find("td[colspan]").attr("colspan",m(i)),Tt(i)}});return e!==n&&(this.iterator("column",function(t,n){Nt(t,null,"column-visibility",[t,n,e,i])}),(i===n||i)&&this.columns.adjust()),r}),Yt("columns().indexes()","column().index()",function(t){return this.iterator("column",function(e,i){return"visible"===t?g(e,i):i},1)}),Ut("columns.adjust()",function(){return this.iterator("table",function(t){f(t)},1)}),Ut("column.index()",function(t,e){if(0!==this.context.length){var i=this.context[0];if("fromVisible"===t||"toData"===t)return p(i,e);if("fromData"===t||"toVisible"===t)return g(i,e)}}),Ut("column()",function(t,e){return we(this.columns(t,e))}),Ut("cells()",function(e,i,r){if(t.isPlainObject(e)&&(e.row===n?(r=e,e=null):(r=i,i=null)),t.isPlainObject(i)&&(r=i,i=null),null===i||i===n)return this.iterator("table",function(i){var o,a,s,l,c,u,h,d=e,f=xe(r),p=i.aoData,g=_e(i,f),m=se(oe(p,g,"anCells")),v=t([].concat.apply([],m)),y=i.aoColumns.length;return Le("cell",d,function(e){var r="function"==typeof e;if(null===e||e===n||r){for(a=[],s=0,l=g.length;s<l;s++)for(o=g[s],c=0;c<y;c++)u={row:o,column:c},r?(h=p[o],e(u,w(i,o,c),h.anCells?h.anCells[c]:null)&&a.push(u)):a.push(u);return a}return t.isPlainObject(e)?e.column!==n&&e.row!==n&&-1!==t.inArray(e.row,g)?[e]:[]:(r=v.filter(e).map(function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}}).toArray()).length||!e.nodeName?r:(h=t(e).closest("*[data-dt-row]")).length?[{row:h.data("dt-row"),column:h.data("dt-column")}]:[]},i,f)});var o,a,s,l,c,u=this.columns(i),h=this.rows(e);this.iterator("table",function(t,e){for(o=[],a=0,s=h[e].length;a<s;a++)for(l=0,c=u[e].length;l<c;l++)o.push({row:h[e][a],column:u[e][l]})},1);var d=this.cells(o,r);return t.extend(d.selector,{cols:i,rows:e,opts:r}),d}),Yt("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,i){return(t=t.aoData[e])&&t.anCells?t.anCells[i]:n},1)}),Ut("cells().data()",function(){return this.iterator("cell",function(t,e,i){return w(t,e,i)},1)}),Yt("cells().cache()","cell().cache()",function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",function(e,i,n){return e.aoData[i][t][n]},1)}),Yt("cells().render()","cell().render()",function(t){return this.iterator("cell",function(e,i,n){return w(e,i,n,t)},1)}),Yt("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,i){return{row:e,column:i,columnVisible:g(t,i)}},1)}),Yt("cells().invalidate()","cell().invalidate()",function(t){return this.iterator("cell",function(e,i,n){M(e,i,t,n)})}),Ut("cell()",function(t,e,i){return we(this.cells(t,e,i))}),Ut("cell().data()",function(t){var e=this.context,i=this[0];return t===n?e.length&&i.length?w(e[0],i[0].row,i[0].column):n:(_(e[0],i[0].row,i[0].column,t),M(e[0],i[0].row,"data",i[0].column),this)}),Ut("order()",function(e,i){var r=this.context;return e===n?0!==r.length?r[0].aaSorting:n:("number"==typeof e?e=[[e,i]]:e.length&&!t.isArray(e[0])&&(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(t){t.aaSorting=e.slice()}))}),Ut("order.listener()",function(t,e,i){return this.iterator("table",function(n){St(n,t,e,i)})}),Ut("order.fixed()",function(e){if(!e){var i=(i=this.context).length?i[0].aaSortingFixed:n;return t.isArray(i)?{pre:i}:i}return this.iterator("table",function(i){i.aaSortingFixed=t.extend(!0,{},e)})}),Ut(["columns().order()","column().order()"],function(e){var i=this;return this.iterator("table",function(n,r){var o=[];t.each(i[r],function(t,i){o.push([i,e])}),n.aaSorting=o})}),Ut("search()",function(e,i,r,o){var a=this.context;return e===n?0!==a.length?a[0].oPreviousSearch.sSearch:n:this.iterator("table",function(n){n.oFeatures.bFilter&&X(n,t.extend({},n.oPreviousSearch,{sSearch:e+"",bRegex:null!==i&&i,bSmart:null===r||r,bCaseInsensitive:null===o||o}),1)})}),Yt("columns().search()","column().search()",function(e,i,r,o){return this.iterator("column",function(a,s){var l=a.aoPreSearchCols;if(e===n)return l[s].sSearch;a.oFeatures.bFilter&&(t.extend(l[s],{sSearch:e+"",bRegex:null!==i&&i,bSmart:null===r||r,bCaseInsensitive:null===o||o}),X(a,a.oPreviousSearch,1))})}),Ut("state()",function(){return this.context.length?this.context[0].oSavedState:null}),Ut("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),Ut("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),Ut("state.save()",function(){return this.iterator("table",function(t){Tt(t)})}),Gt.versionCheck=Gt.fnVersionCheck=function(t){for(var e,i,n=Gt.version.split("."),r=0,o=(t=t.split(".")).length;r<o;r++)if((e=parseInt(n[r],10)||0)!==(i=parseInt(t[r],10)||0))return e>i;return!0},Gt.isDataTable=Gt.fnIsDataTable=function(e){var i=t(e).get(0),n=!1;return e instanceof Gt.Api||(t.each(Gt.settings,function(e,r){var o=r.nScrollHead?t("table",r.nScrollHead)[0]:null,a=r.nScrollFoot?t("table",r.nScrollFoot)[0]:null;r.nTable!==i&&o!==i&&a!==i||(n=!0)}),n)},Gt.tables=Gt.fnTables=function(e){var i=!1;t.isPlainObject(e)&&(i=e.api,e=e.visible);var n=t.map(Gt.settings,function(i){if(!e||e&&t(i.nTable).is(":visible"))return i.nTable});return i?new Wt(n):n},Gt.camelToHungarian=o,Ut("$()",function(e,i){var n=this.rows(i).nodes();n=t(n);return t([].concat(n.filter(e).toArray(),n.find(e).toArray()))}),t.each(["on","one","off"],function(e,i){Ut(i+"()",function(){var e=Array.prototype.slice.call(arguments);e[0]=t.map(e[0].split(/\s/),function(t){return t.match(/\.dt\b/)?t:t+".dt"}).join(" ");var n=t(this.tables().nodes());return n[i].apply(n,e),this})}),Ut("clear()",function(){return this.iterator("table",function(t){E(t)})}),Ut("settings()",function(){return new Wt(this.context,this.context)}),Ut("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),Ut("data()",function(){return this.iterator("table",function(t){return re(t.aoData,"_aData")}).flatten()}),Ut("destroy()",function(i){return i=i||!1,this.iterator("table",function(n){var r,o=n.nTableWrapper.parentNode,a=n.oClasses,s=n.nTable,l=n.nTBody,c=n.nTHead,u=n.nTFoot,h=t(s),d=(l=t(l),t(n.nTableWrapper)),f=t.map(n.aoData,function(t){return t.nTr});n.bDestroying=!0,Nt(n,"aoDestroyCallback","destroy",[n]),i||new Wt(n).columns().visible(!0),d.off(".DT").find(":not(tbody *)").off(".DT"),t(e).off(".DT-"+n.sInstance),s!=c.parentNode&&(h.children("thead").detach(),h.append(c)),u&&s!=u.parentNode&&(h.children("tfoot").detach(),h.append(u)),n.aaSorting=[],n.aaSortingFixed=[],Ct(n),t(f).removeClass(n.asStripeClasses.join(" ")),t("th, td",c).removeClass(a.sSortable+" "+a.sSortableAsc+" "+a.sSortableDesc+" "+a.sSortableNone),l.children().detach(),l.append(f),h[c=i?"remove":"detach"](),d[c](),!i&&o&&(o.insertBefore(s,n.nTableReinsertBefore),h.css("width",n.sDestroyWidth).removeClass(a.sTable),(r=n.asDestroyStripes.length)&&l.children().each(function(e){t(this).addClass(n.asDestroyStripes[e%r])})),-1!==(o=t.inArray(n,Gt.settings))&&Gt.settings.splice(o,1)})}),t.each(["column","row","cell"],function(t,e){Ut(e+"s().every()",function(t){var i=this.selector.opts,r=this;return this.iterator(e,function(o,a,s,l,c){t.call(r[e](a,"cell"===e?s:i,"cell"===e?i:n),a,s,l,c)})})}),Ut("i18n()",function(e,i,r){var o=this.context[0];return(e=C(e)(o.oLanguage))===n&&(e=i),r!==n&&t.isPlainObject(e)&&(e=e[r]!==n?e[r]:e._),e.replace("%d",r)}),Gt.version="1.10.19",Gt.settings=[],Gt.models={},Gt.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},Gt.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},Gt.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},Gt.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:t.extend({},Gt.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},r(Gt.defaults),Gt.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},r(Gt.defaults.column),Gt.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:n,oAjaxData:n,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==Bt(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==Bt(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,i=e+t,n=this.aiDisplay.length,r=this.oFeatures,o=r.bPaginate;return r.bServerSide?!1===o||-1===t?e+n:Math.min(e+t,this._iRecordsDisplay):!o||i>n||-1===t?n:i},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},Gt.ext=jt={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:Gt.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:Gt.version},t.extend(jt,{afnFiltering:jt.search,aTypes:jt.type.detect,ofnSearch:jt.type.search,oSort:jt.type.order,afnSortData:jt.order,aoFeatures:jt.feature,oApi:jt.internal,oStdClasses:jt.classes,oPagination:jt.pager}),t.extend(Gt.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ee=Gt.ext.pager;t.extend(Ee,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(t,e){return[zt(t,e)]},simple_numbers:function(t,e){return["previous",zt(t,e),"next"]},full_numbers:function(t,e){return["first","previous",zt(t,e),"next","last"]},first_last_numbers:function(t,e){return["first",zt(t,e),"last"]},_numbers:zt,numbers_length:7}),t.extend(!0,Gt.ext.renderer,{pageButton:{_:function(e,r,o,a,s,l){var c,u,h,d=e.oClasses,f=e.oLanguage.oPaginate,p=e.oLanguage.oAria.paginate||{},g=0,m=function(i,n){var r,a,h,v,y=function(t){ct(e,t.data.action,!0)};for(r=0,a=n.length;r<a;r++)if(v=n[r],t.isArray(v))h=t("<"+(v.DT_el||"div")+"/>").appendTo(i),m(h,v);else{switch(c=null,u="",v){case"ellipsis":i.append('<span class="ellipsis">&#x2026;</span>');break;case"first":c=f.sFirst,u=v+(s>0?"":" "+d.sPageButtonDisabled);break;case"previous":c=f.sPrevious,u=v+(s>0?"":" "+d.sPageButtonDisabled);break;case"next":c=f.sNext,u=v+(s<l-1?"":" "+d.sPageButtonDisabled);break;case"last":c=f.sLast,u=v+(s<l-1?"":" "+d.sPageButtonDisabled);break;default:c=v+1,u=s===v?d.sPageButtonActive:""}null!==c&&(Ot(h=t("<a>",{class:d.sPageButton+" "+u,"aria-controls":e.sTableId,"aria-label":p[v],"data-dt-idx":g,tabindex:e.iTabIndex,id:0===o&&"string"==typeof v?e.sTableId+"_"+v:null}).html(c).appendTo(i),{action:v},y),g++)}};try{h=t(r).find(i.activeElement).data("dt-idx")}catch(t){}m(t(r).empty(),a),h!==n&&t(r).find("[data-dt-idx="+h+"]").focus()}}}),t.extend(Gt.ext.type.detect,[function(t,e){var i=e.oLanguage.sDecimal;return ie(t,i)?"num"+i:null},function(t){if(t&&!(t instanceof Date)&&!Zt.test(t))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||Jt(t)?"date":null},function(t,e){var i=e.oLanguage.sDecimal;return ie(t,i,!0)?"num-fmt"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return ne(t,i)?"html-num"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return ne(t,i,!0)?"html-num-fmt"+i:null},function(t){return Jt(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),t.extend(Gt.ext.type.search,{html:function(t){return Jt(t)?t:"string"==typeof t?t.replace(qt," ").replace($t,""):""},string:function(t){return Jt(t)?t:"string"==typeof t?t.replace(qt," "):t}});var Ae=function(t,e,i,n){return 0===t||t&&"-"!==t?(e&&(t=ee(t,e)),t.replace&&(i&&(t=t.replace(i,"")),n&&(t=t.replace(n,""))),1*t):-1/0};t.extend(jt.type.order,{"date-pre":function(t){return t=Date.parse(t),isNaN(t)?-1/0:t},"html-pre":function(t){return Jt(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return Jt(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:t>e?1:0},"string-desc":function(t,e){return t<e?1:t>e?-1:0}}),Ht(""),t.extend(!0,Gt.ext.renderer,{header:{_:function(e,i,n,r){t(e.nTable).on("order.dt.DT",function(t,o,a,s){e===o&&(t=n.idx,i.removeClass(n.sSortingClass+" "+r.sSortAsc+" "+r.sSortDesc).addClass("asc"==s[t]?r.sSortAsc:"desc"==s[t]?r.sSortDesc:n.sSortingClass))})},jqueryui:function(e,i,n,r){t("<div/>").addClass(r.sSortJUIWrapper).append(i.contents()).append(t("<span/>").addClass(r.sSortIcon+" "+n.sSortingClassJUI)).appendTo(i),t(e.nTable).on("order.dt.DT",function(t,o,a,s){e===o&&(t=n.idx,i.removeClass(r.sSortAsc+" "+r.sSortDesc).addClass("asc"==s[t]?r.sSortAsc:"desc"==s[t]?r.sSortDesc:n.sSortingClass),i.find("span."+r.sSortIcon).removeClass(r.sSortJUIAsc+" "+r.sSortJUIDesc+" "+r.sSortJUI+" "+r.sSortJUIAscAllowed+" "+r.sSortJUIDescAllowed).addClass("asc"==s[t]?r.sSortJUIAsc:"desc"==s[t]?r.sSortJUIDesc:n.sSortingClassJUI))})}}});var Me=function(t){return"string"==typeof t?t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"):t};return Gt.render={number:function(t,e,i,n,r){return{display:function(o){if("number"!=typeof o&&"string"!=typeof o)return o;var a=0>o?"-":"",s=parseFloat(o);return isNaN(s)?Me(o):(s=s.toFixed(i),o=Math.abs(s),s=parseInt(o,10),o=i?e+(o-s).toFixed(i).substring(2):"",a+(n||"")+s.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+o+(r||""))}}},text:function(){return{display:Me,filter:Me}}},t.extend(Gt.ext.internal,{_fnExternApiFunc:Vt,_fnBuildAjax:V,_fnAjaxUpdate:j,_fnAjaxParameters:W,_fnAjaxUpdateDraw:U,_fnAjaxDataSrc:Y,_fnAddColumn:h,_fnColumnOptions:d,_fnAdjustColumnSizing:f,_fnVisibleToColumnIndex:p,_fnColumnIndexToVisible:g,_fnVisbleColumns:m,_fnGetColumns:v,_fnColumnTypes:y,_fnApplyColumnDefs:b,_fnHungarianMap:r,_fnCamelToHungarian:o,_fnLanguageCompat:a,_fnBrowserDetect:c,_fnAddData:L,_fnAddTr:x,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==n?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(e,i,n){return t.inArray(n,e.aoData[i].anCells)},_fnGetCellData:w,_fnSetCellData:_,_fnSplitObjNotation:S,_fnGetObjectDataFn:C,_fnSetObjectDataFn:k,_fnGetDataMaster:T,_fnClearTable:E,_fnDeleteIndex:A,_fnInvalidate:M,_fnGetRowElements:D,_fnCreateTr:P,_fnBuildHead:I,_fnDrawHead:N,_fnDraw:R,_fnReDraw:F,_fnAddOptionsHtml:B,_fnDetectHeader:z,_fnGetUniqueThs:H,_fnFeatureHtmlFilter:G,_fnFilterComplete:X,_fnFilterCustom:q,_fnFilterColumn:$,_fnFilter:Z,_fnFilterCreateSearch:K,_fnEscapeRegex:de,_fnFilterData:Q,_fnFeatureHtmlInfo:et,_fnUpdateInfo:it,_fnInfoMacros:nt,_fnInitialise:rt,_fnInitComplete:ot,_fnLengthChange:at,_fnFeatureHtmlLength:st,_fnFeatureHtmlPaginate:lt,_fnPageChange:ct,_fnFeatureHtmlProcessing:ut,_fnProcessingDisplay:ht,_fnFeatureHtmlTable:dt,_fnScrollDraw:ft,_fnApplyToChildren:pt,_fnCalculateColumnWidths:gt,_fnThrottle:me,_fnConvertToWidth:mt,_fnGetWidestNode:vt,_fnGetMaxLenString:yt,_fnStringToCss:bt,_fnSortFlatten:Lt,_fnSort:xt,_fnSortAria:wt,_fnSortListener:_t,_fnSortAttachListener:St,_fnSortingClasses:Ct,_fnSortData:kt,_fnSaveState:Tt,_fnLoadState:Et,_fnSettingsFromNode:At,_fnLog:Mt,_fnMap:Dt,_fnBindAction:Ot,_fnCallbackReg:It,_fnCallbackFire:Nt,_fnLengthOverflow:Rt,_fnRenderer:Ft,_fnDataSource:Bt,_fnRowAttributes:O,_fnExtend:Pt,_fnCalculateEnd:function(){}}),t.fn.dataTable=Gt,Gt.$=t,t.fn.dataTableSettings=Gt.settings,t.fn.dataTableExt=Gt.ext,t.fn.DataTable=function(e){return t(this).dataTable(e).api()},t.each(Gt,function(e,i){t.fn.DataTable[e]=i}),t.fn.dataTable}),function(t){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?module.exports=function(e,i){return e||(e=window),i&&i.fn.dataTable||(i=require("datatables.net")(e,i).$),t(i,e,e.document)}:t(jQuery,window,document)}(function(t,e,i,n){var r=t.fn.dataTable;return t.extend(!0,r.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",renderer:"bootstrap"}),t.extend(r.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap4",sFilterInput:"form-control form-control-sm",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"}),r.ext.renderer.pageButton.bootstrap=function(e,o,a,s,l,c){var u,h,d,f=new r.Api(e),p=e.oClasses,g=e.oLanguage.oPaginate,m=e.oLanguage.oAria.paginate||{},v=0,y=function(i,n){var r,o,s,d,b=function(e){e.preventDefault(),!t(e.currentTarget).hasClass("disabled")&&f.page()!=e.data.action&&f.page(e.data.action).draw("page")};for(r=0,o=n.length;r<o;r++)if(d=n[r],t.isArray(d))y(i,d);else{switch(h=u="",d){case"ellipsis":u="&#x2026;",h="disabled";break;case"first":u=g.sFirst,h=d+(0<l?"":" disabled");break;case"previous":u=g.sPrevious,h=d+(0<l?"":" disabled");break;case"next":u=g.sNext,h=d+(l<c-1?"":" disabled");break;case"last":u=g.sLast,h=d+(l<c-1?"":" disabled");break;default:u=d+1,h=l===d?"active":""}u&&(s=t("<li>",{class:p.sPageButton+" "+h,id:0===a&&"string"==typeof d?e.sTableId+"_"+d:null}).append(t("<a>",{href:"#","aria-controls":e.sTableId,"aria-label":m[d],"data-dt-idx":v,tabindex:e.iTabIndex,class:"page-link"}).html(u)).appendTo(i),e.oApi._fnBindAction(s,{action:d},b),v++)}};try{d=t(o).find(i.activeElement).data("dt-idx")}catch(t){}y(t(o).empty().html('<ul class="pagination"/>').children("ul"),s),d!==n&&t(o).find("[data-dt-idx="+d+"]").focus()},r}),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.JSZip=t()}}(function(){return function t(e,i,n){function r(a,s){if(!i[a]){if(!e[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}var c=i[a]={exports:{}};e[a][0].call(c.exports,function(t){var i=e[a][1][t];return r(i||t)},c,c.exports,t,e,i,n)}return i[a].exports}for(var o="function"==typeof require&&require,a=0;a<n.length;a++)r(n[a]);return r}({1:[function(t,e,i){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(t,e){for(var i,r,o,a,s,l,c,u="",h=0;h<t.length;)a=(i=t.charCodeAt(h++))>>2,s=(3&i)<<4|(r=t.charCodeAt(h++))>>4,l=(15&r)<<2|(o=t.charCodeAt(h++))>>6,c=63&o,isNaN(r)?l=c=64:isNaN(o)&&(c=64),u=u+n.charAt(a)+n.charAt(s)+n.charAt(l)+n.charAt(c);return u},i.decode=function(t,e){var i,r,o,a,s,l,c="",u=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<t.length;)i=n.indexOf(t.charAt(u++))<<2|(a=n.indexOf(t.charAt(u++)))>>4,r=(15&a)<<4|(s=n.indexOf(t.charAt(u++)))>>2,o=(3&s)<<6|(l=n.indexOf(t.charAt(u++))),c+=String.fromCharCode(i),64!=s&&(c+=String.fromCharCode(r)),64!=l&&(c+=String.fromCharCode(o));return c}},{}],2:[function(t,e,i){"use strict";function n(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}n.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},e.exports=n},{}],3:[function(t,e,i){"use strict";i.STORE={magic:"\0\0",compress:function(t){return t},uncompress:function(t){return t},compressInputType:null,uncompressInputType:null},i.DEFLATE=t("./flate")},{"./flate":8}],4:[function(t,e,i){"use strict";var n=t("./utils"),r=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];e.exports=function(t,e){if(void 0===t||!t.length)return 0;var i="string"!==n.getTypeOf(t);void 0===e&&(e=0);var o=0;e^=-1;for(var a=0,s=t.length;a<s;a++)o=i?t[a]:t.charCodeAt(a),e=e>>>8^r[255&(e^o)];return-1^e}},{"./utils":21}],5:[function(t,e,i){"use strict";var n=t("./utils");function r(t){this.data=null,this.length=0,this.index=0}r.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var e,i=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)i=(i<<8)+this.byteAt(e);return this.index+=t,i},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1)}},e.exports=r},{"./utils":21}],6:[function(t,e,i){"use strict";i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!1,i.date=null,i.compression=null,i.comment=null},{}],7:[function(t,e,i){"use strict";var n=t("./utils");i.string2binary=function(t){return n.string2binary(t)},i.string2Uint8Array=function(t){return n.transformTo("uint8array",t)},i.uint8Array2String=function(t){return n.transformTo("string",t)},i.string2Blob=function(t){var e=n.transformTo("arraybuffer",t);return n.arrayBuffer2Blob(e)},i.arrayBuffer2Blob=function(t){return n.arrayBuffer2Blob(t)},i.transformTo=function(t,e){return n.transformTo(t,e)},i.getTypeOf=function(t){return n.getTypeOf(t)},i.checkSupport=function(t){return n.checkSupport(t)},i.MAX_VALUE_16BITS=n.MAX_VALUE_16BITS,i.MAX_VALUE_32BITS=n.MAX_VALUE_32BITS,i.pretty=function(t){return n.pretty(t)},i.findCompression=function(t){return n.findCompression(t)},i.isRegExp=function(t){return n.isRegExp(t)}},{"./utils":21}],8:[function(t,e,i){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=t("pako");i.uncompressInputType=n?"uint8array":"array",i.compressInputType=n?"uint8array":"array",i.magic="\b\0",i.compress=function(t){return r.deflateRaw(t)},i.uncompress=function(t){return r.inflateRaw(t)}},{pako:24}],9:[function(t,e,i){"use strict";var n=t("./base64");function r(t,e){if(!(this instanceof r))return new r(t,e);this.files={},this.comment=null,this.root="",t&&this.load(t,e),this.clone=function(){var t=new r;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}r.prototype=t("./object"),r.prototype.load=t("./load"),r.support=t("./support"),r.defaults=t("./defaults"),r.utils=t("./deprecatedPublicUtils"),r.base64={encode:function(t){return n.encode(t)},decode:function(t){return n.decode(t)}},r.compressions=t("./compressions"),e.exports=r},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(t,e,i){"use strict";var n=t("./base64"),r=t("./zipEntries");e.exports=function(t,e){var i,o,a,s;for((e=e||{}).base64&&(t=n.decode(t)),i=(o=new r(t,e)).files,a=0;a<i.length;a++)s=i[a],this.file(s.fileName,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileComment.length?s.fileComment:null,createFolders:e.createFolders});return o.zipComment.length&&(this.comment=o.zipComment),this}},{"./base64":1,"./zipEntries":22}],11:[function(t,e,i){(function(t){"use strict";e.exports=function(e,i){return new t(e,i)},e.exports.test=function(e){return t.isBuffer(e)}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],12:[function(t,e,i){"use strict";var n=t("./uint8ArrayReader");function r(t){this.data=t,this.length=this.data.length,this.index=0}r.prototype=new n,r.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},e.exports=r},{"./uint8ArrayReader":18}],13:[function(t,e,i){"use strict";var n=t("./support"),r=t("./utils"),o=t("./crc32"),a=t("./signature"),s=t("./defaults"),l=t("./base64"),c=t("./compressions"),u=t("./compressedObject"),h=t("./nodeBuffer"),d=t("./utf8"),f=t("./stringWriter"),p=t("./uint8ArrayWriter"),g=function(t){if(t._data instanceof u&&(t._data=t._data.getContent(),t.options.binary=!0,t.options.base64=!1,"uint8array"===r.getTypeOf(t._data))){var e=t._data;t._data=new Uint8Array(e.length),0!==e.length&&t._data.set(e,0)}return t._data},m=function(t){var e=g(t);return"string"===r.getTypeOf(e)?!t.options.binary&&n.nodebuffer?h(e,"utf-8"):t.asBinary():e},v=function(t){var e=g(this);return null==e?"":(this.options.base64&&(e=l.decode(e)),e=t&&this.options.binary?k.utf8decode(e):r.transformTo("string",e),t||this.options.binary||(e=r.transformTo("string",k.utf8encode(e))),e)},y=function(t,e,i){this.name=t,this.dir=i.dir,this.date=i.date,this.comment=i.comment,this._data=e,this.options=i,this._initialMetadata={dir:i.dir,date:i.date}};y.prototype={asText:function(){return v.call(this,!0)},asBinary:function(){return v.call(this,!1)},asNodeBuffer:function(){var t=m(this);return r.transformTo("nodebuffer",t)},asUint8Array:function(){var t=m(this);return r.transformTo("uint8array",t)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var b=function(t,e){var i,n="";for(i=0;i<e;i++)n+=String.fromCharCode(255&t),t>>>=8;return n},L=function(){var t,e,i={};for(t=0;t<arguments.length;t++)for(e in arguments[t])arguments[t].hasOwnProperty(e)&&void 0===i[e]&&(i[e]=arguments[t][e]);return i},x=function(t,e,i){var n,o=r.getTypeOf(e);if((i=function(t){return!0!==(t=t||{}).base64||null!==t.binary&&void 0!==t.binary||(t.binary=!0),(t=L(t,s)).date=t.date||new Date,null!==t.compression&&(t.compression=t.compression.toUpperCase()),t}(i)).createFolders&&(n=w(t))&&_.call(this,n,!0),i.dir||null==e)i.base64=!1,i.binary=!1,e=null;else if("string"===o)i.binary&&!i.base64&&!0!==i.optimizedBinaryString&&(e=r.string2binary(e));else{if(i.base64=!1,i.binary=!0,!(o||e instanceof u))throw new Error("The data of '"+t+"' is in an unsupported format !");"arraybuffer"===o&&(e=r.transformTo("uint8array",e))}var a=new y(t,e,i);return this.files[t]=a,a},w=function(t){"/"==t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},_=function(t,e){return"/"!=t.slice(-1)&&(t+="/"),e=void 0!==e&&e,this.files[t]||x.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]},S=function(t,e){var i,n=new u;return t._data instanceof u?(n.uncompressedSize=t._data.uncompressedSize,n.crc32=t._data.crc32,0===n.uncompressedSize||t.dir?(e=c.STORE,n.compressedContent="",n.crc32=0):t._data.compressionMethod===e.magic?n.compressedContent=t._data.getCompressedContent():(i=t._data.getContent(),n.compressedContent=e.compress(r.transformTo(e.compressInputType,i)))):((i=m(t))&&0!==i.length&&!t.dir||(e=c.STORE,i=""),n.uncompressedSize=i.length,n.crc32=o(i),n.compressedContent=e.compress(r.transformTo(e.compressInputType,i))),n.compressedSize=n.compressedContent.length,n.compressionMethod=e.magic,n},C=function(t,e,i,n){i.compressedContent;var s,l,c,u,h=r.transformTo("string",d.utf8encode(e.name)),f=e.comment||"",p=r.transformTo("string",d.utf8encode(f)),g=h.length!==e.name.length,m=p.length!==f.length,v=e.options,y="",L="",x="";c=e._initialMetadata.dir!==e.dir?e.dir:v.dir,s=(u=e._initialMetadata.date!==e.date?e.date:v.date).getHours(),s<<=6,s|=u.getMinutes(),s<<=5,s|=u.getSeconds()/2,l=u.getFullYear()-1980,l<<=4,l|=u.getMonth()+1,l<<=5,l|=u.getDate(),g&&(L=b(1,1)+b(o(h),4)+h,y+="up"+b(L.length,2)+L),m&&(x=b(1,1)+b(this.crc32(p),4)+p,y+="uc"+b(x.length,2)+x);var w="";return w+="\n\0",w+=g||m?"\0\b":"\0\0",w+=i.compressionMethod,w+=b(s,2),w+=b(l,2),w+=b(i.crc32,4),w+=b(i.compressedSize,4),w+=b(i.uncompressedSize,4),w+=b(h.length,2),w+=b(y.length,2),{fileRecord:a.LOCAL_FILE_HEADER+w+h+y,dirRecord:a.CENTRAL_FILE_HEADER+"\0"+w+b(p.length,2)+"\0\0\0\0"+(!0===c?"\0\0\0":"\0\0\0\0")+b(n,4)+h+y+p,compressedObject:i}},k={load:function(t,e){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(t){var e,i,n,r,o=[];for(e in this.files)this.files.hasOwnProperty(e)&&(n=this.files[e],r=new y(n.name,n._data,L(n.options)),i=e.slice(this.root.length,e.length),e.slice(0,this.root.length)===this.root&&t(i,r)&&o.push(r));return o},file:function(t,e,i){if(1===arguments.length){if(r.isRegExp(t)){var n=t;return this.filter(function(t,e){return!e.dir&&n.test(t)})}return this.filter(function(e,i){return!i.dir&&e===t})[0]||null}return t=this.root+t,x.call(this,t,e,i),this},folder:function(t){if(!t)return this;if(r.isRegExp(t))return this.filter(function(e,i){return i.dir&&t.test(e)});var e=this.root+t,i=_.call(this,e),n=this.clone();return n.root=i.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!=t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var i=this.filter(function(e,i){return i.name.slice(0,t.length)===t}),n=0;n<i.length;n++)delete this.files[i[n].name];return this},generate:function(t){t=L(t||{},{base64:!0,compression:"STORE",type:"base64",comment:null}),r.checkSupport(t.type);var e,i,n=[],o=0,s=0,u=r.transformTo("string",this.utf8encode(t.comment||this.comment||""));for(var h in this.files)if(this.files.hasOwnProperty(h)){var d=this.files[h],g=d.options.compression||t.compression.toUpperCase(),m=c[g];if(!m)throw new Error(g+" is not a valid compression method !");var v=S.call(this,d,m),y=C.call(this,h,d,v,o);o+=y.fileRecord.length+v.compressedSize,s+=y.dirRecord.length,n.push(y)}var x;x=a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+b(n.length,2)+b(n.length,2)+b(s,4)+b(o,4)+b(u.length,2)+u;var w=t.type.toLowerCase();for(e="uint8array"===w||"arraybuffer"===w||"blob"===w||"nodebuffer"===w?new p(o+s+x.length):new f(o+s+x.length),i=0;i<n.length;i++)e.append(n[i].fileRecord),e.append(n[i].compressedObject.compressedContent);for(i=0;i<n.length;i++)e.append(n[i].dirRecord);e.append(x);var _=e.finalize();switch(t.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return r.transformTo(t.type.toLowerCase(),_);case"blob":return r.arrayBuffer2Blob(r.transformTo("arraybuffer",_));case"base64":return t.base64?l.encode(_):_;default:return _}},crc32:function(t,e){return o(t,e)},utf8encode:function(t){return r.transformTo("string",d.utf8encode(t))},utf8decode:function(t){return d.utf8decode(t)}};e.exports=k},{"./base64":1,"./compressedObject":2,"./compressions":3,"./crc32":4,"./defaults":6,"./nodeBuffer":11,"./signature":14,"./stringWriter":16,"./support":17,"./uint8ArrayWriter":19,"./utf8":20,"./utils":21}],14:[function(t,e,i){"use strict";i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\b"},{}],15:[function(t,e,i){"use strict";var n=t("./dataReader"),r=t("./utils");function o(t,e){this.data=t,e||(this.data=r.string2binary(this.data)),this.length=this.data.length,this.index=0}o.prototype=new n,o.prototype.byteAt=function(t){return this.data.charCodeAt(t)},o.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)},o.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.index,this.index+t);return this.index+=t,e},e.exports=o},{"./dataReader":5,"./utils":21}],16:[function(t,e,i){"use strict";var n=t("./utils"),r=function(){this.data=[]};r.prototype={append:function(t){t=n.transformTo("string",t),this.data.push(t)},finalize:function(){return this.data.join("")}},e.exports=r},{"./utils":21}],17:[function(t,e,i){(function(t){"use strict";if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,i.nodebuffer=void 0!==t,i.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)i.blob=!1;else{var e=new ArrayBuffer(0);try{i.blob=0===new Blob([e],{type:"application/zip"}).size}catch(t){try{var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);n.append(e),i.blob=0===n.getBlob("application/zip").size}catch(t){i.blob=!1}}}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],18:[function(t,e,i){"use strict";var n=t("./dataReader");function r(t){t&&(this.data=t,this.length=this.data.length,this.index=0)}r.prototype=new n,r.prototype.byteAt=function(t){return this.data[t]},r.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),i=t.charCodeAt(1),n=t.charCodeAt(2),r=t.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===e&&this.data[o+1]===i&&this.data[o+2]===n&&this.data[o+3]===r)return o;return-1},r.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.index,this.index+t);return this.index+=t,e},e.exports=r},{"./dataReader":5}],19:[function(t,e,i){"use strict";var n=t("./utils"),r=function(t){this.data=new Uint8Array(t),this.index=0};r.prototype={append:function(t){0!==t.length&&(t=n.transformTo("uint8array",t),this.data.set(t,this.index),this.index+=t.length)},finalize:function(){return this.data}},e.exports=r},{"./utils":21}],20:[function(t,e,i){"use strict";for(var n=t("./utils"),r=t("./support"),o=t("./nodeBuffer"),a=new Array(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;a[254]=a[254]=1;var l=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0?e:0===i?e:i+a[t[i]]>e?i:e},c=function(t){var e,i,r,o,s=t.length,l=new Array(2*s);for(i=0,e=0;e<s;)if((r=t[e++])<128)l[i++]=r;else if((o=a[r])>4)l[i++]=65533,e+=o-1;else{for(r&=2===o?31:3===o?15:7;o>1&&e<s;)r=r<<6|63&t[e++],o--;o>1?l[i++]=65533:r<65536?l[i++]=r:(r-=65536,l[i++]=55296|r>>10&1023,l[i++]=56320|1023&r)}return l.length!==i&&(l.subarray?l=l.subarray(0,i):l.length=i),n.applyFromCharCode(l)};i.utf8encode=function(t){return r.nodebuffer?o(t,"utf-8"):function(t){var e,i,n,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(n-56320),o++),l+=i<128?1:i<2048?2:i<65536?3:4;for(e=r.uint8array?new Uint8Array(l):new Array(l),a=0,o=0;a<l;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(n=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(n-56320),o++),i<128?e[a++]=i:i<2048?(e[a++]=192|i>>>6,e[a++]=128|63&i):i<65536?(e[a++]=224|i>>>12,e[a++]=128|i>>>6&63,e[a++]=128|63&i):(e[a++]=240|i>>>18,e[a++]=128|i>>>12&63,e[a++]=128|i>>>6&63,e[a++]=128|63&i);return e}(t)},i.utf8decode=function(t){if(r.nodebuffer)return n.transformTo("nodebuffer",t).toString("utf-8");for(var e=[],i=0,o=(t=n.transformTo(r.uint8array?"uint8array":"array",t)).length;i<o;){var a=l(t,Math.min(i+65536,o));r.uint8array?e.push(c(t.subarray(i,a))):e.push(c(t.slice(i,a))),i=a}return e.join("")}},{"./nodeBuffer":11,"./support":17,"./utils":21}],21:[function(t,e,i){"use strict";var n=t("./support"),r=t("./compressions"),o=t("./nodeBuffer");function a(t){return t}function s(t,e){for(var i=0;i<t.length;++i)e[i]=255&t.charCodeAt(i);return e}function l(t){var e=65536,n=[],r=t.length,a=i.getTypeOf(t),s=0,l=!0;try{switch(a){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,o(0))}}catch(t){l=!1}if(!l){for(var c="",u=0;u<t.length;u++)c+=String.fromCharCode(t[u]);return c}for(;s<r&&e>1;)try{"array"===a||"nodebuffer"===a?n.push(String.fromCharCode.apply(null,t.slice(s,Math.min(s+e,r)))):n.push(String.fromCharCode.apply(null,t.subarray(s,Math.min(s+e,r)))),s+=e}catch(t){e=Math.floor(e/2)}return n.join("")}function c(t,e){for(var i=0;i<t.length;i++)e[i]=t[i];return e}i.string2binary=function(t){for(var e="",i=0;i<t.length;i++)e+=String.fromCharCode(255&t.charCodeAt(i));return e},i.arrayBuffer2Blob=function(t){i.checkSupport("blob");try{return new Blob([t],{type:"application/zip"})}catch(i){try{var e=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return e.append(t),e.getBlob("application/zip")}catch(t){throw new Error("Bug : can't construct the Blob.")}}},i.applyFromCharCode=l;var u={};u.string={string:a,array:function(t){return s(t,new Array(t.length))},arraybuffer:function(t){return u.string.uint8array(t).buffer},uint8array:function(t){return s(t,new Uint8Array(t.length))},nodebuffer:function(t){return s(t,o(t.length))}},u.array={string:l,array:a,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o(t)}},u.arraybuffer={string:function(t){return l(new Uint8Array(t))},array:function(t){return c(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:a,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o(new Uint8Array(t))}},u.uint8array={string:l,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:a,nodebuffer:function(t){return o(t)}},u.nodebuffer={string:l,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return u.nodebuffer.uint8array(t).buffer},uint8array:function(t){return c(t,new Uint8Array(t.length))},nodebuffer:a},i.transformTo=function(t,e){if(e||(e=""),!t)return e;i.checkSupport(t);var n=i.getTypeOf(e);return u[n][t](e)},i.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":n.nodebuffer&&o.test(t)?"nodebuffer":n.uint8array&&t instanceof Uint8Array?"uint8array":n.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(t){if(!n[t.toLowerCase()])throw new Error(t+" is not supported by this browser")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(t){var e,i,n="";for(i=0;i<(t||"").length;i++)n+="\\x"+((e=t.charCodeAt(i))<16?"0":"")+e.toString(16).toUpperCase();return n},i.findCompression=function(t){for(var e in r)if(r.hasOwnProperty(e)&&r[e].magic===t)return r[e];return null},i.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}},{"./compressions":3,"./nodeBuffer":11,"./support":17}],22:[function(t,e,i){"use strict";var n=t("./stringReader"),r=t("./nodeBufferReader"),o=t("./uint8ArrayReader"),a=t("./utils"),s=t("./signature"),l=t("./zipEntry"),c=t("./support"),u=t("./object");function h(t,e){this.files=[],this.loadOptions=e,t&&this.load(t)}h.prototype={checkSignature:function(t){var e=this.reader.readString(4);if(e!==t)throw new Error("Corrupted zip or bug : unexpected signature ("+a.pretty(e)+", expected "+a.pretty(t)+")")},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=u.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,i,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),e=this.reader.readInt(4),i=this.reader.readString(e),this.zip64ExtensibleData[t]={id:t,length:e,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===s.CENTRAL_FILE_HEADER;)(t=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(-1===t)throw new Error("Corrupted zip : can't find end of central directory");if(this.reader.setIndex(t),this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,-1===(t=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR)))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(t),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(t){var e=a.getTypeOf(t);"string"!==e||c.uint8array?this.reader="nodebuffer"===e?new r(t):new o(a.transformTo("uint8array",t)):this.reader=new n(t,this.loadOptions.optimizedBinaryString)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=h},{"./nodeBufferReader":12,"./object":13,"./signature":14,"./stringReader":15,"./support":17,"./uint8ArrayReader":18,"./utils":21,"./zipEntry":23}],23:[function(t,e,i){"use strict";var n=t("./stringReader"),r=t("./utils"),o=t("./compressedObject"),a=t("./object");function s(t,e){this.options=t,this.loadOptions=e}s.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(t,e,i){return function(){var n=t.index;t.setIndex(e);var r=t.readData(i);return t.setIndex(n),r}},prepareContent:function(t,e,i,n,o){return function(){var t=r.transformTo(n.uncompressInputType,this.getCompressedContent()),e=n.uncompress(t);if(e.length!==o)throw new Error("Bug : uncompressed data size mismatch");return e}},readLocalPart:function(t){var e,i;if(t.skip(22),this.fileNameLength=t.readInt(2),i=t.readInt(2),this.fileName=t.readString(this.fileNameLength),t.skip(i),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(null===(e=r.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+r.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new o,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(t,t.index,this.compressedSize,e),this.decompressed.getContent=this.prepareContent(t,t.index,this.compressedSize,e,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=r.transformTo("string",this.decompressed.getContent()),a.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(t){if(this.versionMadeBy=t.readString(2),this.versionNeeded=t.readInt(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4),this.fileNameLength=t.readInt(2),this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=t.readString(this.fileNameLength),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readString(this.fileCommentLength),this.dir=!!(16&this.externalFileAttributes)},parseZIP64ExtraField:function(t){if(this.extraFields[1]){var e=new n(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(t){var e,i,n,r=t.index;for(this.extraFields=this.extraFields||{};t.index<r+this.extraFieldsLength;)e=t.readInt(2),i=t.readInt(2),n=t.readString(i),this.extraFields[e]={id:e,length:i,value:n}},handleUTF8:function(){if(this.useUTF8())this.fileName=a.utf8decode(this.fileName),this.fileComment=a.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();null!==t&&(this.fileName=t);var e=this.findExtraFieldUnicodeComment();null!==e&&(this.fileComment=e)}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=new n(t.value);return 1!==e.readInt(1)?null:a.crc32(this.fileName)!==e.readInt(4)?null:a.utf8decode(e.readString(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=new n(t.value);return 1!==e.readInt(1)?null:a.crc32(this.fileComment)!==e.readInt(4)?null:a.utf8decode(e.readString(t.length-5))}return null}},e.exports=s},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(t,e,i){"use strict";var n={};(0,t("./lib/utils/common").assign)(n,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=n},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(t,e,i){"use strict";var n=t("./zlib/deflate.js"),r=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),l=function(t){this.options=r.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var i=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==i)throw new Error(a[i]);e.header&&n.deflateSetHeader(this.strm,e.header)};function c(t,e){var i=new l(e);if(i.push(t,!0),i.err)throw i.msg;return i.result}l.prototype.push=function(t,e){var i,a,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,s.input="string"==typeof t?o.string2buf(t):t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new r.Buf8(l),s.next_out=0,s.avail_out=l),1!==(i=n.deflate(s,a))&&0!==i)return this.onEnd(i),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&4===a)&&("string"===this.options.to?this.onData(o.buf2binstring(r.shrinkBuf(s.output,s.next_out))):this.onData(r.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==i);return 4!==a||(i=n.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,0===i)},l.prototype.onData=function(t){this.chunks.push(t)},l.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Deflate=l,i.deflate=c,i.deflateRaw=function(t,e){return(e=e||{}).raw=!0,c(t,e)},i.gzip=function(t,e){return(e=e||{}).gzip=!0,c(t,e)}},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(t,e,i){"use strict";var n=t("./zlib/inflate.js"),r=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),c=t("./zlib/gzheader"),u=function(t){this.options=r.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var i=n.inflateInit2(this.strm,e.windowBits);if(i!==a.Z_OK)throw new Error(s[i]);this.header=new c,n.inflateGetHeader(this.strm,this.header)};function h(t,e){var i=new u(e);if(i.push(t,!0),i.err)throw i.msg;return i.result}u.prototype.push=function(t,e){var i,s,l,c,u,h=this.strm,d=this.options.chunkSize;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,h.input="string"==typeof t?o.binstring2buf(t):t,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new r.Buf8(d),h.next_out=0,h.avail_out=d),(i=n.inflate(h,a.Z_NO_FLUSH))!==a.Z_STREAM_END&&i!==a.Z_OK)return this.onEnd(i),this.ended=!0,!1;h.next_out&&(0===h.avail_out||i===a.Z_STREAM_END||0===h.avail_in&&s===a.Z_FINISH)&&("string"===this.options.to?(l=o.utf8border(h.output,h.next_out),c=h.next_out-l,u=o.buf2string(h.output,l),h.next_out=c,h.avail_out=d-c,c&&r.arraySet(h.output,h.output,l,c,0),this.onData(u)):this.onData(r.shrinkBuf(h.output,h.next_out)))}while(h.avail_in>0&&i!==a.Z_STREAM_END);return i===a.Z_STREAM_END&&(s=a.Z_FINISH),s!==a.Z_FINISH||(i=n.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===a.Z_OK)},u.prototype.onData=function(t){this.chunks.push(t)},u.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},i.Inflate=u,i.inflate=h,i.inflateRaw=function(t,e){return(e=e||{}).raw=!0,h(t,e)},i.ungzip=h},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(t,e,i){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;i.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var i=e.shift();if(i){if("object"!=typeof i)throw new TypeError(i+"must be non-object");for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])}}return t},i.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,i,n,r){if(e.subarray&&t.subarray)t.set(e.subarray(i,i+n),r);else for(var o=0;o<n;o++)t[r+o]=e[i+o]},flattenChunks:function(t){var e,i,n,r,o,a;for(n=0,e=0,i=t.length;e<i;e++)n+=t[e].length;for(a=new Uint8Array(n),r=0,e=0,i=t.length;e<i;e++)o=t[e],a.set(o,r),r+=o.length;return a}},o={arraySet:function(t,e,i,n,r){for(var o=0;o<n;o++)t[r+o]=e[i+o]},flattenChunks:function(t){return[].concat.apply([],t)}};i.setTyped=function(t){t?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,r)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,o))},i.setTyped(n)},{}],28:[function(t,e,i){"use strict";var n=t("./common"),r=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new n.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(t,e){if(e<65537&&(t.subarray&&o||!t.subarray&&r))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var i="",a=0;a<e;a++)i+=String.fromCharCode(t[a]);return i}a[254]=a[254]=1,i.string2buf=function(t){var e,i,r,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(r-56320),o++),l+=i<128?1:i<2048?2:i<65536?3:4;for(e=new n.Buf8(l),a=0,o=0;a<l;o++)55296==(64512&(i=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(i=65536+(i-55296<<10)+(r-56320),o++),i<128?e[a++]=i:i<2048?(e[a++]=192|i>>>6,e[a++]=128|63&i):i<65536?(e[a++]=224|i>>>12,e[a++]=128|i>>>6&63,e[a++]=128|63&i):(e[a++]=240|i>>>18,e[a++]=128|i>>>12&63,e[a++]=128|i>>>6&63,e[a++]=128|63&i);return e},i.buf2binstring=function(t){return l(t,t.length)},i.binstring2buf=function(t){for(var e=new n.Buf8(t.length),i=0,r=e.length;i<r;i++)e[i]=t.charCodeAt(i);return e},i.buf2string=function(t,e){var i,n,r,o,s=e||t.length,c=new Array(2*s);for(n=0,i=0;i<s;)if((r=t[i++])<128)c[n++]=r;else if((o=a[r])>4)c[n++]=65533,i+=o-1;else{for(r&=2===o?31:3===o?15:7;o>1&&i<s;)r=r<<6|63&t[i++],o--;o>1?c[n++]=65533:r<65536?c[n++]=r:(r-=65536,c[n++]=55296|r>>10&1023,c[n++]=56320|1023&r)}return l(c,n)},i.utf8border=function(t,e){var i;for((e=e||t.length)>t.length&&(e=t.length),i=e-1;i>=0&&128==(192&t[i]);)i--;return i<0?e:0===i?e:i+a[t[i]]>e?i:e}},{"./common":27}],29:[function(t,e,i){"use strict";e.exports=function(t,e,i,n){for(var r=65535&t|0,o=t>>>16&65535|0,a=0;0!==i;){i-=a=i>2e3?2e3:i;do{o=o+(r=r+e[n++]|0)|0}while(--a);r%=65521,o%=65521}return r|o<<16|0}},{}],30:[function(t,e,i){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(t,e,i){"use strict";var n=function(){for(var t,e=[],i=0;i<256;i++){t=i;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[i]=t}return e}();e.exports=function(t,e,i,r){var o=n,a=r+i;t^=-1;for(var s=r;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}},{}],32:[function(t,e,i){"use strict";var n=t("../utils/common"),r=t("./trees"),o=t("./adler32"),a=t("./crc32"),s=t("./messages"),l=0,c=1,u=3,h=4,d=5,f=0,p=1,g=-2,m=-3,v=-5,y=-1,b=1,L=2,x=3,w=4,_=0,S=2,C=8,k=9,T=15,E=8,A=286,M=30,D=19,P=2*A+1,O=15,I=3,N=258,R=N+I+1,F=32,B=42,z=69,H=73,V=91,j=103,W=113,U=666,Y=1,G=2,X=3,q=4,$=3;function Z(t,e){return t.msg=s[e],e}function K(t){return(t<<1)-(t>4?9:0)}function Q(t){for(var e=t.length;--e>=0;)t[e]=0}function J(t){var e=t.state,i=e.pending;i>t.avail_out&&(i=t.avail_out),0!==i&&(n.arraySet(t.output,e.pending_buf,e.pending_out,i,t.next_out),t.next_out+=i,e.pending_out+=i,t.total_out+=i,t.avail_out-=i,e.pending-=i,0===e.pending&&(e.pending_out=0))}function tt(t,e){r._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,J(t.strm)}function et(t,e){t.pending_buf[t.pending++]=e}function it(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function nt(t,e){var i,n,r=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-R?t.strstart-(t.w_size-R):0,c=t.window,u=t.w_mask,h=t.prev,d=t.strstart+N,f=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(r>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(i=e)+a]===p&&c[i+a-1]===f&&c[i]===c[o]&&c[++i]===c[o+1]){o+=2,i++;do{}while(c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&c[++o]===c[++i]&&o<d);if(n=N-(d-o),o=d-N,n>a){if(t.match_start=e,a=n,n>=s)break;f=c[o+a-1],p=c[o+a]}}}while((e=h[e&u])>l&&0!=--r);return a<=t.lookahead?a:t.lookahead}function rt(t){var e,i,r,s,l,c,u,h,d,f,p=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-R)){n.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=i=t.hash_size;do{r=t.head[--e],t.head[e]=r>=p?r-p:0}while(--i);e=i=p;do{r=t.prev[--e],t.prev[e]=r>=p?r-p:0}while(--i);s+=p}if(0===t.strm.avail_in)break;if(c=t.strm,u=t.window,h=t.strstart+t.lookahead,d=s,f=void 0,(f=c.avail_in)>d&&(f=d),i=0===f?0:(c.avail_in-=f,n.arraySet(u,c.input,c.next_in,f,h),1===c.state.wrap?c.adler=o(c.adler,u,f,h):2===c.state.wrap&&(c.adler=a(c.adler,u,f,h)),c.next_in+=f,c.total_in+=f,f),t.lookahead+=i,t.lookahead+t.insert>=I)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+I-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<I)););}while(t.lookahead<R&&0!==t.strm.avail_in)}function ot(t,e){for(var i,n;;){if(t.lookahead<R){if(rt(t),t.lookahead<R&&e===l)return Y;if(0===t.lookahead)break}if(i=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==i&&t.strstart-i<=t.w_size-R&&(t.match_length=nt(t,i)),t.match_length>=I)if(n=r._tr_tally(t,t.strstart-t.match_start,t.match_length-I),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=I){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(tt(t,!1),0===t.strm.avail_out))return Y}return t.insert=t.strstart<I-1?t.strstart:I-1,e===h?(tt(t,!0),0===t.strm.avail_out?X:q):t.last_lit&&(tt(t,!1),0===t.strm.avail_out)?Y:G}function at(t,e){for(var i,n,o;;){if(t.lookahead<R){if(rt(t),t.lookahead<R&&e===l)return Y;if(0===t.lookahead)break}if(i=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=I-1,0!==i&&t.prev_length<t.max_lazy_match&&t.strstart-i<=t.w_size-R&&(t.match_length=nt(t,i),t.match_length<=5&&(t.strategy===b||t.match_length===I&&t.strstart-t.match_start>4096)&&(t.match_length=I-1)),t.prev_length>=I&&t.match_length<=t.prev_length){o=t.strstart+t.lookahead-I,n=r._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-I),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=o&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,i=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=I-1,t.strstart++,n&&(tt(t,!1),0===t.strm.avail_out))return Y}else if(t.match_available){if((n=r._tr_tally(t,0,t.window[t.strstart-1]))&&tt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return Y}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=r._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<I-1?t.strstart:I-1,e===h?(tt(t,!0),0===t.strm.avail_out?X:q):t.last_lit&&(tt(t,!1),0===t.strm.avail_out)?Y:G}var st,lt=function(t,e,i,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=i,this.max_chain=n,this.func=r};function ct(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=C,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(2*P),this.dyn_dtree=new n.Buf16(2*(2*M+1)),this.bl_tree=new n.Buf16(2*(2*D+1)),Q(this.dyn_ltree),Q(this.dyn_dtree),Q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(O+1),this.heap=new n.Buf16(2*A+1),Q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*A+1),Q(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ut(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=S,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?B:W,t.adler=2===e.wrap?0:1,e.last_flush=l,r._tr_init(e),f):Z(t,g)}function ht(t){var e,i=ut(t);return i===f&&((e=t.state).window_size=2*e.w_size,Q(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=I-1,e.match_available=0,e.ins_h=0),i}function dt(t,e,i,r,o,a){if(!t)return g;var s=1;if(e===y&&(e=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),o<1||o>k||i!==C||r<8||r>15||e<0||e>9||a<0||a>w)return Z(t,g);8===r&&(r=9);var l=new ct;return t.state=l,l.strm=t,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+I-1)/I),l.window=new n.Buf8(2*l.w_size),l.head=new n.Buf16(l.hash_size),l.prev=new n.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new n.Buf8(l.pending_buf_size),l.d_buf=l.lit_bufsize>>1,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=i,ht(t)}st=[new lt(0,0,0,0,function(t,e){var i=65535;for(i>t.pending_buf_size-5&&(i=t.pending_buf_size-5);;){if(t.lookahead<=1){if(rt(t),0===t.lookahead&&e===l)return Y;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+i;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,tt(t,!1),0===t.strm.avail_out))return Y;if(t.strstart-t.block_start>=t.w_size-R&&(tt(t,!1),0===t.strm.avail_out))return Y}return t.insert=0,e===h?(tt(t,!0),0===t.strm.avail_out?X:q):(t.strstart>t.block_start&&(tt(t,!1),t.strm.avail_out),Y)}),new lt(4,4,8,4,ot),new lt(4,5,16,8,ot),new lt(4,6,32,32,ot),new lt(4,4,16,16,at),new lt(8,16,32,32,at),new lt(8,16,128,128,at),new lt(8,32,128,256,at),new lt(32,128,258,1024,at),new lt(32,258,258,4096,at)],i.deflateInit=function(t,e){return dt(t,e,C,T,E,_)},i.deflateInit2=dt,i.deflateReset=ht,i.deflateResetKeep=ut,i.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?g:(t.state.gzhead=e,f):g},i.deflate=function(t,e){var i,n,o,s;if(!t||!t.state||e>d||e<0)return t?Z(t,g):g;if(n=t.state,!t.output||!t.input&&0!==t.avail_in||n.status===U&&e!==h)return Z(t,0===t.avail_out?v:g);if(n.strm=t,i=n.last_flush,n.last_flush=e,n.status===B)if(2===n.wrap)t.adler=0,et(n,31),et(n,139),et(n,8),n.gzhead?(et(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),et(n,255&n.gzhead.time),et(n,n.gzhead.time>>8&255),et(n,n.gzhead.time>>16&255),et(n,n.gzhead.time>>24&255),et(n,9===n.level?2:n.strategy>=L||n.level<2?4:0),et(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(et(n,255&n.gzhead.extra.length),et(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(t.adler=a(t.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=z):(et(n,0),et(n,0),et(n,0),et(n,0),et(n,0),et(n,9===n.level?2:n.strategy>=L||n.level<2?4:0),et(n,$),n.status=W);else{var m=C+(n.w_bits-8<<4)<<8;m|=(n.strategy>=L||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(m|=F),m+=31-m%31,n.status=W,it(n,m),0!==n.strstart&&(it(n,t.adler>>>16),it(n,65535&t.adler)),t.adler=1}if(n.status===z)if(n.gzhead.extra){for(o=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),J(t),o=n.pending,n.pending!==n.pending_buf_size));)et(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=H)}else n.status=H;if(n.status===H)if(n.gzhead.name){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),J(t),o=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,et(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),0===s&&(n.gzindex=0,n.status=V)}else n.status=V;if(n.status===V)if(n.gzhead.comment){o=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),J(t),o=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,et(n,s)}while(0!==s);n.gzhead.hcrc&&n.pending>o&&(t.adler=a(t.adler,n.pending_buf,n.pending-o,o)),0===s&&(n.status=j)}else n.status=j;if(n.status===j&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&J(t),n.pending+2<=n.pending_buf_size&&(et(n,255&t.adler),et(n,t.adler>>8&255),t.adler=0,n.status=W)):n.status=W),0!==n.pending){if(J(t),0===t.avail_out)return n.last_flush=-1,f}else if(0===t.avail_in&&K(e)<=K(i)&&e!==h)return Z(t,v);if(n.status===U&&0!==t.avail_in)return Z(t,v);if(0!==t.avail_in||0!==n.lookahead||e!==l&&n.status!==U){var y=n.strategy===L?function(t,e){for(var i;;){if(0===t.lookahead&&(rt(t),0===t.lookahead)){if(e===l)return Y;break}if(t.match_length=0,i=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,i&&(tt(t,!1),0===t.strm.avail_out))return Y}return t.insert=0,e===h?(tt(t,!0),0===t.strm.avail_out?X:q):t.last_lit&&(tt(t,!1),0===t.strm.avail_out)?Y:G}(n,e):n.strategy===x?function(t,e){for(var i,n,o,a,s=t.window;;){if(t.lookahead<=N){if(rt(t),t.lookahead<=N&&e===l)return Y;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=I&&t.strstart>0&&(n=s[o=t.strstart-1])===s[++o]&&n===s[++o]&&n===s[++o]){a=t.strstart+N;do{}while(n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&n===s[++o]&&o<a);t.match_length=N-(a-o),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=I?(i=r._tr_tally(t,1,t.match_length-I),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(i=r._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),i&&(tt(t,!1),0===t.strm.avail_out))return Y}return t.insert=0,e===h?(tt(t,!0),0===t.strm.avail_out?X:q):t.last_lit&&(tt(t,!1),0===t.strm.avail_out)?Y:G}(n,e):st[n.level].func(n,e);if(y!==X&&y!==q||(n.status=U),y===Y||y===X)return 0===t.avail_out&&(n.last_flush=-1),f;if(y===G&&(e===c?r._tr_align(n):e!==d&&(r._tr_stored_block(n,0,0,!1),e===u&&(Q(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),J(t),0===t.avail_out))return n.last_flush=-1,f}return e!==h?f:n.wrap<=0?p:(2===n.wrap?(et(n,255&t.adler),et(n,t.adler>>8&255),et(n,t.adler>>16&255),et(n,t.adler>>24&255),et(n,255&t.total_in),et(n,t.total_in>>8&255),et(n,t.total_in>>16&255),et(n,t.total_in>>24&255)):(it(n,t.adler>>>16),it(n,65535&t.adler)),J(t),n.wrap>0&&(n.wrap=-n.wrap),0!==n.pending?f:p)},i.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==B&&e!==z&&e!==H&&e!==V&&e!==j&&e!==W&&e!==U?Z(t,g):(t.state=null,e===W?Z(t,m):f):g},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(t,e,i){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],34:[function(t,e,i){"use strict";e.exports=function(t,e){var i,n,r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L,x,w,_,S,C,k;i=t.state,n=t.next_in,C=t.input,r=n+(t.avail_in-5),o=t.next_out,k=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),l=i.dmax,c=i.wsize,u=i.whave,h=i.wnext,d=i.window,f=i.hold,p=i.bits,g=i.lencode,m=i.distcode,v=(1<<i.lenbits)-1,y=(1<<i.distbits)-1;t:do{p<15&&(f+=C[n++]<<p,p+=8,f+=C[n++]<<p,p+=8),b=g[f&v];e:for(;;){if(f>>>=L=b>>>24,p-=L,0===(L=b>>>16&255))k[o++]=65535&b;else{if(!(16&L)){if(0==(64&L)){b=g[(65535&b)+(f&(1<<L)-1)];continue e}if(32&L){i.mode=12;break t}t.msg="invalid literal/length code",i.mode=30;break t}x=65535&b,(L&=15)&&(p<L&&(f+=C[n++]<<p,p+=8),x+=f&(1<<L)-1,f>>>=L,p-=L),p<15&&(f+=C[n++]<<p,p+=8,f+=C[n++]<<p,p+=8),b=m[f&y];i:for(;;){if(f>>>=L=b>>>24,p-=L,!(16&(L=b>>>16&255))){if(0==(64&L)){b=m[(65535&b)+(f&(1<<L)-1)];continue i}t.msg="invalid distance code",i.mode=30;break t}if(w=65535&b,p<(L&=15)&&(f+=C[n++]<<p,(p+=8)<L&&(f+=C[n++]<<p,p+=8)),(w+=f&(1<<L)-1)>l){t.msg="invalid distance too far back",i.mode=30;break t}if(f>>>=L,p-=L,w>(L=o-a)){if((L=w-L)>u&&i.sane){t.msg="invalid distance too far back",i.mode=30;break t}if(_=0,S=d,0===h){if(_+=c-L,L<x){x-=L;do{k[o++]=d[_++]}while(--L);_=o-w,S=k}}else if(h<L){if(_+=c+h-L,(L-=h)<x){x-=L;do{k[o++]=d[_++]}while(--L);if(_=0,h<x){x-=L=h;do{k[o++]=d[_++]}while(--L);_=o-w,S=k}}}else if(_+=h-L,L<x){x-=L;do{k[o++]=d[_++]}while(--L);_=o-w,S=k}for(;x>2;)k[o++]=S[_++],k[o++]=S[_++],k[o++]=S[_++],x-=3;x&&(k[o++]=S[_++],x>1&&(k[o++]=S[_++]))}else{_=o-w;do{k[o++]=k[_++],k[o++]=k[_++],k[o++]=k[_++],x-=3}while(x>2);x&&(k[o++]=k[_++],x>1&&(k[o++]=k[_++]))}break}}break}}while(n<r&&o<s);n-=x=p>>3,f&=(1<<(p-=x<<3))-1,t.next_in=n,t.next_out=o,t.avail_in=n<r?r-n+5:5-(n-r),t.avail_out=o<s?s-o+257:257-(o-s),i.hold=f,i.bits=p}},{}],35:[function(t,e,i){"use strict";var n=t("../utils/common"),r=t("./adler32"),o=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),l=0,c=1,u=2,h=4,d=5,f=6,p=0,g=1,m=2,v=-2,y=-3,b=-4,L=-5,x=8,w=1,_=2,S=3,C=4,k=5,T=6,E=7,A=8,M=9,D=10,P=11,O=12,I=13,N=14,R=15,F=16,B=17,z=18,H=19,V=20,j=21,W=22,U=23,Y=24,G=25,X=26,q=27,$=28,Z=29,K=30,Q=31,J=32,tt=852,et=592,it=15;function nt(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function rt(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ot(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=w,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(tt),e.distcode=e.distdyn=new n.Buf32(et),e.sane=1,e.back=-1,p):v}function at(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,ot(t)):v}function st(t,e){var i,n;return t&&t.state?(n=t.state,e<0?(i=0,e=-e):(i=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?v:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=i,n.wbits=e,at(t))):v}function lt(t,e){var i,n;return t?(n=new rt,t.state=n,n.window=null,(i=st(t,e))!==p&&(t.state=null),i):v}var ct,ut,ht=!0;function dt(t){if(ht){var e;for(ct=new n.Buf32(512),ut=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(c,t.lens,0,288,ct,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(u,t.lens,0,32,ut,0,t.work,{bits:5}),ht=!1}t.lencode=ct,t.lenbits=9,t.distcode=ut,t.distbits=5}i.inflateReset=at,i.inflateReset2=st,i.inflateResetKeep=ot,i.inflateInit=function(t){return lt(t,it)},i.inflateInit2=lt,i.inflate=function(t,e){var i,tt,et,it,rt,ot,at,st,lt,ct,ut,ht,ft,pt,gt,mt,vt,yt,bt,Lt,xt,wt,_t,St,Ct=0,kt=new n.Buf8(4),Tt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return v;(i=t.state).mode===O&&(i.mode=I),rt=t.next_out,et=t.output,at=t.avail_out,it=t.next_in,tt=t.input,ot=t.avail_in,st=i.hold,lt=i.bits,ct=ot,ut=at,wt=p;t:for(;;)switch(i.mode){case w:if(0===i.wrap){i.mode=I;break}for(;lt<16;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if(2&i.wrap&&35615===st){i.check=0,kt[0]=255&st,kt[1]=st>>>8&255,i.check=o(i.check,kt,2,0),st=0,lt=0,i.mode=_;break}if(i.flags=0,i.head&&(i.head.done=!1),!(1&i.wrap)||(((255&st)<<8)+(st>>8))%31){t.msg="incorrect header check",i.mode=K;break}if((15&st)!==x){t.msg="unknown compression method",i.mode=K;break}if(lt-=4,xt=8+(15&(st>>>=4)),0===i.wbits)i.wbits=xt;else if(xt>i.wbits){t.msg="invalid window size",i.mode=K;break}i.dmax=1<<xt,t.adler=i.check=1,i.mode=512&st?D:O,st=0,lt=0;break;case _:for(;lt<16;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if(i.flags=st,(255&i.flags)!==x){t.msg="unknown compression method",i.mode=K;break}if(57344&i.flags){t.msg="unknown header flags set",i.mode=K;break}i.head&&(i.head.text=st>>8&1),512&i.flags&&(kt[0]=255&st,kt[1]=st>>>8&255,i.check=o(i.check,kt,2,0)),st=0,lt=0,i.mode=S;case S:for(;lt<32;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}i.head&&(i.head.time=st),512&i.flags&&(kt[0]=255&st,kt[1]=st>>>8&255,kt[2]=st>>>16&255,kt[3]=st>>>24&255,i.check=o(i.check,kt,4,0)),st=0,lt=0,i.mode=C;case C:for(;lt<16;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}i.head&&(i.head.xflags=255&st,i.head.os=st>>8),512&i.flags&&(kt[0]=255&st,kt[1]=st>>>8&255,i.check=o(i.check,kt,2,0)),st=0,lt=0,i.mode=k;case k:if(1024&i.flags){for(;lt<16;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}i.length=st,i.head&&(i.head.extra_len=st),512&i.flags&&(kt[0]=255&st,kt[1]=st>>>8&255,i.check=o(i.check,kt,2,0)),st=0,lt=0}else i.head&&(i.head.extra=null);i.mode=T;case T:if(1024&i.flags&&((ht=i.length)>ot&&(ht=ot),ht&&(i.head&&(xt=i.head.extra_len-i.length,i.head.extra||(i.head.extra=new Array(i.head.extra_len)),n.arraySet(i.head.extra,tt,it,ht,xt)),512&i.flags&&(i.check=o(i.check,tt,ht,it)),ot-=ht,it+=ht,i.length-=ht),i.length))break t;i.length=0,i.mode=E;case E:if(2048&i.flags){if(0===ot)break t;ht=0;do{xt=tt[it+ht++],i.head&&xt&&i.length<65536&&(i.head.name+=String.fromCharCode(xt))}while(xt&&ht<ot);if(512&i.flags&&(i.check=o(i.check,tt,ht,it)),ot-=ht,it+=ht,xt)break t}else i.head&&(i.head.name=null);i.length=0,i.mode=A;case A:if(4096&i.flags){if(0===ot)break t;ht=0;do{xt=tt[it+ht++],i.head&&xt&&i.length<65536&&(i.head.comment+=String.fromCharCode(xt))}while(xt&&ht<ot);if(512&i.flags&&(i.check=o(i.check,tt,ht,it)),ot-=ht,it+=ht,xt)break t}else i.head&&(i.head.comment=null);i.mode=M;case M:if(512&i.flags){for(;lt<16;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if(st!==(65535&i.check)){t.msg="header crc mismatch",i.mode=K;break}st=0,lt=0}i.head&&(i.head.hcrc=i.flags>>9&1,i.head.done=!0),t.adler=i.check=0,i.mode=O;break;case D:for(;lt<32;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}t.adler=i.check=nt(st),st=0,lt=0,i.mode=P;case P:if(0===i.havedict)return t.next_out=rt,t.avail_out=at,t.next_in=it,t.avail_in=ot,i.hold=st,i.bits=lt,m;t.adler=i.check=1,i.mode=O;case O:if(e===d||e===f)break t;case I:if(i.last){st>>>=7&lt,lt-=7&lt,i.mode=q;break}for(;lt<3;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}switch(i.last=1&st,lt-=1,3&(st>>>=1)){case 0:i.mode=N;break;case 1:if(dt(i),i.mode=V,e===f){st>>>=2,lt-=2;break t}break;case 2:i.mode=B;break;case 3:t.msg="invalid block type",i.mode=K}st>>>=2,lt-=2;break;case N:for(st>>>=7&lt,lt-=7&lt;lt<32;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if((65535&st)!=(st>>>16^65535)){t.msg="invalid stored block lengths",i.mode=K;break}if(i.length=65535&st,st=0,lt=0,i.mode=R,e===f)break t;case R:i.mode=F;case F:if(ht=i.length){if(ht>ot&&(ht=ot),ht>at&&(ht=at),0===ht)break t;n.arraySet(et,tt,it,ht,rt),ot-=ht,it+=ht,at-=ht,rt+=ht,i.length-=ht;break}i.mode=O;break;case B:for(;lt<14;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if(i.nlen=257+(31&st),st>>>=5,lt-=5,i.ndist=1+(31&st),st>>>=5,lt-=5,i.ncode=4+(15&st),st>>>=4,lt-=4,i.nlen>286||i.ndist>30){t.msg="too many length or distance symbols",i.mode=K;break}i.have=0,i.mode=z;case z:for(;i.have<i.ncode;){for(;lt<3;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}i.lens[Tt[i.have++]]=7&st,st>>>=3,lt-=3}for(;i.have<19;)i.lens[Tt[i.have++]]=0;if(i.lencode=i.lendyn,i.lenbits=7,_t={bits:i.lenbits},wt=s(l,i.lens,0,19,i.lencode,0,i.work,_t),i.lenbits=_t.bits,wt){t.msg="invalid code lengths set",i.mode=K;break}i.have=0,i.mode=H;case H:for(;i.have<i.nlen+i.ndist;){for(;mt=(Ct=i.lencode[st&(1<<i.lenbits)-1])>>>16&255,vt=65535&Ct,!((gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if(vt<16)st>>>=gt,lt-=gt,i.lens[i.have++]=vt;else{if(16===vt){for(St=gt+2;lt<St;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if(st>>>=gt,lt-=gt,0===i.have){t.msg="invalid bit length repeat",i.mode=K;break}xt=i.lens[i.have-1],ht=3+(3&st),st>>>=2,lt-=2}else if(17===vt){for(St=gt+3;lt<St;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}lt-=gt,xt=0,ht=3+(7&(st>>>=gt)),st>>>=3,lt-=3}else{for(St=gt+7;lt<St;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}lt-=gt,xt=0,ht=11+(127&(st>>>=gt)),st>>>=7,lt-=7}if(i.have+ht>i.nlen+i.ndist){t.msg="invalid bit length repeat",i.mode=K;break}for(;ht--;)i.lens[i.have++]=xt}}if(i.mode===K)break;if(0===i.lens[256]){t.msg="invalid code -- missing end-of-block",i.mode=K;break}if(i.lenbits=9,_t={bits:i.lenbits},wt=s(c,i.lens,0,i.nlen,i.lencode,0,i.work,_t),i.lenbits=_t.bits,wt){t.msg="invalid literal/lengths set",i.mode=K;break}if(i.distbits=6,i.distcode=i.distdyn,_t={bits:i.distbits},wt=s(u,i.lens,i.nlen,i.ndist,i.distcode,0,i.work,_t),i.distbits=_t.bits,wt){t.msg="invalid distances set",i.mode=K;break}if(i.mode=V,e===f)break t;case V:i.mode=j;case j:if(ot>=6&&at>=258){t.next_out=rt,t.avail_out=at,t.next_in=it,t.avail_in=ot,i.hold=st,i.bits=lt,a(t,ut),rt=t.next_out,et=t.output,at=t.avail_out,it=t.next_in,tt=t.input,ot=t.avail_in,st=i.hold,lt=i.bits,i.mode===O&&(i.back=-1);break}for(i.back=0;mt=(Ct=i.lencode[st&(1<<i.lenbits)-1])>>>16&255,vt=65535&Ct,!((gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if(mt&&0==(240&mt)){for(yt=gt,bt=mt,Lt=vt;mt=(Ct=i.lencode[Lt+((st&(1<<yt+bt)-1)>>yt)])>>>16&255,vt=65535&Ct,!(yt+(gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}st>>>=yt,lt-=yt,i.back+=yt}if(st>>>=gt,lt-=gt,i.back+=gt,i.length=vt,0===mt){i.mode=X;break}if(32&mt){i.back=-1,i.mode=O;break}if(64&mt){t.msg="invalid literal/length code",i.mode=K;break}i.extra=15&mt,i.mode=W;case W:if(i.extra){for(St=i.extra;lt<St;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}i.length+=st&(1<<i.extra)-1,st>>>=i.extra,lt-=i.extra,i.back+=i.extra}i.was=i.length,i.mode=U;case U:for(;mt=(Ct=i.distcode[st&(1<<i.distbits)-1])>>>16&255,vt=65535&Ct,!((gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if(0==(240&mt)){for(yt=gt,bt=mt,Lt=vt;mt=(Ct=i.distcode[Lt+((st&(1<<yt+bt)-1)>>yt)])>>>16&255,vt=65535&Ct,!(yt+(gt=Ct>>>24)<=lt);){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}st>>>=yt,lt-=yt,i.back+=yt}if(st>>>=gt,lt-=gt,i.back+=gt,64&mt){t.msg="invalid distance code",i.mode=K;break}i.offset=vt,i.extra=15&mt,i.mode=Y;case Y:if(i.extra){for(St=i.extra;lt<St;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}i.offset+=st&(1<<i.extra)-1,st>>>=i.extra,lt-=i.extra,i.back+=i.extra}if(i.offset>i.dmax){t.msg="invalid distance too far back",i.mode=K;break}i.mode=G;case G:if(0===at)break t;if(ht=ut-at,i.offset>ht){if((ht=i.offset-ht)>i.whave&&i.sane){t.msg="invalid distance too far back",i.mode=K;break}ht>i.wnext?(ht-=i.wnext,ft=i.wsize-ht):ft=i.wnext-ht,ht>i.length&&(ht=i.length),pt=i.window}else pt=et,ft=rt-i.offset,ht=i.length;ht>at&&(ht=at),at-=ht,i.length-=ht;do{et[rt++]=pt[ft++]}while(--ht);0===i.length&&(i.mode=j);break;case X:if(0===at)break t;et[rt++]=i.length,at--,i.mode=j;break;case q:if(i.wrap){for(;lt<32;){if(0===ot)break t;ot--,st|=tt[it++]<<lt,lt+=8}if(ut-=at,t.total_out+=ut,i.total+=ut,ut&&(t.adler=i.check=i.flags?o(i.check,et,ut,rt-ut):r(i.check,et,ut,rt-ut)),ut=at,(i.flags?st:nt(st))!==i.check){t.msg="incorrect data check",i.mode=K;break}st=0,lt=0}i.mode=$;case $:if(i.wrap&&i.flags){for(;lt<32;){if(0===ot)break t;ot--,st+=tt[it++]<<lt,lt+=8}if(st!==(4294967295&i.total)){t.msg="incorrect length check",i.mode=K;break}st=0,lt=0}i.mode=Z;case Z:wt=g;break t;case K:wt=y;break t;case Q:return b;case J:default:return v}return t.next_out=rt,t.avail_out=at,t.next_in=it,t.avail_in=ot,i.hold=st,i.bits=lt,(i.wsize||ut!==t.avail_out&&i.mode<K&&(i.mode<q||e!==h))&&function(t,e,i,r){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new n.Buf8(a.wsize)),r>=a.wsize?(n.arraySet(a.window,e,i-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>r&&(o=r),n.arraySet(a.window,e,i-r,o,a.wnext),(r-=o)?(n.arraySet(a.window,e,i-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}(t,t.output,t.next_out,ut-t.avail_out)?(i.mode=Q,b):(ct-=t.avail_in,ut-=t.avail_out,t.total_in+=ct,t.total_out+=ut,i.total+=ut,i.wrap&&ut&&(t.adler=i.check=i.flags?o(i.check,et,ut,t.next_out-ut):r(i.check,et,ut,t.next_out-ut)),t.data_type=i.bits+(i.last?64:0)+(i.mode===O?128:0)+(i.mode===V||i.mode===R?256:0),(0===ct&&0===ut||e===h)&&wt===p&&(wt=L),wt)},i.inflateEnd=function(t){if(!t||!t.state)return v;var e=t.state;return e.window&&(e.window=null),t.state=null,p},i.inflateGetHeader=function(t,e){var i;return t&&t.state?0==(2&(i=t.state).wrap)?v:(i.head=e,e.done=!1,p):v},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./inffast":34,"./inftrees":36}],36:[function(t,e,i){"use strict";var n=t("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,i,l,c,u,h,d){var f,p,g,m,v,y,b,L,x,w=d.bits,_=0,S=0,C=0,k=0,T=0,E=0,A=0,M=0,D=0,P=0,O=null,I=0,N=new n.Buf16(16),R=new n.Buf16(16),F=null,B=0;for(_=0;_<=15;_++)N[_]=0;for(S=0;S<l;S++)N[e[i+S]]++;for(T=w,k=15;k>=1&&0===N[k];k--);if(T>k&&(T=k),0===k)return c[u++]=20971520,c[u++]=20971520,d.bits=1,0;for(C=1;C<k&&0===N[C];C++);for(T<C&&(T=C),M=1,_=1;_<=15;_++)if(M<<=1,(M-=N[_])<0)return-1;if(M>0&&(0===t||1!==k))return-1;for(R[1]=0,_=1;_<15;_++)R[_+1]=R[_]+N[_];for(S=0;S<l;S++)0!==e[i+S]&&(h[R[e[i+S]]++]=S);if(0===t?(O=F=h,y=19):1===t?(O=r,I-=257,F=o,B-=257,y=256):(O=a,F=s,y=-1),P=0,S=0,_=C,v=u,E=T,A=0,g=-1,m=(D=1<<T)-1,1===t&&D>852||2===t&&D>592)return 1;for(;;){0,b=_-A,h[S]<y?(L=0,x=h[S]):h[S]>y?(L=F[B+h[S]],x=O[I+h[S]]):(L=96,x=0),f=1<<_-A,C=p=1<<E;do{c[v+(P>>A)+(p-=f)]=b<<24|L<<16|x|0}while(0!==p);for(f=1<<_-1;P&f;)f>>=1;if(0!==f?(P&=f-1,P+=f):P=0,S++,0==--N[_]){if(_===k)break;_=e[i+h[S]]}if(_>T&&(P&m)!==g){for(0===A&&(A=T),v+=C,M=1<<(E=_-A);E+A<k&&!((M-=N[E+A])<=0);)E++,M<<=1;if(D+=1<<E,1===t&&D>852||2===t&&D>592)return 1;c[g=P&m]=T<<24|E<<16|v-u|0}}return 0!==P&&(c[v+P]=_-A<<24|64<<16|0),d.bits=T,0}},{"../utils/common":27}],37:[function(t,e,i){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(t,e,i){"use strict";var n=t("../utils/common"),r=4,o=0,a=1,s=2;function l(t){for(var e=t.length;--e>=0;)t[e]=0}var c=0,u=1,h=2,d=29,f=256,p=f+1+d,g=30,m=19,v=2*p+1,y=15,b=16,L=7,x=256,w=16,_=17,S=18,C=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],k=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],T=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=new Array(2*(p+2));l(A);var M=new Array(2*g);l(M);var D=new Array(512);l(D);var P=new Array(256);l(P);var O=new Array(d);l(O);var I=new Array(g);l(I);var N,R,F,B=function(t,e,i,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=i,this.elems=n,this.max_length=r,this.has_stree=t&&t.length},z=function(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e};function H(t){return t<256?D[t]:D[256+(t>>>7)]}function V(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function j(t,e,i){t.bi_valid>b-i?(t.bi_buf|=e<<t.bi_valid&65535,V(t,t.bi_buf),t.bi_buf=e>>b-t.bi_valid,t.bi_valid+=i-b):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=i)}function W(t,e,i){j(t,i[2*e],i[2*e+1])}function U(t,e){var i=0;do{i|=1&t,t>>>=1,i<<=1}while(--e>0);return i>>>1}function Y(t,e,i){var n,r,o=new Array(y+1),a=0;for(n=1;n<=y;n++)o[n]=a=a+i[n-1]<<1;for(r=0;r<=e;r++){var s=t[2*r+1];0!==s&&(t[2*r]=U(o[s]++,s))}}function G(t){var e;for(e=0;e<p;e++)t.dyn_ltree[2*e]=0;for(e=0;e<g;e++)t.dyn_dtree[2*e]=0;for(e=0;e<m;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*x]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function X(t){t.bi_valid>8?V(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function q(t,e,i,n){var r=2*e,o=2*i;return t[r]<t[o]||t[r]===t[o]&&n[e]<=n[i]}function $(t,e,i){for(var n=t.heap[i],r=i<<1;r<=t.heap_len&&(r<t.heap_len&&q(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!q(e,n,t.heap[r],t.depth));)t.heap[i]=t.heap[r],i=r,r<<=1;t.heap[i]=n}function Z(t,e,i){var n,r,o,a,s=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*s]<<8|t.pending_buf[t.d_buf+2*s+1],r=t.pending_buf[t.l_buf+s],s++,0===n?W(t,r,e):(W(t,(o=P[r])+f+1,e),0!==(a=C[o])&&j(t,r-=O[o],a),W(t,o=H(--n),i),0!==(a=k[o])&&j(t,n-=I[o],a))}while(s<t.last_lit);W(t,x,e)}function K(t,e){var i,n,r,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,l=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=v,i=0;i<l;i++)0!==o[2*i]?(t.heap[++t.heap_len]=c=i,t.depth[i]=0):o[2*i+1]=0;for(;t.heap_len<2;)o[2*(r=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[r]=0,t.opt_len--,s&&(t.static_len-=a[2*r+1]);for(e.max_code=c,i=t.heap_len>>1;i>=1;i--)$(t,o,i);r=l;do{i=t.heap[1],t.heap[1]=t.heap[t.heap_len--],$(t,o,1),n=t.heap[1],t.heap[--t.heap_max]=i,t.heap[--t.heap_max]=n,o[2*r]=o[2*i]+o[2*n],t.depth[r]=(t.depth[i]>=t.depth[n]?t.depth[i]:t.depth[n])+1,o[2*i+1]=o[2*n+1]=r,t.heap[1]=r++,$(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var i,n,r,o,a,s,l=e.dyn_tree,c=e.max_code,u=e.stat_desc.static_tree,h=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(o=0;o<=y;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,i=t.heap_max+1;i<v;i++)(o=l[2*l[2*(n=t.heap[i])+1]+1]+1)>p&&(o=p,g++),l[2*n+1]=o,n>c||(t.bl_count[o]++,a=0,n>=f&&(a=d[n-f]),s=l[2*n],t.opt_len+=s*(o+a),h&&(t.static_len+=s*(u[2*n+1]+a)));if(0!==g){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(o=p;0!==o;o--)for(n=t.bl_count[o];0!==n;)(r=t.heap[--i])>c||(l[2*r+1]!==o&&(t.opt_len+=(o-l[2*r+1])*l[2*r],l[2*r+1]=o),n--)}}(t,e),Y(o,c,t.bl_count)}function Q(t,e,i){var n,r,o=-1,a=e[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),e[2*(i+1)+1]=65535,n=0;n<=i;n++)r=a,a=e[2*(n+1)+1],++s<l&&r===a||(s<c?t.bl_tree[2*r]+=s:0!==r?(r!==o&&t.bl_tree[2*r]++,t.bl_tree[2*w]++):s<=10?t.bl_tree[2*_]++:t.bl_tree[2*S]++,s=0,o=r,0===a?(l=138,c=3):r===a?(l=6,c=3):(l=7,c=4))}function J(t,e,i){var n,r,o=-1,a=e[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),n=0;n<=i;n++)if(r=a,a=e[2*(n+1)+1],!(++s<l&&r===a)){if(s<c)do{W(t,r,t.bl_tree)}while(0!=--s);else 0!==r?(r!==o&&(W(t,r,t.bl_tree),s--),W(t,w,t.bl_tree),j(t,s-3,2)):s<=10?(W(t,_,t.bl_tree),j(t,s-3,3)):(W(t,S,t.bl_tree),j(t,s-11,7));s=0,o=r,0===a?(l=138,c=3):r===a?(l=6,c=3):(l=7,c=4)}}var tt=!1;function et(t,e,i,r){j(t,(c<<1)+(r?1:0),3),function(t,e,i,r){X(t),r&&(V(t,i),V(t,~i)),n.arraySet(t.pending_buf,t.window,e,i,t.pending),t.pending+=i}(t,e,i,!0)}i._tr_init=function(t){tt||(function(){var t,e,i,n,r,o=new Array(y+1);for(i=0,n=0;n<d-1;n++)for(O[n]=i,t=0;t<1<<C[n];t++)P[i++]=n;for(P[i-1]=n,r=0,n=0;n<16;n++)for(I[n]=r,t=0;t<1<<k[n];t++)D[r++]=n;for(r>>=7;n<g;n++)for(I[n]=r<<7,t=0;t<1<<k[n]-7;t++)D[256+r++]=n;for(e=0;e<=y;e++)o[e]=0;for(t=0;t<=143;)A[2*t+1]=8,t++,o[8]++;for(;t<=255;)A[2*t+1]=9,t++,o[9]++;for(;t<=279;)A[2*t+1]=7,t++,o[7]++;for(;t<=287;)A[2*t+1]=8,t++,o[8]++;for(Y(A,p+1,o),t=0;t<g;t++)M[2*t+1]=5,M[2*t]=U(t,5);N=new B(A,C,f+1,p,y),R=new B(M,k,0,g,y),F=new B(new Array(0),T,0,m,L)}(),tt=!0),t.l_desc=new z(t.dyn_ltree,N),t.d_desc=new z(t.dyn_dtree,R),t.bl_desc=new z(t.bl_tree,F),t.bi_buf=0,t.bi_valid=0,G(t)},i._tr_stored_block=et,i._tr_flush_block=function(t,e,i,n){var l,c,d=0;t.level>0?(t.strm.data_type===s&&(t.strm.data_type=function(t){var e,i=4093624447;for(e=0;e<=31;e++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*e])return o;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return a;for(e=32;e<f;e++)if(0!==t.dyn_ltree[2*e])return a;return o}(t)),K(t,t.l_desc),K(t,t.d_desc),d=function(t){var e;for(Q(t,t.dyn_ltree,t.l_desc.max_code),Q(t,t.dyn_dtree,t.d_desc.max_code),K(t,t.bl_desc),e=m-1;e>=3&&0===t.bl_tree[2*E[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),l=t.opt_len+3+7>>>3,(c=t.static_len+3+7>>>3)<=l&&(l=c)):l=c=i+5,i+4<=l&&-1!==e?et(t,e,i,n):t.strategy===r||c===l?(j(t,(u<<1)+(n?1:0),3),Z(t,A,M)):(j(t,(h<<1)+(n?1:0),3),function(t,e,i,n){var r;for(j(t,e-257,5),j(t,i-1,5),j(t,n-4,4),r=0;r<n;r++)j(t,t.bl_tree[2*E[r]+1],3);J(t,t.dyn_ltree,e-1),J(t,t.dyn_dtree,i-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,d+1),Z(t,t.dyn_ltree,t.dyn_dtree)),G(t),n&&X(t)},i._tr_tally=function(t,e,i){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&i,t.last_lit++,0===e?t.dyn_ltree[2*i]++:(t.matches++,e--,t.dyn_ltree[2*(P[i]+f+1)]++,t.dyn_dtree[2*H(e)]++),t.last_lit===t.lit_bufsize-1},i._tr_align=function(t){j(t,u<<1,3),W(t,x,A),function(t){16===t.bi_valid?(V(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":27}],39:[function(t,e,i){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}]},{},[9])(9)});var XLSX={};!function(t){t.version="0.8.20";var e=1200;function i(){n(1200)}"undefined"!=typeof module&&"undefined"!=typeof require&&("undefined"==typeof cptable&&(cptable=require("./dist/cpexcel")),cptable[e]);var n=function(t){e=t};function r(t){for(var e=[],i=0,n=t.length;i<n;++i)e[i]=t.charCodeAt(i);return e}var o=function(t){return t},a=function(t){return String.fromCharCode(t)};"undefined"!=typeof cptable&&(n=function(t){e=t,cptable[t]},o=function(t){return 255===t.charCodeAt(0)&&254===t.charCodeAt(1)?cptable.utils.decode(1200,r(t.substr(2))):t},a=function(t){return 1200===e?String.fromCharCode(t):cptable.utils.decode(e,[255&t,t>>8])[0]});var s,l=(s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",{encode:function(t,e){for(var i,n,r,o,a,l,c,u="",h=0;h<t.length;)o=(i=t.charCodeAt(h++))>>2,a=(3&i)<<4|(n=t.charCodeAt(h++))>>4,l=(15&n)<<2|(r=t.charCodeAt(h++))>>6,c=63&r,isNaN(n)?l=c=64:isNaN(r)&&(c=64),u+=s.charAt(o)+s.charAt(a)+s.charAt(l)+s.charAt(c);return u},decode:function(t,e){var i,n,r,o,a,l,c="";t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var u=0;u<t.length;)i=s.indexOf(t.charAt(u++))<<2|(o=s.indexOf(t.charAt(u++)))>>4,n=(15&o)<<4|(a=s.indexOf(t.charAt(u++)))>>2,r=(3&a)<<6|(l=s.indexOf(t.charAt(u++))),c+=String.fromCharCode(i),64!=a&&(c+=String.fromCharCode(n)),64!=l&&(c+=String.fromCharCode(r));return c}}),c="undefined"!=typeof Buffer;function u(t){return new(c?Buffer:Array)(t)}function h(t){return c?new Buffer(t,"binary"):t.split("").map(function(t){return 255&t.charCodeAt(0)})}var d=function(t){return[].concat.apply([],t)},f=/\u0000/g,p=/[\u0001-\u0006]/,g={},m=function(t){function e(t){for(var e="",i=t.length-1;i>=0;)e+=t.charAt(i--);return e}function i(t,e){for(var i="";i.length<e;)i+=t;return i}function n(t,e){var n=""+t;return n.length>=e?n:i("0",e-n.length)+n}function r(t,e){var n=""+t;return n.length>=e?n:i(" ",e-n.length)+n}function o(t,e){var n=""+t;return n.length>=e?n:n+i(" ",e-n.length)}t.version="0.8.1";var a=Math.pow(2,32);function s(t,e){return t>a||t<-a?function(t,e){var n=""+Math.round(t);return n.length>=e?n:i("0",e-n.length)+n}(t,e):function(t,e){var n=""+t;return n.length>=e?n:i("0",e-n.length)+n}(Math.round(t),e)}function l(t,e){return t.length>=7+e&&103==(32|t.charCodeAt(e))&&101==(32|t.charCodeAt(e+1))&&110==(32|t.charCodeAt(e+2))&&101==(32|t.charCodeAt(e+3))&&114==(32|t.charCodeAt(e+4))&&97==(32|t.charCodeAt(e+5))&&108==(32|t.charCodeAt(e+6))}var c=[["date1904",0],["output",""],["WTF",!1]];function u(t){for(var e=0;e!=c.length;++e)void 0===t[c[e][0]]&&(t[c[e][0]]=c[e][1])}t.opts=c;var h={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "',65535:"General"},d=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],f=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function p(t,e,i){for(var n=t<0?-1:1,r=t*n,o=0,a=1,s=0,l=1,c=0,u=0,h=Math.floor(r);c<e&&(s=(h=Math.floor(r))*a+o,u=h*c+l,!(r-h<5e-10));)r=1/(r-h),o=a,a=s,l=c,c=u;if(u>e&&(u=c,s=a),u>e&&(u=l,s=o),!i)return[0,n*s,u];if(0===u)throw"Unexpected state: "+s+" "+a+" "+o+" "+u+" "+c+" "+l;var d=Math.floor(n*s/u);return[d,n*s-d*u,u]}function g(t,e){return""+t}t._general_int=g;var m=function(){var t=/\.(\d*[1-9])0+$/,e=/\.0*$/,i=/\.(\d*[1-9])0+/,n=/\.0*[Ee]/,r=/(E[+-])(\d)$/;function o(i){return i.indexOf(".")>-1?i.replace(e,"").replace(t,".$1"):i}return function(e,a){var s,l=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return s=l>=-4&&l<=-1?e.toPrecision(10+l):Math.abs(l)<=9?function(t){var e=t<0?12:11,i=o(t.toFixed(12));return i.length<=e?i:(i=t.toPrecision(10)).length<=e?i:t.toExponential(5)}(e):10===l?e.toFixed(10).substr(0,12):function(e){var i=e.toFixed(11).replace(t,".$1");return i.length>(e<0?12:11)&&(i=e.toPrecision(6)),i}(e),o(function(t){for(var e=0;e!=t.length;++e)if(101==(32|t.charCodeAt(e)))return t.replace(i,".$1").replace(n,"E").replace("e","E").replace(r,"$10$2");return t}(s))}}();function v(t,e){switch(typeof t){case"string":return t;case"boolean":return t?"TRUE":"FALSE";case"number":return(0|t)===t?g(t):m(t,e)}throw new Error("unsupported value in General format: "+t)}function y(t,e,i){if(t>2958465||t<0)return null;var n=0|t,r=Math.floor(86400*(t-n)),o=0,a=[],s={D:n,T:r,u:86400*(t-n)-r,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),u(null!=e?e:e=[]),e.date1904&&(n+=1462),s.u>.999&&(s.u=0,86400==++r&&(r=0,++n)),60===n)a=i?[1317,10,29]:[1900,2,29],o=3;else if(0===n)a=i?[1317,8,29]:[1900,1,0],o=6;else{n>60&&--n;var l=new Date(1900,0,1);l.setDate(l.getDate()+n-1),a=[l.getFullYear(),l.getMonth()+1,l.getDate()],o=l.getDay(),n<60&&(o=(o+6)%7),i&&(o=0)}return s.y=a[0],s.m=a[1],s.d=a[2],s.S=r%60,r=Math.floor(r/60),s.M=r%60,r=Math.floor(r/60),s.H=r,s.q=o,s}function b(t,e,i,r){var o,a="",s=0,l=0,c=i.y,u=0;switch(t){case 98:c=i.y+543;case 121:switch(e.length){case 1:case 2:o=c%100,u=2;break;default:o=c%1e4,u=4}break;case 109:switch(e.length){case 1:case 2:o=i.m,u=e.length;break;case 3:return f[i.m-1][1];case 5:return f[i.m-1][0];default:return f[i.m-1][2]}break;case 100:switch(e.length){case 1:case 2:o=i.d,u=e.length;break;case 3:return d[i.q][0];default:return d[i.q][1]}break;case 104:switch(e.length){case 1:case 2:o=1+(i.H+11)%12,u=e.length;break;default:throw"bad hour format: "+e}break;case 72:switch(e.length){case 1:case 2:o=i.H,u=e.length;break;default:throw"bad hour format: "+e}break;case 77:switch(e.length){case 1:case 2:o=i.M,u=e.length;break;default:throw"bad minute format: "+e}break;case 115:if(0===i.u)switch(e){case"s":case"ss":return n(i.S,e.length)}switch(e){case"s":case"ss":case".0":case".00":case".000":return l=r>=2?3===r?1e3:100:1===r?10:1,(s=Math.round(l*(i.S+i.u)))>=60*l&&(s=0),"s"===e?0===s?"0":""+s/l:(a=n(s,2+r),"ss"===e?a.substr(0,2):"."+a.substr(2,e.length-1));default:throw"bad second format: "+e}case 90:switch(e){case"[h]":case"[hh]":o=24*i.D+i.H;break;case"[m]":case"[mm]":o=60*(24*i.D+i.H)+i.M;break;case"[s]":case"[ss]":o=60*(60*(24*i.D+i.H)+i.M)+Math.round(i.S+i.u);break;default:throw"bad abstime format: "+e}u=3===e.length?1:2;break;case 101:o=c,u=1}return u>0?n(o,u):""}function L(t){if(t.length<=3)return t;for(var e=t.length%3,i=t.substr(0,e);e!=t.length;e+=3)i+=(i.length>0?",":"")+t.substr(e,3);return i}t._general_num=m,t._general=v,t.parse_date_code=y;var x=function(){var t=/%/g;var a=/# (\?+)( ?)\/( ?)(\d+)/;var l=/^#*0*\.(0+)/,c=/\).*[0#]/,u=/\(###\) ###\\?-####/;function h(t){for(var e,i="",n=0;n!=t.length;++n)switch(e=t.charCodeAt(n)){case 35:break;case 63:i+=" ";break;case 48:i+="0";break;default:i+=String.fromCharCode(e)}return i}function d(t,e){var i=Math.pow(10,e);return""+Math.round(t*i)/i}function f(t,e){return Math.round((t-Math.floor(t))*Math.pow(10,e))}function g(m,v,y){if(40===m.charCodeAt(0)&&!v.match(c)){var b=v.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return y>=0?g("n",b,y):"("+g("n",b,-y)+")"}if(44===v.charCodeAt(v.length-1))return function(t,e,i){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return x(t,e.substr(0,n),i/Math.pow(10,3*(e.length-n)))}(m,v,y);if(-1!==v.indexOf("%"))return function(e,n,r){var o=n.replace(t,""),a=n.length-o.length;return x(e,o,r*Math.pow(10,2*a))+i("%",a)}(m,v,y);if(-1!==v.indexOf("E"))return function(t,e){var i,n=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){var r=t.indexOf(".");-1===r&&(r=t.indexOf("E"));var o=Math.floor(Math.log(Math.abs(e))*Math.LOG10E)%r;if(o<0&&(o+=r),-1===(i=(e/Math.pow(10,o)).toPrecision(n+1+(r+o)%r)).indexOf("e")){var a=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);for(-1===i.indexOf(".")?i=i[0]+"."+i.substr(1)+"E+"+(a-i.length+o):i+="E+"+(a-o);"0."===i.substr(0,2);)i=(i=i[0]+i.substr(2,r)+"."+i.substr(2+r)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");i=i.replace(/\+-/,"-")}i=i.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(t,e,i,n){return e+i+n.substr(0,(r+o)%r)+"."+n.substr(o)+"E"})}else i=e.toExponential(n);return t.match(/E\+00$/)&&i.match(/e[+-]\d$/)&&(i=i.substr(0,i.length-1)+"0"+i[i.length-1]),t.match(/E\-/)&&i.match(/e\+/)&&(i=i.replace(/e\+/,"e")),i.replace("e","E")}(v,y);if(36===v.charCodeAt(0))return"$"+g(m,v.substr(" "==v[1]?2:1),y);var w,_,S,C,k=Math.abs(y),T=y<0?"-":"";if(v.match(/^00+$/))return T+s(k,v.length);if(v.match(/^[#?]+$/))return"0"===(w=s(y,0))&&(w=""),w.length>v.length?w:h(v.substr(0,v.length-w.length))+w;if(null!==(_=v.match(a)))return function(t,e,o){var a=parseInt(t[4]),s=Math.round(e*a),l=Math.floor(s/a),c=s-l*a,u=a;return o+(0===l?"":""+l)+" "+(0===c?i(" ",t[1].length+1+t[4].length):r(c,t[1].length)+t[2]+"/"+t[3]+n(u,t[4].length))}(_,k,T);if(null!==v.match(/^#+0+$/))return T+s(k,v.length-v.indexOf("0"));if(null!==(_=v.match(l)))return w=d(y,_[1].length).replace(/^([^\.]+)$/,"$1."+_[1]).replace(/\.$/,"."+_[1]).replace(/\.(\d*)$/,function(t,e){return"."+e+i("0",_[1].length-e.length)}),-1!==v.indexOf("0.")?w:w.replace(/^0\./,".");if(v=v.replace(/^#+([0.])/,"$1"),null!==(_=v.match(/^(0*)\.(#*)$/)))return T+d(k,_[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,_[1].length?"0.":".");if(null!==(_=v.match(/^#,##0(\.?)$/)))return T+L(s(k,0));if(null!==(_=v.match(/^#,##0\.([#0]*0)$/)))return y<0?"-"+g(m,v,-y):L(""+Math.floor(y))+"."+n(f(y,_[1].length),_[1].length);if(null!==(_=v.match(/^#,#*,#0/)))return g(m,v.replace(/^#,#*,/,""),y);if(null!==(_=v.match(/^([0#]+)(\\?-([0#]+))+$/)))return w=e(g(m,v.replace(/[\\-]/g,""),y)),S=0,e(e(v.replace(/\\/g,"")).replace(/[0#]/g,function(t){return S<w.length?w[S++]:"0"===t?"0":""}));if(null!==v.match(u))return"("+(w=g(m,"##########",y)).substr(0,3)+") "+w.substr(3,3)+"-"+w.substr(6);var E="";if(null!==(_=v.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)))return S=Math.min(_[4].length,7),C=p(k,Math.pow(10,S)-1,!1),w=""+T," "==(E=x("n",_[1],C[1]))[E.length-1]&&(E=E.substr(0,E.length-1)+"0"),w+=E+_[2]+"/"+_[3],(E=o(C[2],S)).length<_[4].length&&(E=h(_[4].substr(_[4].length-E.length))+E),w+=E;if(null!==(_=v.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)))return S=Math.min(Math.max(_[1].length,_[4].length),7),T+((C=p(k,Math.pow(10,S)-1,!0))[0]||(C[1]?"":"0"))+" "+(C[1]?r(C[1],S)+_[2]+"/"+_[3]+o(C[2],S):i(" ",2*S+1+_[2].length+_[3].length));if(null!==(_=v.match(/^[#0?]+$/)))return w=s(y,0),v.length<=w.length?w:h(v.substr(0,v.length-w.length))+w;if(null!==(_=v.match(/^([#0?]+)\.([#0]+)$/))){w=""+y.toFixed(Math.min(_[2].length,10)).replace(/([^0])0+$/,"$1"),S=w.indexOf(".");var A=v.indexOf(".")-S,M=v.length-w.length-A;return h(v.substr(0,A)+w+v.substr(v.length-M))}if(null!==(_=v.match(/^00,000\.([#0]*0)$/)))return S=f(y,_[1].length),y<0?"-"+g(m,v,-y):L(function(t){return t<2147483647&&t>-2147483648?""+(t>=0?0|t:t-1|0):""+Math.floor(t)}(y)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(t){return"00,"+(t.length<3?n(0,3-t.length):"")+t})+"."+n(S,_[1].length);switch(v){case"#,###":var D=L(s(k,0));return"0"!==D?T+D:""}throw new Error("unsupported format |"+v+"|")}function m(s,d,f){if(40===s.charCodeAt(0)&&!d.match(c)){var g=d.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return f>=0?m("n",g,f):"("+m("n",g,-f)+")"}if(44===d.charCodeAt(d.length-1))return function(t,e,i){for(var n=e.length-1;44===e.charCodeAt(n-1);)--n;return x(t,e.substr(0,n),i/Math.pow(10,3*(e.length-n)))}(s,d,f);if(-1!==d.indexOf("%"))return function(e,n,r){var o=n.replace(t,""),a=n.length-o.length;return x(e,o,r*Math.pow(10,2*a))+i("%",a)}(s,d,f);if(-1!==d.indexOf("E"))return function(t,e){var i,n=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){var r=t.indexOf(".");-1===r&&(r=t.indexOf("E"));var o=Math.floor(Math.log(Math.abs(e))*Math.LOG10E)%r;if(o<0&&(o+=r),!(i=(e/Math.pow(10,o)).toPrecision(n+1+(r+o)%r)).match(/[Ee]/)){var a=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);-1===i.indexOf(".")?i=i[0]+"."+i.substr(1)+"E+"+(a-i.length+o):i+="E+"+(a-o),i=i.replace(/\+-/,"-")}i=i.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(t,e,i,n){return e+i+n.substr(0,(r+o)%r)+"."+n.substr(o)+"E"})}else i=e.toExponential(n);return t.match(/E\+00$/)&&i.match(/e[+-]\d$/)&&(i=i.substr(0,i.length-1)+"0"+i[i.length-1]),t.match(/E\-/)&&i.match(/e\+/)&&(i=i.replace(/e\+/,"e")),i.replace("e","E")}(d,f);if(36===d.charCodeAt(0))return"$"+m(s,d.substr(" "==d[1]?2:1),f);var v,y,b,w,_=Math.abs(f),S=f<0?"-":"";if(d.match(/^00+$/))return S+n(_,d.length);if(d.match(/^[#?]+$/))return v=""+f,0===f&&(v=""),v.length>d.length?v:h(d.substr(0,d.length-v.length))+v;if(null!==(y=d.match(a)))return function(t,e,n){return n+(0===e?"":""+e)+i(" ",t[1].length+2+t[4].length)}(y,_,S);if(null!==d.match(/^#+0+$/))return S+n(_,d.length-d.indexOf("0"));if(null!==(y=d.match(l)))return v=(""+f).replace(/^([^\.]+)$/,"$1."+y[1]).replace(/\.$/,"."+y[1]).replace(/\.(\d*)$/,function(t,e){return"."+e+i("0",y[1].length-e.length)}),-1!==d.indexOf("0.")?v:v.replace(/^0\./,".");if(d=d.replace(/^#+([0.])/,"$1"),null!==(y=d.match(/^(0*)\.(#*)$/)))return S+(""+_).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,y[1].length?"0.":".");if(null!==(y=d.match(/^#,##0(\.?)$/)))return S+L(""+_);if(null!==(y=d.match(/^#,##0\.([#0]*0)$/)))return f<0?"-"+m(s,d,-f):L(""+f)+"."+i("0",y[1].length);if(null!==(y=d.match(/^#,#*,#0/)))return m(s,d.replace(/^#,#*,/,""),f);if(null!==(y=d.match(/^([0#]+)(\\?-([0#]+))+$/)))return v=e(m(s,d.replace(/[\\-]/g,""),f)),b=0,e(e(d.replace(/\\/g,"")).replace(/[0#]/g,function(t){return b<v.length?v[b++]:"0"===t?"0":""}));if(null!==d.match(u))return"("+(v=m(s,"##########",f)).substr(0,3)+") "+v.substr(3,3)+"-"+v.substr(6);var C="";if(null!==(y=d.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)))return b=Math.min(y[4].length,7),w=p(_,Math.pow(10,b)-1,!1),v=""+S," "==(C=x("n",y[1],w[1]))[C.length-1]&&(C=C.substr(0,C.length-1)+"0"),v+=C+y[2]+"/"+y[3],(C=o(w[2],b)).length<y[4].length&&(C=h(y[4].substr(y[4].length-C.length))+C),v+=C;if(null!==(y=d.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)))return b=Math.min(Math.max(y[1].length,y[4].length),7),S+((w=p(_,Math.pow(10,b)-1,!0))[0]||(w[1]?"":"0"))+" "+(w[1]?r(w[1],b)+y[2]+"/"+y[3]+o(w[2],b):i(" ",2*b+1+y[2].length+y[3].length));if(null!==(y=d.match(/^[#0?]+$/)))return v=""+f,d.length<=v.length?v:h(d.substr(0,d.length-v.length))+v;if(null!==(y=d.match(/^([#0]+)\.([#0]+)$/))){v=""+f.toFixed(Math.min(y[2].length,10)).replace(/([^0])0+$/,"$1"),b=v.indexOf(".");var k=d.indexOf(".")-b,T=d.length-v.length-k;return h(d.substr(0,k)+v+d.substr(d.length-T))}if(null!==(y=d.match(/^00,000\.([#0]*0)$/)))return f<0?"-"+m(s,d,-f):L(""+f).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(t){return"00,"+(t.length<3?n(0,3-t.length):"")+t})+"."+n(0,y[1].length);switch(d){case"#,###":var E=L(""+_);return"0"!==E?S+E:""}throw new Error("unsupported format |"+d+"|")}return function(t,e,i){return(0|i)===i?m(t,e,i):g(t,e,i)}}();function w(t){for(var e=[],i=!1,n=0,r=0;n<t.length;++n)switch(t.charCodeAt(n)){case 34:i=!i;break;case 95:case 42:case 92:++n;break;case 59:e[e.length]=t.substr(r,n-r),r=n+1}if(e[e.length]=t.substr(r),!0===i)throw new Error("Format |"+t+"| unterminated string ");return e}t._split=w;var _=/\[[HhMmSs]*\]/;function S(t,e,i,n){for(var r,o,a,s,c=[],u="",h=0,d="",f="t",p="H";h<t.length;)switch(d=t[h]){case"G":if(!l(t,h))throw new Error("unrecognized character "+d+" in "+t);c[c.length]={t:"G",v:"General"},h+=7;break;case'"':for(u="";34!==(s=t.charCodeAt(++h))&&h<t.length;)u+=String.fromCharCode(s);c[c.length]={t:"t",v:u},++h;break;case"\\":var g=t[++h],m="("===g||")"===g?g:"t";c[c.length]={t:m,v:g},++h;break;case"_":c[c.length]={t:"t",v:" "},h+=2;break;case"@":c[c.length]={t:"T",v:e},++h;break;case"B":case"b":if("1"===t[h+1]||"2"===t[h+1]){if(null==o&&null==(o=y(e,i,"2"===t[h+1])))return"";c[c.length]={t:"X",v:t.substr(h,2)},f=d,h+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":d=d.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(e<0)return"";if(null==o&&null==(o=y(e,i)))return"";for(u=d;++h<t.length&&t[h].toLowerCase()===d;)u+=d;"m"===d&&"h"===f.toLowerCase()&&(d="M"),"h"===d&&(d=p),c[c.length]={t:d,v:u},f=d;break;case"A":if(r={t:d,v:"A"},null==o&&(o=y(e,i)),"A/P"===t.substr(h,3)?(null!=o&&(r.v=o.H>=12?"P":"A"),r.t="T",p="h",h+=3):"AM/PM"===t.substr(h,5)?(null!=o&&(r.v=o.H>=12?"PM":"AM"),r.t="T",h+=5,p="h"):(r.t="t",++h),null==o&&"T"===r.t)return"";c[c.length]=r,f=d;break;case"[":for(u=d;"]"!==t[h++]&&h<t.length;)u+=t[h];if("]"!==u.substr(-1))throw'unterminated "[" block: |'+u+"|";if(u.match(_)){if(null==o&&null==(o=y(e,i)))return"";c[c.length]={t:"Z",v:u.toLowerCase()}}else u="";break;case".":if(null!=o){for(u=d;"0"===(d=t[++h]);)u+=d;c[c.length]={t:"s",v:u};break}case"0":case"#":for(u=d;"0#?.,E+-%".indexOf(d=t[++h])>-1||"\\"==d&&"-"==t[h+1]&&"0#".indexOf(t[h+2])>-1;)u+=d;c[c.length]={t:"n",v:u};break;case"?":for(u=d;t[++h]===d;)u+=d;r={t:d,v:u},c[c.length]=r,f=d;break;case"*":" "!=t[++h]&&"*"!=t[h]||++h;break;case"(":case")":c[c.length]={t:1===n?"t":d,v:d},++h;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(u=d;"0123456789".indexOf(t[++h])>-1;)u+=t[h];c[c.length]={t:"D",v:u};break;case" ":c[c.length]={t:d,v:d},++h;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxz".indexOf(d))throw new Error("unrecognized character "+d+" in "+t);c[c.length]={t:"t",v:d},++h}var L,w=0,S=0;for(h=c.length-1,f="t";h>=0;--h)switch(c[h].t){case"h":case"H":c[h].t=p,f="h",w<1&&(w=1);break;case"s":(L=c[h].v.match(/\.0+$/))&&(S=Math.max(S,L[0].length-1)),w<3&&(w=3);case"d":case"y":case"M":case"e":f=c[h].t;break;case"m":"s"===f&&(c[h].t="M",w<2&&(w=2));break;case"X":c[h].v;break;case"Z":w<1&&c[h].v.match(/[Hh]/)&&(w=1),w<2&&c[h].v.match(/[Mm]/)&&(w=2),w<3&&c[h].v.match(/[Ss]/)&&(w=3)}switch(w){case 0:break;case 1:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M),o.M>=60&&(o.M=0,++o.H);break;case 2:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M)}var C,k="";for(h=0;h<c.length;++h)switch(c[h].t){case"t":case"T":case" ":case"D":break;case"X":c[h]=void 0;break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":c[h].v=b(c[h].t.charCodeAt(0),c[h].v,o,S),c[h].t="t";break;case"n":case"(":case"?":for(C=h+1;null!=c[C]&&("?"===(d=c[C].t)||"D"===d||(" "===d||"t"===d)&&null!=c[C+1]&&("?"===c[C+1].t||"t"===c[C+1].t&&"/"===c[C+1].v)||"("===c[h].t&&(" "===d||"n"===d||")"===d)||"t"===d&&("/"===c[C].v||"$€".indexOf(c[C].v)>-1||" "===c[C].v&&null!=c[C+1]&&"?"==c[C+1].t));)c[h].v+=c[C].v,c[C]=void 0,++C;k+=c[h].v,h=C-1;break;case"G":c[h].t="t",c[h].v=v(e,i)}var T,E,A="";if(k.length>0){T=e<0&&45===k.charCodeAt(0)?-e:e,C=(E=x(40===k.charCodeAt(0)?"(":"n",k,T)).length-1;var M=c.length;for(h=0;h<c.length;++h)if(null!=c[h]&&c[h].v.indexOf(".")>-1){M=h;break}var D=c.length;if(M===c.length&&-1===E.indexOf("E")){for(h=c.length-1;h>=0;--h)null!=c[h]&&-1!=="n?(".indexOf(c[h].t)&&(C>=c[h].v.length-1?(C-=c[h].v.length,c[h].v=E.substr(C+1,c[h].v.length)):C<0?c[h].v="":(c[h].v=E.substr(0,C+1),C=-1),c[h].t="t",D=h);C>=0&&D<c.length&&(c[D].v=E.substr(0,C+1)+c[D].v)}else if(M!==c.length&&-1===E.indexOf("E")){for(C=E.indexOf(".")-1,h=M;h>=0;--h)if(null!=c[h]&&-1!=="n?(".indexOf(c[h].t)){for(a=c[h].v.indexOf(".")>-1&&h===M?c[h].v.indexOf(".")-1:c[h].v.length-1,A=c[h].v.substr(a+1);a>=0;--a)C>=0&&("0"===c[h].v[a]||"#"===c[h].v[a])&&(A=E[C--]+A);c[h].v=A,c[h].t="t",D=h}for(C>=0&&D<c.length&&(c[D].v=E.substr(0,C+1)+c[D].v),C=E.indexOf(".")+1,h=M;h<c.length;++h)if(null!=c[h]&&(-1!=="n?(".indexOf(c[h].t)||h===M)){for(a=c[h].v.indexOf(".")>-1&&h===M?c[h].v.indexOf(".")+1:0,A=c[h].v.substr(0,a);a<c[h].v.length;++a)C<E.length&&(A+=E[C++]);c[h].v=A,c[h].t="t",D=h}}}for(h=0;h<c.length;++h)null!=c[h]&&"n(?".indexOf(c[h].t)>-1&&(T=n>1&&e<0&&h>0&&"-"===c[h-1].v?-e:e,c[h].v=x(c[h].t,c[h].v,T),c[h].t="t");var P="";for(h=0;h!==c.length;++h)null!=c[h]&&(P+=c[h].v);return P}t._eval=S;var C=/\[[=<>]/,k=/\[([=<>]*)(-?\d+\.?\d*)\]/;function T(t,e){if(null==e)return!1;var i=parseFloat(e[2]);switch(e[1]){case"=":if(t==i)return!0;break;case">":if(t>i)return!0;break;case"<":if(t<i)return!0;break;case"<>":if(t!=i)return!0;break;case">=":if(t>=i)return!0;break;case"<=":if(t<=i)return!0}return!1}t._table=h,t.load=function(t,e){h[e]=t},t.format=function(t,e,i){u(null!=i?i:i=[]);var n="";switch(typeof t){case"string":n=t;break;case"number":n=(null!=i.table?i.table:h)[t]}if(l(n,0))return v(e,i);var r=function(t,e){var i=w(t),n=i.length,r=i[n-1].indexOf("@");if(n<4&&r>-1&&--n,i.length>4)throw"cannot find right format for |"+i+"|";if("number"!=typeof e)return[4,4===i.length||r>-1?i[i.length-1]:"@"];switch(i.length){case 1:i=r>-1?["General","General","General",i[0]]:[i[0],i[0],i[0],"@"];break;case 2:i=r>-1?[i[0],i[0],i[0],i[1]]:[i[0],i[1],i[0],"@"];break;case 3:i=r>-1?[i[0],i[1],i[0],i[2]]:[i[0],i[1],i[2],"@"]}var o=e>0?i[0]:e<0?i[1]:i[2];if(-1===i[0].indexOf("[")&&-1===i[1].indexOf("["))return[n,o];if(null!=i[0].match(C)||null!=i[1].match(C)){var a=i[0].match(k),s=i[1].match(k);return T(e,a)?[n,i[0]]:T(e,s)?[n,i[1]]:[n,i[null!=a&&null!=s?2:1]]}return[n,o]}(n,e);if(l(r[1]))return v(e,i);if(!0===e)e="TRUE";else if(!1===e)e="FALSE";else if(""===e||null==e)return"";return S(r[1],e,i,r[0])},t.get_table=function(){return h},t.load_table=function(e){for(var i=0;392!=i;++i)void 0!==e[i]&&t.load(e[i],i)}};m(g);var v,y,b={"General Number":"General","General Date":g._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":g._table[15],"Short Date":g._table[14],"Long Time":g._table[19],"Medium Time":g._table[18],"Short Time":g._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:g._table[2],Standard:g._table[4],Percent:g._table[10],Scientific:g._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},L=function(){var t,e={};function i(t){var e,i,l,u,h,d,g=512,m=[],v=t.slice(0,512);switch(Mt(v,0),e=function(t){t.chk(s,"Header Signature: "),t.chk(c,"CLSID: ");var e=t.read_shift(2,"u");return[t.read_shift(2,"u"),e]}(v)[0]){case 3:g=512;break;case 4:g=4096;break;default:throw"Major Version: Expected 3 or 4 saw "+e}512!==g&&Mt(v=t.slice(0,g),28);var y=t.slice(0,g);!function(t,e){var i=9;switch(t.chk("feff","Byte Order: "),i=t.read_shift(2)){case 9:if(3!==e)throw"MajorVersion/SectorShift Mismatch";break;case 12:if(4!==e)throw"MajorVersion/SectorShift Mismatch";break;default:throw"Sector Shift: Expected 9 or 12 saw "+i}t.chk("0600","Mini Sector Shift: "),t.chk("000000000000","Reserved: ")}(v,e);var b=v.read_shift(4,"i");if(3===e&&0!==b)throw"# Directory Sectors: Expected 0 saw "+b;v.l+=4,u=v.read_shift(4,"i"),v.l+=4,v.chk("00100000","Mini Stream Cutoff Size: "),h=v.read_shift(4,"i"),i=v.read_shift(4,"i"),d=v.read_shift(4,"i"),l=v.read_shift(4,"i");for(var L,x=0;x<109&&!((L=v.read_shift(4,"i"))<0);++x)m[x]=L;var w=function(t,e){for(var i=Math.ceil(t.length/e)-1,n=new Array(i),r=1;r<i;++r)n[r-1]=t.slice(r*e,(r+1)*e);return n[i-1]=t.slice(i*e),n}(t,g);!function t(e,i,n,r,o){var s;if(e===a){if(0!==i)throw"DIFAT chain shorter than expected"}else if(-1!==e){for(var l=n[e],c=(r>>>2)-1,u=0;u<c&&(s=Ct(l,4*u))!==a;++u)o.push(s);t(Ct(l,r-4),i-1,n,r,o)}}(d,l,w,g,m);var _=function(t,e,i,n){var r,o,a,s,l,c,u=t.length,h=new Array(u),d=new Array(u),f=n-1;for(a=0;a<u;++a)if(r=[],(l=a+e)>=u&&(l-=u),!0!==d[l]){for(o=[],s=l;s>=0;){d[s]=!0,r[r.length]=s,o.push(t[s]);var p=i[Math.floor(4*s/n)];if(n<4+(c=4*s&f))throw"FAT boundary crossed: "+s+" 4 "+n;s=Ct(t[p],c)}h[l]={nodes:r,data:ot([o])}}return h}(w,u,m,g);_[u].name="!Directory",i>0&&h!==a&&(_[h].name="!MiniFAT"),_[m[0]].name="!FAT",_.fat_addrs=m,_.ssz=g;var S={},C=[],k=[],T=[],E={};!function(t,e,i,s,l,c,u){for(var h,d,f,p,g,m=0,v=s.length?2:0,y=e[t].data,b=0,L=0;b<y.length;b+=128)Mt(h=y.slice(b,b+128),64),0!==(L=h.read_shift(2))&&(d=st(h,0,L-v),s.push(d),f={name:d,type:h.read_shift(1),color:h.read_shift(1),L:h.read_shift(4,"i"),R:h.read_shift(4,"i"),C:h.read_shift(4,"i"),clsid:h.read_shift(16),state:h.read_shift(4,"i")},0!==(p=h.read_shift(2)+h.read_shift(2)+h.read_shift(2)+h.read_shift(2))&&(f.ctime=p,f.ct=r(h,h.l-8)),0!==(g=h.read_shift(2)+h.read_shift(2)+h.read_shift(2)+h.read_shift(2))&&(f.mtime=g,f.mt=r(h,h.l-8)),f.start=h.read_shift(4,"i"),f.size=h.read_shift(4,"i"),5===f.type?(m=f.start,l>0&&m!==a&&(e[m].name="!StreamData")):f.size>=4096?(f.storage="fat",void 0===e[f.start]&&(e[f.start]=n(i,f.start,e.fat_addrs,e.ssz)),e[f.start].name=f.name,f.content=e[f.start].data.slice(0,f.size),Mt(f.content,0)):(f.storage="minifat",m!==a&&f.start!==a&&(f.content=e[m].data.slice(f.start*o,f.start*o+f.size),Mt(f.content,0))),c[d]=f,u.push(f))}(u,_,w,C,i,S,k),function(t,e,i,n){for(var r=0,o=0,a=0,s=0,l=0,c=n.length,u=new Array(c),h=new Array(c);r<c;++r)u[r]=h[r]=r,i[r]=n[r];for(;l<h.length;++l)r=h[l],o=t[r].L,a=t[r].R,s=t[r].C,u[r]===r&&(-1!==o&&u[o]!==o&&(u[r]=u[o]),-1!==a&&u[a]!==a&&(u[r]=u[a])),-1!==s&&(u[s]=r),-1!==o&&(u[o]=u[r],h.push(o)),-1!==a&&(u[a]=u[r],h.push(a));for(r=1;r!==c;++r)u[r]===r&&(-1!==a&&u[a]!==a?u[r]=u[a]:-1!==o&&u[o]!==o&&(u[r]=u[o]));for(r=1;r<c;++r)if(0!==t[r].type){if(0===(l=u[r]))i[r]=i[0]+"/"+i[r];else for(;0!==l;)i[r]=i[l]+"/"+i[r],l=u[l];u[r]=0}for(i[0]+="/",r=1;r<c;++r)2!==t[r].type&&(i[r]+="/"),e[i[r]]=t[r]}(k,E,T,C);var A=C.shift();C.root=A;var M=function(t,e,i,n,r){var o,a=new Array(t.length),s=new Array(e.length);for(o=0;o<t.length;++o)a[o]=t[o].toUpperCase().replace(f,"").replace(p,"!");for(o=0;o<e.length;++o)s[o]=e[o].toUpperCase().replace(f,"").replace(p,"!");return function(t){var o;47===t.charCodeAt(0)?(o=!0,t=r+t):o=-1!==t.indexOf("/");var l=t.toUpperCase().replace(f,"").replace(p,"!"),c=!0===o?a.indexOf(l):s.indexOf(l);return-1===c?null:!0===o?i[c]:n[e[c]]}}(T,C,k,S,A);return{raw:{header:y,sectors:w},FileIndex:k,FullPaths:T,FullPathDir:E,find:M}}function n(t,e,i,n,r){var o,a,s=t.length;r||(r=new Array(s));var l,c,u=n-1;for(o=[],a=[],l=e;l>=0;){r[l]=!0,o[o.length]=l,a.push(t[l]);var h=i[Math.floor(4*l/n)];if(n<4+(c=4*l&u))throw"FAT boundary crossed: "+l+" 4 "+n;l=Ct(t[h],c)}return{nodes:o,data:ot([a])}}function r(t,e){return new Date(1e3*(St(t,e+4)/1e7*Math.pow(2,32)+St(t,e)/1e7-11644473600))}e.version="0.10.2";var o=64,a=-2,s="d0cf11e0a1b11ae1",c="00000000000000000000000000000000",u={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:a,FREESECT:-1,HEADER_SIGNATURE:s,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:c,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};return e.read=function(e,n){switch(void 0!==n&&void 0!==n.type?n.type:"base64"){case"file":return r=e,void 0===t&&(t=require("fs")),i(t.readFileSync(r));case"base64":return i(h(l.decode(e)));case"binary":return i(h(e))}var r;return i(e)},e.parse=i,e.utils={ReadShift:Tt,CheckField:At,prep_blob:Mt,bconcat:d,consts:u},e}();function x(t){return null!=t}function w(t){return Object.keys(t)}function _(t){for(var e=[],i=w(t),n=0;n!==i.length;++n)e[t[i[n]]]=parseInt(i[n],10);return e}function S(t,e){return e&&(t+=1462),(Date.parse(t)+22091616e5)/864e5}function C(t){if(!t)return null;if(".bin"===t.name.substr(-4)){if(t.data)return r(t.data);if(t.asNodeBuffer&&c)return t.asNodeBuffer();if(t._data&&t._data.getContent)return Array.prototype.slice.call(t._data.getContent())}else{if(t.data)return".bin"!==t.name.substr(-4)?o(t.data):r(t.data);if(t.asNodeBuffer&&c)return o(t.asNodeBuffer().toString("binary"));if(t.asBinary)return o(t.asBinary());if(t._data&&t._data.getContent)return o(function(t){for(var e="",i=0;i!=t.length;++i)e+=String.fromCharCode(t[i]);return e}(Array.prototype.slice.call(t._data.getContent(),0)))}return null}function k(t,e){var i=e;if(t.files[i])return t.files[i];var n={};for(var r in t.files)n[r.toLowerCase()]=t.files[r];return n[i=e.toLowerCase()]?n[i]:n[i=i.replace(/\//g,"\\")]?n[i]:null}function T(t,e){var i=k(t,e);if(null==i)throw new Error("Cannot find file "+e+" in zip");return i}function E(t,e,i){if(!i)return C(T(t,e));if(!e)return null;try{return E(t,e)}catch(t){return null}}"undefined"!=typeof JSZip&&(y=JSZip),"undefined"!=typeof exports&&"undefined"!=typeof module&&module.exports&&(c&&void 0===y&&(y=require("jszip")),void 0===y&&(y=require("./jszip").JSZip),v=require("fs"));var A=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,M=/<[^>]*>/g,D=/<\w*:/,P=/<(\/?)\w+:/;function O(t,e){for(var i=[],n=0,r=0;n!==t.length&&(32!==(r=t.charCodeAt(n))&&10!==r&&13!==r);++n);if(e||(i[0]=t.substr(0,n)),n===t.length)return i;var o=t.match(A),a=0,s="",l=0,c="",u="";if(o)for(l=0;l!=o.length;++l){for(u=o[l],r=0;r!=u.length&&61!==u.charCodeAt(r);++r);for(c=u.substr(0,r),s=u.substring(r+2,u.length-1),a=0;a!=c.length&&58!==c.charCodeAt(a);++a);a===c.length?i[c]=s:i[(5===a&&"xmlns"===c.substr(0,5)?"xmlns":"")+c.substr(a+1)]=s}return i}var I,N,R={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},F=function(t){for(var e=[],i=w(t),n=0;n!==i.length;++n)e[t[i[n]]]=i[n];return e}(R),B=("&<>'\"".split(""),I=/&[a-z]*;/g,N=/_x([\da-fA-F]+)_/g,function(t){return(t+"").replace(I,function(t){return R[t]}).replace(N,function(t,e){return String.fromCharCode(parseInt(e,16))})}),z=/[&<>'"]/g,H=/[\u0000-\u0008\u000b-\u001f]/g;function V(t){return(t+"").replace(z,function(t){return F[t]}).replace(H,function(t){return"_x"+("000"+t.charCodeAt(0).toString(16)).substr(-4)+"_"})}var j=function(){var t=/&#(\d+);/g;function e(t,e){return String.fromCharCode(parseInt(e,10))}return function(i){return i.replace(t,e)}}();function W(t,e){switch(t){case"1":case"true":case"TRUE":return!0;default:return!1}}var U=function(t){for(var e="",i=0,n=0,r=0,o=0,a=0;i<t.length;)(n=t.charCodeAt(i++))<128?e+=String.fromCharCode(n):(r=t.charCodeAt(i++),n>191&&n<224?e+=String.fromCharCode((31&n)<<6|63&r):(o=t.charCodeAt(i++),n<240?e+=String.fromCharCode((15&n)<<12|(63&r)<<6|63&o):(a=((7&n)<<18|(63&r)<<12|(63&o)<<6|63&t.charCodeAt(i++))-65536,e+=String.fromCharCode(55296+(a>>>10&1023)),e+=String.fromCharCode(56320+(1023&a)))));return e};if(c){var Y=function(t){var e,i,n,r=new Buffer(2*t.length),o=1,a=0,s=0;for(i=0;i<t.length;i+=o)o=1,(n=t.charCodeAt(i))<128?e=n:n<224?(e=64*(31&n)+(63&t.charCodeAt(i+1)),o=2):n<240?(e=4096*(15&n)+64*(63&t.charCodeAt(i+1))+(63&t.charCodeAt(i+2)),o=3):(o=4,e=262144*(7&n)+4096*(63&t.charCodeAt(i+1))+64*(63&t.charCodeAt(i+2))+(63&t.charCodeAt(i+3)),s=55296+((e-=65536)>>>10&1023),e=56320+(1023&e)),0!==s&&(r[a++]=255&s,r[a++]=s>>>8,s=0),r[a++]=e%256,r[a++]=e>>>8;return r.length=a,r.toString("ucs2")},G="foo bar baz☃🍣";U(G)==Y(G)&&(U=Y);var X=function(t){return Buffer(t,"binary").toString("utf8")};U(G)==X(G)&&(U=X)}var q,$,Z=(q={},function(t,e){var i=t+"|"+e;return void 0!==q[i]?q[i]:q[i]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([^☃]*)</(?:\\w+:)?'+t+">",e||"")}),K=($={},function(t){return void 0!==$[t]?$[t]:$[t]=new RegExp("<vt:"+t+">(.*?)</vt:"+t+">","g")}),Q=/<\/?vt:variant>/g,J=/<vt:([^>]*)>(.*)</;function tt(t){var e=O(t),i=t.match(K(e.baseType))||[];if(i.length!=e.size)throw"unexpected vector length "+i.length+" != "+e.size;var n=[];return i.forEach(function(t){var e=t.replace(Q,"").match(J);n.push({v:e[2],t:e[1]})}),n}var et=/(^\s|\s$|\n)/;function it(t,e){return"<"+t+(e.match(et)?' xml:space="preserve"':"")+">"+e+"</"+t+">"}function nt(t,e,i){return"<"+t+(x(i)?function(t){return w(t).map(function(e){return" "+e+'="'+t[e]+'"'}).join("")}(i):"")+(x(e)?(e.match(et)?' xml:space="preserve"':"")+">"+e+"</"+t:"/")+">"}function rt(t,e){try{return t.toISOString().replace(/\.\d*/,"")}catch(t){if(e)throw t}}var ot,at,st,lt,ct,ut,ht,dt,ft,pt,gt,mt,vt,yt='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',bt={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};bt.main=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],ot=at=function(t){for(var e=[],i=0;i<t[0].length;++i)e.push.apply(e,t[0][i]);return e},st=lt=function(t,e,i){for(var n=[],r=e;r<i;r+=2)n.push(String.fromCharCode(wt(t,r)));return n.join("")},ct=ut=function(t,e,i){return t.slice(e,e+i).map(function(t){return(t<16?"0":"")+t.toString(16)}).join("")},ht=function(t,e,i){for(var n=[],r=e;r<i;r++)n.push(String.fromCharCode(xt(t,r)));return n.join("")},dt=ft=function(t,e){var i=St(t,e);return i>0?ht(t,e+4,e+4+i-1):""},pt=gt=function(t,e){var i=2*St(t,e);return i>0?ht(t,e+4,e+4+i-1):""},mt=vt=function(t,e){return function(t,e,i,n,r){void 0===i&&(i=!0),n||(n=8),r||8!==n||(r=52);var o,a,s=8*n-r-1,l=(1<<s)-1,c=l>>1,u=-7,h=i?-1:1,d=i?n-1:0,f=t[e+d];for(d+=h,o=f&(1<<-u)-1,f>>>=-u,u+=s;u>0;o=256*o+t[e+d],d+=h,u-=8);for(a=o&(1<<-u)-1,o>>>=-u,u+=r;u>0;a=256*a+t[e+d],d+=h,u-=8);return o===l?a?NaN:1/0*(f?-1:1):(0===o?o=1-c:(a+=Math.pow(2,r),o-=c),(f?-1:1)*a*Math.pow(2,o-r))}(t,e)};var Lt=function(t){return Array.isArray(t)};c&&(st=function(t,e,i){return Buffer.isBuffer(t)?t.toString("utf16le",e,i):lt(t,e,i)},ct=function(t,e,i){return Buffer.isBuffer(t)?t.toString("hex",e,e+i):ut(t,e,i)},dt=function(t,e){if(!Buffer.isBuffer(t))return ft(t,e);var i=t.readUInt32LE(e);return i>0?t.toString("utf8",e+4,e+4+i-1):""},pt=function(t,e){if(!Buffer.isBuffer(t))return gt(t,e);var i=2*t.readUInt32LE(e);return t.toString("utf16le",e+4,e+4+i-1)},ht=function(t,e){return this.toString("utf8",t,e)},ot=function(t){return t[0].length>0&&Buffer.isBuffer(t[0][0])?Buffer.concat(t[0]):at(t)},d=function(t){return Buffer.isBuffer(t[0])?Buffer.concat(t):[].concat.apply([],t)},mt=function(t,e){return Buffer.isBuffer(t)?t.readDoubleLE(e):vt(t,e)},Lt=function(t){return Buffer.isBuffer(t)||Array.isArray(t)}),"undefined"!=typeof cptable&&(st=function(t,e,i){return cptable.utils.decode(1200,t.slice(e,i))},ht=function(t,e,i){return cptable.utils.decode(65001,t.slice(e,i))},dt=function(t,i){var n=St(t,i);return n>0?cptable.utils.decode(e,t.slice(i+4,i+4+n-1)):""},pt=function(t,e){var i=2*St(t,e);return i>0?cptable.utils.decode(1200,t.slice(e+4,e+4+i-1)):""});var xt=function(t,e){return t[e]},wt=function(t,e){return 256*t[e+1]+t[e]},_t=function(t,e){var i=256*t[e+1]+t[e];return i<32768?i:-1*(65535-i+1)},St=function(t,e){return t[e+3]*(1<<24)+(t[e+2]<<16)+(t[e+1]<<8)+t[e]},Ct=function(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]},kt=function(t){return t.match(/../g).map(function(t){return parseInt(t,16)})};function Tt(t,e){var i,n,r,o,s,l,u="",h=[];switch(e){case"dbcs":if(l=this.l,c&&Buffer.isBuffer(this))u=this.slice(this.l,this.l+2*t).toString("utf16le");else for(s=0;s!=t;++s)u+=String.fromCharCode(wt(this,l)),l+=2;t*=2;break;case"utf8":u=ht(this,this.l,this.l+t);break;case"utf16le":t*=2,u=st(this,this.l,this.l+t);break;case"lpstr":t=5+(u=dt(this,this.l)).length;break;case"lpwstr":t=5+(u=pt(this,this.l)).length,"\0"==u[u.length-1]&&(t+=2);break;case"cstr":for(t=0,u="";0!==(r=xt(this,this.l+t++));)h.push(a(r));u=h.join("");break;case"wstr":for(t=0,u="";0!==(r=wt(this,this.l+t));)h.push(a(r)),t+=2;t+=2,u=h.join("");break;case"dbcs-cont":for(u="",l=this.l,s=0;s!=t;++s){if(this.lens&&-1!==this.lens.indexOf(l))return r=xt(this,l),this.l=l+1,o=Tt.call(this,t-s,r?"dbcs-cont":"sbcs-cont"),h.join("")+o;h.push(a(wt(this,l))),l+=2}u=h.join(""),t*=2;break;case"sbcs-cont":for(u="",l=this.l,s=0;s!=t;++s){if(this.lens&&-1!==this.lens.indexOf(l))return r=xt(this,l),this.l=l+1,o=Tt.call(this,t-s,r?"dbcs-cont":"sbcs-cont"),h.join("")+o;h.push(a(xt(this,l))),l+=1}u=h.join("");break;default:switch(t){case 1:return i=xt(this,this.l),this.l++,i;case 2:return i=("i"===e?_t:wt)(this,this.l),this.l+=2,i;case 4:return"i"===e||0==(128&this[this.l+3])?(i=Ct(this,this.l),this.l+=4,i):(n=St(this,this.l),this.l+=4,n);case 8:if("f"===e)return n=mt(this,this.l),this.l+=8,n;case 16:u=ct(this,this.l,t)}}return this.l+=t,u}function Et(t,e,i){var n,r;if("dbcs"===i){for(r=0;r!=e.length;++r)this.writeUInt16LE(e.charCodeAt(r),this.l+2*r);n=2*e.length}else switch(t){case 1:n=1,this[this.l]=255&e;break;case 3:n=3,this[this.l+2]=255&e,e>>>=8,this[this.l+1]=255&e,e>>>=8,this[this.l]=255&e;break;case 4:n=4,this.writeUInt32LE(e,this.l);break;case 8:if(n=8,"f"===i){this.writeDoubleLE(e,this.l);break}case 16:break;case-4:n=4,this.writeInt32LE(e,this.l)}return this.l+=n,this}function At(t,e){var i=ct(this,this.l,t.length>>1);if(i!==t)throw e+"Expected "+t+" saw "+i;this.l+=t.length>>1}function Mt(t,e){t.l=e,t.read_shift=Tt,t.chk=At,t.write_shift=Et}function Dt(t,e){t.l+=e}function Pt(t){var e=u(t);return Mt(e,0),e}function Ot(t,e,i){var n,r,o;for(Mt(t,t.l||0);t.l<t.length;){var a=t.read_shift(1);128&a&&(a=(127&a)+((127&t.read_shift(1))<<7));var s=Yu[a]||Yu[65535];for(o=127&(n=t.read_shift(1)),r=1;r<4&&128&n;++r)o+=(127&(n=t.read_shift(1)))<<7*r;if(e(s.f(t,o,i),s,a))return}}function It(){var t=[],e=function(t){var e=Pt(t);return Mt(e,0),e},i=e(2048),n=function(){i.length=i.l,i.length>0&&t.push(i),i=null},r=function(t){return t<i.length-i.l?i:(n(),i=e(Math.max(t+1,2048)))};return{next:r,push:function(t){n(),i=t,r(2048)},end:function(){return n(),ot([t])},_bufs:t}}function Nt(t,e,i,n){var r,o=Gu[e];n||(n=Yu[o].p||(i||[]).length||0),r=1+(o>=128?1:0)+1+n,n>=128&&++r,n>=16384&&++r,n>=2097152&&++r;var a=t.next(r);o<=127?a.write_shift(1,o):(a.write_shift(1,128+(127&o)),a.write_shift(1,o>>7));for(var s=0;4!=s;++s){if(!(n>=128)){a.write_shift(1,n);break}a.write_shift(1,128+(127&n)),n>>=7}n>0&&Lt(i)&&t.push(i)}function Rt(t,e){for(e.s?(t.cRel&&(t.c+=e.s.c),t.rRel&&(t.r+=e.s.r)):(t.c+=e.c,t.r+=e.r),t.cRel=t.rRel=0;t.c>=256;)t.c-=256;for(;t.r>=65536;)t.r-=65536;return t}function Ft(t,e){return t.s=Rt(t.s,e.s),t.e=Rt(t.e,e.s),t}function Bt(t,e){return{ich:t.read_shift(2),ifnt:t.read_shift(2)}}function zt(t,e){var i=t.l,n=t.read_shift(1),r=jt(t),o=[],a={t:r,h:r};if(0!=(1&n)){for(var s=t.read_shift(4),l=0;l!=s;++l)o.push(Bt(t));a.r=o}else a.r="<t>"+V(r)+"</t>";return t.l=i+e,a}function Ht(t){var e=t.read_shift(4),i=t.read_shift(2);i+=t.read_shift(1)<<16;t.read_shift(1);return{c:e,iStyleRef:i}}function Vt(t){var e=t.read_shift(4);return 0===e||4294967295===e?"":t.read_shift(e,"dbcs")}function jt(t){var e=t.read_shift(4);return 0===e?"":t.read_shift(e,"dbcs")}function Wt(t,e){return null==e&&(e=Pt(4+2*t.length)),e.write_shift(4,t.length),t.length>0&&e.write_shift(0,t,"dbcs"),e}!function(t,e){var i;if(void 0!==e)i=e;else if("undefined"!=typeof require)try{i=require("crypto")}catch(t){i=null}t.rc4=function(t,e){var i=new Array(256),n=0,r=0,o=0,a=0;for(r=0;256!=r;++r)i[r]=r;for(r=0;256!=r;++r)o=o+i[r]+t[r%t.length].charCodeAt(0)&255,a=i[r],i[r]=i[o],i[o]=a;for(r=o=0,out=Buffer(e.length),n=0;n!=e.length;++n)o=(o+i[r=r+1&255])%256,a=i[r],i[r]=i[o],i[o]=a,out[n]=e[n]^i[i[r]+i[o]&255];return out},t.md5=i?function(t){return i.createHash("md5").update(t).digest("hex")}:function(t){throw"unimplemented"}}({},"undefined"!=typeof crypto?crypto:void 0);var Ut=Vt,Yt=function(t,e){return e||(e=Pt(127)),e.write_shift(4,t.length>0?t.length:4294967295),t.length>0&&e.write_shift(0,t,"dbcs"),e};function Gt(t){var e=t.slice(t.l,t.l+4),i=1&e[0],n=2&e[0];t.l+=4,e[0]&=252;var r=0===n?mt([0,0,0,0,e[0],e[1],e[2],e[3]],0):Ct(e,0)>>2;return i?r/100:r}function Xt(t){var e={s:{},e:{}};return e.s.r=t.read_shift(4),e.e.r=t.read_shift(4),e.s.c=t.read_shift(4),e.e.c=t.read_shift(4),e}function qt(t,e){return t.read_shift(8,"f")}var $t={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Zt=_($t);var Kt=2,Qt=3,Jt=12,te=81,ee=[80,te],ie={1:{n:"CodePage",t:Kt},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:Qt},5:{n:"LineCount",t:Qt},6:{n:"ParagraphCount",t:Qt},7:{n:"SlideCount",t:Qt},8:{n:"NoteCount",t:Qt},9:{n:"HiddenCount",t:Qt},10:{n:"MultimediaClipCount",t:Qt},11:{n:"Scale",t:11},12:{n:"HeadingPair",t:4096|Jt},13:{n:"DocParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksDirty",t:11},17:{n:"CharacterCount",t:Qt},19:{n:"SharedDoc",t:11},22:{n:"HLinksChanged",t:11},23:{n:"AppVersion",t:Qt,p:"version"},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{}},ne={1:{n:"CodePage",t:Kt},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Qt},15:{n:"WordCount",t:Qt},16:{n:"CharCount",t:Qt},17:{n:"Thumbnail",t:71},18:{n:"ApplicationName",t:30},19:{n:"DocumentSecurity",t:Qt},255:{}},re={2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};!function(){for(var t in re)re.hasOwnProperty(t)&&(ie[t]=ne[t]=re[t])}();var oe={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},ae=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var se,le=[0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0].map(function(t){return[t>>16&255,t>>8&255,255&t]}),ce={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.chartsheet":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"TODO","application/vnd.ms-excel.dialogsheet":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"TODO","application/vnd.ms-excel.macrosheet":"TODO","application/vnd.ms-excel.macrosheet+xml":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.ms-excel.comments":"comments","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"TODO","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO",sheet:"js"},ue=(w(se={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}}).forEach(function(t){se[t].xlsm||(se[t].xlsm=se[t].xlsx)}),w(se).forEach(function(t){w(se[t]).forEach(function(e){ce[se[t][e]]=t})}),se),he=function(t){for(var e=[],i=w(t),n=0;n!==i.length;++n)null==e[t[i[n]]]&&(e[t[i[n]]]=[]),e[t[i[n]]].push(i[n]);return e}(ce);bt.CT="http://schemas.openxmlformats.org/package/2006/content-types";var de=nt("Types",null,{xmlns:bt.CT,"xmlns:xsd":bt.xsd,"xmlns:xsi":bt.xsi}),fe=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["rels",he.rels[0]]].map(function(t){return nt("Default",null,{Extension:t[0],ContentType:t[1]})});var pe={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument"};function ge(t,e){if(!t)return t;"/"!==e.charAt(0)&&(e="/"+e);var i={},n={};return t.match(M).forEach(function(t){var r=O(t);if("<Relationship"===r[0]){var o={};o.Type=r.Type,o.Target=r.Target,o.Id=r.Id,o.TargetMode=r.TargetMode;var a="External"===r.TargetMode?r.Target:function(t){var i=e.split("/");i.pop();for(var n=t.split("/");0!==n.length;){var r=n.shift();".."===r?i.pop():"."!==r&&i.push(r)}return i.join("/")}(r.Target);i[a]=o,n[r.Id]=o}}),i["!id"]=n,i}bt.RELS="http://schemas.openxmlformats.org/package/2006/relationships";var me=nt("Relationships",null,{xmlns:bt.RELS});function ve(t){var e=[];return e[e.length]=yt,e[e.length]=me,w(t["!id"]).forEach(function(i){var n=t["!id"][i];e[e.length]=nt("Relationship",null,n)}),e.length>2&&(e[e.length]="</Relationships>",e[1]=e[1].replace("/>",">")),e.join("")}var ye=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];bt.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",pe.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var be=function(){for(var t=new Array(ye.length),e=0;e<ye.length;++e){var i=ye[e],n="(?:"+i[0].substr(0,i[0].indexOf(":"))+":)"+i[0].substr(i[0].indexOf(":")+1);t[e]=new RegExp("<"+n+"[^>]*>(.*)</"+n+">")}return t}();var Le=nt("cp:coreProperties",null,{"xmlns:cp":bt.CORE_PROPS,"xmlns:dc":bt.dc,"xmlns:dcterms":bt.dcterms,"xmlns:dcmitype":bt.dcmitype,"xmlns:xsi":bt.xsi});function xe(t,e,i,n,r){null==r[t]&&null!=e&&""!==e&&(r[t]=e,n[n.length]=i?nt(t,e,i):it(t,e))}var we=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];bt.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",pe.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";var _e=nt("Properties",null,{xmlns:bt.EXT_PROPS,"xmlns:vt":bt.vt});bt.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",pe.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var Se=/<[^>]+>[^<]*/g;var Ce=nt("Properties",null,{xmlns:bt.CUST_PROPS,"xmlns:vt":bt.vt});function ke(t,e){var i=[yt,Ce];if(!t)return i.join("");var n=1;return w(t).forEach(function(e){++n,i[i.length]=nt("property",function(t){switch(typeof t){case"string":return nt("vt:lpwstr",t);case"number":return nt((0|t)==t?"vt:i4":"vt:r8",String(t));case"boolean":return nt("vt:bool",t?"true":"false")}if(t instanceof Date)return nt("vt:filetime",rt(t));throw new Error("Unable to serialize "+t)}(t[e]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:e})}),i.length>2&&(i[i.length]="</Properties>",i[1]=i[1].replace("/>",">")),i.join("")}function Te(t,e,i){switch(e){case"Description":e="Comments"}t[e]=i}function Ee(t){var e=t.read_shift(4),i=t.read_shift(4);return new Date(1e3*(i/1e7*Math.pow(2,32)+e/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Ae(t,e,i){var n=t.read_shift(0,"lpstr");return i&&(t.l+=4-(n.length+1&3)&3),n}function Me(t,e,i){var n=t.read_shift(0,"lpwstr");return i&&(t.l+=4-(n.length+1&3)&3),n}function De(t,e,i){return 31===e?Me(t):Ae(t,0,i)}function Pe(t,e,i){return De(t,e,!1===i?0:4)}function Oe(t){return[Fe(t,te),Fe(t,Qt)]}function Ie(t){return function(t){for(var e=t.read_shift(4),i=[],n=0;n!=e/2;++n)i.push(Oe(t));return i}(t)}function Ne(t,e){for(var i=t.read_shift(4),n={},r=0;r!=i;++r){var o=t.read_shift(4),a=t.read_shift(4);n[o]=t.read_shift(a,1200===e?"utf16le":"utf8").replace(f,"").replace(p,"!")}return 3&t.l&&(t.l=t.l>>3<<2),n}function Re(t){var e=t.read_shift(4),i=t.slice(t.l,t.l+e);return!0&e&&(t.l+=4-(3&e)&3),i}function Fe(t,e,i){var n,r=t.read_shift(2),o=i||{};if(t.l+=2,e!==Jt&&r!==e&&-1===ee.indexOf(e))throw new Error("Expected type "+e+" saw "+r);switch(e===Jt?r:e){case 2:return n=t.read_shift(2,"i"),o.raw||(t.l+=2),n;case 3:return n=t.read_shift(4,"i");case 11:return 0!==t.read_shift(4);case 19:return n=t.read_shift(4);case 30:return Ae(t,0,4).replace(f,"");case 31:return Me(t);case 64:return Ee(t);case 65:return Re(t);case 71:return function(t){var e={};return e.Size=t.read_shift(4),t.l+=e.Size,e}(t);case 80:return Pe(t,r,!o.raw&&4).replace(f,"");case 81:return function(t,e){if(!e)throw new Error("dafuq?");return De(t,e,0)}(t,r).replace(f,"");case 4108:return Ie(t);case 4126:return function(t){return function(t){for(var e=t.read_shift(4),i=[],n=0;n!=e;++n)i[n]=t.read_shift(0,"lpstr");return i}(t)}(t);default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r)}}function Be(t,e){var i,r=t.l,o=t.read_shift(4),a=t.read_shift(4),s=[],l=0,c=0,u=-1;for(l=0;l!=a;++l){var h=t.read_shift(4),d=t.read_shift(4);s[l]=[h,d+r]}var f={};for(l=0;l!=a;++l){if(t.l!==s[l][1]){var p=!0;if(l>0&&e)switch(e[s[l-1][0]].t){case 2:t.l+2===s[l][1]&&(t.l+=2,p=!1);break;case 80:case 4108:t.l<=s[l][1]&&(t.l=s[l][1],p=!1)}if(!e&&t.l<=s[l][1]&&(p=!1,t.l=s[l][1]),p)throw new Error("Read Error: Expected address "+s[l][1]+" at "+t.l+" :"+l)}if(e){var g=e[s[l][0]];if(f[g.n]=Fe(t,g.t,{raw:!0}),"version"===g.p&&(f[g.n]=String(f[g.n]>>16)+"."+String(65535&f[g.n])),"CodePage"==g.n)switch(f[g.n]){case 0:f[g.n]=1252;case 1e4:case 1252:case 874:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 932:case 936:case 949:case 950:case 1200:case 1201:case 65e3:case-536:case 65001:case-535:n(c=f[g.n]);break;default:throw new Error("Unsupported CodePage: "+f[g.n])}}else if(1===s[l][0]){if(c=f.CodePage=Fe(t,Kt),n(c),-1!==u){var m=t.l;t.l=s[u][1],i=Ne(t,c),t.l=m}}else if(0===s[l][0]){if(0===c){u=l,t.l=s[l+1][1];continue}i=Ne(t,c)}else{var v,y=i[s[l][0]];switch(t[t.l]){case 65:t.l+=4,v=Re(t);break;case 30:case 31:t.l+=4,v=Pe(t,t[t.l-4]);break;case 3:t.l+=4,v=t.read_shift(4,"i");break;case 19:t.l+=4,v=t.read_shift(4);break;case 5:t.l+=4,v=t.read_shift(8,"f");break;case 11:t.l+=4,v=Ve(t,4);break;case 64:t.l+=4,v=new Date(Ee(t));break;default:throw new Error("unparsed value: "+t[t.l])}f[y]=v}}return t.l=r+o,f}function ze(t,e){var i,n,r,o,a,s=t.content;Mt(s,0),s.chk("feff","Byte Order: ");s.read_shift(2);var l=s.read_shift(4);if(s.chk(L.utils.consts.HEADER_CLSID,"CLSID: "),1!==(i=s.read_shift(4))&&2!==i)throw"Unrecognized #Sets: "+i;if(n=s.read_shift(16),o=s.read_shift(4),1===i&&o!==s.l)throw"Length mismatch";2===i&&(r=s.read_shift(16),a=s.read_shift(4));var c,u=Be(s,e),h={SystemIdentifier:l};for(var d in u)h[d]=u[d];if(h.FMTID=n,1===i)return h;if(s.l!==a)throw"Length mismatch 2: "+s.l+" !== "+a;try{c=Be(s,null)}catch(t){}for(d in c)h[d]=c[d];return h.FMTID=[n,r],h}function He(t,e){return t.read_shift(e),null}function Ve(t,e){return 1===t.read_shift(e)}function je(t){return t.read_shift(2,"u")}function We(t,e){return function(t,e,i){for(var n=[],r=t.l+e;t.l<r;)n.push(i(t,r-t.l));if(r!==t.l)throw new Error("Slurp error");return n}(t,e,je)}function Ue(t,i,n){var r=t.read_shift(1),o="sbcs-cont",a=e;(n&&n.biff>=8&&(e=1200),void 0===n||5!==n.biff)&&(t.read_shift(1)&&(2,o="dbcs-cont"));var s=r?t.read_shift(r,o):"";return e=a,s}function Ye(t){var i=e;e=1200;var n,r,o=t.read_shift(2),a=t.read_shift(1),s=4&a,l=8&a,c={};l&&(n=t.read_shift(2)),s&&(r=t.read_shift(4));var u=1&a?"dbcs-cont":"sbcs-cont",h=0===o?"":t.read_shift(o,u);return l&&(t.l+=4*n),s&&(t.l+=r),c.t=h,l||(c.raw="<t>"+c.t+"</t>",c.r=c.t),e=i,c}function Ge(t,e,i){return 0===t.read_shift(1)?t.read_shift(e,"sbcs-cont"):t.read_shift(e,"dbcs-cont")}function Xe(t,e,i){var n=t.read_shift(void 0!==i&&i.biff>0&&i.biff<8?1:2);return 0===n?(t.l++,""):Ge(t,n)}function qe(t,e,i){if(5!==i.biff&&2!==i.biff)return Xe(t,0,i);var n=t.read_shift(1);return 0===n?(t.l++,""):t.read_shift(n,"sbcs-cont")}var $e=Dt,Ze=function(t,e){var i=t.read_shift(16);switch(16,i){case"e0c9ea79f9bace118c8200aa004ba90b":return function(t,e){var i=t.read_shift(4),n=t.l,r=!1;i>24&&(t.l+=i-24,"795881f43b1d7f48af2c825dc4852763"===t.read_shift(16)&&(r=!0),t.l=n);var o=t.read_shift((r?i-24:i)>>1,"utf16le").replace(f,"");return r&&(t.l+=24),o}(t);case"0303000000000000c000000000000046":return function(t,e){t.read_shift(2);var i=t.read_shift(4),n=t.read_shift(i,"cstr");t.read_shift(2),t.read_shift(2);if(0===t.read_shift(4))return n.replace(/\\/g,"/");var r=t.read_shift(4);t.read_shift(2);return t.read_shift(r>>1,"utf16le").replace(f,"")}(t);default:throw"unsupported moniker "+i}},Ke=function(t,e){var i=t.read_shift(4);return t.read_shift(i,"utf16le").replace(f,"")};function Qe(t,e){return[t.read_shift(1),t.read_shift(1),t.read_shift(1),t.read_shift(1)]}function Je(t,e){var i=Qe(t);return i[3]=0,i}function ti(t,e){return{r:t.read_shift(2),c:t.read_shift(2),ixfe:t.read_shift(2)}}function ei(t,e){return[t.read_shift(2),t.read_shift(2,"i"),t.read_shift(2,"i")]}function ii(t,e){return[t.read_shift(2),Gt(t)]}function ni(t,e){var i=t.read_shift(2),n=t.read_shift(2);return{s:{c:t.read_shift(2),r:i},e:{c:t.read_shift(2),r:n}}}function ri(t,e){var i=t.read_shift(2),n=t.read_shift(2);return{s:{c:t.read_shift(1),r:i},e:{c:t.read_shift(1),r:n}}}var oi=ri;function ai(t,e){t.l+=4;var i=t.read_shift(2),n=t.read_shift(2),r=t.read_shift(2);return t.l+=12,[n,i,r]}var si={21:ai,19:Dt,18:function(t,e){t.l+=12},17:function(t,e){t.l+=8},16:Dt,15:Dt,13:function(t,e){var i={};return t.l+=4,t.l+=16,i.fSharedNote=t.read_shift(2),t.l+=4,i},12:function(t,e){t.l+=24},11:function(t,e){t.l+=10},10:function(t,e){t.l+=16},9:Dt,8:function(t,e){t.l+=6},7:function(t,e){return t.l+=4,t.cf=t.read_shift(2),{}},6:function(t,e){t.l+=6},4:Dt,0:function(t,e){t.l+=4}};var li=je;function ci(t,e){var i={};switch(i.BIFFVer=t.read_shift(2),e-=2,i.BIFFVer){case 1536:case 1280:case 2:case 7:break;default:throw"Unexpected BIFF Ver "+i.BIFFVer}return t.read_shift(e),i}var ui=He;function hi(t,e,i){var n=ti(t),r=Xe(t,0,i);return n.val=r,n}function di(t,e,i){var n={},r=(t.read_shift(4),t.read_shift(4),t.read_shift(4)),o=t.read_shift(2);return n.patternType=ae[r>>26],n.icvFore=127&o,n.icvBack=o>>7&127,n}var fi=function(t,e,i){return 0===e?"":qe(t,0,i)};function pi(t,e,i){var n,r=t.read_shift(2),o={fBuiltIn:1&r,fWantAdvise:r>>>1&1,fWantPict:r>>>2&1,fOle:r>>>3&1,fOleLink:r>>>4&1,cf:r>>>5&1023,fIcon:r>>>15&1};return 14849===i.sbcch&&(n=function(t,e){t.l+=4,e-=4;var i=t.l+e,n=Ue(t),r=t.read_shift(2);if(r!==(i-=t.l))throw"Malformed AddinUdf: padding = "+i+" != "+r;return t.l+=r,n}(t,e-2)),o.body=n||t.read_shift(e-2),o}var gi=Dt,mi=Dt,vi=Dt,yi=Dt,bi=Ve,Li=ti,xi=qt,wi=je,_i=je,Si=qt,Ci=Ve,ki=je,Ti=Ve,Ei=He,Ai=Ve,Mi=je,Di=Ve,Pi=Ve,Oi=je,Ii=He,Ni=He,Ri=He,Fi=He,Bi=He,zi=je,Hi=fi,Vi=je,ji=Ve,Wi=fi,Ui=je,Yi=He,Gi=qt,Xi=He,qi=Ve,$i=je,Zi=Ve,Ki=Ve,Qi=je,Ji=Ve,tn=je,en=Ve,nn=Ve,rn=qt,on=We,an=Ve,sn=We,ln=Xe,cn=Ve,un=qt,hn=Ve,dn=Ve,fn=Ve,pn=Dt,gn=Dt,mn=Dt,vn=Dt,yn=Dt,bn=Dt,Ln=Dt,xn=Dt,wn=Dt,_n=Dt,Sn=Dt,Cn=Dt,kn=Dt,Tn=Dt,En=Dt,An=Dt,Mn=Dt,Dn=Dt,Pn=Dt,On=Dt,In=Dt,Nn=Dt,Rn=Dt,Fn=Dt,Bn=Dt,zn=Dt,Hn=Dt,Vn=Dt,jn=Dt,Wn=Dt,Un=Dt,Yn=Dt,Gn=Dt,Xn=Dt,qn=Dt,$n=Dt,Zn=Dt,Kn=Dt,Qn=Dt,Jn=Dt,tr=Dt,er=Dt,ir=Dt,nr=Dt,rr=Dt,or=Dt,ar=Dt,sr=Dt,lr=Dt,cr=Dt,ur=Dt,hr=Dt,dr=Dt,fr=Dt,pr=Dt,gr=Dt,mr=Dt,vr=Dt,yr=Dt,br=Dt,Lr=Dt,xr=Dt,wr=Dt,_r=Dt,Sr=Dt,Cr=Dt,kr=Dt,Tr=Dt,Er=Dt,Ar=Dt,Mr=Dt,Dr=Dt,Pr=Dt,Or=Dt,Ir=Dt,Nr=Dt,Rr=Dt,Fr=Dt,Br=Dt,zr=Dt,Hr=Dt,Vr=Dt,jr=Dt,Wr=Dt,Ur=Dt,Yr=Dt,Gr=Dt,Xr=Dt,qr=Dt,$r=Dt,Zr=Dt,Kr=Dt,Qr=Dt,Jr=Dt,to=Dt,eo=Dt,io=Dt,no=Dt,ro=Dt,oo=Dt,ao=Dt,so=Dt,lo=Dt,co=Dt,uo=Dt,ho=Dt,fo=Dt,po=Dt,go=Dt,mo=Dt,vo=Dt,yo=Dt,bo=Xe,Lo=Dt,xo=Dt,wo=Dt,_o=Dt,So=Dt,Co=Dt,ko=Dt,To=Dt,Eo=Dt,Ao=Dt,Mo=Dt,Do=Dt,Po=Dt,Oo=Dt,Io=Dt,No=Dt,Ro=Dt,Fo=Dt,Bo=Dt,zo=Dt,Ho=Dt,Vo=Dt,jo=Dt,Wo=Dt,Uo=Dt,Yo=Dt,Go=Dt,Xo=Dt,qo=Dt,$o=Dt,Zo=Dt,Ko=Dt,Qo=Dt,Jo=Dt,ta=Dt,ea=Dt,ia=Dt,na=Dt,ra=Dt,oa=Dt,aa=Dt,sa=Dt,la=Dt,ca=Dt,ua=Dt,ha=Dt,da=Dt,fa=Dt,pa=Dt,ga=Dt,ma=Dt,va=Dt,ya=Dt,ba=Dt,La=Dt,xa=Dt,wa=Dt,_a=Dt,Sa=Dt,Ca=Dt,ka=Dt,Ta=Dt,Ea=Dt,Aa=Dt,Ma=Dt,Da=Dt,Pa=Dt,Oa=Dt,Ia=Dt,Na=Dt,Ra=Dt,Fa=Dt,Ba=Dt,za=Dt,Ha=Dt,Va=Dt,ja=Dt,Wa=Dt,Ua=Dt,Ya=Dt,Ga=Dt,Xa=Dt,qa=Dt,$a=Dt,Za=Dt,Ka=Dt,Qa=Dt,Ja=Dt,ts=Dt,es=Dt,is=Dt,ns=Dt,rs=Dt,os=Dt,as=Dt,ss=Dt,ls=Dt,cs=Dt,us=Dt,hs=Dt,ds=Dt,fs=Dt,ps=Dt,gs=Dt,ms=Dt,vs=Dt,ys=Dt,bs=Dt,Ls=Dt,xs=Dt,ws=Dt,_s=Dt,Ss=Dt,Cs=Dt,ks=Dt,Ts=Dt,Es=Dt,As=Dt,Ms=Dt,Ds=Dt,Ps=Dt,Os=Dt,Is=Dt,Ns=Dt,Rs=Dt,Fs=Dt,Bs=Dt,zs=Dt,Hs=Dt,Vs=Dt,js=Dt,Ws=Dt,Us=Dt,Ys=Dt,Gs=Dt,Xs=Dt,qs=Dt,$s=Dt,Zs=Dt,Ks=Dt,Qs=Dt,Js=Dt,tl=Dt,el=Dt;var il={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},nl=function(){var t=Z("t"),e=Z("rPr"),i=/<r>/g,n=/<\/r>/,r=/\r\n/g,o=function(t,e,i){var n={},r=65001,o=t.match(M),a=0;if(o)for(;a!=o.length;++a){var s=O(o[a]);switch(s[0]){case"<condense":case"<extend":break;case"<shadow":case"<shadow/>":break;case"<charset":if("1"==s.val)break;r=il[parseInt(s.val,10)];break;case"<outline":case"<outline/>":break;case"<rFont":n.name=s.val;break;case"<sz":n.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike/>":n.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;case"<u/>":n.u=1;break;case"</u>":break;case"<b":if(!s.val)break;case"<b/>":n.b=1;break;case"</b>":break;case"<i":if(!s.val)break;case"<i/>":n.i=1;break;case"</i>":break;case"<color":s.rgb&&(n.color=s.rgb.substr(2,6));break;case"<family":n.family=s.val;break;case"<vertAlign":case"<scheme":break;default:if(47!==s[0].charCodeAt(1))throw"Unrecognized rich format "+s[0]}}var l=[];return n.b&&l.push("font-weight: bold;"),n.i&&l.push("font-style: italic;"),e.push('<span style="'+l.join("")+'">'),i.push("</span>"),r};function a(i){var n=[[],"",[]],a=i.match(t);if(!x(a))return"";n[1]=a[1];var s=i.match(e);return x(s)&&o(s[1],n[0],n[2]),n[0].join("")+n[1].replace(r,"<br/>")+n[2].join("")}return function(t){return t.replace(i,"").split(n).map(a).join("")}}(),rl=/<t[^>]*>([^<]*)<\/t>/g,ol=/<r>/;function al(t,e){var i=!e||e.cellHTML,n={};return t?(116===t.charCodeAt(1)?(n.t=U(B(t.substr(t.indexOf(">")+1).split(/<\/t>/)[0])),n.r=t,i&&(n.h=n.t)):t.match(ol)&&(n.r=t,n.t=U(B(t.match(rl).join("").replace(M,""))),i&&(n.h=nl(t))),n):null}var sl=/<sst([^>]*)>([\s\S]*)<\/sst>/,ll=/<(?:si|sstItem)>/g,cl=/<\/(?:si|sstItem)>/;pe.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var ul=/^\s|\s$|[\t\n\r]/;var hl=function(t,e){return null==e&&(e=Pt(5+2*t.t.length)),e.write_shift(1,0),Wt(t.t,e),e};function dl(t,e){var i=It();Nt(i,"BrtBeginSst",function(t,e){return e||(e=Pt(8)),e.write_shift(4,t.Count),e.write_shift(4,t.Unique),e}(t));for(var n=0;n<t.length;++n)Nt(i,"BrtSSTItem",hl(t[n]));return Nt(i,"BrtEndSst"),i.end()}function fl(t){return"undefined"!=typeof cptable?cptable.utils.encode(1252,t):t.split("").map(function(t){return t.charCodeAt(0)})}function pl(t,e){var i={};return i.Major=t.read_shift(2),i.Minor=t.read_shift(2),i}function gl(t,e){var i={},n=i.EncryptionVersionInfo=pl(t);if(e-=4,2!=n.Minor)throw"unrecognized minor version code: "+n.Minor;if(n.Major>4||n.Major<2)throw"unrecognized major version code: "+n.Major;i.Flags=t.read_shift(4),e-=4;var r=t.read_shift(4);return e-=4,i.EncryptionHeader=function(t,e){var i={};i.Flags=t.read_shift(4);var n=t.read_shift(4);if(0!==n)throw"Unrecognized SizeExtra: "+n;switch(i.AlgID=t.read_shift(4),i.AlgID){case 0:case 26625:case 26126:case 26127:case 26128:break;default:throw"Unrecognized encryption algorithm: "+i.AlgID}return Dt(t,e-12),i}(t,r),e-=r,i.EncryptionVerifier=function(t,e){return Dt(t,e)}(t,e),i}var ml,vl,yl,bl,Ll=(ml=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],vl=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],yl=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],bl=function(t,e){return 255&((i=t^e)/2|128*i);var i},function(t){for(var e,i,n,r=fl(t),o=function(t){for(var e=vl[t.length-1],i=104,n=t.length-1;n>=0;--n)for(var r=t[n],o=0;7!=o;++o)64&r&&(e^=yl[i]),r*=2,--i;return e}(r),a=r.length,s=u(16),l=0;16!=l;++l)s[l]=0;for(1==(1&a)&&(e=o>>8,s[a]=bl(ml[0],e),--a,e=255&o,i=r[r.length-1],s[a]=bl(i,e));a>0;)e=o>>8,s[--a]=bl(r[a],e),e=255&o,s[--a]=bl(r[a],e);for(a=15,n=15-r.length;n>0;)e=o>>8,s[a]=bl(ml[n],e),--n,e=255&o,s[--a]=bl(r[a],e),--a,--n;return s}),xl=function(t){var e=0,i=Ll(t);return function(t){var n=function(t,e,i,n,r){var o,a;for(r||(r=e),n||(n=Ll(t)),o=0;o!=e.length;++o)a=e[o],a=255&((a^=n[i])>>5|a<<3),r[o]=a,++i;return[r,i,n]}(null,t,e,i);return e=n[1],n[0]}};function wl(t,e,i,n){var r={key:je(t),verificationBytes:je(t)};return i.password&&(r.verifier=function(t){var e,i,n=0,r=fl(t),o=r.length+1;for((e=u(o))[0]=r.length,i=1;i!=o;++i)e[i]=r[i-1];for(i=o-1;i>=0;--i)n=((0==(16384&n)?0:1)|n<<1&32767)^e[i];return 52811^n}(i.password)),n.valid=r.verificationBytes===r.verifier,n.valid&&(n.insitu_decrypt=xl(i.password)),r}function _l(t,e,i){var n=i||{};return n.Info=t.read_shift(2),t.l-=2,1===n.Info?n.Data=function(t,e){var i={},n=i.EncryptionVersionInfo=pl(t);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return i.Salt=t.read_shift(16),i.EncryptedVerifier=t.read_shift(16),i.EncryptedVerifierHash=t.read_shift(16),i}(t):n.Data=gl(t,e),n}function Sl(t){for(var e=0,i=1;3!=e;++e)i=256*i+(t[e]>255?255:t[e]<0?0:t[e]);return i.toString(16).toUpperCase().substr(1)}function Cl(t,e){if(0==e)return t;var i,n,r=function(t){var e=t[0]/255,i=t[1]/255,n=t[2]/255,r=Math.max(e,i,n),o=Math.min(e,i,n),a=r-o;if(0===a)return[0,0,e];var s,l=0,c=r+o;switch(s=a/(c>1?2-c:c),r){case e:l=((i-n)/a+6)%6;break;case i:l=(n-e)/a+2;break;case n:l=(e-i)/a+4}return[l/6,s,c/2]}((n=(i=t).substr("#"===i[0]?1:0,6),[parseInt(n.substr(0,2),16),parseInt(n.substr(2,2),16),parseInt(n.substr(4,2),16)]));return r[2]=e<0?r[2]*(1+e):1-(1-r[2])*(1-e),Sl(function(t){var e,i=t[0],n=t[1],r=t[2],o=2*n*(r<.5?r:1-r),a=r-o/2,s=[a,a,a],l=6*i;if(0!==n)switch(0|l){case 0:case 6:e=o*l,s[0]+=o,s[1]+=e;break;case 1:e=o*(2-l),s[0]+=e,s[1]+=o;break;case 2:e=o*(l-2),s[1]+=o,s[2]+=e;break;case 3:e=o*(4-l),s[1]+=e,s[2]+=o;break;case 4:e=o*(l-4),s[2]+=o,s[0]+=e;break;case 5:e=o*(6-l),s[2]+=e,s[0]+=o}for(var c=0;3!=c;++c)s[c]=Math.round(255*s[c]);return s}(r))}var kl=7,Tl=15,El=1,Al=kl;function Ml(t){return(t+(128/Al|0)/256)*Al|0}function Dl(t){return((t-5)/Al*100+.5|0)/100}function Pl(t){return((t*Al+5)/Al*256|0)/256}function Ol(t){return Pl(Dl(Ml(t)))}function Il(t,e){if(Ol(t)!=t){for(Al=kl;Al>El&&Ol(t)!==t;--Al);if(Al===El)for(Al=kl+1;Al<Tl&&Ol(t)!==t;++Al);Al===Tl&&(Al=kl)}}var Nl={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"},Rl={},Fl={};var Bl,zl,Hl,Vl,jl=(Bl=/<numFmts([^>]*)>.*<\/numFmts>/,zl=/<cellXfs([^>]*)>.*<\/cellXfs>/,Hl=/<fills([^>]*)>.*<\/fills>/,Vl=/<borders([^>]*)>.*<\/borders>/,function(t,e){var i;return(i=t.match(Bl))&&function(t,e){Rl.NumberFmt=[];for(var i=w(g._table),n=0;n<i.length;++n)Rl.NumberFmt[i[n]]=g._table[i[n]];var r=t[0].match(M);for(n=0;n<r.length;++n){var o=O(r[n]);switch(o[0]){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var a=B(U(o.formatCode)),s=parseInt(o.numFmtId,10);Rl.NumberFmt[s]=a,s>0&&g.load(a,s);break;default:if(e.WTF)throw"unrecognized "+o[0]+" in numFmts"}}}(i,e),(i=t.match(/<fonts([^>]*)>.*<\/fonts>/))&&function(t,e){Rl.Fonts=[];var i={};t[0].match(M).forEach(function(t){var e=O(t);switch(e[0]){case"<fonts":case"<fonts>":case"</fonts>":case"<font":break;case"</font>":Rl.Fonts.push(i),i={};break;case"<name":e.val&&(i.name=e.val);break;case"<name/>":case"</name>":break;case"<b/>":i.bold=!0;break;case"<u/>":i.underline=!0;break;case"<i/>":i.italic=!0;break;case"<strike/>":i.strike=!0;break;case"<outline/>":i.outline=!0;break;case"<shadow/>":i.shadow=!0;break;case"<sz":e.val&&(i.sz=e.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":e.val&&(i.vertAlign=e.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<color":i.color||(i.color={}),e.theme&&(i.color.theme=e.theme),e.tint&&(i.color.tint=e.tint),e.theme&&Fl.themeElements&&Fl.themeElements.clrScheme&&(i.color.rgb=Cl(Fl.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)),e.rgb&&(i.color.rgb=e.rgb)}})}(i),(i=t.match(Hl))&&function(t,e){Rl.Fills=[];var i={};t[0].match(M).forEach(function(t){var n=O(t);switch(n[0]){case"<fills":case"<fills>":case"</fills>":case"<fill>":break;case"</fill>":Rl.Fills.push(i),i={};break;case"<patternFill":n.patternType&&(i.patternType=n.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":i.bgColor||(i.bgColor={}),n.indexed&&(i.bgColor.indexed=parseInt(n.indexed,10)),n.theme&&(i.bgColor.theme=parseInt(n.theme,10)),n.tint&&(i.bgColor.tint=parseFloat(n.tint)),n.theme&&Fl.themeElements&&Fl.themeElements.clrScheme&&(i.bgColor.rgb=Cl(Fl.themeElements.clrScheme[i.bgColor.theme].rgb,i.bgColor.tint||0),e.WTF&&(i.bgColor.raw_rgb=Cl(Fl.themeElements.clrScheme[i.bgColor.theme].rgb,0))),n.rgb&&(i.bgColor.rgb=n.rgb);break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":i.fgColor||(i.fgColor={}),n.theme&&(i.fgColor.theme=parseInt(n.theme,10)),n.tint&&(i.fgColor.tint=parseFloat(n.tint)),n.theme&&Fl.themeElements&&Fl.themeElements.clrScheme&&(i.fgColor.rgb=Cl(Fl.themeElements.clrScheme[i.fgColor.theme].rgb,i.fgColor.tint||0),e.WTF&&(i.fgColor.raw_rgb=Cl(Fl.themeElements.clrScheme[i.fgColor.theme].rgb,0))),n.rgb&&(i.fgColor.rgb=n.rgb);break;case"<fgColor/>":case"</fgColor>":break;default:if(e.WTF)throw"unrecognized "+n[0]+" in fills"}})}(i,e),(i=t.match(Vl))&&function(t,e){Rl.Borders=[];var i={},n={};t[0].match(M).forEach(function(t){var e=O(t);switch(e[0]){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":i={},e.diagonalUp&&(i.diagonalUp=e.diagonalUp),e.diagonalDown&&(i.diagonalDown=e.diagonalDown),Rl.Borders.push(i);break;case"</border>":break;case"<left":n=i.left={},e.style&&(n.style=e.style);break;case"<right":n=i.right={},e.style&&(n.style=e.style);break;case"<top":n=i.top={},e.style&&(n.style=e.style);break;case"<bottom":n=i.bottom={},e.style&&(n.style=e.style);break;case"<diagonal":n=i.diagonal={},e.style&&(n.style=e.style);break;case"<color":n.color={},e.theme&&(n.color.theme=e.theme),e.theme&&Fl.themeElements&&Fl.themeElements.clrScheme&&(n.color.rgb=Cl(Fl.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)),e.tint&&(n.color.tint=e.tint),e.rgb&&(n.color.rgb=e.rgb),e.auto&&(n.color.auto=e.auto)}})}(i),(i=t.match(zl))&&function(t,e){var i;Rl.CellXf=[],t[0].match(M).forEach(function(t){var n=O(t);switch(n[0]){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":delete(i=n)[0],delete n[0],i.numFmtId&&(i.numFmtId=parseInt(i.numFmtId,10)),i.fillId&&(i.fillId=parseInt(i.fillId,10)),Rl.CellXf.push(i);break;case"</xf>":break;case"<alignment":case"<alignment/>":var r={};n.vertical&&(r.vertical=n.vertical),n.horizontal&&(r.horizontal=n.horizontal),null!=n.textRotation&&(r.textRotation=n.textRotation),n.indent&&(r.indent=n.indent),n.wrapText&&(r.wrapText=n.wrapText),i.alignment=r;break;case"<protection":case"</protection>":case"<protection/>":break;case"<extLst":case"</extLst>":case"<ext":break;default:if(e.WTF)throw"unrecognized "+n[0]+" in cellXfs"}})}(i,e),Rl}),Wl=nt("styleSheet",null,{xmlns:bt.main[0],"xmlns:vt":bt.vt});function Ul(t,e){if("undefined"!=typeof style_builder)return style_builder.toXml();var i,n=[yt,Wl];return null!=(i=function(t,e){var i=["<numFmts>"];return[[5,8],[23,26],[41,44],[63,66],[164,392]].forEach(function(e){for(var n=e[0];n<=e[1];++n)void 0!==t[n]&&(i[i.length]=nt("numFmt",null,{numFmtId:n,formatCode:V(t[n])}))}),1===i.length?"":(i[i.length]="</numFmts>",i[0]=nt("numFmts",null,{count:i.length-2}).replace("/>",">"),i.join(""))}(t.SSF))&&(n[n.length]=i),n[n.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',n[n.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',n[n.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',n[n.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(i=function(t){var e=[];return e[e.length]=nt("cellXfs",null),t.forEach(function(t){e[e.length]=nt("xf",null,t)}),e[e.length]="</cellXfs>",2===e.length?"":(e[0]=nt("cellXfs",null,{count:e.length-2}).replace("/>",">"),e.join(""))}(e.cellXfs))&&(n[n.length]=i),n[n.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',n[n.length]='<dxfs count="0"/>',n[n.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',n.length>2&&(n[n.length]="</styleSheet>",n[1]=n[1].replace("/>",">")),n.join("")}function Yl(t,e){Fl.themeElements.clrScheme=[];var i={};t[0].match(M).forEach(function(t){var n=O(t);switch(n[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":i.rgb=n.val;break;case"<a:sysClr":i.rgb=n.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt1>":case"</a:lt1>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===n[0][1]?(Fl.themeElements.clrScheme.push(i),i={}):i.name=n[0].substring(3,n[0].length-1);break;default:if(e.WTF)throw"unrecognized "+n[0]+" in clrScheme"}})}function Gl(t,e){}function Xl(t,e){}pe.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",pe.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var ql=/<a:clrScheme([^>]*)>[^\u2603]*<\/a:clrScheme>/,$l=/<a:fontScheme([^>]*)>[^\u2603]*<\/a:fontScheme>/,Zl=/<a:fmtScheme([^>]*)>[^\u2603]*<\/a:fmtScheme>/;var Kl=/<a:themeElements([^>]*)>[^\u2603]*<\/a:themeElements>/;function Ql(t,e){if(!t||0===t.length)return Fl;var i;if(!(i=t.match(Kl)))throw"themeElements not found in theme";return function(t,e){var i;Fl.themeElements={},[["clrScheme",ql,Yl],["fontScheme",$l,Gl],["fmtScheme",Zl,Xl]].forEach(function(n){if(!(i=t.match(n[1])))throw n[0]+" not found in themeElements";n[2](i,e)})}(i[0],e),Fl}function Jl(t,e){var i={};switch(i.xclrType=t.read_shift(2),i.nTintShade=t.read_shift(2),i.xclrType){case 0:t.l+=4;break;case 1:i.xclrValue=function(t,e){return Dt(t,e)}(t,4);break;case 2:i.xclrValue=Qe(t);break;case 3:i.xclrValue=function(t,e){return t.read_shift(4)}(t);break;case 4:t.l+=4}return t.l+=8,i}function tc(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=[i];switch(i){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=Jl(t);break;case 6:r[1]=function(t,e){return Dt(t,e)}(t,n);break;case 14:case 15:r[1]=t.read_shift(5===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+i+" "+n)}return r}function ec(t,e,i){i.forEach(function(t){var i=e[t.ref];if(!i){i={},e[t.ref]=i;var n=mh(e["!ref"]||"BDWGO1000001:A1"),r=fh(t.ref);n.s.r>r.r&&(n.s.r=r.r),n.e.r<r.r&&(n.e.r=r.r),n.s.c>r.c&&(n.s.c=r.c),n.e.c<r.c&&(n.e.c=r.c);var o=gh(n);o!==e["!ref"]&&(e["!ref"]=o)}i.c||(i.c=[]);var a={a:t.author,t:t.t,r:t.r};t.h&&(a.h=t.h),i.c.push(a)})}var ic=jt,nc=zt;var rc=function(){var t,e=/(^|[^A-Za-z])R(\[?)(-?\d+|)\]?C(\[?)(-?\d+|)\]?/g;function i(e,i,n,r,o,a){var s=r.length>0?0|parseInt(r,10):0,l=a.length>0?0|parseInt(a,10):0;return l<0&&0===o.length&&(l=0),o.length>0&&(l+=t.c),n.length>0&&(s+=t.r),i+uh(l)+sh(s)}return function(n,r){return t=r,n.replace(e,i)}}();function oc(t,e){t.l+=1}function ac(t,e){var i=t.read_shift(2);return[16383&i,i>>14&1,i>>15&1]}function sc(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=ac(t),o=ac(t);return{s:{r:i,c:r[0],cRel:r[1],rRel:r[2]},e:{r:n,c:o[0],cRel:o[1],rRel:o[2]}}}function lc(t,e){var i=t.read_shift(2),n=ac(t);return{r:i,c:n[0],cRel:n[1],rRel:n[2]}}function cc(t,e){return[t.read_shift(1),t.read_shift(1)]}var uc,hc=(uc=4,function(t,e){t.l+=uc});function dc(t){var e=[];switch(e[0]=t.read_shift(1)){case 4:e[1]=Ve(t,1)?"TRUE":"FALSE",t.l+=7;break;case 16:e[1]=$t[t[t.l]],t.l+=8;break;case 0:t.l+=8;break;case 1:e[1]=qt(t);break;case 2:e[1]=Xe(t)}return e}function fc(t,e){for(var i=t.read_shift(2),n=[],r=0;r!=i;++r)n.push(ni(t));return n}function pc(t){for(var e=1+t.read_shift(1),i=1+t.read_shift(2),n=0,r=[];n!=i&&(r[n]=[]);++n)for(var o=0;o!=e;++o)r[n][o]=dc(t);return r}var gc={1:{n:"PtgExp",f:function(t,e){return t.l++,[t.read_shift(2),t.read_shift(2)]}},2:{n:"PtgTbl",f:Dt},3:{n:"PtgAdd",f:oc},4:{n:"PtgSub",f:oc},5:{n:"PtgMul",f:oc},6:{n:"PtgDiv",f:oc},7:{n:"PtgPower",f:oc},8:{n:"PtgConcat",f:oc},9:{n:"PtgLt",f:oc},10:{n:"PtgLe",f:oc},11:{n:"PtgEq",f:oc},12:{n:"PtgGe",f:oc},13:{n:"PtgGt",f:oc},14:{n:"PtgNe",f:oc},15:{n:"PtgIsect",f:oc},16:{n:"PtgUnion",f:oc},17:{n:"PtgRange",f:oc},18:{n:"PtgUplus",f:oc},19:{n:"PtgUminus",f:oc},20:{n:"PtgPercent",f:oc},21:{n:"PtgParen",f:oc},22:{n:"PtgMissArg",f:oc},23:{n:"PtgStr",f:function(t,e){return t.l++,Ue(t)}},28:{n:"PtgErr",f:function(t,e){return t.l++,$t[t.read_shift(1)]}},29:{n:"PtgBool",f:function(t,e){return t.l++,0!==t.read_shift(1)}},30:{n:"PtgInt",f:function(t,e){return t.l++,t.read_shift(2)}},31:{n:"PtgNum",f:function(t,e){return t.l++,qt(t)}},32:{n:"PtgArray",f:function(t,e){var i=(96&t[t.l++])>>5;return t.l+=7,[i]}},33:{n:"PtgFunc",f:function(t,e){t[t.l],t[t.l],t.l+=1;var i=t.read_shift(2);return[Ac[i],Ec[i]]}},34:{n:"PtgFuncVar",f:function(t,e){t.l++;var i=t.read_shift(1),n=function(t,e){return[t[t.l+1]>>7,32767&t.read_shift(2)]}(t);return[i,(0===n[0]?Ec:Tc)[n[1]]]}},35:{n:"PtgName",f:function(t,e){return[t.read_shift(1)>>>5&3,0,t.read_shift(4)]}},36:{n:"PtgRef",f:function(t,e){t[t.l];var i=(96&t[t.l])>>5;return t.l+=1,[i,lc(t)]}},37:{n:"PtgArea",f:function(t,e){return[(96&t[t.l++])>>5,sc(t)]}},38:{n:"PtgMemArea",f:function(t,e){var i=t.read_shift(1)>>>5&3;return t.l+=4,[i,t.read_shift(2)]}},39:{n:"PtgMemErr",f:Dt},40:{n:"PtgMemNoMem",f:Dt},41:{n:"PtgMemFunc",f:function(t,e){return[t.read_shift(1)>>>5&3,t.read_shift(2)]}},42:{n:"PtgRefErr",f:function(t,e){var i=t.read_shift(1)>>>5&3;return t.l+=4,[i]}},43:{n:"PtgAreaErr",f:function(t,e){var i=(96&t[t.l++])>>5;return t.l+=8,[i]}},44:{n:"PtgRefN",f:function(t,e){t[t.l];var i=(96&t[t.l])>>5;return t.l+=1,[i,function(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=(32768&n)>>15,o=(16384&n)>>14;if(n&=16383,0!==r)for(;n>=256;)n-=256;return{r:i,c:n,cRel:r,rRel:o}}(t)]}},45:{n:"PtgAreaN",f:function(t,e){return[(96&t[t.l++])>>5,function(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=ac(t),o=ac(t);return{s:{r:i,c:r[0],cRel:r[1],rRel:r[2]},e:{r:n,c:o[0],cRel:o[1],rRel:o[2]}}}(t)]}},57:{n:"PtgNameX",f:function(t,e){return[t.read_shift(1)>>>5&3,t.read_shift(2),t.read_shift(4)]}},58:{n:"PtgRef3d",f:function(t,e){t[t.l];var i=(96&t[t.l])>>5;return t.l+=1,[i,t.read_shift(2),lc(t)]}},59:{n:"PtgArea3d",f:function(t,e){return[(96&t[t.l++])>>5,t.read_shift(2),sc(t)]}},60:{n:"PtgRefErr3d",f:Dt},61:{n:"PtgAreaErr3d",f:function(t,e){var i=(96&t[t.l++])>>5,n=t.read_shift(2);return t.l+=8,[i,n]}},255:{}},mc={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};!function(){for(var t in mc)gc[t]=gc[mc[t]]}();var vc={},yc={1:{n:"PtgAttrSemi",f:function(t,e){var i=255&t[t.l+1]?1:0;return t.l+=4,[i]}},2:{n:"PtgAttrIf",f:function(t,e){var i=255&t[t.l+1]?1:0;return t.l+=2,[i,t.read_shift(2)]}},4:{n:"PtgAttrChoose",f:function(t,e){t.l+=2;for(var i=t.read_shift(2),n=[],r=0;r<=i;++r)n.push(t.read_shift(2));return n}},8:{n:"PtgAttrGoto",f:function(t,e){var i=255&t[t.l+1]?1:0;return t.l+=2,[i,t.read_shift(2)]}},16:{n:"PtgAttrSum",f:hc},32:{n:"PtgAttrBaxcel",f:function(t,e){var i=1&t[t.l+1];return t.l+=4,[i,1]}},64:{n:"PtgAttrSpace",f:function(t,e){return t.read_shift(2),cc(t)}},65:{n:"PtgAttrSpaceSemi",f:function(t,e){return t.read_shift(2),cc(t)}},255:{}};function bc(t,e,i){var n=ti(t),r=function(t){var e;if(65535!==wt(t,t.l+6))return[qt(t),"n"];switch(t[t.l]){case 0:return t.l+=8,["String","s"];case 1:return e=1===t[t.l+2],t.l+=8,[e,"b"];case 2:return e=t[t.l+2],t.l+=8,[e,"e"];case 3:return t.l+=8,["","s"]}}(t),o=t.read_shift(1);t.read_shift(1);t.read_shift(4);var a="";return 5===i.biff?t.l+=e-20:a=function(t,e,i){t.l;var n,r=t.read_shift(2);if(65535==r)return[[],Dt(t,e-2)];var o=_c(t,r);e!==r+2&&(n=Lc(t,e-r-2,o,i));return[o,n]}(t,e-20,i),{cell:n,val:r[0],formula:a,shared:o>>3&1,tt:r[1]}}function Lc(t,e,i,n){if(n.biff<8)return Dt(t,e);for(var r=t.l+e,o=[],a=0;a!==i.length;++a)switch(i[a][0]){case"PtgArray":i[a][1]=pc(t),o.push(i[a][1]);break;case"PtgMemArea":i[a][2]=fc(t,i[a][1]),o.push(i[a][2])}return 0!==(e=r-t.l)&&o.push(Dt(t,e)),o}function xc(t,e,i){var n,r=t.l+e,o=t.read_shift(2),a=_c(t,o);return 65535==o?[[],Dt(t,e-2)]:(e!==o+2&&(n=Lc(t,r-o-2,a,i)),[a,n])}function wc(t,e,i,n){var r,o=t.l+e,a=t.read_shift(2);if(65535==a)return[[],Dt(t,e-2)];var s=_c(t,a);return e!==a+2&&(r=Lc(t,o-a-2,s,i)),[s,r]}function _c(t,e){for(var i,n,r=t.l+e,o=[];r!=t.l;)e=r-t.l,n=t[t.l],i=gc[n],24!==n&&25!==n||(i=(24===(n=t[t.l+1])?vc:yc)[n]),i&&i.f?o.push([i.n,i.f(t,e)]):o.push(Dt(t,e));return o}function Sc(t){return t.map(function(t){return t[1]}).join(",")}function Cc(t,e,i,n,r){if(void 0!==r&&5===r.biff)return"BIFF5??";var o,a,s,l,c,u,h=void 0!==e?e:{s:{c:0,r:0}},d=[];if(!t[0]||!t[0][0])return"";for(var f=0,p=t[0].length;f<p;++f){var g=t[0][f];switch(g[0]){case"PtgUminus":d.push("-"+d.pop());break;case"PtgUplus":d.push("+"+d.pop());break;case"PtgPercent":d.push(d.pop()+"%");break;case"PtgAdd":o=d.pop(),a=d.pop(),d.push(a+"+"+o);break;case"PtgSub":o=d.pop(),a=d.pop(),d.push(a+"-"+o);break;case"PtgMul":o=d.pop(),a=d.pop(),d.push(a+"*"+o);break;case"PtgDiv":o=d.pop(),a=d.pop(),d.push(a+"/"+o);break;case"PtgPower":o=d.pop(),a=d.pop(),d.push(a+"^"+o);break;case"PtgConcat":o=d.pop(),a=d.pop(),d.push(a+"&"+o);break;case"PtgLt":o=d.pop(),a=d.pop(),d.push(a+"<"+o);break;case"PtgLe":o=d.pop(),a=d.pop(),d.push(a+"<="+o);break;case"PtgEq":o=d.pop(),a=d.pop(),d.push(a+"="+o);break;case"PtgGe":o=d.pop(),a=d.pop(),d.push(a+">="+o);break;case"PtgGt":o=d.pop(),a=d.pop(),d.push(a+">"+o);break;case"PtgNe":o=d.pop(),a=d.pop(),d.push(a+"<>"+o);break;case"PtgIsect":o=d.pop(),a=d.pop(),d.push(a+" "+o);break;case"PtgUnion":o=d.pop(),a=d.pop(),d.push(a+","+o);break;case"PtgRange":case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":break;case"PtgRef":g[1][0],s=Rt(fh(ph(g[1][1])),h),d.push(ph(s));break;case"PtgRefN":g[1][0],s=Rt(fh(ph(g[1][1])),i),d.push(ph(s));break;case"PtgRef3d":g[1][0],l=g[1][1],s=Rt(g[1][2],h),d.push(n[1][l+1]+"!"+ph(s));break;case"PtgFunc":case"PtgFuncVar":var m=g[1][0],v=g[1][1];m||(m=0);var y=d.slice(-m);d.length-=m,"User"===v&&(v=y.shift()),d.push(v+"("+y.join(",")+")");break;case"PtgBool":d.push(g[1]?"TRUE":"FALSE");break;case"PtgInt":d.push(g[1]);break;case"PtgNum":d.push(String(g[1]));break;case"PtgStr":d.push('"'+g[1]+'"');break;case"PtgErr":d.push(g[1]);break;case"PtgArea":g[1][0],u=Ft(g[1][1],h),d.push(gh(u));break;case"PtgArea3d":g[1][0],l=g[1][1],u=g[1][2],d.push(n[1][l+1]+"!"+gh(u));break;case"PtgAttrSum":d.push("SUM("+d.pop()+")");break;case"PtgAttrSemi":break;case"PtgName":c=g[1][2];var b=n[0][c].Name;b in Mc&&(b=Mc[b]),d.push(b);break;case"PtgNameX":var L,x=g[1][1];c=g[1][2],n[x+1]?L=n[x+1][c]:n[x-1]&&(L=n[x-1][c]),L||(L={body:"??NAMEX??"}),d.push(L.body);break;case"PtgParen":d.push("("+d.pop()+")");break;case"PtgRefErr":d.push("#REF!");break;case"PtgExp":s={c:g[1][1],r:g[1][0]};var w={c:i.c,r:i.r};if(n.sharedf[ph(s)]){var _=n.sharedf[ph(s)];d.push(Cc(_,h,w,n,r))}else{for(o=0;o!=n.arrayf.length;++o)a=n.arrayf[o],s.c<a[0].s.c||s.c>a[0].e.c||s.r<a[0].s.r||s.r>a[0].e.r||d.push(Cc(a[1],h,w,n,r));d.push(g[1])}break;case"PtgArray":d.push("{"+g[1].map(Sc).join(";")+"}");break;case"PtgMemArea":case"PtgAttrSpace":case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":d.push("");break;case"PtgAreaErr":break;case"PtgAreaN":d.push("");break;case"PtgRefErr3d":case"PtgMemFunc":break;default:throw"Unrecognized Formula Token: "+g}}return d[0]}function kc(t,e){t.read_shift(4);return Dt(t,e-4)}var Tc={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Ec={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD"},Ac={2:1,3:1,15:1,16:1,17:1,18:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,65:3,66:3,67:1,68:1,69:1,71:1,72:1,73:1,75:1,76:1,77:1,79:2,80:2,83:1,86:1,90:1,97:2,98:1,99:1,105:1,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,189:3,190:1,195:3,196:3,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,65535:0},Mc={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFNA":"IFNA","_xlfn.IFERROR":"IFERROR","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"},Dc={},Pc={};function Oc(t,e){for(var i=0,n=t.length;i<n;++i)if(t[i].t===e)return t.Count++,i;return t[n]={t:e},t.Count++,t.Unique++,n}function Ic(t,e,i){if("undefined"!=typeof style_builder){if(/^\d+$/.exec(e.s))return e.s;if(e.s&&e.s==+e.s)return e.s;var n=e.s||{};return e.z&&(n.numFmt=e.z),style_builder.addStyle(n)}for(var r=i.revssf[null!=e.z?e.z:"General"],o=0,a=t.length;o!=a;++o)if(t[o].numFmtId===r)return o;return t[a]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},a}function Nc(t){if(t){var e={};return null!=typeof t.numFmtId&&(e.numFmt=g._table[t.numFmtId]),t.fillId&&(e.fill=Rl.Fills[t.fillId]),t.fontId&&(e.font=Rl.Fonts[t.fontId]),t.borderId&&(e.border=Rl.Borders[t.borderId]),1==t.applyAlignment&&(e.alignment=t.alignment),JSON.parse(JSON.stringify(e))}return null}function Rc(t,e,i,n){try{if("e"===t.t)t.w=t.w||$t[t.v];else if(0===e)if("n"===t.t)(0|t.v)===t.v?t.w=g._general_int(t.v,Pc):t.w=g._general_num(t.v,Pc);else if("d"===t.t){var r=S(t.v);t.w=(0|r)===r?g._general_int(r,Pc):g._general_num(r,Pc)}else{if(void 0===t.v)return"";t.w=g._general(t.v,Pc)}else"d"===t.t?t.w=g.format(e,S(t.v),Pc):t.w=g.format(e,t.v,Pc);n.cellNF&&(t.z=g._table[e])}catch(t){if(n.WTF)throw t}}pe.WS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet";var Fc=/<mergeCell ref="[A-Z0-9:]+"\s*\/>/g,Bc=/<(?:\w+:)?sheetData>([^\u2603]*)<\/(?:\w+:)?sheetData>/,zc=/<hyperlink[^>]*\/>/g,Hc=/"(\w*:\w*)"/,Vc=/<col[^>]*\/>/g;function jc(t,e,i){if(!t)return t;var n={},r=t.indexOf("<dimension");if(r>0){var o=t.substr(r,50).match(Hc);null!=o&&function(t,e){var i=mh(e);i.s.r<=i.e.r&&i.s.c<=i.e.c&&i.s.r>=0&&i.s.c>=0&&(t["!ref"]=gh(i))}(n,o[1])}var a=[];if(-1!==t.indexOf("</mergeCells>")){var s=t.match(Fc);for(r=0;r!=s.length;++r)a[r]=mh(s[r].substr(s[r].indexOf('"')+1))}var l=[];e.cellStyles&&-1!==t.indexOf("</cols>")&&function(t,e){for(var i=!1,n=0;n!=e.length;++n){var r=O(e[n],!0),o=parseInt(r.min,10)-1,a=parseInt(r.max,10)-1;for(delete r.min,delete r.max,!i&&r.width&&(i=!0,Il(+r.width)),r.width&&(r.wpx=Ml(+r.width),r.wch=Dl(r.wpx),r.MDW=Al);o<=a;)t[o++]=r}}(l,t.match(Vc));var c={s:{r:1e6,c:1e6},e:{r:0,c:0}},u=t.match(Bc);if(u&&Zc(u[1],n,e,c),-1!==t.indexOf("</hyperlinks>")&&function(t,e,i){for(var n=0;n!=e.length;++n){var r=O(e[n],!0);if(!r.ref)return;var o=i?i["!id"][r.id]:null;o?(r.Target=o.Target,r.location&&(r.Target+="#"+r.location),r.Rel=o):(r.Target=r.location,o={Target:r.location,TargetMode:"Internal"},r.Rel=o);for(var a=mh(r.ref),s=a.s.r;s<=a.e.r;++s)for(var l=a.s.c;l<=a.e.c;++l){var c=ph({c:l,r:s});t[c]||(t[c]={t:"stub",v:void 0}),t[c].l=r}}}(n,t.match(zc),i),!n["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(n["!ref"]=gh(c)),e.sheetRows>0&&n["!ref"]){var h=mh(n["!ref"]);e.sheetRows<+h.e.r&&(h.e.r=e.sheetRows-1,h.e.r>c.e.r&&(h.e.r=c.e.r),h.e.r<h.s.r&&(h.s.r=h.e.r),h.e.c>c.e.c&&(h.e.c=c.e.c),h.e.c<h.s.c&&(h.s.c=h.e.c),n["!fullref"]=n["!ref"],n["!ref"]=gh(h))}return a.length>0&&(n["!merges"]=a),l.length>0&&(n["!cols"]=l),n}function Wc(t,e,i,n,r,o){if(void 0===t.v&&void 0===t.s)return"";var a="",s=t.t,l=t.v;switch(t.t){case"b":a=t.v?"1":"0";break;case"n":a=""+t.v;break;case"e":a=$t[t.v];break;case"d":n.cellDates?a=new Date(t.v).toISOString():(t.t="n",a=""+(t.v=S(t.v)),void 0===t.z&&(t.z=g._table[14]));break;default:a=t.v}var c=it("v",V(a)),u={r:e},h=Ic(n.cellXfs,t,n);switch(0!==h&&(u.s=h),t.t){case"n":break;case"d":u.t="d";break;case"b":u.t="b";break;case"e":u.t="e";break;default:if(n.bookSST){c=it("v",""+Oc(n.Strings,t.v)),u.t="s";break}u.t="str"}return t.t!=s&&(t.t=s,t.v=l),nt("c",c,u)}var Uc,Yc,Gc,Xc,qc,$c,Zc=(Uc=/<(?:\w+:)?c[ >]/,Yc=/<\/(?:\w+:)?row>/,Gc=/r=["']([^"']*)["']/,Xc=/<is>([\S\s]*?)<\/is>/,qc=Z("v"),$c=Z("f"),function(t,e,i,n){for(var r,o,a,s,l=0,c="",u=[],h=[],d=0,f=0,p=0,g="",m=0,v=0,y=0,b=Array.isArray(Rl.CellXf),L=t.split(Yc),x=0,w=L.length;x!=w;++x){var _=(c=L[x].trim()).length;if(0!==_){for(l=0;l<_&&62!==c.charCodeAt(l);++l);if(++l,m=void 0!==(o=O(c.substr(0,l),!0)).r?parseInt(o.r,10):m+1,v=-1,!(i.sheetRows&&i.sheetRows<m))for(n.s.r>m-1&&(n.s.r=m-1),n.e.r<m-1&&(n.e.r=m-1),u=c.substr(l).split(Uc),l=void 0===o.r?0:1;l!=u.length;++l)if(0!==(c=u[l].trim()).length){if(h=c.match(Gc),d=l,f=0,p=0,c="<c "+("<"==c.substr(0,1)?">":"")+c,null!==h&&2===h.length){for(d=0,g=h[1],f=0;f!=g.length&&!((p=g.charCodeAt(f)-64)<1||p>26);++f)d=26*d+p;v=--d}else++v;for(f=0;f!=c.length&&62!==c.charCodeAt(f);++f);if(++f,(o=O(c.substr(0,f),!0)).r||(o.r=wh.encode_cell({r:m-1,c:v})),r={t:""},null!==(h=(g=c.substr(f)).match(qc))&&""!==h[1]&&(r.v=B(h[1])),i.cellFormula&&null!==(h=g.match($c))&&(r.f=B(h[1])),void 0===o.t&&void 0===o.s&&void 0===r.v){if(!i.sheetStubs)continue;r.t="stub"}else r.t=o.t||"n";switch(n.s.c>d&&(n.s.c=d),n.e.c<d&&(n.e.c=d),r.t){case"n":r.v=parseFloat(r.v),isNaN(r.v)&&(r.v="");break;case"s":a=Dc[parseInt(r.v,10)],r.v=a.t,r.r=a.r,i.cellHTML&&(r.h=a.h);break;case"str":r.t="s",r.v=null!=r.v?U(r.v):"",i.cellHTML&&(r.h=r.v);break;case"inlineStr":h=g.match(Xc),r.t="s",null!==h?(a=al(h[1]),r.v=a.t):r.v="";break;case"b":r.v=W(r.v);break;case"d":i.cellDates||(r.v=S(r.v),r.t="n");break;case"e":r.w=r.v,r.v=Zt[r.v]}y=0,b&&void 0!==o.s&&(s=Rl.CellXf[o.s],i.cellStyles&&(r.s=Nc(s)),null!=s&&(null!=s.numFmtId&&(y=s.numFmtId),i.cellStyles&&null!=s.fillId&&s.fillId)),Rc(r,y,0,i),e[o.r]=r}}}});var Kc=nt("worksheet",null,{xmlns:bt.main[0],"xmlns:r":bt.r});function Qc(t,e,i){var n,r=[yt,Kc],o=i.SheetNames[t],a="",s=i.Sheets[o];void 0===s&&(s={});var l=s["!ref"];void 0===l&&(l="A1"),r[r.length]=nt("dimension",null,{ref:l});var c=[];if(s["!freeze"]){var u;u=nt("pane",null,s["!freeze"]),c.push(u);var h=nt("selection",null,{pane:"topLeft"});c.push(h);h=nt("selection",null,{pane:"bottomLeft"});c.push(h);h=nt("selection",null,{pane:"bottomRight",activeCell:s["!freeze"],sqref:s["!freeze"]});c.push(h)}var d,f=nt("sheetView",c.join("")||void 0,{showGridLines:0==e.showGridLines?"0":"1",tabSelected:void 0===e.tabSelected?"0":e.tabSelected,workbookViewId:void 0===e.workbookViewId?"0":e.workbookViewId});return r[r.length]=nt("sheetViews",f),void 0!==s["!cols"]&&s["!cols"].length>0&&(r[r.length]=function(t,e){for(var i,n,r=["<cols>"],o=0;o!=e.length;++o)if(i=e[o]){var a={min:o+1,max:o+1};n=-1,i.wpx?n=Dl(i.wpx):i.wch&&(n=i.wch),n>-1&&(a.width=Pl(n),a.customWidth=1),r[r.length]=nt("col",null,a)}return r[r.length]="</cols>",r.join("")}(0,s["!cols"])),r[n=r.length]="<sheetData/>",void 0!==s["!ref"]&&(a=function(t,e,i,n){var r,o,a,s,l=[],c=[],u=mh(t["!ref"]),h="",d=[];for(s=u.s.c;s<=u.e.c;++s)d[s]=uh(s);for(a=u.s.r;a<=u.e.r;++a){for(c=[],h=sh(a),s=u.s.c;s<=u.e.c;++s)void 0!==t[o=d[s]+h]&&null!=(r=Wc(t[o],o,0,e))&&c.push(r);c.length>0&&(l[l.length]=nt("row",c.join(""),{r:h}))}return l.join("")}(s,e)).length>0&&(r[r.length]=a),r.length>n+1&&(r[r.length]="</sheetData>",r[n]=r[n].replace("/>",">")),void 0!==s["!merges"]&&s["!merges"].length>0&&(r[r.length]=function(t){if(0==t.length)return"";for(var e='<mergeCells count="'+t.length+'">',i=0;i!=t.length;++i)e+='<mergeCell ref="'+gh(t[i])+'"/>';return e+"</mergeCells>"}(s["!merges"])),void 0!==s["!pageSetup"]&&(r[r.length]=nt("pageSetup",null,{scale:(d=s["!pageSetup"]).scale||"100",orientation:d.orientation||"portrait",horizontalDpi:d.horizontalDpi||"4294967292",verticalDpi:d.verticalDpi||"4294967292"})),void 0!==s["!rowBreaks"]&&(r[r.length]=function(t){for(var e=[],i=0;i<t.length;i++){var n=""+t[i],r=""+(t[i+1]||"16383");e.push(nt("brk",null,{id:n,max:r,man:"1"}))}return nt("rowBreaks",e.join(" "),{count:e.length,manualBreakCount:e.length})}(s["!rowBreaks"])),void 0!==s["!colBreaks"]&&(r[r.length]=function(t){for(var e=[],i=0;i<t.length;i++){var n=""+t[i],r=""+(t[i+1]||"1048575");e.push(nt("brk",null,{id:n,max:r,man:"1"}))}return nt("colBreaks",e.join(" "),{count:e.length,manualBreakCount:e.length})}(s["!colBreaks"])),r.length>2&&(r[r.length]="</worksheet>",r[1]=r[1].replace("/>",">")),r.join("")}var Jc=Xt,tu=function(t,e){return e||(e=Pt(16)),e.write_shift(4,t.s.r),e.write_shift(4,t.e.r),e.write_shift(4,t.s.c),e.write_shift(4,t.e.c),e};function eu(t,e,i){return null==i&&(i=Pt(8)),function(t,e){return null==e&&(e=Pt(8)),e.write_shift(-4,t.c),e.write_shift(3,void 0===t.iStyleRef?t.iStyleRef:t.s),e.write_shift(1,0),e}(e,i)}var iu=Xt;function nu(t,e,i,n,r){if(void 0===e.v)return"";switch(e.t){case"b":e.v?"1":"0";break;case"n":case"e":""+e.v;break;default:e.v}var o={r:i,c:n};switch(o.s=Ic(r.cellXfs,e,r),e.t){case"s":case"str":if(r.bookSST){Oc(r.Strings,e.v),o.t="s";break}o.t="str";break;case"n":break;case"b":o.t="b";break;case"e":o.t="e"}Nt(t,"BrtCellBlank",eu(0,o))}function ru(t,e,i){var n=It(),r=i.SheetNames[t],o=i.Sheets[r]||{},a=mh(o["!ref"]||"A1");return Nt(n,"BrtBeginSheet"),Nt(n,"BrtWsDim",tu(a)),function(t,e,i,n,r){var o,a=mh(e["!ref"]||"A1"),s="",l=[];Nt(t,"BrtBeginSheetData");for(var c=a.s.r;c<=a.e.r;++c){s=sh(c);for(var u=a.s.c;u<=a.e.c;++u)c===a.s.r&&(l[u]=uh(u)),e[o=l[u]+s]&&nu(t,e[o],c,u,n)}Nt(t,"BrtEndSheetData")}(n,o,0,e),Nt(n,"BrtEndSheet"),n.end()}var ou=[["allowRefreshQuery","0"],["autoCompressPictures","1"],["backupFile","0"],["checkCompatibility","0"],["codeName",""],["date1904","0"],["dateCompatibility","1"],["filterPrivacy","0"],["hidePivotFieldList","0"],["promptedSolutions","0"],["publishItems","0"],["refreshAllConnections",!1],["saveExternalLinkValues","1"],["showBorderUnselectedTables","1"],["showInkAnnotation","1"],["showObjects","all"],["showPivotChartFilter","0"]],au=[["activeTab","0"],["autoFilterDateGrouping","1"],["firstSheet","0"],["minimized","0"],["showHorizontalScroll","1"],["showSheetTabs","1"],["showVerticalScroll","1"],["tabRatio","600"],["visibility","visible"]],su=[["state","visible"]],lu=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function cu(t,e){for(var i=0;i!=t.length;++i)for(var n=t[i],r=0;r!=e.length;++r){var o=e[r];null==n[o[0]]&&(n[o[0]]=o[1])}}function uu(t,e){for(var i=0;i!=e.length;++i){var n=e[i];null==t[n[0]]&&(t[n[0]]=n[1])}}function hu(t){uu(t.WBProps,ou),uu(t.CalcPr,lu),cu(t.WBView,au),cu(t.Sheets,su),Pc.date1904=W(t.WBProps.date1904)}var du=/<\w+:workbook/;function fu(t,e){var i={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=!1,r="xmlns";if(t.match(M).forEach(function(t){var o=O(t);switch(function(t){return t.replace(P,"<$1")}(o[0])){case"<?xml":break;case"<workbook":t.match(du)&&(r="xmlns"+t.match(/<(\w+):/)[1]),i.xmlns=o[r];break;case"</workbook>":break;case"<fileVersion":delete o[0],i.AppVersion=o;break;case"<fileVersion/>":break;case"<fileSharing":case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":delete o[0],i.WBProps=o;break;case"<workbookProtection":case"<workbookProtection/>":break;case"<bookViews>":case"</bookViews>":break;case"<workbookView":delete o[0],i.WBView.push(o);break;case"<sheets>":case"</sheets>":break;case"<sheet":delete o[0],o.name=U(o.name),i.Sheets.push(o);break;case"<functionGroups":case"<functionGroups/>":case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":break;case"<definedNames>":case"<definedNames":n=!0;break;case"</definedNames>":n=!1;break;case"<definedName":case"<definedName/>":case"</definedName>":break;case"<calcPr":case"<calcPr/>":delete o[0],i.CalcPr=o;break;case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":break;case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;case"<ArchID":break;case"<AlternateContent":n=!0;break;case"</AlternateContent>":n=!1;break;default:if(!n&&e.WTF)throw"unrecognized "+o[0]+" in workbook"}}),-1===bt.main.indexOf(i.xmlns))throw new Error("Unknown Namespace: "+i.xmlns);return hu(i),i}var pu=nt("workbook",null,{xmlns:bt.main[0],"xmlns:r":bt.r});function gu(t){try{return W(t.Workbook.WBProps.date1904)?"true":"false"}catch(t){return"false"}}function mu(t,e){return e||(e=Pt(26)),e.write_shift(4,0),e.write_shift(4,1),e.write_shift(4,0),function(t,e){(e||Pt(8)).write_shift(8,"f",t)}(0,e),e.write_shift(-4,1023),e.write_shift(1,51),e.write_shift(1,0),e}function vu(e,i){var n,r=It();return Nt(r,"BrtBeginBook"),Nt(r,"BrtFileVersion",function(e,i){i||(i=Pt(127));for(var n=0;4!=n;++n)i.write_shift(4,0);return Wt("SheetJS",i),Wt(t.version,i),Wt(t.version,i),Wt("7262",i),i.length=i.l,i}()),Nt(r,"BrtWbProp",(n||(n=Pt(8)),n.write_shift(4,0),n.write_shift(4,0),n)),function(t,e,i){Nt(t,"BrtBeginBookViews"),Nt(t,"BrtEndBookViews")}(r),function(t,e,i){Nt(t,"BrtBeginBundleShs");for(var n=0;n!=e.SheetNames.length;++n){var r={hsState:0,iTabID:n+1,strRelID:"rId"+(n+1),name:e.SheetNames[n]};Nt(t,"BrtBundleSh",(o=r,(a=void 0)||(a=Pt(127)),a.write_shift(4,o.hsState),a.write_shift(4,o.iTabID),Yt(o.strRelID,a),Wt(o.name.substr(0,31),a),a))}var o,a;Nt(t,"BrtEndBundleShs")}(r,e),Nt(r,"BrtCalcProp",mu()),Nt(r,"BrtFileRecover",function(t,e){return e||(e=Pt(1)),e.write_shift(1,0),e}()),Nt(r,"BrtEndBook"),r.end()}function yu(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=!1;return Ot(t,function(t,r){switch(r.n){case"BrtBundleSh":i.Sheets.push(t);break;case"BrtBeginBook":case"BrtFileVersion":case"BrtWbProp":case"BrtACBegin":case"BrtAbsPath15":case"BrtACEnd":case"BrtWbFactoid":case"BrtBookProtection":case"BrtBeginBookViews":case"BrtBookView":case"BrtEndBookViews":case"BrtBeginBundleShs":case"BrtEndBundleShs":case"BrtBeginFnGroup":case"BrtEndFnGroup":case"BrtBeginExternals":case"BrtSupSelf":case"BrtSupBookSrc":case"BrtExternSheet":case"BrtEndExternals":case"BrtName":case"BrtCalcProp":case"BrtUserBookView":case"BrtBeginPivotCacheIDs":case"BrtBeginPivotCacheID":case"BrtEndPivotCacheID":case"BrtEndPivotCacheIDs":case"BrtWebOpt":case"BrtFileRecover":case"BrtFileSharing":case"BrtBeginSmartTagTypes":case"BrtSmartTagType":case"BrtEndSmartTagTypes":break;case"BrtFRTBegin":n=!0;break;case"BrtFRTArchID$":case"BrtWorkBookPr15":break;case"BrtFRTEnd":n=!1;break;case"BrtEndBook":break;default:if(!n||e.WTF)throw new Error("Unexpected record "+r.n)}}),hu(i),i}:fu)(t,i)}function bu(t,e,i,n){return(".bin"===e.substr(-4)?function(t,e,i){if(!t)return t;i||(i={"!id":{}});var n,r,o,a,s,l,c,u,h={},d={s:{r:1e6,c:1e6},e:{r:0,c:0}},f=!1,p=!1,g=[];if(Ot(t,function(t,m){if(!p)switch(m.n){case"BrtWsDim":n=t;break;case"BrtRowHdr":r=t,e.sheetRows&&e.sheetRows<=r.r&&(p=!0),u=sh(r.r);break;case"BrtFmlaBool":case"BrtFmlaError":case"BrtFmlaNum":case"BrtFmlaString":case"BrtCellBool":case"BrtCellError":case"BrtCellIsst":case"BrtCellReal":case"BrtCellRk":case"BrtCellSt":switch(o={t:t[2]},t[2]){case"n":o.v=t[1];break;case"s":c=Dc[t[1]],o.v=c.t,o.r=c.r;break;case"b":o.v=!!t[1];break;case"e":o.v=t[1],o.w=$t[o.v];break;case"str":o.t="s",o.v=U(t[1])}e.cellFormula&&t.length>3&&(o.f=t[3]),(a=Rl.CellXf[t[0].iStyleRef])&&Rc(o,a.ifmt,0,e),h[uh(s=t[0].c)+u]=o,d.s.r>r.r&&(d.s.r=r.r),d.s.c>s&&(d.s.c=s),d.e.r<r.r&&(d.e.r=r.r),d.e.c<s&&(d.e.c=s);break;case"BrtCellBlank":if(!e.sheetStubs)break;o={t:"s",v:void 0},h[uh(s=t[0].c)+u]=o,d.s.r>r.r&&(d.s.r=r.r),d.s.c>s&&(d.s.c=s),d.e.r<r.r&&(d.e.r=r.r),d.e.c<s&&(d.e.c=s);break;case"BrtBeginMergeCells":case"BrtEndMergeCells":break;case"BrtMergeCell":g.push(t);break;case"BrtHLink":var v=i["!id"][t.relId];for(v&&(t.Target=v.Target,t.loc&&(t.Target+="#"+t.loc),t.Rel=v),m=t.rfx.s.r;m<=t.rfx.e.r;++m)for(s=t.rfx.s.c;s<=t.rfx.e.c;++s)l=ph({c:s,r:m}),h[l]||(h[l]={t:"s",v:void 0}),h[l].l=t;break;case"BrtArrFmla":case"BrtShrFmla":case"BrtBeginSheet":case"BrtWsProp":case"BrtSheetCalcProp":case"BrtBeginWsViews":case"BrtBeginWsView":case"BrtPane":case"BrtSel":case"BrtEndWsView":case"BrtEndWsViews":case"BrtACBegin":case"BrtRwDescent":case"BrtACEnd":case"BrtWsFmtInfoEx14":case"BrtWsFmtInfo":case"BrtBeginColInfos":case"BrtColInfo":case"BrtEndColInfos":case"BrtBeginSheetData":case"BrtEndSheetData":case"BrtSheetProtection":case"BrtPrintOptions":case"BrtMargins":case"BrtPageSetup":break;case"BrtFRTBegin":f=!0;break;case"BrtFRTEnd":f=!1;break;case"BrtEndSheet":case"BrtDrawing":case"BrtLegacyDrawing":case"BrtLegacyDrawingHF":case"BrtPhoneticInfo":case"BrtBeginHeaderFooter":case"BrtEndHeaderFooter":case"BrtBrk":case"BrtBeginRwBrk":case"BrtEndRwBrk":case"BrtBeginColBrk":case"BrtEndColBrk":case"BrtBeginUserShViews":case"BrtBeginUserShView":case"BrtEndUserShView":case"BrtEndUserShViews":case"BrtBkHim":case"BrtBeginOleObjects":case"BrtOleObject":case"BrtEndOleObjects":case"BrtBeginListParts":case"BrtListPart":case"BrtEndListParts":case"BrtBeginSortState":case"BrtBeginSortCond":case"BrtEndSortCond":case"BrtEndSortState":case"BrtBeginConditionalFormatting":case"BrtEndConditionalFormatting":case"BrtBeginCFRule":case"BrtEndCFRule":case"BrtBeginDVals":case"BrtDVal":case"BrtEndDVals":case"BrtRangeProtection":case"BrtBeginDCon":case"BrtEndDCon":case"BrtBeginDRefs":case"BrtDRef":case"BrtEndDRefs":case"BrtBeginActiveXControls":case"BrtActiveX":case"BrtEndActiveXControls":case"BrtBeginAFilter":case"BrtEndAFilter":case"BrtBeginFilterColumn":case"BrtBeginFilters":case"BrtFilter":case"BrtEndFilters":case"BrtEndFilterColumn":case"BrtDynamicFilter":case"BrtTop10Filter":case"BrtBeginCustomFilters":case"BrtCustomFilter":case"BrtEndCustomFilters":case"BrtBeginSmartTags":case"BrtBeginCellSmartTags":case"BrtBeginCellSmartTag":case"BrtCellSmartTagProperty":case"BrtEndCellSmartTag":case"BrtEndCellSmartTags":case"BrtEndSmartTags":case"BrtBeginCellWatches":case"BrtCellWatch":case"BrtEndCellWatches":case"BrtTable":case"BrtBeginCellIgnoreECs":case"BrtCellIgnoreEC":case"BrtEndCellIgnoreECs":break;default:if(!f||e.WTF)throw new Error("Unexpected record "+m.n)}},e),!h["!ref"]&&(d.s.r<1e6||n.e.r>0||n.e.c>0||n.s.r>0||n.s.c>0)&&(h["!ref"]=gh(n)),e.sheetRows&&h["!ref"]){var m=mh(h["!ref"]);e.sheetRows<+m.e.r&&(m.e.r=e.sheetRows-1,m.e.r>d.e.r&&(m.e.r=d.e.r),m.e.r<m.s.r&&(m.s.r=m.e.r),m.e.c>d.e.c&&(m.e.c=d.e.c),m.e.c<m.s.c&&(m.s.c=m.e.c),h["!fullref"]=h["!ref"],h["!ref"]=gh(m))}return g.length>0&&(h["!merges"]=g),h}:jc)(t,i,n)}function Lu(t,e,i){return(".bin"===e.substr(-4)?function(t,e){for(var i in Rl.NumberFmt=[],g._table)Rl.NumberFmt[i]=g._table[i];Rl.CellXf=[];var n="",r=!1;return Ot(t,function(t,i,o){switch(i.n){case"BrtFmt":Rl.NumberFmt[t[0]]=t[1],g.load(t[1],t[0]);break;case"BrtFont":case"BrtKnownFonts":case"BrtFill":case"BrtBorder":break;case"BrtXF":"CELLXFS"===n&&Rl.CellXf.push(t);break;case"BrtStyle":case"BrtDXF":case"BrtMRUColor":case"BrtIndexedColor":case"BrtBeginStyleSheet":case"BrtEndStyleSheet":case"BrtBeginTableStyle":case"BrtTableStyleElement":case"BrtEndTableStyle":break;case"BrtBeginFmts":n="FMTS";break;case"BrtEndFmts":n="";break;case"BrtBeginFonts":n="FONTS";break;case"BrtEndFonts":n="";break;case"BrtACBegin":n="ACFONTS";break;case"BrtACEnd":n="";break;case"BrtBeginFills":n="FILLS";break;case"BrtEndFills":n="";break;case"BrtBeginBorders":n="BORDERS";break;case"BrtEndBorders":n="";break;case"BrtBeginCellStyleXFs":n="CELLSTYLEXFS";break;case"BrtEndCellStyleXFs":n="";break;case"BrtBeginCellXFs":n="CELLXFS";break;case"BrtEndCellXFs":n="";break;case"BrtBeginStyles":n="STYLES";break;case"BrtEndStyles":n="";break;case"BrtBeginDXFs":n="DXFS";break;case"BrtEndDXFs":n="";break;case"BrtBeginTableStyles":n="TABLESTYLES";break;case"BrtEndTableStyles":n="";break;case"BrtBeginColorPalette":n="COLORPALETTE";break;case"BrtEndColorPalette":n="";break;case"BrtBeginIndexedColors":n="INDEXEDCOLORS";break;case"BrtEndIndexedColors":n="";break;case"BrtBeginMRUColors":n="MRUCOLORS";break;case"BrtEndMRUColors":n="";break;case"BrtFRTBegin":r=!0;break;case"BrtFRTEnd":r=!1;break;case"BrtBeginStyleSheetExt14":case"BrtBeginSlicerStyles":case"BrtEndSlicerStyles":case"BrtBeginTimelineStylesheetExt15":case"BrtEndTimelineStylesheetExt15":case"BrtBeginTimelineStyles":case"BrtEndTimelineStyles":case"BrtEndStyleSheetExt14":break;default:if(!r||e.WTF)throw new Error("Unexpected record "+o+" "+i.n)}}),Rl}:jl)(t,i)}function xu(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i=[],n=!1;return Ot(t,function(t,r,o){switch(r.n){case"BrtBeginSst":i.Count=t[0],i.Unique=t[1];break;case"BrtSSTItem":i.push(t);break;case"BrtEndSst":return!0;case"BrtFRTBegin":n=!0;break;case"BrtFRTEnd":n=!1;break;default:if(!n||e.WTF)throw new Error("Unexpected record "+o+" "+r.n)}}),i}:function(t,e){var i,n=[],r=t.match(sl);if(x(r)){i=r[2].replace(ll,"").split(cl);for(var o=0;o!=i.length;++o){var a=al(i[o],e);null!=a&&(n[n.length]=a)}r=O(r[1]),n.Count=r.count,n.Unique=r.uniqueCount}return n})(t,i)}function wu(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i=[],n=[],r={};return Ot(t,function(t,o,a){switch(o.n){case"BrtCommentAuthor":n.push(t);break;case"BrtBeginComment":r=t;break;case"BrtCommentText":r.t=t.t,r.h=t.h,r.r=t.r;break;case"BrtEndComment":if(r.author=n[r.iauthor],delete r.iauthor,e.sheetRows&&e.sheetRows<=r.rfx.r)break;delete r.rfx,i.push(r);break;case"BrtBeginComments":case"BrtEndComments":case"BrtBeginCommentAuthors":case"BrtEndCommentAuthors":case"BrtBeginCommentList":case"BrtEndCommentList":break;default:throw new Error("Unexpected record "+a+" "+o.n)}}),i}:function(t,e){if(t.match(/<(?:\w+:)?comments *\/>/))return[];var i=[],n=[];return t.match(/<(?:\w+:)?authors>([^\u2603]*)<\/(?:\w+:)?authors>/)[1].split(/<\/\w*:?author>/).forEach(function(t){""!==t&&""!==t.trim()&&i.push(t.match(/<(?:\w+:)?author[^>]*>(.*)/)[1])}),(t.match(/<(?:\w+:)?commentList>([^\u2603]*)<\/(?:\w+:)?commentList>/)||["",""])[1].split(/<\/\w*:?comment>/).forEach(function(t,r){if(""!==t&&""!==t.trim()){var o=O(t.match(/<(?:\w+:)?comment[^>]*>/)[0]),a={author:o.authorId&&i[o.authorId]?i[o.authorId]:void 0,ref:o.ref,guid:o.guid},s=fh(o.ref);if(!(e.sheetRows&&e.sheetRows<=s.r)){var l=t.match(/<text>([^\u2603]*)<\/text>/);if(l&&l[1]){var c=al(l[1]);a.r=c.r,a.t=c.t,e.cellHTML&&(a.h=c.h),n.push(a)}}}}),n})(t,i)}function _u(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i=[];return Ot(t,function(t,e,n){switch(e.n){case"BrtCalcChainItem$":i.push(t);break;case"BrtBeginCalcChain$":case"BrtEndCalcChain$":break;default:throw new Error("Unexpected record "+n+" "+e.n)}}),i}:function(t,e){var i=[],n=1;return(t.match(M)||[]).forEach(function(t){var e=O(t);switch(e[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete e[0],e.i?n=e.i:e.i=n,i.push(e)}}),i})(t,i)}function Su(t,e,i){return(".bin"===e.substr(-4)?vu:function(t,e){var i=[yt];i[i.length]=pu,i[i.length]=nt("workbookPr",null,{date1904:gu(t)}),i[i.length]="<sheets>";for(var n=0;n!=t.SheetNames.length;++n)i[i.length]=nt("sheet",null,{name:t.SheetNames[n].substr(0,31),sheetId:""+(n+1),"r:id":"rId"+(n+1)});i[i.length]="</sheets>";var r=!1;for(n=0;n!=t.SheetNames.length;++n){var o=t.SheetNames[n];if((a=t.Sheets[o])["!printHeader"]){if(2!==a["!printHeader"].length)throw"!printHeaders must be an array of length 2: "+a["!printHeader"];r=!0}}if(r){for(i[i.length]="<definedNames>",n=0;n!=t.SheetNames.length;++n){var a;if(o=t.SheetNames[n],(a=t.Sheets[o])["!printHeader"]||a["!printColumns"]){var s=a["!printHeader"],l=a["!printColumns"],c="";l&&(c+="'"+o+"'!$"+l[0]+":$"+l[1]),l&&s&&(c+=","),s&&(c+="'"+o+"'!$"+s[0]+":$"+s[1]),console.log("-----------------------------"),console.log(c),i[i.length]=nt("definedName",c,{name:"_xlnm.Print_Titles",localSheetId:""+n})}}i[i.length]="</definedNames>"}return i.length>2&&(i[i.length]="</workbook>",i[1]=i[1].replace("/>",">")),i.join("")})(t,i)}function Cu(t,e,i,n){return(".bin"===e.substr(-4)?ru:Qc)(t,i,n)}function ku(t,e,i){return(".bin"===e.substr(-4)?function(t,e){var i=It();return Nt(i,"BrtBeginStyleSheet"),Nt(i,"BrtEndStyleSheet"),i.end()}:Ul)(t,i)}function Tu(t,e,i){return(".bin"===e.substr(-4)?dl:function(t,e){if(!e.bookSST)return"";var i=[yt];i[i.length]=nt("sst",null,{xmlns:bt.main[0],count:t.Count,uniqueCount:t.Unique});for(var n=0;n!=t.length;++n)if(null!=t[n]){var r=t[n],o="<si>";r.r?o+=r.r:(o+="<t",r.t.match(ul)&&(o+=' xml:space="preserve"'),o+=">"+V(r.t)+"</t>"),o+="</si>",i[i.length]=o}return i.length>2&&(i[i.length]="</sst>",i[1]=i[1].replace("/>",">")),i.join("")})(t,i)}var Eu=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Au=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/,Mu=function(t){return String.fromCharCode(t)};function Du(t,e){var i=t.split(/\s+/),n=[];if(e||(n[0]=i[0]),1===i.length)return n;var r,o,a,s=t.match(Eu);if(s)for(a=0;a!=s.length;++a)-1===(o=(r=s[a].match(Au))[1].indexOf(":"))?n[r[1]]=r[2].substr(1,r[2].length-2):n["xmlns:"===r[1].substr(0,6)?"xmlns"+r[1].substr(6):r[1].substr(o+1)]=r[2].substr(1,r[2].length-2);return n}function Pu(t){var e={};if(1===t.split(/\s+/).length)return e;var i,n,r,o=t.match(Eu);if(o)for(r=0;r!=o.length;++r)-1===(n=(i=o[r].match(Au))[1].indexOf(":"))?e[i[1]]=i[2].substr(1,i[2].length-2):e["xmlns:"===i[1].substr(0,6)?"xmlns"+i[1].substr(6):i[1].substr(n+1)]=i[2].substr(1,i[2].length-2);return e}function Ou(t,e,i,n){switch((i[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=W(n);break;case"i2":case"int":n=parseInt(n,10);break;case"r4":case"float":n=parseFloat(n);break;case"date":case"dateTime.tz":n=new Date(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw"bad custprop:"+i[0]}t[B(e[3])]=n}function Iu(t,e,i){try{"e"===t.t?t.w=t.w||$t[t.v]:"General"===e?"n"===t.t?(0|t.v)===t.v?t.w=g._general_int(t.v):t.w=g._general_num(t.v):t.w=g._general(t.v):t.w=(n=e||"General",r=t.v,"General"===(o=b[n]||B(n))?g._general(r):g.format(o,r)),i.cellNF&&(t.z=b[e]||e||"General")}catch(t){if(i.WTF)throw t}var n,r,o}function Nu(t,e,i){if(i.cellStyles&&e.Interior){var n=e.Interior;n.Pattern&&(n.patternType=Nl[n.Pattern]||n.Pattern)}t[e.ID]=e}function Ru(t,e,i,n,r,o,a,s,l){var c="General",u=n.StyleID,h={};l=l||{};var d=[];for(void 0===u&&s&&(u=s.StyleID),void 0===u&&a&&(u=a.StyleID);void 0!==o[u]&&(o[u].nf&&(c=o[u].nf),o[u].Interior&&d.push(o[u].Interior),o[u].Parent);)u=o[u].Parent;switch(i.Type){case"Boolean":n.t="b",n.v=W(t);break;case"String":n.t="s",n.r=j(B(t)),n.v=t.indexOf("<")>-1?e:n.r;break;case"DateTime":n.v=(Date.parse(t)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!=n.v?n.v=B(t):n.v>=1&&n.v<60&&(n.v=n.v-1),c&&"General"!=c||(c="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+t),n.t||(n.t="n");break;case"Error":n.t="e",n.v=Zt[t],n.w=t;break;default:n.t="s",n.v=j(e)}Iu(n,c,l),null!=l.cellFormula&&n.Formula&&(n.f=rc(B(n.Formula),r),n.Formula=void 0),l.cellStyles&&(d.forEach(function(t){!h.patternType&&t.patternType&&(h.patternType=t.patternType)}),n.s=h),n.ixfe=void 0!==n.StyleID?n.StyleID:"Default"}function Fu(t){t.t=t.v,t.v=t.w=t.ixfe=void 0}var Bu=/<(\/?)([a-z0-9]*:|)(\w+)[^>]*>/gm;function zu(t,e){var i,n,r,o,a,s=function(t){if(c&&Buffer.isBuffer(t))return t.toString("utf8");if("string"==typeof t)return t;throw"badf"}(t),l=[],u={},h=[],d={},f="",p={},m={},v=0,y=0,b={s:{r:1e6,c:1e6},e:{r:0,c:0}},L={},x={},w="",_=0,S=[],C={},k={},T=0,E={},A=[],M={},D=[];for(Bu.lastIndex=0;i=Bu.exec(s);)switch(i[3]){case"Data":if(l[l.length-1][1])break;"/"===i[1]?Ru(s.slice(o,i.index),w,r,"Comment"==l[l.length-1][0]?M:p,{c:v,r:y},L,D[v],m,e):(w="",r=Du(i[0]),o=i.index+i[0].length);break;case"Cell":if("/"===i[1]){if(A.length>0&&(p.c=A),(!e.sheetRows||e.sheetRows>y)&&void 0!==p.v&&(d[uh(v)+sh(y)]=p),p.HRef&&(p.l={Target:p.HRef,tooltip:p.HRefScreenTip},p.HRef=p.HRefScreenTip=void 0),p.MergeAcross||p.MergeDown){var P=v+(0|parseInt(p.MergeAcross,10)),O=y+(0|parseInt(p.MergeDown,10));S.push({s:{c:v,r:y},e:{c:P,r:O}})}++v,p.MergeAcross&&(v+=+p.MergeAcross)}else(p=Pu(i[0])).Index&&(v=+p.Index-1),v<b.s.c&&(b.s.c=v),v>b.e.c&&(b.e.c=v),"/>"===i[0].substr(-2)&&++v,A=[];break;case"Row":"/"===i[1]||"/>"===i[0].substr(-2)?(y<b.s.r&&(b.s.r=y),y>b.e.r&&(b.e.r=y),"/>"===i[0].substr(-2)&&(m=Du(i[0])).Index&&(y=+m.Index-1),v=0,++y):(m=Du(i[0])).Index&&(y=+m.Index-1);break;case"Worksheet":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n;h.push(f),b.s.r<=b.e.r&&b.s.c<=b.e.c&&(d["!ref"]=gh(b)),S.length&&(d["!merges"]=S),u[f]=d}else b={s:{r:1e6,c:1e6},e:{r:0,c:0}},y=v=0,l.push([i[3],!1]),f=(n=Du(i[0])).Name,d={},S=[];break;case"Table":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n}else{if("/>"==i[0].slice(-2))break;Du(i[0]),l.push([i[3],!1]),D=[]}break;case"Style":"/"===i[1]?Nu(L,x,e):x=Du(i[0]);break;case"NumberFormat":x.nf=Du(i[0]).Format||"General";break;case"Column":if("Table"!==l[l.length-1][0])break;D[(a=Du(i[0])).Index-1||D.length]=a;for(var I=0;I<+a.Span;++I)D[D.length]=a;break;case"NamedRange":case"NamedCell":case"B":case"I":case"U":case"S":case"Sub":case"Sup":case"Span":case"Border":case"Alignment":case"Borders":break;case"Font":if("/>"===i[0].substr(-2))break;"/"===i[1]?w+=s.slice(_,i.index):_=i.index+i[0].length;break;case"Interior":if(!e.cellStyles)break;x.Interior=Du(i[0]);break;case"Protection":break;case"Author":case"Title":case"Description":case"Created":case"Keywords":case"Subject":case"Category":case"Company":case"LastAuthor":case"LastSaved":case"LastPrinted":case"Version":case"Revision":case"TotalTime":case"HyperlinkBase":case"Manager":if("/>"===i[0].substr(-2))break;"/"===i[1]?Te(C,i[3],s.slice(T,i.index)):T=i.index+i[0].length;break;case"Paragraphs":break;case"Styles":case"Workbook":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n}else l.push([i[3],!1]);break;case"Comment":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n;Fu(M),A.push(M)}else l.push([i[3],!1]),M={a:(n=Du(i[0])).Author};break;case"Name":break;case"ComponentOptions":case"DocumentProperties":case"CustomDocumentProperties":case"OfficeDocumentSettings":case"PivotTable":case"PivotCache":case"Names":case"MapInfo":case"PageBreaks":case"QueryTable":case"DataValidation":case"AutoFilter":case"Sorting":case"Schema":case"data":case"ConditionalFormatting":case"SmartTagType":case"SmartTags":case"ExcelWorkbook":case"WorkbookOptions":case"WorksheetOptions":if("/"===i[1]){if((n=l.pop())[0]!==i[3])throw"Bad state: "+n}else"/"!==i[0].charAt(i[0].length-2)&&l.push([i[3],!0]);break;default:var N=!0;switch(l[l.length-1][0]){case"OfficeDocumentSettings":switch(i[3]){case"AllowPNG":case"RemovePersonalInformation":case"DownloadComponents":case"LocationOfComponents":case"Colors":case"Color":case"Index":case"RGB":case"PixelsPerInch":case"TargetScreenSize":case"ReadOnlyRecommended":break;default:N=!1}break;case"ComponentOptions":switch(i[3]){case"Toolbar":case"HideOfficeLogo":case"SpreadsheetAutoFit":case"Label":case"Caption":case"MaxHeight":case"MaxWidth":case"NextSheetNumber":break;default:N=!1}break;case"ExcelWorkbook":switch(i[3]){case"WindowHeight":case"WindowWidth":case"WindowTopX":case"WindowTopY":case"TabRatio":case"ProtectStructure":case"ProtectWindows":case"ActiveSheet":case"DisplayInkNotes":case"FirstVisibleSheet":case"SupBook":case"SheetName":case"SheetIndex":case"SheetIndexFirst":case"SheetIndexLast":case"Dll":case"AcceptLabelsInFormulas":case"DoNotSaveLinkValues":case"Date1904":case"Iteration":case"MaxIterations":case"MaxChange":case"Path":case"Xct":case"Count":case"SelectedSheets":case"Calculation":case"Uncalced":case"StartupPrompt":case"Crn":case"ExternName":case"Formula":case"ColFirst":case"ColLast":case"WantAdvise":case"Boolean":case"Error":case"Text":case"OLE":case"NoAutoRecover":case"PublishObjects":case"DoNotCalculateBeforeSave":case"Number":case"RefModeR1C1":case"EmbedSaveSmartTags":break;default:N=!1}break;case"WorkbookOptions":switch(i[3]){case"OWCVersion":case"Height":case"Width":break;default:N=!1}break;case"WorksheetOptions":switch(i[3]){case"Unsynced":case"Visible":case"Print":case"Panes":case"Scale":case"Pane":case"Number":case"Layout":case"Header":case"Footer":case"PageSetup":case"PageMargins":case"Selected":case"ProtectObjects":case"EnableSelection":case"ProtectScenarios":case"ValidPrinterInfo":case"HorizontalResolution":case"VerticalResolution":case"NumberofCopies":case"ActiveRow":case"ActiveCol":case"ActivePane":case"TopRowVisible":case"TopRowBottomPane":case"LeftColumnVisible":case"LeftColumnRightPane":case"FitToPage":case"RangeSelection":case"PaperSizeIndex":case"PageLayoutZoom":case"PageBreakZoom":case"FilterOn":case"DoNotDisplayGridlines":case"SplitHorizontal":case"SplitVertical":case"FreezePanes":case"FrozenNoSplit":case"FitWidth":case"FitHeight":case"CommentsLayout":case"Zoom":case"LeftToRight":case"Gridlines":case"AllowSort":case"AllowFilter":case"AllowInsertRows":case"AllowDeleteRows":case"AllowInsertCols":case"AllowDeleteCols":case"AllowInsertHyperlinks":case"AllowFormatCells":case"AllowSizeCols":case"AllowSizeRows":case"NoSummaryRowsBelowDetail":case"TabColorIndex":case"DoNotDisplayHeadings":case"ShowPageLayoutZoom":case"NoSummaryColumnsRightDetail":case"BlackAndWhite":case"DoNotDisplayZeros":case"DisplayPageBreak":case"RowColHeadings":case"DoNotDisplayOutline":case"NoOrientation":case"AllowUsePivotTables":case"ZeroHeight":case"ViewableRange":case"Selection":case"ProtectContents":break;default:N=!1}break;case"PivotTable":case"PivotCache":switch(i[3]){case"ImmediateItemsOnDrop":case"ShowPageMultipleItemLabel":case"CompactRowIndent":case"Location":case"PivotField":case"Orientation":case"LayoutForm":case"LayoutSubtotalLocation":case"LayoutCompactRow":case"Position":case"PivotItem":case"DataType":case"DataField":case"SourceName":case"ParentField":case"PTLineItems":case"PTLineItem":case"CountOfSameItems":case"Item":case"ItemType":case"PTSource":case"CacheIndex":case"ConsolidationReference":case"FileName":case"Reference":case"NoColumnGrand":case"NoRowGrand":case"BlankLineAfterItems":case"Hidden":case"Subtotal":case"BaseField":case"MapChildItems":case"Function":case"RefreshOnFileOpen":case"PrintSetTitles":case"MergeLabels":case"DefaultVersion":case"RefreshName":case"RefreshDate":case"RefreshDateCopy":case"VersionLastRefresh":case"VersionLastUpdate":case"VersionUpdateableMin":case"VersionRefreshableMin":case"Calculation":break;default:N=!1}break;case"PageBreaks":switch(i[3]){case"ColBreaks":case"ColBreak":case"RowBreaks":case"RowBreak":case"ColStart":case"ColEnd":case"RowEnd":break;default:N=!1}break;case"AutoFilter":switch(i[3]){case"AutoFilterColumn":case"AutoFilterCondition":case"AutoFilterAnd":case"AutoFilterOr":break;default:N=!1}break;case"QueryTable":switch(i[3]){case"Id":case"AutoFormatFont":case"AutoFormatPattern":case"QuerySource":case"QueryType":case"EnableRedirections":case"RefreshedInXl9":case"URLString":case"HTMLTables":case"Connection":case"CommandText":case"RefreshInfo":case"NoTitles":case"NextId":case"ColumnInfo":case"OverwriteCells":case"DoNotPromptForFile":case"TextWizardSettings":case"Source":case"Number":case"Decimal":case"ThousandSeparator":case"TrailingMinusNumbers":case"FormatSettings":case"FieldType":case"Delimiters":case"Tab":case"Comma":case"AutoFormatName":case"VersionLastEdit":case"VersionLastRefresh":break;default:N=!1}break;case"Sorting":case"ConditionalFormatting":case"DataValidation":switch(i[3]){case"Range":case"Type":case"Min":case"Max":case"Sort":case"Descending":case"Order":case"CaseSensitive":case"Value":case"ErrorStyle":case"ErrorMessage":case"ErrorTitle":case"CellRangeList":case"InputMessage":case"InputTitle":case"ComboHide":case"InputHide":case"Condition":case"Qualifier":case"UseBlank":case"Value1":case"Value2":case"Format":break;default:N=!1}break;case"MapInfo":case"Schema":case"data":switch(i[3]){case"Map":case"Entry":case"Range":case"XPath":case"Field":case"XSDType":case"FilterOn":case"Aggregate":case"ElementType":case"AttributeType":break;case"schema":case"element":case"complexType":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:N=!1}break;case"SmartTags":break;default:N=!1}if(N)break;if(!l[l.length-1][1])throw"Unrecognized tag: "+i[3]+"|"+l.join("|");if("CustomDocumentProperties"===l[l.length-1][0]){if("/>"===i[0].substr(-2))break;"/"===i[1]?Ou(k,i,E,s.slice(T,i.index)):(E=i,T=i.index+i[0].length);break}if(e.WTF)throw"Unrecognized tag: "+i[3]+"|"+l.join("|")}var R={};return e.bookSheets||e.bookProps||(R.Sheets=u),R.SheetNames=h,R.SSF=g.get_table(),R.Props=C,R.Custprops=k,R}function Hu(t,e,i,n){var r=i,o=[],a=e.slice(e.l,e.l+r);if(n&&n.enc&&n.enc.insitu_decrypt)switch(t.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":break;default:if(0===a.length)break;n.enc.insitu_decrypt(a)}o.push(a),e.l+=r;for(var s=Xu[wt(e,e.l)];null!=s&&"Continue"===s.n;)r=wt(e,e.l+2),o.push(e.slice(e.l+4,e.l+4+r)),e.l+=4+r,s=Xu[wt(e,e.l)];var l=d(o);Mt(l,0);var c=0;l.lens=[];for(var u=0;u<o.length;++u)l.lens.push(c),c+=o[u].length;return t.f(l,l.length,n)}function Vu(t,e,i){if(t.XF)try{var n=t.XF.ifmt||0;"e"===t.t?t.w=t.w||$t[t.v]:0===n?"n"===t.t?(0|t.v)===t.v?t.w=g._general_int(t.v):t.w=g._general_num(t.v):t.w=g._general(t.v):t.w=g.format(n,t.v,{date1904:i||!1}),e.cellNF&&(t.z=g._table[n])}catch(t){if(e.WTF)throw t}}function ju(t,e,i){return{v:t,ixfe:e,t:i}}function Wu(t,e){var i,r,o,a,s,l,c,u,h={opts:{}},d={},f={},p={},m={},v=null,y=[],b="",L={},x={},w=[],_=!0,S=[],C=[],k=function(t){return t<8?le[t]:t<64&&C[t-8]||le[t]},T=function(t,e,n){_&&(n.cellStyles&&e.XF&&e.XF.data&&function(t,e){var i,n=e.XF.data;n&&n.patternType&&(e.s={},e.s.patternType=n.patternType,(i=Sl(k(n.icvFore)))&&(e.s.fgColor={rgb:i}),(i=Sl(k(n.icvBack)))&&(e.s.bgColor={rgb:i}))}(0,e),i=t,r=ph(t),m.s&&(t.r<m.s.r&&(m.s.r=t.r),t.c<m.s.c&&(m.s.c=t.c)),m.e&&(t.r+1>m.e.r&&(m.e.r=t.r+1),t.c+1>m.e.c&&(m.e.c=t.c+1)),n.sheetRows&&i.r>=n.sheetRows?_=!1:f[r]=e)},E={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:w,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,wtf:!1};e.password&&(E.password=e.password);var A=[],M=[],D=[[]],P=0,O=0,I=0;D.SheetNames=E.snames,D.sharedf=E.sharedf,D.arrayf=E.arrayf;var N="",R=0;for(E.codepage=1200,n(1200);t.l<t.length-1;){var F=t.l,B=t.read_shift(2);if(0===B&&"EOF"===N)break;var z=t.l===t.length?0:t.read_shift(2),H=Xu[B];if(H&&H.f){if(e.bookSheets&&"BoundSheet8"===N&&"BoundSheet8"!==H.n)break;if(N=H.n,2===H.r||12==H.r){var V=t.read_shift(2);if(z-=2,!E.enc&&V!==B)throw"rt mismatch";12==H.r&&(t.l+=10,z-=10)}var j;j="EOF"===H.n?H.f(t,z,E):Hu(H,t,z,E);var W=H.n;if(5===E.biff||2===E.biff)switch(W){case"Lbl":W="Label"}switch(W){case"Date1904":h.opts.Date1904=j;break;case"WriteProtect":h.opts.WriteProtect=!0;break;case"FilePass":if(E.enc||(t.l=0),E.enc=j,E.WTF&&console.error(j),!e.password)throw new Error("File is password-protected");if(0!==j.Type)throw new Error("Encryption scheme unsupported");if(!j.valid)throw new Error("Password is incorrect");break;case"WriteAccess":E.lastuser=j;break;case"FileSharing":break;case"CodePage":21010===j?j=1200:32769===j&&(j=1252),E.codepage=j,n(j);break;case"RRTabId":E.rrtabid=j;break;case"WinProtect":E.winlocked=j;break;case"Template":break;case"RefreshAll":h.opts.RefreshAll=j;break;case"BookBool":case"UsesELFs":break;case"MTRSettings":if(j[0]&&j[1])throw"Unsupported threads: "+j;break;case"CalcCount":h.opts.CalcCount=j;break;case"CalcDelta":h.opts.CalcDelta=j;break;case"CalcIter":h.opts.CalcIter=j;break;case"CalcMode":h.opts.CalcMode=j;break;case"CalcPrecision":h.opts.CalcPrecision=j;break;case"CalcSaveRecalc":h.opts.CalcSaveRecalc=j;break;case"CalcRefMode":E.CalcRefMode=j;break;case"Uncalced":break;case"ForceFullCalculation":h.opts.FullCalc=j;break;case"WsBool":break;case"XF":S.push(j);break;case"ExtSST":case"BookExt":case"RichTextStream":case"BkHim":break;case"SupBook":D[++P]=[j],O=0;break;case"ExternName":D[P][++O]=j;break;case"Index":break;case"Lbl":D[0][++I]=j;break;case"ExternSheet":D[P]=D[P].concat(j),O+=j.length;break;case"Protect":f["!protect"]=j;break;case"Password":0!==j&&E.WTF&&console.error("Password verifier: "+j);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":p[j.pos]=j,E.snames.push(j.name);break;case"EOF":if(--R)break;m.e&&(f["!range"]=m,m.e.r>0&&m.e.c>0&&(m.e.r--,m.e.c--,f["!ref"]=gh(m),m.e.r++,m.e.c++),A.length>0&&(f["!merges"]=A),M.length>0&&(f["!objects"]=M)),""===b?L=f:d[b]=f,f={};break;case"BOF":if(8!==E.biff||(1280===j.BIFFVer?E.biff=5:2===j.BIFFVer?E.biff=2:7===j.BIFFVer&&(E.biff=2)),R++)break;_=!0,f={},2===E.biff?(""===b&&(b="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}}):b=(p[F]||{name:""}).name,A=[],M=[];break;case"Number":case"BIFF2NUM":(c={ixfe:j.ixfe,XF:S[j.ixfe],v:j.val,t:"n"}).XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"BoolErr":(c={ixfe:j.ixfe,XF:S[j.ixfe],v:j.val,t:j.t}).XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"RK":(c={ixfe:j.ixfe,XF:S[j.ixfe],v:j.rknum,t:"n"}).XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"MulRk":for(var U=j.c;U<=j.C;++U){var Y=j.rkrec[U-j.c][0];(c={ixfe:Y,XF:S[Y],v:j.rkrec[U-j.c][1],t:"n"}).XF&&Vu(c,e,h.opts.Date1904),T({c:U,r:j.r},c,e)}break;case"Formula":switch(j.val){case"String":v=j;break;case"Array Formula":throw"Array Formula unsupported";default:(c={v:j.val,ixfe:j.cell.ixfe,t:j.tt}).XF=S[c.ixfe],e.cellFormula&&(c.f="="+Cc(j.formula,m,j.cell,D,E)),c.XF&&Vu(c,e,h.opts.Date1904),T(j.cell,c,e),v=j}break;case"String":v&&(v.val=j,(c={v:v.val,ixfe:v.cell.ixfe,t:"s"}).XF=S[c.ixfe],e.cellFormula&&(c.f="="+Cc(v.formula,m,v.cell,D,E)),c.XF&&Vu(c,e,h.opts.Date1904),T(v.cell,c,e),v=null);break;case"Array":w.push(j);break;case"ShrFmla":if(!_)break;x[ph(v.cell)]=j[0];break;case"LabelSst":(c=ju(y[j.isst].t,j.ixfe,"s")).XF=S[c.ixfe],c.XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"Label":case"BIFF2STR":(c=ju(j.val,j.ixfe,"s")).XF=S[c.ixfe],c.XF&&Vu(c,e,h.opts.Date1904),T({c:j.c,r:j.r},c,e);break;case"Dimensions":1===R&&(m=j);break;case"SST":y=j;break;case"Format":g.load(j[1],j[0]);break;case"MergeCells":A=A.concat(j);break;case"Obj":M[j.cmo[0]]=E.lastobj=j;break;case"TxO":E.lastobj.TxO=j;break;case"HLink":for(l=j[0].s.r;l<=j[0].e.r;++l)for(s=j[0].s.c;s<=j[0].e.c;++s)f[ph({c:s,r:l})]&&(f[ph({c:s,r:l})].l=j[1]);break;case"HLinkTooltip":for(l=j[0].s.r;l<=j[0].e.r;++l)for(s=j[0].s.c;s<=j[0].e.c;++s)f[ph({c:s,r:l})]&&(f[ph({c:s,r:l})].l.tooltip=j[1]);break;case"Note":if(E.biff<=5&&E.biff>=2)break;o=f[ph(j[0])];var G=M[j[2]];if(!o)break;o.c||(o.c=[]),a={a:j[1],t:G.TxO.t},o.c.push(a);break;default:switch(H.n){case"ClrtClient":break;case"XFExt":S[j.ixfe],j.ext.forEach(function(t){switch(t[0]){case 4:case 5:break;case 7:case 8:case 9:case 10:case 13:case 14:break;default:throw"bafuq"+t[0].toString(16)}});break;case"NameCmt":case"Header":case"Footer":case"HCenter":case"VCenter":case"Pls":case"Setup":case"DefColWidth":case"GCW":case"LHRecord":case"ColInfo":case"Row":case"DBCell":case"MulBlank":case"EntExU2":case"SxView":case"Sxvd":case"SXVI":case"SXVDEx":case"SxIvd":case"SXDI":case"SXLI":case"SXEx":case"QsiSXTag":case"Selection":case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":case"Blank":break;case"Country":u=j;break;case"RecalcId":break;case"DefaultRowHeight":case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":case"Font":case"XFCRC":case"Style":case"StyleExt":break;case"Palette":C=j;break;case"Theme":case"ScenarioProtect":case"ObjProtect":case"CondFmt12":case"Table":case"TableStyles":case"TableStyle":case"TableStyleElement":case"SXStreamID":case"SXVS":case"DConRef":case"SXAddl":case"DConBin":case"DConName":case"SXPI":case"SxFormat":case"SxSelect":case"SxRule":case"SxFilt":case"SxItm":case"SxDXF":case"ScenMan":case"DCon":case"CellWatch":case"PrintRowCol":case"PrintGrid":case"PrintSize":case"XCT":case"CRN":case"Scl":case"SheetExt":case"SheetExtOptional":case"ObNoMacros":case"ObProj":case"CodeName":case"GUIDTypeLib":case"WOpt":case"PhoneticInfo":case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":case"DConn":case"DbOrParamQry":case"DBQueryExt":case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":case"Excel9File":case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":case"BuiltInFnGroupCount":case"Window1":case"Window2":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":case"Pane":break;default:switch(H.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":case"Surf":case"AxisParent":case"Pos":case"ValueRange":case"SXViewEx9":case"SXViewLink":case"PivotChartBits":case"SBaseRef":case"TextPropsStream":case"LnExt":case"MkrExt":case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":case"TxtQry":case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":case"AutoFilter12":case"DropDownObjIds":case"Sort":case"SortData":case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":case"ImData":break;case"WebPub":case"AutoWebPub":case"RightMargin":case"LeftMargin":case"TopMargin":case"BottomMargin":case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":case"ExternCount":case"RString":break;case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;default:switch(H.n){case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;default:if(e.WTF)throw"Unrecognized Record "+H.n}}}}}else t.l+=z}var X=2===E.biff?["Sheet1"]:Object.keys(p).sort(function(t,e){return Number(t)-Number(e)}).map(function(t){return p[t].name});X.slice();return h.Directory=X,h.SheetNames=X,e.bookSheets||(h.Sheets=d),h.Preamble=L,h.Strings=y,h.SSF=g.get_table(),E.enc&&(h.Encryption=E.enc),h.Metadata={},void 0!==u&&(h.Metadata.Country=u),h}function Uu(t,e){var n,r,o,a;if(e||(e={}),$u(e),i(),t.find?(n=t.find("!CompObj"),t.find("!SummaryInformation"),r=t.find("/Workbook")):(Mt(t,0),r={content:t}),r||(r=t.find("/Book")),n&&(o=function(t){var e,i={},n=t.content,r=28;switch(e=dt(n,r),r+=4+St(n,r),i.UserType=e,e=St(n,r),r+=4,e){case 0:break;case 4294967295:case 4294967294:r+=4;break;default:if(e>400)throw new Error("Unsupported Clipboard: "+e.toString(16));r+=e}if(r+=0===(e=dt(n,r)).length?0:5+e.length,i.Reserved1=e,1907550708!==(e=St(n,r)))return i;throw"Unsupported Unicode Extension"}(n)),e.bookProps&&!e.bookSheets)a={};else{if(!r)throw new Error("Cannot find Workbook stream");a=Wu(r.content,e,r.find)}t.find&&function(t){var e=t.find("!DocumentSummaryInformation");if(e)try{t.DocSummary=ze(e,ie)}catch(t){}var i=t.find("!SummaryInformation");if(i)try{t.Summary=ze(i,ne)}catch(t){}}(t);var s={};for(var l in t.Summary)s[l]=t.Summary[l];for(l in t.DocSummary)s[l]=t.DocSummary[l];return a.Props=a.Custprops=s,e.bookFiles&&(a.cfb=t),a.CompObjP=o,a}var Yu={0:{n:"BrtRowHdr",f:function(t,e){var i=[];return i.r=t.read_shift(4),t.l+=e-4,i}},1:{n:"BrtCellBlank",f:function(t,e){return[Ht(t)]}},2:{n:"BrtCellRk",f:function(t,e){return[Ht(t),Gt(t),"n"]}},3:{n:"BrtCellError",f:function(t,e){return[Ht(t),t.read_shift(1),"e"]}},4:{n:"BrtCellBool",f:function(t,e){return[Ht(t),t.read_shift(1),"b"]}},5:{n:"BrtCellReal",f:function(t,e){return[Ht(t),qt(t),"n"]}},6:{n:"BrtCellSt",f:function(t,e){return[Ht(t),jt(t),"str"]}},7:{n:"BrtCellIsst",f:function(t,e){return[Ht(t),t.read_shift(4),"s"]}},8:{n:"BrtFmlaString",f:function(t,e,i){var n=t.l,r=[Ht(t),jt(t),"str"];i.cellFormula?kc(t,n+e-t.l):t.l=n+e;return r}},9:{n:"BrtFmlaNum",f:function(t,e,i){var n=[Ht(t),qt(t),"n"];i.cellFormula?(kc(t,e-16),n[3]=""):t.l+=e-16;return n}},10:{n:"BrtFmlaBool",f:function(t,e,i){var n=[Ht(t),t.read_shift(1),"b"];i.cellFormula?(kc(t,e-9),n[3]=""):t.l+=e-9;return n}},11:{n:"BrtFmlaError",f:function(t,e,i){var n=[Ht(t),t.read_shift(1),"e"];i.cellFormula?(kc(t,e-9),n[3]=""):t.l+=e-9;return n}},16:{n:"BrtFRTArchID$",f:function(t,e){var i={};return t.read_shift(4),i.ArchID=t.read_shift(4),t.l+=e-8,i}},19:{n:"BrtSSTItem",f:zt},20:{n:"BrtPCDIMissing",f:Dt},21:{n:"BrtPCDINumber",f:Dt},22:{n:"BrtPCDIBoolean",f:Dt},23:{n:"BrtPCDIError",f:Dt},24:{n:"BrtPCDIString",f:Dt},25:{n:"BrtPCDIDatetime",f:Dt},26:{n:"BrtPCDIIndex",f:Dt},27:{n:"BrtPCDIAMissing",f:Dt},28:{n:"BrtPCDIANumber",f:Dt},29:{n:"BrtPCDIABoolean",f:Dt},30:{n:"BrtPCDIAError",f:Dt},31:{n:"BrtPCDIAString",f:Dt},32:{n:"BrtPCDIADatetime",f:Dt},33:{n:"BrtPCRRecord",f:Dt},34:{n:"BrtPCRRecordDt",f:Dt},35:{n:"BrtFRTBegin",f:Dt},36:{n:"BrtFRTEnd",f:Dt},37:{n:"BrtACBegin",f:Dt},38:{n:"BrtACEnd",f:Dt},39:{n:"BrtName",f:Dt},40:{n:"BrtIndexRowBlock",f:Dt},42:{n:"BrtIndexBlock",f:Dt},43:{n:"BrtFont",f:function(t,e){var i={flags:{}};return i.dyHeight=t.read_shift(2),i.grbit=function(t,e){var i=t.read_shift(1);return t.l++,{fItalic:2&i,fStrikeout:8&i,fOutline:16&i,fShadow:32&i,fCondense:64&i,fExtend:128&i}}(t),i.bls=t.read_shift(2),i.sss=t.read_shift(2),i.uls=t.read_shift(1),i.bFamily=t.read_shift(1),i.bCharSet=t.read_shift(1),t.l++,i.brtColor=function(t,e){var i={},n=t.read_shift(1);i.fValidRGB=1&n,i.xColorType=n>>>1,i.index=t.read_shift(1),i.nTintAndShade=t.read_shift(2,"i"),i.bRed=t.read_shift(1),i.bGreen=t.read_shift(1),i.bBlue=t.read_shift(1),i.bAlpha=t.read_shift(1)}(t),i.bFontScheme=t.read_shift(1),i.name=jt(t),i.flags.Bold=700===i.bls,i.flags.Italic=i.grbit.fItalic,i.flags.Strikeout=i.grbit.fStrikeout,i.flags.Outline=i.grbit.fOutline,i.flags.Shadow=i.grbit.fShadow,i.flags.Condense=i.grbit.fCondense,i.flags.Extend=i.grbit.fExtend,i.flags.Sub=2&i.sss,i.flags.Sup=1&i.sss,i}},44:{n:"BrtFmt",f:function(t,e){return[t.read_shift(2),jt(t)]}},45:{n:"BrtFill",f:Dt},46:{n:"BrtBorder",f:Dt},47:{n:"BrtXF",f:function(t,e){var i=t.read_shift(2),n=t.read_shift(2);return Dt(t,e-4),{ixfe:i,ifmt:n}}},48:{n:"BrtStyle",f:Dt},49:{n:"BrtCellMeta",f:Dt},50:{n:"BrtValueMeta",f:Dt},51:{n:"BrtMdb",f:Dt},52:{n:"BrtBeginFmd",f:Dt},53:{n:"BrtEndFmd",f:Dt},54:{n:"BrtBeginMdx",f:Dt},55:{n:"BrtEndMdx",f:Dt},56:{n:"BrtBeginMdxTuple",f:Dt},57:{n:"BrtEndMdxTuple",f:Dt},58:{n:"BrtMdxMbrIstr",f:Dt},59:{n:"BrtStr",f:Dt},60:{n:"BrtColInfo",f:Dt},62:{n:"BrtCellRString",f:Dt},63:{n:"BrtCalcChainItem$",f:function(t,e){var i={};i.i=t.read_shift(4);var n={};n.r=t.read_shift(4),n.c=t.read_shift(4),i.r=ph(n);var r=t.read_shift(1);return 2&r&&(i.l="1"),8&r&&(i.a="1"),i}},64:{n:"BrtDVal",f:Dt},65:{n:"BrtSxvcellNum",f:Dt},66:{n:"BrtSxvcellStr",f:Dt},67:{n:"BrtSxvcellBool",f:Dt},68:{n:"BrtSxvcellErr",f:Dt},69:{n:"BrtSxvcellDate",f:Dt},70:{n:"BrtSxvcellNil",f:Dt},128:{n:"BrtFileVersion",f:Dt},129:{n:"BrtBeginSheet",f:Dt},130:{n:"BrtEndSheet",f:Dt},131:{n:"BrtBeginBook",f:Dt,p:0},132:{n:"BrtEndBook",f:Dt},133:{n:"BrtBeginWsViews",f:Dt},134:{n:"BrtEndWsViews",f:Dt},135:{n:"BrtBeginBookViews",f:Dt},136:{n:"BrtEndBookViews",f:Dt},137:{n:"BrtBeginWsView",f:Dt},138:{n:"BrtEndWsView",f:Dt},139:{n:"BrtBeginCsViews",f:Dt},140:{n:"BrtEndCsViews",f:Dt},141:{n:"BrtBeginCsView",f:Dt},142:{n:"BrtEndCsView",f:Dt},143:{n:"BrtBeginBundleShs",f:Dt},144:{n:"BrtEndBundleShs",f:Dt},145:{n:"BrtBeginSheetData",f:Dt},146:{n:"BrtEndSheetData",f:Dt},147:{n:"BrtWsProp",f:function(t,e){var i={};return t.l+=19,i.name=function(t,e){return jt(t)}(t),i}},148:{n:"BrtWsDim",f:Jc,p:16},151:{n:"BrtPane",f:Dt},152:{n:"BrtSel",f:Dt},153:{n:"BrtWbProp",f:function(t,e){return t.read_shift(4),[t.read_shift(4),e>8?jt(t):""]}},154:{n:"BrtWbFactoid",f:Dt},155:{n:"BrtFileRecover",f:Dt},156:{n:"BrtBundleSh",f:function(t,e){var i={};return i.hsState=t.read_shift(4),i.iTabID=t.read_shift(4),i.strRelID=Ut(t,e-8),i.name=jt(t),i}},157:{n:"BrtCalcProp",f:Dt},158:{n:"BrtBookView",f:Dt},159:{n:"BrtBeginSst",f:function(t,e){return[t.read_shift(4),t.read_shift(4)]}},160:{n:"BrtEndSst",f:Dt},161:{n:"BrtBeginAFilter",f:Dt},162:{n:"BrtEndAFilter",f:Dt},163:{n:"BrtBeginFilterColumn",f:Dt},164:{n:"BrtEndFilterColumn",f:Dt},165:{n:"BrtBeginFilters",f:Dt},166:{n:"BrtEndFilters",f:Dt},167:{n:"BrtFilter",f:Dt},168:{n:"BrtColorFilter",f:Dt},169:{n:"BrtIconFilter",f:Dt},170:{n:"BrtTop10Filter",f:Dt},171:{n:"BrtDynamicFilter",f:Dt},172:{n:"BrtBeginCustomFilters",f:Dt},173:{n:"BrtEndCustomFilters",f:Dt},174:{n:"BrtCustomFilter",f:Dt},175:{n:"BrtAFilterDateGroupItem",f:Dt},176:{n:"BrtMergeCell",f:iu},177:{n:"BrtBeginMergeCells",f:Dt},178:{n:"BrtEndMergeCells",f:Dt},179:{n:"BrtBeginPivotCacheDef",f:Dt},180:{n:"BrtEndPivotCacheDef",f:Dt},181:{n:"BrtBeginPCDFields",f:Dt},182:{n:"BrtEndPCDFields",f:Dt},183:{n:"BrtBeginPCDField",f:Dt},184:{n:"BrtEndPCDField",f:Dt},185:{n:"BrtBeginPCDSource",f:Dt},186:{n:"BrtEndPCDSource",f:Dt},187:{n:"BrtBeginPCDSRange",f:Dt},188:{n:"BrtEndPCDSRange",f:Dt},189:{n:"BrtBeginPCDFAtbl",f:Dt},190:{n:"BrtEndPCDFAtbl",f:Dt},191:{n:"BrtBeginPCDIRun",f:Dt},192:{n:"BrtEndPCDIRun",f:Dt},193:{n:"BrtBeginPivotCacheRecords",f:Dt},194:{n:"BrtEndPivotCacheRecords",f:Dt},195:{n:"BrtBeginPCDHierarchies",f:Dt},196:{n:"BrtEndPCDHierarchies",f:Dt},197:{n:"BrtBeginPCDHierarchy",f:Dt},198:{n:"BrtEndPCDHierarchy",f:Dt},199:{n:"BrtBeginPCDHFieldsUsage",f:Dt},200:{n:"BrtEndPCDHFieldsUsage",f:Dt},201:{n:"BrtBeginExtConnection",f:Dt},202:{n:"BrtEndExtConnection",f:Dt},203:{n:"BrtBeginECDbProps",f:Dt},204:{n:"BrtEndECDbProps",f:Dt},205:{n:"BrtBeginECOlapProps",f:Dt},206:{n:"BrtEndECOlapProps",f:Dt},207:{n:"BrtBeginPCDSConsol",f:Dt},208:{n:"BrtEndPCDSConsol",f:Dt},209:{n:"BrtBeginPCDSCPages",f:Dt},210:{n:"BrtEndPCDSCPages",f:Dt},211:{n:"BrtBeginPCDSCPage",f:Dt},212:{n:"BrtEndPCDSCPage",f:Dt},213:{n:"BrtBeginPCDSCPItem",f:Dt},214:{n:"BrtEndPCDSCPItem",f:Dt},215:{n:"BrtBeginPCDSCSets",f:Dt},216:{n:"BrtEndPCDSCSets",f:Dt},217:{n:"BrtBeginPCDSCSet",f:Dt},218:{n:"BrtEndPCDSCSet",f:Dt},219:{n:"BrtBeginPCDFGroup",f:Dt},220:{n:"BrtEndPCDFGroup",f:Dt},221:{n:"BrtBeginPCDFGItems",f:Dt},222:{n:"BrtEndPCDFGItems",f:Dt},223:{n:"BrtBeginPCDFGRange",f:Dt},224:{n:"BrtEndPCDFGRange",f:Dt},225:{n:"BrtBeginPCDFGDiscrete",f:Dt},226:{n:"BrtEndPCDFGDiscrete",f:Dt},227:{n:"BrtBeginPCDSDTupleCache",f:Dt},228:{n:"BrtEndPCDSDTupleCache",f:Dt},229:{n:"BrtBeginPCDSDTCEntries",f:Dt},230:{n:"BrtEndPCDSDTCEntries",f:Dt},231:{n:"BrtBeginPCDSDTCEMembers",f:Dt},232:{n:"BrtEndPCDSDTCEMembers",f:Dt},233:{n:"BrtBeginPCDSDTCEMember",f:Dt},234:{n:"BrtEndPCDSDTCEMember",f:Dt},235:{n:"BrtBeginPCDSDTCQueries",f:Dt},236:{n:"BrtEndPCDSDTCQueries",f:Dt},237:{n:"BrtBeginPCDSDTCQuery",f:Dt},238:{n:"BrtEndPCDSDTCQuery",f:Dt},239:{n:"BrtBeginPCDSDTCSets",f:Dt},240:{n:"BrtEndPCDSDTCSets",f:Dt},241:{n:"BrtBeginPCDSDTCSet",f:Dt},242:{n:"BrtEndPCDSDTCSet",f:Dt},243:{n:"BrtBeginPCDCalcItems",f:Dt},244:{n:"BrtEndPCDCalcItems",f:Dt},245:{n:"BrtBeginPCDCalcItem",f:Dt},246:{n:"BrtEndPCDCalcItem",f:Dt},247:{n:"BrtBeginPRule",f:Dt},248:{n:"BrtEndPRule",f:Dt},249:{n:"BrtBeginPRFilters",f:Dt},250:{n:"BrtEndPRFilters",f:Dt},251:{n:"BrtBeginPRFilter",f:Dt},252:{n:"BrtEndPRFilter",f:Dt},253:{n:"BrtBeginPNames",f:Dt},254:{n:"BrtEndPNames",f:Dt},255:{n:"BrtBeginPName",f:Dt},256:{n:"BrtEndPName",f:Dt},257:{n:"BrtBeginPNPairs",f:Dt},258:{n:"BrtEndPNPairs",f:Dt},259:{n:"BrtBeginPNPair",f:Dt},260:{n:"BrtEndPNPair",f:Dt},261:{n:"BrtBeginECWebProps",f:Dt},262:{n:"BrtEndECWebProps",f:Dt},263:{n:"BrtBeginEcWpTables",f:Dt},264:{n:"BrtEndECWPTables",f:Dt},265:{n:"BrtBeginECParams",f:Dt},266:{n:"BrtEndECParams",f:Dt},267:{n:"BrtBeginECParam",f:Dt},268:{n:"BrtEndECParam",f:Dt},269:{n:"BrtBeginPCDKPIs",f:Dt},270:{n:"BrtEndPCDKPIs",f:Dt},271:{n:"BrtBeginPCDKPI",f:Dt},272:{n:"BrtEndPCDKPI",f:Dt},273:{n:"BrtBeginDims",f:Dt},274:{n:"BrtEndDims",f:Dt},275:{n:"BrtBeginDim",f:Dt},276:{n:"BrtEndDim",f:Dt},277:{n:"BrtIndexPartEnd",f:Dt},278:{n:"BrtBeginStyleSheet",f:Dt},279:{n:"BrtEndStyleSheet",f:Dt},280:{n:"BrtBeginSXView",f:Dt},281:{n:"BrtEndSXVI",f:Dt},282:{n:"BrtBeginSXVI",f:Dt},283:{n:"BrtBeginSXVIs",f:Dt},284:{n:"BrtEndSXVIs",f:Dt},285:{n:"BrtBeginSXVD",f:Dt},286:{n:"BrtEndSXVD",f:Dt},287:{n:"BrtBeginSXVDs",f:Dt},288:{n:"BrtEndSXVDs",f:Dt},289:{n:"BrtBeginSXPI",f:Dt},290:{n:"BrtEndSXPI",f:Dt},291:{n:"BrtBeginSXPIs",f:Dt},292:{n:"BrtEndSXPIs",f:Dt},293:{n:"BrtBeginSXDI",f:Dt},294:{n:"BrtEndSXDI",f:Dt},295:{n:"BrtBeginSXDIs",f:Dt},296:{n:"BrtEndSXDIs",f:Dt},297:{n:"BrtBeginSXLI",f:Dt},298:{n:"BrtEndSXLI",f:Dt},299:{n:"BrtBeginSXLIRws",f:Dt},300:{n:"BrtEndSXLIRws",f:Dt},301:{n:"BrtBeginSXLICols",f:Dt},302:{n:"BrtEndSXLICols",f:Dt},303:{n:"BrtBeginSXFormat",f:Dt},304:{n:"BrtEndSXFormat",f:Dt},305:{n:"BrtBeginSXFormats",f:Dt},306:{n:"BrtEndSxFormats",f:Dt},307:{n:"BrtBeginSxSelect",f:Dt},308:{n:"BrtEndSxSelect",f:Dt},309:{n:"BrtBeginISXVDRws",f:Dt},310:{n:"BrtEndISXVDRws",f:Dt},311:{n:"BrtBeginISXVDCols",f:Dt},312:{n:"BrtEndISXVDCols",f:Dt},313:{n:"BrtEndSXLocation",f:Dt},314:{n:"BrtBeginSXLocation",f:Dt},315:{n:"BrtEndSXView",f:Dt},316:{n:"BrtBeginSXTHs",f:Dt},317:{n:"BrtEndSXTHs",f:Dt},318:{n:"BrtBeginSXTH",f:Dt},319:{n:"BrtEndSXTH",f:Dt},320:{n:"BrtBeginISXTHRws",f:Dt},321:{n:"BrtEndISXTHRws",f:Dt},322:{n:"BrtBeginISXTHCols",f:Dt},323:{n:"BrtEndISXTHCols",f:Dt},324:{n:"BrtBeginSXTDMPS",f:Dt},325:{n:"BrtEndSXTDMPs",f:Dt},326:{n:"BrtBeginSXTDMP",f:Dt},327:{n:"BrtEndSXTDMP",f:Dt},328:{n:"BrtBeginSXTHItems",f:Dt},329:{n:"BrtEndSXTHItems",f:Dt},330:{n:"BrtBeginSXTHItem",f:Dt},331:{n:"BrtEndSXTHItem",f:Dt},332:{n:"BrtBeginMetadata",f:Dt},333:{n:"BrtEndMetadata",f:Dt},334:{n:"BrtBeginEsmdtinfo",f:Dt},335:{n:"BrtMdtinfo",f:Dt},336:{n:"BrtEndEsmdtinfo",f:Dt},337:{n:"BrtBeginEsmdb",f:Dt},338:{n:"BrtEndEsmdb",f:Dt},339:{n:"BrtBeginEsfmd",f:Dt},340:{n:"BrtEndEsfmd",f:Dt},341:{n:"BrtBeginSingleCells",f:Dt},342:{n:"BrtEndSingleCells",f:Dt},343:{n:"BrtBeginList",f:Dt},344:{n:"BrtEndList",f:Dt},345:{n:"BrtBeginListCols",f:Dt},346:{n:"BrtEndListCols",f:Dt},347:{n:"BrtBeginListCol",f:Dt},348:{n:"BrtEndListCol",f:Dt},349:{n:"BrtBeginListXmlCPr",f:Dt},350:{n:"BrtEndListXmlCPr",f:Dt},351:{n:"BrtListCCFmla",f:Dt},352:{n:"BrtListTrFmla",f:Dt},353:{n:"BrtBeginExternals",f:Dt},354:{n:"BrtEndExternals",f:Dt},355:{n:"BrtSupBookSrc",f:Dt},357:{n:"BrtSupSelf",f:Dt},358:{n:"BrtSupSame",f:Dt},359:{n:"BrtSupTabs",f:Dt},360:{n:"BrtBeginSupBook",f:Dt},361:{n:"BrtPlaceholderName",f:Dt},362:{n:"BrtExternSheet",f:Dt},363:{n:"BrtExternTableStart",f:Dt},364:{n:"BrtExternTableEnd",f:Dt},366:{n:"BrtExternRowHdr",f:Dt},367:{n:"BrtExternCellBlank",f:Dt},368:{n:"BrtExternCellReal",f:Dt},369:{n:"BrtExternCellBool",f:Dt},370:{n:"BrtExternCellError",f:Dt},371:{n:"BrtExternCellString",f:Dt},372:{n:"BrtBeginEsmdx",f:Dt},373:{n:"BrtEndEsmdx",f:Dt},374:{n:"BrtBeginMdxSet",f:Dt},375:{n:"BrtEndMdxSet",f:Dt},376:{n:"BrtBeginMdxMbrProp",f:Dt},377:{n:"BrtEndMdxMbrProp",f:Dt},378:{n:"BrtBeginMdxKPI",f:Dt},379:{n:"BrtEndMdxKPI",f:Dt},380:{n:"BrtBeginEsstr",f:Dt},381:{n:"BrtEndEsstr",f:Dt},382:{n:"BrtBeginPRFItem",f:Dt},383:{n:"BrtEndPRFItem",f:Dt},384:{n:"BrtBeginPivotCacheIDs",f:Dt},385:{n:"BrtEndPivotCacheIDs",f:Dt},386:{n:"BrtBeginPivotCacheID",f:Dt},387:{n:"BrtEndPivotCacheID",f:Dt},388:{n:"BrtBeginISXVIs",f:Dt},389:{n:"BrtEndISXVIs",f:Dt},390:{n:"BrtBeginColInfos",f:Dt},391:{n:"BrtEndColInfos",f:Dt},392:{n:"BrtBeginRwBrk",f:Dt},393:{n:"BrtEndRwBrk",f:Dt},394:{n:"BrtBeginColBrk",f:Dt},395:{n:"BrtEndColBrk",f:Dt},396:{n:"BrtBrk",f:Dt},397:{n:"BrtUserBookView",f:Dt},398:{n:"BrtInfo",f:Dt},399:{n:"BrtCUsr",f:Dt},400:{n:"BrtUsr",f:Dt},401:{n:"BrtBeginUsers",f:Dt},403:{n:"BrtEOF",f:Dt},404:{n:"BrtUCR",f:Dt},405:{n:"BrtRRInsDel",f:Dt},406:{n:"BrtRREndInsDel",f:Dt},407:{n:"BrtRRMove",f:Dt},408:{n:"BrtRREndMove",f:Dt},409:{n:"BrtRRChgCell",f:Dt},410:{n:"BrtRREndChgCell",f:Dt},411:{n:"BrtRRHeader",f:Dt},412:{n:"BrtRRUserView",f:Dt},413:{n:"BrtRRRenSheet",f:Dt},414:{n:"BrtRRInsertSh",f:Dt},415:{n:"BrtRRDefName",f:Dt},416:{n:"BrtRRNote",f:Dt},417:{n:"BrtRRConflict",f:Dt},418:{n:"BrtRRTQSIF",f:Dt},419:{n:"BrtRRFormat",f:Dt},420:{n:"BrtRREndFormat",f:Dt},421:{n:"BrtRRAutoFmt",f:Dt},422:{n:"BrtBeginUserShViews",f:Dt},423:{n:"BrtBeginUserShView",f:Dt},424:{n:"BrtEndUserShView",f:Dt},425:{n:"BrtEndUserShViews",f:Dt},426:{n:"BrtArrFmla",f:Dt},427:{n:"BrtShrFmla",f:Dt},428:{n:"BrtTable",f:Dt},429:{n:"BrtBeginExtConnections",f:Dt},430:{n:"BrtEndExtConnections",f:Dt},431:{n:"BrtBeginPCDCalcMems",f:Dt},432:{n:"BrtEndPCDCalcMems",f:Dt},433:{n:"BrtBeginPCDCalcMem",f:Dt},434:{n:"BrtEndPCDCalcMem",f:Dt},435:{n:"BrtBeginPCDHGLevels",f:Dt},436:{n:"BrtEndPCDHGLevels",f:Dt},437:{n:"BrtBeginPCDHGLevel",f:Dt},438:{n:"BrtEndPCDHGLevel",f:Dt},439:{n:"BrtBeginPCDHGLGroups",f:Dt},440:{n:"BrtEndPCDHGLGroups",f:Dt},441:{n:"BrtBeginPCDHGLGroup",f:Dt},442:{n:"BrtEndPCDHGLGroup",f:Dt},443:{n:"BrtBeginPCDHGLGMembers",f:Dt},444:{n:"BrtEndPCDHGLGMembers",f:Dt},445:{n:"BrtBeginPCDHGLGMember",f:Dt},446:{n:"BrtEndPCDHGLGMember",f:Dt},447:{n:"BrtBeginQSI",f:Dt},448:{n:"BrtEndQSI",f:Dt},449:{n:"BrtBeginQSIR",f:Dt},450:{n:"BrtEndQSIR",f:Dt},451:{n:"BrtBeginDeletedNames",f:Dt},452:{n:"BrtEndDeletedNames",f:Dt},453:{n:"BrtBeginDeletedName",f:Dt},454:{n:"BrtEndDeletedName",f:Dt},455:{n:"BrtBeginQSIFs",f:Dt},456:{n:"BrtEndQSIFs",f:Dt},457:{n:"BrtBeginQSIF",f:Dt},458:{n:"BrtEndQSIF",f:Dt},459:{n:"BrtBeginAutoSortScope",f:Dt},460:{n:"BrtEndAutoSortScope",f:Dt},461:{n:"BrtBeginConditionalFormatting",f:Dt},462:{n:"BrtEndConditionalFormatting",f:Dt},463:{n:"BrtBeginCFRule",f:Dt},464:{n:"BrtEndCFRule",f:Dt},465:{n:"BrtBeginIconSet",f:Dt},466:{n:"BrtEndIconSet",f:Dt},467:{n:"BrtBeginDatabar",f:Dt},468:{n:"BrtEndDatabar",f:Dt},469:{n:"BrtBeginColorScale",f:Dt},470:{n:"BrtEndColorScale",f:Dt},471:{n:"BrtCFVO",f:Dt},472:{n:"BrtExternValueMeta",f:Dt},473:{n:"BrtBeginColorPalette",f:Dt},474:{n:"BrtEndColorPalette",f:Dt},475:{n:"BrtIndexedColor",f:Dt},476:{n:"BrtMargins",f:Dt},477:{n:"BrtPrintOptions",f:Dt},478:{n:"BrtPageSetup",f:Dt},479:{n:"BrtBeginHeaderFooter",f:Dt},480:{n:"BrtEndHeaderFooter",f:Dt},481:{n:"BrtBeginSXCrtFormat",f:Dt},482:{n:"BrtEndSXCrtFormat",f:Dt},483:{n:"BrtBeginSXCrtFormats",f:Dt},484:{n:"BrtEndSXCrtFormats",f:Dt},485:{n:"BrtWsFmtInfo",f:Dt},486:{n:"BrtBeginMgs",f:Dt},487:{n:"BrtEndMGs",f:Dt},488:{n:"BrtBeginMGMaps",f:Dt},489:{n:"BrtEndMGMaps",f:Dt},490:{n:"BrtBeginMG",f:Dt},491:{n:"BrtEndMG",f:Dt},492:{n:"BrtBeginMap",f:Dt},493:{n:"BrtEndMap",f:Dt},494:{n:"BrtHLink",f:function(t,e,i){var n=t.l+e,r=Xt(t),o=Vt(t),a=jt(t),s=jt(t),l=jt(t);return t.l=n,{rfx:r,relId:o,loc:a,tooltip:s,display:l}}},495:{n:"BrtBeginDCon",f:Dt},496:{n:"BrtEndDCon",f:Dt},497:{n:"BrtBeginDRefs",f:Dt},498:{n:"BrtEndDRefs",f:Dt},499:{n:"BrtDRef",f:Dt},500:{n:"BrtBeginScenMan",f:Dt},501:{n:"BrtEndScenMan",f:Dt},502:{n:"BrtBeginSct",f:Dt},503:{n:"BrtEndSct",f:Dt},504:{n:"BrtSlc",f:Dt},505:{n:"BrtBeginDXFs",f:Dt},506:{n:"BrtEndDXFs",f:Dt},507:{n:"BrtDXF",f:Dt},508:{n:"BrtBeginTableStyles",f:Dt},509:{n:"BrtEndTableStyles",f:Dt},510:{n:"BrtBeginTableStyle",f:Dt},511:{n:"BrtEndTableStyle",f:Dt},512:{n:"BrtTableStyleElement",f:Dt},513:{n:"BrtTableStyleClient",f:Dt},514:{n:"BrtBeginVolDeps",f:Dt},515:{n:"BrtEndVolDeps",f:Dt},516:{n:"BrtBeginVolType",f:Dt},517:{n:"BrtEndVolType",f:Dt},518:{n:"BrtBeginVolMain",f:Dt},519:{n:"BrtEndVolMain",f:Dt},520:{n:"BrtBeginVolTopic",f:Dt},521:{n:"BrtEndVolTopic",f:Dt},522:{n:"BrtVolSubtopic",f:Dt},523:{n:"BrtVolRef",f:Dt},524:{n:"BrtVolNum",f:Dt},525:{n:"BrtVolErr",f:Dt},526:{n:"BrtVolStr",f:Dt},527:{n:"BrtVolBool",f:Dt},528:{n:"BrtBeginCalcChain$",f:Dt},529:{n:"BrtEndCalcChain$",f:Dt},530:{n:"BrtBeginSortState",f:Dt},531:{n:"BrtEndSortState",f:Dt},532:{n:"BrtBeginSortCond",f:Dt},533:{n:"BrtEndSortCond",f:Dt},534:{n:"BrtBookProtection",f:Dt},535:{n:"BrtSheetProtection",f:Dt},536:{n:"BrtRangeProtection",f:Dt},537:{n:"BrtPhoneticInfo",f:Dt},538:{n:"BrtBeginECTxtWiz",f:Dt},539:{n:"BrtEndECTxtWiz",f:Dt},540:{n:"BrtBeginECTWFldInfoLst",f:Dt},541:{n:"BrtEndECTWFldInfoLst",f:Dt},542:{n:"BrtBeginECTwFldInfo",f:Dt},548:{n:"BrtFileSharing",f:Dt},549:{n:"BrtOleSize",f:Dt},550:{n:"BrtDrawing",f:Dt},551:{n:"BrtLegacyDrawing",f:Dt},552:{n:"BrtLegacyDrawingHF",f:Dt},553:{n:"BrtWebOpt",f:Dt},554:{n:"BrtBeginWebPubItems",f:Dt},555:{n:"BrtEndWebPubItems",f:Dt},556:{n:"BrtBeginWebPubItem",f:Dt},557:{n:"BrtEndWebPubItem",f:Dt},558:{n:"BrtBeginSXCondFmt",f:Dt},559:{n:"BrtEndSXCondFmt",f:Dt},560:{n:"BrtBeginSXCondFmts",f:Dt},561:{n:"BrtEndSXCondFmts",f:Dt},562:{n:"BrtBkHim",f:Dt},564:{n:"BrtColor",f:Dt},565:{n:"BrtBeginIndexedColors",f:Dt},566:{n:"BrtEndIndexedColors",f:Dt},569:{n:"BrtBeginMRUColors",f:Dt},570:{n:"BrtEndMRUColors",f:Dt},572:{n:"BrtMRUColor",f:Dt},573:{n:"BrtBeginDVals",f:Dt},574:{n:"BrtEndDVals",f:Dt},577:{n:"BrtSupNameStart",f:Dt},578:{n:"BrtSupNameValueStart",f:Dt},579:{n:"BrtSupNameValueEnd",f:Dt},580:{n:"BrtSupNameNum",f:Dt},581:{n:"BrtSupNameErr",f:Dt},582:{n:"BrtSupNameSt",f:Dt},583:{n:"BrtSupNameNil",f:Dt},584:{n:"BrtSupNameBool",f:Dt},585:{n:"BrtSupNameFmla",f:Dt},586:{n:"BrtSupNameBits",f:Dt},587:{n:"BrtSupNameEnd",f:Dt},588:{n:"BrtEndSupBook",f:Dt},589:{n:"BrtCellSmartTagProperty",f:Dt},590:{n:"BrtBeginCellSmartTag",f:Dt},591:{n:"BrtEndCellSmartTag",f:Dt},592:{n:"BrtBeginCellSmartTags",f:Dt},593:{n:"BrtEndCellSmartTags",f:Dt},594:{n:"BrtBeginSmartTags",f:Dt},595:{n:"BrtEndSmartTags",f:Dt},596:{n:"BrtSmartTagType",f:Dt},597:{n:"BrtBeginSmartTagTypes",f:Dt},598:{n:"BrtEndSmartTagTypes",f:Dt},599:{n:"BrtBeginSXFilters",f:Dt},600:{n:"BrtEndSXFilters",f:Dt},601:{n:"BrtBeginSXFILTER",f:Dt},602:{n:"BrtEndSXFilter",f:Dt},603:{n:"BrtBeginFills",f:Dt},604:{n:"BrtEndFills",f:Dt},605:{n:"BrtBeginCellWatches",f:Dt},606:{n:"BrtEndCellWatches",f:Dt},607:{n:"BrtCellWatch",f:Dt},608:{n:"BrtBeginCRErrs",f:Dt},609:{n:"BrtEndCRErrs",f:Dt},610:{n:"BrtCrashRecErr",f:Dt},611:{n:"BrtBeginFonts",f:Dt},612:{n:"BrtEndFonts",f:Dt},613:{n:"BrtBeginBorders",f:Dt},614:{n:"BrtEndBorders",f:Dt},615:{n:"BrtBeginFmts",f:Dt},616:{n:"BrtEndFmts",f:Dt},617:{n:"BrtBeginCellXFs",f:Dt},618:{n:"BrtEndCellXFs",f:Dt},619:{n:"BrtBeginStyles",f:Dt},620:{n:"BrtEndStyles",f:Dt},625:{n:"BrtBigName",f:Dt},626:{n:"BrtBeginCellStyleXFs",f:Dt},627:{n:"BrtEndCellStyleXFs",f:Dt},628:{n:"BrtBeginComments",f:Dt},629:{n:"BrtEndComments",f:Dt},630:{n:"BrtBeginCommentAuthors",f:Dt},631:{n:"BrtEndCommentAuthors",f:Dt},632:{n:"BrtCommentAuthor",f:ic},633:{n:"BrtBeginCommentList",f:Dt},634:{n:"BrtEndCommentList",f:Dt},635:{n:"BrtBeginComment",f:function(t,e){var i={};i.iauthor=t.read_shift(4);var n=Xt(t);return i.rfx=n.s,i.ref=ph(n.s),t.l+=16,i}},636:{n:"BrtEndComment",f:Dt},637:{n:"BrtCommentText",f:nc},638:{n:"BrtBeginOleObjects",f:Dt},639:{n:"BrtOleObject",f:Dt},640:{n:"BrtEndOleObjects",f:Dt},641:{n:"BrtBeginSxrules",f:Dt},642:{n:"BrtEndSxRules",f:Dt},643:{n:"BrtBeginActiveXControls",f:Dt},644:{n:"BrtActiveX",f:Dt},645:{n:"BrtEndActiveXControls",f:Dt},646:{n:"BrtBeginPCDSDTCEMembersSortBy",f:Dt},648:{n:"BrtBeginCellIgnoreECs",f:Dt},649:{n:"BrtCellIgnoreEC",f:Dt},650:{n:"BrtEndCellIgnoreECs",f:Dt},651:{n:"BrtCsProp",f:Dt},652:{n:"BrtCsPageSetup",f:Dt},653:{n:"BrtBeginUserCsViews",f:Dt},654:{n:"BrtEndUserCsViews",f:Dt},655:{n:"BrtBeginUserCsView",f:Dt},656:{n:"BrtEndUserCsView",f:Dt},657:{n:"BrtBeginPcdSFCIEntries",f:Dt},658:{n:"BrtEndPCDSFCIEntries",f:Dt},659:{n:"BrtPCDSFCIEntry",f:Dt},660:{n:"BrtBeginListParts",f:Dt},661:{n:"BrtListPart",f:Dt},662:{n:"BrtEndListParts",f:Dt},663:{n:"BrtSheetCalcProp",f:Dt},664:{n:"BrtBeginFnGroup",f:Dt},665:{n:"BrtFnGroup",f:Dt},666:{n:"BrtEndFnGroup",f:Dt},667:{n:"BrtSupAddin",f:Dt},668:{n:"BrtSXTDMPOrder",f:Dt},669:{n:"BrtCsProtection",f:Dt},671:{n:"BrtBeginWsSortMap",f:Dt},672:{n:"BrtEndWsSortMap",f:Dt},673:{n:"BrtBeginRRSort",f:Dt},674:{n:"BrtEndRRSort",f:Dt},675:{n:"BrtRRSortItem",f:Dt},676:{n:"BrtFileSharingIso",f:Dt},677:{n:"BrtBookProtectionIso",f:Dt},678:{n:"BrtSheetProtectionIso",f:Dt},679:{n:"BrtCsProtectionIso",f:Dt},680:{n:"BrtRangeProtectionIso",f:Dt},1024:{n:"BrtRwDescent",f:Dt},1025:{n:"BrtKnownFonts",f:Dt},1026:{n:"BrtBeginSXTupleSet",f:Dt},1027:{n:"BrtEndSXTupleSet",f:Dt},1028:{n:"BrtBeginSXTupleSetHeader",f:Dt},1029:{n:"BrtEndSXTupleSetHeader",f:Dt},1030:{n:"BrtSXTupleSetHeaderItem",f:Dt},1031:{n:"BrtBeginSXTupleSetData",f:Dt},1032:{n:"BrtEndSXTupleSetData",f:Dt},1033:{n:"BrtBeginSXTupleSetRow",f:Dt},1034:{n:"BrtEndSXTupleSetRow",f:Dt},1035:{n:"BrtSXTupleSetRowItem",f:Dt},1036:{n:"BrtNameExt",f:Dt},1037:{n:"BrtPCDH14",f:Dt},1038:{n:"BrtBeginPCDCalcMem14",f:Dt},1039:{n:"BrtEndPCDCalcMem14",f:Dt},1040:{n:"BrtSXTH14",f:Dt},1041:{n:"BrtBeginSparklineGroup",f:Dt},1042:{n:"BrtEndSparklineGroup",f:Dt},1043:{n:"BrtSparkline",f:Dt},1044:{n:"BrtSXDI14",f:Dt},1045:{n:"BrtWsFmtInfoEx14",f:Dt},1046:{n:"BrtBeginConditionalFormatting14",f:Dt},1047:{n:"BrtEndConditionalFormatting14",f:Dt},1048:{n:"BrtBeginCFRule14",f:Dt},1049:{n:"BrtEndCFRule14",f:Dt},1050:{n:"BrtCFVO14",f:Dt},1051:{n:"BrtBeginDatabar14",f:Dt},1052:{n:"BrtBeginIconSet14",f:Dt},1053:{n:"BrtDVal14",f:Dt},1054:{n:"BrtBeginDVals14",f:Dt},1055:{n:"BrtColor14",f:Dt},1056:{n:"BrtBeginSparklines",f:Dt},1057:{n:"BrtEndSparklines",f:Dt},1058:{n:"BrtBeginSparklineGroups",f:Dt},1059:{n:"BrtEndSparklineGroups",f:Dt},1061:{n:"BrtSXVD14",f:Dt},1062:{n:"BrtBeginSxview14",f:Dt},1063:{n:"BrtEndSxview14",f:Dt},1066:{n:"BrtBeginPCD14",f:Dt},1067:{n:"BrtEndPCD14",f:Dt},1068:{n:"BrtBeginExtConn14",f:Dt},1069:{n:"BrtEndExtConn14",f:Dt},1070:{n:"BrtBeginSlicerCacheIDs",f:Dt},1071:{n:"BrtEndSlicerCacheIDs",f:Dt},1072:{n:"BrtBeginSlicerCacheID",f:Dt},1073:{n:"BrtEndSlicerCacheID",f:Dt},1075:{n:"BrtBeginSlicerCache",f:Dt},1076:{n:"BrtEndSlicerCache",f:Dt},1077:{n:"BrtBeginSlicerCacheDef",f:Dt},1078:{n:"BrtEndSlicerCacheDef",f:Dt},1079:{n:"BrtBeginSlicersEx",f:Dt},1080:{n:"BrtEndSlicersEx",f:Dt},1081:{n:"BrtBeginSlicerEx",f:Dt},1082:{n:"BrtEndSlicerEx",f:Dt},1083:{n:"BrtBeginSlicer",f:Dt},1084:{n:"BrtEndSlicer",f:Dt},1085:{n:"BrtSlicerCachePivotTables",f:Dt},1086:{n:"BrtBeginSlicerCacheOlapImpl",f:Dt},1087:{n:"BrtEndSlicerCacheOlapImpl",f:Dt},1088:{n:"BrtBeginSlicerCacheLevelsData",f:Dt},1089:{n:"BrtEndSlicerCacheLevelsData",f:Dt},1090:{n:"BrtBeginSlicerCacheLevelData",f:Dt},1091:{n:"BrtEndSlicerCacheLevelData",f:Dt},1092:{n:"BrtBeginSlicerCacheSiRanges",f:Dt},1093:{n:"BrtEndSlicerCacheSiRanges",f:Dt},1094:{n:"BrtBeginSlicerCacheSiRange",f:Dt},1095:{n:"BrtEndSlicerCacheSiRange",f:Dt},1096:{n:"BrtSlicerCacheOlapItem",f:Dt},1097:{n:"BrtBeginSlicerCacheSelections",f:Dt},1098:{n:"BrtSlicerCacheSelection",f:Dt},1099:{n:"BrtEndSlicerCacheSelections",f:Dt},1100:{n:"BrtBeginSlicerCacheNative",f:Dt},1101:{n:"BrtEndSlicerCacheNative",f:Dt},1102:{n:"BrtSlicerCacheNativeItem",f:Dt},1103:{n:"BrtRangeProtection14",f:Dt},1104:{n:"BrtRangeProtectionIso14",f:Dt},1105:{n:"BrtCellIgnoreEC14",f:Dt},1111:{n:"BrtList14",f:Dt},1112:{n:"BrtCFIcon",f:Dt},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs",f:Dt},1114:{n:"BrtEndSlicerCachesPivotCacheIDs",f:Dt},1115:{n:"BrtBeginSlicers",f:Dt},1116:{n:"BrtEndSlicers",f:Dt},1117:{n:"BrtWbProp14",f:Dt},1118:{n:"BrtBeginSXEdit",f:Dt},1119:{n:"BrtEndSXEdit",f:Dt},1120:{n:"BrtBeginSXEdits",f:Dt},1121:{n:"BrtEndSXEdits",f:Dt},1122:{n:"BrtBeginSXChange",f:Dt},1123:{n:"BrtEndSXChange",f:Dt},1124:{n:"BrtBeginSXChanges",f:Dt},1125:{n:"BrtEndSXChanges",f:Dt},1126:{n:"BrtSXTupleItems",f:Dt},1128:{n:"BrtBeginSlicerStyle",f:Dt},1129:{n:"BrtEndSlicerStyle",f:Dt},1130:{n:"BrtSlicerStyleElement",f:Dt},1131:{n:"BrtBeginStyleSheetExt14",f:Dt},1132:{n:"BrtEndStyleSheetExt14",f:Dt},1133:{n:"BrtBeginSlicerCachesPivotCacheID",f:Dt},1134:{n:"BrtEndSlicerCachesPivotCacheID",f:Dt},1135:{n:"BrtBeginConditionalFormattings",f:Dt},1136:{n:"BrtEndConditionalFormattings",f:Dt},1137:{n:"BrtBeginPCDCalcMemExt",f:Dt},1138:{n:"BrtEndPCDCalcMemExt",f:Dt},1139:{n:"BrtBeginPCDCalcMemsExt",f:Dt},1140:{n:"BrtEndPCDCalcMemsExt",f:Dt},1141:{n:"BrtPCDField14",f:Dt},1142:{n:"BrtBeginSlicerStyles",f:Dt},1143:{n:"BrtEndSlicerStyles",f:Dt},1144:{n:"BrtBeginSlicerStyleElements",f:Dt},1145:{n:"BrtEndSlicerStyleElements",f:Dt},1146:{n:"BrtCFRuleExt",f:Dt},1147:{n:"BrtBeginSXCondFmt14",f:Dt},1148:{n:"BrtEndSXCondFmt14",f:Dt},1149:{n:"BrtBeginSXCondFmts14",f:Dt},1150:{n:"BrtEndSXCondFmts14",f:Dt},1152:{n:"BrtBeginSortCond14",f:Dt},1153:{n:"BrtEndSortCond14",f:Dt},1154:{n:"BrtEndDVals14",f:Dt},1155:{n:"BrtEndIconSet14",f:Dt},1156:{n:"BrtEndDatabar14",f:Dt},1157:{n:"BrtBeginColorScale14",f:Dt},1158:{n:"BrtEndColorScale14",f:Dt},1159:{n:"BrtBeginSxrules14",f:Dt},1160:{n:"BrtEndSxrules14",f:Dt},1161:{n:"BrtBeginPRule14",f:Dt},1162:{n:"BrtEndPRule14",f:Dt},1163:{n:"BrtBeginPRFilters14",f:Dt},1164:{n:"BrtEndPRFilters14",f:Dt},1165:{n:"BrtBeginPRFilter14",f:Dt},1166:{n:"BrtEndPRFilter14",f:Dt},1167:{n:"BrtBeginPRFItem14",f:Dt},1168:{n:"BrtEndPRFItem14",f:Dt},1169:{n:"BrtBeginCellIgnoreECs14",f:Dt},1170:{n:"BrtEndCellIgnoreECs14",f:Dt},1171:{n:"BrtDxf14",f:Dt},1172:{n:"BrtBeginDxF14s",f:Dt},1173:{n:"BrtEndDxf14s",f:Dt},1177:{n:"BrtFilter14",f:Dt},1178:{n:"BrtBeginCustomFilters14",f:Dt},1180:{n:"BrtCustomFilter14",f:Dt},1181:{n:"BrtIconFilter14",f:Dt},1182:{n:"BrtPivotCacheConnectionName",f:Dt},2048:{n:"BrtBeginDecoupledPivotCacheIDs",f:Dt},2049:{n:"BrtEndDecoupledPivotCacheIDs",f:Dt},2050:{n:"BrtDecoupledPivotCacheID",f:Dt},2051:{n:"BrtBeginPivotTableRefs",f:Dt},2052:{n:"BrtEndPivotTableRefs",f:Dt},2053:{n:"BrtPivotTableRef",f:Dt},2054:{n:"BrtSlicerCacheBookPivotTables",f:Dt},2055:{n:"BrtBeginSxvcells",f:Dt},2056:{n:"BrtEndSxvcells",f:Dt},2057:{n:"BrtBeginSxRow",f:Dt},2058:{n:"BrtEndSxRow",f:Dt},2060:{n:"BrtPcdCalcMem15",f:Dt},2067:{n:"BrtQsi15",f:Dt},2068:{n:"BrtBeginWebExtensions",f:Dt},2069:{n:"BrtEndWebExtensions",f:Dt},2070:{n:"BrtWebExtension",f:Dt},2071:{n:"BrtAbsPath15",f:Dt},2072:{n:"BrtBeginPivotTableUISettings",f:Dt},2073:{n:"BrtEndPivotTableUISettings",f:Dt},2075:{n:"BrtTableSlicerCacheIDs",f:Dt},2076:{n:"BrtTableSlicerCacheID",f:Dt},2077:{n:"BrtBeginTableSlicerCache",f:Dt},2078:{n:"BrtEndTableSlicerCache",f:Dt},2079:{n:"BrtSxFilter15",f:Dt},2080:{n:"BrtBeginTimelineCachePivotCacheIDs",f:Dt},2081:{n:"BrtEndTimelineCachePivotCacheIDs",f:Dt},2082:{n:"BrtTimelineCachePivotCacheID",f:Dt},2083:{n:"BrtBeginTimelineCacheIDs",f:Dt},2084:{n:"BrtEndTimelineCacheIDs",f:Dt},2085:{n:"BrtBeginTimelineCacheID",f:Dt},2086:{n:"BrtEndTimelineCacheID",f:Dt},2087:{n:"BrtBeginTimelinesEx",f:Dt},2088:{n:"BrtEndTimelinesEx",f:Dt},2089:{n:"BrtBeginTimelineEx",f:Dt},2090:{n:"BrtEndTimelineEx",f:Dt},2091:{n:"BrtWorkBookPr15",f:Dt},2092:{n:"BrtPCDH15",f:Dt},2093:{n:"BrtBeginTimelineStyle",f:Dt},2094:{n:"BrtEndTimelineStyle",f:Dt},2095:{n:"BrtTimelineStyleElement",f:Dt},2096:{n:"BrtBeginTimelineStylesheetExt15",f:Dt},2097:{n:"BrtEndTimelineStylesheetExt15",f:Dt},2098:{n:"BrtBeginTimelineStyles",f:Dt},2099:{n:"BrtEndTimelineStyles",f:Dt},2100:{n:"BrtBeginTimelineStyleElements",f:Dt},2101:{n:"BrtEndTimelineStyleElements",f:Dt},2102:{n:"BrtDxf15",f:Dt},2103:{n:"BrtBeginDxfs15",f:Dt},2104:{n:"brtEndDxfs15",f:Dt},2105:{n:"BrtSlicerCacheHideItemsWithNoData",f:Dt},2106:{n:"BrtBeginItemUniqueNames",f:Dt},2107:{n:"BrtEndItemUniqueNames",f:Dt},2108:{n:"BrtItemUniqueName",f:Dt},2109:{n:"BrtBeginExtConn15",f:Dt},2110:{n:"BrtEndExtConn15",f:Dt},2111:{n:"BrtBeginOledbPr15",f:Dt},2112:{n:"BrtEndOledbPr15",f:Dt},2113:{n:"BrtBeginDataFeedPr15",f:Dt},2114:{n:"BrtEndDataFeedPr15",f:Dt},2115:{n:"BrtTextPr15",f:Dt},2116:{n:"BrtRangePr15",f:Dt},2117:{n:"BrtDbCommand15",f:Dt},2118:{n:"BrtBeginDbTables15",f:Dt},2119:{n:"BrtEndDbTables15",f:Dt},2120:{n:"BrtDbTable15",f:Dt},2121:{n:"BrtBeginDataModel",f:Dt},2122:{n:"BrtEndDataModel",f:Dt},2123:{n:"BrtBeginModelTables",f:Dt},2124:{n:"BrtEndModelTables",f:Dt},2125:{n:"BrtModelTable",f:Dt},2126:{n:"BrtBeginModelRelationships",f:Dt},2127:{n:"BrtEndModelRelationships",f:Dt},2128:{n:"BrtModelRelationship",f:Dt},2129:{n:"BrtBeginECTxtWiz15",f:Dt},2130:{n:"BrtEndECTxtWiz15",f:Dt},2131:{n:"BrtBeginECTWFldInfoLst15",f:Dt},2132:{n:"BrtEndECTWFldInfoLst15",f:Dt},2133:{n:"BrtBeginECTWFldInfo15",f:Dt},2134:{n:"BrtFieldListActiveItem",f:Dt},2135:{n:"BrtPivotCacheIdVersion",f:Dt},2136:{n:"BrtSXDI15",f:Dt},65535:{n:"",f:Dt}},Gu=function(t,e){for(var i=[],n=w(t),r=0;r!==n.length;++r)i[t[n[r]][e]]=n[r];return i}(Yu,"n"),Xu={3:{n:"BIFF2NUM",f:function(t,e,i){var n=ti(t);++t.l;var r=qt(t);return n.val=r,n}},4:{n:"BIFF2STR",f:function(t,e,i){var n=ti(t);++t.l;var r=qe(t,0,i);return n.val=r,n}},6:{n:"Formula",f:bc},9:{n:"BOF",f:ci},10:{n:"EOF",f:Ri},12:{n:"CalcCount",f:_i},13:{n:"CalcMode",f:ki},14:{n:"CalcPrecision",f:Ti},15:{n:"CalcRefMode",f:Ei},16:{n:"CalcDelta",f:Si},17:{n:"CalcIter",f:Ci},18:{n:"Protect",f:en},19:{n:"Password",f:$i},20:{n:"Header",f:Wi},21:{n:"Footer",f:Hi},23:{n:"ExternSheet",f:function(t,e,i){if(i.biff<8)return Ue(t,0,i);var n=function(t,e,i){for(var n=[],r=t.l+e,o=t.read_shift(2);0!=o--;)n.push(i(t,r-t.l));if(r!==t.l)throw new Error("Slurp error");return n}(t,e,ei),r=[];if(1025===i.sbcch){for(var o=0;o!=n.length;++o)r.push(i.snames[n[o][1]]);return r}return n}},24:{n:"Lbl",f:function(t,e,i){if(i.biff<8)return hi(t,0,i);var n=t.l+e,r=(t.read_shift(2),t.read_shift(1)),o=t.read_shift(1),a=t.read_shift(2);return t.l+=2,t.read_shift(2),t.l+=4,{chKey:r,Name:Ge(t,o),rgce:function(t,e,i,n){var r,o=t.l+e,a=_c(t,n);return o!==t.l&&(r=Lc(t,o-t.l,a,i)),[a,r]}(t,n-t.l,i,a)}}},25:{n:"WinProtect",f:fn},26:{n:"VerticalPageBreaks",f:gn},27:{n:"HorizontalPageBreaks",f:mn},28:{n:"Note",f:function(t,e,i){return function(t,e,i){if(!(i.biff<8)){var n=t.read_shift(2),r=t.read_shift(2),o=t.read_shift(2),a=t.read_shift(2),s=qe(t,0,i);return i.biff<8&&t.read_shift(1),[{r:n,c:r},s,a,o]}}(t,0,i)}},29:{n:"Selection",f:vn},34:{n:"Date1904",f:Pi},35:{n:"ExternName",f:pi},38:{n:"LeftMargin",f:Gi},39:{n:"RightMargin",f:rn},40:{n:"TopMargin",f:un},41:{n:"BottomMargin",f:xi},42:{n:"PrintRowCol",f:Ki},43:{n:"PrintGrid",f:Zi},47:{n:"FilePass",f:function(t,e,i){var n={Type:t.read_shift(2)};return n.Type?_l(t,e-2,n):wl(t,0,i,n),n}},49:{n:"Font",f:function(t,e,i){return t.l+=14,Ue(t,0,i)}},51:{n:"PrintSize",f:Qi},60:{n:"Continue",f:yn},61:{n:"Window1",f:function(t,e){return{Pos:[t.read_shift(2),t.read_shift(2)],Dim:[t.read_shift(2),t.read_shift(2)],Flags:t.read_shift(2),CurTab:t.read_shift(2),FirstTab:t.read_shift(2),Selected:t.read_shift(2),TabRatio:t.read_shift(2)}}},64:{n:"Backup",f:bi},65:{n:"Pane",f:bn},66:{n:"CodePage",f:Mi},77:{n:"Pls",f:Ln},80:{n:"DCon",f:xn},81:{n:"DConRef",f:wn},82:{n:"DConName",f:_n},85:{n:"DefColWidth",f:Oi},89:{n:"XCT",f:Sn},90:{n:"CRN",f:Cn},91:{n:"FileSharing",f:kn},92:{n:"WriteAccess",f:function(t,e,i){if(i.enc)return t.l+=e,"";var n=t.l,r=Xe(t,0,i);return t.read_shift(e+n-t.l),r}},93:{n:"Obj",f:function(t,e){var i=ai(t);return{cmo:i,ft:function(t,e,i){for(var n=t.l,r=[];t.l<n+e;){var o=t.read_shift(2);t.l-=2;try{r.push(si[o](t,n+e-t.l))}catch(i){return t.l=n+e,r}}return t.l!=n+e&&(t.l=n+e),r}(t,e-22,i[1])}}},94:{n:"Uncalced",f:Tn},95:{n:"CalcSaveRecalc",f:Ai},96:{n:"Template",f:En},97:{n:"Intl",f:An},99:{n:"ObjProtect",f:qi},125:{n:"ColInfo",f:vi},128:{n:"Guts",f:function(t,e){t.l+=4;var i=[t.read_shift(2),t.read_shift(2)];if(0!==i[0]&&i[0]--,0!==i[1]&&i[1]--,i[0]>7||i[1]>7)throw"Bad Gutters: "+i;return i}},129:{n:"WsBool",f:Mn},130:{n:"GridSet",f:Vi},131:{n:"HCenter",f:ji},132:{n:"VCenter",f:dn},133:{n:"BoundSheet8",f:function(t,e,i){var n=t.read_shift(4),r=t.read_shift(1)>>6,o=t.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var a=Ue(t,0,i);return 0===a.length&&(a="Sheet1"),{pos:n,hs:r,dt:o,name:a}}},134:{n:"WriteProtect",f:pn},140:{n:"Country",f:function(t,e){var i,n=[];return i=t.read_shift(2),n[0]=oe[i]||i,i=t.read_shift(2),n[1]=oe[i]||i,n}},141:{n:"HideObj",f:Ui},144:{n:"Sort",f:Dn},146:{n:"Palette",f:function(t,e){for(var i=t.read_shift(2),n=[];i-- >0;)n.push(Je(t));return n}},151:{n:"Sync",f:Pn},152:{n:"LPr",f:On},153:{n:"DxGCol",f:In},154:{n:"FnGroupName",f:Nn},155:{n:"FilterMode",f:Rn},156:{n:"BuiltInFnGroupCount",f:wi},157:{n:"AutoFilterInfo",f:Fn},158:{n:"AutoFilter",f:Bn},160:{n:"Scl",f:sn},161:{n:"Setup",f:zn},174:{n:"ScenMan",f:Hn},175:{n:"SCENARIO",f:Vn},176:{n:"SxView",f:jn},177:{n:"Sxvd",f:Wn},178:{n:"SXVI",f:Un},180:{n:"SxIvd",f:Yn},181:{n:"SXLI",f:Gn},182:{n:"SXPI",f:Xn},184:{n:"DocRoute",f:qn},185:{n:"RecipName",f:$n},189:{n:"MulRk",f:function(t,e){for(var i=t.l+e-2,n=t.read_shift(2),r=t.read_shift(2),o=[];t.l<i;)o.push(ii(t));if(t.l!==i)throw"MulRK read error";var a=t.read_shift(2);if(o.length!=a-r+1)throw"MulRK length mismatch";return{r:n,c:r,C:a,rkrec:o}}},190:{n:"MulBlank",f:Zn},193:{n:"Mms",f:Xi},197:{n:"SXDI",f:Kn},198:{n:"SXDB",f:Qn},199:{n:"SXFDB",f:Jn},200:{n:"SXDBB",f:tr},201:{n:"SXNum",f:er},202:{n:"SxBool",f:cn},203:{n:"SxErr",f:ir},204:{n:"SXInt",f:nr},205:{n:"SXString",f:rr},206:{n:"SXDtr",f:or},207:{n:"SxNil",f:ar},208:{n:"SXTbl",f:sr},209:{n:"SXTBRGIITM",f:lr},210:{n:"SxTbpg",f:cr},211:{n:"ObProj",f:ur},213:{n:"SXStreamID",f:hr},215:{n:"DBCell",f:dr},216:{n:"SXRng",f:fr},217:{n:"SxIsxoper",f:pr},218:{n:"BookBool",f:gr},220:{n:"DbOrParamQry",f:mr},221:{n:"ScenarioProtect",f:an},222:{n:"OleObjectSize",f:vr},224:{n:"XF",f:function(t,e){var i={};return i.ifnt=t.read_shift(2),i.ifmt=t.read_shift(2),i.flags=t.read_shift(2),i.fStyle=i.flags>>2&1,i.data=di(t,0,i.fStyle),i}},225:{n:"InterfaceHdr",f:function(t,e){if(0===e)return 1200;var i;if(1200!==(i=t.read_shift(2)))throw"InterfaceHdr codePage "+i;return 1200}},226:{n:"InterfaceEnd",f:Yi},227:{n:"SXVS",f:yr},229:{n:"MergeCells",f:function(t,e){for(var i=[],n=t.read_shift(2);n--;)i.push(ni(t));return i}},233:{n:"BkHim",f:br},235:{n:"MsoDrawingGroup",f:Lr},236:{n:"MsoDrawing",f:xr},237:{n:"MsoDrawingSelection",f:wr},239:{n:"PhoneticInfo",f:_r},240:{n:"SxRule",f:Sr},241:{n:"SXEx",f:Cr},242:{n:"SxFilt",f:kr},244:{n:"SxDXF",f:Tr},245:{n:"SxItm",f:Er},246:{n:"SxName",f:Ar},247:{n:"SxSelect",f:Mr},248:{n:"SXPair",f:Dr},249:{n:"SxFmla",f:Pr},251:{n:"SxFormat",f:Or},252:{n:"SST",f:function(t,e){for(var i=t.read_shift(4),n=t.read_shift(4),r=[],o=0;o!=n;++o)r.push(Ye(t));return r.Count=i,r.Unique=n,r}},253:{n:"LabelSst",f:function(t,e){var i=ti(t);return i.isst=t.read_shift(4),i}},255:{n:"ExtSST",f:function(t,e){var i={};return i.dsst=t.read_shift(2),t.l+=e-2,i}},256:{n:"SXVDEx",f:Ir},259:{n:"SXFormula",f:Nr},290:{n:"SXDBEx",f:Rr},311:{n:"RRDInsDel",f:Fr},312:{n:"RRDHead",f:Br},315:{n:"RRDChgCell",f:zr},317:{n:"RRTabId",f:on},318:{n:"RRDRenSheet",f:Hr},319:{n:"RRSort",f:Vr},320:{n:"RRDMove",f:jr},330:{n:"RRFormat",f:Wr},331:{n:"RRAutoFmt",f:Ur},333:{n:"RRInsertSh",f:Yr},334:{n:"RRDMoveBegin",f:Gr},335:{n:"RRDMoveEnd",f:Xr},336:{n:"RRDInsDelBegin",f:qr},337:{n:"RRDInsDelEnd",f:$r},338:{n:"RRDConflict",f:Zr},339:{n:"RRDDefName",f:Kr},340:{n:"RRDRstEtxp",f:Qr},351:{n:"LRng",f:Jr},352:{n:"UsesELFs",f:hn},353:{n:"DSF",f:Ii},401:{n:"CUsr",f:to},402:{n:"CbUsr",f:eo},403:{n:"UsrInfo",f:io},404:{n:"UsrExcl",f:no},405:{n:"FileLock",f:ro},406:{n:"RRDInfo",f:oo},407:{n:"BCUsrs",f:ao},408:{n:"UsrChk",f:so},425:{n:"UserBView",f:lo},426:{n:"UserSViewBegin",f:co},427:{n:"UserSViewEnd",f:uo},428:{n:"RRDUserView",f:ho},429:{n:"Qsi",f:fo},430:{n:"SupBook",f:function(t,e,i){var n,r=t.l+e,o=t.read_shift(2),a=t.read_shift(2);a>=1&&a<=255&&(n=Ge(t,a));var s=t.read_shift(r-t.l);return i.sbcch=a,[a,o,n,s]}},431:{n:"Prot4Rev",f:Ji},432:{n:"CondFmt",f:po},433:{n:"CF",f:go},434:{n:"DVal",f:mo},437:{n:"DConBin",f:vo},438:{n:"TxO",f:function(t,e,i){var n=t.l;try{t.l+=4;var r=(i.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(r)?t.l+=6:$e(t,6,i);var o=t.read_shift(2),a=(t.read_shift(2),li(t,2),t.read_shift(2));t.l+=a;for(var s="",l=1;l<t.lens.length-1;++l){if(t.l-n!=t.lens[l])throw"TxO: bad continue record";var c=t[t.l];if((s+=Ge(t,t.lens[l+1]-t.lens[l]-1)).length>=(c?o:2*o))break}if(s.length!==o&&s.length!==2*o)throw"cchText: "+o+" != "+s.length;return t.l=n+e,{t:s}}catch(i){return t.l=n+e,{t:s||""}}}},439:{n:"RefreshAll",f:nn},440:{n:"HLink",f:function(t,e){var i=ni(t);return t.l+=16,[i,function(t,e){var i=t.l+e,n=t.read_shift(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var r,o,a,s,l=t.read_shift(2);t.l+=2,16&l&&Ke(t,t.l),128&l&&(r=Ke(t,t.l)),257==(257&l)&&(o=Ke(t,t.l)),1==(257&l)&&(a=Ze(t,t.l)),8&l&&(s=Ke(t,t.l)),32&l&&t.read_shift(16),64&l&&Ee(t),t.l=i;var c=r||o||a;return s&&(c+="#"+s),{Target:c}}(t,e-24)]}},441:{n:"Lel",f:yo},442:{n:"CodeName",f:bo},443:{n:"SXFDBType",f:Lo},444:{n:"Prot4RevPass",f:tn},445:{n:"ObNoMacros",f:xo},446:{n:"Dv",f:wo},448:{n:"Excel9File",f:Fi},449:{n:"RecalcId",f:function(t,e){return t.read_shift(2),t.read_shift(4)},r:2},450:{n:"EntExU2",f:Ni},512:{n:"Dimensions",f:function(t,e){var i=10===e?2:4,n=t.read_shift(i),r=t.read_shift(i),o=t.read_shift(2),a=t.read_shift(2);return t.l+=2,{s:{r:n,c:o},e:{r:r,c:a}}}},513:{n:"Blank",f:Li},515:{n:"Number",f:function(t,e){var i=ti(t),n=qt(t);return i.val=n,i}},516:{n:"Label",f:hi},517:{n:"BoolErr",f:function(t,e){var i=ti(t),n=function(t){var e=t.read_shift(1);return 1===t.read_shift(1)?e:1===e}(t);return i.val=n,i.t=!0===n||!1===n?"b":"e",i}},519:{n:"String",f:ln},520:{n:"Row",f:function(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=t.read_shift(2);return t.read_shift(2),t.read_shift(4),t.read_shift(1),t.read_shift(1),t.read_shift(2),{r:i,c:n,cnt:r-n}}},523:{n:"Index",f:_o},545:{n:"Array",f:function(t,e,i){var n=oi(t,6);return t.l+=6,[n,wc(t,e-=12,i)]}},549:{n:"DefaultRowHeight",f:function(t,e){var i=t.read_shift(2);return[{Unsynced:1&i,DyZero:(2&i)>>1,ExAsc:(4&i)>>2,ExDsc:(8&i)>>3},t.read_shift(2)]}},566:{n:"Table",f:So},574:{n:"Window2",f:yi},638:{n:"RK",f:function(t,e){var i=t.read_shift(2),n=t.read_shift(2),r=ii(t);return{r:i,c:n,ixfe:r[0],rknum:r[1]}}},659:{n:"Style",f:gi},1048:{n:"BigName",f:Co},1054:{n:"Format",f:function(t,e,i){return[t.read_shift(2),qe(t,0,i)]}},1084:{n:"ContinueBigName",f:ko},1212:{n:"ShrFmla",f:function(t,e,i){ri(t),t.l++;var n=t.read_shift(1);return[xc(t,e-=8,i),n]}},2048:{n:"HLinkTooltip",f:function(t,e){t.l;t.read_shift(2);var i=ni(t),n=t.read_shift((e-10)/2,"dbcs-cont");return[i,n=n.replace(f,"")]}},2049:{n:"WebPub",f:To},2050:{n:"QsiSXTag",f:Eo},2051:{n:"DBQueryExt",f:Ao},2052:{n:"ExtString",f:Mo},2053:{n:"TxtQry",f:Do},2054:{n:"Qsir",f:Po},2055:{n:"Qsif",f:Oo},2056:{n:"RRDTQSIF",f:Io},2057:{n:"BOF",f:ci},2058:{n:"OleDbConn",f:No},2059:{n:"WOpt",f:Ro},2060:{n:"SXViewEx",f:Fo},2061:{n:"SXTH",f:Bo},2062:{n:"SXPIEx",f:zo},2063:{n:"SXVDTEx",f:Ho},2064:{n:"SXViewEx9",f:Vo},2066:{n:"ContinueFrt",f:jo},2067:{n:"RealTimeData",f:Wo},2128:{n:"ChartFrtInfo",f:Uo},2129:{n:"FrtWrapper",f:Yo},2130:{n:"StartBlock",f:Go},2131:{n:"EndBlock",f:Xo},2132:{n:"StartObject",f:qo},2133:{n:"EndObject",f:$o},2134:{n:"CatLab",f:Zo},2135:{n:"YMult",f:Ko},2136:{n:"SXViewLink",f:Qo},2137:{n:"PivotChartBits",f:Jo},2138:{n:"FrtFontList",f:ta},2146:{n:"SheetExt",f:ea},2147:{n:"BookExt",f:ia,r:12},2148:{n:"SXAddl",f:na},2149:{n:"CrErr",f:ra},2150:{n:"HFPicture",f:oa},2151:{n:"FeatHdr",f:Bi},2152:{n:"Feat",f:aa},2154:{n:"DataLabExt",f:sa},2155:{n:"DataLabExtContents",f:la},2156:{n:"CellWatch",f:ca},2161:{n:"FeatHdr11",f:ua},2162:{n:"Feature11",f:ha},2164:{n:"DropDownObjIds",f:da},2165:{n:"ContinueFrt11",f:fa},2166:{n:"DConn",f:pa},2167:{n:"List12",f:ga},2168:{n:"Feature12",f:ma},2169:{n:"CondFmt12",f:va},2170:{n:"CF12",f:ya},2171:{n:"CFEx",f:ba},2172:{n:"XFCRC",f:function(t,e){t.l+=2;var i={cxfs:0,crc:0};return i.cxfs=t.read_shift(2),i.crc=t.read_shift(4),i},r:12},2173:{n:"XFExt",f:function(t,e){t.l,t.l+=2;var i=t.read_shift(2);t.l+=2;for(var n=t.read_shift(2),r=[];n-- >0;)r.push(tc(t,t.l));return{ixfe:i,ext:r}},r:12},2174:{n:"AutoFilter12",f:La},2175:{n:"ContinueFrt12",f:xa},2180:{n:"MDTInfo",f:wa},2181:{n:"MDXStr",f:_a},2182:{n:"MDXTuple",f:Sa},2183:{n:"MDXSet",f:Ca},2184:{n:"MDXProp",f:ka},2185:{n:"MDXKPI",f:Ta},2186:{n:"MDB",f:Ea},2187:{n:"PLV",f:Aa},2188:{n:"Compat12",f:Di,r:12},2189:{n:"DXF",f:Ma},2190:{n:"TableStyles",f:Da,r:12},2191:{n:"TableStyle",f:Pa},2192:{n:"TableStyleElement",f:Oa},2194:{n:"StyleExt",f:mi},2195:{n:"NamePublish",f:Ia},2196:{n:"NameCmt",f:Na},2197:{n:"SortData",f:Ra},2198:{n:"Theme",f:function(t,e){124226!==t.read_shift(4)&&(t.l+=e-4)},r:12},2199:{n:"GUIDTypeLib",f:Fa},2200:{n:"FnGrp12",f:Ba},2201:{n:"NameFnGrp12",f:za},2202:{n:"MTRSettings",f:function(t,e){return[0!==t.read_shift(4),0!==t.read_shift(4),t.read_shift(4)]},r:12},2203:{n:"CompressPictures",f:ui},2204:{n:"HeaderFooter",f:Ha},2205:{n:"CrtLayout12",f:Va},2206:{n:"CrtMlFrt",f:ja},2207:{n:"CrtMlFrtContinue",f:Wa},2211:{n:"ForceFullCalculation",f:function(t,e){var i=function(t){var e=t.read_shift(2),i=t.read_shift(2);return t.l+=8,{type:e,flags:i}}(t);if(2211!=i.type)throw"Invalid Future Record "+i.type;return 0!==t.read_shift(4)}},2212:{n:"ShapePropsStream",f:Ua},2213:{n:"TextPropsStream",f:Ya},2214:{n:"RichTextStream",f:Ga},2215:{n:"CrtLayout12A",f:Xa},4097:{n:"Units",f:qa},4098:{n:"Chart",f:$a},4099:{n:"Series",f:Za},4102:{n:"DataFormat",f:Ka},4103:{n:"LineFormat",f:Qa},4105:{n:"MarkerFormat",f:Ja},4106:{n:"AreaFormat",f:ts},4107:{n:"PieFormat",f:es},4108:{n:"AttachedLabel",f:is},4109:{n:"SeriesText",f:ns},4116:{n:"ChartFormat",f:rs},4117:{n:"Legend",f:os},4118:{n:"SeriesList",f:as},4119:{n:"Bar",f:ss},4120:{n:"Line",f:ls},4121:{n:"Pie",f:cs},4122:{n:"Area",f:us},4123:{n:"Scatter",f:hs},4124:{n:"CrtLine",f:ds},4125:{n:"Axis",f:fs},4126:{n:"Tick",f:ps},4127:{n:"ValueRange",f:gs},4128:{n:"CatSerRange",f:ms},4129:{n:"AxisLine",f:vs},4130:{n:"CrtLink",f:ys},4132:{n:"DefaultText",f:bs},4133:{n:"Text",f:Ls},4134:{n:"FontX",f:zi},4135:{n:"ObjectLink",f:xs},4146:{n:"Frame",f:ws},4147:{n:"Begin",f:_s},4148:{n:"End",f:Ss},4149:{n:"PlotArea",f:Cs},4154:{n:"Chart3d",f:ks},4156:{n:"PicF",f:Ts},4157:{n:"DropBar",f:Es},4158:{n:"Radar",f:As},4159:{n:"Surf",f:Ms},4160:{n:"RadarArea",f:Ds},4161:{n:"AxisParent",f:Ps},4163:{n:"LegendException",f:Os},4164:{n:"ShtProps",f:Is},4165:{n:"SerToCrt",f:Ns},4166:{n:"AxesUsed",f:Rs},4168:{n:"SBaseRef",f:Fs},4170:{n:"SerParent",f:Bs},4171:{n:"SerAuxTrend",f:zs},4174:{n:"IFmtRecord",f:Hs},4175:{n:"Pos",f:Vs},4176:{n:"AlRuns",f:js},4177:{n:"BRAI",f:Ws},4187:{n:"SerAuxErrBar",f:Us},4188:{n:"ClrtClient",f:function(t,e){for(var i=t.read_shift(2),n=[];i-- >0;)n.push(Je(t));return n}},4189:{n:"SerFmt",f:Ys},4191:{n:"Chart3DBarShape",f:Gs},4192:{n:"Fbi",f:Xs},4193:{n:"BopPop",f:qs},4194:{n:"AxcExt",f:$s},4195:{n:"Dat",f:Zs},4196:{n:"PlotGrowth",f:Ks},4197:{n:"SIIndex",f:Qs},4198:{n:"GelFrame",f:Js},4199:{n:"BopPopCustom",f:tl},4200:{n:"Fbi2",f:el},22:{n:"ExternCount",f:Dt},126:{n:"RK",f:Dt},127:{n:"ImData",f:Dt},135:{n:"Addin",f:Dt},136:{n:"Edg",f:Dt},137:{n:"Pub",f:Dt},145:{n:"Sub",f:Dt},148:{n:"LHRecord",f:Dt},149:{n:"LHNGraph",f:Dt},150:{n:"Sound",f:Dt},169:{n:"CoordList",f:Dt},171:{n:"GCW",f:Dt},188:{n:"ShrFmla",f:Dt},194:{n:"AddMenu",f:Dt},195:{n:"DelMenu",f:Dt},214:{n:"RString",f:Dt},223:{n:"UDDesc",f:Dt},234:{n:"TabIdConf",f:Dt},354:{n:"XL5Modify",f:Dt},421:{n:"FileSharing2",f:Dt},536:{n:"Name",f:Dt},547:{n:"ExternName",f:pi},561:{n:"Font",f:Dt},1030:{n:"Formula",f:bc},2157:{n:"FeatInfo",f:Dt},2163:{n:"FeatInfo11",f:Dt},2177:{n:"SXAddl12",f:Dt},2240:{n:"AutoWebPub",f:Dt},2241:{n:"ListObj",f:Dt},2242:{n:"ListField",f:Dt},2243:{n:"ListDV",f:Dt},2244:{n:"ListCondFmt",f:Dt},2245:{n:"ListCF",f:Dt},2246:{n:"FMQry",f:Dt},2247:{n:"FMSQry",f:Dt},2248:{n:"PLV",f:Dt},2249:{n:"LnExt",f:Dt},2250:{n:"MkrExt",f:Dt},2251:{n:"CrtCoopt",f:Dt},0:{}};function qu(t){return function(e){for(var i=0;i!=t.length;++i){var n=t[i];void 0===e[n[0]]&&(e[n[0]]=n[1]),"n"===n[2]&&(e[n[0]]=Number(e[n[0]]))}}}var $u=qu([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]]),Zu=qu([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["WTF",!1]]);function Ku(t,e,i,n,r,o,a){try{r[n]=ge(E(t,i,!0),e),o[n]=bu(E(t,e),e,a,r[n])}catch(t){if(a.WTF)throw t}}var Qu=function(t){return"/"!=t.substr(-1)};function Ju(t,e){if(m(g),$u(e=e||{}),i(),k(t,"META-INF/manifest.xml"))return function(t,e){if("undefined"!=typeof module&&"undefined"!=typeof require&&"undefined"==typeof ODS&&(ODS=require("./ods")),"undefined"==typeof ODS||!ODS.parse_ods)throw new Error("Unsupported ODS");return ODS.parse_ods(t,e)}(t,e);var r,o,a=w(t.files).filter(Qu).sort(),s=function(t,e){var i={};if(!t||!t.match)return t;var n={workbooks:[],sheets:[],calcchains:[],themes:[],styles:[],coreprops:[],extprops:[],custprops:[],strs:[],comments:[],vba:[],TODO:[],rels:[],xmlns:""};if((t.match(M)||[]).forEach(function(t){var r=O(t);switch(r[0].replace(D,"<")){case"<?xml":break;case"<Types":n.xmlns=r["xmlns"+(r[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":i[r.Extension]=r.ContentType;break;case"<Override":void 0!==n[ce[r.ContentType]]?n[ce[r.ContentType]].push(r.PartName):e.WTF&&console.error(r)}}),n.xmlns!==bt.CT)throw new Error("Unknown Namespace: "+n.xmlns);return n.calcchain=n.calcchains.length>0?n.calcchains[0]:"",n.sst=n.strs.length>0?n.strs[0]:"",n.style=n.styles.length>0?n.styles[0]:"",n.defaults=i,delete n.calcchains,n}(E(t,"[Content_Types].xml"),e),l=!1;if(0===s.workbooks.length&&E(t,o="xl/workbook.xml",!0)&&s.workbooks.push(o),0===s.workbooks.length){if(!T(t,o="xl/workbook.bin"))throw new Error("Could not find workbook");s.workbooks.push(o),l=!0}"bin"==s.workbooks[0].substr(-3)&&(l=!0),l&&n(1200),e.bookSheets||e.bookProps||(Dc=[],s.sst&&(Dc=xu(E(t,s.sst.replace(/^\//,"")),s.sst,e)),Fl={},e.cellStyles&&s.themes.length&&(Fl=function(t,e,i){return Ql(t,i)}(E(t,s.themes[0].replace(/^\//,""),!0),s.themes[0],e)),Rl={},s.style&&(Rl=Lu(E(t,s.style.replace(/^\//,"")),s.style,e)));var c=yu(E(t,s.workbooks[0].replace(/^\//,"")),s.workbooks[0],e),u={},h="";0!==s.coreprops.length&&((h=E(t,s.coreprops[0].replace(/^\//,""),!0))&&(u=function(t){for(var e={},i=0;i<ye.length;++i){var n=ye[i],r=t.match(be[i]);null!=r&&r.length>0&&(e[n[1]]=r[1]),"date"===n[2]&&e[n[1]]&&(e[n[1]]=new Date(e[n[1]]))}return e}(h)),0!==s.extprops.length&&(h=E(t,s.extprops[0].replace(/^\//,""),!0))&&function(t,e){var i={};if(e||(e={}),we.forEach(function(n){switch(n[2]){case"string":e[n[1]]=(t.match(Z(n[0]))||[])[1];break;case"bool":e[n[1]]="true"===(t.match(Z(n[0]))||[])[1];break;case"raw":var r=t.match(new RegExp("<"+n[0]+"[^>]*>(.*)</"+n[0]+">"));r&&r.length>0&&(i[n[1]]=r[1])}}),i.HeadingPairs&&i.TitlesOfParts){for(var n=tt(i.HeadingPairs),r=0,o=0;o!==n.length;++o)switch(n[o].v){case"Worksheets":r=0,e.Worksheets=+n[++o].v;break;case"Named Ranges":++o}var a=tt(i.TitlesOfParts).map(function(t){return U(t.v)});e.SheetNames=a.slice(r,r+e.Worksheets)}}(h,u));var d={};e.bookSheets&&!e.bookProps||0!==s.custprops.length&&(h=E(t,s.custprops[0].replace(/^\//,""),!0))&&(d=function(t,e){var i,n={},r=t.match(Se);if(r)for(var o=0;o!=r.length;++o){var a=r[o],s=O(a);switch(s[0]){case"<?xml":break;case"<Properties":if(s.xmlns!==bt.CUST_PROPS)throw"unrecognized xmlns "+s.xmlns;if(s.xmlnsvt&&s.xmlnsvt!==bt.vt)throw"unrecognized vt "+s.xmlnsvt;break;case"<property":i=s.name;break;case"</property>":i=null;break;default:if(0===a.indexOf("<vt:")){var l=a.split(">"),c=l[0].substring(4),u=l[1];switch(c){case"lpstr":case"lpwstr":case"bstr":case"lpwstr":n[i]=B(u);break;case"bool":n[i]=W(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[i]=parseInt(u,10);break;case"r4":case"r8":case"decimal":n[i]=parseFloat(u);break;case"filetime":case"date":n[i]=new Date(u);break;case"cy":case"error":n[i]=B(u);break;default:"undefined"!=typeof console&&console.warn("Unexpected",a,c,l)}}else if("</"===a.substr(0,2));else if(e.WTF)throw new Error(a)}}return n}(h,e));var f={};if((e.bookSheets||e.bookProps)&&(u.Worksheets&&u.SheetNames.length>0?r=u.SheetNames:c.Sheets&&(r=c.Sheets.map(function(t){return t.name})),e.bookProps&&(f.Props=u,f.Custprops=d),void 0!==r&&(f.SheetNames=r),e.bookSheets?f.SheetNames:e.bookProps))return f;r={};var p={};e.bookDeps&&s.calcchain&&(p=_u(E(t,s.calcchain.replace(/^\//,"")),s.calcchain,e));var v,y,b=0,L={};if(!u.Worksheets){var x=c.Sheets;u.Worksheets=x.length,u.SheetNames=[];for(var _=0;_!=x.length;++_)u.SheetNames[_]=x[_].name}var S=l?"bin":"xml",C="xl/_rels/workbook."+S+".rels",A=ge(E(t,C,!0),C);A&&(A=function(t,e){if(!t)return 0;try{t=e.map(function(e){return[e.name,t["!id"][e.id].Target]})}catch(t){return null}return t&&0!==t.length?t:null}(A,c.Sheets));var P=E(t,"xl/worksheets/sheet.xml",!0)?1:0;for(b=0;b!=u.Worksheets;++b)y=(v=A?"xl/"+A[b][1].replace(/[\/]?xl\//,""):(v="xl/worksheets/sheet"+(b+1-P)+"."+S).replace(/sheet0\./,"sheet.")).replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),Ku(t,v,y,u.SheetNames[b],L,r,e);return s.comments&&function(t,e,i,n,r){for(var o=0;o!=e.length;++o){var a=e[o],s=wu(E(t,a.replace(/^\//,""),!0),a,r);if(s&&s.length)for(var l=w(i),c=0;c!=l.length;++c){var u=l[c],h=n[u];h&&h[a]&&ec(0,i[u],s)}}}(t,s.comments,r,L,e),f={Directory:s,Workbook:c,Props:u,Custprops:d,Deps:p,Sheets:r,SheetNames:u.SheetNames,Strings:Dc,Styles:Rl,Themes:Fl,SSF:g.get_table()},e.bookFiles&&(f.keys=a,f.files=t.files),e.bookVBA&&(s.vba.length>0?f.vbaraw=E(t,s.vba[0],!0):"application/vnd.ms-office.vbaProject"===s.defaults.bin&&(f.vbaraw=E(t,"xl/vbaProject.bin",!0))),f}function th(t,e,i,n,r){if(r||(r={}),t["!id"]||(t["!id"]={}),r.Id="rId"+e,r.Type=n,r.Target=i,t["!id"][r.Id])throw new Error("Cannot rewrite rId "+e);t["!id"][r.Id]=r,t[("/"+r.Target).replace("//","/")]=r}function eh(t,e){t&&!t.SSF&&(t.SSF=g.get_table()),t&&t.SSF&&(m(g),g.load_table(t.SSF),e.revssf=_(t.SSF),e.revssf[t.SSF[65535]]=0),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0;var i="xlsb"==e.bookType?"bin":"xml",n={workbooks:[],sheets:[],calcchains:[],themes:[],styles:[],coreprops:[],extprops:[],custprops:[],strs:[],comments:[],vba:[],TODO:[],rels:[],xmlns:""};Zu(e=e||{});var r,o,a,s=new y,l="",c=0;for(e.cellXfs=[],Ic(e.cellXfs,{},{revssf:{General:0}}),l="docProps/core.xml",s.file(l,function(t,e){var i=[yt,Le],n={};if(e&&e.Props&&(e.Props.title&&(i[i.length]="<dc:title>"+e.Props.title+"</dc:title>"),e.Props.subject&&(i[i.length]="<dc:subject>"+e.Props.subject+"</dc:subject>"),e.Props.creator&&(i[i.length]="<dc:creator>"+e.Props.creator+"</dc:creator>"),e.Props.keywords&&(i[i.length]="<cp:keywords>"+e.Props.keywords+"</cp:keywords>"),e.Props.description&&(i[i.length]="<dc:description>"+e.Props.description+"</dc:description>")),t){null!=t.CreatedDate&&xe("dcterms:created","string"==typeof t.CreatedDate?t.CreatedDate:rt(t.CreatedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},i,n),null!=t.ModifiedDate&&xe("dcterms:modified","string"==typeof t.ModifiedDate?t.ModifiedDate:rt(t.ModifiedDate,e.WTF),{"xsi:type":"dcterms:W3CDTF"},i,n);for(var r=0;r!=ye.length;++r){var o=ye[r];xe(o[0],t[o[1]],null,i,n)}}return i.length>2&&(i[i.length]="</cp:coreProperties>",i[1]=i[1].replace("/>",">")),i.join("")}(t.Props,e)),n.coreprops.push(l),th(e.rels,2,l,pe.CORE_PROPS),l="docProps/app.xml",t.Props||(t.Props={}),t.Props.SheetNames=t.SheetNames,t.Props.Worksheets=t.SheetNames.length,s.file(l,(r=t.Props,o=[],a=nt,r||(r={}),r.Application="SheetJS",o[o.length]=yt,o[o.length]=_e,we.forEach(function(t){if(void 0!==r[t[1]]){var e;switch(t[2]){case"string":e=r[t[1]];break;case"bool":e=r[t[1]]?"true":"false"}void 0!==e&&(o[o.length]=a(t[0],e))}}),o[o.length]=a("HeadingPairs",a("vt:vector",a("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+a("vt:variant",a("vt:i4",String(r.Worksheets))),{size:2,baseType:"variant"})),o[o.length]=a("TitlesOfParts",a("vt:vector",r.SheetNames.map(function(t){return"<vt:lpstr>"+t+"</vt:lpstr>"}).join(""),{size:r.Worksheets,baseType:"lpstr"})),o.length>2&&(o[o.length]="</Properties>",o[1]=o[1].replace("/>",">")),o.join(""))),n.extprops.push(l),th(e.rels,3,l,pe.EXT_PROPS),t.Custprops!==t.Props&&w(t.Custprops||{}).length>0&&(l="docProps/custom.xml",s.file(l,ke(t.Custprops)),n.custprops.push(l),th(e.rels,4,l,pe.CUST_PROPS)),l="xl/workbook."+i,s.file(l,Su(t,l,e)),n.workbooks.push(l),th(e.rels,1,l,pe.WB),c=1;c<=t.SheetNames.length;++c)l="xl/worksheets/sheet"+c+"."+i,s.file(l,Cu(c-1,l,e,t)),n.sheets.push(l),th(e.wbrels,c,"worksheets/sheet"+c+"."+i,pe.WS);return null!=e.Strings&&e.Strings.length>0&&(l="xl/sharedStrings."+i,s.file(l,Tu(e.Strings,l,e)),n.strs.push(l),th(e.wbrels,++c,"sharedStrings."+i,pe.SST)),l="xl/theme/theme1.xml",s.file(l,function(t){return t.themeXml?t.themeXml:'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="1F497D"/></a:dk2><a:lt2><a:srgbClr val="EEECE1"/></a:lt2><a:accent1><a:srgbClr val="4F81BD"/></a:accent1><a:accent2><a:srgbClr val="C0504D"/></a:accent2><a:accent3><a:srgbClr val="9BBB59"/></a:accent3><a:accent4><a:srgbClr val="8064A2"/></a:accent4><a:accent5><a:srgbClr val="4BACC6"/></a:accent5><a:accent6><a:srgbClr val="F79646"/></a:accent6><a:hlink><a:srgbClr val="0000FF"/></a:hlink><a:folHlink><a:srgbClr val="800080"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Cambria"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="MS Pゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="宋体"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:majorFont><a:minorFont><a:latin typeface="Calibri"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="MS Pゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="宋体"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="1"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="16200000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln><a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw></a:effectLst><a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d><a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs></a:gsLst><a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:spDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style></a:spDef><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/></a:theme>'}(e)),n.themes.push(l),th(e.wbrels,++c,"theme/theme1.xml",pe.THEME),l="xl/styles."+i,s.file(l,ku(t,l,e)),n.styles.push(l),th(e.wbrels,++c,"styles."+i,pe.STY),s.file("[Content_Types].xml",function(t,e){var i,n=[];n[n.length]=yt,n[n.length]=de,n=n.concat(fe);var r,o=function(r){t[r]&&t[r].length>0&&(i=t[r][0],n[n.length]=nt("Override",null,{PartName:("/"==i[0]?"":"/")+i,ContentType:ue[r][e.bookType||"xlsx"]}))},a=function(e){(t[e]||[]).forEach(function(t){n[n.length]=nt("Override",null,{PartName:("/"==t[0]?"":"/")+t,ContentType:he[e][0]})})};return o("workbooks"),t[r="sheets"].forEach(function(t){n[n.length]=nt("Override",null,{PartName:("/"==t[0]?"":"/")+t,ContentType:ue[r][e.bookType||"xlsx"]})}),a("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(a),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}(n,e)),s.file("_rels/.rels",ve(e.rels)),s.file("xl/_rels/workbook."+i+".rels",ve(e.wbrels)),s}function ih(t,e){var i,n=t,r=!1,o=e||{};switch(o.type||(o.type=c&&Buffer.isBuffer(t)?"buffer":"base64"),"file"==o.type&&(r=!0,o.type="buffer",n=v.readFileSync(t)),i=function(t,e){switch((e||{}).type||"base64"){case"buffer":return t[0];case"base64":return l.decode(t.substr(0,12)).charCodeAt(0);case"binary":return t.charCodeAt(0);case"array":return t[0];default:throw new Error("Unrecognized type "+e.type)}}(n,o)){case 208:return r&&(o.type="file"),Uu(L.read(t,o),o);case 9:return Uu(h("base64"===o.type?l.decode(t):t),o);case 60:return function(t,e){switch($u(e=e||{}),e.type||"base64"){case"base64":return zu(l.decode(t),e);case"binary":case"buffer":case"file":return zu(t,e);case"array":return zu(t.map(Mu).join(""),e)}}(n,o);case 80:return r&&(o.type="file"),function(t,e){var i,n=t,r=e||{};switch(r.type||(r.type=c&&Buffer.isBuffer(t)?"buffer":"base64"),r.type){case"base64":i=new y(n,{base64:!0});break;case"binary":case"array":i=new y(n,{base64:!1});break;case"buffer":i=new y(n);break;case"file":i=new y(n=v.readFileSync(t));break;default:throw new Error("Unrecognized type "+r.type)}return Ju(i,r)}(t,e);default:throw new Error("Unsupported file "+i)}}function nh(t,e){var i=e||{};i.type="file";var n=ih(t,i);return n.FILENAME=t,n}function rh(t,e){var i=e||{};switch(i.bookType){case"xml":return;default:return function(t,e){var i=e||{};style_builder=new Sh(e);var n=eh(t,i);switch(i.type){case"base64":return n.generate({type:"base64"});case"binary":return n.generate({type:"string"});case"buffer":return n.generate({type:"nodebuffer"});case"file":return v.writeFileSync(i.file,n.generate({type:"nodebuffer"}));default:throw new Error("Unrecognized type "+i.type)}}(t,i)}}function oh(t,e,i){var n=i||{};switch(n.type="file",n.file=e,n.file.substr(-5).toLowerCase()){case".xlsx":n.bookType="xlsx";break;case".xlsm":n.bookType="xlsm";break;case".xlsb":n.bookType="xlsb";break;default:switch(n.file.substr(-4).toLowerCase()){case".xls":n.bookType="xls";break;case".xml":n.bookType="xml"}}return rh(t,n)}function ah(t){return parseInt(lh(t),10)-1}function sh(t){return""+(t+1)}function lh(t){return t.replace(/\$(\d+)$/,"$1")}function ch(t){for(var e=hh(t),i=0,n=0;n!==e.length;++n)i=26*i+e.charCodeAt(n)-64;return i-1}function uh(t){var e="";for(++t;t;t=Math.floor((t-1)/26))e=String.fromCharCode((t-1)%26+65)+e;return e}function hh(t){return t.replace(/^\$([A-Z])/,"$1")}function dh(t){return t.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function fh(t){var e=dh(t);return{c:ch(e[0]),r:ah(e[1])}}function ph(t){return uh(t.c)+sh(t.r)}function gh(t,e){return void 0===e||"number"==typeof e?gh(t.s,t.e):("string"!=typeof t&&(t=ph(t)),"string"!=typeof e&&(e=ph(e)),t==e?t:t+":"+e)}function mh(t){var e={s:{c:0,r:0},e:{c:0,r:0}},i=0,n=0,r=0,o=t.length;for(i=0;n<o&&!((r=t.charCodeAt(n)-64)<1||r>26);++n)i=26*i+r;for(e.s.c=--i,i=0;n<o&&!((r=t.charCodeAt(n)-48)<0||r>9);++n)i=10*i+r;if(e.s.r=--i,n===o||58===t.charCodeAt(++n))return e.e.c=e.s.c,e.e.r=e.s.r,e;for(i=0;n!=o&&!((r=t.charCodeAt(n)-64)<1||r>26);++n)i=26*i+r;for(e.e.c=--i,i=0;n!=o&&!((r=t.charCodeAt(n)-48)<0||r>9);++n)i=10*i+r;return e.e.r=--i,e}function vh(t,e){if(void 0!==t.z)try{return t.w=g.format(t.z,e)}catch(t){}if(!t.XF)return e;try{return t.w=g.format(t.XF.ifmt||0,e)}catch(t){return""+e}}function yh(t,e){return null==t||null==t.t?"":void 0!==t.w?t.w:vh(t,void 0===e?t.v:e)}function bh(t,e){var i,n,r,o,a,s,l,c,u=0,h=1,d=[],f=null!=e?e:{},p=f.raw;if(null==t||null==t["!ref"])return[];switch(r=void 0!==f.range?f.range:t["!ref"],1===f.header?u=1:"A"===f.header?u=2:Array.isArray(f.header)&&(u=3),typeof r){case"string":o=mh(r);break;case"number":(o=mh(t["!ref"])).s.r=r;break;default:o=r}u>0&&(h=0);var g=sh(o.s.r),m=new Array(o.e.c-o.s.c+1),v=new Array(o.e.r-o.s.r-h+1),y=0;for(l=o.s.c;l<=o.e.c;++l)switch(m[l]=uh(l),i=t[m[l]+g],u){case 1:d[l]=l;break;case 2:d[l]=m[l];break;case 3:d[l]=f.header[l-o.s.c];break;default:if(void 0===i)continue;d[l]=yh(i)}for(s=o.s.r+h;s<=o.e.r;++s){for(g=sh(s),a=!0,1===u?n=[]:(n={},Object.defineProperty?Object.defineProperty(n,"__rowNum__",{value:s,enumerable:!1}):n.__rowNum__=s),l=o.s.c;l<=o.e.c;++l)if(void 0!==(i=t[m[l]+g])&&void 0!==i.t){switch(c=i.v,i.t){case"e":continue;case"s":break;case"b":case"n":break;default:throw"unrecognized type "+i.t}void 0!==c&&(n[d[l]]=p?c:yh(i,c),a=!1)}!1!==a&&1!==u||(v[y++]=n)}return v.length=y,v}function Lh(t,e){var i="",n="",r=/"/g,o=null==e?{}:e;if(null==t||null==t["!ref"])return"";var a,s=mh(t["!ref"]),l=void 0!==o.FS?o.FS:",",c=l.charCodeAt(0),u=void 0!==o.RS?o.RS:"\n",h=u.charCodeAt(0),d="",f="",p=[],g=0,m=0,v=0,y=0;for(y=s.s.c;y<=s.e.c;++y)p[y]=uh(y);for(v=s.s.r;v<=s.e.r;++v){for(d="",f=sh(v),y=s.s.c;y<=s.e.c;++y){for(n=void 0!==(a=t[p[y]+f])?""+yh(a):"",g=0,m=0;g!==n.length;++g)if((m=n.charCodeAt(g))===c||m===h||34===m){n='"'+n.replace(r,'""')+'"';break}d+=(y===s.s.c?"":l)+n}i+=d+u}return i}function xh(t){var e,i,n="",r="";if(null==t||null==t["!ref"])return"";var o,a=mh(t["!ref"]),s="",l=[];e=new Array((a.e.r-a.s.r+1)*(a.e.c-a.s.c+1));var c=0;for(o=a.s.c;o<=a.e.c;++o)l[o]=uh(o);for(var u=a.s.r;u<=a.e.r;++u)for(s=sh(u),o=a.s.c;o<=a.e.c;++o)if(r="",void 0!==(i=t[n=l[o]+s])){if(null!=i.f)r=i.f;else if(void 0!==i.w)r="'"+i.w;else{if(void 0===i.v)continue;r=""+i.v}e[c++]=n+"="+r}return e.length=c,e}var wh={encode_col:uh,encode_row:sh,encode_cell:ph,encode_range:gh,decode_col:ch,decode_row:ah,split_cell:dh,decode_cell:fh,decode_range:function(t){var e=t.split(":").map(fh);return{s:e[0],e:e[e.length-1]}},format_cell:yh,get_formulae:xh,make_csv:Lh,make_json:bh,make_formulae:xh,sheet_to_csv:Lh,sheet_to_json:bh,sheet_to_formulae:xh,sheet_to_row_object_array:function(t,e){return bh(t,null!=e?e:{})}},_h=function(){function t(e,i,n){return this instanceof t?(this.tagName=e,this._attributes=i||{},this._children=n||[],this._prefix="",this):new t(e,i,n)}t.prototype.createElement=function(){return new t(arguments)},t.prototype.children=function(){return this._children},t.prototype.append=function(t){return this._children.push(t),this},t.prototype.prefix=function(t){return 0==arguments.length?this._prefix:(this._prefix=t,this)},t.prototype.attr=function(t,e){if(null==e)return delete this._attributes[t],this;if(0==arguments.length)return this._attributes;if("string"==typeof t&&1==arguments.length)return this._attributes.attr[t];if("object"==typeof t&&1==arguments.length)for(var i in t)this._attributes[i]=t[i];else 2==arguments.length&&"string"==typeof t&&(this._attributes[t]=e);return this};QUOTE='"';var e={};return e[QUOTE]="&quot;",e["'"]="&apos;",t.prototype.escapeAttributeValue=function(t){return'"'+t.replace(/\"/g,"&quot;")+'"'},t.prototype.toXml=function(t){t||(t=this);var e=t._prefix;if(e+="<"+t.tagName,t._attributes)for(var i in t._attributes)e+=" "+i+"="+this.escapeAttributeValue(""+t._attributes[i]);if(t._children&&t._children.length>0){e+=">";for(var n=0;n<t._children.length;n++)e+=this.toXml(t._children[n]);e+="</"+t.tagName+">"}else e+="/>";return e},t}(),Sh=function(t){var e=164,i={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},n={};for(var r in i)n[i[r]]=r;return _hashIndex={},_listIndex=[],{initialize:function(t){this.$fonts=_h("fonts").attr("count",0).attr("x14ac:knownFonts","1"),this.$fills=_h("fills").attr("count",0),this.$borders=_h("borders").attr("count",0),this.$numFmts=_h("numFmts").attr("count",0),this.$cellStyleXfs=_h("cellStyleXfs"),this.$xf=_h("xf").attr("numFmtId",0).attr("fontId",0).attr("fillId",0).attr("borderId",0),this.$cellXfs=_h("cellXfs").attr("count",0),this.$cellStyles=_h("cellStyles").append(_h("cellStyle").attr("name","Normal").attr("xfId",0).attr("builtinId",0)),this.$dxfs=_h("dxfs").attr("count","0"),this.$tableStyles=_h("tableStyles").attr("count","0").attr("defaultTableStyle","TableStyleMedium9").attr("defaultPivotStyle","PivotStyleMedium4"),this.$styles=_h("styleSheet").attr("xmlns:mc","http://schemas.openxmlformats.org/markup-compatibility/2006").attr("xmlns:x14ac","http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac").attr("xmlns","http://schemas.openxmlformats.org/spreadsheetml/2006/main").attr("mc:Ignorable","x14ac").prefix('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>').append(this.$numFmts).append(this.$fonts).append(this.$fills).append(this.$borders).append(this.$cellStyleXfs.append(this.$xf)).append(this.$cellXfs).append(this.$cellStyles).append(this.$dxfs).append(this.$tableStyles);var e=t.defaultCellStyle||{};e.font||(e.font={name:"Calibri",sz:"12"}),e.font.name||(e.font.name="Calibri"),e.font.sz||(e.font.sz=11),e.fill||(e.fill={patternType:"none",fgColor:{}}),e.border||(e.border={}),e.numFmt||(e.numFmt=0),this.defaultStyle=e;var i=JSON.parse(JSON.stringify(e));return i.fill={patternType:"gray125",fgColor:{}},this.addStyles([e,i]),this},addStyle:function(t){var e=JSON.stringify(t),i=_hashIndex[e];return null==i?(i=this._addXf(t),_hashIndex[e]=i):i=_hashIndex[e],i},addStyles:function(t){var e=this;return t.map(function(t){return e.addStyle(t)})},_duckTypeStyle:function(t){return"object"==typeof t&&(t.patternFill||t.fgColor)?{fill:t}:t.font||t.numFmt||t.border||t.fill?t:this._getStyleCSS(t)},_getStyleCSS:function(t){return t},_addXf:function(t){var e=this._addFont(t.font),i=this._addFill(t.fill),n=this._addBorder(t.border),r=this._addNumFmt(t.numFmt),o=_h("xf").attr("numFmtId",r).attr("fontId",e).attr("fillId",i).attr("borderId",n).attr("xfId","0");if(e>0&&o.attr("applyFont","1"),i>0&&o.attr("applyFill","1"),n>0&&o.attr("applyBorder","1"),r>0&&o.attr("applyNumberFormat","1"),t.alignment){var a=_h("alignment");t.alignment.horizontal&&a.attr("horizontal",t.alignment.horizontal),t.alignment.vertical&&a.attr("vertical",t.alignment.vertical),t.alignment.indent&&a.attr("indent",t.alignment.indent),t.alignment.readingOrder&&a.attr("readingOrder",t.alignment.readingOrder),t.alignment.wrapText&&a.attr("wrapText",t.alignment.wrapText),null!=t.alignment.textRotation&&a.attr("textRotation",t.alignment.textRotation),o.append(a).attr("applyAlignment",1)}this.$cellXfs.append(o);var s=+this.$cellXfs.children().length;return this.$cellXfs.attr("count",s),s-1},_addFont:function(t){if(!t)return 0;var e=_h("font").append(_h("sz").attr("val",t.sz||this.defaultStyle.font.sz)).append(_h("name").attr("val",t.name||this.defaultStyle.font.name));t.bold&&e.append(_h("b")),t.underline&&e.append(_h("u")),t.italic&&e.append(_h("i")),t.strike&&e.append(_h("strike")),t.outline&&e.append(_h("outline")),t.shadow&&e.append(_h("shadow")),t.vertAlign&&e.append(_h("vertAlign").attr("val",t.vertAlign)),t.color&&(t.color.theme?(e.append(_h("color").attr("theme",t.color.theme)),t.color.tint&&e.append(_h("tint").attr("theme",t.color.tint))):t.color.rgb&&e.append(_h("color").attr("rgb",t.color.rgb))),this.$fonts.append(e);var i=this.$fonts.children().length;return this.$fonts.attr("count",i),i-1},_addNumFmt:function(t){if(!t)return 0;if("string"==typeof t){var i=n[t];if(i>=0)return i}if(/^[0-9]+$/.exec(t))return t;t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");var r=_h("numFmt").attr("numFmtId",++e).attr("formatCode",t);this.$numFmts.append(r);var o=this.$numFmts.children().length;return this.$numFmts.attr("count",o),e},_addFill:function(t){if(!t)return 0;var e=_h("patternFill").attr("patternType",t.patternType||"solid");if(t.fgColor){var i=_h("fgColor");t.fgColor.rgb?(6==t.fgColor.rgb.length&&(t.fgColor.rgb="FF"+t.fgColor.rgb),i.attr("rgb",t.fgColor.rgb),e.append(i)):t.fgColor.theme&&(i.attr("theme",t.fgColor.theme),t.fgColor.tint&&i.attr("tint",t.fgColor.tint),e.append(i)),t.bgColor||(t.bgColor={indexed:"64"})}if(t.bgColor){var n=_h("bgColor").attr(t.bgColor);e.append(n)}var r=_h("fill").append(e);this.$fills.append(r);var o=this.$fills.children().length;return this.$fills.attr("count",o),o-1},_getSubBorder:function(t,e){var i=_h(t);if(e&&(e.style&&i.attr("style",e.style),e.color)){var n=_h("color");e.color.auto?n.attr("auto",e.color.auto):e.color.rgb?n.attr("rgb",e.color.rgb):(e.color.theme||e.color.tint)&&(n.attr("theme",e.color.theme||"1"),n.attr("tint",e.color.tint||"0")),i.append(n)}return i},_addBorder:function(t){if(!t)return 0;var e=this,i=_h("border").attr("diagonalUp",t.diagonalUp).attr("diagonalDown",t.diagonalDown);["left","right","top","bottom","diagonal"].forEach(function(n){i.append(e._getSubBorder(n,t[n]))}),this.$borders.append(i);var n=this.$borders.children().length;return this.$borders.attr("count",n),n-1},toXml:function(){return this.$styles.toXml()}}.initialize(t||{})};t.parse_xlscfb=Uu,t.parse_zip=Ju,t.read=ih,t.readFile=nh,t.readFileSync=nh,t.write=rh,t.writeFile=oh,t.writeFileSync=oh,t.utils=wh,t.CFB=L,t.SSF=g}("undefined"!=typeof exports?exports:XLSX);var XLS=XLSX;if(function(t,e){"object"==typeof exports&&"string"!=typeof exports.nodeName?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("blobjs requires a window with a document");return e(t)}:e(t)}(window||this,function(t,e){"use strict";var i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);if(t.URL=t.URL||t.webkitURL,t.Blob&&t.URL&&!i)try{return new t.Blob,"function"==typeof define&&define.amd&&define("blobjs",[],function(){return t.Blob}),t.Blob}catch(t){}var n=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||function(t){var e=function(t){return Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1]},i=function(){this.data=[]},n=function(t,e,i){this.data=t,this.size=t.length,this.type=e,this.encoding=i},r=i.prototype,o=n.prototype,a=t.FileReaderSync,s=function(t){this.code=this[this.name=t]},l="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),c=l.length,u=t.URL||t.webkitURL||t,h=u.createObjectURL,d=u.revokeObjectURL,f=u,p=t.btoa,g=t.atob,m=t.ArrayBuffer,v=t.Uint8Array,y=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(n.fake=o.fake=!0;c--;)s.prototype[l[c]]=c+1;return u.createObjectURL||(f=t.URL=function(t){var e,i=document.createElementNS("http://www.w3.org/1999/xhtml","a");return i.href=t,"origin"in i||("data:"===i.protocol.toLowerCase()?i.origin=null:(e=t.match(y),i.origin=e&&e[1])),i}),f.createObjectURL=function(t){var e,i=t.type;return null===i&&(i="application/octet-stream"),t instanceof n?(e="data:"+i,"base64"===t.encoding?e+";base64,"+t.data:"URI"===t.encoding?e+","+decodeURIComponent(t.data):p?e+";base64,"+p(t.data):e+","+encodeURIComponent(t.data)):h?h.call(u,t):void 0},f.revokeObjectURL=function(t){"data:"!==t.substring(0,5)&&d&&d.call(u,t)},r.append=function(t){var i=this.data;if(v&&(t instanceof m||t instanceof v)){for(var r="",o=new v(t),l=0,c=o.length;l<c;l++)r+=String.fromCharCode(o[l]);i.push(r)}else if("Blob"===e(t)||"File"===e(t)){if(!a)throw new s("NOT_READABLE_ERR");var u=new a;i.push(u.readAsBinaryString(t))}else t instanceof n?"base64"===t.encoding&&g?i.push(g(t.data)):"URI"===t.encoding?i.push(decodeURIComponent(t.data)):"raw"===t.encoding&&i.push(t.data):("string"!=typeof t&&(t+=""),i.push(unescape(encodeURIComponent(t))))},r.getBlob=function(t){return arguments.length||(t=null),new n(this.data.join(""),t,"raw")},r.toString=function(){return"[object BlobBuilder]"},o.slice=function(t,e,i){var r=arguments.length;return r<3&&(i=null),new n(this.data.slice(t,r>1?e:this.data.length),i,this.encoding)},o.toString=function(){return"[object Blob]"},o.close=function(){this.size=0,delete this.data},i}(t),r=function(t,e){var i=e&&e.type||"",r=new n;if(t)for(var o=0,a=t.length;o<a;o++)Uint8Array&&t[o]instanceof Uint8Array?r.append(t[o].buffer):r.append(t[o]);var s=r.getBlob(i);return!s.slice&&s.webkitSlice&&(s.slice=s.webkitSlice),s},o=Object.getPrototypeOf||function(t){return t.__proto__};return r.prototype=o(new t.Blob),"function"==typeof define&&define.amd&&define("blobjs",[],function(){return r}),void 0===e&&(t.Blob=r),r}),function(t,e){"object"==typeof exports&&"string"!=typeof exports.nodeName?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("FileSaver requires a window with a document");return e(t)}:e(t)}(window||this,function(t,e){"use strict";if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var i=t.document,n=function(){return t.URL||t.webkitURL||t},r=i.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,a=/constructor/i.test(t.HTMLElement)||t.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent),l=function(e){(t.setImmediate||t.setTimeout)(function(){throw e},0)},c=function(t){setTimeout(function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()},4e4)},u=function(t,e,i){for(var n=(e=[].concat(e)).length;n--;){var r=t["on"+e[n]];if("function"==typeof r)try{r.call(t,i||t)}catch(t){l(t)}}},h=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},d=function(e,i,l){l||(e=h(e));var d,f=this,p="application/octet-stream"===e.type,g=function(){u(f,"writestart progress write writeend".split(" "))};if(f.readyState=f.INIT,o)return d=n().createObjectURL(e),void setTimeout(function(){var t,e;r.href=d,r.download=i,t=r,e=new MouseEvent("click"),t.dispatchEvent(e),g(),c(d),f.readyState=f.DONE});!function(){if((s||p&&a)&&t.FileReader){var i=new FileReader;return i.onloadend=function(){var e=s?i.result:i.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),e=void 0,f.readyState=f.DONE,g()},i.readAsDataURL(e),void(f.readyState=f.INIT)}d||(d=n().createObjectURL(e)),p?t.location.href=d:t.open(d,"_blank")||(t.location.href=d);f.readyState=f.DONE,g(),c(d)}()},f=d.prototype,p=function(t,e,i){return new d(t,e||t.name||"download",i)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob&&(p=function(t,e,i){return e=e||t.name||"download",i||(t=h(t)),navigator.msSaveOrOpenBlob(t,e)}),f.abort=function(){},f.readyState=f.INIT=0,f.WRITING=1,f.DONE=2,f.error=f.onwritestart=f.onprogress=f.onwrite=f.onabort=f.onerror=f.onwriteend=null,"function"==typeof define&&define.amd&&define("file-saverjs",[],function(){return p}),void 0===e&&(t.saveAs=p),p}}),"undefined"==typeof jQuery)throw new Error("Tabledit requires jQuery library.");!function(t){"use strict";t.fn.Tabledit=function(e){if(!this.is("table"))throw new Error("Tabledit only works when applied to a table.");var i=this,n={url:window.location.href,inputClass:"form-control input-sm",toolbarClass:"btn-toolbar",groupClass:"btn-group btn-group-sm",dangerClass:"danger",warningClass:"warning",mutedClass:"text-muted",eventType:"click",rowIdentifier:"id",hideIdentifier:!1,autoFocus:!0,editButton:!0,deleteButton:!0,saveButton:!0,restoreButton:!0,buttons:{edit:{class:"btn btn-sm btn-default",html:'<span class="glyphicon glyphicon-pencil"></span>',action:"edit"},delete:{class:"btn btn-sm btn-default",html:'<span class="glyphicon glyphicon-trash"></span>',action:"delete"},save:{class:"btn btn-sm btn-success",html:"Save"},restore:{class:"btn btn-sm btn-warning",html:"Restore",action:"restore"},confirm:{class:"btn btn-sm btn-danger",html:"Confirm"}},onDraw:function(){},onSuccess:function(){},onFail:function(){},onAlways:function(){},onAjax:function(){}},r=t.extend(!0,n,e),o="undefined",a="undefined",s={identifier:function(){r.hideIdentifier&&i.find("th:nth-child("+parseInt(r.columns.identifier[0])+"1), tbody td:nth-child("+parseInt(r.columns.identifier[0])+"1)").hide(),i.find("tbody td:nth-child("+(parseInt(r.columns.identifier[0])+1)+")").each(function(){var e='<span class="tabledit-span tabledit-identifier">'+t(this).text()+"</span>",i='<input class="tabledit-input tabledit-identifier" type="hidden" name="'+r.columns.identifier[1]+'" value="'+t(this).text()+'" disabled>';t(this).html(e+i),t(this).parent("tr").attr(r.rowIdentifier,t(this).text())})},editable:function(){for(var e=0;e<r.columns.editable.length;e++){i.find("tbody td:nth-child("+(parseInt(r.columns.editable[e][0])+1)+")").each(function(){var i=t(this).text();r.editButton||t(this).css("cursor","pointer");var n='<span class="tabledit-span">'+i+"</span>";if(void 0!==r.columns.editable[e][2]){var o='<select class="tabledit-input '+r.inputClass+'" name="'+r.columns.editable[e][1]+'" style="display: none;" disabled>';t.each(jQuery.parseJSON(r.columns.editable[e][2]),function(t,e){o+=i===e?'<option value="'+t+'" selected>'+e+"</option>":'<option value="'+t+'">'+e+"</option>"}),o+="</select>"}else o='<input class="tabledit-input '+r.inputClass+'" type="text" name="'+r.columns.editable[e][1]+'" value="'+t(this).text()+'" style="display: none;" disabled>';t(this).html(n+o),t(this).addClass("tabledit-view-mode")})}},toolbar:function(){if(r.editButton||r.deleteButton){var t="",e="",n="",o="",a="";0===i.find("th.tabledit-toolbar-column").length&&i.find("tr:first").append('<th class="tabledit-toolbar-column"></th>'),r.editButton&&(t='<button type="button" class="tabledit-edit-button '+r.buttons.edit.class+'" style="float: none;">'+r.buttons.edit.html+"</button>"),r.deleteButton&&(e='<button type="button" class="tabledit-delete-button '+r.buttons.delete.class+'" style="float: none;">'+r.buttons.delete.html+"</button>",a='<button type="button" class="tabledit-confirm-button '+r.buttons.confirm.class+'" style="display: none; float: none;">'+r.buttons.confirm.html+"</button>"),r.editButton&&r.saveButton&&(n='<button type="button" class="tabledit-save-button '+r.buttons.save.class+'" style="display: none; float: none;">'+r.buttons.save.html+"</button>"),r.deleteButton&&r.restoreButton&&(o='<button type="button" class="tabledit-restore-button '+r.buttons.restore.class+'" style="display: none; float: none;">'+r.buttons.restore.html+"</button>");var s='<div class="tabledit-toolbar '+r.toolbarClass+'" style="text-align: left;">\n <div class="'+r.groupClass+'" style="float: none;">'+t+e+"</div>\n "+n+"\n "+a+"\n "+o+"\n </div></div>";i.find("tbody>tr").append('<td style="white-space: nowrap; width: 1%;">'+s+"</td>")}}},l=function(e){var i=t(e).parent("tr");t(e).parent("tr").find(".tabledit-input.tabledit-identifier").prop("disabled",!0),t(e).find(".tabledit-input").blur().hide().prop("disabled",!0),t(e).find(".tabledit-span").show(),t(e).addClass("tabledit-view-mode").removeClass("tabledit-edit-mode"),r.editButton&&(i.find("button.tabledit-save-button").hide(),i.find("button.tabledit-edit-button").removeClass("active").blur())},c=function(e){d.reset(e);var i=t(e).parent("tr");i.find(".tabledit-input.tabledit-identifier").prop("disabled",!1),t(e).find(".tabledit-span").hide();var n=t(e).find(".tabledit-input");n.prop("disabled",!1).show(),r.autoFocus&&n.focus(),t(e).addClass("tabledit-edit-mode").removeClass("tabledit-view-mode"),r.editButton&&(i.find("button.tabledit-edit-button").addClass("active"),i.find("button.tabledit-save-button").show())},u=function(e){t(e).each(function(){var e=t(this).find(".tabledit-input"),i=t(this).find(".tabledit-span").text();e.is("select")?e.find("option").filter(function(){return t.trim(t(this).text())===i}).attr("selected",!0):e.val(i),l(this)})},h=function(e){!1!==f(r.buttons.edit.action)&&(t(e).each(function(){var e=t(this).find(".tabledit-input");e.is("select")?t(this).find(".tabledit-span").text(e.find("option:selected").text()):t(this).find(".tabledit-span").text(e.val()),l(this)}),o=t(e).parent("tr"))},d={reset:function(t){i.find(".tabledit-confirm-button").hide(),i.find(".tabledit-delete-button").removeClass("active").blur()},submit:function(e){d.reset(e),t(e).parent("tr").find("input.tabledit-identifier").attr("disabled",!1);var i=f(r.buttons.delete.action);t(e).parents("tr").find("input.tabledit-identifier").attr("disabled",!0),!1!==i&&(t(e).parent("tr").addClass("tabledit-deleted-row"),t(e).parent("tr").addClass(r.mutedClass).find(".tabledit-toolbar button:not(.tabledit-restore-button)").attr("disabled",!0),t(e).find(".tabledit-restore-button").show(),a=t(e).parent("tr"))},confirm:function(e){i.find("td.tabledit-edit-mode").each(function(){u(this)}),t(e).find(".tabledit-delete-button").addClass("active"),t(e).find(".tabledit-confirm-button").show()},restore:function(e){t(e).parent("tr").find("input.tabledit-identifier").attr("disabled",!1);var i=f(r.buttons.restore.action);t(e).parents("tr").find("input.tabledit-identifier").attr("disabled",!0),!1!==i&&(t(e).parent("tr").removeClass("tabledit-deleted-row"),t(e).parent("tr").removeClass(r.mutedClass).find(".tabledit-toolbar button").attr("disabled",!1),t(e).find(".tabledit-restore-button").hide(),t(e).parent("tr"))}};function f(e){var n=i.find(".tabledit-input").serialize()+"&action="+e;if(!1===r.onAjax(e,n))return!1;var s=t.post(r.url,n,function(t,n,a){e===r.buttons.edit.action&&(o.removeClass(r.dangerClass).addClass(r.warningClass),setTimeout(function(){i.find("tr."+r.warningClass).removeClass(r.warningClass)},1400)),r.onSuccess(t,n,a)},"json");return s.fail(function(t,i,n){e===r.buttons.delete.action?(a.removeClass(r.mutedClass).addClass(r.dangerClass),a.find(".tabledit-toolbar button").attr("disabled",!1),a.find(".tabledit-toolbar .tabledit-restore-button").hide()):e===r.buttons.edit.action&&o.addClass(r.dangerClass),r.onFail(t,i,n)}),s.always(function(){r.onAlways()}),s}return s.identifier(),s.editable(),s.toolbar(),r.onDraw(),r.deleteButton&&(i.on("click","button.tabledit-delete-button",function(e){if(!0!==e.handled){e.preventDefault();var i=t(this).hasClass("active"),n=t(this).parents("td");d.reset(n),i||d.confirm(n),e.handled=!0}}),i.on("click","button.tabledit-confirm-button",function(e){if(!0!==e.handled){e.preventDefault();var i=t(this).parents("td");d.submit(i),e.handled=!0}})),r.restoreButton&&i.on("click","button.tabledit-restore-button",function(e){!0!==e.handled&&(e.preventDefault(),d.restore(t(this).parents("td")),e.handled=!0)}),r.editButton?(i.on("click","button.tabledit-edit-button",function(e){if(!0!==e.handled){e.preventDefault();var n=t(this),r=n.hasClass("active");u(i.find("td.tabledit-edit-mode")),r||t(n.parents("tr").find("td.tabledit-view-mode").get().reverse()).each(function(){c(this)}),e.handled=!0}}),i.on("click","button.tabledit-save-button",function(e){!0!==e.handled&&(e.preventDefault(),h(t(this).parents("tr").find("td.tabledit-edit-mode")),e.handled=!0)})):(i.on(r.eventType,"tr:not(.tabledit-deleted-row) td.tabledit-view-mode",function(t){!0!==t.handled&&(t.preventDefault(),u(i.find("td.tabledit-edit-mode")),c(this),t.handled=!0)}),i.on("change","select.tabledit-input:visible",function(){!0!==event.handled&&(h(t(this).parent("td")),event.handled=!0)}),t(document).on("click",function(t){var e=i.find(".tabledit-edit-mode");e.is(t.target)||0!==e.has(t.target).length||u(i.find(".tabledit-input:visible").parent("td"))})),t(document).on("keyup",function(t){var e=i.find(".tabledit-input:visible"),n=i.find(".tabledit-confirm-button");if(e.length>0)var o=e.parents("td");else{if(!(n.length>0))return;o=n.parents("td")}switch(t.keyCode){case 9:r.editButton||(h(o),c(o.closest("td").next()));break;case 13:h(o);break;case 27:u(o),d.reset(o)}}),this}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";var t,e;function i(){return t.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t){return void 0===t}function a(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t,e){for(var i in e)c(e,i)&&(t[i]=e[i]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,i,n){return ke(t,e,i,n,!0).utc()}function d(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function f(t){if(null==t._isValid){var i=d(t),n=e.call(i.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&i.overflow<0&&!i.empty&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&n);if(t._strict&&(r=r&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function p(t){var e=h(NaN);return null!=t?u(d(e),t):d(e).userInvalidated=!0,e}e=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var g=i.momentProperties=[];function m(t,e){var i,n,r;if(o(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),o(e._i)||(t._i=e._i),o(e._f)||(t._f=e._f),o(e._l)||(t._l=e._l),o(e._strict)||(t._strict=e._strict),o(e._tzm)||(t._tzm=e._tzm),o(e._isUTC)||(t._isUTC=e._isUTC),o(e._offset)||(t._offset=e._offset),o(e._pf)||(t._pf=d(e)),o(e._locale)||(t._locale=e._locale),0<g.length)for(i=0;i<g.length;i++)o(r=e[n=g[i]])||(t[n]=r);return t}var v=!1;function y(t){m(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,i.updateOffset(this),v=!1)}function b(t){return t instanceof y||null!=t&&null!=t._isAMomentObject}function L(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=L(e)),i}function w(t,e,i){var n,r=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(n=0;n<r;n++)(i&&t[n]!==e[n]||!i&&x(t[n])!==x(e[n]))&&a++;return a+o}function _(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function S(t,e){var n=!0;return u(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}_(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)},e)}var C,k={};function T(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),k[t]||(_(e),k[t]=!0)}function E(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t,e){var i,n=u({},t);for(i in e)c(e,i)&&(r(t[i])&&r(e[i])?(n[i]={},u(n[i],t[i]),u(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)c(t,i)&&!c(e,i)&&r(t[i])&&(n[i]=u({},n[i]));return n}function M(t){null!=t&&this.set(t)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,C=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)c(t,e)&&i.push(e);return i};var D={};function P(t,e){var i=t.toLowerCase();D[i]=D[i+"s"]=D[e]=t}function O(t){return"string"==typeof t?D[t]||D[t.toLowerCase()]:void 0}function I(t){var e,i,n={};for(i in t)c(t,i)&&(e=O(i))&&(n[e]=t[i]);return n}var N={};function R(t,e){N[t]=e}function F(t,e,i){var n=""+Math.abs(t),r=e-n.length;return(0<=t?i?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}var B=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},V={};function j(t,e,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),t&&(V[t]=r),e&&(V[e[0]]=function(){return F(r.apply(this,arguments),e[1],e[2])}),i&&(V[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function W(t,e){return t.isValid()?(e=U(e,t.localeData()),H[e]=H[e]||function(t){var e,i,n,r=t.match(B);for(e=0,i=r.length;e<i;e++)V[r[e]]?r[e]=V[r[e]]:r[e]=(n=r[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,o="";for(n=0;n<i;n++)o+=E(r[n])?r[n].call(e,t):r[n];return o}}(e),H[e](t)):t.localeData().invalidDate()}function U(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(z.lastIndex=0;0<=i&&z.test(t);)t=t.replace(z,n),z.lastIndex=0,i-=1;return t}var Y=/\d/,G=/\d\d/,X=/\d{3}/,q=/\d{4}/,$=/[+-]?\d{6}/,Z=/\d\d?/,K=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,J=/\d{1,3}/,tt=/\d{1,4}/,et=/[+-]?\d{1,6}/,it=/\d+/,nt=/[+-]?\d+/,rt=/Z|[+-]\d\d:?\d\d/gi,ot=/Z|[+-]\d\d(?::?\d\d)?/gi,at=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,st={};function lt(t,e,i){st[t]=E(e)?e:function(t,n){return t&&i?i:e}}function ct(t,e){return c(st,t)?st[t](e._strict,e._locale):new RegExp(ut(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,r){return e||i||n||r})))}function ut(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={};function dt(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),a(e)&&(n=function(t,i){i[e]=x(t)}),i=0;i<t.length;i++)ht[t[i]]=n}function ft(t,e){dt(t,function(t,i,n,r){n._w=n._w||{},e(t,n._w,n,r)})}var pt=0,gt=1,mt=2,vt=3,yt=4,bt=5,Lt=6,xt=7,wt=8;function _t(t){return St(t)?366:365}function St(t){return t%4==0&&t%100!=0||t%400==0}j("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),P("year","y"),R("year",1),lt("Y",nt),lt("YY",Z,G),lt("YYYY",tt,q),lt("YYYYY",et,$),lt("YYYYYY",et,$),dt(["YYYYY","YYYYYY"],pt),dt("YYYY",function(t,e){e[pt]=2===t.length?i.parseTwoDigitYear(t):x(t)}),dt("YY",function(t,e){e[pt]=i.parseTwoDigitYear(t)}),dt("Y",function(t,e){e[pt]=parseInt(t,10)}),i.parseTwoDigitYear=function(t){return x(t)+(68<x(t)?1900:2e3)};var Ct,kt=Tt("FullYear",!0);function Tt(t,e){return function(n){return null!=n?(At(this,t,n),i.updateOffset(this,e),this):Et(this,t)}}function Et(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function At(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&St(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Mt(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Mt(t,e){if(isNaN(t)||isNaN(e))return NaN;var i=(e%12+12)%12;return t+=(e-i)/12,1===i?St(t)?29:28:31-i%7%2}Ct=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},j("M",["MM",2],"Mo",function(){return this.month()+1}),j("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),j("MMMM",0,0,function(t){return this.localeData().months(this,t)}),P("month","M"),R("month",8),lt("M",Z),lt("MM",Z,G),lt("MMM",function(t,e){return e.monthsShortRegex(t)}),lt("MMMM",function(t,e){return e.monthsRegex(t)}),dt(["M","MM"],function(t,e){e[gt]=x(t)-1}),dt(["MMM","MMMM"],function(t,e,i,n){var r=i._locale.monthsParse(t,n,i._strict);null!=r?e[gt]=r:d(i).invalidMonth=t});var Dt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function It(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=x(e);else if(!a(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),Mt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Nt(t){return null!=t?(It(this,t),i.updateOffset(this,!0),this):Et(this,"Month")}var Rt=at,Ft=at;function Bt(){function t(t,e){return e.length-t.length}var e,i,n=[],r=[],o=[];for(e=0;e<12;e++)i=h([2e3,e]),n.push(this.monthsShort(i,"")),r.push(this.months(i,"")),o.push(this.months(i,"")),o.push(this.monthsShort(i,""));for(n.sort(t),r.sort(t),o.sort(t),e=0;e<12;e++)n[e]=ut(n[e]),r[e]=ut(r[e]);for(e=0;e<24;e++)o[e]=ut(o[e]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function zt(t){var e;if(t<100&&0<=t){var i=Array.prototype.slice.call(arguments);i[0]=t+400,e=new Date(Date.UTC.apply(null,i)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)}else e=new Date(Date.UTC.apply(null,arguments));return e}function Ht(t,e,i){var n=7+e-i;return-(7+zt(t,0,n).getUTCDay()-e)%7+n-1}function Vt(t,e,i,n,r){var o,a,s=1+7*(e-1)+(7+i-n)%7+Ht(t,n,r);return a=s<=0?_t(o=t-1)+s:s>_t(t)?(o=t+1,s-_t(t)):(o=t,s),{year:o,dayOfYear:a}}function jt(t,e,i){var n,r,o=Ht(t.year(),e,i),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?n=a+Wt(r=t.year()-1,e,i):a>Wt(t.year(),e,i)?(n=a-Wt(t.year(),e,i),r=t.year()+1):(r=t.year(),n=a),{week:n,year:r}}function Wt(t,e,i){var n=Ht(t,e,i),r=Ht(t+1,e,i);return(_t(t)-n+r)/7}function Ut(t,e){return t.slice(e,7).concat(t.slice(0,e))}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),lt("w",Z),lt("ww",Z,G),lt("W",Z),lt("WW",Z,G),ft(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=x(t)}),j("d",0,"do","day"),j("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),j("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),j("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),lt("d",Z),lt("e",Z),lt("E",Z),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),ft(["dd","ddd","dddd"],function(t,e,i,n){var r=i._locale.weekdaysParse(t,n,i._strict);null!=r?e.d=r:d(i).invalidWeekday=t}),ft(["d","e","E"],function(t,e,i,n){e[n]=x(t)});var Yt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Gt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),qt=at,$t=at,Zt=at;function Kt(){function t(t,e){return e.length-t.length}var e,i,n,r,o,a=[],s=[],l=[],c=[];for(e=0;e<7;e++)i=h([2e3,1]).day(e),n=this.weekdaysMin(i,""),r=this.weekdaysShort(i,""),o=this.weekdays(i,""),a.push(n),s.push(r),l.push(o),c.push(n),c.push(r),c.push(o);for(a.sort(t),s.sort(t),l.sort(t),c.sort(t),e=0;e<7;e++)s[e]=ut(s[e]),l[e]=ut(l[e]),c[e]=ut(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(t,e){j(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function te(t,e){return e._meridiemParse}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Qt),j("k",["kk",2],0,function(){return this.hours()||24}),j("hmm",0,0,function(){return""+Qt.apply(this)+F(this.minutes(),2)}),j("hmmss",0,0,function(){return""+Qt.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)}),Jt("a",!0),Jt("A",!1),P("hour","h"),R("hour",13),lt("a",te),lt("A",te),lt("H",Z),lt("h",Z),lt("k",Z),lt("HH",Z,G),lt("hh",Z,G),lt("kk",Z,G),lt("hmm",K),lt("hmmss",Q),lt("Hmm",K),lt("Hmmss",Q),dt(["H","HH"],vt),dt(["k","kk"],function(t,e,i){var n=x(t);e[vt]=24===n?0:n}),dt(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),dt(["h","hh"],function(t,e,i){e[vt]=x(t),d(i).bigHour=!0}),dt("hmm",function(t,e,i){var n=t.length-2;e[vt]=x(t.substr(0,n)),e[yt]=x(t.substr(n)),d(i).bigHour=!0}),dt("hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[vt]=x(t.substr(0,n)),e[yt]=x(t.substr(n,2)),e[bt]=x(t.substr(r)),d(i).bigHour=!0}),dt("Hmm",function(t,e,i){var n=t.length-2;e[vt]=x(t.substr(0,n)),e[yt]=x(t.substr(n))}),dt("Hmmss",function(t,e,i){var n=t.length-4,r=t.length-2;e[vt]=x(t.substr(0,n)),e[yt]=x(t.substr(n,2)),e[bt]=x(t.substr(r))});var ee,ie=Tt("Hours",!0),ne={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pt,monthsShort:Ot,week:{dow:0,doy:6},weekdays:Yt,weekdaysMin:Xt,weekdaysShort:Gt,meridiemParse:/[ap]\.?m?\.?/i},re={},oe={};function ae(t){return t?t.toLowerCase().replace("_","-"):t}function se(t){var e=null;if(!re[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=ee._abbr,require("./locale/"+t),le(e)}catch(t){}return re[t]}function le(t,e){var i;return t&&((i=o(e)?ue(t):ce(t,e))?ee=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ee._abbr}function ce(t,e){if(null===e)return delete re[t],null;var i,n=ne;if(e.abbr=t,null!=re[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=re[t]._config;else if(null!=e.parentLocale)if(null!=re[e.parentLocale])n=re[e.parentLocale]._config;else{if(null==(i=se(e.parentLocale)))return oe[e.parentLocale]||(oe[e.parentLocale]=[]),oe[e.parentLocale].push({name:t,config:e}),null;n=i._config}return re[t]=new M(A(n,e)),oe[t]&&oe[t].forEach(function(t){ce(t.name,t.config)}),le(t),re[t]}function ue(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ee;if(!n(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,i,n,r,o=0;o<t.length;){for(e=(r=ae(t[o]).split("-")).length,i=(i=ae(t[o+1]))?i.split("-"):null;0<e;){if(n=se(r.slice(0,e).join("-")))return n;if(i&&i.length>=e&&w(r,i,!0)>=e-1)break;e--}o++}return ee}(t)}function he(t){var e,i=t._a;return i&&-2===d(t).overflow&&(e=i[gt]<0||11<i[gt]?gt:i[mt]<1||i[mt]>Mt(i[pt],i[gt])?mt:i[vt]<0||24<i[vt]||24===i[vt]&&(0!==i[yt]||0!==i[bt]||0!==i[Lt])?vt:i[yt]<0||59<i[yt]?yt:i[bt]<0||59<i[bt]?bt:i[Lt]<0||999<i[Lt]?Lt:-1,d(t)._overflowDayOfYear&&(e<pt||mt<e)&&(e=mt),d(t)._overflowWeeks&&-1===e&&(e=xt),d(t)._overflowWeekday&&-1===e&&(e=wt),d(t).overflow=e),t}function de(t,e,i){return null!=t?t:null!=e?e:i}function fe(t){var e,n,r,o,a,s=[];if(!t._d){var l,c;for(l=t,c=new Date(i.now()),r=l._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()],t._w&&null==t._a[mt]&&null==t._a[gt]&&function(t){var e,i,n,r,o,a,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)o=1,a=4,i=de(e.GG,t._a[pt],jt(Te(),1,4).year),n=de(e.W,1),((r=de(e.E,1))<1||7<r)&&(l=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var c=jt(Te(),o,a);i=de(e.gg,t._a[pt],c.year),n=de(e.w,c.week),null!=e.d?((r=e.d)<0||6<r)&&(l=!0):null!=e.e?(r=e.e+o,(e.e<0||6<e.e)&&(l=!0)):r=o}n<1||n>Wt(i,o,a)?d(t)._overflowWeeks=!0:null!=l?d(t)._overflowWeekday=!0:(s=Vt(i,n,r,o,a),t._a[pt]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=de(t._a[pt],r[pt]),(t._dayOfYear>_t(a)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),n=zt(a,0,t._dayOfYear),t._a[gt]=n.getUTCMonth(),t._a[mt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[vt]&&0===t._a[yt]&&0===t._a[bt]&&0===t._a[Lt]&&(t._nextDay=!0,t._a[vt]=0),t._d=(t._useUTC?zt:function(t,e,i,n,r,o,a){var s;return t<100&&0<=t?(s=new Date(t+400,e,i,n,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,i,n,r,o,a),s}).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[vt]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(d(t).weekdayMismatch=!0)}}var pe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ge=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,me=/Z|[+-]\d\d(?::?\d\d)?/,ve=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ye=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],be=/^\/?Date\((\-?\d+)/i;function Le(t){var e,i,n,r,o,a,s=t._i,l=pe.exec(s)||ge.exec(s);if(l){for(d(t).iso=!0,e=0,i=ve.length;e<i;e++)if(ve[e][1].exec(l[1])){r=ve[e][0],n=!1!==ve[e][2];break}if(null==r)return void(t._isValid=!1);if(l[3]){for(e=0,i=ye.length;e<i;e++)if(ye[e][1].exec(l[3])){o=(l[2]||" ")+ye[e][0];break}if(null==o)return void(t._isValid=!1)}if(!n&&null!=o)return void(t._isValid=!1);if(l[4]){if(!me.exec(l[4]))return void(t._isValid=!1);a="Z"}t._f=r+(o||"")+(a||""),Se(t)}else t._isValid=!1}var xe=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;var we={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t){var e,i,n,r=xe.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(r){var o=function(t,e,i,n,r,o){var a=[function(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}(t),Ot.indexOf(e),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return o&&a.push(parseInt(o,10)),a}(r[4],r[3],r[2],r[5],r[6],r[7]);if(i=o,n=t,(e=r[1])&&Gt.indexOf(e)!==new Date(i[0],i[1],i[2]).getDay()&&(d(n).weekdayMismatch=!0,!(n._isValid=!1)))return;t._a=o,t._tzm=function(t,e,i){if(t)return we[t];if(e)return 0;var n=parseInt(i,10),r=n%100;return(n-r)/100*60+r}(r[8],r[9],r[10]),t._d=zt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),d(t).rfc2822=!0}else t._isValid=!1}function Se(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],d(t).empty=!0;var e,n,r,o,a,s,l,u,h=""+t._i,f=h.length,p=0;for(r=U(t._f,t._locale).match(B)||[],e=0;e<r.length;e++)o=r[e],(n=(h.match(ct(o,t))||[])[0])&&(0<(a=h.substr(0,h.indexOf(n))).length&&d(t).unusedInput.push(a),h=h.slice(h.indexOf(n)+n.length),p+=n.length),V[o]?(n?d(t).empty=!1:d(t).unusedTokens.push(o),s=o,u=t,null!=(l=n)&&c(ht,s)&&ht[s](l,u._a,u,s)):t._strict&&!n&&d(t).unusedTokens.push(o);d(t).charsLeftOver=f-p,0<h.length&&d(t).unusedInput.push(h),t._a[vt]<=12&&!0===d(t).bigHour&&0<t._a[vt]&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[vt]=function(t,e,i){var n;return null==i?e:null!=t.meridiemHour?t.meridiemHour(e,i):(null!=t.isPM&&((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0)),e)}(t._locale,t._a[vt],t._meridiem),fe(t),he(t)}else _e(t);else Le(t)}function Ce(t){var e,c,h,g,v=t._i,L=t._f;return t._locale=t._locale||ue(t._l),null===v||void 0===L&&""===v?p({nullInput:!0}):("string"==typeof v&&(t._i=v=t._locale.preparse(v)),b(v)?new y(he(v)):(s(v)?t._d=v:n(L)?function(t){var e,i,n,r,o;if(0===t._f.length)return d(t).invalidFormat=!0,t._d=new Date(NaN);for(r=0;r<t._f.length;r++)o=0,e=m({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[r],Se(e),f(e)&&(o+=d(e).charsLeftOver,o+=10*d(e).unusedTokens.length,d(e).score=o,(null==n||o<n)&&(n=o,i=e));u(t,i||e)}(t):L?Se(t):o(c=(e=t)._i)?e._d=new Date(i.now()):s(c)?e._d=new Date(c.valueOf()):"string"==typeof c?(h=e,null===(g=be.exec(h._i))?(Le(h),!1===h._isValid&&(delete h._isValid,_e(h),!1===h._isValid&&(delete h._isValid,i.createFromInputFallback(h)))):h._d=new Date(+g[1])):n(c)?(e._a=l(c.slice(0),function(t){return parseInt(t,10)}),fe(e)):r(c)?function(t){if(!t._d){var e=I(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),fe(t)}}(e):a(c)?e._d=new Date(c):i.createFromInputFallback(e),f(t)||(t._d=null),t))}function ke(t,e,i,o,a){var s,l={};return!0!==i&&!1!==i||(o=i,i=void 0),(r(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||n(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=i,l._i=t,l._f=e,l._strict=o,(s=new y(he(Ce(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Te(t,e,i,n){return ke(t,e,i,n,!1)}i.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ee=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Te.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:p()}),Ae=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Te.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:p()});function Me(t,e){var i,r;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return Te();for(i=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](i)||(i=e[r]);return i}var De=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pe(t){var e=I(t),i=e.year||0,n=e.quarter||0,r=e.month||0,o=e.week||e.isoWeek||0,a=e.day||0,s=e.hour||0,l=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Ct.call(De,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<De.length;++n)if(t[De[n]]){if(i)return!1;parseFloat(t[De[n]])!==x(t[De[n]])&&(i=!0)}return!0}(e),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*o,this._months=+r+3*n+12*i,this._data={},this._locale=ue(),this._bubble()}function Oe(t){return t instanceof Pe}function Ie(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ne(t,e){j(t,0,0,function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+F(~~(t/60),2)+e+F(~~t%60,2)})}Ne("Z",":"),Ne("ZZ",""),lt("Z",ot),lt("ZZ",ot),dt(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Fe(ot,t)});var Re=/([\+\-]|\d\d)/gi;function Fe(t,e){var i=(e||"").match(t);if(null===i)return null;var n=((i[i.length-1]||[])+"").match(Re)||["-",0,0],r=60*n[1]+x(n[2]);return 0===r?0:"+"===n[0]?r:-r}function Be(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(b(t)||s(t)?t.valueOf():Te(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Te(t).local()}function ze(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function He(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Ve=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,je=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function We(t,e){var i,n,r,o=t,s=null;return Oe(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:a(t)?(o={},e?o[e]=t:o.milliseconds=t):(s=Ve.exec(t))?(i="-"===s[1]?-1:1,o={y:0,d:x(s[mt])*i,h:x(s[vt])*i,m:x(s[yt])*i,s:x(s[bt])*i,ms:x(Ie(1e3*s[Lt]))*i}):(s=je.exec(t))?(i="-"===s[1]?-1:1,o={y:Ue(s[2],i),M:Ue(s[3],i),w:Ue(s[4],i),d:Ue(s[5],i),h:Ue(s[6],i),m:Ue(s[7],i),s:Ue(s[8],i)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=function(t,e){var i;return t.isValid()&&e.isValid()?(e=Be(e,t),t.isBefore(e)?i=Ye(t,e):((i=Ye(e,t)).milliseconds=-i.milliseconds,i.months=-i.months),i):{milliseconds:0,months:0}}(Te(o.from),Te(o.to)),(o={}).ms=r.milliseconds,o.M=r.months),n=new Pe(o),Oe(t)&&c(t,"_locale")&&(n._locale=t._locale),n}function Ue(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function Ye(t,e){var i={};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function Ge(t,e){return function(i,n){var r;return null===n||isNaN(+n)||(T(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=n,n=r),Xe(this,We(i="string"==typeof i?+i:i,n),t),this}}function Xe(t,e,n,r){var o=e._milliseconds,a=Ie(e._days),s=Ie(e._months);t.isValid()&&(r=null==r||r,s&&It(t,Et(t,"Month")+s*n),a&&At(t,"Date",Et(t,"Date")+a*n),o&&t._d.setTime(t._d.valueOf()+o*n),r&&i.updateOffset(t,a||s))}We.fn=Pe.prototype,We.invalid=function(){return We(NaN)};var qe=Ge(1,"add"),$e=Ge(-1,"subtract");function Ze(t,e){var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(i+1,"months")-n)))||0}function Ke(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ue(t))&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qe=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function Je(){return this._locale}var ti=126227808e5;function ei(t,e){return(t%e+e)%e}function ii(t,e,i){return t<100&&0<=t?new Date(t+400,e,i)-ti:new Date(t,e,i).valueOf()}function ni(t,e,i){return t<100&&0<=t?Date.UTC(t+400,e,i)-ti:Date.UTC(t,e,i)}function ri(t,e){j(0,[t,t.length],0,e)}function oi(t,e,i,n,r){var o;return null==t?jt(this,n,r).year:((o=Wt(t,n,r))<e&&(e=o),function(t,e,i,n,r){var o=Vt(t,e,i,n,r),a=zt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,t,e,i,n,r))}j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ri("gggg","weekYear"),ri("ggggg","weekYear"),ri("GGGG","isoWeekYear"),ri("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),lt("G",nt),lt("g",nt),lt("GG",Z,G),lt("gg",Z,G),lt("GGGG",tt,q),lt("gggg",tt,q),lt("GGGGG",et,$),lt("ggggg",et,$),ft(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=x(t)}),ft(["gg","GG"],function(t,e,n,r){e[r]=i.parseTwoDigitYear(t)}),j("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),lt("Q",Y),dt("Q",function(t,e){e[gt]=3*(x(t)-1)}),j("D",["DD",2],"Do","date"),P("date","D"),R("date",9),lt("D",Z),lt("DD",Z,G),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),dt(["D","DD"],mt),dt("Do",function(t,e){e[mt]=x(t.match(Z)[0])});var ai=Tt("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),lt("DDD",J),lt("DDDD",X),dt(["DDD","DDDD"],function(t,e,i){i._dayOfYear=x(t)}),j("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),lt("m",Z),lt("mm",Z,G),dt(["m","mm"],yt);var si=Tt("Minutes",!1);j("s",["ss",2],0,"second"),P("second","s"),R("second",15),lt("s",Z),lt("ss",Z,G),dt(["s","ss"],bt);var li,ci=Tt("Seconds",!1);for(j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),lt("S",J,Y),lt("SS",J,G),lt("SSS",J,X),li="SSSS";li.length<=9;li+="S")lt(li,it);function ui(t,e){e[Lt]=x(1e3*("0."+t))}for(li="S";li.length<=9;li+="S")dt(li,ui);var hi=Tt("Milliseconds",!1);j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var di=y.prototype;function fi(t){return t}di.add=qe,di.calendar=function(t,e){var n=t||Te(),r=Be(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=e&&(E(e[o])?e[o].call(this,n):e[o]);return this.format(a||this.localeData().calendar(o,this,Te(n)))},di.clone=function(){return new y(this)},di.diff=function(t,e,i){var n,r,o;if(!this.isValid())return NaN;if(!(n=Be(t,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),e=O(e)){case"year":o=Ze(this,n)/12;break;case"month":o=Ze(this,n);break;case"quarter":o=Ze(this,n)/3;break;case"second":o=(this-n)/1e3;break;case"minute":o=(this-n)/6e4;break;case"hour":o=(this-n)/36e5;break;case"day":o=(this-n-r)/864e5;break;case"week":o=(this-n-r)/6048e5;break;default:o=this-n}return i?o:L(o)},di.endOf=function(t){var e;if(void 0===(t=O(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?ni:ii;switch(t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=36e5-ei(e+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":e=this._d.valueOf(),e+=6e4-ei(e,6e4)-1;break;case"second":e=this._d.valueOf(),e+=1e3-ei(e,1e3)-1}return this._d.setTime(e),i.updateOffset(this,!0),this},di.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)},di.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Te(t).isValid())?We({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},di.fromNow=function(t){return this.from(Te(),t)},di.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Te(t).isValid())?We({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},di.toNow=function(t){return this.to(Te(),t)},di.get=function(t){return E(this[t=O(t)])?this[t]():this},di.invalidAt=function(){return d(this).overflow},di.isAfter=function(t,e){var i=b(t)?t:Te(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=O(e)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},di.isBefore=function(t,e){var i=b(t)?t:Te(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=O(e)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},di.isBetween=function(t,e,i,n){var r=b(t)?t:Te(t),o=b(e)?e:Te(e);return!!(this.isValid()&&r.isValid()&&o.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(o,i):!this.isAfter(o,i))},di.isSame=function(t,e){var i,n=b(t)?t:Te(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=O(e)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},di.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},di.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},di.isValid=function(){return f(this)},di.lang=Qe,di.locale=Ke,di.localeData=Je,di.max=Ae,di.min=Ee,di.parsingFlags=function(){return u({},d(this))},di.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e=[];for(var i in t)e.push({unit:i,priority:N[i]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=I(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(E(this[t=O(t)]))return this[t](e);return this},di.startOf=function(t){var e;if(void 0===(t=O(t))||"millisecond"===t||!this.isValid())return this;var n=this._isUTC?ni:ii;switch(t){case"year":e=n(this.year(),0,1);break;case"quarter":e=n(this.year(),this.month()-this.month()%3,1);break;case"month":e=n(this.year(),this.month(),1);break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=n(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=ei(e+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":e=this._d.valueOf(),e-=ei(e,6e4);break;case"second":e=this._d.valueOf(),e-=ei(e,1e3)}return this._d.setTime(e),i.updateOffset(this,!0),this},di.subtract=$e,di.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},di.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},di.toDate=function(){return new Date(this.valueOf())},di.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;return i.year()<0||9999<i.year()?W(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):E(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(i,"Z")):W(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},di.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=e+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+r)},di.toJSON=function(){return this.isValid()?this.toISOString():null},di.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},di.unix=function(){return Math.floor(this.valueOf()/1e3)},di.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},di.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},di.year=kt,di.isLeapYear=function(){return St(this.year())},di.weekYear=function(t){return oi.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},di.isoWeekYear=function(t){return oi.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},di.quarter=di.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},di.month=Nt,di.daysInMonth=function(){return Mt(this.year(),this.month())},di.week=di.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},di.isoWeek=di.isoWeeks=function(t){var e=jt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},di.weeksInYear=function(){var t=this.localeData()._week;return Wt(this.year(),t.dow,t.doy)},di.isoWeeksInYear=function(){return Wt(this.year(),1,4)},di.date=ai,di.day=di.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,i,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,i=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=i.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-n,"d")):n},di.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},di.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null==t)return this.day()||7;var e,i,n=(e=t,i=this.localeData(),"string"==typeof e?i.weekdaysParse(e)%7||7:isNaN(e)?null:e);return this.day(this.day()%7?n:n-7)},di.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},di.hour=di.hours=ie,di.minute=di.minutes=si,di.second=di.seconds=ci,di.millisecond=di.milliseconds=hi,di.utcOffset=function(t,e,n){var r,o=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?o:ze(this);if("string"==typeof t){if(null===(t=Fe(ot,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=ze(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==t&&(!e||this._changeInProgress?Xe(this,We(t-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this},di.utc=function(t){return this.utcOffset(0,t)},di.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ze(this),"m")),this},di.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Fe(rt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},di.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Te(t).utcOffset():0,(this.utcOffset()-t)%60==0)},di.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},di.isLocal=function(){return!!this.isValid()&&!this._isUTC},di.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},di.isUtc=He,di.isUTC=He,di.zoneAbbr=function(){return this._isUTC?"UTC":""},di.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},di.dates=S("dates accessor is deprecated. Use date instead.",ai),di.months=S("months accessor is deprecated. Use month instead",Nt),di.years=S("years accessor is deprecated. Use year instead",kt),di.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),di.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var t={};if(m(t,this),(t=Ce(t))._a){var e=t._isUTC?h(t._a):Te(t._a);this._isDSTShifted=this.isValid()&&0<w(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var pi=M.prototype;function gi(t,e,i,n){var r=ue(),o=h().set(n,e);return r[i](o,t)}function mi(t,e,i){if(a(t)&&(e=t,t=void 0),t=t||"",null!=e)return gi(t,e,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=gi(t,n,i,"month");return r}function vi(t,e,i,n){"boolean"==typeof t?a(e)&&(i=e,e=void 0):(e=t,t=!1,a(i=e)&&(i=e,e=void 0)),e=e||"";var r,o=ue(),s=t?o._week.dow:0;if(null!=i)return gi(e,(i+s)%7,n,"day");var l=[];for(r=0;r<7;r++)l[r]=gi(e,(r+s)%7,n,"day");return l}pi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return E(n)?n.call(e,i):n},pi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},pi.invalidDate=function(){return this._invalidDate},pi.ordinal=function(t){return this._ordinal.replace("%d",t)},pi.preparse=fi,pi.postformat=fi,pi.relativeTime=function(t,e,i,n){var r=this._relativeTime[i];return E(r)?r(t,e,i,n):r.replace(/%d/i,t)},pi.pastFuture=function(t,e){var i=this._relativeTime[0<t?"future":"past"];return E(i)?i(e):i.replace(/%s/i,e)},pi.set=function(t){var e,i;for(i in t)E(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},pi.months=function(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Dt).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone},pi.monthsShort=function(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Dt.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pi.monthsParse=function(t,e,i){var n,r,o;if(this._monthsParseExact)return function(t,e,i){var n,r,o,a=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)o=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(o,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(r=Ct.call(this._shortMonthsParse,a))?r:null:-1!==(r=Ct.call(this._longMonthsParse,a))?r:null:"MMM"===e?-1!==(r=Ct.call(this._shortMonthsParse,a))?r:-1!==(r=Ct.call(this._longMonthsParse,a))?r:null:-1!==(r=Ct.call(this._longMonthsParse,a))?r:-1!==(r=Ct.call(this._shortMonthsParse,a))?r:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(r=h([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[n]=new RegExp(o.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},pi.monthsRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||Bt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Ft),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},pi.monthsShortRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||Bt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Rt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},pi.week=function(t){return jt(t,this._week.dow,this._week.doy).week},pi.firstDayOfYear=function(){return this._week.doy},pi.firstDayOfWeek=function(){return this._week.dow},pi.weekdays=function(t,e){var i=n(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Ut(i,this._week.dow):t?i[t.day()]:i},pi.weekdaysMin=function(t){return!0===t?Ut(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},pi.weekdaysShort=function(t){return!0===t?Ut(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},pi.weekdaysParse=function(t,e,i){var n,r,o;if(this._weekdaysParseExact)return function(t,e,i){var n,r,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)o=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(o,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(r=Ct.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Ct.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=Ct.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=Ct.call(this._weekdaysParse,a))?r:-1!==(r=Ct.call(this._shortWeekdaysParse,a))?r:-1!==(r=Ct.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=Ct.call(this._shortWeekdaysParse,a))?r:-1!==(r=Ct.call(this._weekdaysParse,a))?r:-1!==(r=Ct.call(this._minWeekdaysParse,a))?r:null:-1!==(r=Ct.call(this._minWeekdaysParse,a))?r:-1!==(r=Ct.call(this._weekdaysParse,a))?r:-1!==(r=Ct.call(this._shortWeekdaysParse,a))?r:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(r=h([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[n]=new RegExp(o.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},pi.weekdaysRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=qt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},pi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$t),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Kt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Zt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},pi.meridiem=function(t,e,i){return 11<t?i?"pm":"PM":i?"am":"AM"},le("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",le),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ue);var yi=Math.abs;function bi(t,e,i,n){var r=We(e,i);return t._milliseconds+=n*r._milliseconds,t._days+=n*r._days,t._months+=n*r._months,t._bubble()}function Li(t){return t<0?Math.floor(t):Math.ceil(t)}function xi(t){return 4800*t/146097}function wi(t){return 146097*t/4800}function _i(t){return function(){return this.as(t)}}var Si=_i("ms"),Ci=_i("s"),ki=_i("m"),Ti=_i("h"),Ei=_i("d"),Ai=_i("w"),Mi=_i("M"),Di=_i("Q"),Pi=_i("y");function Oi(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ii=Oi("milliseconds"),Ni=Oi("seconds"),Ri=Oi("minutes"),Fi=Oi("hours"),Bi=Oi("days"),zi=Oi("months"),Hi=Oi("years"),Vi=Math.round,ji={ss:44,s:45,m:45,h:22,d:26,M:11},Wi=Math.abs;function Ui(t){return(0<t)-(t<0)||+t}function Yi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=Wi(this._milliseconds)/1e3,n=Wi(this._days),r=Wi(this._months);e=L((t=L(i/60))/60),i%=60,t%=60;var o=L(r/12),a=r%=12,s=n,l=e,c=t,u=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",f=Ui(this._months)!==Ui(h)?"-":"",p=Ui(this._days)!==Ui(h)?"-":"",g=Ui(this._milliseconds)!==Ui(h)?"-":"";return d+"P"+(o?f+o+"Y":"")+(a?f+a+"M":"")+(s?p+s+"D":"")+(l||c||u?"T":"")+(l?g+l+"H":"")+(c?g+c+"M":"")+(u?g+u+"S":"")}var Gi=Pe.prototype;return Gi.isValid=function(){return this._isValid},Gi.abs=function(){var t=this._data;return this._milliseconds=yi(this._milliseconds),this._days=yi(this._days),this._months=yi(this._months),t.milliseconds=yi(t.milliseconds),t.seconds=yi(t.seconds),t.minutes=yi(t.minutes),t.hours=yi(t.hours),t.months=yi(t.months),t.years=yi(t.years),this},Gi.add=function(t,e){return bi(this,t,e,1)},Gi.subtract=function(t,e){return bi(this,t,e,-1)},Gi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=O(t))||"quarter"===t||"year"===t)switch(e=this._days+n/864e5,i=this._months+xi(e),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(e=this._days+Math.round(wi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Gi.asMilliseconds=Si,Gi.asSeconds=Ci,Gi.asMinutes=ki,Gi.asHours=Ti,Gi.asDays=Ei,Gi.asWeeks=Ai,Gi.asMonths=Mi,Gi.asQuarters=Di,Gi.asYears=Pi,Gi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN},Gi._bubble=function(){var t,e,i,n,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return 0<=o&&0<=a&&0<=s||o<=0&&a<=0&&s<=0||(o+=864e5*Li(wi(s)+a),s=a=0),l.milliseconds=o%1e3,t=L(o/1e3),l.seconds=t%60,e=L(t/60),l.minutes=e%60,i=L(e/60),l.hours=i%24,s+=r=L(xi(a+=L(i/24))),a-=Li(wi(r)),n=L(s/12),s%=12,l.days=a,l.months=s,l.years=n,this},Gi.clone=function(){return We(this)},Gi.get=function(t){return t=O(t),this.isValid()?this[t+"s"]():NaN},Gi.milliseconds=Ii,Gi.seconds=Ni,Gi.minutes=Ri,Gi.hours=Fi,Gi.days=Bi,Gi.weeks=function(){return L(this.days()/7)},Gi.months=zi,Gi.years=Hi,Gi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e,i,n,r,o,a,s,l,c,u,h=this.localeData(),d=(e=!t,i=h,n=We(this).abs(),r=Vi(n.as("s")),o=Vi(n.as("m")),a=Vi(n.as("h")),s=Vi(n.as("d")),l=Vi(n.as("M")),c=Vi(n.as("y")),(u=r<=ji.ss&&["s",r]||r<ji.s&&["ss",r]||o<=1&&["m"]||o<ji.m&&["mm",o]||a<=1&&["h"]||a<ji.h&&["hh",a]||s<=1&&["d"]||s<ji.d&&["dd",s]||l<=1&&["M"]||l<ji.M&&["MM",l]||c<=1&&["y"]||["yy",c])[2]=e,u[3]=0<+this,u[4]=i,function(t,e,i,n,r){return r.relativeTime(e||1,!!i,t,n)}.apply(null,u));return t&&(d=h.pastFuture(+this,d)),h.postformat(d)},Gi.toISOString=Yi,Gi.toString=Yi,Gi.toJSON=Yi,Gi.locale=Ke,Gi.localeData=Je,Gi.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Yi),Gi.lang=Qe,j("X",0,0,"unix"),j("x",0,0,"valueOf"),lt("x",nt),lt("X",/[+-]?\d+(\.\d{1,3})?/),dt("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),dt("x",function(t,e,i){i._d=new Date(x(t))}),i.version="2.24.0",t=Te,i.fn=di,i.min=function(){return Me("isBefore",[].slice.call(arguments,0))},i.max=function(){return Me("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(t){return Te(1e3*t)},i.months=function(t,e){return mi(t,e,"months")},i.isDate=s,i.locale=le,i.invalid=p,i.duration=We,i.isMoment=b,i.weekdays=function(t,e,i){return vi(t,e,i,"weekdays")},i.parseZone=function(){return Te.apply(null,arguments).parseZone()},i.localeData=ue,i.isDuration=Oe,i.monthsShort=function(t,e){return mi(t,e,"monthsShort")},i.weekdaysMin=function(t,e,i){return vi(t,e,i,"weekdaysMin")},i.defineLocale=ce,i.updateLocale=function(t,e){if(null!=e){var i,n,r=ne;null!=(n=se(t))&&(r=n._config),(i=new M(e=A(r,e))).parentLocale=re[t],re[t]=i,le(t)}else null!=re[t]&&(null!=re[t].parentLocale?re[t]=re[t].parentLocale:null!=re[t]&&delete re[t]);return re[t]},i.locales=function(){return C(re)},i.weekdaysShort=function(t,e,i){return vi(t,e,i,"weekdaysShort")},i.normalizeUnits=O,i.relativeTimeRounding=function(t){return void 0===t?Vi:"function"==typeof t&&(Vi=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==ji[t]&&(void 0===e?ji[t]:(ji[t]=e,"s"===t&&(ji.ss=e-1),!0))},i.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},i.prototype=di,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("moment"),require("jquery")):"function"==typeof define&&define.amd?define(["moment","jquery"],e):"object"==typeof exports?exports.FullCalendar=e(require("moment"),require("jquery")):t.FullCalendar=e(t.moment,t.jQuery)}("undefined"!=typeof self?self:this,function(t,e){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=256)}([function(e,i){e.exports=t},,function(t,e){var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};e.__extends=function(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},function(t,i){t.exports=e},function(t,e,i){function n(t){t.height("")}function r(t){var e,i=t[0].offsetWidth-t[0].clientWidth,n=t[0].offsetHeight-t[0].clientHeight;return i=o(i),e={left:0,right:0,top:0,bottom:n=o(n)},function(){return null===b&&(t=y("<div><div/></div>").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),e=t.children().offset().left>t.offset().left,t.remove(),b=e),b;var t,e}()&&"rtl"===t.css("direction")?e.left=i:e.right=i,e}function o(t){return t=Math.max(0,t),Math.round(t)}function a(t,e){return parseFloat(t.css(e))||0}function s(t){t.preventDefault()}function l(t,e,i,n,r){if(i.func)return i.func(t,e);var o=t[i.field],a=e[i.field];return null==o&&n&&(o=n[i.field]),null==a&&r&&(a=r[i.field]),c(o,a)*(i.order||1)}function c(t,e){return t||e?null==e?-1:null==t?1:"string"===y.type(t)||"string"===y.type(e)?String(t).localeCompare(String(e)):t-e:0}function u(t,i){var n,r,o;for(n=0;n<e.unitsDesc.length&&!((o=h(r=e.unitsDesc[n],t,i))>=1&&m(o));n++);return r}function h(t,e,i){return null!=i?i.diff(e,t,!0):v.isDuration(e)?e.as(t):e.end.diff(e.start,t,!0)}function d(t){return Boolean(t.hours()||t.minutes()||t.seconds()||t.milliseconds())}function f(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=window.console;if(i&&i.log)return i.log.apply(i,t)}function p(t,e){return L.call(t,e)}function g(t){return(t+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function m(t){return t%1==0}Object.defineProperty(e,"__esModule",{value:!0});var v=i(0),y=i(3);e.compensateScroll=function(t,e){e.left&&t.css({"border-left-width":1,"margin-left":e.left-1}),e.right&&t.css({"border-right-width":1,"margin-right":e.right-1})},e.uncompensateScroll=function(t){t.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})},e.disableCursor=function(){y("body").addClass("fc-not-allowed")},e.enableCursor=function(){y("body").removeClass("fc-not-allowed")},e.distributeHeight=function(t,e,i){var r=Math.floor(e/t.length),o=Math.floor(e-r*(t.length-1)),a=[],s=[],l=[],c=0;n(t),t.each(function(e,i){var n=e===t.length-1?o:r,u=y(i).outerHeight(!0);u<n?(a.push(i),s.push(u),l.push(y(i).height())):c+=u}),i&&(e-=c,r=Math.floor(e/a.length),o=Math.floor(e-r*(a.length-1))),y(a).each(function(t,e){var i=t===a.length-1?o:r,n=s[t],c=i-(n-l[t]);n<i&&y(e).height(c)})},e.undistributeHeight=n,e.matchCellWidths=function(t){var e=0;return t.find("> *").each(function(t,i){var n=y(i).outerWidth();n>e&&(e=n)}),e++,t.width(e),e},e.subtractInnerElHeight=function(t,e){var i,n=t.add(e);return n.css({position:"relative",left:-1}),i=t.outerHeight()-e.outerHeight(),n.css({position:"",left:""}),i},e.getScrollParent=function(t){var e=t.css("position"),i=t.parents().filter(function(){var t=y(this);return/(auto|scroll)/.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&i.length?i:y(t[0].ownerDocument||document)},e.getOuterRect=function(t,e){var i=t.offset(),n=i.left-(e?e.left:0),r=i.top-(e?e.top:0);return{left:n,right:n+t.outerWidth(),top:r,bottom:r+t.outerHeight()}},e.getClientRect=function(t,e){var i=t.offset(),n=r(t),o=i.left+a(t,"border-left-width")+n.left-(e?e.left:0),s=i.top+a(t,"border-top-width")+n.top-(e?e.top:0);return{left:o,right:o+t[0].clientWidth,top:s,bottom:s+t[0].clientHeight}},e.getContentRect=function(t,e){var i=t.offset(),n=i.left+a(t,"border-left-width")+a(t,"padding-left")-(e?e.left:0),r=i.top+a(t,"border-top-width")+a(t,"padding-top")-(e?e.top:0);return{left:n,right:n+t.width(),top:r,bottom:r+t.height()}},e.getScrollbarWidths=r;var b=null;e.isPrimaryMouseButton=function(t){return 1===t.which&&!t.ctrlKey},e.getEvX=function(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageX:t.pageX},e.getEvY=function(t){var e=t.originalEvent.touches;return e&&e.length?e[0].pageY:t.pageY},e.getEvIsTouch=function(t){return/^touch/.test(t.type)},e.preventSelection=function(t){t.addClass("fc-unselectable").on("selectstart",s)},e.allowSelection=function(t){t.removeClass("fc-unselectable").off("selectstart",s)},e.preventDefault=s,e.intersectRects=function(t,e){var i={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return i.left<i.right&&i.top<i.bottom&&i},e.constrainPoint=function(t,e){return{left:Math.min(Math.max(t.left,e.left),e.right),top:Math.min(Math.max(t.top,e.top),e.bottom)}},e.getRectCenter=function(t){return{left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}},e.diffPoints=function(t,e){return{left:t.left-e.left,top:t.top-e.top}},e.parseFieldSpecs=function(t){var e,i,n=[],r=[];for("string"==typeof t?r=t.split(/\s*,\s*/):"function"==typeof t?r=[t]:y.isArray(t)&&(r=t),e=0;e<r.length;e++)"string"==typeof(i=r[e])?n.push("-"===i.charAt(0)?{field:i.substring(1),order:-1}:{field:i,order:1}):"function"==typeof i&&n.push({func:i});return n},e.compareByFieldSpecs=function(t,e,i,n,r){var o,a;for(o=0;o<i.length;o++)if(a=l(t,e,i[o],n,r))return a;return 0},e.compareByFieldSpec=l,e.flexibleCompare=c,e.dayIDs=["sun","mon","tue","wed","thu","fri","sat"],e.unitsDesc=["year","month","week","day","hour","minute","second","millisecond"],e.diffDayTime=function(t,e){return v.duration({days:t.clone().stripTime().diff(e.clone().stripTime(),"days"),ms:t.time()-e.time()})},e.diffDay=function(t,e){return v.duration({days:t.clone().stripTime().diff(e.clone().stripTime(),"days")})},e.diffByUnit=function(t,e,i){return v.duration(Math.round(t.diff(e,i,!0)),i)},e.computeGreatestUnit=u,e.computeDurationGreatestUnit=function(t,e){var i=u(t);return"week"===i&&"object"==typeof e&&e.days&&(i="day"),i},e.divideRangeByDuration=function(t,e,i){var n;return d(i)?(e-t)/i:(n=i.asMonths(),Math.abs(n)>=1&&m(n)?e.diff(t,"months",!0)/n:e.diff(t,"days",!0)/i.asDays())},e.divideDurationByDuration=function(t,e){var i,n;return d(t)||d(e)?t/e:(i=t.asMonths(),n=e.asMonths(),Math.abs(i)>=1&&m(i)&&Math.abs(n)>=1&&m(n)?i/n:t.asDays()/e.asDays())},e.multiplyDuration=function(t,e){var i;return d(t)?v.duration(t*e):(i=t.asMonths(),Math.abs(i)>=1&&m(i)?v.duration({months:i*e}):v.duration({days:t.asDays()*e}))},e.durationHasTime=d,e.isNativeDate=function(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date},e.isTimeString=function(t){return"string"==typeof t&&/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(t)},e.log=f,e.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=window.console;return i&&i.warn?i.warn.apply(i,t):f.apply(null,t)};var L={}.hasOwnProperty;e.mergeProps=function t(e,i){var n,r,o,a,s,l,c={};if(i)for(n=0;n<i.length;n++){for(r=i[n],o=[],a=e.length-1;a>=0;a--)if("object"==typeof(s=e[a][r]))o.unshift(s);else if(void 0!==s){c[r]=s;break}o.length&&(c[r]=t(o))}for(n=e.length-1;n>=0;n--)for(r in l=e[n])r in c||(c[r]=l[r]);return c},e.copyOwnProps=function(t,e){for(var i in t)p(t,i)&&(e[i]=t[i])},e.hasOwnProp=p,e.applyAll=function(t,e,i){if(y.isFunction(t)&&(t=[t]),t){var n=void 0,r=void 0;for(n=0;n<t.length;n++)r=t[n].apply(e,i)||r;return r}},e.removeMatching=function(t,e){for(var i=0,n=0;n<t.length;)e(t[n])?(t.splice(n,1),i++):n++;return i},e.removeExact=function(t,e){for(var i=0,n=0;n<t.length;)t[n]===e?(t.splice(n,1),i++):n++;return i},e.isArraysEqual=function(t,e){var i,n=t.length;if(null==n||n!==e.length)return!1;for(i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0},e.firstDefined=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var i=0;i<t.length;i++)if(void 0!==t[i])return t[i]},e.htmlEscape=g,e.stripHtmlEntities=function(t){return t.replace(/&.*?;/g,"")},e.cssToStr=function(t){var e=[];return y.each(t,function(t,i){null!=i&&e.push(t+":"+i)}),e.join(";")},e.attrsToStr=function(t){var e=[];return y.each(t,function(t,i){null!=i&&e.push(t+'="'+g(i)+'"')}),e.join(" ")},e.capitaliseFirstLetter=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},e.compareNumbers=function(t,e){return t-e},e.isInt=m,e.proxy=function(t,e){var i=t[e];return function(){return i.apply(t,arguments)}},e.debounce=function(t,e,i){void 0===i&&(i=!1);var n,r,o,a,s,l=function(){var c=+new Date-a;c<e?n=setTimeout(l,e-c):(n=null,i||(s=t.apply(o,r),o=r=null))};return function(){o=this,r=arguments,a=+new Date;var c=i&&!n;return n||(n=setTimeout(l,e)),c&&(s=t.apply(o,r),o=r=null),s}}},function(t,e,i){function n(t,e){return t.startMs-e.startMs}Object.defineProperty(e,"__esModule",{value:!0});var r=i(0),o=i(11),a=function(){function t(t,e){this.isStart=!0,this.isEnd=!0,r.isMoment(t)&&(t=t.clone().stripZone()),r.isMoment(e)&&(e=e.clone().stripZone()),t&&(this.startMs=t.valueOf()),e&&(this.endMs=e.valueOf())}return t.invertRanges=function(e,i){var r,o,a=[],s=i.startMs;for(e.sort(n),r=0;r<e.length;r++)(o=e[r]).startMs>s&&a.push(new t(s,o.startMs)),o.endMs>s&&(s=o.endMs);return s<i.endMs&&a.push(new t(s,i.endMs)),a},t.prototype.intersect=function(e){var i=this.startMs,n=this.endMs,r=null;return null!=e.startMs&&(i=null==i?e.startMs:Math.max(i,e.startMs)),null!=e.endMs&&(n=null==n?e.endMs:Math.min(n,e.endMs)),(null==i||null==n||i<n)&&((r=new t(i,n)).isStart=this.isStart&&i===this.startMs,r.isEnd=this.isEnd&&n===this.endMs),r},t.prototype.intersectsWith=function(t){return(null==this.endMs||null==t.startMs||this.endMs>t.startMs)&&(null==this.startMs||null==t.endMs||this.startMs<t.endMs)},t.prototype.containsRange=function(t){return(null==this.startMs||null!=t.startMs&&t.startMs>=this.startMs)&&(null==this.endMs||null!=t.endMs&&t.endMs<=this.endMs)},t.prototype.containsDate=function(t){var e=t.valueOf();return(null==this.startMs||e>=this.startMs)&&(null==this.endMs||e<this.endMs)},t.prototype.constrainDate=function(t){var e=t.valueOf();return null!=this.startMs&&e<this.startMs&&(e=this.startMs),null!=this.endMs&&e>=this.endMs&&(e=this.endMs-1),e},t.prototype.equals=function(t){return this.startMs===t.startMs&&this.endMs===t.endMs},t.prototype.clone=function(){var e=new t(this.startMs,this.endMs);return e.isStart=this.isStart,e.isEnd=this.isEnd,e},t.prototype.getStart=function(){return null!=this.startMs?o.default.utc(this.startMs).stripZone():null},t.prototype.getEnd=function(){return null!=this.endMs?o.default.utc(this.endMs).stripZone():null},t.prototype.as=function(t){return r.utc(this.endMs).diff(r.utc(this.startMs),t,!0)},t}();e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(52),a=i(35),s=i(36),l=function(t){function e(i){var n=t.call(this)||this;return n.calendar=i,n.className=[],n.uid=String(e.uuid++),n}return n.__extends(e,t),e.parse=function(t,e){var i=new this(e);return!("object"!=typeof t||!i.applyProps(t))&&i},e.normalizeId=function(t){return t?String(t):null},e.prototype.fetch=function(t,e,i){},e.prototype.removeEventDefsById=function(t){},e.prototype.removeAllEventDefs=function(){},e.prototype.getPrimitive=function(t){},e.prototype.parseEventDefs=function(t){var e,i,n=[];for(e=0;e<t.length;e++)(i=this.parseEventDef(t[e]))&&n.push(i);return n},e.prototype.parseEventDef=function(t){var e=this.calendar.opt("eventDataTransform"),i=this.eventDataTransform;return e&&(t=e(t,this.calendar)),i&&(t=i(t,this.calendar)),s.default.parse(t,this)},e.prototype.applyManualStandardProps=function(t){return null!=t.id&&(this.id=e.normalizeId(t.id)),r.isArray(t.className)?this.className=t.className:"string"==typeof t.className&&(this.className=t.className.split(/\s+/)),!0},e.uuid=0,e.defineStandardProps=o.default.defineStandardProps,e.copyVerbatimStandardProps=o.default.copyVerbatimStandardProps,e}(a.default);e.default=l,o.default.mixInto(l),l.defineStandardProps({id:!1,className:!1,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0,editable:!0,startEditable:!0,durationEditable:!0,rendering:!0,overlap:!0,constraint:!0,allDayDefault:!0,eventDataTransform:!0})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(15),a=0,s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.listenTo=function(t,e,i){if("object"==typeof e)for(var n in e)e.hasOwnProperty(n)&&this.listenTo(t,n,e[n]);else"string"==typeof e&&t.on(e+"."+this.getListenerNamespace(),r.proxy(i,this))},e.prototype.stopListeningTo=function(t,e){t.off((e||"")+"."+this.getListenerNamespace())},e.prototype.getListenerNamespace=function(){return null==this.listenerId&&(this.listenerId=a++),"_listener"+this.listenerId},e}(o.default);e.default=s},,function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(37),o=i(53),a=i(16),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.buildInstances=function(){return[this.buildInstance()]},e.prototype.buildInstance=function(){return new o.default(this,this.dateProfile)},e.prototype.isAllDay=function(){return this.dateProfile.isAllDay()},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.dateProfile=this.dateProfile,e},e.prototype.rezone=function(){var t=this.source.calendar,e=this.dateProfile;this.dateProfile=new a.default(t.moment(e.start),e.end?t.moment(e.end):null,t)},e.prototype.applyManualStandardProps=function(e){var i=t.prototype.applyManualStandardProps.call(this,e),n=a.default.parse(e,this.source);return!!n&&(this.dateProfile=n,null!=e.date&&(this.miscProps.date=e.date),i)},e}(r.default);e.default=s,s.defineStandardProps({start:!1,date:!1,end:!1,allDay:!1})},,function(t,e,i){function n(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n,c,u,h,d=t[0],f=1===t.length&&"string"==typeof d;return r.isMoment(d)||a.isNativeDate(d)||void 0===d?h=r.apply(null,t):(n=!1,c=!1,f?s.test(d)?(t=[d+="-01"],n=!0,c=!0):(u=l.exec(d))&&(n=!u[5],c=!0):o.isArray(d)&&(c=!0),h=e||n?r.utc.apply(r,t):r.apply(null,t),n?(h._ambigTime=!0,h._ambigZone=!0):i&&(c?h._ambigZone=!0:f&&h.utcOffset(d))),h._fullCalendar=!0,h}Object.defineProperty(e,"__esModule",{value:!0});var r=i(0),o=i(3),a=i(4),s=/^\s*\d{4}-\d\d$/,l=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,c=r.fn;e.newMomentProto=c;var u=o.extend({},c);e.oldMomentProto=u;var h=r.momentProperties;h.push("_fullCalendar"),h.push("_ambigTime"),h.push("_ambigZone"),e.oldMomentFormat=function(t,e){return u.format.call(t,e)};var d=function(){return n(arguments)};e.default=d,d.utc=function(){var t=n(arguments,!0);return t.hasTime()&&t.utc(),t},d.parseZone=function(){return n(arguments,!0,!0)},c.week=c.weeks=function(t){var e=this._locale._fullCalendar_weekCalc;return null==t&&"function"==typeof e?e(this):"ISO"===e?u.isoWeek.apply(this,arguments):u.week.apply(this,arguments)},c.time=function(t){if(!this._fullCalendar)return u.time.apply(this,arguments);if(null==t)return r.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,r.isDuration(t)||r.isMoment(t)||(t=r.duration(t));var e=0;return r.isDuration(t)&&(e=24*Math.floor(t.asDays())),this.hours(e+t.hours()).minutes(t.minutes()).seconds(t.seconds()).milliseconds(t.milliseconds())},c.stripTime=function(){return this._ambigTime||(this.utc(!0),this.set({hours:0,minutes:0,seconds:0,ms:0}),this._ambigTime=!0,this._ambigZone=!0),this},c.hasTime=function(){return!this._ambigTime},c.stripZone=function(){var t;return this._ambigZone||(t=this._ambigTime,this.utc(!0),this._ambigTime=t||!1,this._ambigZone=!0),this},c.hasZone=function(){return!this._ambigZone},c.local=function(t){return u.local.call(this,this._ambigZone||t),this._ambigTime=!1,this._ambigZone=!1,this},c.utc=function(t){return u.utc.call(this,t),this._ambigTime=!1,this._ambigZone=!1,this},c.utcOffset=function(t){return null!=t&&(this._ambigTime=!1,this._ambigZone=!1),u.utcOffset.apply(this,arguments)}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){this.isAllDay=!1,this.unzonedRange=t,this.isAllDay=e}return t.prototype.toLegacy=function(t){return{start:t.msToMoment(this.unzonedRange.startMs,this.isAllDay),end:t.msToMoment(this.unzonedRange.endMs,this.isAllDay)}},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.on=function(t,e){return r(this).on(t,this._prepareIntercept(e)),this},e.prototype.one=function(t,e){return r(this).one(t,this._prepareIntercept(e)),this},e.prototype._prepareIntercept=function(t){var e=function(e,i){return t.apply(i.context||this,i.args||[])};return t.guid||(t.guid=r.guid++),e.guid=t.guid,e},e.prototype.off=function(t,e){return r(this).off(t,e),this},e.prototype.trigger=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];return r(this).triggerHandler(t,{args:e}),this},e.prototype.triggerWith=function(t,e,i){return r(this).triggerHandler(t,{context:e,args:i}),this},e.prototype.hasHandlers=function(t){var e=r._data(this,"events");return e&&e[t]&&e[t].length>0},e}(i(15).default);e.default=o},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){this.view=t._getView(),this.component=t}return t.prototype.opt=function(t){return this.view.opt(t)},t.prototype.end=function(){},t}();e.default=i},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){}return t.mixInto=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){t.prototype[i]||(t.prototype[i]=e.prototype[i])})},t.mixOver=function(t){var e=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){t.prototype[i]=e.prototype[i]})},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),r=function(){function t(t,e,i){this.start=t,this.end=e||null,this.unzonedRange=this.buildUnzonedRange(i)}return t.parse=function(e,i){var n=e.start||e.date,r=e.end;if(!n)return!1;var o=i.calendar,a=o.moment(n),s=r?o.moment(r):null,l=e.allDay,c=o.opt("forceEventDuration");return!!a.isValid()&&(null==l&&null==(l=i.allDayDefault)&&(l=o.opt("allDayDefault")),!0===l?(a.stripTime(),s&&s.stripTime()):!1===l&&(a.hasTime()||a.time(0),s&&!s.hasTime()&&s.time(0)),!s||s.isValid()&&s.isAfter(a)||(s=null),!s&&c&&(s=o.getDefaultEventEnd(!a.hasTime(),a)),new t(a,s,o))},t.isStandardProp=function(t){return"start"===t||"date"===t||"end"===t||"allDay"===t},t.prototype.isAllDay=function(){return!(this.start.hasTime()||this.end&&this.end.hasTime())},t.prototype.buildUnzonedRange=function(t){var e=this.start.clone().stripZone().valueOf(),i=this.getEnd(t).stripZone().valueOf();return new n.default(e,i)},t.prototype.getEnd=function(t){return this.end?this.end.clone():t.getDefaultEventEnd(this.isAllDay(),this.start)},t}();e.default=r},function(t,e,i){function n(t,e){return!t&&!e||!(!t||!e)&&t.component===e.component&&r(t,e)&&r(e,t)}function r(t,e){for(var i in t)if(!/^(component|left|right|top|bottom)$/.test(i)&&t[i]!==e[i])return!1;return!0}Object.defineProperty(e,"__esModule",{value:!0});var o=i(2),a=i(4),s=function(t){function e(e,i){var n=t.call(this,i)||this;return n.component=e,n}return o.__extends(e,t),e.prototype.handleInteractionStart=function(e){var i,n,r,o=this.subjectEl;this.component.hitsNeeded(),this.computeScrollBounds(),e?(r=n={left:a.getEvX(e),top:a.getEvY(e)},o&&(i=a.getOuterRect(o),r=a.constrainPoint(r,i)),this.origHit=this.queryHit(r.left,r.top),o&&this.options.subjectCenter&&(this.origHit&&(i=a.intersectRects(this.origHit,i)||i),r=a.getRectCenter(i)),this.coordAdjust=a.diffPoints(r,n)):(this.origHit=null,this.coordAdjust=null),t.prototype.handleInteractionStart.call(this,e)},e.prototype.handleDragStart=function(e){var i;t.prototype.handleDragStart.call(this,e),(i=this.queryHit(a.getEvX(e),a.getEvY(e)))&&this.handleHitOver(i)},e.prototype.handleDrag=function(e,i,r){var o;t.prototype.handleDrag.call(this,e,i,r),n(o=this.queryHit(a.getEvX(r),a.getEvY(r)),this.hit)||(this.hit&&this.handleHitOut(),o&&this.handleHitOver(o))},e.prototype.handleDragEnd=function(e){this.handleHitDone(),t.prototype.handleDragEnd.call(this,e)},e.prototype.handleHitOver=function(t){var e=n(t,this.origHit);this.hit=t,this.trigger("hitOver",this.hit,e,this.origHit)},e.prototype.handleHitOut=function(){this.hit&&(this.trigger("hitOut",this.hit),this.handleHitDone(),this.hit=null)},e.prototype.handleHitDone=function(){this.hit&&this.trigger("hitDone",this.hit)},e.prototype.handleInteractionEnd=function(e,i){t.prototype.handleInteractionEnd.call(this,e,i),this.origHit=null,this.hit=null,this.component.hitsNotNeeded()},e.prototype.handleScrollEnd=function(){t.prototype.handleScrollEnd.call(this),this.isDragging&&(this.component.releaseHits(),this.component.prepareHits())},e.prototype.queryHit=function(t,e){return this.coordAdjust&&(t+=this.coordAdjust.left,e+=this.coordAdjust.top),this.component.queryHit(t,e)},e}(i(59).default);e.default=s},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.version="3.10.0",e.internalApiVersion=12;var n=i(4);e.applyAll=n.applyAll,e.debounce=n.debounce,e.isInt=n.isInt,e.htmlEscape=n.htmlEscape,e.cssToStr=n.cssToStr,e.proxy=n.proxy,e.capitaliseFirstLetter=n.capitaliseFirstLetter,e.getOuterRect=n.getOuterRect,e.getClientRect=n.getClientRect,e.getContentRect=n.getContentRect,e.getScrollbarWidths=n.getScrollbarWidths,e.preventDefault=n.preventDefault,e.parseFieldSpecs=n.parseFieldSpecs,e.compareByFieldSpecs=n.compareByFieldSpecs,e.compareByFieldSpec=n.compareByFieldSpec,e.flexibleCompare=n.flexibleCompare,e.computeGreatestUnit=n.computeGreatestUnit,e.divideRangeByDuration=n.divideRangeByDuration,e.divideDurationByDuration=n.divideDurationByDuration,e.multiplyDuration=n.multiplyDuration,e.durationHasTime=n.durationHasTime,e.log=n.log,e.warn=n.warn,e.removeExact=n.removeExact,e.intersectRects=n.intersectRects,e.allowSelection=n.allowSelection,e.attrsToStr=n.attrsToStr,e.compareNumbers=n.compareNumbers,e.compensateScroll=n.compensateScroll,e.computeDurationGreatestUnit=n.computeDurationGreatestUnit,e.constrainPoint=n.constrainPoint,e.copyOwnProps=n.copyOwnProps,e.diffByUnit=n.diffByUnit,e.diffDay=n.diffDay,e.diffDayTime=n.diffDayTime,e.diffPoints=n.diffPoints,e.disableCursor=n.disableCursor,e.distributeHeight=n.distributeHeight,e.enableCursor=n.enableCursor,e.firstDefined=n.firstDefined,e.getEvIsTouch=n.getEvIsTouch,e.getEvX=n.getEvX,e.getEvY=n.getEvY,e.getRectCenter=n.getRectCenter,e.getScrollParent=n.getScrollParent,e.hasOwnProp=n.hasOwnProp,e.isArraysEqual=n.isArraysEqual,e.isNativeDate=n.isNativeDate,e.isPrimaryMouseButton=n.isPrimaryMouseButton,e.isTimeString=n.isTimeString,e.matchCellWidths=n.matchCellWidths,e.mergeProps=n.mergeProps,e.preventSelection=n.preventSelection,e.removeMatching=n.removeMatching,e.stripHtmlEntities=n.stripHtmlEntities,e.subtractInnerElHeight=n.subtractInnerElHeight,e.uncompensateScroll=n.uncompensateScroll,e.undistributeHeight=n.undistributeHeight,e.dayIDs=n.dayIDs,e.unitsDesc=n.unitsDesc;var r=i(49);e.formatDate=r.formatDate,e.formatRange=r.formatRange,e.queryMostGranularFormatUnit=r.queryMostGranularFormatUnit;var o=i(32);e.datepickerLocale=o.datepickerLocale,e.locale=o.locale,e.getMomentLocaleData=o.getMomentLocaleData,e.populateInstanceComputableOptions=o.populateInstanceComputableOptions;var a=i(19);e.eventDefsToEventInstances=a.eventDefsToEventInstances,e.eventFootprintToComponentFootprint=a.eventFootprintToComponentFootprint,e.eventInstanceToEventRange=a.eventInstanceToEventRange,e.eventInstanceToUnzonedRange=a.eventInstanceToUnzonedRange,e.eventRangeToEventFootprint=a.eventRangeToEventFootprint;var s=i(11);e.moment=s.default;var l=i(13);e.EmitterMixin=l.default;var c=i(7);e.ListenerMixin=c.default;var u=i(51);e.Model=u.default;var h=i(217);e.Constraints=h.default;var d=i(55);e.DateProfileGenerator=d.default;var f=i(5);e.UnzonedRange=f.default;var p=i(12);e.ComponentFootprint=p.default;var g=i(218);e.BusinessHourGenerator=g.default;var m=i(219);e.EventPeriod=m.default;var v=i(220);e.EventManager=v.default;var y=i(37);e.EventDef=y.default;var b=i(39);e.EventDefMutation=b.default;var L=i(36);e.EventDefParser=L.default;var x=i(53);e.EventInstance=x.default;var w=i(50);e.EventRange=w.default;var _=i(54);e.RecurringEventDef=_.default;var S=i(9);e.SingleEventDef=S.default;var C=i(40);e.EventDefDateMutation=C.default;var k=i(16);e.EventDateProfile=k.default;var T=i(38);e.EventSourceParser=T.default;var E=i(6);e.EventSource=E.default;var A=i(57);e.defineThemeSystem=A.defineThemeSystem,e.getThemeSystemClass=A.getThemeSystemClass;var M=i(20);e.EventInstanceGroup=M.default;var D=i(56);e.ArrayEventSource=D.default;var P=i(223);e.FuncEventSource=P.default;var O=i(224);e.JsonFeedEventSource=O.default;var I=i(34);e.EventFootprint=I.default;var N=i(35);e.Class=N.default;var R=i(15);e.Mixin=R.default;var F=i(58);e.CoordCache=F.default;var B=i(225);e.Iterator=B.default;var z=i(59);e.DragListener=z.default;var H=i(17);e.HitDragListener=H.default;var V=i(226);e.MouseFollower=V.default;var j=i(52);e.ParsableModelMixin=j.default;var W=i(227);e.Popover=W.default;var U=i(21);e.Promise=U.default;var Y=i(228);e.TaskQueue=Y.default;var G=i(229);e.RenderQueue=G.default;var X=i(41);e.Scroller=X.default;var q=i(22);e.Theme=q.default;var $=i(230);e.Component=$.default;var Z=i(231);e.DateComponent=Z.default;var K=i(42);e.InteractiveDateComponent=K.default;var Q=i(232);e.Calendar=Q.default;var J=i(43);e.View=J.default;var tt=i(24);e.defineView=tt.defineView,e.getViewConfig=tt.getViewConfig;var et=i(60);e.DayTableMixin=et.default;var it=i(61);e.BusinessHourRenderer=it.default;var nt=i(44);e.EventRenderer=nt.default;var rt=i(62);e.FillRenderer=rt.default;var ot=i(63);e.HelperRenderer=ot.default;var at=i(233);e.ExternalDropping=at.default;var st=i(234);e.EventResizing=st.default;var lt=i(64);e.EventPointing=lt.default;var ct=i(235);e.EventDragging=ct.default;var ut=i(236);e.DateSelecting=ut.default;var ht=i(237);e.DateClicking=ht.default;var dt=i(14);e.Interaction=dt.default;var ft=i(65);e.StandardInteractionsMixin=ft.default;var pt=i(238);e.AgendaView=pt.default;var gt=i(239);e.TimeGrid=gt.default;var mt=i(240);e.TimeGridEventRenderer=mt.default;var vt=i(242);e.TimeGridFillRenderer=vt.default;var yt=i(241);e.TimeGridHelperRenderer=yt.default;var bt=i(66);e.DayGrid=bt.default;var Lt=i(243);e.DayGridEventRenderer=Lt.default;var xt=i(245);e.DayGridFillRenderer=xt.default;var wt=i(244);e.DayGridHelperRenderer=wt.default;var _t=i(67);e.BasicView=_t.default;var St=i(68);e.BasicViewDateProfileGenerator=St.default;var Ct=i(246);e.MonthView=Ct.default;var kt=i(247);e.MonthViewDateProfileGenerator=kt.default;var Tt=i(248);e.ListView=Tt.default;var Et=i(250);e.ListEventPointing=Et.default;var At=i(249);e.ListEventRenderer=At.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(50),r=i(34),o=i(12);e.eventDefsToEventInstances=function(t,e){var i,n=[];for(i=0;i<t.length;i++)n.push.apply(n,t[i].buildInstances(e));return n},e.eventInstanceToEventRange=function(t){return new n.default(t.dateProfile.unzonedRange,t.def,t)},e.eventRangeToEventFootprint=function(t){return new r.default(new o.default(t.unzonedRange,t.eventDef.isAllDay()),t.eventDef,t.eventInstance)},e.eventInstanceToUnzonedRange=function(t){return t.dateProfile.unzonedRange},e.eventFootprintToComponentFootprint=function(t){return t.componentFootprint}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),r=i(19),o=i(50),a=function(){function t(t){this.eventInstances=t||[]}return t.prototype.getAllEventRanges=function(t){return t?this.sliceNormalRenderRanges(t):this.eventInstances.map(r.eventInstanceToEventRange)},t.prototype.sliceRenderRanges=function(t){return this.isInverse()?this.sliceInverseRenderRanges(t):this.sliceNormalRenderRanges(t)},t.prototype.sliceNormalRenderRanges=function(t){var e,i,n,r=this.eventInstances,a=[];for(e=0;e<r.length;e++)(n=(i=r[e]).dateProfile.unzonedRange.intersect(t))&&a.push(new o.default(n,i.def,i));return a},t.prototype.sliceInverseRenderRanges=function(t){var e=this.eventInstances.map(r.eventInstanceToUnzonedRange),i=this.getEventDef();return(e=n.default.invertRanges(e,t)).map(function(t){return new o.default(t,i)})},t.prototype.isInverse=function(){return this.getEventDef().hasInverseRendering()},t.prototype.getEventDef=function(){return this.explicitEventDef||this.eventInstances[0].def},t}();e.default=a},function(t,e,i){function n(t,e){t.then=function(i){return"function"==typeof i?a.resolve(i(e)):t}}function r(t){t.then=function(e,i){return"function"==typeof i&&i(),t}}Object.defineProperty(e,"__esModule",{value:!0});var o=i(3),a={construct:function(t){var e=o.Deferred(),i=e.promise();return"function"==typeof t&&t(function(t){e.resolve(t),n(i,t)},function(){e.reject(),r(i)}),i},resolve:function(t){var e=o.Deferred().resolve(t).promise();return n(e,t),e},reject:function(){var t=o.Deferred().reject().promise();return r(t),t}};e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=function(){function t(t){this.optionsManager=t,this.processIconOverride()}return t.prototype.processIconOverride=function(){this.iconOverrideOption&&this.setIconOverride(this.optionsManager.get(this.iconOverrideOption))},t.prototype.setIconOverride=function(t){var e,i;if(n.isPlainObject(t)){for(i in e=n.extend({},this.iconClasses),t)e[i]=this.applyIconOverridePrefix(t[i]);this.iconClasses=e}else!1===t&&(this.iconClasses={})},t.prototype.applyIconOverridePrefix=function(t){var e=this.iconOverridePrefix;return e&&0!==t.indexOf(e)&&(t=e+t),t},t.prototype.getClass=function(t){return this.classes[t]||""},t.prototype.getIconClass=function(t){var e=this.iconClasses[t];return e?this.baseIconClass+" "+e:""},t.prototype.getCustomButtonIconClass=function(t){var e;return this.iconOverrideCustomButtonOption&&(e=t[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(e):""},t}();e.default=r,r.prototype.classes={},r.prototype.iconClasses={},r.prototype.baseIconClass="",r.prototype.iconOverridePrefix=""},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(18),o=i(13),a=i(7);r.touchMouseIgnoreWait=500;var s=null,l=0,c=function(){function t(){this.isTouching=!1,this.mouseIgnoreDepth=0}return t.get=function(){return s||(s=new t).bind(),s},t.needed=function(){t.get(),l++},t.unneeded=function(){--l||(s.unbind(),s=null)},t.prototype.bind=function(){var t=this;this.listenTo(n(document),{touchstart:this.handleTouchStart,touchcancel:this.handleTouchCancel,touchend:this.handleTouchEnd,mousedown:this.handleMouseDown,mousemove:this.handleMouseMove,mouseup:this.handleMouseUp,click:this.handleClick,selectstart:this.handleSelectStart,contextmenu:this.handleContextMenu}),window.addEventListener("touchmove",this.handleTouchMoveProxy=function(e){t.handleTouchMove(n.Event(e))},{passive:!1}),window.addEventListener("scroll",this.handleScrollProxy=function(e){t.handleScroll(n.Event(e))},!0)},t.prototype.unbind=function(){this.stopListeningTo(n(document)),window.removeEventListener("touchmove",this.handleTouchMoveProxy,{passive:!1}),window.removeEventListener("scroll",this.handleScrollProxy,!0)},t.prototype.handleTouchStart=function(t){this.stopTouch(t,!0),this.isTouching=!0,this.trigger("touchstart",t)},t.prototype.handleTouchMove=function(t){this.isTouching&&this.trigger("touchmove",t)},t.prototype.handleTouchCancel=function(t){this.isTouching&&(this.trigger("touchcancel",t),this.stopTouch(t))},t.prototype.handleTouchEnd=function(t){this.stopTouch(t)},t.prototype.handleMouseDown=function(t){this.shouldIgnoreMouse()||this.trigger("mousedown",t)},t.prototype.handleMouseMove=function(t){this.shouldIgnoreMouse()||this.trigger("mousemove",t)},t.prototype.handleMouseUp=function(t){this.shouldIgnoreMouse()||this.trigger("mouseup",t)},t.prototype.handleClick=function(t){this.shouldIgnoreMouse()||this.trigger("click",t)},t.prototype.handleSelectStart=function(t){this.trigger("selectstart",t)},t.prototype.handleContextMenu=function(t){this.trigger("contextmenu",t)},t.prototype.handleScroll=function(t){this.trigger("scroll",t)},t.prototype.stopTouch=function(t,e){void 0===e&&(e=!1),this.isTouching&&(this.isTouching=!1,this.trigger("touchend",t),e||this.startTouchMouseIgnore())},t.prototype.startTouchMouseIgnore=function(){var t=this,e=r.touchMouseIgnoreWait;e&&(this.mouseIgnoreDepth++,setTimeout(function(){t.mouseIgnoreDepth--},e))},t.prototype.shouldIgnoreMouse=function(){return this.isTouching||Boolean(this.mouseIgnoreDepth)},t}();e.default=c,a.default.mixInto(c),o.default.mixInto(c)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(18);e.viewHash={},n.views=e.viewHash,e.defineView=function(t,i){e.viewHash[t]=i},e.getViewConfig=function(t){return e.viewHash[t]}},,,,,,,,function(t,e,i){function n(t,i){var n,a;n=e.localeOptionHash[t]||(e.localeOptionHash[t]={}),i&&(n=e.localeOptionHash[t]=l.mergeOptions([n,i])),a=r(t),o.each(h,function(t,e){null==n[t]&&(n[t]=e(a,n))}),l.globalDefaults.locale=t}function r(t){return a.localeData(t)||a.localeData("en")}Object.defineProperty(e,"__esModule",{value:!0});var o=i(3),a=i(0),s=i(18),l=i(33),c=i(4);e.localeOptionHash={},s.locales=e.localeOptionHash;var u={buttonText:function(t){return{prev:c.stripHtmlEntities(t.prevText),next:c.stripHtmlEntities(t.nextText),today:c.stripHtmlEntities(t.currentText)}},monthYearFormat:function(t){return t.showMonthAfterYear?"YYYY["+t.yearSuffix+"] MMMM":"MMMM YYYY["+t.yearSuffix+"]"}},h={dayOfMonthFormat:function(t,e){var i=t.longDateFormat("l");return i=i.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),e.isRTL?i+=" ddd":i="ddd "+i,i},mediumTimeFormat:function(t){return t.longDateFormat("LT").replace(/\s*a$/i,"a")},smallTimeFormat:function(t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(t){return t.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},hourFormat:function(t){return t.longDateFormat("LT").replace(":mm","").replace(/(\Wmm)$/,"").replace(/\s*a$/i,"a")},noMeridiemTimeFormat:function(t){return t.longDateFormat("LT").replace(/\s*a$/i,"")}},d={smallDayDateFormat:function(t){return t.isRTL?"D dd":"dd D"},weekFormat:function(t){return t.isRTL?"w[ "+t.weekNumberTitle+"]":"["+t.weekNumberTitle+" ]w"},smallWeekFormat:function(t){return t.isRTL?"w["+t.weekNumberTitle+"]":"["+t.weekNumberTitle+"]w"}};e.populateInstanceComputableOptions=function(t){o.each(d,function(e,i){null==t[e]&&(t[e]=i(t))})},e.datepickerLocale=function(t,i,n){var r=e.localeOptionHash[t]||(e.localeOptionHash[t]={});r.isRTL=n.isRTL,r.weekNumberTitle=n.weekHeader,o.each(u,function(t,e){r[t]=e(n)});var a=o.datepicker;a&&(a.regional[i]=a.regional[t]=n,a.regional.en=a.regional[""],a.setDefaults(n))},e.locale=n,e.getMomentLocaleData=r,n("en",l.englishDefaults)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(4);e.globalDefaults={titleRangeSeparator:" ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",columnHeader:!0,defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,locale:null,isRTL:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day"},allDayText:"all-day",agendaEventMinHeight:0,theme:!1,dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventOrder:"title",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3},e.englishDefaults={dayPopoverFormat:"dddd, MMMM D"},e.rtlDefaults={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}};var r=["header","footer","buttonText","buttonIcons","themeButtonIcons"];e.mergeOptions=function(t){return n.mergeProps(t,r)}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e,i){this.componentFootprint=t,this.eventDef=e,i&&(this.eventInstance=i)}return t.prototype.getEventLegacy=function(){return(this.eventInstance||this.eventDef).toLegacy()},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=function(){function t(){}return t.extend=function(t){var e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(this);return r.copyOwnProps(t,e.prototype),e},t.mixin=function(t){r.copyOwnProps(t,this.prototype)},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),r=i(4),o=i(9),a=i(54);e.default={parse:function(t,e){return r.isTimeString(t.start)||n.isDuration(t.start)||r.isTimeString(t.end)||n.isDuration(t.end)?a.default.parse(t,e):o.default.parse(t,e)}}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(52),o=function(){function t(t){this.source=t,this.className=[],this.miscProps={}}return t.parse=function(t,e){var i=new this(e);return!!i.applyProps(t)&&i},t.normalizeId=function(t){return String(t)},t.generateId=function(){return"_fc"+t.uuid++},t.prototype.clone=function(){var e=new this.constructor(this.source);return e.id=this.id,e.rawId=this.rawId,e.uid=this.uid,t.copyVerbatimStandardProps(this,e),e.className=this.className.slice(),e.miscProps=n.extend({},this.miscProps),e},t.prototype.hasInverseRendering=function(){return"inverse-background"===this.getRendering()},t.prototype.hasBgRendering=function(){var t=this.getRendering();return"inverse-background"===t||"background"===t},t.prototype.getRendering=function(){return null!=this.rendering?this.rendering:this.source.rendering},t.prototype.getConstraint=function(){return null!=this.constraint?this.constraint:null!=this.source.constraint?this.source.constraint:this.source.calendar.opt("eventConstraint")},t.prototype.getOverlap=function(){return null!=this.overlap?this.overlap:null!=this.source.overlap?this.source.overlap:this.source.calendar.opt("eventOverlap")},t.prototype.isStartExplicitlyEditable=function(){return null!=this.startEditable?this.startEditable:this.source.startEditable},t.prototype.isDurationExplicitlyEditable=function(){return null!=this.durationEditable?this.durationEditable:this.source.durationEditable},t.prototype.isExplicitlyEditable=function(){return null!=this.editable?this.editable:this.source.editable},t.prototype.toLegacy=function(){var e=n.extend({},this.miscProps);return e._id=this.uid,e.source=this.source,e.className=this.className.slice(),e.allDay=this.isAllDay(),null!=this.rawId&&(e.id=this.rawId),t.copyVerbatimStandardProps(this,e),e},t.prototype.applyManualStandardProps=function(e){return null!=e.id?this.id=t.normalizeId(this.rawId=e.id):this.id=t.generateId(),null!=e._id?this.uid=String(e._id):this.uid=t.generateId(),n.isArray(e.className)&&(this.className=e.className),"string"==typeof e.className&&(this.className=e.className.split(/\s+/)),!0},t.prototype.applyMiscProps=function(t){n.extend(this.miscProps,t)},t.uuid=0,t.defineStandardProps=r.default.defineStandardProps,t.copyVerbatimStandardProps=r.default.copyVerbatimStandardProps,t}();e.default=o,r.default.mixInto(o),o.defineStandardProps({_id:!1,id:!1,className:!1,source:!1,title:!0,url:!0,rendering:!0,constraint:!0,overlap:!0,editable:!0,startEditable:!0,durationEditable:!0,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default={sourceClasses:[],registerClass:function(t){this.sourceClasses.unshift(t)},parse:function(t,e){var i,n,r=this.sourceClasses;for(i=0;i<r.length;i++)if(n=r[i].parse(t,e))return n}}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(4),r=i(16),o=i(37),a=i(40),s=i(9),l=function(){function t(){}return t.createFromRawProps=function(e,i,s){var l,c,u,h,d=e.def,f={},p={},g={},m={},v=null,y=null;for(l in i)r.default.isStandardProp(l)?f[l]=i[l]:d.isStandardProp(l)?p[l]=i[l]:d.miscProps[l]!==i[l]&&(g[l]=i[l]);return(c=r.default.parse(f,d.source))&&(u=a.default.createFromDiff(e.dateProfile,c,s)),p.id!==d.id&&(v=p.id),n.isArraysEqual(p.className,d.className)||(y=p.className),o.default.copyVerbatimStandardProps(p,m),(h=new t).eventDefId=v,h.className=y,h.verbatimStandardProps=m,h.miscProps=g,u&&(h.dateMutation=u),h},t.prototype.mutateSingle=function(t){var e;return this.dateMutation&&(e=t.dateProfile,t.dateProfile=this.dateMutation.buildNewDateProfile(e,t.source.calendar)),null!=this.eventDefId&&(t.id=o.default.normalizeId(t.rawId=this.eventDefId)),this.className&&(t.className=this.className),this.verbatimStandardProps&&s.default.copyVerbatimStandardProps(this.verbatimStandardProps,t),this.miscProps&&t.applyMiscProps(this.miscProps),e?function(){t.dateProfile=e}:function(){}},t.prototype.setDateMutation=function(t){t&&!t.isEmpty()?this.dateMutation=t:this.dateMutation=null},t.prototype.isEmpty=function(){return!this.dateMutation},t}();e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(4),r=i(16),o=function(){function t(){this.clearEnd=!1,this.forceTimed=!1,this.forceAllDay=!1}return t.createFromDiff=function(e,i,r){function o(t,e){return r?n.diffByUnit(t,e,r):i.isAllDay()?n.diffDay(t,e):n.diffDayTime(t,e)}var a,s,l,c=e.end&&!i.end,u=e.isAllDay()&&!i.isAllDay(),h=!e.isAllDay()&&i.isAllDay();return a=o(i.start,e.start),i.end&&(s=o(i.unzonedRange.getEnd(),e.unzonedRange.getEnd()).subtract(a)),(l=new t).clearEnd=c,l.forceTimed=u,l.forceAllDay=h,l.setDateDelta(a),l.setEndDelta(s),l},t.prototype.buildNewDateProfile=function(t,e){var i=t.start.clone(),n=null,o=!1;return t.end&&!this.clearEnd?n=t.end.clone():this.endDelta&&!n&&(n=e.getDefaultEventEnd(t.isAllDay(),i)),this.forceTimed?(o=!0,i.hasTime()||i.time(0),n&&!n.hasTime()&&n.time(0)):this.forceAllDay&&(i.hasTime()&&i.stripTime(),n&&n.hasTime()&&n.stripTime()),this.dateDelta&&(o=!0,i.add(this.dateDelta),n&&n.add(this.dateDelta)),this.endDelta&&(o=!0,n.add(this.endDelta)),this.startDelta&&(o=!0,i.add(this.startDelta)),o&&(i=e.applyTimezone(i),n&&(n=e.applyTimezone(n))),!n&&e.opt("forceEventDuration")&&(n=e.getDefaultEventEnd(t.isAllDay(),i)),new r.default(i,n,e)},t.prototype.setDateDelta=function(t){t&&t.valueOf()?this.dateDelta=t:this.dateDelta=null},t.prototype.setStartDelta=function(t){t&&t.valueOf()?this.startDelta=t:this.startDelta=null},t.prototype.setEndDelta=function(t){t&&t.valueOf()?this.endDelta=t:this.endDelta=null},t.prototype.isEmpty=function(){return!(this.clearEnd||this.forceTimed||this.forceAllDay||this.dateDelta||this.startDelta||this.endDelta)},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=function(t){function e(e){var i=t.call(this)||this;return e=e||{},i.overflowX=e.overflowX||e.overflow||"auto",i.overflowY=e.overflowY||e.overflow||"auto",i}return n.__extends(e,t),e.prototype.render=function(){this.el=this.renderEl(),this.applyOverflow()},e.prototype.renderEl=function(){return this.scrollEl=r('<div class="fc-scroller"></div>')},e.prototype.clear=function(){this.setHeight("auto"),this.applyOverflow()},e.prototype.destroy=function(){this.el.remove()},e.prototype.applyOverflow=function(){this.scrollEl.css({"overflow-x":this.overflowX,"overflow-y":this.overflowY})},e.prototype.lockOverflow=function(t){var e=this.overflowX,i=this.overflowY;t=t||this.getScrollbarWidths(),"auto"===e&&(e=t.top||t.bottom||this.scrollEl[0].scrollWidth-1>this.scrollEl[0].clientWidth?"scroll":"hidden"),"auto"===i&&(i=t.left||t.right||this.scrollEl[0].scrollHeight-1>this.scrollEl[0].clientHeight?"scroll":"hidden"),this.scrollEl.css({"overflow-x":e,"overflow-y":i})},e.prototype.setHeight=function(t){this.scrollEl.height(t)},e.prototype.getScrollTop=function(){return this.scrollEl.scrollTop()},e.prototype.setScrollTop=function(t){this.scrollEl.scrollTop(t)},e.prototype.getClientWidth=function(){return this.scrollEl[0].clientWidth},e.prototype.getClientHeight=function(){return this.scrollEl[0].clientHeight},e.prototype.getScrollbarWidths=function(){return o.getScrollbarWidths(this.scrollEl)},e}(i(35).default);e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(231),s=i(23),l=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.segSelector=".fc-event-container > *",n.dateSelectingClass&&(n.dateClicking=new n.dateClickingClass(n)),n.dateSelectingClass&&(n.dateSelecting=new n.dateSelectingClass(n)),n.eventPointingClass&&(n.eventPointing=new n.eventPointingClass(n)),n.eventDraggingClass&&n.eventPointing&&(n.eventDragging=new n.eventDraggingClass(n,n.eventPointing)),n.eventResizingClass&&n.eventPointing&&(n.eventResizing=new n.eventResizingClass(n,n.eventPointing)),n.externalDroppingClass&&(n.externalDropping=new n.externalDroppingClass(n)),n}return n.__extends(e,t),e.prototype.setElement=function(e){t.prototype.setElement.call(this,e),this.dateClicking&&this.dateClicking.bindToEl(e),this.dateSelecting&&this.dateSelecting.bindToEl(e),this.bindAllSegHandlersToEl(e)},e.prototype.removeElement=function(){this.endInteractions(),t.prototype.removeElement.call(this)},e.prototype.executeEventUnrender=function(){this.endInteractions(),t.prototype.executeEventUnrender.call(this)},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.bindToDocument()},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.externalDropping&&this.externalDropping.unbindFromDocument()},e.prototype.bindDateHandlerToEl=function(t,e,i){var n=this;this.el.on(e,function(t){if(!r(t.target).is(n.segSelector+":not(.fc-helper),"+n.segSelector+":not(.fc-helper) *,.fc-more,a[data-goto]"))return i.call(n,t)})},e.prototype.bindAllSegHandlersToEl=function(t){[this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(e){e&&e.bindToEl(t)})},e.prototype.bindSegHandlerToEl=function(t,e,i){var n=this;t.on(e,this.segSelector,function(t){var e=r(t.currentTarget);if(!e.is(".fc-helper")){var o=e.data("fc-seg");if(o&&!n.shouldIgnoreEventPointing())return i.call(n,o,t)}})},e.prototype.shouldIgnoreMouse=function(){return s.default.get().shouldIgnoreMouse()},e.prototype.shouldIgnoreTouch=function(){var t=this._getView();return t.isSelected||t.selectedEvent},e.prototype.shouldIgnoreEventPointing=function(){return this.eventDragging&&this.eventDragging.isDragging||this.eventResizing&&this.eventResizing.isResizing},e.prototype.canStartSelection=function(t,e){return o.getEvIsTouch(e)&&!this.canStartResize(t,e)&&(this.isEventDefDraggable(t.footprint.eventDef)||this.isEventDefResizable(t.footprint.eventDef))},e.prototype.canStartDrag=function(t,e){return!this.canStartResize(t,e)&&this.isEventDefDraggable(t.footprint.eventDef)},e.prototype.canStartResize=function(t,e){var i=this._getView(),n=t.footprint.eventDef;return(!o.getEvIsTouch(e)||i.isEventDefSelected(n))&&this.isEventDefResizable(n)&&r(e.target).is(".fc-resizer")},e.prototype.endInteractions=function(){[this.dateClicking,this.dateSelecting,this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(t){t&&t.end()})},e.prototype.isEventDefDraggable=function(t){return this.isEventDefStartEditable(t)},e.prototype.isEventDefStartEditable=function(t){var e=t.isStartExplicitlyEditable();return null==e&&null==(e=this.opt("eventStartEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.isEventDefGenerallyEditable=function(t){var e=t.isExplicitlyEditable();return null==e&&(e=this.opt("editable")),e},e.prototype.isEventDefResizableFromStart=function(t){return this.opt("eventResizableFromStart")&&this.isEventDefResizable(t)},e.prototype.isEventDefResizableFromEnd=function(t){return this.isEventDefResizable(t)},e.prototype.isEventDefResizable=function(t){var e=t.isDurationExplicitlyEditable();return null==e&&null==(e=this.opt("eventDurationEditable"))&&(e=this.isEventDefGenerallyEditable(t)),e},e.prototype.diffDates=function(t,e){return this.largeUnit?o.diffByUnit(t,e,this.largeUnit):o.diffDayTime(t,e)},e.prototype.isEventInstanceGroupAllowed=function(t){var e,i=this._getView(),n=this.dateProfile,r=this.eventRangesToEventFootprints(t.getAllEventRanges());for(e=0;e<r.length;e++)if(!n.validUnzonedRange.containsRange(r[e].componentFootprint.unzonedRange))return!1;return i.calendar.constraints.isEventInstanceGroupAllowed(t)},e.prototype.isExternalInstanceGroupAllowed=function(t){var e,i=this._getView(),n=this.dateProfile,r=this.eventRangesToEventFootprints(t.getAllEventRanges());for(e=0;e<r.length;e++)if(!n.validUnzonedRange.containsRange(r[e].componentFootprint.unzonedRange))return!1;for(e=0;e<r.length;e++)if(!i.calendar.constraints.isSelectionFootprintAllowed(r[e].componentFootprint))return!1;return!0},e}(a.default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(0),a=i(4),s=i(229),l=i(55),c=i(42),u=i(23),h=i(5),d=function(t){function e(e,i){var n=t.call(this,null,i.options)||this;return n.batchRenderDepth=0,n.isSelected=!1,n.calendar=e,n.viewSpec=i,n.type=i.type,n.name=n.type,n.initRenderQueue(),n.initHiddenDays(),n.dateProfileGenerator=new n.dateProfileGeneratorClass(n),n.bindBaseRenderHandlers(),n.eventOrderSpecs=a.parseFieldSpecs(n.opt("eventOrder")),n.initialize&&n.initialize(),n}return n.__extends(e,t),e.prototype._getView=function(){return this},e.prototype.opt=function(t){return this.options[t]},e.prototype.initRenderQueue=function(){this.renderQueue=new s.default({event:this.opt("eventRenderWait")}),this.renderQueue.on("start",this.onRenderQueueStart.bind(this)),this.renderQueue.on("stop",this.onRenderQueueStop.bind(this)),this.on("before:change",this.startBatchRender),this.on("change",this.stopBatchRender)},e.prototype.onRenderQueueStart=function(){this.calendar.freezeContentHeight(),this.addScroll(this.queryScroll())},e.prototype.onRenderQueueStop=function(){this.calendar.updateViewSize()&&this.popScroll(),this.calendar.thawContentHeight()},e.prototype.startBatchRender=function(){this.batchRenderDepth++||this.renderQueue.pause()},e.prototype.stopBatchRender=function(){--this.batchRenderDepth||this.renderQueue.resume()},e.prototype.requestRender=function(t,e,i){this.renderQueue.queue(t,e,i)},e.prototype.whenSizeUpdated=function(t){this.renderQueue.isRunning?this.renderQueue.one("stop",t.bind(this)):t.call(this)},e.prototype.computeTitle=function(t){var e;return e=/^(year|month)$/.test(t.currentRangeUnit)?t.currentUnzonedRange:t.activeUnzonedRange,this.formatRange({start:this.calendar.msToMoment(e.startMs,t.isRangeAllDay),end:this.calendar.msToMoment(e.endMs,t.isRangeAllDay)},t.isRangeAllDay,this.opt("titleFormat")||this.computeTitleFormat(t),this.opt("titleRangeSeparator"))},e.prototype.computeTitleFormat=function(t){var e=t.currentRangeUnit;return"year"===e?"YYYY":"month"===e?this.opt("monthYearFormat"):t.currentUnzonedRange.as("days")>1?"ll":"LL"},e.prototype.setDate=function(t){var e=this.get("dateProfile"),i=this.dateProfileGenerator.build(t,void 0,!0);e&&e.activeUnzonedRange.equals(i.activeUnzonedRange)||this.set("dateProfile",i)},e.prototype.unsetDate=function(){this.unset("dateProfile")},e.prototype.fetchInitialEvents=function(t){var e=this.calendar,i=t.isRangeAllDay&&!this.usesMinMaxTime;return e.requestEvents(e.msToMoment(t.activeUnzonedRange.startMs,i),e.msToMoment(t.activeUnzonedRange.endMs,i))},e.prototype.bindEventChanges=function(){this.listenTo(this.calendar,"eventsReset",this.resetEvents)},e.prototype.unbindEventChanges=function(){this.stopListeningTo(this.calendar,"eventsReset")},e.prototype.setEvents=function(t){this.set("currentEvents",t),this.set("hasEvents",!0)},e.prototype.unsetEvents=function(){this.unset("currentEvents"),this.unset("hasEvents")},e.prototype.resetEvents=function(t){this.startBatchRender(),this.unsetEvents(),this.setEvents(t),this.stopBatchRender()},e.prototype.requestDateRender=function(t){var e=this;this.requestRender(function(){e.executeDateRender(t)},"date","init")},e.prototype.requestDateUnrender=function(){var t=this;this.requestRender(function(){t.executeDateUnrender()},"date","destroy")},e.prototype.executeDateRender=function(e){t.prototype.executeDateRender.call(this,e),this.render&&this.render(),this.trigger("datesRendered"),this.addScroll({isDateInit:!0}),this.startNowIndicator()},e.prototype.executeDateUnrender=function(){this.unselect(),this.stopNowIndicator(),this.trigger("before:datesUnrendered"),this.destroy&&this.destroy(),t.prototype.executeDateUnrender.call(this)},e.prototype.bindBaseRenderHandlers=function(){var t=this;this.on("datesRendered",function(){t.whenSizeUpdated(t.triggerViewRender)}),this.on("before:datesUnrendered",function(){t.triggerViewDestroy()})},e.prototype.triggerViewRender=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerViewDestroy=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.requestEventsRender=function(t){var e=this;this.requestRender(function(){e.executeEventRender(t),e.whenSizeUpdated(e.triggerAfterEventsRendered)},"event","init")},e.prototype.requestEventsUnrender=function(){var t=this;this.requestRender(function(){t.triggerBeforeEventsDestroyed(),t.executeEventUnrender()},"event","destroy")},e.prototype.requestBusinessHoursRender=function(t){var e=this;this.requestRender(function(){e.renderBusinessHours(t)},"businessHours","init")},e.prototype.requestBusinessHoursUnrender=function(){var t=this;this.requestRender(function(){t.unrenderBusinessHours()},"businessHours","destroy")},e.prototype.bindGlobalHandlers=function(){t.prototype.bindGlobalHandlers.call(this),this.listenTo(u.default.get(),{touchstart:this.processUnselect,mousedown:this.handleDocumentMousedown})},e.prototype.unbindGlobalHandlers=function(){t.prototype.unbindGlobalHandlers.call(this),this.stopListeningTo(u.default.get())},e.prototype.startNowIndicator=function(){var t,e,i,n=this;this.opt("nowIndicator")&&(t=this.getNowIndicatorUnit())&&(e=a.proxy(this,"updateNowIndicator"),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=(new Date).valueOf(),i=this.initialNowDate.clone().startOf(t).add(1,t).valueOf()-this.initialNowDate.valueOf(),this.nowIndicatorTimeoutID=setTimeout(function(){n.nowIndicatorTimeoutID=null,e(),i=+o.duration(1,t),i=Math.max(100,i),n.nowIndicatorIntervalID=setInterval(e,i)},i))},e.prototype.updateNowIndicator=function(){this.isDatesRendered&&this.initialNowDate&&(this.unrenderNowIndicator(),this.renderNowIndicator(this.initialNowDate.clone().add((new Date).valueOf()-this.initialNowQueriedMs)),this.isNowIndicatorRendered=!0)},e.prototype.stopNowIndicator=function(){this.isNowIndicatorRendered&&(this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearInterval(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},e.prototype.updateSize=function(e,i,n){this.setHeight?this.setHeight(e,i):t.prototype.updateSize.call(this,e,i,n),this.updateNowIndicator()},e.prototype.addScroll=function(t){var e=this.queuedScroll||(this.queuedScroll={});r.extend(e,t)},e.prototype.popScroll=function(){this.applyQueuedScroll(),this.queuedScroll=null},e.prototype.applyQueuedScroll=function(){this.queuedScroll&&this.applyScroll(this.queuedScroll)},e.prototype.queryScroll=function(){var t={};return this.isDatesRendered&&r.extend(t,this.queryDateScroll()),t},e.prototype.applyScroll=function(t){t.isDateInit&&this.isDatesRendered&&r.extend(t,this.computeInitialDateScroll()),this.isDatesRendered&&this.applyDateScroll(t)},e.prototype.computeInitialDateScroll=function(){return{}},e.prototype.queryDateScroll=function(){return{}},e.prototype.applyDateScroll=function(t){},e.prototype.reportEventDrop=function(t,e,i,n){var r=this.calendar.eventManager.mutateEventsWithId(t.def.id,e),a=e.dateMutation;a&&(t.dateProfile=a.buildNewDateProfile(t.dateProfile,this.calendar)),this.triggerEventDrop(t,a&&a.dateDelta||o.duration(),r,i,n)},e.prototype.triggerEventDrop=function(t,e,i,n,r){this.publiclyTrigger("eventDrop",{context:n[0],args:[t.toLegacy(),e,i,r,{},this]})},e.prototype.reportExternalDrop=function(t,e,i,n,r,o){e&&this.calendar.eventManager.addEventDef(t,i),this.triggerExternalDrop(t,e,n,r,o)},e.prototype.triggerExternalDrop=function(t,e,i,n,r){this.publiclyTrigger("drop",{context:i[0],args:[t.dateProfile.start.clone(),n,r,this]}),e&&this.publiclyTrigger("eventReceive",{context:this,args:[t.buildInstance().toLegacy(),this]})},e.prototype.reportEventResize=function(t,e,i,n){var r=this.calendar.eventManager.mutateEventsWithId(t.def.id,e);t.dateProfile=e.dateMutation.buildNewDateProfile(t.dateProfile,this.calendar);var o=e.dateMutation.endDelta||e.dateMutation.startDelta;this.triggerEventResize(t,o,r,i,n)},e.prototype.triggerEventResize=function(t,e,i,n,r){this.publiclyTrigger("eventResize",{context:n[0],args:[t.toLegacy(),e,i,r,{},this]})},e.prototype.select=function(t,e){this.unselect(e),this.renderSelectionFootprint(t),this.reportSelection(t,e)},e.prototype.renderSelectionFootprint=function(e){this.renderSelection?this.renderSelection(e.toLegacy(this.calendar)):t.prototype.renderSelectionFootprint.call(this,e)},e.prototype.reportSelection=function(t,e){this.isSelected=!0,this.triggerSelect(t,e)},e.prototype.triggerSelect=function(t,e){var i=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("select",{context:this,args:[i.start,i.end,e,this]})},e.prototype.unselect=function(t){this.isSelected&&(this.isSelected=!1,this.destroySelection&&this.destroySelection(),this.unrenderSelection(),this.publiclyTrigger("unselect",{context:this,args:[t,this]}))},e.prototype.selectEventInstance=function(t){this.selectedEventInstance&&this.selectedEventInstance===t||(this.unselectEventInstance(),this.getEventSegs().forEach(function(e){e.footprint.eventInstance===t&&e.el&&e.el.addClass("fc-selected")}),this.selectedEventInstance=t)},e.prototype.unselectEventInstance=function(){this.selectedEventInstance&&(this.getEventSegs().forEach(function(t){t.el&&t.el.removeClass("fc-selected")}),this.selectedEventInstance=null)},e.prototype.isEventDefSelected=function(t){return this.selectedEventInstance&&this.selectedEventInstance.def.id===t.id},e.prototype.handleDocumentMousedown=function(t){a.isPrimaryMouseButton(t)&&this.processUnselect(t)},e.prototype.processUnselect=function(t){this.processRangeUnselect(t),this.processEventUnselect(t)},e.prototype.processRangeUnselect=function(t){var e;this.isSelected&&this.opt("unselectAuto")&&((e=this.opt("unselectCancel"))&&r(t.target).closest(e).length||this.unselect(t))},e.prototype.processEventUnselect=function(t){this.selectedEventInstance&&(r(t.target).closest(".fc-selected").length||this.unselectEventInstance())},e.prototype.triggerBaseRendered=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},e.prototype.triggerBaseUnrendered=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},e.prototype.triggerDayClick=function(t,e,i){var n=this.calendar.footprintToDateProfile(t);this.publiclyTrigger("dayClick",{context:e,args:[n.start,i,this]})},e.prototype.isDateInOtherMonth=function(t,e){return!1},e.prototype.getUnzonedRangeOption=function(t){var e=this.opt(t);if("function"==typeof e&&(e=e.apply(null,Array.prototype.slice.call(arguments,1))),e)return this.calendar.parseUnzonedRange(e)},e.prototype.initHiddenDays=function(){var t,e=this.opt("hiddenDays")||[],i=[],n=0;for(!1===this.opt("weekends")&&e.push(0,6),t=0;t<7;t++)(i[t]=-1!==r.inArray(t,e))||n++;if(!n)throw new Error("invalid hiddenDays");this.isHiddenDayHash=i},e.prototype.trimHiddenDays=function(t){var e=t.getStart(),i=t.getEnd();return e&&(e=this.skipHiddenDays(e)),i&&(i=this.skipHiddenDays(i,-1,!0)),null===e||null===i||e<i?new h.default(e,i):null},e.prototype.isHiddenDay=function(t){return o.isMoment(t)&&(t=t.day()),this.isHiddenDayHash[t]},e.prototype.skipHiddenDays=function(t,e,i){void 0===e&&(e=1),void 0===i&&(i=!1);for(var n=t.clone();this.isHiddenDayHash[(n.day()+(i?e:0)+7)%7];)n.add(e,"days");return n},e}(c.default);e.default=d,d.prototype.usesMinMaxTime=!1,d.prototype.dateProfileGeneratorClass=l.default,d.watch("displayingDates",["isInDom","dateProfile"],function(t){this.requestDateRender(t.dateProfile)},function(){this.requestDateUnrender()}),d.watch("displayingBusinessHours",["displayingDates","businessHourGenerator"],function(t){this.requestBusinessHoursRender(t.businessHourGenerator)},function(){this.requestBusinessHoursUnrender()}),d.watch("initialEvents",["dateProfile"],function(t){return this.fetchInitialEvents(t.dateProfile)}),d.watch("bindingEvents",["initialEvents"],function(t){this.setEvents(t.initialEvents),this.bindEventChanges()},function(){this.unbindEventChanges(),this.unsetEvents()}),d.watch("displayingEvents",["displayingDates","hasEvents"],function(){this.requestEventsRender(this.get("currentEvents"))},function(){this.requestEventsUnrender()}),d.watch("title",["dateProfile"],function(t){return this.title=this.computeTitle(t.dateProfile)}),d.watch("legacyDateProps",["dateProfile"],function(t){var e=this.calendar,i=t.dateProfile;this.start=e.msToMoment(i.activeUnzonedRange.startMs,i.isRangeAllDay),this.end=e.msToMoment(i.activeUnzonedRange.endMs,i.isRangeAllDay),this.intervalStart=e.msToMoment(i.currentUnzonedRange.startMs,i.isRangeAllDay),this.intervalEnd=e.msToMoment(i.currentUnzonedRange.endMs,i.isRangeAllDay)})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=function(){function t(t,e){this.view=t._getView(),this.component=t,this.fillRenderer=e}return t.prototype.opt=function(t){return this.view.opt(t)},t.prototype.rangeUpdated=function(){var t,e;this.eventTimeFormat=this.opt("eventTimeFormat")||this.opt("timeFormat")||this.computeEventTimeFormat(),null==(t=this.opt("displayEventTime"))&&(t=this.computeDisplayEventTime()),null==(e=this.opt("displayEventEnd"))&&(e=this.computeDisplayEventEnd()),this.displayEventTime=t,this.displayEventEnd=e},t.prototype.render=function(t){var e,i,n,r=this.component._getDateProfile(),o=[],a=[];for(e in t)n=(i=t[e]).sliceRenderRanges(r.activeUnzonedRange),i.getEventDef().hasBgRendering()?o.push.apply(o,n):a.push.apply(a,n);this.renderBgRanges(o),this.renderFgRanges(a)},t.prototype.unrender=function(){this.unrenderBgRanges(),this.unrenderFgRanges()},t.prototype.renderFgRanges=function(t){var e=this.component.eventRangesToEventFootprints(t),i=this.component.eventFootprintsToSegs(e);i=this.renderFgSegEls(i),!1!==this.renderFgSegs(i)&&(this.fgSegs=i)},t.prototype.unrenderFgRanges=function(){this.unrenderFgSegs(this.fgSegs||[]),this.fgSegs=null},t.prototype.renderBgRanges=function(t){var e=this.component.eventRangesToEventFootprints(t),i=this.component.eventFootprintsToSegs(e);!1!==this.renderBgSegs(i)&&(this.bgSegs=i)},t.prototype.unrenderBgRanges=function(){this.unrenderBgSegs(),this.bgSegs=null},t.prototype.getSegs=function(){return(this.bgSegs||[]).concat(this.fgSegs||[])},t.prototype.renderFgSegs=function(t){return!1},t.prototype.unrenderFgSegs=function(t){},t.prototype.renderBgSegs=function(t){var e=this;if(!this.fillRenderer)return!1;this.fillRenderer.renderSegs("bgEvent",t,{getClasses:function(t){return e.getBgClasses(t.footprint.eventDef)},getCss:function(t){return{"background-color":e.getBgColor(t.footprint.eventDef)}},filterEl:function(t,i){return e.filterEventRenderEl(t.footprint,i)}})},t.prototype.unrenderBgSegs=function(){this.fillRenderer&&this.fillRenderer.unrender("bgEvent")},t.prototype.renderFgSegEls=function(t,e){var i=this;void 0===e&&(e=!1);var r,o=this.view.hasPublicHandlers("eventRender"),a="",s=[];if(t.length){for(r=0;r<t.length;r++)this.beforeFgSegHtml(t[r]),a+=this.fgSegHtml(t[r],e);n(a).each(function(e,r){var a=t[e],l=n(r);o&&(l=i.filterEventRenderEl(a.footprint,l)),l&&(l.data("fc-seg",a),a.el=l,s.push(a))})}return s},t.prototype.beforeFgSegHtml=function(t){},t.prototype.fgSegHtml=function(t,e){},t.prototype.getSegClasses=function(t,e,i){var n=["fc-event",t.isStart?"fc-start":"fc-not-start",t.isEnd?"fc-end":"fc-not-end"].concat(this.getClasses(t.footprint.eventDef));return e&&n.push("fc-draggable"),i&&n.push("fc-resizable"),this.view.isEventDefSelected(t.footprint.eventDef)&&n.push("fc-selected"),n},t.prototype.filterEventRenderEl=function(t,e){var i=t.getEventLegacy(),r=this.view.publiclyTrigger("eventRender",{context:i,args:[i,e,this.view]});return!1===r?e=null:r&&!0!==r&&(e=n(r)),e},t.prototype.getTimeText=function(t,e,i){return this._getTimeText(t.eventInstance.dateProfile.start,t.eventInstance.dateProfile.end,t.componentFootprint.isAllDay,e,i)},t.prototype._getTimeText=function(t,e,i,n,r){return null==n&&(n=this.eventTimeFormat),null==r&&(r=this.displayEventEnd),this.displayEventTime&&!i?r&&e?this.view.formatRange({start:t,end:e},!1,n):t.format(n):""},t.prototype.computeEventTimeFormat=function(){return this.opt("smallTimeFormat")},t.prototype.computeDisplayEventTime=function(){return!0},t.prototype.computeDisplayEventEnd=function(){return!0},t.prototype.getBgClasses=function(t){var e=this.getClasses(t);return e.push("fc-bgevent"),e},t.prototype.getClasses=function(t){var e,i=this.getStylingObjs(t),n=[];for(e=0;e<i.length;e++)n.push.apply(n,i[e].eventClassName||i[e].className||[]);return n},t.prototype.getSkinCss=function(t){return{"background-color":this.getBgColor(t),"border-color":this.getBorderColor(t),color:this.getTextColor(t)}},t.prototype.getBgColor=function(t){var e,i,n=this.getStylingObjs(t);for(e=0;e<n.length&&!i;e++)i=n[e].eventBackgroundColor||n[e].eventColor||n[e].backgroundColor||n[e].color;return i||(i=this.opt("eventBackgroundColor")||this.opt("eventColor")),i},t.prototype.getBorderColor=function(t){var e,i,n=this.getStylingObjs(t);for(e=0;e<n.length&&!i;e++)i=n[e].eventBorderColor||n[e].eventColor||n[e].borderColor||n[e].color;return i||(i=this.opt("eventBorderColor")||this.opt("eventColor")),i},t.prototype.getTextColor=function(t){var e,i,n=this.getStylingObjs(t);for(e=0;e<n.length&&!i;e++)i=n[e].eventTextColor||n[e].textColor;return i||(i=this.opt("eventTextColor")),i},t.prototype.getStylingObjs=function(t){var e=this.getFallbackStylingObjs(t);return e.unshift(t),e},t.prototype.getFallbackStylingObjs=function(t){return[t.source]},t.prototype.sortEventSegs=function(t){t.sort(r.proxy(this,"compareEventSegs"))},t.prototype.compareEventSegs=function(t,e){var i=t.footprint,n=e.footprint,o=i.componentFootprint,a=n.componentFootprint,s=o.unzonedRange,l=a.unzonedRange;return s.startMs-l.startMs||l.endMs-l.startMs-(s.endMs-s.startMs)||a.isAllDay-o.isAllDay||r.compareByFieldSpecs(i.eventDef,n.eventDef,this.view.eventOrderSpecs,i.eventDef.miscProps,n.eventDef.miscProps)},t}();e.default=o},,,,,function(t,e,i){function n(t){return"en"!==t.locale()?t.clone().locale("en"):t}function r(t,e){return function(t,e){return h(u(t,e).join(""))}(o(e).fakeFormatString,t)}function o(t){return b[t]||(b[t]=function(t){var e=a(t);return{fakeFormatString:l(e),sameUnits:c(e)}}(t))}function a(t){for(var e,i=[],n=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;e=n.exec(t);)e[1]?i.push.apply(i,s(e[1])):e[2]?i.push({maybe:a(e[2])}):e[3]?i.push({token:e[3]}):e[5]&&i.push.apply(i,s(e[5]));return i}function s(t){return". "===t?["."," "]:[t]}function l(t){var e,i,n=[];for(e=0;e<t.length;e++)"string"==typeof(i=t[e])?n.push("["+i+"]"):i.token?i.token in v?n.push(p+"["+i.token+"]"):n.push(i.token):i.maybe&&n.push(g+l(i.maybe)+g);return n.join(f)}function c(t){var e,i,n,r=[];for(e=0;e<t.length;e++)(i=t[e]).token?(n=y[i.token.charAt(0)],r.push(n?n.unit:"second")):i.maybe?r.push.apply(r,c(i.maybe)):r.push(null);return r}function u(t,e){var i,n,r=[],o=d.oldMomentFormat(e,t).split(f);for(i=0;i<o.length;i++)(n=o[i]).charAt(0)===p?r.push(v[n.substring(1)](e)):r.push(n);return r}function h(t){return t.replace(m,function(t,e){return e.match(/[1-9]/)?e:""})}Object.defineProperty(e,"__esModule",{value:!0});var d=i(11);d.newMomentProto.format=function(){return this._fullCalendar&&arguments[0]?r(this,arguments[0]):this._ambigTime?d.oldMomentFormat(n(this),"YYYY-MM-DD"):this._ambigZone?d.oldMomentFormat(n(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?d.oldMomentFormat(n(this)):d.oldMomentProto.format.apply(this,arguments)},d.newMomentProto.toISOString=function(){return this._ambigTime?d.oldMomentFormat(n(this),"YYYY-MM-DD"):this._ambigZone?d.oldMomentFormat(n(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?d.oldMomentProto.toISOString.apply(n(this),arguments):d.oldMomentProto.toISOString.apply(this,arguments)};var f="\v",p="",g="",m=new RegExp(g+"([^"+g+"]*)"+g,"g"),v={t:function(t){return d.oldMomentFormat(t,"a").charAt(0)},T:function(t){return d.oldMomentFormat(t,"A").charAt(0)}},y={Y:{value:1,unit:"year"},M:{value:2,unit:"month"},W:{value:3,unit:"week"},w:{value:3,unit:"week"},D:{value:4,unit:"day"},d:{value:4,unit:"day"}};e.formatDate=r,e.formatRange=function(t,e,i,n,r){return t=d.default.parseZone(t),e=d.default.parseZone(e),function(t,e,i,n,r){var o,a,s,l=t.sameUnits,c=e.clone().stripZone(),d=i.clone().stripZone(),f=u(t.fakeFormatString,e),p=u(t.fakeFormatString,i),g="",m="",v="",y="",b="";for(o=0;o<l.length&&(!l[o]||c.isSame(d,l[o]));o++)g+=f[o];for(a=l.length-1;a>o&&(!l[a]||c.isSame(d,l[a]))&&(a-1!==o||"."!==f[a]);a--)m=f[a]+m;for(s=o;s<=a;s++)v+=f[s],y+=p[s];return(v||y)&&(b=r?y+n+v:v+n+y),h(g+b+m)}(o(i=t.localeData().longDateFormat(i)||i),t,e,n||" - ",r)};var b={};e.queryMostGranularFormatUnit=function(t){var e,i,n,r,o=a(t);for(e=0;e<o.length;e++)(i=o[e]).token&&(n=y[i.token.charAt(0)])&&(!r||n.value>r.value)&&(r=n);return r?r.unit:null}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){return function(t,e,i){this.unzonedRange=t,this.eventDef=e,i&&(this.eventInstance=i)}}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(35),o=i(13),a=i(7),s=function(t){function e(){var e=t.call(this)||this;return e._watchers={},e._props={},e.applyGlobalWatchers(),e.constructed(),e}return n.__extends(e,t),e.watch=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];this.prototype.hasOwnProperty("_globalWatchArgs")||(this.prototype._globalWatchArgs=Object.create(this.prototype._globalWatchArgs)),this.prototype._globalWatchArgs[t]=e},e.prototype.constructed=function(){},e.prototype.applyGlobalWatchers=function(){var t,e=this._globalWatchArgs;for(t in e)this.watch.apply(this,[t].concat(e[t]))},e.prototype.has=function(t){return t in this._props},e.prototype.get=function(t){return void 0===t?this._props:this._props[t]},e.prototype.set=function(t,e){var i;"string"==typeof t?(i={})[t]=void 0===e?null:e:i=t,this.setProps(i)},e.prototype.reset=function(t){var e,i=this._props,n={};for(e in i)n[e]=void 0;for(e in t)n[e]=t[e];this.setProps(n)},e.prototype.unset=function(t){var e,i,n={};for(e="string"==typeof t?[t]:t,i=0;i<e.length;i++)n[e[i]]=void 0;this.setProps(n)},e.prototype.setProps=function(t){var e,i,n={},r=0;for(e in t)"object"!=typeof(i=t[e])&&i===this._props[e]||(n[e]=i,r++);if(r){for(e in this.trigger("before:batchChange",n),n)i=n[e],this.trigger("before:change",e,i),this.trigger("before:change:"+e,i);for(e in n)void 0===(i=n[e])?delete this._props[e]:this._props[e]=i,this.trigger("change:"+e,i),this.trigger("change",e,i);this.trigger("batchChange",n)}},e.prototype.watch=function(t,e,i,n){var r=this;this.unwatch(t),this._watchers[t]=this._watchDeps(e,function(e){var n=i.call(r,e);n&&n.then?(r.unset(t),n.then(function(e){r.set(t,e)})):r.set(t,n)},function(e){r.unset(t),n&&n.call(r,e)})},e.prototype.unwatch=function(t){var e=this._watchers[t];e&&(delete this._watchers[t],e.teardown())},e.prototype._watchDeps=function(t,e,i){var n=this,r=0,o=t.length,a=0,s={},l=[],c=!1,u=function(t,i,n){void 0===i?(n||void 0===s[t]||a--,delete s[t]):(n||void 0!==s[t]||a++,s[t]=i),--r||a===o&&(c||e(s))},h=function(t,e){n.on(t,e),l.push([t,e])};return t.forEach(function(t){var e=!1;"?"===t.charAt(0)&&(t=t.substring(1),e=!0),h("before:change:"+t,function(t){1==++r&&a===o&&(c=!0,i(s),c=!1)}),h("change:"+t,function(i){u(t,i,e)})}),t.forEach(function(t){var e=!1;"?"===t.charAt(0)&&(t=t.substring(1),e=!0),n.has(t)?(s[t]=n.get(t),a++):e&&a++}),a===o&&e(s),{teardown:function(){for(var t=0;t<l.length;t++)n.off(l[t][0],l[t][1]);l=null,a===o&&i()},flash:function(){a===o&&(i(),e(s))}}},e.prototype.flash=function(t){var e=this._watchers[t];e&&e.flash()},e}(r.default);e.default=s,s.prototype._globalWatchArgs={},o.default.mixInto(s),a.default.mixInto(s)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.defineStandardProps=function(t){var e=this.prototype;e.hasOwnProperty("standardPropMap")||(e.standardPropMap=Object.create(e.standardPropMap)),r.copyOwnProps(t,e.standardPropMap)},e.copyVerbatimStandardProps=function(t,e){var i,n=this.prototype.standardPropMap;for(i in n)null!=t[i]&&!0===n[i]&&(e[i]=t[i])},e.prototype.applyProps=function(t){var e,i=this.standardPropMap,n={},r={};for(e in t)!0===i[e]?this[e]=t[e]:!1===i[e]?n[e]=t[e]:r[e]=t[e];return this.applyMiscProps(r),this.applyManualStandardProps(n)},e.prototype.applyManualStandardProps=function(t){return!0},e.prototype.applyMiscProps=function(t){},e.prototype.isStandardProp=function(t){return t in this.standardPropMap},e}(i(15).default);e.default=o,o.prototype.standardPropMap={}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){this.def=t,this.dateProfile=e}return t.prototype.toLegacy=function(){var t=this.dateProfile,e=this.def.toLegacy();return e.start=t.start.clone(),e.end=t.end?t.end.clone():null,e},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(0),a=i(37),s=i(53),l=i(16),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.isAllDay=function(){return!this.startTime&&!this.endTime},e.prototype.buildInstances=function(t){for(var e,i,n,r=this.source.calendar,o=t.getStart(),a=t.getEnd(),c=[];o.isBefore(a);)this.dowHash&&!this.dowHash[o.day()]||(i=(e=r.applyTimezone(o)).clone(),n=null,this.startTime?i.time(this.startTime):i.stripTime(),this.endTime&&(n=e.clone().time(this.endTime)),c.push(new s.default(this,new l.default(i,n,r)))),o.add(1,"days");return c},e.prototype.setDow=function(t){this.dowHash||(this.dowHash={});for(var e=0;e<t.length;e++)this.dowHash[t[e]]=!0},e.prototype.clone=function(){var e=t.prototype.clone.call(this);return e.startTime&&(e.startTime=o.duration(this.startTime)),e.endTime&&(e.endTime=o.duration(this.endTime)),this.dowHash&&(e.dowHash=r.extend({},this.dowHash)),e},e}(a.default);e.default=c,c.prototype.applyProps=function(t){var e=a.default.prototype.applyProps.call(this,t);return t.start&&(this.startTime=o.duration(t.start)),t.end&&(this.endTime=o.duration(t.end)),t.dow&&this.setDow(t.dow),e},c.defineStandardProps({start:!1,end:!1,dow:!1})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),r=i(4),o=i(5),a=function(){function t(t){this._view=t}return t.prototype.opt=function(t){return this._view.opt(t)},t.prototype.trimHiddenDays=function(t){return this._view.trimHiddenDays(t)},t.prototype.msToUtcMoment=function(t,e){return this._view.calendar.msToUtcMoment(t,e)},t.prototype.buildPrev=function(t){var e=t.date.clone().startOf(t.currentRangeUnit).subtract(t.dateIncrement);return this.build(e,-1)},t.prototype.buildNext=function(t){var e=t.date.clone().startOf(t.currentRangeUnit).add(t.dateIncrement);return this.build(e,1)},t.prototype.build=function(t,e,i){void 0===i&&(i=!1);var r,o,a,s,l,c,u,h,d=!t.hasTime();return r=this.buildValidRange(),r=this.trimHiddenDays(r),i&&(t=this.msToUtcMoment(r.constrainDate(t),d)),o=this.buildCurrentRangeInfo(t,e),a=/^(year|month|week|day)$/.test(o.unit),s=this.buildRenderRange(this.trimHiddenDays(o.unzonedRange),o.unit,a),l=(s=this.trimHiddenDays(s)).clone(),this.opt("showNonCurrentDates")||(l=l.intersect(o.unzonedRange)),u=n.duration(this.opt("minTime")),h=n.duration(this.opt("maxTime")),(l=(l=this.adjustActiveRange(l,u,h)).intersect(r))&&(t=this.msToUtcMoment(l.constrainDate(t),d)),c=o.unzonedRange.intersectsWith(r),{validUnzonedRange:r,currentUnzonedRange:o.unzonedRange,currentRangeUnit:o.unit,isRangeAllDay:a,activeUnzonedRange:l,renderUnzonedRange:s,minTime:u,maxTime:h,isValid:c,date:t,dateIncrement:this.buildDateIncrement(o.duration)}},t.prototype.buildValidRange=function(){return this._view.getUnzonedRangeOption("validRange",this._view.calendar.getNow())||new o.default},t.prototype.buildCurrentRangeInfo=function(t,e){var i,n=this._view.viewSpec,o=null,a=null,s=null;return n.duration?(o=n.duration,a=n.durationUnit,s=this.buildRangeFromDuration(t,e,o,a)):(i=this.opt("dayCount"))?(a="day",s=this.buildRangeFromDayCount(t,e,i)):(s=this.buildCustomVisibleRange(t))?a=r.computeGreatestUnit(s.getStart(),s.getEnd()):(o=this.getFallbackDuration(),a=r.computeGreatestUnit(o),s=this.buildRangeFromDuration(t,e,o,a)),{duration:o,unit:a,unzonedRange:s}},t.prototype.getFallbackDuration=function(){return n.duration({days:1})},t.prototype.adjustActiveRange=function(t,e,i){var n=t.getStart(),r=t.getEnd();return this._view.usesMinMaxTime&&(e<0&&n.time(0).add(e),i>864e5&&r.time(i-864e5)),new o.default(n,r)},t.prototype.buildRangeFromDuration=function(t,e,i,a){function s(){u=t.clone().startOf(f),h=u.clone().add(i),d=new o.default(u,h)}var l,c,u,h,d,f=this.opt("dateAlignment");return f||((l=this.opt("dateIncrement"))?(c=n.duration(l),f=c<i?r.computeDurationGreatestUnit(c,l):a):f=a),i.as("days")<=1&&this._view.isHiddenDay(u)&&(u=this._view.skipHiddenDays(u,e)).startOf("day"),s(),this.trimHiddenDays(d)||(t=this._view.skipHiddenDays(t,e),s()),d},t.prototype.buildRangeFromDayCount=function(t,e,i){var n,r,a=this.opt("dateAlignment"),s=0;if(a||-1!==e){n=t.clone(),a&&n.startOf(a),n.startOf("day"),r=(n=this._view.skipHiddenDays(n)).clone();do{r.add(1,"day"),this._view.isHiddenDay(r)||s++}while(s<i)}else{r=t.clone().startOf("day").add(1,"day"),n=(r=this._view.skipHiddenDays(r,-1,!0)).clone();do{n.add(-1,"day"),this._view.isHiddenDay(n)||s++}while(s<i)}return new o.default(n,r)},t.prototype.buildCustomVisibleRange=function(t){var e=this._view.getUnzonedRangeOption("visibleRange",this._view.calendar.applyTimezone(t));return!e||null!=e.startMs&&null!=e.endMs?e:null},t.prototype.buildRenderRange=function(t,e,i){return t.clone()},t.prototype.buildDateIncrement=function(t){var e,i=this.opt("dateIncrement");return i?n.duration(i):(e=this.opt("dateAlignment"))?n.duration(1,e):t||n.duration({days:1})},t}();e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(21),s=i(6),l=i(9),c=function(t){function e(e){var i=t.call(this,e)||this;return i.eventDefs=[],i}return n.__extends(e,t),e.parse=function(t,e){var i;return r.isArray(t.events)?i=t:r.isArray(t)&&(i={events:t}),!!i&&s.default.parse.call(this,i,e)},e.prototype.setRawEventDefs=function(t){this.rawEventDefs=t,this.eventDefs=this.parseEventDefs(t)},e.prototype.fetch=function(t,e,i){var n,r=this.eventDefs;if(null!=this.currentTimezone&&this.currentTimezone!==i)for(n=0;n<r.length;n++)r[n]instanceof l.default&&r[n].rezone();return this.currentTimezone=i,a.default.resolve(r)},e.prototype.addEventDef=function(t){this.eventDefs.push(t)},e.prototype.removeEventDefsById=function(t){return o.removeMatching(this.eventDefs,function(e){return e.id===t})},e.prototype.removeAllEventDefs=function(){this.eventDefs=[]},e.prototype.getPrimitive=function(){return this.rawEventDefs},e.prototype.applyManualStandardProps=function(e){var i=t.prototype.applyManualStandardProps.call(this,e);return this.setRawEventDefs(e.events),i},e}(s.default);e.default=c,c.defineStandardProps({events:!1})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(221),r=i(222),o={};e.defineThemeSystem=function(t,e){o[t]=e},e.getThemeSystemClass=function(t){return t?!0===t?r.default:o[t]:n.default}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=function(){function t(t){this.isHorizontal=!1,this.isVertical=!1,this.els=n(t.els),this.isHorizontal=t.isHorizontal,this.isVertical=t.isVertical,this.forcedOffsetParentEl=t.offsetParent?n(t.offsetParent):null}return t.prototype.build=function(){var t=this.forcedOffsetParentEl;!t&&this.els.length>0&&(t=this.els.eq(0).offsetParent()),this.origin=t?t.offset():null,this.boundingRect=this.queryBoundingRect(),this.isHorizontal&&this.buildElHorizontals(),this.isVertical&&this.buildElVerticals()},t.prototype.clear=function(){this.origin=null,this.boundingRect=null,this.lefts=null,this.rights=null,this.tops=null,this.bottoms=null},t.prototype.ensureBuilt=function(){this.origin||this.build()},t.prototype.buildElHorizontals=function(){var t=[],e=[];this.els.each(function(i,r){var o=n(r),a=o.offset().left,s=o.outerWidth();t.push(a),e.push(a+s)}),this.lefts=t,this.rights=e},t.prototype.buildElVerticals=function(){var t=[],e=[];this.els.each(function(i,r){var o=n(r),a=o.offset().top,s=o.outerHeight();t.push(a),e.push(a+s)}),this.tops=t,this.bottoms=e},t.prototype.getHorizontalIndex=function(t){this.ensureBuilt();var e,i=this.lefts,n=this.rights,r=i.length;for(e=0;e<r;e++)if(t>=i[e]&&t<n[e])return e},t.prototype.getVerticalIndex=function(t){this.ensureBuilt();var e,i=this.tops,n=this.bottoms,r=i.length;for(e=0;e<r;e++)if(t>=i[e]&&t<n[e])return e},t.prototype.getLeftOffset=function(t){return this.ensureBuilt(),this.lefts[t]},t.prototype.getLeftPosition=function(t){return this.ensureBuilt(),this.lefts[t]-this.origin.left},t.prototype.getRightOffset=function(t){return this.ensureBuilt(),this.rights[t]},t.prototype.getRightPosition=function(t){return this.ensureBuilt(),this.rights[t]-this.origin.left},t.prototype.getWidth=function(t){return this.ensureBuilt(),this.rights[t]-this.lefts[t]},t.prototype.getTopOffset=function(t){return this.ensureBuilt(),this.tops[t]},t.prototype.getTopPosition=function(t){return this.ensureBuilt(),this.tops[t]-this.origin.top},t.prototype.getBottomOffset=function(t){return this.ensureBuilt(),this.bottoms[t]},t.prototype.getBottomPosition=function(t){return this.ensureBuilt(),this.bottoms[t]-this.origin.top},t.prototype.getHeight=function(t){return this.ensureBuilt(),this.bottoms[t]-this.tops[t]},t.prototype.queryBoundingRect=function(){var t;return this.els.length>0&&(!(t=r.getScrollParent(this.els.eq(0))).is(document)&&!t.is("html,body"))?r.getClientRect(t):null},t.prototype.isPointInBounds=function(t,e){return this.isLeftInBounds(t)&&this.isTopInBounds(e)},t.prototype.isLeftInBounds=function(t){return!this.boundingRect||t>=this.boundingRect.left&&t<this.boundingRect.right},t.prototype.isTopInBounds=function(t){return!this.boundingRect||t>=this.boundingRect.top&&t<this.boundingRect.bottom},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=i(7),a=i(23),s=function(){function t(t){this.isInteracting=!1,this.isDistanceSurpassed=!1,this.isDelayEnded=!1,this.isDragging=!1,this.isTouch=!1,this.isGeneric=!1,this.shouldCancelTouchScroll=!0,this.scrollAlwaysKills=!1,this.isAutoScroll=!1,this.scrollSensitivity=30,this.scrollSpeed=200,this.scrollIntervalMs=50,this.options=t||{}}return t.prototype.startInteraction=function(t,e){if(void 0===e&&(e={}),"mousedown"===t.type){if(a.default.get().shouldIgnoreMouse())return;if(!r.isPrimaryMouseButton(t))return;t.preventDefault()}this.isInteracting||(this.delay=r.firstDefined(e.delay,this.options.delay,0),this.minDistance=r.firstDefined(e.distance,this.options.distance,0),this.subjectEl=this.options.subjectEl,r.preventSelection(n("body")),this.isInteracting=!0,this.isTouch=r.getEvIsTouch(t),this.isGeneric="dragstart"===t.type,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.originX=r.getEvX(t),this.originY=r.getEvY(t),this.scrollEl=r.getScrollParent(n(t.target)),this.bindHandlers(),this.initAutoScroll(),this.handleInteractionStart(t),this.startDelay(t),this.minDistance||this.handleDistanceSurpassed(t))},t.prototype.handleInteractionStart=function(t){this.trigger("interactionStart",t)},t.prototype.endInteraction=function(t,e){this.isInteracting&&(this.endDrag(t),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null),this.destroyAutoScroll(),this.unbindHandlers(),this.isInteracting=!1,this.handleInteractionEnd(t,e),r.allowSelection(n("body")))},t.prototype.handleInteractionEnd=function(t,e){this.trigger("interactionEnd",t,e||!1)},t.prototype.bindHandlers=function(){var t=a.default.get();this.isGeneric?this.listenTo(n(document),{drag:this.handleMove,dragstop:this.endInteraction}):this.isTouch?this.listenTo(t,{touchmove:this.handleTouchMove,touchend:this.endInteraction,scroll:this.handleTouchScroll}):this.listenTo(t,{mousemove:this.handleMouseMove,mouseup:this.endInteraction}),this.listenTo(t,{selectstart:r.preventDefault,contextmenu:r.preventDefault})},t.prototype.unbindHandlers=function(){this.stopListeningTo(a.default.get()),this.stopListeningTo(n(document))},t.prototype.startDrag=function(t,e){this.startInteraction(t,e),this.isDragging||(this.isDragging=!0,this.handleDragStart(t))},t.prototype.handleDragStart=function(t){this.trigger("dragStart",t)},t.prototype.handleMove=function(t){var e=r.getEvX(t)-this.originX,i=r.getEvY(t)-this.originY,n=this.minDistance;this.isDistanceSurpassed||e*e+i*i>=n*n&&this.handleDistanceSurpassed(t),this.isDragging&&this.handleDrag(e,i,t)},t.prototype.handleDrag=function(t,e,i){this.trigger("drag",t,e,i),this.updateAutoScroll(i)},t.prototype.endDrag=function(t){this.isDragging&&(this.isDragging=!1,this.handleDragEnd(t))},t.prototype.handleDragEnd=function(t){this.trigger("dragEnd",t)},t.prototype.startDelay=function(t){var e=this;this.delay?this.delayTimeoutId=setTimeout(function(){e.handleDelayEnd(t)},this.delay):this.handleDelayEnd(t)},t.prototype.handleDelayEnd=function(t){this.isDelayEnded=!0,this.isDistanceSurpassed&&this.startDrag(t)},t.prototype.handleDistanceSurpassed=function(t){this.isDistanceSurpassed=!0,this.isDelayEnded&&this.startDrag(t)},t.prototype.handleTouchMove=function(t){this.isDragging&&this.shouldCancelTouchScroll&&t.preventDefault(),this.handleMove(t)},t.prototype.handleMouseMove=function(t){this.handleMove(t)},t.prototype.handleTouchScroll=function(t){this.isDragging&&!this.scrollAlwaysKills||this.endInteraction(t,!0)},t.prototype.trigger=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];this.options[t]&&this.options[t].apply(this,e),this["_"+t]&&this["_"+t].apply(this,e)},t.prototype.initAutoScroll=function(){var t=this.scrollEl;this.isAutoScroll=this.options.scroll&&t&&!t.is(window)&&!t.is(document),this.isAutoScroll&&this.listenTo(t,"scroll",r.debounce(this.handleDebouncedScroll,100))},t.prototype.destroyAutoScroll=function(){this.endAutoScroll(),this.isAutoScroll&&this.stopListeningTo(this.scrollEl,"scroll")},t.prototype.computeScrollBounds=function(){this.isAutoScroll&&(this.scrollBounds=r.getOuterRect(this.scrollEl))},t.prototype.updateAutoScroll=function(t){var e,i,n,o,a=this.scrollSensitivity,s=this.scrollBounds,l=0,c=0;s&&(e=(a-(r.getEvY(t)-s.top))/a,i=(a-(s.bottom-r.getEvY(t)))/a,n=(a-(r.getEvX(t)-s.left))/a,o=(a-(s.right-r.getEvX(t)))/a,e>=0&&e<=1?l=e*this.scrollSpeed*-1:i>=0&&i<=1&&(l=i*this.scrollSpeed),n>=0&&n<=1?c=n*this.scrollSpeed*-1:o>=0&&o<=1&&(c=o*this.scrollSpeed)),this.setScrollVel(l,c)},t.prototype.setScrollVel=function(t,e){this.scrollTopVel=t,this.scrollLeftVel=e,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(r.proxy(this,"scrollIntervalFunc"),this.scrollIntervalMs))},t.prototype.constrainScrollVel=function(){var t=this.scrollEl;this.scrollTopVel<0?t.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&t.scrollTop()+t[0].clientHeight>=t[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?t.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&t.scrollLeft()+t[0].clientWidth>=t[0].scrollWidth&&(this.scrollLeftVel=0)},t.prototype.scrollIntervalFunc=function(){var t=this.scrollEl,e=this.scrollIntervalMs/1e3;this.scrollTopVel&&t.scrollTop(t.scrollTop()+this.scrollTopVel*e),this.scrollLeftVel&&t.scrollLeft(t.scrollLeft()+this.scrollLeftVel*e),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.endAutoScroll()},t.prototype.endAutoScroll=function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.handleScrollEnd())},t.prototype.handleDebouncedScroll=function(){this.scrollIntervalId||this.handleScrollEnd()},t.prototype.handleScrollEnd=function(){},t}();e.default=s,o.default.mixInto(s)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.updateDayTable=function(){for(var t,e,i,n=this,r=n.view,o=r.calendar,a=o.msToUtcMoment(n.dateProfile.renderUnzonedRange.startMs,!0),s=o.msToUtcMoment(n.dateProfile.renderUnzonedRange.endMs,!0),l=-1,c=[],u=[];a.isBefore(s);)r.isHiddenDay(a)?c.push(l+.5):(l++,c.push(l),u.push(a.clone())),a.add(1,"days");if(this.breakOnWeeks){for(e=u[0].day(),t=1;t<u.length&&u[t].day()!==e;t++);i=Math.ceil(u.length/t)}else i=1,t=u.length;this.dayDates=u,this.dayIndices=c,this.daysPerRow=t,this.rowCnt=i,this.updateDayTableCols()},e.prototype.updateDayTableCols=function(){this.colCnt=this.computeColCnt(),this.colHeadFormat=this.opt("columnHeaderFormat")||this.opt("columnFormat")||this.computeColHeadFormat()},e.prototype.computeColCnt=function(){return this.daysPerRow},e.prototype.getCellDate=function(t,e){return this.dayDates[this.getCellDayIndex(t,e)].clone()},e.prototype.getCellRange=function(t,e){var i=this.getCellDate(t,e);return{start:i,end:i.clone().add(1,"days")}},e.prototype.getCellDayIndex=function(t,e){return t*this.daysPerRow+this.getColDayIndex(e)},e.prototype.getColDayIndex=function(t){return this.isRTL?this.colCnt-1-t:t},e.prototype.getDateDayIndex=function(t){var e=this.dayIndices,i=t.diff(this.dayDates[0],"days");return i<0?e[0]-1:i>=e.length?e[e.length-1]+1:e[i]},e.prototype.computeColHeadFormat=function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.opt("dayOfMonthFormat"):"dddd"},e.prototype.sliceRangeByRow=function(t){var e,i,n,r,o,a=this.daysPerRow,s=this.view.computeDayRange(t),l=this.getDateDayIndex(s.start),c=this.getDateDayIndex(s.end.clone().subtract(1,"days")),u=[];for(e=0;e<this.rowCnt;e++)n=(i=e*a)+a-1,r=Math.max(l,i),o=Math.min(c,n),(r=Math.ceil(r))<=(o=Math.floor(o))&&u.push({row:e,firstRowDayIndex:r-i,lastRowDayIndex:o-i,isStart:r===l,isEnd:o===c});return u},e.prototype.sliceRangeByDay=function(t){var e,i,n,r,o,a,s=this.daysPerRow,l=this.view.computeDayRange(t),c=this.getDateDayIndex(l.start),u=this.getDateDayIndex(l.end.clone().subtract(1,"days")),h=[];for(e=0;e<this.rowCnt;e++)for(n=(i=e*s)+s-1,r=i;r<=n;r++)o=Math.max(c,r),a=Math.min(u,r),(o=Math.ceil(o))<=(a=Math.floor(a))&&h.push({row:e,firstRowDayIndex:o-i,lastRowDayIndex:a-i,isStart:o===c,isEnd:a===u});return h},e.prototype.renderHeadHtml=function(){var t=this.view.calendar.theme;return'<div class="fc-row '+t.getClass("headerRow")+'"><table class="'+t.getClass("tableGrid")+'"><thead>'+this.renderHeadTrHtml()+"</thead></table></div>"},e.prototype.renderHeadIntroHtml=function(){return this.renderIntroHtml()},e.prototype.renderHeadTrHtml=function(){return"<tr>"+(this.isRTL?"":this.renderHeadIntroHtml())+this.renderHeadDateCellsHtml()+(this.isRTL?this.renderHeadIntroHtml():"")+"</tr>"},e.prototype.renderHeadDateCellsHtml=function(){var t,e,i=[];for(t=0;t<this.colCnt;t++)e=this.getCellDate(0,t),i.push(this.renderHeadDateCellHtml(e));return i.join("")},e.prototype.renderHeadDateCellHtml=function(t,e,i){var n,o=this,a=o.view,s=o.dateProfile.activeUnzonedRange.containsDate(t),l=["fc-day-header",a.calendar.theme.getClass("widgetHeader")];return n="function"==typeof o.opt("columnHeaderHtml")?o.opt("columnHeaderHtml")(t):"function"==typeof o.opt("columnHeaderText")?r.htmlEscape(o.opt("columnHeaderText")(t)):r.htmlEscape(t.format(o.colHeadFormat)),1===o.rowCnt?l=l.concat(o.getDayClasses(t,!0)):l.push("fc-"+r.dayIDs[t.day()]),'<th class="'+l.join(" ")+'"'+(1===(s&&o.rowCnt)?' data-date="'+t.format("YYYY-MM-DD")+'"':"")+(e>1?' colspan="'+e+'"':"")+(i?" "+i:"")+">"+(s?a.buildGotoAnchorHtml({date:t,forceOff:o.rowCnt>1||1===o.colCnt},n):n)+"</th>"},e.prototype.renderBgTrHtml=function(t){return"<tr>"+(this.isRTL?"":this.renderBgIntroHtml(t))+this.renderBgCellsHtml(t)+(this.isRTL?this.renderBgIntroHtml(t):"")+"</tr>"},e.prototype.renderBgIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderBgCellsHtml=function(t){var e,i,n=[];for(e=0;e<this.colCnt;e++)i=this.getCellDate(t,e),n.push(this.renderBgCellHtml(i));return n.join("")},e.prototype.renderBgCellHtml=function(t,e){var i=this,n=i.view,r=i.dateProfile.activeUnzonedRange.containsDate(t),o=i.getDayClasses(t);return o.unshift("fc-day",n.calendar.theme.getClass("widgetContent")),'<td class="'+o.join(" ")+'"'+(r?' data-date="'+t.format("YYYY-MM-DD")+'"':"")+(e?" "+e:"")+"></td>"},e.prototype.renderIntroHtml=function(){},e.prototype.bookendCells=function(t){var e=this.renderIntroHtml();e&&(this.isRTL?t.append(e):t.prepend(e))},e}(i(15).default);e.default=o},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e){this.component=t,this.fillRenderer=e}return t.prototype.render=function(t){var e=this.component,i=e._getDateProfile().activeUnzonedRange,n=t.buildEventInstanceGroup(e.hasAllDayBusinessHours,i),r=n?e.eventRangesToEventFootprints(n.sliceRenderRanges(i)):[];this.renderEventFootprints(r)},t.prototype.renderEventFootprints=function(t){var e=this.component.eventFootprintsToSegs(t);this.renderSegs(e),this.segs=e},t.prototype.renderSegs=function(t){this.fillRenderer&&this.fillRenderer.renderSegs("businessHours",t,{getClasses:function(t){return["fc-nonbusiness","fc-bgevent"]}})},t.prototype.unrender=function(){this.fillRenderer&&this.fillRenderer.unrender("businessHours"),this.segs=null},t.prototype.getSegs=function(){return this.segs||[]},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=function(){function t(t){this.fillSegTag="div",this.component=t,this.elsByFill={}}return t.prototype.renderFootprint=function(t,e,i){this.renderSegs(t,this.component.componentFootprintToSegs(e),i)},t.prototype.renderSegs=function(t,e,i){var n;return e=this.buildSegEls(t,e,i),(n=this.attachSegEls(t,e))&&this.reportEls(t,n),e},t.prototype.unrender=function(t){var e=this.elsByFill[t];e&&(e.remove(),delete this.elsByFill[t])},t.prototype.buildSegEls=function(t,e,i){var r,o=this,a="",s=[];if(e.length){for(r=0;r<e.length;r++)a+=this.buildSegHtml(t,e[r],i);n(a).each(function(t,r){var a=e[t],l=n(r);i.filterEl&&(l=i.filterEl(a,l)),l&&((l=n(l)).is(o.fillSegTag)&&(a.el=l,s.push(a)))})}return s},t.prototype.buildSegHtml=function(t,e,i){var n=i.getClasses?i.getClasses(e):[],o=r.cssToStr(i.getCss?i.getCss(e):{});return"<"+this.fillSegTag+(n.length?' class="'+n.join(" ")+'"':"")+(o?' style="'+o+'"':"")+" />"},t.prototype.attachSegEls=function(t,e){},t.prototype.reportEls=function(t,e){this.elsByFill[t]?this.elsByFill[t]=this.elsByFill[t].add(e):this.elsByFill[t]=n(e)},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(9),r=i(34),o=i(6),a=function(){function t(t,e){this.view=t._getView(),this.component=t,this.eventRenderer=e}return t.prototype.renderComponentFootprint=function(t){this.renderEventFootprints([this.fabricateEventFootprint(t)])},t.prototype.renderEventDraggingFootprints=function(t,e,i){this.renderEventFootprints(t,e,"fc-dragging",i?null:this.view.opt("dragOpacity"))},t.prototype.renderEventResizingFootprints=function(t,e,i){this.renderEventFootprints(t,e,"fc-resizing")},t.prototype.renderEventFootprints=function(t,e,i,n){var r,o=this.component.eventFootprintsToSegs(t),a="fc-helper "+(i||"");for(o=this.eventRenderer.renderFgSegEls(o),r=0;r<o.length;r++)o[r].el.addClass(a);if(null!=n)for(r=0;r<o.length;r++)o[r].el.css("opacity",n);this.helperEls=this.renderSegs(o,e)},t.prototype.renderSegs=function(t,e){},t.prototype.unrender=function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},t.prototype.fabricateEventFootprint=function(t){var e,i=this.view.calendar,a=i.footprintToDateProfile(t),s=new n.default(new o.default(i));return s.dateProfile=a,e=s.buildInstance(),new r.default(t,s,e)},t}();e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(23),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"click",this.handleClick.bind(this)),e.bindSegHandlerToEl(t,"mouseenter",this.handleMouseover.bind(this)),e.bindSegHandlerToEl(t,"mouseleave",this.handleMouseout.bind(this))},e.prototype.handleClick=function(t,e){!1===this.component.publiclyTrigger("eventClick",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,this.view]})&&e.preventDefault()},e.prototype.handleMouseover=function(t,e){r.default.get().shouldIgnoreMouse()||this.mousedOverSeg||(this.mousedOverSeg=t,this.view.isEventDefResizable(t.footprint.eventDef)&&t.el.addClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseover",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,this.view]}))},e.prototype.handleMouseout=function(t,e){this.mousedOverSeg&&(this.mousedOverSeg=null,this.view.isEventDefResizable(t.footprint.eventDef)&&t.el.removeClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseout",{context:t.el[0],args:[t.footprint.getEventLegacy(),e||{},this.view]}))},e.prototype.end=function(){this.mousedOverSeg&&this.handleMouseout(this.mousedOverSeg)},e}(i(14).default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(15),o=i(237),a=i(236),s=i(64),l=i(235),c=i(234),u=i(233),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(r.default);e.default=h,h.prototype.dateClickingClass=o.default,h.prototype.dateSelectingClass=a.default,h.prototype.eventPointingClass=s.default,h.prototype.eventDraggingClass=l.default,h.prototype.eventResizingClass=c.default,h.prototype.externalDroppingClass=u.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(58),s=i(227),l=i(5),c=i(12),u=i(34),h=i(61),d=i(65),f=i(42),p=i(60),g=i(243),m=i(244),v=i(245),y=function(t){function e(e){var i=t.call(this,e)||this;return i.cellWeekNumbersVisible=!1,i.bottomCoordPadding=0,i.isRigid=!1,i.hasAllDayBusinessHours=!0,i}return n.__extends(e,t),e.prototype.componentFootprintToSegs=function(t){var e,i,n=this.sliceRangeByRow(t.unzonedRange);for(e=0;e<n.length;e++)i=n[e],this.isRTL?(i.leftCol=this.daysPerRow-1-i.lastRowDayIndex,i.rightCol=this.daysPerRow-1-i.firstRowDayIndex):(i.leftCol=i.firstRowDayIndex,i.rightCol=i.lastRowDayIndex);return n},e.prototype.renderDates=function(t){this.dateProfile=t,this.updateDayTable(),this.renderGrid()},e.prototype.unrenderDates=function(){this.removeSegPopover()},e.prototype.renderGrid=function(){var t,e,i=this.view,n=this.rowCnt,r=this.colCnt,o="";for(this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),t=0;t<n;t++)o+=this.renderDayRowHtml(t,this.isRigid);for(this.el.html(o),this.rowEls=this.el.find(".fc-row"),this.cellEls=this.el.find(".fc-day, .fc-disabled-day"),this.rowCoordCache=new a.default({els:this.rowEls,isVertical:!0}),this.colCoordCache=new a.default({els:this.cellEls.slice(0,this.colCnt),isHorizontal:!0}),t=0;t<n;t++)for(e=0;e<r;e++)this.publiclyTrigger("dayRender",{context:i,args:[this.getCellDate(t,e),this.getCellEl(t,e),i]})},e.prototype.renderDayRowHtml=function(t,e){var i=this.view.calendar.theme,n=["fc-row","fc-week",i.getClass("dayRow")];return e&&n.push("fc-rigid"),'<div class="'+n.join(" ")+'"><div class="fc-bg"><table class="'+i.getClass("tableGrid")+'">'+this.renderBgTrHtml(t)+'</table></div><div class="fc-content-skeleton"><table>'+(this.getIsNumbersVisible()?"<thead>"+this.renderNumberTrHtml(t)+"</thead>":"")+"</table></div></div>"},e.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.cellWeekNumbersVisible},e.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},e.prototype.renderNumberTrHtml=function(t){return"<tr>"+(this.isRTL?"":this.renderNumberIntroHtml(t))+this.renderNumberCellsHtml(t)+(this.isRTL?this.renderNumberIntroHtml(t):"")+"</tr>"},e.prototype.renderNumberIntroHtml=function(t){return this.renderIntroHtml()},e.prototype.renderNumberCellsHtml=function(t){var e,i,n=[];for(e=0;e<this.colCnt;e++)i=this.getCellDate(t,e),n.push(this.renderNumberCellHtml(i));return n.join("")},e.prototype.renderNumberCellHtml=function(t){var e,i,n=this.view,r="",o=this.dateProfile.activeUnzonedRange.containsDate(t),a=this.getIsDayNumbersVisible()&&o;return a||this.cellWeekNumbersVisible?((e=this.getDayClasses(t)).unshift("fc-day-top"),this.cellWeekNumbersVisible&&(i="ISO"===t._locale._fullCalendar_weekCalc?1:t._locale.firstDayOfWeek()),r+='<td class="'+e.join(" ")+'"'+(o?' data-date="'+t.format()+'"':"")+">",this.cellWeekNumbersVisible&&t.day()===i&&(r+=n.buildGotoAnchorHtml({date:t,type:"week"},{class:"fc-week-number"},t.format("w"))),a&&(r+=n.buildGotoAnchorHtml(t,{class:"fc-day-number"},t.format("D"))),r+="</td>"):"<td/>"},e.prototype.prepareHits=function(){this.colCoordCache.build(),this.rowCoordCache.build(),this.rowCoordCache.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},e.prototype.releaseHits=function(){this.colCoordCache.clear(),this.rowCoordCache.clear()},e.prototype.queryHit=function(t,e){if(this.colCoordCache.isLeftInBounds(t)&&this.rowCoordCache.isTopInBounds(e)){var i=this.colCoordCache.getHorizontalIndex(t),n=this.rowCoordCache.getVerticalIndex(e);if(null!=n&&null!=i)return this.getCellHit(n,i)}},e.prototype.getHitFootprint=function(t){var e=this.getCellRange(t.row,t.col);return new c.default(new l.default(e.start,e.end),!0)},e.prototype.getHitEl=function(t){return this.getCellEl(t.row,t.col)},e.prototype.getCellHit=function(t,e){return{row:t,col:e,component:this,left:this.colCoordCache.getLeftOffset(e),right:this.colCoordCache.getRightOffset(e),top:this.rowCoordCache.getTopOffset(t),bottom:this.rowCoordCache.getBottomOffset(t)}},e.prototype.getCellEl=function(t,e){return this.cellEls.eq(t*this.colCnt+e)},e.prototype.executeEventUnrender=function(){this.removeSegPopover(),t.prototype.executeEventUnrender.call(this)},e.prototype.getOwnEventSegs=function(){return t.prototype.getOwnEventSegs.call(this).concat(this.popoverSegs||[])},e.prototype.renderDrag=function(t,e,i){var n;for(n=0;n<t.length;n++)this.renderHighlight(t[n].componentFootprint);if(t.length&&e&&e.component!==this)return this.helperRenderer.renderEventDraggingFootprints(t,e,i),!0},e.prototype.unrenderDrag=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.renderEventResize=function(t,e,i){var n;for(n=0;n<t.length;n++)this.renderHighlight(t[n].componentFootprint);this.helperRenderer.renderEventResizingFootprints(t,e,i)},e.prototype.unrenderEventResize=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},e.prototype.limitRows=function(t){var e,i,n=this.eventRenderer.rowStructs||[];for(e=0;e<n.length;e++)this.unlimitRow(e),!1!==(i=!!t&&("number"==typeof t?t:this.computeRowLevelLimit(e)))&&this.limitRow(e,i)},e.prototype.computeRowLevelLimit=function(t){function e(t,e){o=Math.max(o,r(e).outerHeight())}var i,n,o,a=this.rowEls.eq(t).height(),s=this.eventRenderer.rowStructs[t].tbodyEl.children();for(i=0;i<s.length;i++)if(n=s.eq(i).removeClass("fc-limited"),o=0,n.find("> td > :first-child").each(e),n.position().top+o>a)return i;return!1},e.prototype.limitRow=function(t,e){var i,n,o,a,s,l,c,u,h,d,f,p,g,m,v,y=this,b=this.eventRenderer.rowStructs[t],L=[],x=0,w=function(i){for(;x<i;)(l=y.getCellSegs(t,x,e)).length&&(h=n[e-1][x],v=y.renderMoreLink(t,x,l),m=r("<div/>").append(v),h.append(m),L.push(m[0])),x++};if(e&&e<b.segLevels.length){for(i=b.segLevels[e-1],n=b.cellMatrix,o=b.tbodyEl.children().slice(e).addClass("fc-limited").get(),a=0;a<i.length;a++){for(w((s=i[a]).leftCol),u=[],c=0;x<=s.rightCol;)l=this.getCellSegs(t,x,e),u.push(l),c+=l.length,x++;if(c){for(d=(h=n[e-1][s.leftCol]).attr("rowspan")||1,f=[],p=0;p<u.length;p++)g=r('<td class="fc-more-cell"/>').attr("rowspan",d),l=u[p],v=this.renderMoreLink(t,s.leftCol+p,[s].concat(l)),m=r("<div/>").append(v),g.append(m),f.push(g[0]),L.push(g[0]);h.addClass("fc-limited").after(r(f)),o.push(h[0])}}w(this.colCnt),b.moreEls=r(L),b.limitedEls=r(o)}},e.prototype.unlimitRow=function(t){var e=this.eventRenderer.rowStructs[t];e.moreEls&&(e.moreEls.remove(),e.moreEls=null),e.limitedEls&&(e.limitedEls.removeClass("fc-limited"),e.limitedEls=null)},e.prototype.renderMoreLink=function(t,e,i){var n=this,o=this.view;return r('<a class="fc-more"/>').text(this.getMoreLinkText(i.length)).on("click",function(a){var s=n.opt("eventLimitClick"),l=n.getCellDate(t,e),c=r(a.currentTarget),u=n.getCellEl(t,e),h=n.getCellSegs(t,e),d=n.resliceDaySegs(h,l),f=n.resliceDaySegs(i,l);"function"==typeof s&&(s=n.publiclyTrigger("eventLimitClick",{context:o,args:[{date:l.clone(),dayEl:u,moreEl:c,segs:d,hiddenSegs:f},a,o]})),"popover"===s?n.showSegPopover(t,e,c,d):"string"==typeof s&&o.calendar.zoomTo(l,s)})},e.prototype.showSegPopover=function(t,e,i,n){var r,o,a=this,l=this.view,c=i.parent();r=1===this.rowCnt?l.el:this.rowEls.eq(t),o={className:"fc-more-popover "+l.calendar.theme.getClass("popover"),content:this.renderSegPopoverContent(t,e,n),parentEl:l.el,top:r.offset().top,autoHide:!0,viewportConstrain:this.opt("popoverViewportConstrain"),hide:function(){a.popoverSegs&&a.triggerBeforeEventSegsDestroyed(a.popoverSegs),a.segPopover.removeElement(),a.segPopover=null,a.popoverSegs=null}},this.isRTL?o.right=c.offset().left+c.outerWidth()+1:o.left=c.offset().left-1,this.segPopover=new s.default(o),this.segPopover.show(),this.bindAllSegHandlersToEl(this.segPopover.el),this.triggerAfterEventSegsRendered(n)},e.prototype.renderSegPopoverContent=function(t,e,i){var n,a=this.view.calendar.theme,s=this.getCellDate(t,e).format(this.opt("dayPopoverFormat")),l=r('<div class="fc-header '+a.getClass("popoverHeader")+'"><span class="fc-close '+a.getIconClass("close")+'"></span><span class="fc-title">'+o.htmlEscape(s)+'</span><div class="fc-clear"/></div><div class="fc-body '+a.getClass("popoverContent")+'"><div class="fc-event-container"></div></div>'),c=l.find(".fc-event-container");for(i=this.eventRenderer.renderFgSegEls(i,!0),this.popoverSegs=i,n=0;n<i.length;n++)this.hitsNeeded(),i[n].hit=this.getCellHit(t,e),this.hitsNotNeeded(),c.append(i[n].el);return l},e.prototype.resliceDaySegs=function(t,e){var i,n,o,a=e.clone(),s=a.clone().add(1,"days"),h=new l.default(a,s),d=[];for(i=0;i<t.length;i++)(o=(n=t[i]).footprint.componentFootprint.unzonedRange.intersect(h))&&d.push(r.extend({},n,{footprint:new u.default(new c.default(o,n.footprint.componentFootprint.isAllDay),n.footprint.eventDef,n.footprint.eventInstance),isStart:n.isStart&&o.isStart,isEnd:n.isEnd&&o.isEnd}));return this.eventRenderer.sortEventSegs(d),d},e.prototype.getMoreLinkText=function(t){var e=this.opt("eventLimitText");return"function"==typeof e?e(t):"+"+t+" "+e},e.prototype.getCellSegs=function(t,e,i){for(var n,r=this.eventRenderer.rowStructs[t].segMatrix,o=i||0,a=[];o<r.length;)(n=r[o][e])&&a.push(n),o++;return a},e}(f.default);e.default=y,y.prototype.eventRendererClass=g.default,y.prototype.businessHourRendererClass=h.default,y.prototype.helperRendererClass=m.default,y.prototype.fillRendererClass=v.default,d.default.mixInto(y),p.default.mixInto(y)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(41),s=i(43),l=i(68),c=i(66),u=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.dayGrid=n.instantiateDayGrid(),n.dayGrid.isRigid=n.hasRigidRows(),n.opt("weekNumbers")&&(n.opt("weekNumbersWithinDays")?(n.dayGrid.cellWeekNumbersVisible=!0,n.dayGrid.colWeekNumbersVisible=!1):(n.dayGrid.cellWeekNumbersVisible=!1,n.dayGrid.colWeekNumbersVisible=!0)),n.addChild(n.dayGrid),n.scroller=new a.default({overflowX:"hidden",overflowY:"auto"}),n}return n.__extends(e,t),e.prototype.instantiateDayGrid=function(){return new(function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.colWeekNumbersVisible=!1,e}return n.__extends(e,t),e.prototype.renderHeadIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<th class="fc-week-number '+t.calendar.theme.getClass("widgetHeader")+'" '+t.weekNumberStyleAttr()+"><span>"+o.htmlEscape(this.opt("weekNumberTitle"))+"</span></th>":""},e.prototype.renderNumberIntroHtml=function(t){var e=this.view,i=this.getCellDate(t,0);return this.colWeekNumbersVisible?'<td class="fc-week-number" '+e.weekNumberStyleAttr()+">"+e.buildGotoAnchorHtml({date:i,type:"week",forceOff:1===this.colCnt},i.format("w"))+"</td>":""},e.prototype.renderBgIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number '+t.calendar.theme.getClass("widgetContent")+'" '+t.weekNumberStyleAttr()+"></td>":""},e.prototype.renderIntroHtml=function(){var t=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number" '+t.weekNumberStyleAttr()+"></td>":""},e.prototype.getIsNumbersVisible=function(){return c.default.prototype.getIsNumbersVisible.apply(this,arguments)||this.colWeekNumbersVisible},e}(this.dayGridClass))(this)},e.prototype.executeDateRender=function(e){this.dayGrid.breakOnWeeks=/year|month|week/.test(e.currentRangeUnit),t.prototype.executeDateRender.call(this,e)},e.prototype.renderSkeleton=function(){var t,e;this.el.addClass("fc-basic-view").html(this.renderSkeletonHtml()),this.scroller.render(),t=this.scroller.el.addClass("fc-day-grid-container"),e=r('<div class="fc-day-grid" />').appendTo(t),this.el.find(".fc-body > tr > td").append(t),this.dayGrid.headContainerEl=this.el.find(".fc-head-container"),this.dayGrid.setElement(e)},e.prototype.unrenderSkeleton=function(){this.dayGrid.removeElement(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.calendar.theme;return'<table class="'+t.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+t.getClass("widgetHeader")+'">&nbsp;</td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+t.getClass("widgetContent")+'"></td></tr></tbody></table>'},e.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},e.prototype.hasRigidRows=function(){var t=this.opt("eventLimit");return t&&"number"!=typeof t},e.prototype.updateSize=function(e,i,n){var r,a,s=this.opt("eventLimit"),l=this.dayGrid.headContainerEl.find(".fc-row");this.dayGrid.rowEls?(t.prototype.updateSize.call(this,e,i,n),this.dayGrid.colWeekNumbersVisible&&(this.weekNumberWidth=o.matchCellWidths(this.el.find(".fc-week-number"))),this.scroller.clear(),o.uncompensateScroll(l),this.dayGrid.removeSegPopover(),s&&"number"==typeof s&&this.dayGrid.limitRows(s),r=this.computeScrollerHeight(e),this.setGridHeight(r,i),s&&"number"!=typeof s&&this.dayGrid.limitRows(s),i||(this.scroller.setHeight(r),((a=this.scroller.getScrollbarWidths()).left||a.right)&&(o.compensateScroll(l,a),r=this.computeScrollerHeight(e),this.scroller.setHeight(r)),this.scroller.lockOverflow(a))):i||(r=this.computeScrollerHeight(e),this.scroller.setHeight(r))},e.prototype.computeScrollerHeight=function(t){return t-o.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.setGridHeight=function(t,e){e?o.undistributeHeight(this.dayGrid.rowEls):o.distributeHeight(this.dayGrid.rowEls,t,!0)},e.prototype.computeInitialDateScroll=function(){return{top:0}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e}(s.default);e.default=u,u.prototype.dateProfileGeneratorClass=l.default,u.prototype.dayGridClass=c.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(5),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.buildRenderRange=function(e,i,n){var o=t.prototype.buildRenderRange.call(this,e,i,n),a=this.msToUtcMoment(o.startMs,n),s=this.msToUtcMoment(o.endMs,n);return/^(year|month)$/.test(i)&&(a.startOf("week"),s.weekday()&&s.add(1,"week").startOf("week")),new r.default(a,s)},e}(i(55).default);e.default=o},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),r=i(12),o=i(36),a=i(6),s=i(19),l=function(){function t(t,e){this.eventManager=t,this._calendar=e}return t.prototype.opt=function(t){return this._calendar.opt(t)},t.prototype.isEventInstanceGroupAllowed=function(t){var e,i=t.getEventDef(),n=this.eventRangesToEventFootprints(t.getAllEventRanges()),r=this.getPeerEventInstances(i).map(s.eventInstanceToEventRange),o=this.eventRangesToEventFootprints(r),a=i.getConstraint(),l=i.getOverlap(),c=this.opt("eventAllow");for(e=0;e<n.length;e++)if(!this.isFootprintAllowed(n[e].componentFootprint,o,a,l,n[e].eventInstance))return!1;if(c)for(e=0;e<n.length;e++)if(!1===c(n[e].componentFootprint.toLegacy(this._calendar),n[e].getEventLegacy()))return!1;return!0},t.prototype.getPeerEventInstances=function(t){return this.eventManager.getEventInstancesWithoutId(t.id)},t.prototype.isSelectionFootprintAllowed=function(t){var e,i=this.eventManager.getEventInstances().map(s.eventInstanceToEventRange),n=this.eventRangesToEventFootprints(i);return!(!this.isFootprintAllowed(t,n,this.opt("selectConstraint"),this.opt("selectOverlap"))||(e=this.opt("selectAllow"))&&!1===e(t.toLegacy(this._calendar)))},t.prototype.isFootprintAllowed=function(t,e,i,n,r){var o,a;if(null!=i&&(o=this.constraintValToFootprints(i,t.isAllDay),!this.isFootprintWithinConstraints(t,o)))return!1;if(a=this.collectOverlapEventFootprints(e,t),!1===n){if(a.length)return!1}else if("function"==typeof n&&!function(t,e,i){var n;for(n=0;n<t.length;n++)if(!e(t[n].eventInstance.toLegacy(),i?i.toLegacy():null))return!1;return!0}(a,n,r))return!1;return!(r&&!function(t,e){var i,n,r,o=e.toLegacy();for(i=0;i<t.length;i++){if(!1===(r=(n=t[i].eventInstance).def.getOverlap()))return!1;if("function"==typeof r&&!r(n.toLegacy(),o))return!1}return!0}(a,r))},t.prototype.isFootprintWithinConstraints=function(t,e){var i;for(i=0;i<e.length;i++)if(this.footprintContainsFootprint(e[i],t))return!0;return!1},t.prototype.constraintValToFootprints=function(t,e){var i;return"businessHours"===t?this.buildCurrentBusinessFootprints(e):"object"==typeof t?(i=this.parseEventDefToInstances(t))?this.eventInstancesToFootprints(i):this.parseFootprints(t):null!=t?(i=this.eventManager.getEventInstancesWithId(t),this.eventInstancesToFootprints(i)):void 0},t.prototype.buildCurrentBusinessFootprints=function(t){var e=this._calendar.view,i=e.get("businessHourGenerator"),n=e.dateProfile.activeUnzonedRange,r=i.buildEventInstanceGroup(t,n);return r?this.eventInstancesToFootprints(r.eventInstances):[]},t.prototype.eventInstancesToFootprints=function(t){var e=t.map(s.eventInstanceToEventRange);return this.eventRangesToEventFootprints(e).map(s.eventFootprintToComponentFootprint)},t.prototype.collectOverlapEventFootprints=function(t,e){var i,n=[];for(i=0;i<t.length;i++)this.footprintsIntersect(e,t[i].componentFootprint)&&n.push(t[i]);return n},t.prototype.parseEventDefToInstances=function(t){var e=this.eventManager,i=o.default.parse(t,new a.default(this._calendar));return!!i&&i.buildInstances(e.currentPeriod.unzonedRange)},t.prototype.eventRangesToEventFootprints=function(t){var e,i=[];for(e=0;e<t.length;e++)i.push.apply(i,this.eventRangeToEventFootprints(t[e]));return i},t.prototype.eventRangeToEventFootprints=function(t){return[s.eventRangeToEventFootprint(t)]},t.prototype.parseFootprints=function(t){var e,i;return t.start&&((e=this._calendar.moment(t.start)).isValid()||(e=null)),t.end&&((i=this._calendar.moment(t.end)).isValid()||(i=null)),[new r.default(new n.default(e,i),e&&!e.hasTime()||i&&!i.hasTime())]},t.prototype.footprintContainsFootprint=function(t,e){return t.unzonedRange.containsRange(e.unzonedRange)},t.prototype.footprintsIntersect=function(t,e){return t.unzonedRange.intersectsWith(e.unzonedRange)},t}();e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(19),o=i(20),a=i(54),s=i(6),l={start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},c=function(){function t(t,e){this.rawComplexDef=t,this.calendar=e}return t.prototype.buildEventInstanceGroup=function(t,e){var i,n=this.buildEventDefs(t);if(n.length)return(i=new o.default(r.eventDefsToEventInstances(n,e))).explicitEventDef=n[0],i},t.prototype.buildEventDefs=function(t){var e,i=this.rawComplexDef,r=[],o=!1,a=[];for(!0===i?r=[{}]:n.isPlainObject(i)?r=[i]:n.isArray(i)&&(r=i,o=!0),e=0;e<r.length;e++)o&&!r[e].dow||a.push(this.buildEventDef(t,r[e]));return a},t.prototype.buildEventDef=function(t,e){var i=n.extend({},l,e);return t&&(i.start=null,i.end=null),a.default.parse(i,new s.default(this.calendar))},t}();e.default=c},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=i(21),a=i(13),s=i(5),l=i(20),c=function(){function t(t,e,i){this.pendingCnt=0,this.freezeDepth=0,this.stuntedReleaseCnt=0,this.releaseCnt=0,this.start=t,this.end=e,this.timezone=i,this.unzonedRange=new s.default(t.clone().stripZone(),e.clone().stripZone()),this.requestsByUid={},this.eventDefsByUid={},this.eventDefsById={},this.eventInstanceGroupsById={}}return t.prototype.isWithinRange=function(t,e){return!t.isBefore(this.start)&&!e.isAfter(this.end)},t.prototype.requestSources=function(t){this.freeze();for(var e=0;e<t.length;e++)this.requestSource(t[e]);this.thaw()},t.prototype.requestSource=function(t){var e=this,i={source:t,status:"pending",eventDefs:null};this.requestsByUid[t.uid]=i,this.pendingCnt+=1,t.fetch(this.start,this.end,this.timezone).then(function(t){"cancelled"!==i.status&&(i.status="completed",i.eventDefs=t,e.addEventDefs(t),e.pendingCnt--,e.tryRelease())},function(){"cancelled"!==i.status&&(i.status="failed",e.pendingCnt--,e.tryRelease())})},t.prototype.purgeSource=function(t){var e=this.requestsByUid[t.uid];e&&(delete this.requestsByUid[t.uid],"pending"===e.status?(e.status="cancelled",this.pendingCnt--,this.tryRelease()):"completed"===e.status&&e.eventDefs.forEach(this.removeEventDef.bind(this)))},t.prototype.purgeAllSources=function(){var t,e,i=this.requestsByUid,n=0;for(t in i)"pending"===(e=i[t]).status?e.status="cancelled":"completed"===e.status&&n++;this.requestsByUid={},this.pendingCnt=0,n&&this.removeAllEventDefs()},t.prototype.getEventDefByUid=function(t){return this.eventDefsByUid[t]},t.prototype.getEventDefsById=function(t){var e=this.eventDefsById[t];return e?e.slice():[]},t.prototype.addEventDefs=function(t){for(var e=0;e<t.length;e++)this.addEventDef(t[e])},t.prototype.addEventDef=function(t){var e,i=this.eventDefsById,n=t.id,r=i[n]||(i[n]=[]),o=t.buildInstances(this.unzonedRange);for(r.push(t),this.eventDefsByUid[t.uid]=t,e=0;e<o.length;e++)this.addEventInstance(o[e],n)},t.prototype.removeEventDefsById=function(t){var e=this;this.getEventDefsById(t).forEach(function(t){e.removeEventDef(t)})},t.prototype.removeAllEventDefs=function(){var t=n.isEmptyObject(this.eventDefsByUid);this.eventDefsByUid={},this.eventDefsById={},this.eventInstanceGroupsById={},t||this.tryRelease()},t.prototype.removeEventDef=function(t){var e=this.eventDefsById,i=e[t.id];delete this.eventDefsByUid[t.uid],i&&(r.removeExact(i,t),i.length||delete e[t.id],this.removeEventInstancesForDef(t))},t.prototype.getEventInstances=function(){var t,e=this.eventInstanceGroupsById,i=[];for(t in e)i.push.apply(i,e[t].eventInstances);return i},t.prototype.getEventInstancesWithId=function(t){var e=this.eventInstanceGroupsById[t];return e?e.eventInstances.slice():[]},t.prototype.getEventInstancesWithoutId=function(t){var e,i=this.eventInstanceGroupsById,n=[];for(e in i)e!==t&&n.push.apply(n,i[e].eventInstances);return n},t.prototype.addEventInstance=function(t,e){var i=this.eventInstanceGroupsById;(i[e]||(i[e]=new l.default)).eventInstances.push(t),this.tryRelease()},t.prototype.removeEventInstancesForDef=function(t){var e,i=this.eventInstanceGroupsById,n=i[t.id];n&&(e=r.removeMatching(n.eventInstances,function(e){return e.def===t}),n.eventInstances.length||delete i[t.id],e&&this.tryRelease())},t.prototype.tryRelease=function(){this.pendingCnt||(this.freezeDepth?this.stuntedReleaseCnt++:this.release())},t.prototype.release=function(){this.releaseCnt++,this.trigger("release",this.eventInstanceGroupsById)},t.prototype.whenReleased=function(){var t=this;return this.releaseCnt?o.default.resolve(this.eventInstanceGroupsById):o.default.construct(function(e){t.one("release",e)})},t.prototype.freeze=function(){this.freezeDepth++||(this.stuntedReleaseCnt=0)},t.prototype.thaw=function(){--this.freezeDepth||!this.stuntedReleaseCnt||this.pendingCnt||this.release()},t}();e.default=c,a.default.mixInto(c)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=i(219),a=i(56),s=i(6),l=i(38),c=i(9),u=i(20),h=i(13),d=i(7),f=function(){function t(t){this.calendar=t,this.stickySource=new a.default(t),this.otherSources=[]}return t.prototype.requestEvents=function(t,e,i,n){return!n&&this.currentPeriod&&this.currentPeriod.isWithinRange(t,e)&&i===this.currentPeriod.timezone||this.setPeriod(new o.default(t,e,i)),this.currentPeriod.whenReleased()},t.prototype.addSource=function(t){this.otherSources.push(t),this.currentPeriod&&this.currentPeriod.requestSource(t)},t.prototype.removeSource=function(t){r.removeExact(this.otherSources,t),this.currentPeriod&&this.currentPeriod.purgeSource(t)},t.prototype.removeAllSources=function(){this.otherSources=[],this.currentPeriod&&this.currentPeriod.purgeAllSources()},t.prototype.refetchSource=function(t){var e=this.currentPeriod;e&&(e.freeze(),e.purgeSource(t),e.requestSource(t),e.thaw())},t.prototype.refetchAllSources=function(){var t=this.currentPeriod;t&&(t.freeze(),t.purgeAllSources(),t.requestSources(this.getSources()),t.thaw())},t.prototype.getSources=function(){return[this.stickySource].concat(this.otherSources)},t.prototype.multiQuerySources=function(t){t?n.isArray(t)||(t=[t]):t=[];var e,i=[];for(e=0;e<t.length;e++)i.push.apply(i,this.querySources(t[e]));return i},t.prototype.querySources=function(t){var e,i,r=this.otherSources;for(e=0;e<r.length;e++)if((i=r[e])===t)return[i];return(i=this.getSourceById(s.default.normalizeId(t)))?[i]:(t=l.default.parse(t,this.calendar))?n.grep(r,function(e){return function(t,e){return t.getPrimitive()===e.getPrimitive()}(t,e)}):void 0},t.prototype.getSourceById=function(t){return n.grep(this.otherSources,function(e){return e.id&&e.id===t})[0]},t.prototype.setPeriod=function(t){this.currentPeriod&&(this.unbindPeriod(this.currentPeriod),this.currentPeriod=null),this.currentPeriod=t,this.bindPeriod(t),t.requestSources(this.getSources())},t.prototype.bindPeriod=function(t){this.listenTo(t,"release",function(t){this.trigger("release",t)})},t.prototype.unbindPeriod=function(t){this.stopListeningTo(t)},t.prototype.getEventDefByUid=function(t){if(this.currentPeriod)return this.currentPeriod.getEventDefByUid(t)},t.prototype.addEventDef=function(t,e){e&&this.stickySource.addEventDef(t),this.currentPeriod&&this.currentPeriod.addEventDef(t)},t.prototype.removeEventDefsById=function(t){this.getSources().forEach(function(e){e.removeEventDefsById(t)}),this.currentPeriod&&this.currentPeriod.removeEventDefsById(t)},t.prototype.removeAllEventDefs=function(){this.getSources().forEach(function(t){t.removeAllEventDefs()}),this.currentPeriod&&this.currentPeriod.removeAllEventDefs()},t.prototype.mutateEventsWithId=function(t,e){var i,n=this.currentPeriod,r=[];return n?(n.freeze(),(i=n.getEventDefsById(t)).forEach(function(t){n.removeEventDef(t),r.push(e.mutateSingle(t)),n.addEventDef(t)}),n.thaw(),function(){n.freeze();for(var t=0;t<i.length;t++)n.removeEventDef(i[t]),r[t](),n.addEventDef(i[t]);n.thaw()}):function(){}},t.prototype.buildMutatedEventInstanceGroup=function(t,e){var i,n,r=this.getEventDefsById(t),o=[];for(i=0;i<r.length;i++)(n=r[i].clone())instanceof c.default&&(e.mutateSingle(n),o.push.apply(o,n.buildInstances()));return new u.default(o)},t.prototype.freeze=function(){this.currentPeriod&&this.currentPeriod.freeze()},t.prototype.thaw=function(){this.currentPeriod&&this.currentPeriod.thaw()},t.prototype.getEventDefsById=function(t){return this.currentPeriod.getEventDefsById(t)},t.prototype.getEventInstances=function(){return this.currentPeriod.getEventInstances()},t.prototype.getEventInstancesWithId=function(t){return this.currentPeriod.getEventInstancesWithId(t)},t.prototype.getEventInstancesWithoutId=function(t){return this.currentPeriod.getEventInstancesWithoutId(t)},t}();e.default=f,h.default.mixInto(f),d.default.mixInto(f)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(i(22).default);e.default=r,r.prototype.classes={widget:"fc-unthemed",widgetHeader:"fc-widget-header",widgetContent:"fc-widget-content",buttonGroup:"fc-button-group",button:"fc-button",cornerLeft:"fc-corner-left",cornerRight:"fc-corner-right",stateDefault:"fc-state-default",stateActive:"fc-state-active",stateDisabled:"fc-state-disabled",stateHover:"fc-state-hover",stateDown:"fc-state-down",popoverHeader:"fc-widget-header",popoverContent:"fc-widget-content",headerRow:"fc-widget-header",dayRow:"fc-widget-content",listView:"fc-widget-content"},r.prototype.baseIconClass="fc-icon",r.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-left-single-arrow",next:"fc-icon-right-single-arrow",prevYear:"fc-icon-left-double-arrow",nextYear:"fc-icon-right-double-arrow"},r.prototype.iconOverrideOption="buttonIcons",r.prototype.iconOverrideCustomButtonOption="icon",r.prototype.iconOverridePrefix="fc-icon-"},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(i(22).default);e.default=r,r.prototype.classes={widget:"ui-widget",widgetHeader:"ui-widget-header",widgetContent:"ui-widget-content",buttonGroup:"fc-button-group",button:"ui-button",cornerLeft:"ui-corner-left",cornerRight:"ui-corner-right",stateDefault:"ui-state-default",stateActive:"ui-state-active",stateDisabled:"ui-state-disabled",stateHover:"ui-state-hover",stateDown:"ui-state-down",today:"ui-state-highlight",popoverHeader:"ui-widget-header",popoverContent:"ui-widget-content",headerRow:"ui-widget-header",dayRow:"ui-widget-content",listView:"ui-widget-content"},r.prototype.baseIconClass="ui-icon",r.prototype.iconClasses={close:"ui-icon-closethick",prev:"ui-icon-circle-triangle-w",next:"ui-icon-circle-triangle-e",prevYear:"ui-icon-seek-prev",nextYear:"ui-icon-seek-next"},r.prototype.iconOverrideOption="themeButtonIcons",r.prototype.iconOverrideCustomButtonOption="themeIcon",r.prototype.iconOverridePrefix="ui-icon-"},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(21),a=i(6),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.parse=function(t,e){var i;return r.isFunction(t.events)?i=t:r.isFunction(t)&&(i={events:t}),!!i&&a.default.parse.call(this,i,e)},e.prototype.fetch=function(t,e,i){var n=this;return this.calendar.pushLoading(),o.default.construct(function(r){n.func.call(n.calendar,t.clone(),e.clone(),i,function(t){n.calendar.popLoading(),r(n.parseEventDefs(t))})})},e.prototype.getPrimitive=function(){return this.func},e.prototype.applyManualStandardProps=function(e){var i=t.prototype.applyManualStandardProps.call(this,e);return this.func=e.events,i},e}(a.default);e.default=s,s.defineStandardProps({events:!1})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(21),s=i(6),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.parse=function(t,e){var i;return"string"==typeof t.url?i=t:"string"==typeof t&&(i={url:t}),!!i&&s.default.parse.call(this,i,e)},e.prototype.fetch=function(t,i,n){var s=this,l=this.ajaxSettings,c=l.success,u=l.error,h=this.buildRequestParams(t,i,n);return this.calendar.pushLoading(),a.default.construct(function(t,i){r.ajax(r.extend({},e.AJAX_DEFAULTS,l,{url:s.url,data:h,success:function(e,n,a){var l;s.calendar.popLoading(),e?(l=o.applyAll(c,s,[e,n,a]),r.isArray(l)&&(e=l),t(s.parseEventDefs(e))):i()},error:function(t,e,n){s.calendar.popLoading(),o.applyAll(u,s,[t,e,n]),i()}}))})},e.prototype.buildRequestParams=function(t,e,i){var n,o,a,s,l=this.calendar,c=this.ajaxSettings,u={};return null==(n=this.startParam)&&(n=l.opt("startParam")),null==(o=this.endParam)&&(o=l.opt("endParam")),null==(a=this.timezoneParam)&&(a=l.opt("timezoneParam")),s=r.isFunction(c.data)?c.data():c.data||{},r.extend(u,s),u[n]=t.format(),u[o]=e.format(),i&&"local"!==i&&(u[a]=i),u},e.prototype.getPrimitive=function(){return this.url},e.prototype.applyMiscProps=function(t){this.ajaxSettings=t},e.AJAX_DEFAULTS={dataType:"json",cache:!1},e}(s.default);e.default=l,l.defineStandardProps({url:!0,startParam:!0,endParam:!0,timezoneParam:!0})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t){this.items=t||[]}return t.prototype.proxyCall=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];var n=[];return this.items.forEach(function(i){n.push(i[t].apply(i,e))}),n},t}();e.default=i},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=i(7),a=function(){function t(t,e){this.isFollowing=!1,this.isHidden=!1,this.isAnimating=!1,this.options=e=e||{},this.sourceEl=t,this.parentEl=e.parentEl?n(e.parentEl):t.parent()}return t.prototype.start=function(t){this.isFollowing||(this.isFollowing=!0,this.y0=r.getEvY(t),this.x0=r.getEvX(t),this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),r.getEvIsTouch(t)?this.listenTo(n(document),"touchmove",this.handleMove):this.listenTo(n(document),"mousemove",this.handleMove))},t.prototype.stop=function(t,e){var i=this,r=this.options.revertDuration,o=function(){i.isAnimating=!1,i.removeElement(),i.top0=i.left0=null,e&&e()};this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,this.stopListeningTo(n(document)),t&&r&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:r,complete:o})):o())},t.prototype.getEl=function(){var t=this.el;return t||((t=this.el=this.sourceEl.clone().addClass(this.options.additionalClass||"").css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex})).addClass("fc-unselectable"),t.appendTo(this.parentEl)),t},t.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},t.prototype.updatePosition=function(){var t,e;this.getEl(),null==this.top0&&(t=this.sourceEl.offset(),e=this.el.offsetParent().offset(),this.top0=t.top-e.top,this.left0=t.left-e.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},t.prototype.handleMove=function(t){this.topDelta=r.getEvY(t)-this.y0,this.leftDelta=r.getEvX(t)-this.x0,this.isHidden||this.updatePosition()},t.prototype.hide=function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},t.prototype.show=function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())},t}();e.default=a,o.default.mixInto(a)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=i(7),a=function(){function t(t){this.isHidden=!0,this.margin=10,this.options=t||{}}return t.prototype.show=function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},t.prototype.hide=function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},t.prototype.render=function(){var t=this,e=this.options;this.el=n('<div class="fc-popover"/>').addClass(e.className||"").css({top:0,left:0}).append(e.content).appendTo(e.parentEl),this.el.on("click",".fc-close",function(){t.hide()}),e.autoHide&&this.listenTo(n(document),"mousedown",this.documentMousedown)},t.prototype.documentMousedown=function(t){this.el&&!n(t.target).closest(this.el).length&&this.hide()},t.prototype.removeElement=function(){this.hide(),this.el&&(this.el.remove(),this.el=null),this.stopListeningTo(n(document),"mousedown")},t.prototype.position=function(){var t,e,i,o,a,s=this.options,l=this.el.offsetParent().offset(),c=this.el.outerWidth(),u=this.el.outerHeight(),h=n(window),d=r.getScrollParent(this.el);o=s.top||0,a=void 0!==s.left?s.left:void 0!==s.right?s.right-c:0,d.is(window)||d.is(document)?(d=h,t=0,e=0):(t=(i=d.offset()).top,e=i.left),t+=h.scrollTop(),e+=h.scrollLeft(),!1!==s.viewportConstrain&&(o=Math.min(o,t+d.outerHeight()-u-this.margin),o=Math.max(o,t+this.margin),a=Math.min(a,e+d.outerWidth()-c-this.margin),a=Math.max(a,e+this.margin)),this.el.css({top:o-l.top,left:a-l.left})},t.prototype.trigger=function(t){this.options[t]&&this.options[t].apply(this,Array.prototype.slice.call(arguments,1))},t}();e.default=a,o.default.mixInto(a)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(13),r=function(){function t(){this.q=[],this.isPaused=!1,this.isRunning=!1}return t.prototype.queue=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.q.push.apply(this.q,t),this.tryStart()},t.prototype.pause=function(){this.isPaused=!0},t.prototype.resume=function(){this.isPaused=!1,this.tryStart()},t.prototype.getIsIdle=function(){return!this.isRunning&&!this.isPaused},t.prototype.tryStart=function(){!this.isRunning&&this.canRunNext()&&(this.isRunning=!0,this.trigger("start"),this.runRemaining())},t.prototype.canRunNext=function(){return!this.isPaused&&this.q.length},t.prototype.runRemaining=function(){var t,e,i=this;do{if(t=this.q.shift(),(e=this.runTask(t))&&e.then)return void e.then(function(){i.canRunNext()&&i.runRemaining()})}while(this.canRunNext());this.trigger("stop"),this.isRunning=!1,this.tryStart()},t.prototype.runTask=function(t){return t()},t}();e.default=r,n.default.mixInto(r)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=function(t){function e(e){var i=t.call(this)||this;return i.waitsByNamespace=e||{},i}return n.__extends(e,t),e.prototype.queue=function(t,e,i){var n,r={func:t,namespace:e,type:i};e&&(n=this.waitsByNamespace[e]),this.waitNamespace&&(e===this.waitNamespace&&null!=n?this.delayWait(n):(this.clearWait(),this.tryStart())),this.compoundTask(r)&&(this.waitNamespace||null==n?this.tryStart():this.startWait(e,n))},e.prototype.startWait=function(t,e){this.waitNamespace=t,this.spawnWait(e)},e.prototype.delayWait=function(t){clearTimeout(this.waitId),this.spawnWait(t)},e.prototype.spawnWait=function(t){var e=this;this.waitId=setTimeout(function(){e.waitNamespace=null,e.tryStart()},t)},e.prototype.clearWait=function(){this.waitNamespace&&(clearTimeout(this.waitId),this.waitId=null,this.waitNamespace=null)},e.prototype.canRunNext=function(){if(!t.prototype.canRunNext.call(this))return!1;if(this.waitNamespace){for(var e=this.q,i=0;i<e.length;i++)if(e[i].namespace!==this.waitNamespace)return!0;return!1}return!0},e.prototype.runTask=function(t){t.func()},e.prototype.compoundTask=function(t){var e,i,n=this.q,r=!0;if(t.namespace&&"destroy"===t.type)for(e=n.length-1;e>=0;e--)if((i=n[e]).namespace===t.namespace)switch(i.type){case"init":r=!1;case"add":case"remove":n.splice(e,1)}return r&&n.push(t),r},e}(i(228).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.setElement=function(t){this.el=t,this.bindGlobalHandlers(),this.renderSkeleton(),this.set("isInDom",!0)},e.prototype.removeElement=function(){this.unset("isInDom"),this.unrenderSkeleton(),this.unbindGlobalHandlers(),this.el.remove()},e.prototype.bindGlobalHandlers=function(){},e.prototype.unbindGlobalHandlers=function(){},e.prototype.renderSkeleton=function(){},e.prototype.unrenderSkeleton=function(){},e}(i(51).default);e.default=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(0),a=i(4),s=i(11),l=i(49),c=i(230),u=i(19),h=function(t){function e(i,n){var r=t.call(this)||this;return r.isRTL=!1,r.hitsNeededDepth=0,r.hasAllDayBusinessHours=!1,r.isDatesRendered=!1,i&&(r.view=i),n&&(r.options=n),r.uid=String(e.guid++),r.childrenByUid={},r.nextDayThreshold=o.duration(r.opt("nextDayThreshold")),r.isRTL=r.opt("isRTL"),r.fillRendererClass&&(r.fillRenderer=new r.fillRendererClass(r)),r.eventRendererClass&&(r.eventRenderer=new r.eventRendererClass(r,r.fillRenderer)),r.helperRendererClass&&r.eventRenderer&&(r.helperRenderer=new r.helperRendererClass(r,r.eventRenderer)),r.businessHourRendererClass&&r.fillRenderer&&(r.businessHourRenderer=new r.businessHourRendererClass(r,r.fillRenderer)),r}return n.__extends(e,t),e.prototype.addChild=function(t){return!this.childrenByUid[t.uid]&&(this.childrenByUid[t.uid]=t,!0)},e.prototype.removeChild=function(t){return!!this.childrenByUid[t.uid]&&(delete this.childrenByUid[t.uid],!0)},e.prototype.updateSize=function(t,e,i){this.callChildren("updateSize",arguments)},e.prototype.opt=function(t){return this._getView().opt(t)},e.prototype.publiclyTrigger=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=this._getCalendar();return i.publiclyTrigger.apply(i,t)},e.prototype.hasPublicHandlers=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=this._getCalendar();return i.hasPublicHandlers.apply(i,t)},e.prototype.executeDateRender=function(t){this.dateProfile=t,this.renderDates(t),this.isDatesRendered=!0,this.callChildren("executeDateRender",arguments)},e.prototype.executeDateUnrender=function(){this.callChildren("executeDateUnrender",arguments),this.dateProfile=null,this.unrenderDates(),this.isDatesRendered=!1},e.prototype.renderDates=function(t){},e.prototype.unrenderDates=function(){},e.prototype.getNowIndicatorUnit=function(){},e.prototype.renderNowIndicator=function(t){this.callChildren("renderNowIndicator",arguments)},e.prototype.unrenderNowIndicator=function(){this.callChildren("unrenderNowIndicator",arguments)},e.prototype.renderBusinessHours=function(t){this.businessHourRenderer&&this.businessHourRenderer.render(t),this.callChildren("renderBusinessHours",arguments)},e.prototype.unrenderBusinessHours=function(){this.callChildren("unrenderBusinessHours",arguments),this.businessHourRenderer&&this.businessHourRenderer.unrender()},e.prototype.executeEventRender=function(t){this.eventRenderer?(this.eventRenderer.rangeUpdated(),this.eventRenderer.render(t)):this.renderEvents&&this.renderEvents(function(t){var e,i,n,r=[];for(e in t)for(i=t[e].eventInstances,n=0;n<i.length;n++)r.push(i[n].toLegacy());return r}(t)),this.callChildren("executeEventRender",arguments)},e.prototype.executeEventUnrender=function(){this.callChildren("executeEventUnrender",arguments),this.eventRenderer?this.eventRenderer.unrender():this.destroyEvents&&this.destroyEvents()},e.prototype.getBusinessHourSegs=function(){var t=this.getOwnBusinessHourSegs();return this.iterChildren(function(e){t.push.apply(t,e.getBusinessHourSegs())}),t},e.prototype.getOwnBusinessHourSegs=function(){return this.businessHourRenderer?this.businessHourRenderer.getSegs():[]},e.prototype.getEventSegs=function(){var t=this.getOwnEventSegs();return this.iterChildren(function(e){t.push.apply(t,e.getEventSegs())}),t},e.prototype.getOwnEventSegs=function(){return this.eventRenderer?this.eventRenderer.getSegs():[]},e.prototype.triggerAfterEventsRendered=function(){this.triggerAfterEventSegsRendered(this.getEventSegs()),this.publiclyTrigger("eventAfterAllRender",{context:this,args:[this]})},e.prototype.triggerAfterEventSegsRendered=function(t){var e=this;this.hasPublicHandlers("eventAfterRender")&&t.forEach(function(t){var i;t.el&&(i=t.footprint.getEventLegacy(),e.publiclyTrigger("eventAfterRender",{context:i,args:[i,t.el,e]}))})},e.prototype.triggerBeforeEventsDestroyed=function(){this.triggerBeforeEventSegsDestroyed(this.getEventSegs())},e.prototype.triggerBeforeEventSegsDestroyed=function(t){var e=this;this.hasPublicHandlers("eventDestroy")&&t.forEach(function(t){var i;t.el&&(i=t.footprint.getEventLegacy(),e.publiclyTrigger("eventDestroy",{context:i,args:[i,t.el,e]}))})},e.prototype.showEventsWithId=function(t){this.getEventSegs().forEach(function(e){e.footprint.eventDef.id===t&&e.el&&e.el.css("visibility","")}),this.callChildren("showEventsWithId",arguments)},e.prototype.hideEventsWithId=function(t){this.getEventSegs().forEach(function(e){e.footprint.eventDef.id===t&&e.el&&e.el.css("visibility","hidden")}),this.callChildren("hideEventsWithId",arguments)},e.prototype.renderDrag=function(t,e,i){var n=!1;return this.iterChildren(function(r){r.renderDrag(t,e,i)&&(n=!0)}),n},e.prototype.unrenderDrag=function(){this.callChildren("unrenderDrag",arguments)},e.prototype.renderEventResize=function(t,e,i){this.callChildren("renderEventResize",arguments)},e.prototype.unrenderEventResize=function(){this.callChildren("unrenderEventResize",arguments)},e.prototype.renderSelectionFootprint=function(t){this.renderHighlight(t),this.callChildren("renderSelectionFootprint",arguments)},e.prototype.unrenderSelection=function(){this.unrenderHighlight(),this.callChildren("unrenderSelection",arguments)},e.prototype.renderHighlight=function(t){this.fillRenderer&&this.fillRenderer.renderFootprint("highlight",t,{getClasses:function(){return["fc-highlight"]}}),this.callChildren("renderHighlight",arguments)},e.prototype.unrenderHighlight=function(){this.fillRenderer&&this.fillRenderer.unrender("highlight"),this.callChildren("unrenderHighlight",arguments)},e.prototype.hitsNeeded=function(){this.hitsNeededDepth++||this.prepareHits(),this.callChildren("hitsNeeded",arguments)},e.prototype.hitsNotNeeded=function(){this.hitsNeededDepth&&!--this.hitsNeededDepth&&this.releaseHits(),this.callChildren("hitsNotNeeded",arguments)},e.prototype.prepareHits=function(){},e.prototype.releaseHits=function(){},e.prototype.queryHit=function(t,e){var i,n,r=this.childrenByUid;for(i in r)if(n=r[i].queryHit(t,e))break;return n},e.prototype.getSafeHitFootprint=function(t){var e=this.getHitFootprint(t);return this.dateProfile.activeUnzonedRange.containsRange(e.unzonedRange)?e:null},e.prototype.getHitFootprint=function(t){},e.prototype.getHitEl=function(t){},e.prototype.eventRangesToEventFootprints=function(t){var e,i=[];for(e=0;e<t.length;e++)i.push.apply(i,this.eventRangeToEventFootprints(t[e]));return i},e.prototype.eventRangeToEventFootprints=function(t){return[u.eventRangeToEventFootprint(t)]},e.prototype.eventFootprintsToSegs=function(t){var e,i=[];for(e=0;e<t.length;e++)i.push.apply(i,this.eventFootprintToSegs(t[e]));return i},e.prototype.eventFootprintToSegs=function(t){var e,i,n,r=t.componentFootprint.unzonedRange;for(e=this.componentFootprintToSegs(t.componentFootprint),i=0;i<e.length;i++)n=e[i],r.isStart||(n.isStart=!1),r.isEnd||(n.isEnd=!1),n.footprint=t;return e},e.prototype.componentFootprintToSegs=function(t){return[]},e.prototype.callChildren=function(t,e){this.iterChildren(function(i){i[t].apply(i,e)})},e.prototype.iterChildren=function(t){var e,i=this.childrenByUid;for(e in i)t(i[e])},e.prototype._getCalendar=function(){return this.calendar||this.view.calendar},e.prototype._getView=function(){return this.view},e.prototype._getDateProfile=function(){return this._getView().get("dateProfile")},e.prototype.buildGotoAnchorHtml=function(t,e,i){var n,o,l,c;return r.isPlainObject(t)?(n=t.date,o=t.type,l=t.forceOff):n=t,c={date:(n=s.default(n)).format("YYYY-MM-DD"),type:o||"day"},"string"==typeof e&&(i=e,e=null),e=e?" "+a.attrsToStr(e):"",i=i||"",!l&&this.opt("navLinks")?"<a"+e+' data-goto="'+a.htmlEscape(JSON.stringify(c))+'">'+i+"</a>":"<span"+e+">"+i+"</span>"},e.prototype.getAllDayHtml=function(){return this.opt("allDayHtml")||a.htmlEscape(this.opt("allDayText"))},e.prototype.getDayClasses=function(t,e){var i,n=this._getView(),r=[];return this.dateProfile.activeUnzonedRange.containsDate(t)?(r.push("fc-"+a.dayIDs[t.day()]),n.isDateInOtherMonth(t,this.dateProfile)&&r.push("fc-other-month"),i=n.calendar.getNow(),t.isSame(i,"day")?(r.push("fc-today"),!0!==e&&r.push(n.calendar.theme.getClass("today"))):t<i?r.push("fc-past"):r.push("fc-future")):r.push("fc-disabled-day"),r},e.prototype.formatRange=function(t,e,i,n){var r=t.end;return e&&(r=r.clone().subtract(1)),l.formatRange(t.start,r,i,n,this.isRTL)},e.prototype.currentRangeAs=function(t){return this._getDateProfile().currentUnzonedRange.as(t)},e.prototype.computeDayRange=function(t){var e=this._getCalendar(),i=e.msToUtcMoment(t.startMs,!0),n=e.msToUtcMoment(t.endMs),r=+n.time(),o=n.clone().stripTime();return r&&r>=this.nextDayThreshold&&o.add(1,"days"),o<=i&&(o=i.clone().add(1,"days")),{start:i,end:o}},e.prototype.isMultiDayRange=function(t){var e=this.computeDayRange(t);return e.end.diff(e.start,"days")>1},e.guid=0,e}(c.default);e.default=h},function(t,e,i){function n(t,e){return null==e?t:r.isFunction(e)?t.filter(e):(e+="",t.filter(function(t){return t.id==e||t._id===e}))}Object.defineProperty(e,"__esModule",{value:!0});var r=i(3),o=i(0),a=i(4),s=i(33),l=i(225),c=i(23),u=i(13),h=i(7),d=i(257),f=i(258),p=i(259),g=i(217),m=i(32),v=i(11),y=i(5),b=i(12),L=i(16),x=i(220),w=i(218),_=i(38),S=i(36),C=i(9),k=i(39),T=i(6),E=i(57),A=function(){function t(t,e){this.loadingLevel=0,this.ignoreUpdateViewSize=0,this.freezeContentHeightDepth=0,c.default.needed(),this.el=t,this.viewsByType={},this.optionsManager=new f.default(this,e),this.viewSpecManager=new p.default(this.optionsManager,this),this.initMomentInternals(),this.initCurrentDate(),this.initEventManager(),this.constraints=new g.default(this.eventManager,this),this.constructed()}return t.prototype.constructed=function(){},t.prototype.getView=function(){return this.view},t.prototype.publiclyTrigger=function(t,e){var i,n,o=this.opt(t);if(r.isPlainObject(e)?(i=e.context,n=e.args):r.isArray(e)&&(n=e),null==i&&(i=this.el[0]),n||(n=[]),this.triggerWith(t,i,n),o)return o.apply(i,n)},t.prototype.hasPublicHandlers=function(t){return this.hasHandlers(t)||this.opt(t)},t.prototype.option=function(t,e){var i;if("string"==typeof t){if(void 0===e)return this.optionsManager.get(t);(i={})[t]=e,this.optionsManager.add(i)}else"object"==typeof t&&this.optionsManager.add(t)},t.prototype.opt=function(t){return this.optionsManager.get(t)},t.prototype.instantiateView=function(t){var e=this.viewSpecManager.getViewSpec(t);if(!e)throw new Error('View type "'+t+'" is not valid');return new e.class(this,e)},t.prototype.isValidViewType=function(t){return Boolean(this.viewSpecManager.getViewSpec(t))},t.prototype.changeView=function(t,e){e&&(e.start&&e.end?this.optionsManager.recordOverrides({visibleRange:e}):this.currentDate=this.moment(e).stripZone()),this.renderView(t)},t.prototype.zoomTo=function(t,e){var i;e=e||"day",i=this.viewSpecManager.getViewSpec(e)||this.viewSpecManager.getUnitViewSpec(e),this.currentDate=t.clone(),this.renderView(i?i.type:null)},t.prototype.initCurrentDate=function(){var t=this.opt("defaultDate");this.currentDate=null!=t?this.moment(t).stripZone():this.getNow()},t.prototype.prev=function(){var t=this.view,e=t.dateProfileGenerator.buildPrev(t.get("dateProfile"));e.isValid&&(this.currentDate=e.date,this.renderView())},t.prototype.next=function(){var t=this.view,e=t.dateProfileGenerator.buildNext(t.get("dateProfile"));e.isValid&&(this.currentDate=e.date,this.renderView())},t.prototype.prevYear=function(){this.currentDate.add(-1,"years"),this.renderView()},t.prototype.nextYear=function(){this.currentDate.add(1,"years"),this.renderView()},t.prototype.today=function(){this.currentDate=this.getNow(),this.renderView()},t.prototype.gotoDate=function(t){this.currentDate=this.moment(t).stripZone(),this.renderView()},t.prototype.incrementDate=function(t){this.currentDate.add(o.duration(t)),this.renderView()},t.prototype.getDate=function(){return this.applyTimezone(this.currentDate)},t.prototype.pushLoading=function(){this.loadingLevel++||this.publiclyTrigger("loading",[!0,this.view])},t.prototype.popLoading=function(){--this.loadingLevel||this.publiclyTrigger("loading",[!1,this.view])},t.prototype.render=function(){this.contentEl?this.elementVisible()&&(this.calcSize(),this.updateViewSize()):this.initialRender()},t.prototype.initialRender=function(){var t=this,e=this.el;e.addClass("fc"),e.on("click.fc","a[data-goto]",function(e){var i=r(e.currentTarget).data("goto"),n=t.moment(i.date),o=i.type,s=t.view.opt("navLink"+a.capitaliseFirstLetter(o)+"Click");"function"==typeof s?s(n,e):("string"==typeof s&&(o=s),t.zoomTo(n,o))}),this.optionsManager.watch("settingTheme",["?theme","?themeSystem"],function(i){var n=new(E.getThemeSystemClass(i.themeSystem||i.theme))(t.optionsManager),r=n.getClass("widget");t.theme=n,r&&e.addClass(r)},function(){var i=t.theme.getClass("widget");t.theme=null,i&&e.removeClass(i)}),this.optionsManager.watch("settingBusinessHourGenerator",["?businessHours"],function(e){t.businessHourGenerator=new w.default(e.businessHours,t),t.view&&t.view.set("businessHourGenerator",t.businessHourGenerator)},function(){t.businessHourGenerator=null}),this.optionsManager.watch("applyingDirClasses",["?isRTL","?locale"],function(t){e.toggleClass("fc-ltr",!t.isRTL),e.toggleClass("fc-rtl",t.isRTL)}),this.contentEl=r("<div class='fc-view-container'/>").prependTo(e),this.initToolbars(),this.renderHeader(),this.renderFooter(),this.renderView(this.opt("defaultView")),this.opt("handleWindowResize")&&r(window).resize(this.windowResizeProxy=a.debounce(this.windowResize.bind(this),this.opt("windowResizeDelay")))},t.prototype.destroy=function(){this.view&&this.clearView(),this.toolbarsManager.proxyCall("removeElement"),this.contentEl.remove(),this.el.removeClass("fc fc-ltr fc-rtl"),this.optionsManager.unwatch("settingTheme"),this.optionsManager.unwatch("settingBusinessHourGenerator"),this.el.off(".fc"),this.windowResizeProxy&&(r(window).unbind("resize",this.windowResizeProxy),this.windowResizeProxy=null),c.default.unneeded()},t.prototype.elementVisible=function(){return this.el.is(":visible")},t.prototype.bindViewHandlers=function(t){var e=this;t.watch("titleForCalendar",["title"],function(i){t===e.view&&e.setToolbarsTitle(i.title)}),t.watch("dateProfileForCalendar",["dateProfile"],function(i){t===e.view&&(e.currentDate=i.dateProfile.date,e.updateToolbarButtons(i.dateProfile))})},t.prototype.unbindViewHandlers=function(t){t.unwatch("titleForCalendar"),t.unwatch("dateProfileForCalendar")},t.prototype.renderView=function(t){var e,i=this.view;this.freezeContentHeight(),i&&t&&i.type!==t&&this.clearView(),!this.view&&t&&(e=this.view=this.viewsByType[t]||(this.viewsByType[t]=this.instantiateView(t)),this.bindViewHandlers(e),e.startBatchRender(),e.setElement(r("<div class='fc-view fc-"+t+"-view' />").appendTo(this.contentEl)),this.toolbarsManager.proxyCall("activateButton",t)),this.view&&(this.view.get("businessHourGenerator")!==this.businessHourGenerator&&this.view.set("businessHourGenerator",this.businessHourGenerator),this.view.setDate(this.currentDate),e&&e.stopBatchRender()),this.thawContentHeight()},t.prototype.clearView=function(){var t=this.view;this.toolbarsManager.proxyCall("deactivateButton",t.type),this.unbindViewHandlers(t),t.removeElement(),t.unsetDate(),this.view=null},t.prototype.reinitView=function(){var t=this.view,e=t.queryScroll();this.freezeContentHeight(),this.clearView(),this.calcSize(),this.renderView(t.type),this.view.applyScroll(e),this.thawContentHeight()},t.prototype.getSuggestedViewHeight=function(){return null==this.suggestedViewHeight&&this.calcSize(),this.suggestedViewHeight},t.prototype.isHeightAuto=function(){return"auto"===this.opt("contentHeight")||"auto"===this.opt("height")},t.prototype.updateViewSize=function(t){void 0===t&&(t=!1);var e,i=this.view;if(!this.ignoreUpdateViewSize&&i)return t&&(this.calcSize(),e=i.queryScroll()),this.ignoreUpdateViewSize++,i.updateSize(this.getSuggestedViewHeight(),this.isHeightAuto(),t),this.ignoreUpdateViewSize--,t&&i.applyScroll(e),!0},t.prototype.calcSize=function(){this.elementVisible()&&this._calcSize()},t.prototype._calcSize=function(){var t=this.opt("contentHeight"),e=this.opt("height");this.suggestedViewHeight="number"==typeof t?t:"function"==typeof t?t():"number"==typeof e?e-this.queryToolbarsHeight():"function"==typeof e?e()-this.queryToolbarsHeight():"parent"===e?this.el.parent().height()-this.queryToolbarsHeight():Math.round(this.contentEl.width()/Math.max(this.opt("aspectRatio"),.5))},t.prototype.windowResize=function(t){t.target===window&&this.view&&this.view.isDatesRendered&&this.updateViewSize(!0)&&this.publiclyTrigger("windowResize",[this.view])},t.prototype.freezeContentHeight=function(){this.freezeContentHeightDepth++||this.forceFreezeContentHeight()},t.prototype.forceFreezeContentHeight=function(){this.contentEl.css({width:"100%",height:this.contentEl.height(),overflow:"hidden"})},t.prototype.thawContentHeight=function(){this.freezeContentHeightDepth--,this.contentEl.css({width:"",height:"",overflow:""}),this.freezeContentHeightDepth&&this.forceFreezeContentHeight()},t.prototype.initToolbars=function(){this.header=new d.default(this,this.computeHeaderOptions()),this.footer=new d.default(this,this.computeFooterOptions()),this.toolbarsManager=new l.default([this.header,this.footer])},t.prototype.computeHeaderOptions=function(){return{extraClasses:"fc-header-toolbar",layout:this.opt("header")}},t.prototype.computeFooterOptions=function(){return{extraClasses:"fc-footer-toolbar",layout:this.opt("footer")}},t.prototype.renderHeader=function(){var t=this.header;t.setToolbarOptions(this.computeHeaderOptions()),t.render(),t.el&&this.el.prepend(t.el)},t.prototype.renderFooter=function(){var t=this.footer;t.setToolbarOptions(this.computeFooterOptions()),t.render(),t.el&&this.el.append(t.el)},t.prototype.setToolbarsTitle=function(t){this.toolbarsManager.proxyCall("updateTitle",t)},t.prototype.updateToolbarButtons=function(t){var e=this.getNow(),i=this.view,n=i.dateProfileGenerator.build(e),r=i.dateProfileGenerator.buildPrev(i.get("dateProfile")),o=i.dateProfileGenerator.buildNext(i.get("dateProfile"));this.toolbarsManager.proxyCall(n.isValid&&!t.currentUnzonedRange.containsDate(e)?"enableButton":"disableButton","today"),this.toolbarsManager.proxyCall(r.isValid?"enableButton":"disableButton","prev"),this.toolbarsManager.proxyCall(o.isValid?"enableButton":"disableButton","next")},t.prototype.queryToolbarsHeight=function(){return this.toolbarsManager.items.reduce(function(t,e){return t+(e.el?e.el.outerHeight(!0):0)},0)},t.prototype.select=function(t,e){this.view.select(this.buildSelectFootprint.apply(this,arguments))},t.prototype.unselect=function(){this.view&&this.view.unselect()},t.prototype.buildSelectFootprint=function(t,e){var i,n=this.moment(t).stripZone();return i=e?this.moment(e).stripZone():n.hasTime()?n.clone().add(this.defaultTimedEventDuration):n.clone().add(this.defaultAllDayEventDuration),new b.default(new y.default(n,i),!n.hasTime())},t.prototype.initMomentInternals=function(){var t=this;this.defaultAllDayEventDuration=o.duration(this.opt("defaultAllDayEventDuration")),this.defaultTimedEventDuration=o.duration(this.opt("defaultTimedEventDuration")),this.optionsManager.watch("buildingMomentLocale",["?locale","?monthNames","?monthNamesShort","?dayNames","?dayNamesShort","?firstDay","?weekNumberCalculation"],function(e){var i,n=e.weekNumberCalculation,r=e.firstDay;"iso"===n&&(n="ISO");var o=Object.create(m.getMomentLocaleData(e.locale));e.monthNames&&(o._months=e.monthNames),e.monthNamesShort&&(o._monthsShort=e.monthNamesShort),e.dayNames&&(o._weekdays=e.dayNames),e.dayNamesShort&&(o._weekdaysShort=e.dayNamesShort),null==r&&"ISO"===n&&(r=1),null!=r&&((i=Object.create(o._week)).dow=r,o._week=i),"ISO"!==n&&"local"!==n&&"function"!=typeof n||(o._fullCalendar_weekCalc=n),t.localeData=o,t.currentDate&&t.localizeMoment(t.currentDate)})},t.prototype.moment=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i;return"local"===this.opt("timezone")?(i=v.default.apply(null,t)).hasTime()&&i.local():i="UTC"===this.opt("timezone")?v.default.utc.apply(null,t):v.default.parseZone.apply(null,t),this.localizeMoment(i),i},t.prototype.msToMoment=function(t,e){var i=v.default.utc(t);return e?i.stripTime():i=this.applyTimezone(i),this.localizeMoment(i),i},t.prototype.msToUtcMoment=function(t,e){var i=v.default.utc(t);return e&&i.stripTime(),this.localizeMoment(i),i},t.prototype.localizeMoment=function(t){t._locale=this.localeData},t.prototype.getIsAmbigTimezone=function(){return"local"!==this.opt("timezone")&&"UTC"!==this.opt("timezone")},t.prototype.applyTimezone=function(t){if(!t.hasTime())return t.clone();var e,i=this.moment(t.toArray()),n=t.time().asMilliseconds()-i.time().asMilliseconds();return n&&(e=i.clone().add(n),t.time().asMilliseconds()-e.time().asMilliseconds()==0&&(i=e)),i},t.prototype.footprintToDateProfile=function(t,e){void 0===e&&(e=!1);var i,n=v.default.utc(t.unzonedRange.startMs);return e||(i=v.default.utc(t.unzonedRange.endMs)),t.isAllDay?(n.stripTime(),i&&i.stripTime()):(n=this.applyTimezone(n),i&&(i=this.applyTimezone(i))),this.localizeMoment(n),i&&this.localizeMoment(i),new L.default(n,i,this)},t.prototype.getNow=function(){var t=this.opt("now");return"function"==typeof t&&(t=t()),this.moment(t).stripZone()},t.prototype.humanizeDuration=function(t){return t.locale(this.opt("locale")).humanize()},t.prototype.parseUnzonedRange=function(t){var e=null,i=null;return t.start&&(e=this.moment(t.start).stripZone()),t.end&&(i=this.moment(t.end).stripZone()),e||i?e&&i&&i.isBefore(e)?null:new y.default(e,i):null},t.prototype.initEventManager=function(){var t=this,e=new x.default(this),i=this.opt("eventSources")||[],n=this.opt("events");this.eventManager=e,n&&i.unshift(n),e.on("release",function(e){t.trigger("eventsReset",e)}),e.freeze(),i.forEach(function(i){var n=_.default.parse(i,t);n&&e.addSource(n)}),e.thaw()},t.prototype.requestEvents=function(t,e){return this.eventManager.requestEvents(t,e,this.opt("timezone"),!this.opt("lazyFetching"))},t.prototype.getEventEnd=function(t){return t.end?t.end.clone():this.getDefaultEventEnd(t.allDay,t.start)},t.prototype.getDefaultEventEnd=function(t,e){var i=e.clone();return t?i.stripTime().add(this.defaultAllDayEventDuration):i.add(this.defaultTimedEventDuration),this.getIsAmbigTimezone()&&i.stripZone(),i},t.prototype.rerenderEvents=function(){this.view.flash("displayingEvents")},t.prototype.refetchEvents=function(){this.eventManager.refetchAllSources()},t.prototype.renderEvents=function(t,e){this.eventManager.freeze();for(var i=0;i<t.length;i++)this.renderEvent(t[i],e);this.eventManager.thaw()},t.prototype.renderEvent=function(t,e){void 0===e&&(e=!1);var i=this.eventManager,n=S.default.parse(t,t.source||i.stickySource);n&&i.addEventDef(n,e)},t.prototype.removeEvents=function(t){var e,i=this.eventManager,r=[],o={};if(null==t)i.removeAllEventDefs();else{for(i.getEventInstances().forEach(function(t){r.push(t.toLegacy())}),r=n(r,t),e=0;e<r.length;e++)o[this.eventManager.getEventDefByUid(r[e]._id).id]=!0;for(e in i.freeze(),o)i.removeEventDefsById(e);i.thaw()}},t.prototype.clientEvents=function(t){var e=[];return this.eventManager.getEventInstances().forEach(function(t){e.push(t.toLegacy())}),n(e,t)},t.prototype.updateEvents=function(t){this.eventManager.freeze();for(var e=0;e<t.length;e++)this.updateEvent(t[e]);this.eventManager.thaw()},t.prototype.updateEvent=function(t){var e,i,n=this.eventManager.getEventDefByUid(t._id);n instanceof C.default&&(e=n.buildInstance(),i=k.default.createFromRawProps(e,t,null),this.eventManager.mutateEventsWithId(n.id,i))},t.prototype.getEventSources=function(){return this.eventManager.otherSources.slice()},t.prototype.getEventSourceById=function(t){return this.eventManager.getSourceById(T.default.normalizeId(t))},t.prototype.addEventSource=function(t){var e=_.default.parse(t,this);e&&this.eventManager.addSource(e)},t.prototype.removeEventSources=function(t){var e,i,n=this.eventManager;if(null==t)this.eventManager.removeAllSources();else{for(e=n.multiQuerySources(t),n.freeze(),i=0;i<e.length;i++)n.removeSource(e[i]);n.thaw()}},t.prototype.removeEventSource=function(t){var e,i=this.eventManager,n=i.querySources(t);for(i.freeze(),e=0;e<n.length;e++)i.removeSource(n[e]);i.thaw()},t.prototype.refetchEventSources=function(t){var e,i=this.eventManager,n=i.multiQuerySources(t);for(i.freeze(),e=0;e<n.length;e++)i.refetchSource(n[e]);i.thaw()},t.defaults=s.globalDefaults,t.englishDefaults=s.englishDefaults,t.rtlDefaults=s.rtlDefaults,t}();e.default=A,u.default.mixInto(A),h.default.mixInto(A)},function(t,e,i){function n(t){var e,i,n,r,l=s.dataAttrPrefix;return l&&(l+="-"),(e=t.data(l+"event")||null)&&(null==(i=(e="object"==typeof e?o.extend({},e):{}).start)&&(i=e.time),n=e.duration,r=e.stick,delete e.start,delete e.time,delete e.duration,delete e.stick),null==i&&(i=t.data(l+"start")),null==i&&(i=t.data(l+"time")),null==n&&(n=t.data(l+"duration")),null==r&&(r=t.data(l+"stick")),{eventProps:e,startTime:i=null!=i?a.duration(i):null,duration:n=null!=n?a.duration(n):null,stick:r=Boolean(r)}}Object.defineProperty(e,"__esModule",{value:!0});var r=i(2),o=i(3),a=i(0),s=i(18),l=i(4),c=i(11),u=i(7),h=i(17),d=i(9),f=i(20),p=i(6),g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isDragging=!1,e}return r.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.bindToDocument=function(){this.listenTo(o(document),{dragstart:this.handleDragStart,sortstart:this.handleDragStart})},e.prototype.unbindFromDocument=function(){this.stopListeningTo(o(document))},e.prototype.handleDragStart=function(t,e){var i,n;this.opt("droppable")&&(i=o((e?e.item:null)||t.target),n=this.opt("dropAccept"),(o.isFunction(n)?n.call(i[0],i):i.is(n))&&(this.isDragging||this.listenToExternalDrag(i,t,e)))},e.prototype.listenToExternalDrag=function(t,e,i){var r,o=this,a=this.component,s=this.view,c=n(t);(this.dragListener=new h.default(a,{interactionStart:function(){o.isDragging=!0},hitOver:function(t){var e,i=!0,n=t.component.getSafeHitFootprint(t);n?(r=o.computeExternalDrop(n,c))?(e=new f.default(r.buildInstances()),i=c.eventProps?a.isEventInstanceGroupAllowed(e):a.isExternalInstanceGroupAllowed(e)):i=!1:i=!1,i||(r=null,l.disableCursor()),r&&a.renderDrag(a.eventRangesToEventFootprints(e.sliceRenderRanges(a.dateProfile.renderUnzonedRange,s.calendar)))},hitOut:function(){r=null},hitDone:function(){l.enableCursor(),a.unrenderDrag()},interactionEnd:function(e){r&&s.reportExternalDrop(r,Boolean(c.eventProps),Boolean(c.stick),t,e,i),o.isDragging=!1,o.dragListener=null}})).startDrag(e)},e.prototype.computeExternalDrop=function(t,e){var i,n=this.view.calendar,r=c.default.utc(t.unzonedRange.startMs).stripZone();return t.isAllDay&&(e.startTime?r.time(e.startTime):r.stripTime()),e.duration&&(i=r.clone().add(e.duration)),r=n.applyTimezone(r),i&&(i=n.applyTimezone(i)),d.default.parse(o.extend({},e.eventProps,{start:r,end:i}),new p.default(n))},e}(i(14).default);e.default=g,u.default.mixInto(g),s.dataAttrPrefix=""},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(39),s=i(40),l=i(17),c=function(t){function e(e,i){var n=t.call(this,e)||this;return n.isResizing=!1,n.eventPointing=i,n}return n.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"mousedown",this.handleMouseDown.bind(this)),e.bindSegHandlerToEl(t,"touchstart",this.handleTouchStart.bind(this))},e.prototype.handleMouseDown=function(t,e){this.component.canStartResize(t,e)&&this.buildDragListener(t,r(e.target).is(".fc-start-resizer")).startInteraction(e,{distance:5})},e.prototype.handleTouchStart=function(t,e){this.component.canStartResize(t,e)&&this.buildDragListener(t,r(e.target).is(".fc-start-resizer")).startInteraction(e)},e.prototype.buildDragListener=function(t,e){var i,n,r=this,a=this.component,s=this.view,c=s.calendar,u=c.eventManager,h=t.el,d=t.footprint.eventDef,f=t.footprint.eventInstance;return this.dragListener=new l.default(a,{scroll:this.opt("dragScroll"),subjectEl:h,interactionStart:function(){i=!1},dragStart:function(e){i=!0,r.eventPointing.handleMouseout(t,e),r.segResizeStart(t,e)},hitOver:function(i,l,h){var f,p=!0,g=a.getSafeHitFootprint(h),m=a.getSafeHitFootprint(i);g&&m?(n=e?r.computeEventStartResizeMutation(g,m,t.footprint):r.computeEventEndResizeMutation(g,m,t.footprint))?(f=u.buildMutatedEventInstanceGroup(d.id,n),p=a.isEventInstanceGroupAllowed(f)):p=!1:p=!1,p?n.isEmpty()&&(n=null):(n=null,o.disableCursor()),n&&(s.hideEventsWithId(t.footprint.eventDef.id),s.renderEventResize(a.eventRangesToEventFootprints(f.sliceRenderRanges(a.dateProfile.renderUnzonedRange,c)),t))},hitOut:function(){n=null},hitDone:function(){s.unrenderEventResize(t),s.showEventsWithId(t.footprint.eventDef.id),o.enableCursor()},interactionEnd:function(e){i&&r.segResizeStop(t,e),n&&s.reportEventResize(f,n,h,e),r.dragListener=null}})},e.prototype.segResizeStart=function(t,e){this.isResizing=!0,this.component.publiclyTrigger("eventResizeStart",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.segResizeStop=function(t,e){this.isResizing=!1,this.component.publiclyTrigger("eventResizeStop",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.computeEventStartResizeMutation=function(t,e,i){var n,r,o=i.componentFootprint.unzonedRange,l=this.component.diffDates(e.unzonedRange.getStart(),t.unzonedRange.getStart());return o.getStart().add(l)<o.getEnd()&&((n=new s.default).setStartDelta(l),(r=new a.default).setDateMutation(n),r)},e.prototype.computeEventEndResizeMutation=function(t,e,i){var n,r,o=i.componentFootprint.unzonedRange,l=this.component.diffDates(e.unzonedRange.getEnd(),t.unzonedRange.getEnd());return o.getEnd().add(l)>o.getStart()&&((n=new s.default).setEndDelta(l),(r=new a.default).setDateMutation(n),r)},e}(i(14).default);e.default=c},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=i(39),a=i(40),s=i(59),l=i(17),c=i(226),u=function(t){function e(e,i){var n=t.call(this,e)||this;return n.isDragging=!1,n.eventPointing=i,n}return n.__extends(e,t),e.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},e.prototype.getSelectionDelay=function(){var t=this.opt("eventLongPressDelay");return null==t&&(t=this.opt("longPressDelay")),t},e.prototype.bindToEl=function(t){var e=this.component;e.bindSegHandlerToEl(t,"mousedown",this.handleMousedown.bind(this)),e.bindSegHandlerToEl(t,"touchstart",this.handleTouchStart.bind(this))},e.prototype.handleMousedown=function(t,e){!this.component.shouldIgnoreMouse()&&this.component.canStartDrag(t,e)&&this.buildDragListener(t).startInteraction(e,{distance:5})},e.prototype.handleTouchStart=function(t,e){var i=this.component,n={delay:this.view.isEventDefSelected(t.footprint.eventDef)?0:this.getSelectionDelay()};i.canStartDrag(t,e)?this.buildDragListener(t).startInteraction(e,n):i.canStartSelection(t,e)&&this.buildSelectListener(t).startInteraction(e,n)},e.prototype.buildSelectListener=function(t){var e=this,i=this.view,n=t.footprint.eventDef,r=t.footprint.eventInstance;if(this.dragListener)return this.dragListener;var o=this.dragListener=new s.default({dragStart:function(t){o.isTouch&&!i.isEventDefSelected(n)&&r&&i.selectEventInstance(r)},interactionEnd:function(t){e.dragListener=null}});return o},e.prototype.buildDragListener=function(t){var e,i,n,o=this,a=this.component,s=this.view,u=s.calendar,h=u.eventManager,d=t.el,f=t.footprint.eventDef,p=t.footprint.eventInstance;if(this.dragListener)return this.dragListener;var g=this.dragListener=new l.default(s,{scroll:this.opt("dragScroll"),subjectEl:d,subjectCenter:!0,interactionStart:function(n){t.component=a,e=!1,(i=new c.default(t.el,{additionalClass:"fc-dragging",parentEl:s.el,opacity:g.isTouch?null:o.opt("dragOpacity"),revertDuration:o.opt("dragRevertDuration"),zIndex:2})).hide(),i.start(n)},dragStart:function(i){g.isTouch&&!s.isEventDefSelected(f)&&p&&s.selectEventInstance(p),e=!0,o.eventPointing.handleMouseout(t,i),o.segDragStart(t,i),s.hideEventsWithId(t.footprint.eventDef.id)},hitOver:function(e,l,c){var d,p,m,v=!0;t.hit&&(c=t.hit),d=c.component.getSafeHitFootprint(c),p=e.component.getSafeHitFootprint(e),d&&p?(n=o.computeEventDropMutation(d,p,f))?(m=h.buildMutatedEventInstanceGroup(f.id,n),v=a.isEventInstanceGroupAllowed(m)):v=!1:v=!1,v||(n=null,r.disableCursor()),n&&s.renderDrag(a.eventRangesToEventFootprints(m.sliceRenderRanges(a.dateProfile.renderUnzonedRange,u)),t,g.isTouch)?i.hide():i.show(),l&&(n=null)},hitOut:function(){s.unrenderDrag(t),i.show(),n=null},hitDone:function(){r.enableCursor()},interactionEnd:function(r){delete t.component,i.stop(!n,function(){e&&(s.unrenderDrag(t),o.segDragStop(t,r)),s.showEventsWithId(t.footprint.eventDef.id),n&&s.reportEventDrop(p,n,d,r)}),o.dragListener=null}});return g},e.prototype.segDragStart=function(t,e){this.isDragging=!0,this.component.publiclyTrigger("eventDragStart",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.segDragStop=function(t,e){this.isDragging=!1,this.component.publiclyTrigger("eventDragStop",{context:t.el[0],args:[t.footprint.getEventLegacy(),e,{},this.view]})},e.prototype.computeEventDropMutation=function(t,e,i){var n=new o.default;return n.setDateMutation(this.computeEventDateMutation(t,e)),n},e.prototype.computeEventDateMutation=function(t,e){var i,n,r=t.unzonedRange.getStart(),o=e.unzonedRange.getStart(),s=!1,l=!1,c=!1;return t.isAllDay!==e.isAllDay&&(s=!0,e.isAllDay?(c=!0,r.stripTime()):l=!0),i=this.component.diffDates(o,r),(n=new a.default).clearEnd=s,n.forceTimed=l,n.forceAllDay=c,n.setDateDelta(i),n},e}(i(14).default);e.default=u},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=i(17),a=i(12),s=i(5),l=function(t){function e(e){var i=t.call(this,e)||this;return i.dragListener=i.buildDragListener(),i}return n.__extends(e,t),e.prototype.end=function(){this.dragListener.endInteraction()},e.prototype.getDelay=function(){var t=this.opt("selectLongPressDelay");return null==t&&(t=this.opt("longPressDelay")),t},e.prototype.bindToEl=function(t){var e=this,i=this.component,n=this.dragListener;i.bindDateHandlerToEl(t,"mousedown",function(t){e.opt("selectable")&&!i.shouldIgnoreMouse()&&n.startInteraction(t,{distance:e.opt("selectMinDistance")})}),i.bindDateHandlerToEl(t,"touchstart",function(t){e.opt("selectable")&&!i.shouldIgnoreTouch()&&n.startInteraction(t,{delay:e.getDelay()})}),r.preventSelection(t)},e.prototype.buildDragListener=function(){var t,e=this,i=this.component;return new o.default(i,{scroll:this.opt("dragScroll"),interactionStart:function(){t=null},dragStart:function(t){e.view.unselect(t)},hitOver:function(n,o,a){var s,l;a&&(s=i.getSafeHitFootprint(a),l=i.getSafeHitFootprint(n),(t=s&&l?e.computeSelection(s,l):null)?i.renderSelectionFootprint(t):!1===t&&r.disableCursor())},hitOut:function(){t=null,i.unrenderSelection()},hitDone:function(){r.enableCursor()},interactionEnd:function(i,n){!n&&t&&e.view.reportSelection(t,i)}})},e.prototype.computeSelection=function(t,e){var i=this.computeSelectionFootprint(t,e);return!(i&&!this.isSelectionFootprintAllowed(i))&&i},e.prototype.computeSelectionFootprint=function(t,e){var i=[t.unzonedRange.startMs,t.unzonedRange.endMs,e.unzonedRange.startMs,e.unzonedRange.endMs];return i.sort(r.compareNumbers),new a.default(new s.default(i[0],i[3]),t.isAllDay)},e.prototype.isSelectionFootprintAllowed=function(t){return this.component.dateProfile.validUnzonedRange.containsRange(t.unzonedRange)&&this.view.calendar.constraints.isSelectionFootprintAllowed(t)},e}(i(14).default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(17),o=function(t){function e(e){var i=t.call(this,e)||this;return i.dragListener=i.buildDragListener(),i}return n.__extends(e,t),e.prototype.end=function(){this.dragListener.endInteraction()},e.prototype.bindToEl=function(t){var e=this.component,i=this.dragListener;e.bindDateHandlerToEl(t,"mousedown",function(t){e.shouldIgnoreMouse()||i.startInteraction(t)}),e.bindDateHandlerToEl(t,"touchstart",function(t){e.shouldIgnoreTouch()||i.startInteraction(t)})},e.prototype.buildDragListener=function(){var t,e=this,i=this.component,n=new r.default(i,{scroll:this.opt("dragScroll"),interactionStart:function(){t=n.origHit},hitOver:function(e,i,n){i||(t=null)},hitOut:function(){t=null},interactionEnd:function(n,r){var o;!r&&t&&(o=i.getSafeHitFootprint(t))&&e.view.triggerDayClick(o,i.getHitEl(t),n)}});return n.shouldCancelTouchScroll=!1,n.scrollAlwaysKills=!0,n},e}(i(14).default);e.default=o},function(t,e,i){function n(t){var e,i=[],n=[];for(e=0;e<t.length;e++)t[e].componentFootprint.isAllDay?i.push(t[e]):n.push(t[e]);return{allDay:i,timed:n}}Object.defineProperty(e,"__esModule",{value:!0});var r,o,a=i(2),s=i(0),l=i(3),c=i(4),u=i(41),h=i(43),d=i(239),f=i(66),p=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.usesMinMaxTime=!0,n.timeGrid=n.instantiateTimeGrid(),n.addChild(n.timeGrid),n.opt("allDaySlot")&&(n.dayGrid=n.instantiateDayGrid(),n.addChild(n.dayGrid)),n.scroller=new u.default({overflowX:"hidden",overflowY:"auto"}),n}return a.__extends(e,t),e.prototype.instantiateTimeGrid=function(){var t=new this.timeGridClass(this);return c.copyOwnProps(r,t),t},e.prototype.instantiateDayGrid=function(){var t=new this.dayGridClass(this);return c.copyOwnProps(o,t),t},e.prototype.renderSkeleton=function(){var t,e;this.el.addClass("fc-agenda-view").html(this.renderSkeletonHtml()),this.scroller.render(),t=this.scroller.el.addClass("fc-time-grid-container"),e=l('<div class="fc-time-grid" />').appendTo(t),this.el.find(".fc-body > tr > td").append(t),this.timeGrid.headContainerEl=this.el.find(".fc-head-container"),this.timeGrid.setElement(e),this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight())},e.prototype.unrenderSkeleton=function(){this.timeGrid.removeElement(),this.dayGrid&&this.dayGrid.removeElement(),this.scroller.destroy()},e.prototype.renderSkeletonHtml=function(){var t=this.calendar.theme;return'<table class="'+t.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+t.getClass("widgetHeader")+'">&nbsp;</td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+t.getClass("widgetContent")+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="fc-divider '+t.getClass("widgetHeader")+'"/>':"")+"</td></tr></tbody></table>"},e.prototype.axisStyleAttr=function(){return null!=this.axisWidth?'style="width:'+this.axisWidth+'px"':""},e.prototype.getNowIndicatorUnit=function(){return this.timeGrid.getNowIndicatorUnit()},e.prototype.updateSize=function(e,i,n){var r,o,a;if(t.prototype.updateSize.call(this,e,i,n),this.axisWidth=c.matchCellWidths(this.el.find(".fc-axis")),this.timeGrid.colEls){var s=this.el.find(".fc-row:not(.fc-scroller *)");this.timeGrid.bottomRuleEl.hide(),this.scroller.clear(),c.uncompensateScroll(s),this.dayGrid&&(this.dayGrid.removeSegPopover(),(r=this.opt("eventLimit"))&&"number"!=typeof r&&(r=5),r&&this.dayGrid.limitRows(r)),i||(o=this.computeScrollerHeight(e),this.scroller.setHeight(o),((a=this.scroller.getScrollbarWidths()).left||a.right)&&(c.compensateScroll(s,a),o=this.computeScrollerHeight(e),this.scroller.setHeight(o)),this.scroller.lockOverflow(a),this.timeGrid.getTotalSlatHeight()<o&&this.timeGrid.bottomRuleEl.show())}else i||(o=this.computeScrollerHeight(e),this.scroller.setHeight(o))},e.prototype.computeScrollerHeight=function(t){return t-c.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.computeInitialDateScroll=function(){var t=s.duration(this.opt("scrollTime")),e=this.timeGrid.computeTimeTop(t);return(e=Math.ceil(e))&&e++,{top:e}},e.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},e.prototype.applyDateScroll=function(t){void 0!==t.top&&this.scroller.setScrollTop(t.top)},e.prototype.getHitFootprint=function(t){return t.component.getHitFootprint(t)},e.prototype.getHitEl=function(t){return t.component.getHitEl(t)},e.prototype.executeEventRender=function(t){var e,i,n={},r={};for(e in t)(i=t[e]).getEventDef().isAllDay()?n[e]=i:r[e]=i;this.timeGrid.executeEventRender(r),this.dayGrid&&this.dayGrid.executeEventRender(n)},e.prototype.renderDrag=function(t,e,i){var r=n(t),o=!1;return o=this.timeGrid.renderDrag(r.timed,e,i),this.dayGrid&&(o=this.dayGrid.renderDrag(r.allDay,e,i)||o),o},e.prototype.renderEventResize=function(t,e,i){var r=n(t);this.timeGrid.renderEventResize(r.timed,e,i),this.dayGrid&&this.dayGrid.renderEventResize(r.allDay,e,i)},e.prototype.renderSelectionFootprint=function(t){t.isAllDay?this.dayGrid&&this.dayGrid.renderSelectionFootprint(t):this.timeGrid.renderSelectionFootprint(t)},e}(h.default);e.default=p,p.prototype.timeGridClass=d.default,p.prototype.dayGridClass=f.default,r={renderHeadIntroHtml:function(){var t,e=this.view,i=e.calendar,n=i.msToUtcMoment(this.dateProfile.renderUnzonedRange.startMs,!0);return this.opt("weekNumbers")?(t=n.format(this.opt("smallWeekFormat")),'<th class="fc-axis fc-week-number '+i.theme.getClass("widgetHeader")+'" '+e.axisStyleAttr()+">"+e.buildGotoAnchorHtml({date:n,type:"week",forceOff:this.colCnt>1},c.htmlEscape(t))+"</th>"):'<th class="fc-axis '+i.theme.getClass("widgetHeader")+'" '+e.axisStyleAttr()+"></th>"},renderBgIntroHtml:function(){var t=this.view;return'<td class="fc-axis '+t.calendar.theme.getClass("widgetContent")+'" '+t.axisStyleAttr()+"></td>"},renderIntroHtml:function(){return'<td class="fc-axis" '+this.view.axisStyleAttr()+"></td>"}},o={renderBgIntroHtml:function(){var t=this.view;return'<td class="fc-axis '+t.calendar.theme.getClass("widgetContent")+'" '+t.axisStyleAttr()+"><span>"+t.getAllDayHtml()+"</span></td>"},renderIntroHtml:function(){return'<td class="fc-axis" '+this.view.axisStyleAttr()+"></td>"}}},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(0),a=i(4),s=i(42),l=i(61),c=i(65),u=i(60),h=i(58),d=i(5),f=i(12),p=i(240),g=i(241),m=i(242),v=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}],y=function(t){function e(e){var i=t.call(this,e)||this;return i.processOptions(),i}return n.__extends(e,t),e.prototype.componentFootprintToSegs=function(t){var e,i=this.sliceRangeByTimes(t.unzonedRange);for(e=0;e<i.length;e++)this.isRTL?i[e].col=this.daysPerRow-1-i[e].dayIndex:i[e].col=i[e].dayIndex;return i},e.prototype.sliceRangeByTimes=function(t){var e,i,n=[];for(i=0;i<this.daysPerRow;i++)(e=t.intersect(this.dayRanges[i]))&&n.push({startMs:e.startMs,endMs:e.endMs,isStart:e.isStart,isEnd:e.isEnd,dayIndex:i});return n},e.prototype.processOptions=function(){var t,e=this.opt("slotDuration"),i=this.opt("snapDuration");e=o.duration(e),i=i?o.duration(i):e,this.slotDuration=e,this.snapDuration=i,this.snapsPerSlot=e/i,t=this.opt("slotLabelFormat"),r.isArray(t)&&(t=t[t.length-1]),this.labelFormat=t||this.opt("smallTimeFormat"),t=this.opt("slotLabelInterval"),this.labelInterval=t?o.duration(t):this.computeLabelInterval(e)},e.prototype.computeLabelInterval=function(t){var e,i,n;for(e=v.length-1;e>=0;e--)if(i=o.duration(v[e]),n=a.divideDurationByDuration(i,t),a.isInt(n)&&n>1)return i;return o.duration(t)},e.prototype.renderDates=function(t){this.dateProfile=t,this.updateDayTable(),this.renderSlats(),this.renderColumns()},e.prototype.unrenderDates=function(){this.unrenderColumns()},e.prototype.renderSkeleton=function(){var t=this.view.calendar.theme;this.el.html('<div class="fc-bg"></div><div class="fc-slats"></div><hr class="fc-divider '+t.getClass("widgetHeader")+'" style="display:none" />'),this.bottomRuleEl=this.el.find("hr")},e.prototype.renderSlats=function(){var t=this.view.calendar.theme;this.slatContainerEl=this.el.find("> .fc-slats").html('<table class="'+t.getClass("tableGrid")+'">'+this.renderSlatRowHtml()+"</table>"),this.slatEls=this.slatContainerEl.find("tr"),this.slatCoordCache=new h.default({els:this.slatEls,isVertical:!0})},e.prototype.renderSlatRowHtml=function(){for(var t,e,i,n=this.view,r=n.calendar,s=r.theme,l=this.isRTL,c=this.dateProfile,u="",h=o.duration(+c.minTime),d=o.duration(0);h<c.maxTime;)t=r.msToUtcMoment(c.renderUnzonedRange.startMs).time(h),e=a.isInt(a.divideDurationByDuration(d,this.labelInterval)),i='<td class="fc-axis fc-time '+s.getClass("widgetContent")+'" '+n.axisStyleAttr()+">"+(e?"<span>"+a.htmlEscape(t.format(this.labelFormat))+"</span>":"")+"</td>",u+='<tr data-time="'+t.format("HH:mm:ss")+'"'+(e?"":' class="fc-minor"')+">"+(l?"":i)+'<td class="'+s.getClass("widgetContent")+'"/>'+(l?i:"")+"</tr>",h.add(this.slotDuration),d.add(this.slotDuration);return u},e.prototype.renderColumns=function(){var t=this.dateProfile,e=this.view.calendar.theme;this.dayRanges=this.dayDates.map(function(e){return new d.default(e.clone().add(t.minTime),e.clone().add(t.maxTime))}),this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),this.el.find("> .fc-bg").html('<table class="'+e.getClass("tableGrid")+'">'+this.renderBgTrHtml(0)+"</table>"),this.colEls=this.el.find(".fc-day, .fc-disabled-day"),this.colCoordCache=new h.default({els:this.colEls,isHorizontal:!0}),this.renderContentSkeleton()},e.prototype.unrenderColumns=function(){this.unrenderContentSkeleton()},e.prototype.renderContentSkeleton=function(){var t,e,i="";for(t=0;t<this.colCnt;t++)i+='<td><div class="fc-content-col"><div class="fc-event-container fc-helper-container"></div><div class="fc-event-container"></div><div class="fc-highlight-container"></div><div class="fc-bgevent-container"></div><div class="fc-business-container"></div></div></td>';e=this.contentSkeletonEl=r('<div class="fc-content-skeleton"><table><tr>'+i+"</tr></table></div>"),this.colContainerEls=e.find(".fc-content-col"),this.helperContainerEls=e.find(".fc-helper-container"),this.fgContainerEls=e.find(".fc-event-container:not(.fc-helper-container)"),this.bgContainerEls=e.find(".fc-bgevent-container"),this.highlightContainerEls=e.find(".fc-highlight-container"),this.businessContainerEls=e.find(".fc-business-container"),this.bookendCells(e.find("tr")),this.el.append(e)},e.prototype.unrenderContentSkeleton=function(){this.contentSkeletonEl&&(this.contentSkeletonEl.remove(),this.contentSkeletonEl=null,this.colContainerEls=null,this.helperContainerEls=null,this.fgContainerEls=null,this.bgContainerEls=null,this.highlightContainerEls=null,this.businessContainerEls=null)},e.prototype.groupSegsByCol=function(t){var e,i=[];for(e=0;e<this.colCnt;e++)i.push([]);for(e=0;e<t.length;e++)i[t[e].col].push(t[e]);return i},e.prototype.attachSegsByCol=function(t,e){var i,n,r;for(i=0;i<this.colCnt;i++)for(n=t[i],r=0;r<n.length;r++)e.eq(i).append(n[r].el)},e.prototype.getNowIndicatorUnit=function(){return"minute"},e.prototype.renderNowIndicator=function(t){if(this.colContainerEls){var e,i=this.componentFootprintToSegs(new f.default(new d.default(t,t.valueOf()+1),!1)),n=this.computeDateTop(t,t),o=[];for(e=0;e<i.length;e++)o.push(r('<div class="fc-now-indicator fc-now-indicator-line"></div>').css("top",n).appendTo(this.colContainerEls.eq(i[e].col))[0]);i.length>0&&o.push(r('<div class="fc-now-indicator fc-now-indicator-arrow"></div>').css("top",n).appendTo(this.el.find(".fc-content-skeleton"))[0]),this.nowIndicatorEls=r(o)}},e.prototype.unrenderNowIndicator=function(){this.nowIndicatorEls&&(this.nowIndicatorEls.remove(),this.nowIndicatorEls=null)},e.prototype.updateSize=function(e,i,n){t.prototype.updateSize.call(this,e,i,n),this.slatCoordCache.build(),n&&this.updateSegVerticals([].concat(this.eventRenderer.getSegs(),this.businessSegs||[]))},e.prototype.getTotalSlatHeight=function(){return this.slatContainerEl.outerHeight()},e.prototype.computeDateTop=function(t,e){return this.computeTimeTop(o.duration(t-e.clone().stripTime()))},e.prototype.computeTimeTop=function(t){var e,i,n=this.slatEls.length,r=(t-this.dateProfile.minTime)/this.slotDuration;return r=Math.max(0,r),r=Math.min(n,r),e=Math.floor(r),i=r-(e=Math.min(e,n-1)),this.slatCoordCache.getTopPosition(e)+this.slatCoordCache.getHeight(e)*i},e.prototype.updateSegVerticals=function(t){this.computeSegVerticals(t),this.assignSegVerticals(t)},e.prototype.computeSegVerticals=function(t){var e,i,n,r=this.opt("agendaEventMinHeight");for(e=0;e<t.length;e++)i=t[e],n=this.dayDates[i.dayIndex],i.top=this.computeDateTop(i.startMs,n),i.bottom=Math.max(i.top+r,this.computeDateTop(i.endMs,n))},e.prototype.assignSegVerticals=function(t){var e,i;for(e=0;e<t.length;e++)(i=t[e]).el.css(this.generateSegVerticalCss(i))},e.prototype.generateSegVerticalCss=function(t){return{top:t.top,bottom:-t.bottom}},e.prototype.prepareHits=function(){this.colCoordCache.build(),this.slatCoordCache.build()},e.prototype.releaseHits=function(){this.colCoordCache.clear()},e.prototype.queryHit=function(t,e){var i=this.snapsPerSlot,n=this.colCoordCache,r=this.slatCoordCache;if(n.isLeftInBounds(t)&&r.isTopInBounds(e)){var o=n.getHorizontalIndex(t),a=r.getVerticalIndex(e);if(null!=o&&null!=a){var s=r.getTopOffset(a),l=r.getHeight(a),c=(e-s)/l,u=Math.floor(c*i),h=s+u/i*l,d=s+(u+1)/i*l;return{col:o,snap:a*i+u,component:this,left:n.getLeftOffset(o),right:n.getRightOffset(o),top:h,bottom:d}}}},e.prototype.getHitFootprint=function(t){var e,i=this.getCellDate(0,t.col),n=this.computeSnapTime(t.snap);return i.time(n),e=i.clone().add(this.snapDuration),new f.default(new d.default(i,e),!1)},e.prototype.computeSnapTime=function(t){return o.duration(this.dateProfile.minTime+this.snapDuration*t)},e.prototype.getHitEl=function(t){return this.colEls.eq(t.col)},e.prototype.renderDrag=function(t,e,i){var n;if(e){if(t.length)return this.helperRenderer.renderEventDraggingFootprints(t,e,i),!0}else for(n=0;n<t.length;n++)this.renderHighlight(t[n].componentFootprint)},e.prototype.unrenderDrag=function(){this.unrenderHighlight(),this.helperRenderer.unrender()},e.prototype.renderEventResize=function(t,e,i){this.helperRenderer.renderEventResizingFootprints(t,e,i)},e.prototype.unrenderEventResize=function(){this.helperRenderer.unrender()},e.prototype.renderSelectionFootprint=function(t){this.opt("selectHelper")?this.helperRenderer.renderComponentFootprint(t):this.renderHighlight(t)},e.prototype.unrenderSelection=function(){this.helperRenderer.unrender(),this.unrenderHighlight()},e}(s.default);e.default=y,y.prototype.eventRendererClass=p.default,y.prototype.businessHourRendererClass=l.default,y.prototype.helperRendererClass=g.default,y.prototype.fillRendererClass=m.default,c.default.mixInto(y),u.default.mixInto(y)},function(t,e,i){function n(t){var e,i,n,r=[];for(e=0;e<t.length;e++){for(i=t[e],n=0;n<r.length&&a(i,r[n]).length;n++);i.level=n,(r[n]||(r[n]=[])).push(i)}return r}function r(t){var e,i,n,r,o;for(e=0;e<t.length;e++)for(i=t[e],n=0;n<i.length;n++)for((r=i[n]).forwardSegs=[],o=e+1;o<t.length;o++)a(r,t[o],r.forwardSegs)}function o(t){var e,i,n=t.forwardSegs,r=0;if(void 0===t.forwardPressure){for(e=0;e<n.length;e++)o(i=n[e]),r=Math.max(r,1+i.forwardPressure);t.forwardPressure=r}}function a(t,e,i){void 0===i&&(i=[]);for(var n=0;n<e.length;n++)s(t,e[n])&&i.push(e[n]);return i}function s(t,e){return t.bottom>e.top&&t.top<e.bottom}Object.defineProperty(e,"__esModule",{value:!0});var l=i(2),c=i(4),u=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.timeGrid=e,n}return l.__extends(e,t),e.prototype.renderFgSegs=function(t){this.renderFgSegsIntoContainers(t,this.timeGrid.fgContainerEls)},e.prototype.renderFgSegsIntoContainers=function(t,e){var i,n;for(i=this.timeGrid.groupSegsByCol(t),n=0;n<this.timeGrid.colCnt;n++)this.updateFgSegCoords(i[n]);this.timeGrid.attachSegsByCol(i,e)},e.prototype.unrenderFgSegs=function(){this.fgSegs&&this.fgSegs.forEach(function(t){t.el.remove()})},e.prototype.computeEventTimeFormat=function(){return this.opt("noMeridiemTimeFormat")},e.prototype.computeDisplayEventEnd=function(){return!0},e.prototype.fgSegHtml=function(t,e){var i,n,r,o=this.view,a=o.calendar,s=t.footprint.componentFootprint,l=s.isAllDay,u=t.footprint.eventDef,h=o.isEventDefDraggable(u),d=!e&&t.isStart&&o.isEventDefResizableFromStart(u),f=!e&&t.isEnd&&o.isEventDefResizableFromEnd(u),p=this.getSegClasses(t,h,d||f),g=c.cssToStr(this.getSkinCss(u));if(p.unshift("fc-time-grid-event","fc-v-event"),o.isMultiDayRange(s.unzonedRange)){if(t.isStart||t.isEnd){var m=a.msToMoment(t.startMs),v=a.msToMoment(t.endMs);i=this._getTimeText(m,v,l),n=this._getTimeText(m,v,l,"LT"),r=this._getTimeText(m,v,l,null,!1)}}else i=this.getTimeText(t.footprint),n=this.getTimeText(t.footprint,"LT"),r=this.getTimeText(t.footprint,null,!1);return'<a class="'+p.join(" ")+'"'+(u.url?' href="'+c.htmlEscape(u.url)+'"':"")+(g?' style="'+g+'"':"")+'><div class="fc-content">'+(i?'<div class="fc-time" data-start="'+c.htmlEscape(r)+'" data-full="'+c.htmlEscape(n)+'"><span>'+c.htmlEscape(i)+"</span></div>":"")+(u.title?'<div class="fc-title">'+c.htmlEscape(u.title)+"</div>":"")+'</div><div class="fc-bg"/>'+(f?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},e.prototype.updateFgSegCoords=function(t){this.timeGrid.computeSegVerticals(t),this.computeFgSegHorizontals(t),this.timeGrid.assignSegVerticals(t),this.assignFgSegHorizontals(t)},e.prototype.computeFgSegHorizontals=function(t){var e,i,a;if(this.sortEventSegs(t),r(e=n(t)),i=e[0]){for(a=0;a<i.length;a++)o(i[a]);for(a=0;a<i.length;a++)this.computeFgSegForwardBack(i[a],0,0)}},e.prototype.computeFgSegForwardBack=function(t,e,i){var n,r=t.forwardSegs;if(void 0===t.forwardCoord)for(r.length?(this.sortForwardSegs(r),this.computeFgSegForwardBack(r[0],e+1,i),t.forwardCoord=r[0].backwardCoord):t.forwardCoord=1,t.backwardCoord=t.forwardCoord-(t.forwardCoord-i)/(e+1),n=0;n<r.length;n++)this.computeFgSegForwardBack(r[n],0,t.forwardCoord)},e.prototype.sortForwardSegs=function(t){t.sort(c.proxy(this,"compareForwardSegs"))},e.prototype.compareForwardSegs=function(t,e){return e.forwardPressure-t.forwardPressure||(t.backwardCoord||0)-(e.backwardCoord||0)||this.compareEventSegs(t,e)},e.prototype.assignFgSegHorizontals=function(t){var e,i;for(e=0;e<t.length;e++)(i=t[e]).el.css(this.generateFgSegHorizontalCss(i)),i.footprint.eventDef.title&&i.bottom-i.top<30&&i.el.addClass("fc-short")},e.prototype.generateFgSegHorizontalCss=function(t){var e,i,n=this.opt("slotEventOverlap"),r=t.backwardCoord,o=t.forwardCoord,a=this.timeGrid.generateSegVerticalCss(t),s=this.timeGrid.isRTL;return n&&(o=Math.min(1,r+2*(o-r))),s?(e=1-o,i=r):(e=r,i=1-o),a.zIndex=t.level+1,a.left=100*e+"%",a.right=100*i+"%",n&&t.forwardPressure&&(a[s?"marginLeft":"marginRight"]=20),a},e}(i(44).default);e.default=u},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.renderSegs=function(t,e){var i,n,o,a=[];for(this.eventRenderer.renderFgSegsIntoContainers(t,this.component.helperContainerEls),i=0;i<t.length;i++)n=t[i],e&&e.col===n.col&&(o=e.el,n.el.css({left:o.css("left"),right:o.css("right"),"margin-left":o.css("margin-left"),"margin-right":o.css("margin-right")})),a.push(n.el[0]);return r(a)},e}(i(63).default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.attachSegEls=function(t,e){var i,n=this.component;return"bgEvent"===t?i=n.bgContainerEls:"businessHours"===t?i=n.businessContainerEls:"highlight"===t&&(i=n.highlightContainerEls),n.updateSegVerticals(e),n.attachSegsByCol(n.groupSegsByCol(e),i),e.map(function(t){return t.el[0]})},e}(i(62).default);e.default=r},function(t,e,i){function n(t,e){var i,n;for(i=0;i<e.length;i++)if((n=e[i]).leftCol<=t.rightCol&&n.rightCol>=t.leftCol)return!0;return!1}function r(t,e){return t.leftCol-e.leftCol}Object.defineProperty(e,"__esModule",{value:!0});var o=i(2),a=i(3),s=i(4),l=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.dayGrid=e,n}return o.__extends(e,t),e.prototype.renderBgRanges=function(e){e=a.grep(e,function(t){return t.eventDef.isAllDay()}),t.prototype.renderBgRanges.call(this,e)},e.prototype.renderFgSegs=function(t){var e=this.rowStructs=this.renderSegRows(t);this.dayGrid.rowEls.each(function(t,i){a(i).find(".fc-content-skeleton > table").append(e[t].tbodyEl)})},e.prototype.unrenderFgSegs=function(){for(var t,e=this.rowStructs||[];t=e.pop();)t.tbodyEl.remove();this.rowStructs=null},e.prototype.renderSegRows=function(t){var e,i,n=[];for(e=this.groupSegRows(t),i=0;i<e.length;i++)n.push(this.renderSegRow(i,e[i]));return n},e.prototype.renderSegRow=function(t,e){function i(t){for(;o<t;)(u=(v[n-1]||[])[o])?u.attr("rowspan",parseInt(u.attr("rowspan")||1,10)+1):(u=a("<td/>"),s.append(u)),m[n][o]=u,v[n][o]=u,o++}var n,r,o,s,l,c,u,h=this.dayGrid.colCnt,d=this.buildSegLevels(e),f=Math.max(1,d.length),p=a("<tbody/>"),g=[],m=[],v=[];for(n=0;n<f;n++){if(r=d[n],o=0,s=a("<tr/>"),g.push([]),m.push([]),v.push([]),r)for(l=0;l<r.length;l++){for(i((c=r[l]).leftCol),u=a('<td class="fc-event-container"/>').append(c.el),c.leftCol!==c.rightCol?u.attr("colspan",c.rightCol-c.leftCol+1):v[n][o]=u;o<=c.rightCol;)m[n][o]=u,g[n][o]=c,o++;s.append(u)}i(h),this.dayGrid.bookendCells(s),p.append(s)}return{row:t,tbodyEl:p,cellMatrix:m,segMatrix:g,segLevels:d,segs:e}},e.prototype.buildSegLevels=function(t){var e,i,o,a=[];for(this.sortEventSegs(t),e=0;e<t.length;e++){for(i=t[e],o=0;o<a.length&&n(i,a[o]);o++);i.level=o,(a[o]||(a[o]=[])).push(i)}for(o=0;o<a.length;o++)a[o].sort(r);return a},e.prototype.groupSegRows=function(t){var e,i=[];for(e=0;e<this.dayGrid.rowCnt;e++)i.push([]);for(e=0;e<t.length;e++)i[t[e].row].push(t[e]);return i},e.prototype.computeEventTimeFormat=function(){return this.opt("extraSmallTimeFormat")},e.prototype.computeDisplayEventEnd=function(){return 1===this.dayGrid.colCnt},e.prototype.fgSegHtml=function(t,e){var i,n,r=this.view,o=t.footprint.eventDef,a=t.footprint.componentFootprint.isAllDay,l=r.isEventDefDraggable(o),c=!e&&a&&t.isStart&&r.isEventDefResizableFromStart(o),u=!e&&a&&t.isEnd&&r.isEventDefResizableFromEnd(o),h=this.getSegClasses(t,l,c||u),d=s.cssToStr(this.getSkinCss(o)),f="";return h.unshift("fc-day-grid-event","fc-h-event"),t.isStart&&(i=this.getTimeText(t.footprint))&&(f='<span class="fc-time">'+s.htmlEscape(i)+"</span>"),n='<span class="fc-title">'+(s.htmlEscape(o.title||"")||"&nbsp;")+"</span>",'<a class="'+h.join(" ")+'"'+(o.url?' href="'+s.htmlEscape(o.url)+'"':"")+(d?' style="'+d+'"':"")+'><div class="fc-content">'+(this.dayGrid.isRTL?n+" "+f:f+" "+n)+"</div>"+(c?'<div class="fc-resizer fc-start-resizer" />':"")+(u?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},e}(i(44).default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.renderSegs=function(t,e){var i,n=[];return i=this.eventRenderer.renderSegRows(t),this.component.rowEls.each(function(t,o){var a,s,l=r(o),c=r('<div class="fc-helper-skeleton"><table/></div>');e&&e.row===t?s=e.el.position().top:((a=l.find(".fc-content-skeleton tbody")).length||(a=l.find(".fc-content-skeleton table")),s=a.position().top),c.css("top",s).find("table").append(i[t].tbodyEl),l.append(c),n.push(c[0])}),r(n)},e}(i(63).default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.fillSegTag="td",e}return n.__extends(e,t),e.prototype.attachSegEls=function(t,e){var i,n,r,o=[];for(i=0;i<e.length;i++)n=e[i],r=this.renderFillRow(t,n),this.component.rowEls.eq(n.row).append(r),o.push(r[0]);return o},e.prototype.renderFillRow=function(t,e){var i,n,o,a=this.component.colCnt,s=e.leftCol,l=e.rightCol+1;return i="businessHours"===t?"bgevent":t.toLowerCase(),o=(n=r('<div class="fc-'+i+'-skeleton"><table><tr/></table></div>')).find("tr"),s>0&&o.append(new Array(s+1).join("<td/>")),o.append(e.el.attr("colspan",l-s)),l<a&&o.append(new Array(a-l+1).join("<td/>")),this.component.bookendCells(o),n},e}(i(62).default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(0),o=i(4),a=i(67),s=i(247),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.setGridHeight=function(t,e){e&&(t*=this.dayGrid.rowCnt/6),o.distributeHeight(this.dayGrid.rowEls,t,!e)},e.prototype.isDateInOtherMonth=function(t,e){return t.month()!==r.utc(e.currentUnzonedRange.startMs).month()},e}(a.default);e.default=l,l.prototype.dateProfileGeneratorClass=s.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(68),o=i(5),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.buildRenderRange=function(e,i,n){var r,a=t.prototype.buildRenderRange.call(this,e,i,n),s=this.msToUtcMoment(a.startMs,n),l=this.msToUtcMoment(a.endMs,n);return this.opt("fixedWeekCount")&&(r=Math.ceil(l.diff(s,"weeks",!0)),l.add(6-r,"weeks")),new o.default(s,l)},e}(r.default);e.default=a},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(5),s=i(43),l=i(41),c=i(249),u=i(250),h=function(t){function e(e,i){var n=t.call(this,e,i)||this;return n.segSelector=".fc-list-item",n.scroller=new l.default({overflowX:"hidden",overflowY:"auto"}),n}return n.__extends(e,t),e.prototype.renderSkeleton=function(){this.el.addClass("fc-list-view "+this.calendar.theme.getClass("listView")),this.scroller.render(),this.scroller.el.appendTo(this.el),this.contentEl=this.scroller.scrollEl},e.prototype.unrenderSkeleton=function(){this.scroller.destroy()},e.prototype.updateSize=function(e,i,n){t.prototype.updateSize.call(this,e,i,n),this.scroller.clear(),i||this.scroller.setHeight(this.computeScrollerHeight(e))},e.prototype.computeScrollerHeight=function(t){return t-o.subtractInnerElHeight(this.el,this.scroller.el)},e.prototype.renderDates=function(t){for(var e=this.calendar,i=e.msToUtcMoment(t.renderUnzonedRange.startMs,!0),n=e.msToUtcMoment(t.renderUnzonedRange.endMs,!0),r=[],o=[];i<n;)r.push(i.clone()),o.push(new a.default(i,i.clone().add(1,"day"))),i.add(1,"day");this.dayDates=r,this.dayRanges=o},e.prototype.componentFootprintToSegs=function(t){var e,i,n,r=this.dayRanges,o=[];for(e=0;e<r.length;e++)if((i=t.unzonedRange.intersect(r[e]))&&(n={startMs:i.startMs,endMs:i.endMs,isStart:i.isStart,isEnd:i.isEnd,dayIndex:e},o.push(n),!n.isEnd&&!t.isAllDay&&e+1<r.length&&t.unzonedRange.endMs<r[e+1].startMs+this.nextDayThreshold)){n.endMs=t.unzonedRange.endMs,n.isEnd=!0;break}return o},e.prototype.renderEmptyMessage=function(){this.contentEl.html('<div class="fc-list-empty-wrap2"><div class="fc-list-empty-wrap1"><div class="fc-list-empty">'+o.htmlEscape(this.opt("noEventsMessage"))+"</div></div></div>")},e.prototype.renderSegList=function(t){var e,i,n,o=this.groupSegsByDay(t),a=r('<table class="fc-list-table '+this.calendar.theme.getClass("tableList")+'"><tbody/></table>'),s=a.find("tbody");for(e=0;e<o.length;e++)if(i=o[e])for(s.append(this.dayHeaderHtml(this.dayDates[e])),this.eventRenderer.sortEventSegs(i),n=0;n<i.length;n++)s.append(i[n].el);this.contentEl.empty().append(a)},e.prototype.groupSegsByDay=function(t){var e,i,n=[];for(e=0;e<t.length;e++)(n[(i=t[e]).dayIndex]||(n[i.dayIndex]=[])).push(i);return n},e.prototype.dayHeaderHtml=function(t){var e=this.opt("listDayFormat"),i=this.opt("listDayAltFormat");return'<tr class="fc-list-heading" data-date="'+t.format("YYYY-MM-DD")+'"><td class="'+(this.calendar.theme.getClass("tableListHeading")||this.calendar.theme.getClass("widgetHeader"))+'" colspan="3">'+(e?this.buildGotoAnchorHtml(t,{class:"fc-list-heading-main"},o.htmlEscape(t.format(e))):"")+(i?this.buildGotoAnchorHtml(t,{class:"fc-list-heading-alt"},o.htmlEscape(t.format(i))):"")+"</td></tr>"},e}(s.default);e.default=h,h.prototype.eventRendererClass=c.default,h.prototype.eventPointingClass=u.default},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(4),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.renderFgSegs=function(t){t.length?this.component.renderSegList(t):this.component.renderEmptyMessage()},e.prototype.fgSegHtml=function(t){var e,i=this.view,n=i.calendar,o=n.theme,a=t.footprint,s=a.eventDef,l=a.componentFootprint,c=s.url,u=["fc-list-item"].concat(this.getClasses(s)),h=this.getBgColor(s);return e=l.isAllDay?i.getAllDayHtml():i.isMultiDayRange(l.unzonedRange)?t.isStart||t.isEnd?r.htmlEscape(this._getTimeText(n.msToMoment(t.startMs),n.msToMoment(t.endMs),l.isAllDay)):i.getAllDayHtml():r.htmlEscape(this.getTimeText(a)),c&&u.push("fc-has-url"),'<tr class="'+u.join(" ")+'">'+(this.displayEventTime?'<td class="fc-list-item-time '+o.getClass("widgetContent")+'">'+(e||"")+"</td>":"")+'<td class="fc-list-item-marker '+o.getClass("widgetContent")+'"><span class="fc-event-dot"'+(h?' style="background-color:'+h+'"':"")+'></span></td><td class="fc-list-item-title '+o.getClass("widgetContent")+'"><a'+(c?' href="'+r.htmlEscape(c)+'"':"")+">"+r.htmlEscape(s.title||"")+"</a></td></tr>"},e.prototype.computeEventTimeFormat=function(){return this.opt("mediumTimeFormat")},e}(i(44).default);e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e.prototype.handleClick=function(e,i){var n;t.prototype.handleClick.call(this,e,i),r(i.target).closest("a[href]").length||(n=e.footprint.eventDef.url)&&!i.isDefaultPrevented()&&(window.location.href=n)},e}(i(64).default);e.default=o},,,,,,function(t,e,i){var n=i(3),r=i(18),o=i(4),a=i(232);i(11),i(49),i(260),i(261),i(264),i(265),i(266),i(267),n.fullCalendar=r,n.fn.fullCalendar=function(t){var e=Array.prototype.slice.call(arguments,1),i=this;return this.each(function(r,s){var l,c=n(s),u=c.data("fullCalendar");"string"==typeof t?"getCalendar"===t?r||(i=u):"destroy"===t?u&&(u.destroy(),c.removeData("fullCalendar")):u?n.isFunction(u[t])?(l=u[t].apply(u,e),r||(i=l),"destroy"===t&&c.removeData("fullCalendar")):o.warn("'"+t+"' is an unknown FullCalendar method."):o.warn("Attempting to call a FullCalendar method on an element with no calendar."):u||(u=new a.default(c,t),c.data("fullCalendar",u),u.render())}),i},t.exports=r},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(3),r=i(4),o=function(){function t(t,e){this.el=null,this.viewsWithButtons=[],this.calendar=t,this.toolbarOptions=e}return t.prototype.setToolbarOptions=function(t){this.toolbarOptions=t},t.prototype.render=function(){var t=this.toolbarOptions.layout,e=this.el;t?(e?e.empty():e=this.el=n("<div class='fc-toolbar "+this.toolbarOptions.extraClasses+"'/>"),e.append(this.renderSection("left")).append(this.renderSection("right")).append(this.renderSection("center")).append('<div class="fc-clear"/>')):this.removeElement()},t.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},t.prototype.renderSection=function(t){var e=this,i=this.calendar,o=i.theme,a=i.optionsManager,s=i.viewSpecManager,l=n('<div class="fc-'+t+'"/>'),c=this.toolbarOptions.layout[t],u=a.get("customButtons")||{},h=a.overrides.buttonText||{},d=a.get("buttonText")||{};return c&&n.each(c.split(" "),function(t,a){var c,f=n(),p=!0;n.each(a.split(","),function(t,a){var l,c,g,m,v,y,b,L,x;"title"===a?(f=f.add(n("<h2>&nbsp;</h2>")),p=!1):((l=u[a])?(g=function(t){l.click&&l.click.call(L[0],t)},(m=o.getCustomButtonIconClass(l))||(m=o.getIconClass(a))||(v=l.text)):(c=s.getViewSpec(a))?(e.viewsWithButtons.push(a),g=function(){i.changeView(a)},(v=c.buttonTextOverride)||(m=o.getIconClass(a))||(v=c.buttonTextDefault)):i[a]&&(g=function(){i[a]()},(v=h[a])||(m=o.getIconClass(a))||(v=d[a])),g&&(b=["fc-"+a+"-button",o.getClass("button"),o.getClass("stateDefault")],v?(y=r.htmlEscape(v),x=""):m&&(y="<span class='"+m+"'></span>",x=' aria-label="'+a+'"'),L=n('<button type="button" class="'+b.join(" ")+'"'+x+">"+y+"</button>").click(function(t){L.hasClass(o.getClass("stateDisabled"))||(g(t),(L.hasClass(o.getClass("stateActive"))||L.hasClass(o.getClass("stateDisabled")))&&L.removeClass(o.getClass("stateHover")))}).mousedown(function(){L.not("."+o.getClass("stateActive")).not("."+o.getClass("stateDisabled")).addClass(o.getClass("stateDown"))}).mouseup(function(){L.removeClass(o.getClass("stateDown"))}).hover(function(){L.not("."+o.getClass("stateActive")).not("."+o.getClass("stateDisabled")).addClass(o.getClass("stateHover"))},function(){L.removeClass(o.getClass("stateHover")).removeClass(o.getClass("stateDown"))}),f=f.add(L)))}),p&&f.first().addClass(o.getClass("cornerLeft")).end().last().addClass(o.getClass("cornerRight")).end(),f.length>1?(c=n("<div/>"),p&&c.addClass(o.getClass("buttonGroup")),c.append(f),l.append(c)):l.append(f)}),l},t.prototype.updateTitle=function(t){this.el&&this.el.find("h2").text(t)},t.prototype.activateButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").addClass(this.calendar.theme.getClass("stateActive"))},t.prototype.deactivateButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").removeClass(this.calendar.theme.getClass("stateActive"))},t.prototype.disableButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").prop("disabled",!0).addClass(this.calendar.theme.getClass("stateDisabled"))},t.prototype.enableButton=function(t){this.el&&this.el.find(".fc-"+t+"-button").prop("disabled",!1).removeClass(this.calendar.theme.getClass("stateDisabled"))},t.prototype.getViewsWithButtons=function(){return this.viewsWithButtons},t}();e.default=o},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=i(3),o=i(4),a=i(33),s=i(32),l=function(t){function e(e,i){var n=t.call(this)||this;return n._calendar=e,n.overrides=r.extend({},i),n.dynamicOverrides={},n.compute(),n}return n.__extends(e,t),e.prototype.add=function(t){var e,i=0;for(e in this.recordOverrides(t),t)i++;if(1===i){if("height"===e||"contentHeight"===e||"aspectRatio"===e)return void this._calendar.updateViewSize(!0);if("defaultDate"===e)return;if("businessHours"===e)return;if(/^(event|select)(Overlap|Constraint|Allow)$/.test(e))return;if("timezone"===e)return void this._calendar.view.flash("initialEvents")}this._calendar.renderHeader(),this._calendar.renderFooter(),this._calendar.viewsByType={},this._calendar.reinitView()},e.prototype.compute=function(){var t,e,i,n;t=o.firstDefined(this.dynamicOverrides.locale,this.overrides.locale),(e=s.localeOptionHash[t])||(t=a.globalDefaults.locale,e=s.localeOptionHash[t]||{}),i=o.firstDefined(this.dynamicOverrides.isRTL,this.overrides.isRTL,e.isRTL,a.globalDefaults.isRTL)?a.rtlDefaults:{},this.dirDefaults=i,this.localeDefaults=e,n=a.mergeOptions([a.globalDefaults,i,e,this.overrides,this.dynamicOverrides]),s.populateInstanceComputableOptions(n),this.reset(n)},e.prototype.recordOverrides=function(t){var e;for(e in t)this.dynamicOverrides[e]=t[e];this._calendar.viewSpecManager.clearCache(),this.compute()},e}(i(51).default);e.default=l},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(0),r=i(3),o=i(24),a=i(4),s=i(33),l=i(32),c=function(){function t(t,e){this.optionsManager=t,this._calendar=e,this.clearCache()}return t.prototype.clearCache=function(){this.viewSpecCache={}},t.prototype.getViewSpec=function(t){var e=this.viewSpecCache;return e[t]||(e[t]=this.buildViewSpec(t))},t.prototype.getUnitViewSpec=function(t){var e,i,n;if(-1!==r.inArray(t,a.unitsDesc))for(e=this._calendar.header.getViewsWithButtons(),r.each(o.viewHash,function(t){e.push(t)}),i=0;i<e.length;i++)if((n=this.getViewSpec(e[i]))&&n.singleUnit===t)return n},t.prototype.buildViewSpec=function(t){for(var e,i,r,l,c,u=this.optionsManager.overrides.views||{},h=[],d=[],f=[],p=t;p;)e=o.viewHash[p],i=u[p],p=null,"function"==typeof e&&(e={class:e}),e&&(h.unshift(e),d.unshift(e.defaults||{}),r=r||e.duration,p=p||e.type),i&&(f.unshift(i),r=r||i.duration,p=p||i.type);return(e=a.mergeProps(h)).type=t,!!e.class&&((r=r||this.optionsManager.dynamicOverrides.duration||this.optionsManager.overrides.duration)&&((l=n.duration(r)).valueOf()&&(c=a.computeDurationGreatestUnit(l,r),e.duration=l,e.durationUnit=c,1===l.as(c)&&(e.singleUnit=c,f.unshift(u[c]||{})))),e.defaults=s.mergeOptions(d),e.overrides=s.mergeOptions(f),this.buildViewSpecOptions(e),this.buildViewSpecButtonText(e,t),e)},t.prototype.buildViewSpecOptions=function(t){var e=this.optionsManager;t.options=s.mergeOptions([s.globalDefaults,t.defaults,e.dirDefaults,e.localeDefaults,e.overrides,t.overrides,e.dynamicOverrides]),l.populateInstanceComputableOptions(t.options)},t.prototype.buildViewSpecButtonText=function(t,e){function i(i){var n=i.buttonText||{};return n[e]||(t.buttonTextKey?n[t.buttonTextKey]:null)||(t.singleUnit?n[t.singleUnit]:null)}var n=this.optionsManager;t.buttonTextOverride=i(n.dynamicOverrides)||i(n.overrides)||t.overrides.buttonText,t.buttonTextDefault=i(n.localeDefaults)||i(n.dirDefaults)||t.defaults.buttonText||i(s.globalDefaults)||(t.duration?this._calendar.humanizeDuration(t.duration):null)||e},t}();e.default=c},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(38),r=i(56),o=i(223),a=i(224);n.default.registerClass(r.default),n.default.registerClass(o.default),n.default.registerClass(a.default)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(57),r=i(221),o=i(222),a=i(262),s=i(263);n.defineThemeSystem("standard",r.default),n.defineThemeSystem("jquery-ui",o.default),n.defineThemeSystem("bootstrap3",a.default),n.defineThemeSystem("bootstrap4",s.default)},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(i(22).default);e.default=r,r.prototype.classes={widget:"fc-bootstrap3",tableGrid:"table-bordered",tableList:"table",tableListHeading:"active",buttonGroup:"btn-group",button:"btn btn-default",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"panel panel-default",popoverHeader:"panel-heading",popoverContent:"panel-body",headerRow:"panel-default",dayRow:"panel-default",listView:"panel panel-default"},r.prototype.baseIconClass="glyphicon",r.prototype.iconClasses={close:"glyphicon-remove",prev:"glyphicon-chevron-left",next:"glyphicon-chevron-right",prevYear:"glyphicon-backward",nextYear:"glyphicon-forward"},r.prototype.iconOverrideOption="bootstrapGlyphicons",r.prototype.iconOverrideCustomButtonOption="bootstrapGlyphicon",r.prototype.iconOverridePrefix="glyphicon-"},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(2),r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n.__extends(e,t),e}(i(22).default);e.default=r,r.prototype.classes={widget:"fc-bootstrap4",tableGrid:"table-bordered",tableList:"table",tableListHeading:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"card card-primary",popoverHeader:"card-header",popoverContent:"card-body",headerRow:"table-bordered",dayRow:"table-bordered",listView:"card card-primary"},r.prototype.baseIconClass="fa",r.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"},r.prototype.iconOverrideOption="bootstrapFontAwesome",r.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome",r.prototype.iconOverridePrefix="fa-"},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(24),r=i(67),o=i(246);n.defineView("basic",{class:r.default}),n.defineView("basicDay",{type:"basic",duration:{days:1}}),n.defineView("basicWeek",{type:"basic",duration:{weeks:1}}),n.defineView("month",{class:o.default,duration:{months:1},defaults:{fixedWeekCount:!0}})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(24),r=i(238);n.defineView("agenda",{class:r.default,defaults:{allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0}}),n.defineView("agendaDay",{type:"agenda",duration:{days:1}}),n.defineView("agendaWeek",{type:"agenda",duration:{weeks:1}})},function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(24),r=i(248);n.defineView("list",{class:r.default,buttonTextKey:"list",defaults:{buttonText:"list",listDayFormat:"LL",noEventsMessage:"No events to display"}}),n.defineView("listDay",{type:"list",duration:{days:1},defaults:{listDayFormat:"dddd"}}),n.defineView("listWeek",{type:"list",duration:{weeks:1},defaults:{listDayFormat:"dddd",listDayAltFormat:"LL"}}),n.defineView("listMonth",{type:"list",duration:{month:1},defaults:{listDayAltFormat:"dddd"}}),n.defineView("listYear",{type:"list",duration:{year:1},defaults:{listDayAltFormat:"dddd"}})},function(t,e){Object.defineProperty(e,"__esModule",{value:!0})}])}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(t){function e(e){var a=e||window.event,s=l.call(arguments,1),c=0,h=0,d=0,f=0,p=0,g=0;if((e=t.event.fix(a)).type="mousewheel","detail"in a&&(d=-1*a.detail),"wheelDelta"in a&&(d=a.wheelDelta),"wheelDeltaY"in a&&(d=a.wheelDeltaY),"wheelDeltaX"in a&&(h=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(h=-1*d,d=0),c=0===d?h:d,"deltaY"in a&&(c=d=-1*a.deltaY),"deltaX"in a&&(h=a.deltaX,0===d&&(c=-1*h)),0!==d||0!==h){if(1===a.deltaMode){var m=t.data(this,"mousewheel-line-height");c*=m,d*=m,h*=m}else if(2===a.deltaMode){var v=t.data(this,"mousewheel-page-height");c*=v,d*=v,h*=v}if(f=Math.max(Math.abs(d),Math.abs(h)),(!o||o>f)&&(o=f,n(a,f)&&(o/=40)),n(a,f)&&(c/=40,h/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/o),h=Math[h>=1?"floor":"ceil"](h/o),d=Math[d>=1?"floor":"ceil"](d/o),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=e.clientX-y.left,g=e.clientY-y.top}return e.deltaX=h,e.deltaY=d,e.deltaFactor=o,e.offsetX=p,e.offsetY=g,e.deltaMode=0,s.unshift(e,c,h,d),r&&clearTimeout(r),r=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,s)}}function i(){o=null}function n(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var r,o,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=a.length;c;)t.event.fixHooks[a[--c]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=s.length;i;)this.addEventListener(s[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=s.length;i;)this.removeEventListener(s[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!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){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(t){function e(e){var a=e||window.event,s=l.call(arguments,1),c=0,h=0,d=0,f=0,p=0,g=0;if((e=t.event.fix(a)).type="mousewheel","detail"in a&&(d=-1*a.detail),"wheelDelta"in a&&(d=a.wheelDelta),"wheelDeltaY"in a&&(d=a.wheelDeltaY),"wheelDeltaX"in a&&(h=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(h=-1*d,d=0),c=0===d?h:d,"deltaY"in a&&(c=d=-1*a.deltaY),"deltaX"in a&&(h=a.deltaX,0===d&&(c=-1*h)),0!==d||0!==h){if(1===a.deltaMode){var m=t.data(this,"mousewheel-line-height");c*=m,d*=m,h*=m}else if(2===a.deltaMode){var v=t.data(this,"mousewheel-page-height");c*=v,d*=v,h*=v}if(f=Math.max(Math.abs(d),Math.abs(h)),(!o||o>f)&&(o=f,n(a,f)&&(o/=40)),n(a,f)&&(c/=40,h/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/o),h=Math[h>=1?"floor":"ceil"](h/o),d=Math[d>=1?"floor":"ceil"](d/o),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=e.clientX-y.left,g=e.clientY-y.top}return e.deltaX=h,e.deltaY=d,e.deltaFactor=o,e.offsetX=p,e.offsetY=g,e.deltaMode=0,s.unshift(e,c,h,d),r&&clearTimeout(r),r=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,s)}}function i(){o=null}function n(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var r,o,a=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=a.length;c;)t.event.fixHooks[a[--c]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=s.length;i;)this.addEventListener(s[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=s.length;i;)this.removeEventListener(s[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!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){"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t:t(jQuery,window,document)}(function(t){var e,i,n;e="function"==typeof define&&define.amd,i="undefined"!=typeof module&&module.exports,n="https:"==document.location.protocol?"https:":"http:",e||(i?require("jquery-mousewheel")(t):t.event.special.mousewheel||t("head").append(decodeURI("%3Cscript src="+n+"//cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js%3E%3C/script%3E"))),function(){var e,i="mCustomScrollbar",n="mCS",r=".mCustomScrollbar",o={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},a=0,s={},l=window.attachEvent&&!window.addEventListener?1:0,c=!1,u=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],h={init:function(e){var e=t.extend(!0,{},o,e),i=d.call(this);if(e.live){var l=e.liveSelector||this.selector||r,c=t(l);if("off"===e.live)return void p(l);s[l]=setTimeout(function(){c.mCustomScrollbar(e),"once"===e.live&&c.length&&p(l)},500)}else p(l);return e.setWidth=e.set_width?e.set_width:e.setWidth,e.setHeight=e.set_height?e.set_height:e.setHeight,e.axis=e.horizontalScroll?"x":g(e.axis),e.scrollInertia=e.scrollInertia>0&&e.scrollInertia<17?17:e.scrollInertia,"object"!=typeof e.mouseWheel&&1==e.mouseWheel&&(e.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),e.mouseWheel.scrollAmount=e.mouseWheelPixels?e.mouseWheelPixels:e.mouseWheel.scrollAmount,e.mouseWheel.normalizeDelta=e.advanced.normalizeMouseWheelDelta?e.advanced.normalizeMouseWheelDelta:e.mouseWheel.normalizeDelta,e.scrollButtons.scrollType=m(e.scrollButtons.scrollType),f(e),t(i).each(function(){var i=t(this);if(!i.data(n)){i.data(n,{idx:++a,opt:e,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:i.css("direction"),cbOffsets:null,trigger:null,poll:{size:{o:0,n:0},img:{o:0,n:0},change:{o:0,n:0}}});var r=i.data(n),o=r.opt,s=i.data("mcs-axis"),l=i.data("mcs-scrollbar-position"),c=i.data("mcs-theme");s&&(o.axis=s),l&&(o.scrollbarPosition=l),c&&(o.theme=c,f(o)),v.call(this),r&&o.callbacks.onCreate&&"function"==typeof o.callbacks.onCreate&&o.callbacks.onCreate.call(this),t("#mCSB_"+r.idx+"_container img:not(."+u[2]+")").addClass(u[2]),h.update.call(null,i)}})},update:function(e,i){var r=e||d.call(this);return t(r).each(function(){var e=t(this);if(e.data(n)){var r=e.data(n),o=r.opt,a=t("#mCSB_"+r.idx+"_container"),s=t("#mCSB_"+r.idx),l=[t("#mCSB_"+r.idx+"_dragger_vertical"),t("#mCSB_"+r.idx+"_dragger_horizontal")];if(!a.length)return;r.tweenRunning&&X(e),i&&r&&o.callbacks.onBeforeUpdate&&"function"==typeof o.callbacks.onBeforeUpdate&&o.callbacks.onBeforeUpdate.call(this),e.hasClass(u[3])&&e.removeClass(u[3]),e.hasClass(u[4])&&e.removeClass(u[4]),s.css("max-height","none"),s.height()!==e.height()&&s.css("max-height",e.height()),b.call(this),"y"===o.axis||o.advanced.autoExpandHorizontalScroll||a.css("width",y(a)),r.overflowed=S.call(this),E.call(this),o.autoDraggerLength&&x.call(this),w.call(this),k.call(this);var c=[Math.abs(a[0].offsetTop),Math.abs(a[0].offsetLeft)];"x"!==o.axis&&(r.overflowed[0]?l[0].height()>l[0].parent().height()?C.call(this):(q(e,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),r.contentReset.y=null):(C.call(this),"y"===o.axis?T.call(this):"yx"===o.axis&&r.overflowed[1]&&q(e,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==o.axis&&(r.overflowed[1]?l[1].width()>l[1].parent().width()?C.call(this):(q(e,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),r.contentReset.x=null):(C.call(this),"x"===o.axis?T.call(this):"yx"===o.axis&&r.overflowed[0]&&q(e,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),i&&r&&(2===i&&o.callbacks.onImageLoad&&"function"==typeof o.callbacks.onImageLoad?o.callbacks.onImageLoad.call(this):3===i&&o.callbacks.onSelectorChange&&"function"==typeof o.callbacks.onSelectorChange?o.callbacks.onSelectorChange.call(this):o.callbacks.onUpdate&&"function"==typeof o.callbacks.onUpdate&&o.callbacks.onUpdate.call(this)),G.call(this)}})},scrollTo:function(e,i){if(void 0!==e&&null!=e){var r=d.call(this);return t(r).each(function(){var r=t(this);if(r.data(n)){var o=r.data(n),a=o.opt,s={trigger:"external",scrollInertia:a.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},l=t.extend(!0,{},s,i),c=U.call(this,e),u=l.scrollInertia>0&&l.scrollInertia<17?17:l.scrollInertia;c[0]=Y.call(this,c[0],"y"),c[1]=Y.call(this,c[1],"x"),l.moveDragger&&(c[0]*=o.scrollRatio.y,c[1]*=o.scrollRatio.x),l.dur=nt()?0:u,setTimeout(function(){null!==c[0]&&void 0!==c[0]&&"x"!==a.axis&&o.overflowed[0]&&(l.dir="y",l.overwrite="all",q(r,c[0].toString(),l)),null!==c[1]&&void 0!==c[1]&&"y"!==a.axis&&o.overflowed[1]&&(l.dir="x",l.overwrite="none",q(r,c[1].toString(),l))},l.timeout)}})}},stop:function(){var e=d.call(this);return t(e).each(function(){var e=t(this);e.data(n)&&X(e)})},disable:function(e){var i=d.call(this);return t(i).each(function(){var i=t(this);i.data(n)&&(i.data(n),G.call(this,"remove"),T.call(this),e&&C.call(this),E.call(this,!0),i.addClass(u[3]))})},destroy:function(){var e=d.call(this);return t(e).each(function(){var r=t(this);if(r.data(n)){var o=r.data(n),a=o.opt,s=t("#mCSB_"+o.idx),l=t("#mCSB_"+o.idx+"_container"),c=t(".mCSB_"+o.idx+"_scrollbar");a.live&&p(a.liveSelector||t(e).selector),G.call(this,"remove"),T.call(this),C.call(this),r.removeData(n),Q(this,"mcs"),c.remove(),l.find("img."+u[2]).removeClass(u[2]),s.replaceWith(l.contents()),r.removeClass(i+" _"+n+"_"+o.idx+" "+u[6]+" "+u[7]+" "+u[5]+" "+u[3]).addClass(u[4])}})}},d=function(){return"object"!=typeof t(this)||t(this).length<1?r:this},f=function(e){e.autoDraggerLength=!(t.inArray(e.theme,["rounded","rounded-dark","rounded-dots","rounded-dots-dark"])>-1)&&e.autoDraggerLength,e.autoExpandScrollbar=!(t.inArray(e.theme,["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"])>-1)&&e.autoExpandScrollbar,e.scrollButtons.enable=!(t.inArray(e.theme,["minimal","minimal-dark"])>-1)&&e.scrollButtons.enable,e.autoHideScrollbar=t.inArray(e.theme,["minimal","minimal-dark"])>-1||e.autoHideScrollbar,e.scrollbarPosition=t.inArray(e.theme,["minimal","minimal-dark"])>-1?"outside":e.scrollbarPosition},p=function(t){s[t]&&(clearTimeout(s[t]),Q(s,t))},g=function(t){return"yx"===t||"xy"===t||"auto"===t?"yx":"x"===t||"horizontal"===t?"x":"y"},m=function(t){return"stepped"===t||"pixels"===t||"step"===t||"click"===t?"stepped":"stepless"},v=function(){var e=t(this),r=e.data(n),o=r.opt,a=o.autoExpandScrollbar?" "+u[1]+"_expand":"",s=["<div id='mCSB_"+r.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+r.idx+"_scrollbar mCS-"+o.theme+" mCSB_scrollTools_vertical"+a+"'><div class='"+u[12]+"'><div id='mCSB_"+r.idx+"_dragger_vertical' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+r.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+r.idx+"_scrollbar mCS-"+o.theme+" mCSB_scrollTools_horizontal"+a+"'><div class='"+u[12]+"'><div id='mCSB_"+r.idx+"_dragger_horizontal' class='mCSB_dragger' style='position:absolute;'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],l="yx"===o.axis?"mCSB_vertical_horizontal":"x"===o.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===o.axis?s[0]+s[1]:"x"===o.axis?s[1]:s[0],h="yx"===o.axis?"<div id='mCSB_"+r.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",d=o.autoHideScrollbar?" "+u[6]:"",f="x"!==o.axis&&"rtl"===r.langDir?" "+u[7]:"";o.setWidth&&e.css("width",o.setWidth),o.setHeight&&e.css("height",o.setHeight),o.setLeft="y"!==o.axis&&"rtl"===r.langDir?"989999px":o.setLeft,e.addClass(i+" _"+n+"_"+r.idx+d+f).wrapInner("<div id='mCSB_"+r.idx+"' class='mCustomScrollBox mCS-"+o.theme+" "+l+"'><div id='mCSB_"+r.idx+"_container' class='mCSB_container' style='position:relative; top:"+o.setTop+"; left:"+o.setLeft+";' dir='"+r.langDir+"' /></div>");var p=t("#mCSB_"+r.idx),g=t("#mCSB_"+r.idx+"_container");"y"===o.axis||o.advanced.autoExpandHorizontalScroll||g.css("width",y(g)),"outside"===o.scrollbarPosition?("static"===e.css("position")&&e.css("position","relative"),e.css("overflow","visible"),p.addClass("mCSB_outside").after(c)):(p.addClass("mCSB_inside").append(c),g.wrap(h)),L.call(this);var m=[t("#mCSB_"+r.idx+"_dragger_vertical"),t("#mCSB_"+r.idx+"_dragger_horizontal")];m[0].css("min-height",m[0].height()),m[1].css("min-width",m[1].width())},y=function(e){var i=[e[0].scrollWidth,Math.max.apply(Math,e.children().map(function(){return t(this).outerWidth(!0)}).get())],n=e.parent().width();return i[0]>n?i[0]:i[1]>n?i[1]:"100%"},b=function(){var e=t(this),i=e.data(n),r=i.opt,o=t("#mCSB_"+i.idx+"_container");if(r.advanced.autoExpandHorizontalScroll&&"y"!==r.axis){o.css({width:"auto","min-width":0,"overflow-x":"scroll"});var a=Math.ceil(o[0].scrollWidth);3===r.advanced.autoExpandHorizontalScroll||2!==r.advanced.autoExpandHorizontalScroll&&a>o.parent().width()?o.css({width:a,"min-width":"100%","overflow-x":"inherit"}):o.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='position:relative; left:0; width:999999px;' />").css({width:Math.ceil(o[0].getBoundingClientRect().right+.4)-Math.floor(o[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},L=function(){var e=t(this),i=e.data(n),r=i.opt,o=t(".mCSB_"+i.idx+"_scrollbar:first"),a=et(r.scrollButtons.tabindex)?"tabindex='"+r.scrollButtons.tabindex+"'":"",s=["<a href='#' class='"+u[13]+"' "+a+" />","<a href='#' class='"+u[14]+"' "+a+" />","<a href='#' class='"+u[15]+"' "+a+" />","<a href='#' class='"+u[16]+"' "+a+" />"],l=["x"===r.axis?s[2]:s[0],"x"===r.axis?s[3]:s[1],s[2],s[3]];r.scrollButtons.enable&&o.prepend(l[0]).append(l[1]).next(".mCSB_scrollTools").prepend(l[2]).append(l[3])},x=function(){var e=t(this),i=e.data(n),r=t("#mCSB_"+i.idx),o=t("#mCSB_"+i.idx+"_container"),a=[t("#mCSB_"+i.idx+"_dragger_vertical"),t("#mCSB_"+i.idx+"_dragger_horizontal")],s=[r.height()/o.outerHeight(!1),r.width()/o.outerWidth(!1)],c=[parseInt(a[0].css("min-height")),Math.round(s[0]*a[0].parent().height()),parseInt(a[1].css("min-width")),Math.round(s[1]*a[1].parent().width())],u=l&&c[1]<c[0]?c[0]:c[1],h=l&&c[3]<c[2]?c[2]:c[3];a[0].css({height:u,"max-height":a[0].parent().height()-10}).find(".mCSB_dragger_bar").css({"line-height":c[0]+"px"}),a[1].css({width:h,"max-width":a[1].parent().width()-10})},w=function(){var e=t(this),i=e.data(n),r=t("#mCSB_"+i.idx),o=t("#mCSB_"+i.idx+"_container"),a=[t("#mCSB_"+i.idx+"_dragger_vertical"),t("#mCSB_"+i.idx+"_dragger_horizontal")],s=[o.outerHeight(!1)-r.height(),o.outerWidth(!1)-r.width()],l=[s[0]/(a[0].parent().height()-a[0].height()),s[1]/(a[1].parent().width()-a[1].width())];i.scrollRatio={y:l[0],x:l[1]}},_=function(t,e,i){var n=i?u[0]+"_expanded":"",r=t.closest(".mCSB_scrollTools");"active"===e?(t.toggleClass(u[0]+" "+n),r.toggleClass(u[1]),t[0]._draggable=t[0]._draggable?0:1):t[0]._draggable||("hide"===e?(t.removeClass(u[0]),r.removeClass(u[1])):(t.addClass(u[0]),r.addClass(u[1])))},S=function(){var e=t(this),i=e.data(n),r=t("#mCSB_"+i.idx),o=t("#mCSB_"+i.idx+"_container"),a=null==i.overflowed?o.height():o.outerHeight(!1),s=null==i.overflowed?o.width():o.outerWidth(!1),l=o[0].scrollHeight,c=o[0].scrollWidth;return l>a&&(a=l),c>s&&(s=c),[a>r.height(),s>r.width()]},C=function(){var e=t(this),i=e.data(n),r=i.opt,o=t("#mCSB_"+i.idx),a=t("#mCSB_"+i.idx+"_container"),s=[t("#mCSB_"+i.idx+"_dragger_vertical"),t("#mCSB_"+i.idx+"_dragger_horizontal")];if(X(e),("x"!==r.axis&&!i.overflowed[0]||"y"===r.axis&&i.overflowed[0])&&(s[0].add(a).css("top",0),q(e,"_resetY")),"y"!==r.axis&&!i.overflowed[1]||"x"===r.axis&&i.overflowed[1]){var l=dx=0;"rtl"===i.langDir&&(l=o.width()-a.outerWidth(!1),dx=Math.abs(l/i.scrollRatio.x)),a.css("left",l),s[1].css("left",dx),q(e,"_resetX")}},k=function(){var e,i=t(this),r=i.data(n),o=r.opt;r.bindEvents||(M.call(this),o.contentTouchScroll&&D.call(this),P.call(this),o.mouseWheel.enable&&function n(){e=setTimeout(function(){t.event.special.mousewheel?(clearTimeout(e),O.call(i[0])):n()},100)}(),B.call(this),H.call(this),o.advanced.autoScrollOnFocus&&z.call(this),o.scrollButtons.enable&&V.call(this),o.keyboard.enable&&j.call(this),r.bindEvents=!0)},T=function(){var e=t(this),i=e.data(n),r=i.opt,o=n+"_"+i.idx,a=".mCSB_"+i.idx+"_scrollbar",s=t("#mCSB_"+i.idx+",#mCSB_"+i.idx+"_container,#mCSB_"+i.idx+"_container_wrapper,"+a+" ."+u[12]+",#mCSB_"+i.idx+"_dragger_vertical,#mCSB_"+i.idx+"_dragger_horizontal,"+a+">a"),l=t("#mCSB_"+i.idx+"_container");r.advanced.releaseDraggableSelectors&&s.add(t(r.advanced.releaseDraggableSelectors)),r.advanced.extraDraggableSelectors&&s.add(t(r.advanced.extraDraggableSelectors)),i.bindEvents&&(t(document).add(t(!N()||top.document)).unbind("."+o),s.each(function(){t(this).unbind("."+o)}),clearTimeout(e[0]._focusTimeout),Q(e[0],"_focusTimeout"),clearTimeout(i.sequential.step),Q(i.sequential,"step"),clearTimeout(l[0].onCompleteTimeout),Q(l[0],"onCompleteTimeout"),i.bindEvents=!1)},E=function(e){var i=t(this),r=i.data(n),o=r.opt,a=t("#mCSB_"+r.idx+"_container_wrapper"),s=a.length?a:t("#mCSB_"+r.idx+"_container"),l=[t("#mCSB_"+r.idx+"_scrollbar_vertical"),t("#mCSB_"+r.idx+"_scrollbar_horizontal")],c=[l[0].find(".mCSB_dragger"),l[1].find(".mCSB_dragger")];"x"!==o.axis&&(r.overflowed[0]&&!e?(l[0].add(c[0]).add(l[0].children("a")).css("display","block"),s.removeClass(u[8]+" "+u[10])):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&c[0].css("display","none"),s.removeClass(u[10])):(l[0].css("display","none"),s.addClass(u[10])),s.addClass(u[8]))),"y"!==o.axis&&(r.overflowed[1]&&!e?(l[1].add(c[1]).add(l[1].children("a")).css("display","block"),s.removeClass(u[9]+" "+u[11])):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&c[1].css("display","none"),s.removeClass(u[11])):(l[1].css("display","none"),s.addClass(u[11])),s.addClass(u[9]))),r.overflowed[0]||r.overflowed[1]?i.removeClass(u[5]):i.addClass(u[5])},A=function(e){var i=e.type,n=e.target.ownerDocument!==document&&null!==frameElement?[t(frameElement).offset().top,t(frameElement).offset().left]:null,r=N()&&e.target.ownerDocument!==top.document&&null!==frameElement?[t(e.view.frameElement).offset().top,t(e.view.frameElement).offset().left]:[0,0];switch(i){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return n?[e.originalEvent.pageY-n[0]+r[0],e.originalEvent.pageX-n[1]+r[1],!1]:[e.originalEvent.pageY,e.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var o=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],a=e.originalEvent.touches.length||e.originalEvent.changedTouches.length;return e.target.ownerDocument!==document?[o.screenY,o.screenX,a>1]:[o.pageY,o.pageX,a>1];default:return n?[e.pageY-n[0]+r[0],e.pageX-n[1]+r[1],!1]:[e.pageY,e.pageX,!1]}},M=function(){function e(t,e,n,r){if(f[0].idleTimer=u.scrollInertia<233?250:0,i.attr("id")===d[1])var o="x",l=(i[0].offsetLeft-e+r)*s.scrollRatio.x;else var o="y",l=(i[0].offsetTop-t+n)*s.scrollRatio.y;q(a,l.toString(),{dir:o,drag:!0})}var i,r,o,a=t(this),s=a.data(n),u=s.opt,h=n+"_"+s.idx,d=["mCSB_"+s.idx+"_dragger_vertical","mCSB_"+s.idx+"_dragger_horizontal"],f=t("#mCSB_"+s.idx+"_container"),p=t("#"+d[0]+",#"+d[1]),g=u.advanced.releaseDraggableSelectors?p.add(t(u.advanced.releaseDraggableSelectors)):p,m=u.advanced.extraDraggableSelectors?t(!N()||top.document).add(t(u.advanced.extraDraggableSelectors)):t(!N()||top.document);p.bind("contextmenu."+h,function(t){t.preventDefault()}).bind("mousedown."+h+" touchstart."+h+" pointerdown."+h+" MSPointerDown."+h,function(e){if(e.stopImmediatePropagation(),e.preventDefault(),J(e)){c=!0,l&&(document.onselectstart=function(){return!1}),R.call(f,!1),X(a);var n=(i=t(this)).offset(),s=A(e)[0]-n.top,h=A(e)[1]-n.left,d=i.height()+n.top,p=i.width()+n.left;d>s&&s>0&&p>h&&h>0&&(r=s,o=h),_(i,"active",u.autoExpandScrollbar)}}).bind("touchmove."+h,function(t){t.stopImmediatePropagation(),t.preventDefault();var n=i.offset(),a=A(t)[0]-n.top,s=A(t)[1]-n.left;e(r,o,a,s)}),t(document).add(m).bind("mousemove."+h+" pointermove."+h+" MSPointerMove."+h,function(t){if(i){var n=i.offset(),a=A(t)[0]-n.top,s=A(t)[1]-n.left;if(r===a&&o===s)return;e(r,o,a,s)}}).add(g).bind("mouseup."+h+" touchend."+h+" pointerup."+h+" MSPointerUp."+h,function(){i&&(_(i,"active",u.autoExpandScrollbar),i=null),c=!1,l&&(document.onselectstart=null),R.call(f,!0)})},D=function(){function i(t){if(!tt(t)||c||A(t)[2])e=0;else{e=1,w=0,_=0,u=1,S.removeClass("mCS_touch_action");var i=M.offset();h=A(t)[0]-i.top,d=A(t)[1]-i.left,F=[A(t)[0],A(t)[1]]}}function r(t){if(tt(t)&&!c&&!A(t)[2]&&(k.documentTouchScroll||t.preventDefault(),t.stopImmediatePropagation(),(!_||w)&&u)){m=Z();var e=E.offset(),i=A(t)[0]-e.top,n=A(t)[1]-e.left,r="mcsLinearOut";if(P.push(i),O.push(n),F[2]=Math.abs(A(t)[0]-F[0]),F[3]=Math.abs(A(t)[1]-F[1]),C.overflowed[0])var o=D[0].parent().height()-D[0].height(),a=h-i>0&&i-h>-o*C.scrollRatio.y&&(2*F[3]<F[2]||"yx"===k.axis);if(C.overflowed[1])var s=D[1].parent().width()-D[1].width(),f=d-n>0&&n-d>-s*C.scrollRatio.x&&(2*F[2]<F[3]||"yx"===k.axis);a||f?(H||t.preventDefault(),w=1):(_=1,S.addClass("mCS_touch_action")),H&&t.preventDefault(),L="yx"===k.axis?[h-i,d-n]:"x"===k.axis?[null,d-n]:[h-i,null],M[0].idleTimer=250,C.overflowed[0]&&l(L[0],I,r,"y","all",!0),C.overflowed[1]&&l(L[1],I,r,"x",R,!0)}}function o(t){if(!tt(t)||c||A(t)[2])e=0;else{e=1,t.stopImmediatePropagation(),X(S),g=Z();var i=E.offset();f=A(t)[0]-i.top,p=A(t)[1]-i.left,P=[],O=[]}}function a(t){if(tt(t)&&!c&&!A(t)[2]){u=0,t.stopImmediatePropagation(),w=0,_=0,v=Z();var e=E.offset(),i=A(t)[0]-e.top,n=A(t)[1]-e.left;if(!(v-m>30)){var r="mcsEaseOut",o=2.5>(b=1e3/(v-g)),a=o?[P[P.length-2],O[O.length-2]]:[0,0];y=o?[i-a[0],n-a[1]]:[i-f,n-p];var h=[Math.abs(y[0]),Math.abs(y[1])];b=o?[Math.abs(y[0]/4),Math.abs(y[1]/4)]:[b,b];var d=[Math.abs(M[0].offsetTop)-y[0]*s(h[0]/b[0],b[0]),Math.abs(M[0].offsetLeft)-y[1]*s(h[1]/b[1],b[1])];L="yx"===k.axis?[d[0],d[1]]:"x"===k.axis?[null,d[1]]:[d[0],null],x=[4*h[0]+k.scrollInertia,4*h[1]+k.scrollInertia];var S=parseInt(k.contentTouchScroll)||0;L[0]=h[0]>S?L[0]:0,L[1]=h[1]>S?L[1]:0,C.overflowed[0]&&l(L[0],x[0],r,"y",R,!1),C.overflowed[1]&&l(L[1],x[1],r,"x",R,!1)}}}function s(t,e){var i=[1.5*e,2*e,e/1.5,e/2];return t>90?e>4?i[0]:i[3]:t>60?e>3?i[3]:i[2]:t>30?e>8?i[1]:e>6?i[0]:e>4?e:i[2]:e>8?e:i[3]}function l(t,e,i,n,r,o){t&&q(S,t.toString(),{dur:e,scrollEasing:i,dir:n,overwrite:r,drag:o})}var u,h,d,f,p,g,m,v,y,b,L,x,w,_,S=t(this),C=S.data(n),k=C.opt,T=n+"_"+C.idx,E=t("#mCSB_"+C.idx),M=t("#mCSB_"+C.idx+"_container"),D=[t("#mCSB_"+C.idx+"_dragger_vertical"),t("#mCSB_"+C.idx+"_dragger_horizontal")],P=[],O=[],I=0,R="yx"===k.axis?"none":"all",F=[],B=M.find("iframe"),z=["touchstart."+T+" pointerdown."+T+" MSPointerDown."+T,"touchmove."+T+" pointermove."+T+" MSPointerMove."+T,"touchend."+T+" pointerup."+T+" MSPointerUp."+T],H=void 0!==document.body.style.touchAction&&""!==document.body.style.touchAction;M.bind(z[0],function(t){i(t)}).bind(z[1],function(t){r(t)}),E.bind(z[0],function(t){o(t)}).bind(z[2],function(t){a(t)}),B.length&&B.each(function(){t(this).bind("load",function(){N(this)&&t(this.contentDocument||this.contentWindow.document).bind(z[0],function(t){i(t),o(t)}).bind(z[1],function(t){r(t)}).bind(z[2],function(t){a(t)})})})},P=function(){function i(t,e,i){l.type=i&&r?"stepped":"stepless",l.scrollAmount=10,W(o,t,e,"mcsLinearOut",i?60:null)}var r,o=t(this),a=o.data(n),s=a.opt,l=a.sequential,u=n+"_"+a.idx,h=t("#mCSB_"+a.idx+"_container"),d=h.parent();h.bind("mousedown."+u,function(){e||r||(r=1,c=!0)}).add(document).bind("mousemove."+u,function(t){if(!e&&r&&(window.getSelection?window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&document.selection.createRange().text)){var n=h.offset(),o=A(t)[0]-n.top+h[0].offsetTop,c=A(t)[1]-n.left+h[0].offsetLeft;o>0&&o<d.height()&&c>0&&c<d.width()?l.step&&i("off",null,"stepped"):("x"!==s.axis&&a.overflowed[0]&&(0>o?i("on",38):o>d.height()&&i("on",40)),"y"!==s.axis&&a.overflowed[1]&&(0>c?i("on",37):c>d.width()&&i("on",39)))}}).bind("mouseup."+u+" dragend."+u,function(){e||(r&&(r=0,i("off",null)),c=!1)})},O=function(){function e(e,n){if(X(i),!F(i,e.target)){var a="auto"!==o.mouseWheel.deltaFactor?parseInt(o.mouseWheel.deltaFactor):l&&e.deltaFactor<100?100:e.deltaFactor||100,u=o.scrollInertia;if("x"===o.axis||"x"===o.mouseWheel.axis)var h="x",d=[Math.round(a*r.scrollRatio.x),parseInt(o.mouseWheel.scrollAmount)],f="auto"!==o.mouseWheel.scrollAmount?d[1]:d[0]>=s.width()?.9*s.width():d[0],p=Math.abs(t("#mCSB_"+r.idx+"_container")[0].offsetLeft),g=c[1][0].offsetLeft,m=c[1].parent().width()-c[1].width(),v="y"===o.mouseWheel.axis?e.deltaY||n:e.deltaX;else var h="y",d=[Math.round(a*r.scrollRatio.y),parseInt(o.mouseWheel.scrollAmount)],f="auto"!==o.mouseWheel.scrollAmount?d[1]:d[0]>=s.height()?.9*s.height():d[0],p=Math.abs(t("#mCSB_"+r.idx+"_container")[0].offsetTop),g=c[0][0].offsetTop,m=c[0].parent().height()-c[0].height(),v=e.deltaY||n;"y"===h&&!r.overflowed[0]||"x"===h&&!r.overflowed[1]||((o.mouseWheel.invert||e.webkitDirectionInvertedFromDevice)&&(v=-v),o.mouseWheel.normalizeDelta&&(v=0>v?-1:1),(v>0&&0!==g||0>v&&g!==m||o.mouseWheel.preventDefault)&&(e.stopImmediatePropagation(),e.preventDefault()),e.deltaFactor<5&&!o.mouseWheel.normalizeDelta&&(f=e.deltaFactor,u=17),q(i,(p-v*f).toString(),{dir:h,dur:u}))}}if(t(this).data(n)){var i=t(this),r=i.data(n),o=r.opt,a=n+"_"+r.idx,s=t("#mCSB_"+r.idx),c=[t("#mCSB_"+r.idx+"_dragger_vertical"),t("#mCSB_"+r.idx+"_dragger_horizontal")],u=t("#mCSB_"+r.idx+"_container").find("iframe");u.length&&u.each(function(){t(this).bind("load",function(){N(this)&&t(this.contentDocument||this.contentWindow.document).bind("mousewheel."+a,function(t,i){e(t,i)})})}),s.bind("mousewheel."+a,function(t,i){e(t,i)})}},I=new Object,N=function(e){var i=!1,n=!1,r=null;if(void 0===e?n="#empty":void 0!==t(e).attr("id")&&(n=t(e).attr("id")),!1!==n&&void 0!==I[n])return I[n];if(e){try{var o=e.contentDocument||e.contentWindow.document;r=o.body.innerHTML}catch(t){}i=null!==r}else{try{var o=top.document;r=o.body.innerHTML}catch(t){}i=null!==r}return!1!==n&&(I[n]=i),i},R=function(t){var e=this.find("iframe");if(e.length){var i=t?"auto":"none";e.css("pointer-events",i)}},F=function(e,i){var r=i.nodeName.toLowerCase(),o=e.data(n).opt.mouseWheel.disableOver;return t.inArray(r,o)>-1&&!(t.inArray(r,["select","textarea"])>-1&&!t(i).is(":focus"))},B=function(){var e,i=t(this),r=i.data(n),o=n+"_"+r.idx,a=t("#mCSB_"+r.idx+"_container"),s=a.parent(),l=t(".mCSB_"+r.idx+"_scrollbar ."+u[12]);l.bind("mousedown."+o+" touchstart."+o+" pointerdown."+o+" MSPointerDown."+o,function(i){c=!0,t(i.target).hasClass("mCSB_dragger")||(e=1)}).bind("touchend."+o+" pointerup."+o+" MSPointerUp."+o,function(){c=!1}).bind("click."+o,function(n){if(e&&(e=0,t(n.target).hasClass(u[12])||t(n.target).hasClass("mCSB_draggerRail"))){X(i);var o=t(this),l=o.find(".mCSB_dragger");if(o.parent(".mCSB_scrollTools_horizontal").length>0){if(!r.overflowed[1])return;var c="x",h=n.pageX>l.offset().left?-1:1,d=Math.abs(a[0].offsetLeft)-h*(.9*s.width())}else{if(!r.overflowed[0])return;var c="y",h=n.pageY>l.offset().top?-1:1,d=Math.abs(a[0].offsetTop)-h*(.9*s.height())}q(i,d.toString(),{dir:c,scrollEasing:"mcsEaseInOut"})}})},z=function(){var e=t(this),i=e.data(n),r=i.opt,o=n+"_"+i.idx,a=t("#mCSB_"+i.idx+"_container"),s=a.parent();a.bind("focusin."+o,function(){var i=t(document.activeElement),n=a.find(".mCustomScrollBox").length;i.is(r.advanced.autoScrollOnFocus)&&(X(e),clearTimeout(e[0]._focusTimeout),e[0]._focusTimer=n?17*n:0,e[0]._focusTimeout=setTimeout(function(){var t=[it(i)[0],it(i)[1]],n=[a[0].offsetTop,a[0].offsetLeft],o=[n[0]+t[0]>=0&&n[0]+t[0]<s.height()-i.outerHeight(!1),n[1]+t[1]>=0&&n[0]+t[1]<s.width()-i.outerWidth(!1)],l="yx"!==r.axis||o[0]||o[1]?"all":"none";"x"===r.axis||o[0]||q(e,t[0].toString(),{dir:"y",scrollEasing:"mcsEaseInOut",overwrite:l,dur:0}),"y"===r.axis||o[1]||q(e,t[1].toString(),{dir:"x",scrollEasing:"mcsEaseInOut",overwrite:l,dur:0})},e[0]._focusTimer))})},H=function(){var e=t(this),i=e.data(n),r=n+"_"+i.idx,o=t("#mCSB_"+i.idx+"_container").parent();o.bind("scroll."+r,function(){0===o.scrollTop()&&0===o.scrollLeft()||t(".mCSB_"+i.idx+"_scrollbar").css("visibility","hidden")})},V=function(){var e=t(this),i=e.data(n),r=i.opt,o=i.sequential,a=n+"_"+i.idx,s=".mCSB_"+i.idx+"_scrollbar",l=t(s+">a");l.bind("contextmenu."+a,function(t){t.preventDefault()}).bind("mousedown."+a+" touchstart."+a+" pointerdown."+a+" MSPointerDown."+a+" mouseup."+a+" touchend."+a+" pointerup."+a+" MSPointerUp."+a+" mouseout."+a+" pointerout."+a+" MSPointerOut."+a+" click."+a,function(n){function a(t,i){o.scrollAmount=r.scrollButtons.scrollAmount,W(e,t,i)}if(n.preventDefault(),J(n)){var s=t(this).attr("class");switch(o.type=r.scrollButtons.scrollType,n.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===o.type)return;c=!0,i.tweenRunning=!1,a("on",s);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===o.type)return;c=!1,o.dir&&a("off",s);break;case"click":if("stepped"!==o.type||i.tweenRunning)return;a("on",s)}}})},j=function(){function e(e){function n(t,e){a.type=o.keyboard.scrollType,a.scrollAmount=o.keyboard.scrollAmount,"stepped"===a.type&&r.tweenRunning||W(i,t,e)}switch(e.type){case"blur":r.tweenRunning&&a.dir&&n("off",null);break;case"keydown":case"keyup":var s=e.keyCode?e.keyCode:e.which,l="on";if("x"!==o.axis&&(38===s||40===s)||"y"!==o.axis&&(37===s||39===s)){if((38===s||40===s)&&!r.overflowed[0]||(37===s||39===s)&&!r.overflowed[1])return;"keyup"===e.type&&(l="off"),t(document.activeElement).is(h)||(e.preventDefault(),e.stopImmediatePropagation(),n(l,s))}else if(33===s||34===s){if((r.overflowed[0]||r.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type){X(i);var d=34===s?-1:1;if("x"===o.axis||"yx"===o.axis&&r.overflowed[1]&&!r.overflowed[0])var f="x",p=Math.abs(c[0].offsetLeft)-d*(.9*u.width());else var f="y",p=Math.abs(c[0].offsetTop)-d*(.9*u.height());q(i,p.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}else if((35===s||36===s)&&!t(document.activeElement).is(h)&&((r.overflowed[0]||r.overflowed[1])&&(e.preventDefault(),e.stopImmediatePropagation()),"keyup"===e.type)){if("x"===o.axis||"yx"===o.axis&&r.overflowed[1]&&!r.overflowed[0])var f="x",p=35===s?Math.abs(u.width()-c.outerWidth(!1)):0;else var f="y",p=35===s?Math.abs(u.height()-c.outerHeight(!1)):0;q(i,p.toString(),{dir:f,scrollEasing:"mcsEaseInOut"})}}}var i=t(this),r=i.data(n),o=r.opt,a=r.sequential,s=n+"_"+r.idx,l=t("#mCSB_"+r.idx),c=t("#mCSB_"+r.idx+"_container"),u=c.parent(),h="input,textarea,select,datalist,keygen,[contenteditable='true']",d=c.find("iframe"),f=["blur."+s+" keydown."+s+" keyup."+s];d.length&&d.each(function(){t(this).bind("load",function(){N(this)&&t(this.contentDocument||this.contentWindow.document).bind(f[0],function(t){e(t)})})}),l.attr("tabindex","0").bind(f[0],function(t){e(t)})},W=function(e,i,r,o,a){function s(t){c.snapAmount&&(h.scrollAmount=c.snapAmount instanceof Array?"x"===h.dir[0]?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount);var i="stepped"!==h.type,n=a||(t?i?p/1.5:g:1e3/60),r=t?i?7.5:40:2.5,u=[Math.abs(d[0].offsetTop),Math.abs(d[0].offsetLeft)],f=[l.scrollRatio.y>10?10:l.scrollRatio.y,l.scrollRatio.x>10?10:l.scrollRatio.x],m="x"===h.dir[0]?u[1]+h.dir[1]*(f[1]*r):u[0]+h.dir[1]*(f[0]*r),v="x"===h.dir[0]?u[1]+h.dir[1]*parseInt(h.scrollAmount):u[0]+h.dir[1]*parseInt(h.scrollAmount),y="auto"!==h.scrollAmount?v:m,b=o||(t?i?"mcsLinearOut":"mcsEaseInOut":"mcsLinear"),L=!!t;return t&&17>n&&(y="x"===h.dir[0]?u[1]:u[0]),q(e,y.toString(),{dir:h.dir[0],scrollEasing:b,dur:n,onComplete:L}),t?void(h.dir=!1):(clearTimeout(h.step),void(h.step=setTimeout(function(){s()},n)))}var l=e.data(n),c=l.opt,h=l.sequential,d=t("#mCSB_"+l.idx+"_container"),f="stepped"===h.type,p=c.scrollInertia<26?26:c.scrollInertia,g=c.scrollInertia<1?17:c.scrollInertia;switch(i){case"on":if(h.dir=[r===u[16]||r===u[15]||39===r||37===r?"x":"y",r===u[13]||r===u[15]||38===r||37===r?-1:1],X(e),et(r)&&"stepped"===h.type)return;s(f);break;case"off":clearTimeout(h.step),Q(h,"step"),X(e),(f||l.tweenRunning&&h.dir)&&s(!0)}},U=function(e){var i=t(this).data(n).opt,r=[];return"function"==typeof e&&(e=e()),e instanceof Array?r=e.length>1?[e[0],e[1]]:"x"===i.axis?[null,e[0]]:[e[0],null]:(r[0]=e.y?e.y:e.x||"x"===i.axis?null:e,r[1]=e.x?e.x:e.y||"y"===i.axis?null:e),"function"==typeof r[0]&&(r[0]=r[0]()),"function"==typeof r[1]&&(r[1]=r[1]()),r},Y=function(e,i){if(null!=e&&void 0!==e){var r=t(this),o=r.data(n),a=o.opt,s=t("#mCSB_"+o.idx+"_container"),l=s.parent(),c=typeof e;i||(i="x"===a.axis?"x":"y");var u="x"===i?s.outerWidth(!1)-l.width():s.outerHeight(!1)-l.height(),d="x"===i?s[0].offsetLeft:s[0].offsetTop,f="x"===i?"left":"top";switch(c){case"function":return e();case"object":var p=e.jquery?e:t(e);if(!p.length)return;return"x"===i?it(p)[1]:it(p)[0];case"string":case"number":if(et(e))return Math.abs(e);if(-1!==e.indexOf("%"))return Math.abs(u*parseInt(e)/100);if(-1!==e.indexOf("-="))return Math.abs(d-parseInt(e.split("-=")[1]));if(-1!==e.indexOf("+=")){var g=d+parseInt(e.split("+=")[1]);return g>=0?0:Math.abs(g)}if(-1!==e.indexOf("px")&&et(e.split("px")[0]))return Math.abs(e.split("px")[0]);if("top"===e||"left"===e)return 0;if("bottom"===e)return Math.abs(l.height()-s.outerHeight(!1));if("right"===e)return Math.abs(l.width()-s.outerWidth(!1));if("first"===e||"last"===e){var p=s.find(":"+e);return"x"===i?it(p)[1]:it(p)[0]}return t(e).length?"x"===i?it(t(e))[1]:it(t(e))[0]:(s.css(f,e),void h.update.call(null,r[0]))}}},G=function(e){function i(t){clearTimeout(s[0].autoUpdate),h.update.call(null,r[0],t)}var r=t(this),o=r.data(n),a=o.opt,s=t("#mCSB_"+o.idx+"_container");return e?(clearTimeout(s[0].autoUpdate),void Q(s[0],"autoUpdate")):void function e(){return clearTimeout(s[0].autoUpdate),0===r.parents("html").length?void(r=null):void(s[0].autoUpdate=setTimeout(function(){return a.advanced.updateOnSelectorChange&&(o.poll.change.n=function(){!0===a.advanced.updateOnSelectorChange&&(a.advanced.updateOnSelectorChange="*");var t=0,e=s.find(a.advanced.updateOnSelectorChange);return a.advanced.updateOnSelectorChange&&e.length>0&&e.each(function(){t+=this.offsetHeight+this.offsetWidth}),t}(),o.poll.change.n!==o.poll.change.o)?(o.poll.change.o=o.poll.change.n,void i(3)):a.advanced.updateOnContentResize&&(o.poll.size.n=r[0].scrollHeight+r[0].scrollWidth+s[0].offsetHeight+r[0].offsetHeight+r[0].offsetWidth,o.poll.size.n!==o.poll.size.o)?(o.poll.size.o=o.poll.size.n,void i(1)):!a.advanced.updateOnImageLoad||"auto"===a.advanced.updateOnImageLoad&&"y"===a.axis||(o.poll.img.n=s.find("img").length,o.poll.img.n===o.poll.img.o)?void((a.advanced.updateOnSelectorChange||a.advanced.updateOnContentResize||a.advanced.updateOnImageLoad)&&e()):(o.poll.img.o=o.poll.img.n,void s.find("img").each(function(){!function(e){if(t(e).hasClass(u[2]))i();else{var n=new Image;n.onload=function(t,e){return function(){return e.apply(t,arguments)}}(n,function(){this.onload=null,t(e).addClass(u[2]),i(2)}),n.src=e.src}}(this)}))},a.advanced.autoUpdateTimeout))}()},X=function(e){var i=e.data(n),r=t("#mCSB_"+i.idx+"_container,#mCSB_"+i.idx+"_container_wrapper,#mCSB_"+i.idx+"_dragger_vertical,#mCSB_"+i.idx+"_dragger_horizontal");r.each(function(){K.call(this)})},q=function(e,i,r){function o(t){return s&&l.callbacks[t]&&"function"==typeof l.callbacks[t]}function a(){var t=[d[0].offsetTop,d[0].offsetLeft],i=[v[0].offsetTop,v[0].offsetLeft],n=[d.outerHeight(!1),d.outerWidth(!1)],o=[h.height(),h.width()];e[0].mcs={content:d,top:t[0],left:t[1],draggerTop:i[0],draggerLeft:i[1],topPct:Math.round(100*Math.abs(t[0])/(Math.abs(n[0])-o[0])),leftPct:Math.round(100*Math.abs(t[1])/(Math.abs(n[1])-o[1])),direction:r.dir}}var s=e.data(n),l=s.opt,c={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:l.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},r=t.extend(c,r),u=[r.dur,r.drag?0:r.dur],h=t("#mCSB_"+s.idx),d=t("#mCSB_"+s.idx+"_container"),f=d.parent(),p=l.callbacks.onTotalScrollOffset?U.call(e,l.callbacks.onTotalScrollOffset):[0,0],g=l.callbacks.onTotalScrollBackOffset?U.call(e,l.callbacks.onTotalScrollBackOffset):[0,0];if(s.trigger=r.trigger,0===f.scrollTop()&&0===f.scrollLeft()||(t(".mCSB_"+s.idx+"_scrollbar").css("visibility","visible"),f.scrollTop(0).scrollLeft(0)),"_resetY"!==i||s.contentReset.y||(o("onOverflowYNone")&&l.callbacks.onOverflowYNone.call(e[0]),s.contentReset.y=1),"_resetX"!==i||s.contentReset.x||(o("onOverflowXNone")&&l.callbacks.onOverflowXNone.call(e[0]),s.contentReset.x=1),"_resetY"!==i&&"_resetX"!==i){if(!s.contentReset.y&&e[0].mcs||!s.overflowed[0]||(o("onOverflowY")&&l.callbacks.onOverflowY.call(e[0]),s.contentReset.x=null),!s.contentReset.x&&e[0].mcs||!s.overflowed[1]||(o("onOverflowX")&&l.callbacks.onOverflowX.call(e[0]),s.contentReset.x=null),l.snapAmount){var m=l.snapAmount instanceof Array?"x"===r.dir?l.snapAmount[1]:l.snapAmount[0]:l.snapAmount;i=function(t,e,i){return Math.round(t/e)*e-i}(i,m,l.snapOffset)}switch(r.dir){case"x":var v=t("#mCSB_"+s.idx+"_dragger_horizontal"),y="left",b=d[0].offsetLeft,L=[h.width()-d.outerWidth(!1),v.parent().width()-v.width()],x=[i,0===i?0:i/s.scrollRatio.x],w=p[1],S=g[1],C=w>0?w/s.scrollRatio.x:0,k=S>0?S/s.scrollRatio.x:0;break;case"y":var v=t("#mCSB_"+s.idx+"_dragger_vertical"),y="top",b=d[0].offsetTop,L=[h.height()-d.outerHeight(!1),v.parent().height()-v.height()],x=[i,0===i?0:i/s.scrollRatio.y],w=p[0],S=g[0],C=w>0?w/s.scrollRatio.y:0,k=S>0?S/s.scrollRatio.y:0}x[1]<0||0===x[0]&&0===x[1]?x=[0,0]:x[1]>=L[1]?x=[L[0],L[1]]:x[0]=-x[0],e[0].mcs||(a(),o("onInit")&&l.callbacks.onInit.call(e[0])),clearTimeout(d[0].onCompleteTimeout),$(v[0],y,Math.round(x[1]),u[1],r.scrollEasing),!s.tweenRunning&&(0===b&&x[0]>=0||b===L[0]&&x[0]<=L[0])||$(d[0],y,Math.round(x[0]),u[0],r.scrollEasing,r.overwrite,{onStart:function(){r.callbacks&&r.onStart&&!s.tweenRunning&&(o("onScrollStart")&&(a(),l.callbacks.onScrollStart.call(e[0])),s.tweenRunning=!0,_(v),s.cbOffsets=[l.callbacks.alwaysTriggerOffsets||b>=L[0]+w,l.callbacks.alwaysTriggerOffsets||-S>=b])},onUpdate:function(){r.callbacks&&r.onUpdate&&o("whileScrolling")&&(a(),l.callbacks.whileScrolling.call(e[0]))},onComplete:function(){if(r.callbacks&&r.onComplete){"yx"===l.axis&&clearTimeout(d[0].onCompleteTimeout);var t=d[0].idleTimer||0;d[0].onCompleteTimeout=setTimeout(function(){o("onScroll")&&(a(),l.callbacks.onScroll.call(e[0])),o("onTotalScroll")&&x[1]>=L[1]-C&&s.cbOffsets[0]&&(a(),l.callbacks.onTotalScroll.call(e[0])),o("onTotalScrollBack")&&x[1]<=k&&s.cbOffsets[1]&&(a(),l.callbacks.onTotalScrollBack.call(e[0])),s.tweenRunning=!1,d[0].idleTimer=0,_(v,"hide")},t)}}})}},$=function(t,e,i,n,r,o,a){function s(){y.stop||(g||h.call(),g=Z()-p,l(),g>=y.time&&(y.time=g>y.time?g+c-(g-y.time):g+c-1,y.time<g+1&&(y.time=g+1)),y.time<n?y.id=u(s):f.call())}function l(){n>0?(y.currVal=function(t,e,i,n,r){switch(r){case"linear":case"mcsLinear":return i*t/n+e;case"mcsLinearOut":return t/=n,t--,i*Math.sqrt(1-t*t)+e;case"easeInOutSmooth":return 1>(t/=n/2)?i/2*t*t+e:-i/2*(--t*(t-2)-1)+e;case"easeInOutStrong":return 1>(t/=n/2)?i/2*Math.pow(2,10*(t-1))+e:(t--,i/2*(2-Math.pow(2,-10*t))+e);case"easeInOut":case"mcsEaseInOut":return 1>(t/=n/2)?i/2*t*t*t+e:i/2*((t-=2)*t*t+2)+e;case"easeOutSmooth":return t/=n,-i*(--t*t*t*t-1)+e;case"easeOutStrong":return i*(1-Math.pow(2,-10*t/n))+e;case"easeOut":case"mcsEaseOut":default:var o=(t/=n)*t,a=o*t;return e+i*(.499999999999997*a*o+-2.5*o*o+5.5*a+-6.5*o+4*t)}}(y.time,m,b,n,r),v[e]=Math.round(y.currVal)+"px"):v[e]=i+"px",d.call()}t._mTween||(t._mTween={top:{},left:{}});var c,u,a=a||{},h=a.onStart||function(){},d=a.onUpdate||function(){},f=a.onComplete||function(){},p=Z(),g=0,m=t.offsetTop,v=t.style,y=t._mTween[e];"left"===e&&(m=t.offsetLeft);var b=i-m;y.stop=0,"none"!==o&&null!=y.id&&(window.requestAnimationFrame?window.cancelAnimationFrame(y.id):clearTimeout(y.id),y.id=null),c=1e3/60,y.time=g+c,u=window.requestAnimationFrame?window.requestAnimationFrame:function(t){return l(),setTimeout(t,.01)},y.id=u(s)},Z=function(){return window.performance&&window.performance.now?window.performance.now():window.performance&&window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},K=function(){var t=this;t._mTween||(t._mTween={top:{},left:{}});for(var e=["top","left"],i=0;i<e.length;i++){var n=e[i];t._mTween[n].id&&(window.requestAnimationFrame?window.cancelAnimationFrame(t._mTween[n].id):clearTimeout(t._mTween[n].id),t._mTween[n].id=null,t._mTween[n].stop=1)}},Q=function(t,e){try{delete t[e]}catch(i){t[e]=null}},J=function(t){return!(t.which&&1!==t.which)},tt=function(t){var e=t.originalEvent.pointerType;return!(e&&"touch"!==e&&2!==e)},et=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},it=function(t){var e=t.parents(".mCSB_container");return[t.offset().top-e.offset().top,t.offset().left-e.offset().left]},nt=function(){var t=function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden"in document)return t[e]+"Hidden";return null}();return!!t&&document[t]};t.fn[i]=function(e){return h[e]?h[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist"):h.init.apply(this,arguments)},t[i]=function(e){return h[e]?h[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist"):h.init.apply(this,arguments)},t[i].defaults=o,window[i]=!0,t(window).bind("load",function(){t(r)[i](),t.extend(t.expr[":"],{mcsInView:t.expr[":"].mcsInView||function(e){var i,n,r=t(e),o=r.parents(".mCSB_container");if(o.length)return i=o.parent(),(n=[o[0].offsetTop,o[0].offsetLeft])[0]+it(r)[0]>=0&&n[0]+it(r)[0]<i.height()-r.outerHeight(!1)&&n[1]+it(r)[1]>=0&&n[1]+it(r)[1]<i.width()-r.outerWidth(!1)},mcsInSight:t.expr[":"].mcsInSight||function(e,i,n){var r,o,a,s,l=t(e),c=l.parents(".mCSB_container"),u="exact"===n[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(c.length)return r=[l.outerHeight(!1),l.outerWidth(!1)],a=[c[0].offsetTop+it(l)[0],c[0].offsetLeft+it(l)[1]],o=[c.parent()[0].offsetHeight,c.parent()[0].offsetWidth],a[0]-o[0]*(s=[r[0]<o[0]?u[0]:u[1],r[1]<o[1]?u[0]:u[1]])[0][0]<0&&a[0]+r[0]-o[0]*s[0][1]>=0&&a[1]-o[1]*s[1][0]<0&&a[1]+r[1]-o[1]*s[1][1]>=0},mcsOverflow:t.expr[":"].mcsOverflow||function(e){var i=t(e).data(n);if(i)return i.overflowed[0]||i.overflowed[1]}})})}()}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.AutoNumeric=e():t.AutoNumeric=e()}(window,function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="./src/main.js")}({"./src/AutoNumeric.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),s=h(i("./src/AutoNumericHelper.js")),l=h(i("./src/AutoNumericEnum.js")),c=h(i("./src/maths/Evaluator.js")),u=h(i("./src/maths/Parser.js"));function h(t){return t&&t.__esModule?t:{default:t}}function d(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}var f=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var o=t._setArgumentsValues(e,n,r),a=o.domElement,l=o.initialValue,c=o.userOptions;if(this.domElement=a,this.defaultRawValue="",this._setSettings(c,!1),this._checkElement(),this.savedCancellableValue=null,this.historyTable=[],this.historyTableIndex=-1,this.onGoingRedo=!1,this.parentForm=this._getParentForm(),!this.runOnce&&this.settings.formatOnPageLoad)this._formatDefaultValueOnPageLoad(l);else{var u=void 0;if(s.default.isNull(l))switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.min:u=this.settings.minimumValue;break;case t.options.emptyInputBehavior.max:u=this.settings.maximumValue;break;case t.options.emptyInputBehavior.zero:u="0";break;case t.options.emptyInputBehavior.focus:case t.options.emptyInputBehavior.press:case t.options.emptyInputBehavior.always:case t.options.emptyInputBehavior.null:u="";break;default:u=this.settings.emptyInputBehavior}else u=l;this._setElementAndRawValue(u)}this.runOnce=!0,this.hasEventListeners=!1,(this.isInputElement||this.isContentEditable)&&(this.settings.noEventListeners||this._createEventListeners(),this._setWritePermissions(!0)),this._saveInitialValues(l),this.sessionStorageAvailable=this.constructor._storageTest(),this.storageNamePrefix="AUTO_",this._setPersistentStorageName(),this.isFocused=!1,this.isWheelEvent=!1,this.isDropEvent=!1,this.isEditing=!1,this.rawValueOnFocus=void 0,this.internalModification=!1,this.attributeToWatch=this._getAttributeToWatch(),this.getterSetter=Object.getOwnPropertyDescriptor(this.domElement.__proto__,this.attributeToWatch),this._addWatcher(),this.settings.createLocalList&&this._createLocalList(),this.constructor._addToGlobalList(this),this.global={set:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i.autoNumericLocalList.forEach(function(i){i.set(t,e)})},setUnformatted:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i.autoNumericLocalList.forEach(function(i){i.setUnformatted(t,e)})},get:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.get())}),i._executeCallback(e,t),e},getNumericString:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.getNumericString())}),i._executeCallback(e,t),e},getFormatted:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.getFormatted())}),i._executeCallback(e,t),e},getNumber:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.getNumber())}),i._executeCallback(e,t),e},getLocalized:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=[];return i.autoNumericLocalList.forEach(function(t){e.push(t.getLocalized())}),i._executeCallback(e,t),e},reformat:function(){i.autoNumericLocalList.forEach(function(t){t.reformat()})},unformat:function(){i.autoNumericLocalList.forEach(function(t){t.unformat()})},unformatLocalized:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;i.autoNumericLocalList.forEach(function(e){e.unformatLocalized(t)})},update:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];i.autoNumericLocalList.forEach(function(t){t.update.apply(t,e)})},isPristine:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!0;return i.autoNumericLocalList.forEach(function(i){e&&!i.isPristine(t)&&(e=!1)}),e},clear:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];i.autoNumericLocalList.forEach(function(e){e.clear(t)})},remove:function(){i.autoNumericLocalList.forEach(function(t){t.remove()})},wipe:function(){i.autoNumericLocalList.forEach(function(t){t.wipe()})},nuke:function(){i.autoNumericLocalList.forEach(function(t){t.nuke()})},has:function(e){return e instanceof t?i.autoNumericLocalList.has(e.node()):i.autoNumericLocalList.has(e)},addObject:function(e){var n=void 0,r=void 0;e instanceof t?(n=e.node(),r=e):(n=e,r=t.getAutoNumericElement(n)),i._hasLocalList()||i._createLocalList();var o=r._getLocalList();0===o.size&&(r._createLocalList(),o=r._getLocalList());var a=void 0;o instanceof Map?a=s.default.mergeMaps(i._getLocalList(),o):(i._addToLocalList(n,r),a=i._getLocalList()),a.forEach(function(t){t._setLocalList(a)})},removeObject:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=void 0,o=void 0;e instanceof t?(r=e.node(),o=e):(r=e,o=t.getAutoNumericElement(r));var a=i.autoNumericLocalList;i.autoNumericLocalList.delete(r),a.forEach(function(t){t._setLocalList(i.autoNumericLocalList)}),n||r!==i.node()?o._createLocalList():o._setLocalList(new Map)},empty:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];i.autoNumericLocalList.forEach(function(e){t?e._createLocalList():e._setLocalList(new Map)})},elements:function(){var t=[];return i.autoNumericLocalList.forEach(function(e){t.push(e.node())}),t},getList:function(){return i.autoNumericLocalList},size:function(){return i.autoNumericLocalList.size}},this.options={reset:function(){return i.settings={rawValue:i.defaultRawValue},i.update(t.defaultSettings),i},allowDecimalPadding:function(t){return i.update({allowDecimalPadding:t}),i},alwaysAllowDecimalCharacter:function(t){return i.update({alwaysAllowDecimalCharacter:t}),i},caretPositionOnFocus:function(t){return i.settings.caretPositionOnFocus=t,i},createLocalList:function(t){return i.settings.createLocalList=t,i.settings.createLocalList?i._hasLocalList()||i._createLocalList():i._deleteLocalList(),i},currencySymbol:function(t){return i.update({currencySymbol:t}),i},currencySymbolPlacement:function(t){return i.update({currencySymbolPlacement:t}),i},decimalCharacter:function(t){return i.update({decimalCharacter:t}),i},decimalCharacterAlternative:function(t){return i.settings.decimalCharacterAlternative=t,i},decimalPlaces:function(t){return s.default.warning("Using `options.decimalPlaces()` instead of calling the specific `options.decimalPlacesRawValue()`, `options.decimalPlacesShownOnFocus()` and `options.decimalPlacesShownOnBlur()` methods will reset those options.\nPlease call the specific methods if you do not want to reset those.",i.settings.showWarnings),i.update({decimalPlaces:t}),i},decimalPlacesRawValue:function(t){return i.update({decimalPlacesRawValue:t}),i},decimalPlacesShownOnBlur:function(t){return i.update({decimalPlacesShownOnBlur:t}),i},decimalPlacesShownOnFocus:function(t){return i.update({decimalPlacesShownOnFocus:t}),i},defaultValueOverride:function(t){return i.update({defaultValueOverride:t}),i},digitalGroupSpacing:function(t){return i.update({digitalGroupSpacing:t}),i},digitGroupSeparator:function(t){return i.update({digitGroupSeparator:t}),i},divisorWhenUnfocused:function(t){return i.update({divisorWhenUnfocused:t}),i},emptyInputBehavior:function(e){return null===i.rawValue&&e!==t.options.emptyInputBehavior.null&&(s.default.warning("You are trying to modify the `emptyInputBehavior` option to something different than `'null'` ("+e+"), but the element raw value is currently set to `null`. This would result in an invalid `rawValue`. In order to fix that, the element value has been changed to the empty string `''`.",i.settings.showWarnings),i.rawValue=""),i.update({emptyInputBehavior:e}),i},eventBubbles:function(t){return i.settings.eventBubbles=t,i},eventIsCancelable:function(t){return i.settings.eventIsCancelable=t,i},failOnUnknownOption:function(t){return i.settings.failOnUnknownOption=t,i},formatOnPageLoad:function(t){return i.settings.formatOnPageLoad=t,i},formulaMode:function(t){return i.settings.formulaMode=t,i},historySize:function(t){return i.settings.historySize=t,i},isCancellable:function(t){return i.settings.isCancellable=t,i},leadingZero:function(t){return i.update({leadingZero:t}),i},maximumValue:function(t){return i.update({maximumValue:t}),i},minimumValue:function(t){return i.update({minimumValue:t}),i},modifyValueOnWheel:function(t){return i.settings.modifyValueOnWheel=t,i},negativeBracketsTypeOnBlur:function(t){return i.update({negativeBracketsTypeOnBlur:t}),i},negativePositiveSignPlacement:function(t){return i.update({negativePositiveSignPlacement:t}),i},negativeSignCharacter:function(t){return i.update({negativeSignCharacter:t}),i},noEventListeners:function(e){return e===t.options.noEventListeners.noEvents&&i.settings.noEventListeners===t.options.noEventListeners.addEvents&&i._removeEventListeners(),i.update({noEventListeners:e}),i},onInvalidPaste:function(t){return i.settings.onInvalidPaste=t,i},outputFormat:function(t){return i.settings.outputFormat=t,i},overrideMinMaxLimits:function(t){return i.update({overrideMinMaxLimits:t}),i},positiveSignCharacter:function(t){return i.update({positiveSignCharacter:t}),i},rawValueDivisor:function(t){return i.update({rawValueDivisor:t}),i},readOnly:function(t){return i.settings.readOnly=t,i._setWritePermissions(),i},roundingMethod:function(t){return i.update({roundingMethod:t}),i},saveValueToSessionStorage:function(t){return i.update({saveValueToSessionStorage:t}),i},symbolWhenUnfocused:function(t){return i.update({symbolWhenUnfocused:t}),i},selectNumberOnly:function(t){return i.settings.selectNumberOnly=t,i},selectOnFocus:function(t){return i.settings.selectOnFocus=t,i},serializeSpaces:function(t){return i.settings.serializeSpaces=t,i},showOnlyNumbersOnFocus:function(t){return i.update({showOnlyNumbersOnFocus:t}),i},showPositiveSign:function(t){return i.update({showPositiveSign:t}),i},showWarnings:function(t){return i.settings.showWarnings=t,i},styleRules:function(t){return i.update({styleRules:t}),i},suffixText:function(t){return i.update({suffixText:t}),i},unformatOnHover:function(t){return i.settings.unformatOnHover=t,i},unformatOnSubmit:function(t){return i.settings.unformatOnSubmit=t,i},valuesToStrings:function(t){return i.update({valuesToStrings:t}),i},watchExternalChanges:function(t){return i.update({watchExternalChanges:t}),i},wheelOn:function(t){return i.settings.wheelOn=t,i},wheelStep:function(t){return i.settings.wheelStep=t,i}},this._triggerEvent(t.events.initialized,this.domElement,{newValue:s.default.getElementValue(this.domElement),newRawValue:this.rawValue,error:null,aNElement:this})}return a(t,[{key:"_saveInitialValues",value:function(t){this.initialValueHtmlAttribute=s.default.scientificToDecimal(this.domElement.getAttribute("value")),s.default.isNull(this.initialValueHtmlAttribute)&&(this.initialValueHtmlAttribute=""),this.initialValue=t,s.default.isNull(this.initialValue)&&(this.initialValue="")}},{key:"_createEventListeners",value:function(){var e=this;this.formulaMode=!1,this._onFocusInFunc=function(t){e._onFocusIn(t)},this._onFocusInAndMouseEnterFunc=function(t){e._onFocusInAndMouseEnter(t)},this._onFocusFunc=function(){e._onFocus()},this._onKeydownFunc=function(t){e._onKeydown(t)},this._onKeypressFunc=function(t){e._onKeypress(t)},this._onKeyupFunc=function(t){e._onKeyup(t)},this._onFocusOutAndMouseLeaveFunc=function(t){e._onFocusOutAndMouseLeave(t)},this._onPasteFunc=function(t){e._onPaste(t)},this._onWheelFunc=function(t){e._onWheel(t)},this._onDropFunc=function(t){e._onDrop(t)},this._onKeydownGlobalFunc=function(t){e._onKeydownGlobal(t)},this._onKeyupGlobalFunc=function(t){e._onKeyupGlobal(t)},this.domElement.addEventListener("focusin",this._onFocusInFunc,!1),this.domElement.addEventListener("focus",this._onFocusInAndMouseEnterFunc,!1),this.domElement.addEventListener("focus",this._onFocusFunc,!1),this.domElement.addEventListener("mouseenter",this._onFocusInAndMouseEnterFunc,!1),this.domElement.addEventListener("keydown",this._onKeydownFunc,!1),this.domElement.addEventListener("keypress",this._onKeypressFunc,!1),this.domElement.addEventListener("keyup",this._onKeyupFunc,!1),this.domElement.addEventListener("blur",this._onFocusOutAndMouseLeaveFunc,!1),this.domElement.addEventListener("mouseleave",this._onFocusOutAndMouseLeaveFunc,!1),this.domElement.addEventListener("paste",this._onPasteFunc,!1),this.domElement.addEventListener("wheel",this._onWheelFunc,!1),this.domElement.addEventListener("drop",this._onDropFunc,!1),this._setupFormListener(),this.hasEventListeners=!0,t._doesGlobalListExists()||(document.addEventListener("keydown",this._onKeydownGlobalFunc,!1),document.addEventListener("keyup",this._onKeyupGlobalFunc,!1))}},{key:"_removeEventListeners",value:function(){this.domElement.removeEventListener("focusin",this._onFocusInFunc,!1),this.domElement.removeEventListener("focus",this._onFocusInAndMouseEnterFunc,!1),this.domElement.removeEventListener("focus",this._onFocusFunc,!1),this.domElement.removeEventListener("mouseenter",this._onFocusInAndMouseEnterFunc,!1),this.domElement.removeEventListener("blur",this._onFocusOutAndMouseLeaveFunc,!1),this.domElement.removeEventListener("mouseleave",this._onFocusOutAndMouseLeaveFunc,!1),this.domElement.removeEventListener("keydown",this._onKeydownFunc,!1),this.domElement.removeEventListener("keypress",this._onKeypressFunc,!1),this.domElement.removeEventListener("keyup",this._onKeyupFunc,!1),this.domElement.removeEventListener("paste",this._onPasteFunc,!1),this.domElement.removeEventListener("wheel",this._onWheelFunc,!1),this.domElement.removeEventListener("drop",this._onDropFunc,!1),this._removeFormListener(),this.hasEventListeners=!1,document.removeEventListener("keydown",this._onKeydownGlobalFunc,!1),document.removeEventListener("keyup",this._onKeyupGlobalFunc,!1)}},{key:"_updateEventListeners",value:function(){this.settings.noEventListeners||this.hasEventListeners||this._createEventListeners(),this.settings.noEventListeners&&this.hasEventListeners&&this._removeEventListeners()}},{key:"_setupFormListener",value:function(){var t=this;s.default.isNull(this.parentForm)||(this._onFormSubmitFunc=function(){t._onFormSubmit()},this._onFormResetFunc=function(){t._onFormReset()},this._hasParentFormCounter()?this._incrementParentFormCounter():(this._initializeFormCounterToOne(),this.parentForm.addEventListener("submit",this._onFormSubmitFunc,!1),this.parentForm.addEventListener("reset",this._onFormResetFunc,!1),this._storeFormHandlerFunction()))}},{key:"_removeFormListener",value:function(){if(!s.default.isNull(this.parentForm)){var t=this._getParentFormCounter();1===t?(this.parentForm.removeEventListener("submit",this._getFormHandlerFunction().submitFn,!1),this.parentForm.removeEventListener("reset",this._getFormHandlerFunction().resetFn,!1),this._removeFormDataSetInfo()):t>1?this._decrementParentFormCounter():s.default.throwError("The AutoNumeric object count on the form is incoherent.")}}},{key:"_hasParentFormCounter",value:function(){return"anCount"in this.parentForm.dataset}},{key:"_getParentFormCounter",value:function(){return Number(this.parentForm.dataset.anCount)}},{key:"_initializeFormCounterToOne",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._getFormElement(t).dataset.anCount=1}},{key:"_incrementParentFormCounter",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this._getFormElement(t).dataset.anCount++}},{key:"_decrementParentFormCounter",value:function(){this.parentForm.dataset.anCount--}},{key:"_hasFormHandlerFunction",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return"anFormHandler"in this._getFormElement(t).dataset}},{key:"_getFormElement",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return s.default.isNull(t)?this.parentForm:t}},{key:"_storeFormHandlerFunction",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.constructor._doesFormHandlerListExists()||this.constructor._createFormHandlerList();var e=s.default.randomString();this._getFormElement(t).dataset.anFormHandler=e,window.aNFormHandlerMap.set(e,{submitFn:this._onFormSubmitFunc,resetFn:this._onFormResetFunc})}},{key:"_getFormHandlerKey",value:function(){this._hasFormHandlerFunction()||s.default.throwError("Unable to retrieve the form handler name");var t=this.parentForm.dataset.anFormHandler;return""===t&&s.default.throwError("The form handler name is invalid"),t}},{key:"_getFormHandlerFunction",value:function(){var t=this._getFormHandlerKey();return window.aNFormHandlerMap.get(t)}},{key:"_removeFormDataSetInfo",value:function(){this._decrementParentFormCounter(),window.aNFormHandlerMap.delete(this._getFormHandlerKey()),this.parentForm.removeAttribute("data-an-count"),this.parentForm.removeAttribute("data-an-form-handler")}},{key:"_setWritePermissions",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.domElement.readOnly||this.settings.readOnly?this._setReadOnly():this._setReadWrite()}},{key:"_setReadOnly",value:function(){this.isInputElement?this.domElement.readOnly=!0:this.domElement.setAttribute("contenteditable",!1)}},{key:"_setReadWrite",value:function(){this.isInputElement?this.domElement.readOnly=!1:this.domElement.setAttribute("contenteditable",!0)}},{key:"_addWatcher",value:function(){var t=this;if(!s.default.isUndefined(this.getterSetter)){var e=this.getterSetter,i=e.set,n=e.get;Object.defineProperty(this.domElement,this.attributeToWatch,{configurable:!0,get:function(){return n.call(t.domElement)},set:function(e){i.call(t.domElement,e),t.settings.watchExternalChanges&&!t.internalModification&&t.set(e)}})}}},{key:"_removeWatcher",value:function(){var t=this;if(!s.default.isUndefined(this.getterSetter)){var e=this.getterSetter,i=e.set,n=e.get;Object.defineProperty(this.domElement,this.attributeToWatch,{configurable:!0,get:function(){return n.call(t.domElement)},set:function(e){i.call(t.domElement,e)}})}}},{key:"_getAttributeToWatch",value:function(){var t=void 0;if(this.isInputElement)t="value";else{var e=this.domElement.nodeType;e===Node.ELEMENT_NODE||e===Node.DOCUMENT_NODE||e===Node.DOCUMENT_FRAGMENT_NODE?t="textContent":e===Node.TEXT_NODE&&(t="nodeValue")}return t}},{key:"_historyTableAdd",value:function(){var t=0===this.historyTable.length;if(t||this.rawValue!==this._historyTableCurrentValueUsed()){var e=!0;if(!t){var i=this.historyTableIndex+1;i<this.historyTable.length&&this.rawValue===this.historyTable[i].value?e=!1:s.default.arrayTrim(this.historyTable,this.historyTableIndex+1)}if(this.historyTableIndex++,e){var n=s.default.getElementSelection(this.domElement);this.selectionStart=n.start,this.selectionEnd=n.end,this.historyTable.push({value:this.rawValue,start:this.selectionStart+1,end:this.selectionEnd+1}),this.historyTable.length>1&&(this.historyTable[this.historyTableIndex-1].start=this.selectionStart,this.historyTable[this.historyTableIndex-1].end=this.selectionEnd)}this.historyTable.length>this.settings.historySize&&this._historyTableForget()}}},{key:"_historyTableUndoOrRedo",value:function(){var t=void 0;if(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?(t=this.historyTableIndex>0)&&this.historyTableIndex--:(t=this.historyTableIndex+1<this.historyTable.length)&&this.historyTableIndex++,t){var e=this.historyTable[this.historyTableIndex];this.set(e.value,null,!1),s.default.setElementSelection(this.domElement,e.start,e.end)}}},{key:"_historyTableUndo",value:function(){this._historyTableUndoOrRedo(!0)}},{key:"_historyTableRedo",value:function(){this._historyTableUndoOrRedo(!1)}},{key:"_historyTableForget",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=[],i=0;i<t;i++)e.push(this.historyTable.shift()),this.historyTableIndex--,this.historyTableIndex<0&&(this.historyTableIndex=0);return 1===e.length?e[0]:e}},{key:"_historyTableCurrentValueUsed",value:function(){var t=this.historyTableIndex;t<0&&(t=0);return s.default.isUndefinedOrNullOrEmpty(this.historyTable[t])?"":this.historyTable[t].value}},{key:"_parseStyleRules",value:function(){var t=this;s.default.isUndefinedOrNullOrEmpty(this.settings.styleRules)||""===this.rawValue||(s.default.isUndefinedOrNullOrEmpty(this.settings.styleRules.positive)||(this.rawValue>=0?this._addCSSClass(this.settings.styleRules.positive):this._removeCSSClass(this.settings.styleRules.positive)),s.default.isUndefinedOrNullOrEmpty(this.settings.styleRules.negative)||(this.rawValue<0?this._addCSSClass(this.settings.styleRules.negative):this._removeCSSClass(this.settings.styleRules.negative)),s.default.isUndefinedOrNullOrEmpty(this.settings.styleRules.ranges)||0===this.settings.styleRules.ranges.length||this.settings.styleRules.ranges.forEach(function(e){t.rawValue>=e.min&&t.rawValue<e.max?t._addCSSClass(e.class):t._removeCSSClass(e.class)}),s.default.isUndefinedOrNullOrEmpty(this.settings.styleRules.userDefined)||0===this.settings.styleRules.userDefined.length||this.settings.styleRules.userDefined.forEach(function(e){if(s.default.isFunction(e.callback))if(s.default.isString(e.classes))e.callback(t.rawValue)?t._addCSSClass(e.classes):t._removeCSSClass(e.classes);else if(s.default.isArray(e.classes))if(2===e.classes.length)e.callback(t.rawValue)?(t._addCSSClass(e.classes[0]),t._removeCSSClass(e.classes[1])):(t._removeCSSClass(e.classes[0]),t._addCSSClass(e.classes[1]));else if(e.classes.length>2){var i=e.callback(t.rawValue);s.default.isArray(i)?e.classes.forEach(function(e,n){s.default.isInArray(n,i)?t._addCSSClass(e):t._removeCSSClass(e)}):s.default.isInt(i)?e.classes.forEach(function(e,n){n===i?t._addCSSClass(e):t._removeCSSClass(e)}):s.default.isNull(i)?e.classes.forEach(function(e){t._removeCSSClass(e)}):s.default.throwError("The callback result is not an array nor a valid array index, "+(void 0===i?"undefined":o(i))+" given.")}else s.default.throwError("The classes attribute is not valid for the `styleRules` option.");else s.default.isUndefinedOrNullOrEmpty(e.classes)?e.callback(t):s.default.throwError("The callback/classes structure is not valid for the `styleRules` option.");else s.default.warning("The given `styleRules` callback is not a function, "+("undefined"==typeof callback?"undefined":o(callback))+" given.",t.settings.showWarnings)}))}},{key:"_addCSSClass",value:function(t){this.domElement.classList.add(t)}},{key:"_removeCSSClass",value:function(t){this.domElement.classList.remove(t)}},{key:"update",value:function(){for(var t=this,e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];Array.isArray(i)&&Array.isArray(i[0])&&(i=i[0]);var o=s.default.cloneObject(this.settings),a=this.rawValue,l={};s.default.isUndefinedOrNullOrEmpty(i)||0===i.length?l=null:i.length>=1&&i.forEach(function(e){t.constructor._isPreDefinedOptionValid(e)&&(e=t.constructor._getOptionObject(e)),r(l,e)});try{this._setSettings(l,!0),this._setWritePermissions(),this._updateEventListeners(),this.set(a)}catch(t){return this._setSettings(o,!0),s.default.throwError("Unable to update the settings, those are invalid: ["+t+"]"),this}return this}},{key:"getSettings",value:function(){return this.settings}},{key:"set",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(s.default.isUndefined(e))return s.default.warning("You are trying to set an 'undefined' value ; an error could have occurred.",this.settings.showWarnings),this;if(s.default.isNull(i)||this._setSettings(i,!0),null===e&&this.settings.emptyInputBehavior!==t.options.emptyInputBehavior.null)return s.default.warning("You are trying to set the `null` value while the `emptyInputBehavior` option is set to "+this.settings.emptyInputBehavior+". If you want to be able to set the `null` value, you need to change the 'emptyInputBehavior' option to `'null'`.",this.settings.showWarnings),this;var o=void 0;if(null===e)return this._setElementAndRawValue(null,null,r),this._saveValueToPersistentStorage(),this;if(o=this.constructor._toNumericValue(e,this.settings),isNaN(Number(o)))return s.default.warning("The value you are trying to set results in `NaN`. The element value is set to the empty string instead.",this.settings.showWarnings),this.setValue("",r),this;if(""===o)switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.zero:o=0;break;case t.options.emptyInputBehavior.min:o=this.settings.minimumValue;break;case t.options.emptyInputBehavior.max:o=this.settings.maximumValue;break;default:s.default.isNumber(this.settings.emptyInputBehavior)&&(o=Number(this.settings.emptyInputBehavior))}if(""!==o){var a=this.constructor._checkIfInRangeWithOverrideOption(o,this.settings),l=n(a,2),c=l[0],u=l[1];if(c&&u&&this.settings.valuesToStrings&&this._checkValuesToStrings(o))return this._setElementAndRawValue(this.settings.valuesToStrings[o],o,r),this._saveValueToPersistentStorage(),this;if(s.default.isZeroOrHasNoValue(o)&&(o="0"),c&&u){var h=this.constructor._roundRawValue(o,this.settings);return h=this._trimLeadingAndTrailingZeros(h.replace(this.settings.decimalCharacter,".")),o=this._getRawValueToFormat(o),this.isFocused?o=this.constructor._roundFormattedValueShownOnFocus(o,this.settings):(this.settings.divisorWhenUnfocused&&(o=(o/=this.settings.divisorWhenUnfocused).toString()),o=this.constructor._roundFormattedValueShownOnBlur(o,this.settings)),o=this.constructor._modifyNegativeSignAndDecimalCharacterForFormattedValue(o,this.settings),o=this.constructor._addGroupSeparators(o,this.settings,this.isFocused,this.rawValue,h),!this.isFocused&&this.settings.symbolWhenUnfocused&&(o=""+o+this.settings.symbolWhenUnfocused),(this.settings.decimalPlacesShownOnFocus||this.settings.divisorWhenUnfocused)&&this._saveValueToPersistentStorage(),this._setElementAndRawValue(o,h,r),this}return c||this._triggerEvent(t.events.minRangeExceeded,this.domElement),u||this._triggerEvent(t.events.maxRangeExceeded,this.domElement),s.default.throwError("The value ["+o+"] being set falls outside of the minimumValue ["+this.settings.minimumValue+"] and maximumValue ["+this.settings.maximumValue+"] range set for this element"),this._removeValueFromPersistentStorage(),this.setValue("",r),this}var d=void 0;return d=this.settings.emptyInputBehavior===t.options.emptyInputBehavior.always?this.settings.currencySymbol:"",this._setElementAndRawValue(d,"",r),this}},{key:"setUnformatted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null===t||s.default.isUndefined(t))return this;s.default.isNull(e)||this._setSettings(e,!0);var i=this.constructor._removeBrackets(t,this.settings),r=this.constructor._stripAllNonNumberCharacters(i,this.settings,!0,this.isFocused);s.default.isNumber(r)||s.default.throwError("The value is not a valid one, it's not a numeric string nor a recognized currency.");var o=this.constructor._checkIfInRangeWithOverrideOption(r,this.settings),a=n(o,2),l=a[0],c=a[1];return l&&c?this.setValue(t):s.default.throwError("The value is out of the range limits ["+this.settings.minimumValue+", "+this.settings.maximumValue+"]."),this}},{key:"setValue",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._setElementAndRawValue(t,e),this}},{key:"_setRawValue",value:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.rawValue!==e){var n=this.rawValue;this.rawValue=e,!s.default.isNull(this.settings.rawValueDivisor)&&0!==this.settings.rawValueDivisor&&""!==e&&null!==e&&this._isUserManuallyEditingTheValue()&&(this.rawValue/=this.settings.rawValueDivisor),this._triggerEvent(t.events.rawValueModified,this.domElement,{oldRawValue:n,newRawValue:this.rawValue,isPristine:this.isPristine(!0),error:null,aNElement:this}),this._parseStyleRules(),i&&this._historyTableAdd()}}},{key:"_setElementValue",value:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=s.default.getElementValue(this.domElement);return e!==n&&(this.internalModification=!0,s.default.setElementValue(this.domElement,e),this.internalModification=!1,i&&this._triggerEvent(t.events.formatted,this.domElement,{oldValue:n,newValue:e,oldRawValue:this.rawValue,newRawValue:this.rawValue,isPristine:this.isPristine(!1),error:null,aNElement:this})),this}},{key:"_setElementAndRawValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return s.default.isNull(e)?e=t:s.default.isBoolean(e)&&(i=e,e=t),this._setElementValue(t),this._setRawValue(e,i),this}},{key:"_getRawValueToFormat",value:function(t){return s.default.isNull(this.settings.rawValueDivisor)||0===this.settings.rawValueDivisor||""===t||null===t?t:t*this.settings.rawValueDivisor}},{key:"_checkValuesToStrings",value:function(t){return this.constructor._checkValuesToStringsArray(t,this.valuesToStringsKeys)}},{key:"_isUserManuallyEditingTheValue",value:function(){return this.isFocused&&this.isEditing||this.isDropEvent}},{key:"_executeCallback",value:function(t,e){!s.default.isNull(e)&&s.default.isFunction(e)&&e(t,this)}},{key:"_triggerEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;s.default.triggerEvent(t,e,i,this.settings.eventBubbles,this.settings.eventIsCancelable)}},{key:"get",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.getNumericString(t)}},{key:"getNumericString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=s.default.isNull(this.rawValue)?null:s.default.trimPaddedZerosFromDecimalPlaces(this.rawValue),this._executeCallback(e,t),e}},{key:"getFormatted",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;"value"in this.domElement||"textContent"in this.domElement||s.default.throwError("Unable to get the formatted string from the element.");var e=s.default.getElementValue(this.domElement);return this._executeCallback(e,t),e}},{key:"getNumber",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=null===this.rawValue?null:this.constructor._toLocale(this.getNumericString(),"number",this.settings),this._executeCallback(e,t),e}},{key:"getLocalized",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;s.default.isFunction(e)&&s.default.isNull(i)&&(i=e,e=null);var n=void 0;""!==(n=s.default.isEmptyString(this.rawValue)?"":""+Number(this.rawValue))&&0===Number(n)&&this.settings.leadingZero!==t.options.leadingZero.keep&&(n="0");var r=void 0;r=s.default.isNull(e)?this.settings.outputFormat:e;var o=this.constructor._toLocale(n,r,this.settings);return this._executeCallback(o,i),o}},{key:"reformat",value:function(){return this.set(this.rawValue),this}},{key:"unformat",value:function(){return this._setElementValue(this.getNumericString()),this}},{key:"unformatLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._setElementValue(this.getLocalized(t)),this}},{key:"isPristine",value:function(){return!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.initialValue===this.getNumericString():this.initialValueHtmlAttribute===this.getFormatted()}},{key:"select",value:function(){return this.settings.selectNumberOnly?this.selectNumber():this._defaultSelectAll(),this}},{key:"_defaultSelectAll",value:function(){s.default.setElementSelection(this.domElement,0,s.default.getElementValue(this.domElement).length)}},{key:"selectNumber",value:function(){var e=s.default.getElementValue(this.domElement),i=e.length,n=this.settings.currencySymbol.length,r=this.settings.currencySymbolPlacement,o=s.default.isNegative(e,this.settings.negativeSignCharacter)?1:0,a=this.settings.suffixText.length,l=void 0;l=r===t.options.currencySymbolPlacement.suffix?0:this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.left&&1===o&&n>0?n+1:n;var c=void 0;if(r===t.options.currencySymbolPlacement.prefix)c=i-a;else switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.left:c=i-(a+n);break;case t.options.negativePositiveSignPlacement.right:c=n>0?i-(n+o+a):i-(n+a);break;default:c=i-(n+a)}return s.default.setElementSelection(this.domElement,l,c),this}},{key:"selectInteger",value:function(){var e=0,i=this.rawValue>=0;this.settings.currencySymbolPlacement!==t.options.currencySymbolPlacement.prefix&&(this.settings.currencySymbolPlacement!==t.options.currencySymbolPlacement.suffix||this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.prefix&&this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none)||(this.settings.showPositiveSign&&i||!i&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.left)&&(e+=1),this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&(e+=this.settings.currencySymbol.length);var n=s.default.getElementValue(this.domElement),r=n.indexOf(this.settings.decimalCharacter);return-1===r&&(r=this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix?n.length-this.settings.currencySymbol.length:n.length,i||this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.suffix&&this.settings.currencySymbolPlacement!==t.options.currencySymbolPlacement.suffix||(r-=1),r-=this.settings.suffixText.length),s.default.setElementSelection(this.domElement,e,r),this}},{key:"selectDecimal",value:function(){var t=s.default.getElementValue(this.domElement).indexOf(this.settings.decimalCharacter),e=void 0;if(-1===t)t=0,e=0;else{t+=1;var i=void 0;i=this.isFocused?this.settings.decimalPlacesShownOnFocus:this.settings.decimalPlacesShownOnBlur,e=t+Number(i)}return s.default.setElementSelection(this.domElement,t,e),this}},{key:"node",value:function(){return this.domElement}},{key:"parent",value:function(){return this.domElement.parentNode}},{key:"detach",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=s.default.isNull(t)?this.domElement:t.node(),this._removeFromLocalList(e),this}},{key:"attach",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this._addToLocalList(t.node()),e&&t.update(this.settings),this}},{key:"formatOther",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._formatOrUnformatOther(!0,t,e)}},{key:"unformatOther",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._formatOrUnformatOther(!1,t,e)}},{key:"_formatOrUnformatOther",value:function(e,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=void 0;r=s.default.isNull(n)?this.settings:this._cloneAndMergeSettings(n);var o=void 0;if(s.default.isElement(i)){var a=s.default.getElementValue(i);return o=e?t.format(a,r):t.unformat(a,r),s.default.setElementValue(i,o),null}return o=e?t.format(i,r):t.unformat(i,r)}},{key:"init",value:function(e){var i=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!1,o=[];if(s.default.isString(e)?o=[].concat(d(document.querySelectorAll(e))):s.default.isElement(e)?(o.push(e),r=!0):s.default.isArray(e)?o=e:s.default.throwError("The given parameters to the 'init' function are invalid."),0===o.length)return s.default.warning("No valid DOM elements were given hence no AutoNumeric object were instantiated.",!0),[];var a=this._getLocalList(),l=[];return o.forEach(function(e){var r=i.settings.createLocalList;n&&(i.settings.createLocalList=!1);var o=new t(e,s.default.getElementValue(e),i.settings);n&&(o._setLocalList(a),i._addToLocalList(e,o),i.settings.createLocalList=r),l.push(o)}),r?l[0]:l}},{key:"clear",value:function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]){var e={emptyInputBehavior:t.options.emptyInputBehavior.focus};this.set("",e)}else this.set("");return this}},{key:"remove",value:function(){this._removeValueFromPersistentStorage(),this._removeEventListeners(),this._removeWatcher(),this._removeFromLocalList(this.domElement),this.constructor._removeFromGlobalList(this)}},{key:"wipe",value:function(){this._setElementValue("",!1),this.remove()}},{key:"nuke",value:function(){this.remove(),this.domElement.parentNode.removeChild(this.domElement)}},{key:"form",value:function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]||s.default.isUndefinedOrNullOrEmpty(this.parentForm)){var t=this._getParentForm();if(!s.default.isNull(t)&&t!==this.parentForm){var e=this._getFormAutoNumericChildren(this.parentForm);this.parentForm.dataset.anCount=e.length,this._hasFormHandlerFunction(t)?this._incrementParentFormCounter(t):(this._storeFormHandlerFunction(t),this._initializeFormCounterToOne(t))}this.parentForm=t}return this.parentForm}},{key:"_getFormAutoNumericChildren",value:function(t){var e=this;return[].concat(d(t.querySelectorAll("input"))).filter(function(t){return e.constructor.isManagedByAutoNumeric(t)})}},{key:"_getParentForm",value:function(){if("body"===this.domElement.tagName.toLowerCase())return null;var t=this.domElement,e=void 0;do{if(t=t.parentNode,s.default.isNull(t))return null;if("body"===(e=t.tagName?t.tagName.toLowerCase():""))break}while("form"!==e);return"form"===e?t:null}},{key:"formNumericString",value:function(){return this.constructor._serializeNumericString(this.form(),this.settings.serializeSpaces)}},{key:"formFormatted",value:function(){return this.constructor._serializeFormatted(this.form(),this.settings.serializeSpaces)}},{key:"formLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=s.default.isNull(t)?this.settings.outputFormat:t,this.constructor._serializeLocalized(this.form(),this.settings.serializeSpaces,e)}},{key:"formArrayNumericString",value:function(){return this.constructor._serializeNumericStringArray(this.form(),this.settings.serializeSpaces)}},{key:"formArrayFormatted",value:function(){return this.constructor._serializeFormattedArray(this.form(),this.settings.serializeSpaces)}},{key:"formArrayLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=void 0;return e=s.default.isNull(t)?this.settings.outputFormat:t,this.constructor._serializeLocalizedArray(this.form(),this.settings.serializeSpaces,e)}},{key:"formJsonNumericString",value:function(){return JSON.stringify(this.formArrayNumericString())}},{key:"formJsonFormatted",value:function(){return JSON.stringify(this.formArrayFormatted())}},{key:"formJsonLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return JSON.stringify(this.formArrayLocalized(t))}},{key:"formUnformat",value:function(){return this.constructor._getChildANInputElement(this.form()).forEach(function(e){t.getAutoNumericElement(e).unformat()}),this}},{key:"formUnformatLocalized",value:function(){return this.constructor._getChildANInputElement(this.form()).forEach(function(e){t.getAutoNumericElement(e).unformatLocalized()}),this}},{key:"formReformat",value:function(){return this.constructor._getChildANInputElement(this.form()).forEach(function(e){t.getAutoNumericElement(e).reformat()}),this}},{key:"formSubmitNumericString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return s.default.isNull(t)?(this.formUnformat(),this.form().submit(),this.formReformat()):s.default.isFunction(t)?t(this.formNumericString()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitFormatted",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return s.default.isNull(t)?this.form().submit():s.default.isFunction(t)?t(this.formFormatted()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitLocalized",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return s.default.isNull(e)?(this.formUnformatLocalized(),this.form().submit(),this.formReformat()):s.default.isFunction(e)?e(this.formLocalized(t)):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitArrayNumericString",value:function(t){return s.default.isFunction(t)?t(this.formArrayNumericString()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitArrayFormatted",value:function(t){return s.default.isFunction(t)?t(this.formArrayFormatted()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitArrayLocalized",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return s.default.isFunction(t)?t(this.formArrayLocalized(e)):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitJsonNumericString",value:function(t){return s.default.isFunction(t)?t(this.formJsonNumericString()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitJsonFormatted",value:function(t){return s.default.isFunction(t)?t(this.formJsonFormatted()):s.default.throwError("The given callback is not a function."),this}},{key:"formSubmitJsonLocalized",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return s.default.isFunction(t)?t(this.formJsonLocalized(e)):s.default.throwError("The given callback is not a function."),this}},{key:"_createLocalList",value:function(){this.autoNumericLocalList=new Map,this._addToLocalList(this.domElement)}},{key:"_deleteLocalList",value:function(){delete this.autoNumericLocalList}},{key:"_setLocalList",value:function(t){this.autoNumericLocalList=t}},{key:"_getLocalList",value:function(){return this.autoNumericLocalList}},{key:"_hasLocalList",value:function(){return this.autoNumericLocalList instanceof Map&&0!==this.autoNumericLocalList.size}},{key:"_addToLocalList",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;s.default.isNull(e)&&(e=this),s.default.isUndefined(this.autoNumericLocalList)?s.default.throwError("The local list provided does not exists when trying to add an element. ["+this.autoNumericLocalList+"] given."):this.autoNumericLocalList.set(t,e)}},{key:"_removeFromLocalList",value:function(t){s.default.isUndefined(this.autoNumericLocalList)?this.settings.createLocalList&&s.default.throwError("The local list provided does not exists when trying to remove an element. ["+this.autoNumericLocalList+"] given."):this.autoNumericLocalList.delete(t)}},{key:"_mergeSettings",value:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];r.apply(void 0,[this.settings].concat(e))}},{key:"_cloneAndMergeSettings",value:function(){for(var t={},e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];return r.apply(void 0,[t,this.settings].concat(i)),t}},{key:"_updatePredefinedOptions",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return s.default.isNull(e)?this.update(t):(this._mergeSettings(t,e),this.update(this.settings)),this}},{key:"french",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().French,e),this}},{key:"northAmerican",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().NorthAmerican,e),this}},{key:"british",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().British,e),this}},{key:"swiss",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Swiss,e),this}},{key:"japanese",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Japanese,e),this}},{key:"spanish",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Spanish,e),this}},{key:"chinese",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Chinese,e),this}},{key:"brazilian",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this._updatePredefinedOptions(t.getPredefinedOptions().Brazilian,e),this}},{key:"_runCallbacksFoundInTheSettingsObject",value:function(){for(var t in this.settings)if(this.settings.hasOwnProperty(t)){var e=this.settings[t];if("function"==typeof e)this.settings[t]=e(this,t);else{var i=this.domElement.getAttribute(t);i=s.default.camelize(i),"function"==typeof this.settings[i]&&(this.settings[t]=i(this,t))}}}},{key:"_setTrailingNegativeSignInfo",value:function(){this.isTrailingNegative=this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.suffix||this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix&&(this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.left||this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.right)}},{key:"_modifyNegativeSignAndDecimalCharacterForRawValue",value:function(t){return"."!==this.settings.decimalCharacter&&(t=t.replace(this.settings.decimalCharacter,".")),"-"!==this.settings.negativeSignCharacter&&this.settings.isNegativeSignAllowed&&(t=t.replace(this.settings.negativeSignCharacter,"-")),t.match(/\d/)||(t+="0"),t}},{key:"_initialCaretPosition",value:function(e){s.default.isNull(this.settings.caretPositionOnFocus)&&this.settings.selectOnFocus===t.options.selectOnFocus.doNotSelect&&s.default.throwError("`_initialCaretPosition()` should never be called when the `caretPositionOnFocus` option is `null`.");var i=this.rawValue<0,n=s.default.isZeroOrHasNoValue(e),r=e.length,o=0,a=0,l=!1,c=0;this.settings.caretPositionOnFocus!==t.options.caretPositionOnFocus.start&&(o=(e=(e=(e=e.replace(this.settings.negativeSignCharacter,"")).replace(this.settings.positiveSignCharacter,"")).replace(this.settings.currencySymbol,"")).length,l=s.default.contains(e,this.settings.decimalCharacter),this.settings.caretPositionOnFocus!==t.options.caretPositionOnFocus.decimalLeft&&this.settings.caretPositionOnFocus!==t.options.caretPositionOnFocus.decimalRight||(l?(a=e.indexOf(this.settings.decimalCharacter),c=this.settings.decimalCharacter.length):(a=o,c=0)));var u="";i?u=this.settings.negativeSignCharacter:this.settings.showPositiveSign&&!n&&(u=this.settings.positiveSignCharacter);var h=u.length,d=this.settings.currencySymbol.length,f=void 0;if(this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix){if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.start)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.right:f=h+d;break;case t.options.negativePositiveSignPlacement.suffix:f=d}else f=d;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.end)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.right:f=r;break;case t.options.negativePositiveSignPlacement.suffix:f=d+o}else f=r;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.decimalLeft)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.right:f=h+d+a;break;case t.options.negativePositiveSignPlacement.suffix:f=d+a}else f=d+a;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.decimalRight)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.right:f=h+d+a+c;break;case t.options.negativePositiveSignPlacement.suffix:f=d+a+c}else f=d+a+c}else if(this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.start)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:case t.options.negativePositiveSignPlacement.left:f=0;break;case t.options.negativePositiveSignPlacement.prefix:f=h}else f=0;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.end)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:case t.options.negativePositiveSignPlacement.left:f=o;break;case t.options.negativePositiveSignPlacement.prefix:f=h+o}else f=o;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.decimalLeft)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:case t.options.negativePositiveSignPlacement.left:f=a;break;case t.options.negativePositiveSignPlacement.prefix:f=h+a}else f=a;else if(this.settings.caretPositionOnFocus===t.options.caretPositionOnFocus.decimalRight)if(this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(i||!i&&this.settings.showPositiveSign&&!n))switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:case t.options.negativePositiveSignPlacement.left:f=a+c;break;case t.options.negativePositiveSignPlacement.prefix:f=h+a+c}else f=a+c;return f}},{key:"_keepAnOriginalSettingsCopy",value:function(){this.originalDigitGroupSeparator=this.settings.digitGroupSeparator,this.originalCurrencySymbol=this.settings.currencySymbol,this.originalSuffixText=this.settings.suffixText}},{key:"_trimLeadingAndTrailingZeros",value:function(e){if(""===e||null===e)return e;if(this.settings.leadingZero!==t.options.leadingZero.keep){if(0===Number(e))return"0";e=e.replace(/^(-)?0+(?=\d)/g,"$1")}return s.default.contains(e,".")&&(e=e.replace(/(\.[0-9]*?)0+$/,"$1")),e=e.replace(/\.$/,"")}},{key:"_setPersistentStorageName",value:function(){this.settings.saveValueToSessionStorage&&(""===this.domElement.name||s.default.isUndefined(this.domElement.name)?this.rawValueStorageName=""+this.storageNamePrefix+this.domElement.id:this.rawValueStorageName=""+this.storageNamePrefix+decodeURIComponent(this.domElement.name))}},{key:"_saveValueToPersistentStorage",value:function(){this.settings.saveValueToSessionStorage&&(this.sessionStorageAvailable?sessionStorage.setItem(this.rawValueStorageName,this.rawValue):document.cookie=this.rawValueStorageName+"="+this.rawValue+"; expires= ; path=/")}},{key:"_getValueFromPersistentStorage",value:function(){if(this.settings.saveValueToSessionStorage){return this.sessionStorageAvailable?sessionStorage.getItem(this.rawValueStorageName):this.constructor._readCookie(this.rawValueStorageName)}return s.default.warning("`_getValueFromPersistentStorage()` is called but `settings.saveValueToSessionStorage` is false. There must be an error that needs fixing.",this.settings.showWarnings),null}},{key:"_removeValueFromPersistentStorage",value:function(){if(this.settings.saveValueToSessionStorage)if(this.sessionStorageAvailable)sessionStorage.removeItem(this.rawValueStorageName);else{var t=new Date;t.setTime(t.getTime()-864e5);var e="; expires="+t.toUTCString();document.cookie=this.rawValueStorageName+"='' ;"+e+"; path=/"}}},{key:"_getDefaultValue",value:function(t){var e=t.getAttribute("value");return s.default.isNull(e)?"":e}},{key:"_onFocusInAndMouseEnter",value:function(e){if(this.isEditing=!1,!this.formulaMode&&this.settings.unformatOnHover&&"mouseenter"===e.type&&e.altKey)this.constructor._unformatAltHovered(this);else if("focus"===e.type&&(this.isFocused=!0,this.rawValueOnFocus=this.rawValue),"focus"===e.type&&this.settings.unformatOnHover&&this.hoveredWithAlt&&this.constructor._reformatAltHovered(this),"focus"===e.type||"mouseenter"===e.type&&!this.isFocused){var i=null;this.settings.emptyInputBehavior===t.options.emptyInputBehavior.focus&&this.rawValue<0&&null!==this.settings.negativeBracketsTypeOnBlur&&this.settings.isNegativeSignAllowed&&(i=this.constructor._removeBrackets(s.default.getElementValue(this.domElement),this.settings));var n=this._getRawValueToFormat(this.rawValue);if(""!==n){var r=this.constructor._roundFormattedValueShownOnFocusOrBlur(n,this.settings,this.isFocused);if(this.settings.showOnlyNumbersOnFocus===t.options.showOnlyNumbersOnFocus.onlyNumbers)this.settings.digitGroupSeparator="",this.settings.currencySymbol="",this.settings.suffixText="",i=r.replace(".",this.settings.decimalCharacter);else{i=s.default.isNull(r)?"":this.constructor._addGroupSeparators(r.replace(".",this.settings.decimalCharacter),this.settings,this.isFocused,n)}}s.default.isNull(i)?this.valueOnFocus="":this.valueOnFocus=i,this.lastVal=this.valueOnFocus;var o=this.constructor._isElementValueEmptyOrOnlyTheNegativeSign(this.valueOnFocus,this.settings),a=this.constructor._orderValueCurrencySymbolAndSuffixText(this.valueOnFocus,this.settings,!0),l=o&&""!==a&&this.settings.emptyInputBehavior===t.options.emptyInputBehavior.focus;l&&(i=a),s.default.isNull(i)||this._setElementValue(i),l&&a===this.settings.currencySymbol&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix&&s.default.setElementSelection(e.target,0)}}},{key:"_onFocus",value:function(){this.settings.isCancellable&&this._saveCancellableValue()}},{key:"_onFocusIn",value:function(t){this.settings.selectOnFocus?this.select():s.default.isNull(this.settings.caretPositionOnFocus)||s.default.setElementSelection(t.target,this._initialCaretPosition(s.default.getElementValue(this.domElement)))}},{key:"_enterFormulaMode",value:function(){this.settings.formulaMode&&(this.formulaMode=!0,s.default.setElementValue(this.domElement,"="),s.default.setElementSelection(this.domElement,1))}},{key:"_exitFormulaMode",value:function(){var e=s.default.getElementValue(this.domElement);e=e.replace(/^\s*=/,"");var i=void 0;try{var n=new u.default(e,this.settings.decimalCharacter);i=(new c.default).evaluate(n)}catch(i){return this._triggerEvent(t.events.invalidFormula,this.domElement,{formula:e,aNElement:this}),this.reformat(),void(this.formulaMode=!1)}this._triggerEvent(t.events.validFormula,this.domElement,{formula:e,result:i,aNElement:this}),this.set(i),this.formulaMode=!1}},{key:"_acceptNonPrintableKeysInFormulaMode",value:function(){return this.eventKey===l.default.keyName.Backspace||this.eventKey===l.default.keyName.Delete||this.eventKey===l.default.keyName.LeftArrow||this.eventKey===l.default.keyName.RightArrow||this.eventKey===l.default.keyName.Home||this.eventKey===l.default.keyName.End}},{key:"_onKeydown",value:function(e){if(this.formatted=!1,this.isEditing=!0,this.formulaMode||this.isFocused||!this.settings.unformatOnHover||!e.altKey||this.domElement!==s.default.getHoveredElement()){if(this._updateEventKeyInfo(e),this.initialValueOnKeydown=s.default.getElementValue(e.target),this.initialRawValueOnKeydown=this.rawValue,this.keydownEventCounter+=1,1===this.keydownEventCounter&&(this.initialRawValueOnFirstKeydown=this.rawValue),this.formulaMode){if(this.eventKey===l.default.keyName.Esc)return this.formulaMode=!1,void this.reformat();if(this.eventKey===l.default.keyName.Enter)return void this._exitFormulaMode();if(this._acceptNonPrintableKeysInFormulaMode())return}else if(this.eventKey===l.default.keyName.Equal)return void this._enterFormulaMode();if(this.domElement.readOnly||this.settings.readOnly||this.domElement.disabled)this.processed=!0;else{this.eventKey===l.default.keyName.Esc&&(e.preventDefault(),this.settings.isCancellable&&this.rawValue!==this.savedCancellableValue&&(this.set(this.savedCancellableValue),this._triggerEvent(t.events.native.input,e.target)),this.select());var i=s.default.getElementValue(e.target);this.eventKey===l.default.keyName.Enter&&this.rawValue!==this.rawValueOnFocus&&(this._triggerEvent(t.events.native.change,e.target),this.valueOnFocus=i,this.rawValueOnFocus=this.rawValue,this.settings.isCancellable&&this._saveCancellableValue()),this._updateInternalProperties(e),this._processNonPrintableKeysAndShortcuts(e)?this.processed=!0:this.eventKey!==l.default.keyName.Backspace&&this.eventKey!==l.default.keyName.Delete||(this._processCharacterDeletion(),this.processed=!0,this._formatValue(e),(i=s.default.getElementValue(e.target))!==this.lastVal&&this.throwInput&&(this._triggerEvent(t.events.native.input,e.target),e.preventDefault()),this.lastVal=i,this.throwInput=!0)}}else this.constructor._unformatAltHovered(this)}},{key:"_onKeypress",value:function(e){if(this.formulaMode){if(this._acceptNonPrintableKeysInFormulaMode())return;if(this.settings.formulaChars.test(this.eventKey))return;e.preventDefault()}else if(this.eventKey!==l.default.keyName.Insert){var i=this.processed;if(this._updateInternalProperties(e),!this._processNonPrintableKeysAndShortcuts(e))if(i)e.preventDefault();else{if(this._processCharacterInsertion()){this._formatValue(e);var n=s.default.getElementValue(e.target);if(n!==this.lastVal&&this.throwInput)this._triggerEvent(t.events.native.input,e.target),e.preventDefault();else{if((this.eventKey===this.settings.decimalCharacter||this.eventKey===this.settings.decimalCharacterAlternative)&&s.default.getElementSelection(e.target).start===s.default.getElementSelection(e.target).end&&s.default.getElementSelection(e.target).start===n.indexOf(this.settings.decimalCharacter)){var r=s.default.getElementSelection(e.target).start+1;s.default.setElementSelection(e.target,r)}e.preventDefault()}return this.lastVal=s.default.getElementValue(e.target),void(this.throwInput=!0)}e.preventDefault()}}}},{key:"_onKeyup",value:function(e){this.isEditing=!1;var i=this.keydownEventCounter>1;if(this.keydownEventCounter=0,!this.formulaMode)if(this.settings.isCancellable&&this.eventKey===l.default.keyName.Esc)e.preventDefault();else{if(this.eventKey===l.default.keyName.Z||this.eventKey===l.default.keyName.z){if(e.ctrlKey&&e.shiftKey)return e.preventDefault(),this._historyTableRedo(),void(this.onGoingRedo=!0);if(e.ctrlKey&&!e.shiftKey){if(!this.onGoingRedo)return e.preventDefault(),void this._historyTableUndo();this.onGoingRedo=!1}}if(this.onGoingRedo&&(e.ctrlKey||e.shiftKey)&&(this.onGoingRedo=!1),(e.ctrlKey||e.metaKey)&&this.eventKey===l.default.keyName.x){var n=s.default.getElementSelection(this.domElement).start,r=this.constructor._toNumericValue(s.default.getElementValue(e.target),this.settings);this.set(r),this._setCaretPosition(n)}if(this.eventKey===l.default.keyName.Alt&&this.settings.unformatOnHover&&this.hoveredWithAlt)this.constructor._reformatAltHovered(this);else{this._updateInternalProperties(e);var o=this._processNonPrintableKeysAndShortcuts(e);delete this.valuePartsBeforePaste;var a=s.default.getElementValue(e.target);if(!o&&(i||""!==a)&&(a===this.settings.currencySymbol?this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix?s.default.setElementSelection(e.target,0):s.default.setElementSelection(e.target,this.settings.currencySymbol.length):this.eventKey===l.default.keyName.Tab&&s.default.setElementSelection(e.target,0,a.length),(a===this.settings.suffixText||""===this.rawValue&&""!==this.settings.currencySymbol&&""!==this.settings.suffixText)&&s.default.setElementSelection(e.target,0),null!==this.settings.decimalPlacesShownOnFocus&&this._saveValueToPersistentStorage(),this.formatted||this._formatValue(e),this._saveRawValueForAndroid(),(i&&a!==this.initialRawValueOnFirstKeydown||a!==this.initialValueOnKeydown)&&this._triggerEvent(t.events.formatted,e.target,{oldValue:this.initialValueOnKeydown,newValue:a,oldRawValue:this.initialRawValueOnKeydown,newRawValue:this.rawValue,isPristine:this.isPristine(!1),error:null,aNElement:this}),this.historyTable.length>1)){var c=s.default.getElementSelection(this.domElement);this.selectionStart=c.start,this.selectionEnd=c.end,this.historyTable[this.historyTableIndex].start=this.selectionStart,this.historyTable[this.historyTableIndex].end=this.selectionEnd}}}}},{key:"_saveRawValueForAndroid",value:function(){if(this.eventKey===l.default.keyName.AndroidDefault){var t=this.constructor._stripAllNonNumberCharactersExceptCustomDecimalChar(this.getFormatted(),this.settings,!0,this.isFocused);t=this.constructor._convertToNumericString(t,this.settings),this._setRawValue(t)}}},{key:"_onFocusOutAndMouseLeave",value:function(e){if(this.isEditing=!1,"mouseleave"!==e.type||!this.formulaMode)if(this.settings.unformatOnHover&&"mouseleave"===e.type&&this.hoveredWithAlt)this.constructor._reformatAltHovered(this);else if("mouseleave"===e.type&&!this.isFocused||"blur"===e.type){"blur"===e.type&&this.formulaMode&&this._exitFormulaMode(),this._saveValueToPersistentStorage(),this.settings.showOnlyNumbersOnFocus===t.options.showOnlyNumbersOnFocus.onlyNumbers&&(this.settings.digitGroupSeparator=this.originalDigitGroupSeparator,this.settings.currencySymbol=this.originalCurrencySymbol,this.settings.suffixText=this.originalSuffixText);var i=this._getRawValueToFormat(this.rawValue),r=s.default.isNull(i),o=this.constructor._checkIfInRangeWithOverrideOption(i,this.settings),a=n(o,2),l=a[0],c=a[1],u=!1;if(""===i||r||(l||this._triggerEvent(t.events.minRangeExceeded,this.domElement),c||this._triggerEvent(t.events.maxRangeExceeded,this.domElement),this.settings.valuesToStrings&&this._checkValuesToStrings(i)&&(this._setElementValue(this.settings.valuesToStrings[i]),u=!0)),!u){var h=void 0;if(h=r||""===i?i:String(i),""===i||r){if(""===i)switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.zero:this._setRawValue("0"),h=this.constructor._roundValue("0",this.settings,0);break;case t.options.emptyInputBehavior.min:this._setRawValue(this.settings.minimumValue),h=this.constructor._roundFormattedValueShownOnFocusOrBlur(this.settings.minimumValue,this.settings,this.isFocused);break;case t.options.emptyInputBehavior.max:this._setRawValue(this.settings.maximumValue),h=this.constructor._roundFormattedValueShownOnFocusOrBlur(this.settings.maximumValue,this.settings,this.isFocused);break;default:s.default.isNumber(this.settings.emptyInputBehavior)&&(this._setRawValue(this.settings.emptyInputBehavior),h=this.constructor._roundFormattedValueShownOnFocusOrBlur(this.settings.emptyInputBehavior,this.settings,this.isFocused))}}else l&&c&&!this.constructor._isElementValueEmptyOrOnlyTheNegativeSign(i,this.settings)?(h=this._modifyNegativeSignAndDecimalCharacterForRawValue(h),this.settings.divisorWhenUnfocused&&!s.default.isNull(h)&&(h=(h/=this.settings.divisorWhenUnfocused).toString()),h=this.constructor._roundFormattedValueShownOnBlur(h,this.settings),h=this.constructor._modifyNegativeSignAndDecimalCharacterForFormattedValue(h,this.settings)):(l||this._triggerEvent(t.events.minRangeExceeded,this.domElement),c||this._triggerEvent(t.events.maxRangeExceeded,this.domElement));var d=this.constructor._orderValueCurrencySymbolAndSuffixText(h,this.settings,!1);this.constructor._isElementValueEmptyOrOnlyTheNegativeSign(h,this.settings)||r&&this.settings.emptyInputBehavior===t.options.emptyInputBehavior.null||(d=this.constructor._addGroupSeparators(h,this.settings,!1,i)),d===i&&""!==i&&this.settings.allowDecimalPadding!==t.options.allowDecimalPadding.never&&this.settings.allowDecimalPadding!==t.options.allowDecimalPadding.floats||(this.settings.symbolWhenUnfocused&&""!==i&&null!==i&&(d=""+d+this.settings.symbolWhenUnfocused),this._setElementValue(d))}"blur"===e.type&&this._onBlur(e)}}},{key:"_onPaste",value:function(e){if(e.preventDefault(),!(this.settings.readOnly||this.domElement.readOnly||this.domElement.disabled)){var i=void 0;window.clipboardData&&window.clipboardData.getData?i=window.clipboardData.getData("Text"):e.clipboardData&&e.clipboardData.getData?i=e.clipboardData.getData("text/plain"):s.default.throwError("Unable to retrieve the pasted value. Please use a modern browser (ie. Firefox or Chromium).");var n=void 0;n=e.target.tagName?e.target:e.explicitOriginalTarget;var r=s.default.getElementValue(n),o=n.selectionStart||0,a=n.selectionEnd||0,l=a-o;if(l===r.length){var c=this._preparePastedText(i),u=s.default.arabicToLatinNumbers(c,!1,!1,!1);return"."===u||""===u||"."!==u&&!s.default.isNumber(u)?(this.formatted=!0,void(this.settings.onInvalidPaste===t.options.onInvalidPaste.error&&s.default.throwError("The pasted value '"+i+"' is not a valid paste content."))):(this.set(u),this.formatted=!0,void this._triggerEvent(t.events.native.input,n))}var h=s.default.isNegativeStrict(i,this.settings.negativeSignCharacter);h&&(i=i.slice(1,i.length));var d=this._preparePastedText(i),f=void 0;if("."!==(f="."===d?".":s.default.arabicToLatinNumbers(d,!1,!1,!1))&&(!s.default.isNumber(f)||""===f))return this.formatted=!0,void(this.settings.onInvalidPaste===t.options.onInvalidPaste.error&&s.default.throwError("The pasted value '"+i+"' is not a valid paste content."));var p=void 0,g=s.default.isNegativeStrict(this.getNumericString(),this.settings.negativeSignCharacter),m=void 0,v=void 0;h&&!g?(g=!0,m=!0):m=!1;var y=r.slice(0,o),b=r.slice(a,r.length);v=o!==a?this._preparePastedText(y+b):this._preparePastedText(r),g&&(v=s.default.setRawNegativeSign(v)),p=s.default.convertCharacterCountToIndexPosition(s.default.countNumberCharactersOnTheCaretLeftSide(r,o,this.settings.decimalCharacter)),m&&p++;var L=v.slice(0,p),x=v.slice(p,v.length),w=!1;"."===f&&(s.default.contains(L,".")&&(w=!0,L=L.replace(".","")),x=x.replace(".",""));var _=!1;switch(""===L&&"-"===x&&(L="-",x="",_=!0),this.settings.onInvalidPaste){case t.options.onInvalidPaste.truncate:case t.options.onInvalidPaste.replace:for(var S=s.default.parseStr(this.settings.minimumValue),C=s.default.parseStr(this.settings.maximumValue),k=v,T=0,E=L;T<f.length&&(v=(E+=f[T])+x,this.constructor._checkIfInRange(v,S,C));)k=v,T++;if(p+=T,_&&p++,this.settings.onInvalidPaste===t.options.onInvalidPaste.truncate){v=k,w&&p--;break}for(var A=p,M=k.length;T<f.length&&A<M;)if("."!==k[A]){if(v=s.default.replaceCharAt(k,A,f[T]),!this.constructor._checkIfInRange(v,S,C))break;k=v,T++,A++}else A++;p=A,w&&p--,v=k;break;case t.options.onInvalidPaste.error:case t.options.onInvalidPaste.ignore:case t.options.onInvalidPaste.clamp:default:if(v=""+L+f+x,o===a)p=s.default.convertCharacterCountToIndexPosition(s.default.countNumberCharactersOnTheCaretLeftSide(r,o,this.settings.decimalCharacter))+f.length;else if(""===x)p=s.default.convertCharacterCountToIndexPosition(s.default.countNumberCharactersOnTheCaretLeftSide(r,o,this.settings.decimalCharacter))+f.length,_&&p++;else{var D=s.default.convertCharacterCountToIndexPosition(s.default.countNumberCharactersOnTheCaretLeftSide(r,a,this.settings.decimalCharacter)),P=s.default.getElementValue(n).slice(o,a);p=D-l+s.default.countCharInText(this.settings.digitGroupSeparator,P)+f.length}m&&p++,w&&p--}if(s.default.isNumber(v)&&""!==v){var O=!1,I=!1;try{this.set(v),O=!0}catch(e){var N=void 0;switch(this.settings.onInvalidPaste){case t.options.onInvalidPaste.clamp:N=s.default.clampToRangeLimits(v,this.settings);try{this.set(N)}catch(t){s.default.throwError("Fatal error: Unable to set the clamped value '"+N+"'.")}I=!0,O=!0,v=N;break;case t.options.onInvalidPaste.error:case t.options.onInvalidPaste.truncate:case t.options.onInvalidPaste.replace:s.default.throwError("The pasted value '"+i+"' results in a value '"+v+"' that is outside of the minimum ["+this.settings.minimumValue+"] and maximum ["+this.settings.maximumValue+"] value range.");case t.options.onInvalidPaste.ignore:default:return}}var R=s.default.getElementValue(n),F=void 0;if(O)switch(this.settings.onInvalidPaste){case t.options.onInvalidPaste.clamp:if(I){this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix?s.default.setElementSelection(n,R.length-this.settings.currencySymbol.length):s.default.setElementSelection(n,R.length);break}case t.options.onInvalidPaste.error:case t.options.onInvalidPaste.ignore:case t.options.onInvalidPaste.truncate:case t.options.onInvalidPaste.replace:default:F=s.default.findCaretPositionInFormattedNumber(v,p,R,this.settings.decimalCharacter),s.default.setElementSelection(n,F)}O&&r!==R&&this._triggerEvent(t.events.native.input,n)}else this.settings.onInvalidPaste===t.options.onInvalidPaste.error&&s.default.throwError("The pasted value '"+i+"' would result into an invalid content '"+v+"'.")}}},{key:"_onBlur",value:function(e){this.isFocused=!1,this.isEditing=!1,this.rawValue!==this.rawValueOnFocus&&this._triggerEvent(t.events.native.change,e.target),this.rawValueOnFocus=void 0}},{key:"_onWheel",value:function(e){this.formulaMode||this.settings.readOnly||this.domElement.readOnly||this.domElement.disabled||this.settings.modifyValueOnWheel&&(this.settings.wheelOn===t.options.wheelOn.focus?this.isFocused?e.shiftKey||this.wheelAction(e):e.shiftKey&&this.wheelAction(e):this.settings.wheelOn===t.options.wheelOn.hover?e.shiftKey?(e.preventDefault(),window.scrollBy(0,s.default.isNegativeStrict(String(e.deltaY))?-50:50)):this.wheelAction(e):s.default.throwError("Unknown `wheelOn` option."))}},{key:"wheelAction",value:function(e){this.isWheelEvent=!0;var i=e.target.selectionStart||0,n=e.target.selectionEnd||0,r=this.rawValue,o=void 0;if(s.default.isUndefinedOrNullOrEmpty(r)?this.settings.minimumValue>0||this.settings.maximumValue<0?s.default.isWheelUpEvent(e)?o=this.settings.minimumValue:s.default.isWheelDownEvent(e)?o=this.settings.maximumValue:s.default.throwError("The event is not a 'wheel' event."):o=0:o=r,o=+o,s.default.isNumber(this.settings.wheelStep)){var a=+this.settings.wheelStep;s.default.isWheelUpEvent(e)?o+=a:s.default.isWheelDownEvent(e)&&(o-=a)}else s.default.isWheelUpEvent(e)?o=s.default.addAndRoundToNearestAuto(o,this.settings.decimalPlacesRawValue):s.default.isWheelDownEvent(e)&&(o=s.default.subtractAndRoundToNearestAuto(o,this.settings.decimalPlacesRawValue));(o=s.default.clampToRangeLimits(o,this.settings))!==+r&&(this.set(o),this._triggerEvent(t.events.native.input,e.target)),e.preventDefault(),this._setSelection(i,n),this.isWheelEvent=!1}},{key:"_onDrop",value:function(t){if(!this.formulaMode){this.isDropEvent=!0,t.preventDefault();var e=void 0;e=s.default.isIE11()?"text":"text/plain";var i=t.dataTransfer.getData(e),n=this.unformatOther(i);this.set(n),this.isDropEvent=!1}}},{key:"_onFormSubmit",value:function(){var t=this;return this._getFormAutoNumericChildren(this.parentForm).map(function(e){return t.constructor.getAutoNumericElement(e)}).forEach(function(t){return t._unformatOnSubmit()}),!0}},{key:"_onFormReset",value:function(){var t=this;this._getFormAutoNumericChildren(this.parentForm).map(function(e){return t.constructor.getAutoNumericElement(e)}).forEach(function(e){var i=t._getDefaultValue(e.node());setTimeout(function(){return e.set(i)},0)})}},{key:"_unformatOnSubmit",value:function(){this.settings.unformatOnSubmit&&this._setElementValue(this.rawValue)}},{key:"_onKeydownGlobal",value:function(e){if(s.default.character(e)===l.default.keyName.Alt){var i=s.default.getHoveredElement();if(t.isManagedByAutoNumeric(i)){var n=t.getAutoNumericElement(i);!n.formulaMode&&n.settings.unformatOnHover&&this.constructor._unformatAltHovered(n)}}}},{key:"_onKeyupGlobal",value:function(e){if(s.default.character(e)===l.default.keyName.Alt){var i=s.default.getHoveredElement();if(t.isManagedByAutoNumeric(i)){var n=t.getAutoNumericElement(i);if(n.formulaMode||!n.settings.unformatOnHover)return;this.constructor._reformatAltHovered(n)}}}},{key:"_isElementTagSupported",value:function(){return s.default.isElement(this.domElement)||s.default.throwError("The DOM element is not valid, "+this.domElement+" given."),s.default.isInArray(this.domElement.tagName.toLowerCase(),this.allowedTagList)}},{key:"_isInputElement",value:function(){return"input"===this.domElement.tagName.toLowerCase()}},{key:"_isInputTypeSupported",value:function(){return"text"===this.domElement.type||"hidden"===this.domElement.type||"tel"===this.domElement.type||s.default.isUndefinedOrNullOrEmpty(this.domElement.type)}},{key:"_checkElement",value:function(){var t=this.domElement.tagName.toLowerCase();this._isElementTagSupported()||s.default.throwError("The <"+t+"> tag is not supported by autoNumeric"),this._isInputElement()?(this._isInputTypeSupported()||s.default.throwError('The input type "'+this.domElement.type+'" is not supported by autoNumeric'),this.isInputElement=!0):(this.isInputElement=!1,this.isContentEditable=this.domElement.hasAttribute("contenteditable")&&"true"===this.domElement.getAttribute("contenteditable"))}},{key:"_formatDefaultValueOnPageLoad",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=!0,n=void 0;if(s.default.isNull(e)?(n=s.default.getElementValue(this.domElement).trim(),this.domElement.setAttribute("value",n)):n=e,this.isInputElement||this.isContentEditable){var r=this.constructor._toNumericValue(n,this.settings);if(this.domElement.hasAttribute("value")&&""!==this.domElement.getAttribute("value")){if(null!==this.settings.defaultValueOverride&&this.settings.defaultValueOverride.toString()!==n||null===this.settings.defaultValueOverride&&""!==n&&n!==this.domElement.getAttribute("value")||""!==n&&"hidden"===this.domElement.getAttribute("type")&&!s.default.isNumber(r)){if(this.settings.saveValueToSessionStorage&&(null!==this.settings.decimalPlacesShownOnFocus||this.settings.divisorWhenUnfocused)&&this._setRawValue(this._getValueFromPersistentStorage()),!this.settings.saveValueToSessionStorage){var o=this.constructor._removeBrackets(n,this.settings);(this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.suffix||this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.prefix&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)&&""!==this.settings.negativeSignCharacter&&s.default.isNegative(n,this.settings.negativeSignCharacter)?this._setRawValue("-"+this.constructor._stripAllNonNumberCharacters(o,this.settings,!0,this.isFocused)):this._setRawValue(this.constructor._stripAllNonNumberCharacters(o,this.settings,!0,this.isFocused))}i=!1}}else isNaN(Number(r))||1/0===r?s.default.throwError("The value ["+n+"] used in the input is not a valid value autoNumeric can work with."):(this.set(r),i=!1);if(""===n)switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.focus:case t.options.emptyInputBehavior.null:case t.options.emptyInputBehavior.press:break;case t.options.emptyInputBehavior.always:this._setElementValue(this.settings.currencySymbol);break;case t.options.emptyInputBehavior.min:this.set(this.settings.minimumValue);break;case t.options.emptyInputBehavior.max:this.set(this.settings.maximumValue);break;case t.options.emptyInputBehavior.zero:this.set("0");break;default:this.set(this.settings.emptyInputBehavior)}else i&&n===this.domElement.getAttribute("value")&&this.set(n)}else null!==this.settings.defaultValueOverride&&this.settings.defaultValueOverride!==n||this.set(n)}},{key:"_calculateVMinAndVMaxIntegerSizes",value:function(){var t=this.settings.maximumValue.toString().split("."),e=n(t,1)[0],i=this.settings.minimumValue||0===this.settings.minimumValue?this.settings.minimumValue.toString().split("."):[],r=n(i,1)[0];e=e.replace(this.settings.negativeSignCharacter,""),r=r.replace(this.settings.negativeSignCharacter,""),this.settings.mIntPos=Math.max(e.length,1),this.settings.mIntNeg=Math.max(r.length,1)}},{key:"_calculateValuesToStringsKeys",value:function(){this.settings.valuesToStrings?this.valuesToStringsKeys=Object.keys(this.settings.valuesToStrings):this.valuesToStringsKeys=[]}},{key:"_transformOptionsValuesToDefaultTypes",value:function(){for(var t in this.settings)if(this.settings.hasOwnProperty(t)){var e=this.settings[t];"true"!==e&&"false"!==e||(this.settings[t]="true"===e),"number"==typeof e&&(this.settings[t]=e.toString())}}},{key:"_setSettings",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(!e&&s.default.isNull(t)||this.constructor._convertOldOptionsToNewOnes(t),e)?("decimalPlacesRawValue"in t&&(this.settings.originalDecimalPlacesRawValue=t.decimalPlacesRawValue),"decimalPlaces"in t&&(this.settings.originalDecimalPlaces=t.decimalPlaces),this.constructor._calculateDecimalPlacesOnUpdate(t,this.settings),this._mergeSettings(t)):(this.settings={},this._mergeSettings(this.constructor.getDefaultConfig(),this.domElement.dataset,t,{rawValue:this.defaultRawValue}),this.caretFix=!1,this.throwInput=!0,this.allowedTagList=l.default.allowedTagList,this.runOnce=!1,this.hoveredWithAlt=!1);this._transformOptionsValuesToDefaultTypes(),this._runCallbacksFoundInTheSettingsObject(),this.constructor._correctNegativePositiveSignPlacementOption(this.settings),this.constructor._correctCaretPositionOnFocusAndSelectOnFocusOptions(this.settings),this.constructor._setNegativePositiveSignPermissions(this.settings),e||(s.default.isNull(t)||!t.decimalPlaces?this.settings.originalDecimalPlaces=null:this.settings.originalDecimalPlaces=t.decimalPlaces,this.settings.originalDecimalPlacesRawValue=this.settings.decimalPlacesRawValue,this.constructor._calculateDecimalPlacesOnInit(this.settings)),this._calculateVMinAndVMaxIntegerSizes(),this._setTrailingNegativeSignInfo(),this.regex={},this.constructor._cachesUsualRegularExpressions(this.settings,this.regex),this.constructor._setBrackets(this.settings),this._calculateValuesToStringsKeys(),s.default.isEmptyObj(this.settings)&&s.default.throwError("Unable to set the settings, those are invalid ; an empty object was given."),this.constructor.validate(this.settings,!1,t),this._keepAnOriginalSettingsCopy()}},{key:"_preparePastedText",value:function(t){return this.constructor._stripAllNonNumberCharacters(t,this.settings,!0,this.isFocused)}},{key:"_updateInternalProperties",value:function(){this.selection=s.default.getElementSelection(this.domElement),this.processed=!1}},{key:"_updateEventKeyInfo",value:function(t){this.eventKey=s.default.character(t)}},{key:"_saveCancellableValue",value:function(){this.savedCancellableValue=this.rawValue}},{key:"_setSelection",value:function(t,e){t=Math.max(t,0),e=Math.min(e,s.default.getElementValue(this.domElement).length),this.selection={start:t,end:e,length:e-t},s.default.setElementSelection(this.domElement,t,e)}},{key:"_setCaretPosition",value:function(t){this._setSelection(t,t)}},{key:"_getLeftAndRightPartAroundTheSelection",value:function(){var t=s.default.getElementValue(this.domElement);return[t.substring(0,this.selection.start),t.substring(this.selection.end,t.length)]}},{key:"_getUnformattedLeftAndRightPartAroundTheSelection",value:function(){var e=this._getLeftAndRightPartAroundTheSelection(),i=n(e,2),r=i[0],o=i[1];if(""===r&&""===o)return["",""];var a=!0;return this.eventKey!==l.default.keyName.Hyphen&&this.eventKey!==l.default.keyName.Minus||0!==Number(r)||(a=!1),this.isTrailingNegative&&(s.default.isNegative(o,this.settings.negativeSignCharacter)&&!s.default.isNegative(r,this.settings.negativeSignCharacter)||""===o&&s.default.isNegative(r,this.settings.negativeSignCharacter,!0))&&(r=r.replace(this.settings.negativeSignCharacter,""),o=o.replace(this.settings.negativeSignCharacter,""),r=r.replace("-",""),o=o.replace("-",""),r="-"+r),[r=t._stripAllNonNumberCharactersExceptCustomDecimalChar(r,this.settings,a,this.isFocused),o=t._stripAllNonNumberCharactersExceptCustomDecimalChar(o,this.settings,!1,this.isFocused)]}},{key:"_normalizeParts",value:function(e,i){var n=!0;this.eventKey!==l.default.keyName.Hyphen&&this.eventKey!==l.default.keyName.Minus||0!==Number(e)||(n=!1),this.isTrailingNegative&&s.default.isNegative(i,this.settings.negativeSignCharacter)&&!s.default.isNegative(e,this.settings.negativeSignCharacter)&&(e="-"+e,i=i.replace(this.settings.negativeSignCharacter,"")),e=t._stripAllNonNumberCharactersExceptCustomDecimalChar(e,this.settings,n,this.isFocused),i=t._stripAllNonNumberCharactersExceptCustomDecimalChar(i,this.settings,!1,this.isFocused),this.settings.leadingZero!==t.options.leadingZero.deny||this.eventKey!==l.default.keyName.num0&&this.eventKey!==l.default.keyName.numpad0||0!==Number(e)||s.default.contains(e,this.settings.decimalCharacter)||""===i||(e=e.substring(0,e.length-1));var r=e+i;if(this.settings.decimalCharacter){var o=r.match(new RegExp("^"+this.regex.aNegRegAutoStrip+"\\"+this.settings.decimalCharacter));o&&(r=(e=e.replace(o[1],o[1]+"0"))+i)}return[e,i,r]}},{key:"_setValueParts",value:function(e,i){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=this._normalizeParts(e,i),a=n(o,3),s=a[0],l=a[1],c=a[2],u=t._checkIfInRangeWithOverrideOption(c,this.settings),h=n(u,2),d=h[0],f=h[1];if(d&&f){var p=t._truncateDecimalPlaces(c,this.settings,r,this.settings.decimalPlacesRawValue).replace(this.settings.decimalCharacter,".");if(""===p||p===this.settings.negativeSignCharacter){var g=void 0;switch(this.settings.emptyInputBehavior){case t.options.emptyInputBehavior.focus:case t.options.emptyInputBehavior.press:case t.options.emptyInputBehavior.always:g="";break;case t.options.emptyInputBehavior.min:g=this.settings.minimumValue;break;case t.options.emptyInputBehavior.max:g=this.settings.maximumValue;break;case t.options.emptyInputBehavior.zero:g="0";break;case t.options.emptyInputBehavior.null:g=null;break;default:g=this.settings.emptyInputBehavior}this._setRawValue(g)}else this._setRawValue(this._trimLeadingAndTrailingZeros(p));var m=t._truncateDecimalPlaces(c,this.settings,r,this.settings.decimalPlacesShownOnFocus),v=s.length;return v>m.length&&(v=m.length),1===v&&"0"===s&&this.settings.leadingZero===t.options.leadingZero.deny&&(v=""===l||"0"===s&&""!==l?1:0),this._setElementValue(m,!1),this._setCaretPosition(v),!0}return d?f||this._triggerEvent(t.events.maxRangeExceeded,this.domElement):this._triggerEvent(t.events.minRangeExceeded,this.domElement),!1}},{key:"_getSignPosition",value:function(){var e=void 0;if(this.settings.currencySymbol){var i=this.settings.currencySymbol.length,n=s.default.getElementValue(this.domElement);if(this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix){e=this.settings.negativeSignCharacter&&n&&n.charAt(0)===this.settings.negativeSignCharacter?[1,i+1]:[0,i]}else{var r=n.length;e=[r-i,r]}}else e=[1e3,-1];return e}},{key:"_expandSelectionOnSign",value:function(){var t=this._getSignPosition(),e=n(t,2),i=e[0],r=e[1],o=this.selection;o.start<r&&o.end>i&&((o.start<i||o.end>r)&&s.default.getElementValue(this.domElement).substring(Math.max(o.start,i),Math.min(o.end,r)).match(/^\s*$/)?o.start<i?this._setSelection(o.start,i):this._setSelection(r,o.end):this._setSelection(Math.min(o.start,i),Math.max(o.end,r)))}},{key:"_checkPaste",value:function(){if(!this.formatted&&!s.default.isUndefined(this.valuePartsBeforePaste)){var e=this.valuePartsBeforePaste,i=this._getLeftAndRightPartAroundTheSelection(),r=n(i,2),o=r[0],a=r[1];delete this.valuePartsBeforePaste;var l=o.substr(0,e[0].length)+t._stripAllNonNumberCharactersExceptCustomDecimalChar(o.substr(e[0].length),this.settings,!0,this.isFocused);this._setValueParts(l,a,!0)||(this._setElementValue(e.join(""),!1),this._setCaretPosition(e[0].length))}}},{key:"_processNonPrintableKeysAndShortcuts",value:function(t){if((t.ctrlKey||t.metaKey)&&"keyup"===t.type&&!s.default.isUndefined(this.valuePartsBeforePaste)||t.shiftKey&&this.eventKey===l.default.keyName.Insert)return this._checkPaste(),!1;if(this.constructor._shouldSkipEventKey(this.eventKey))return!0;if((t.ctrlKey||t.metaKey)&&this.eventKey===l.default.keyName.a)return this.settings.selectNumberOnly&&(t.preventDefault(),this.selectNumber()),!0;if((t.ctrlKey||t.metaKey)&&(this.eventKey===l.default.keyName.c||this.eventKey===l.default.keyName.v||this.eventKey===l.default.keyName.x))return"keydown"===t.type&&this._expandSelectionOnSign(),this.eventKey!==l.default.keyName.v&&this.eventKey!==l.default.keyName.Insert||("keydown"===t.type||"keypress"===t.type?s.default.isUndefined(this.valuePartsBeforePaste)&&(this.valuePartsBeforePaste=this._getLeftAndRightPartAroundTheSelection()):this._checkPaste()),"keydown"===t.type||"keypress"===t.type||this.eventKey===l.default.keyName.c;if(t.ctrlKey||t.metaKey)return!(this.eventKey===l.default.keyName.Z||this.eventKey===l.default.keyName.z);if(this.eventKey===l.default.keyName.LeftArrow||this.eventKey===l.default.keyName.RightArrow){if("keydown"===t.type&&!t.shiftKey){var e=s.default.getElementValue(this.domElement);this.eventKey!==l.default.keyName.LeftArrow||e.charAt(this.selection.start-2)!==this.settings.digitGroupSeparator&&e.charAt(this.selection.start-2)!==this.settings.decimalCharacter?this.eventKey!==l.default.keyName.RightArrow||e.charAt(this.selection.start+1)!==this.settings.digitGroupSeparator&&e.charAt(this.selection.start+1)!==this.settings.decimalCharacter||this._setCaretPosition(this.selection.start+1):this._setCaretPosition(this.selection.start-1)}return!0}return s.default.isInArray(this.eventKey,l.default.keyName._directionKeys)}},{key:"_processCharacterDeletionIfTrailingNegativeSign",value:function(e){var i=n(e,2),r=i[0],o=i[1],a=s.default.getElementValue(this.domElement),c=s.default.isNegative(a,this.settings.negativeSignCharacter);if(this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.suffix&&(this.eventKey===l.default.keyName.Backspace?(this.caretFix=this.selection.start>=a.indexOf(this.settings.suffixText)&&""!==this.settings.suffixText,"-"===a.charAt(this.selection.start-1)?r=r.substring(1):this.selection.start<=a.length-this.settings.suffixText.length&&(r=r.substring(0,r.length-1))):(this.caretFix=this.selection.start>=a.indexOf(this.settings.suffixText)&&""!==this.settings.suffixText,this.selection.start>=a.indexOf(this.settings.currencySymbol)+this.settings.currencySymbol.length&&(o=o.substring(1,o.length)),s.default.isNegative(r,this.settings.negativeSignCharacter)&&"-"===a.charAt(this.selection.start)&&(r=r.substring(1)))),this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)switch(this.settings.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.left:this.caretFix=this.selection.start>=a.indexOf(this.settings.negativeSignCharacter)+this.settings.negativeSignCharacter.length,this.eventKey===l.default.keyName.Backspace?this.selection.start===a.indexOf(this.settings.negativeSignCharacter)+this.settings.negativeSignCharacter.length&&c?r=r.substring(1):"-"!==r&&(this.selection.start<=a.indexOf(this.settings.negativeSignCharacter)||!c)&&(r=r.substring(0,r.length-1)):("-"===r[0]&&(o=o.substring(1)),this.selection.start===a.indexOf(this.settings.negativeSignCharacter)&&c&&(r=r.substring(1)));break;case t.options.negativePositiveSignPlacement.right:this.caretFix=this.selection.start>=a.indexOf(this.settings.negativeSignCharacter)+this.settings.negativeSignCharacter.length,this.eventKey===l.default.keyName.Backspace?this.selection.start===a.indexOf(this.settings.negativeSignCharacter)+this.settings.negativeSignCharacter.length?r=r.substring(1):"-"!==r&&this.selection.start<=a.indexOf(this.settings.negativeSignCharacter)-this.settings.currencySymbol.length?r=r.substring(0,r.length-1):""===r||c||(r=r.substring(0,r.length-1)):(this.caretFix=this.selection.start>=a.indexOf(this.settings.currencySymbol)&&""!==this.settings.currencySymbol,this.selection.start===a.indexOf(this.settings.negativeSignCharacter)&&(r=r.substring(1)),o=o.substring(1))}return[r,o]}},{key:"_processCharacterDeletion",value:function(){var t=void 0,e=void 0;if(this.selection.length){this._expandSelectionOnSign();var i=this._getUnformattedLeftAndRightPartAroundTheSelection(),r=n(i,2);t=r[0],e=r[1]}else{var o=this._getUnformattedLeftAndRightPartAroundTheSelection(),a=n(o,2);if(t=a[0],e=a[1],""===t&&""===e&&(this.throwInput=!1),this.isTrailingNegative&&s.default.isNegative(s.default.getElementValue(this.domElement),this.settings.negativeSignCharacter)){var c=this._processCharacterDeletionIfTrailingNegativeSign([t,e]),u=n(c,2);t=u[0],e=u[1]}else this.eventKey===l.default.keyName.Backspace?t=t.substring(0,t.length-1):e=e.substring(1,e.length)}this._setValueParts(t,e)}},{key:"_isDecimalCharacterInsertionAllowed",value:function(){return String(this.settings.decimalPlacesShownOnFocus)!==String(t.options.decimalPlacesShownOnFocus.none)&&String(this.settings.decimalPlaces)!==String(t.options.decimalPlaces.none)}},{key:"_processCharacterInsertion",value:function(){var t=this._getUnformattedLeftAndRightPartAroundTheSelection(),e=n(t,2),i=e[0],r=e[1];if(this.eventKey!==l.default.keyName.AndroidDefault&&(this.throwInput=!0),this.eventKey===this.settings.decimalCharacter||this.settings.decimalCharacterAlternative&&this.eventKey===this.settings.decimalCharacterAlternative){if(!this._isDecimalCharacterInsertionAllowed()||!this.settings.decimalCharacter)return!1;if(this.settings.alwaysAllowDecimalCharacter)i=i.replace(this.settings.decimalCharacter,""),r=r.replace(this.settings.decimalCharacter,"");else{if(s.default.contains(i,this.settings.decimalCharacter))return!0;if(r.indexOf(this.settings.decimalCharacter)>0)return!0;0===r.indexOf(this.settings.decimalCharacter)&&(r=r.substr(1))}return this.settings.negativeSignCharacter&&s.default.contains(r,this.settings.negativeSignCharacter)&&(i=""+this.settings.negativeSignCharacter+i,r=r.replace(this.settings.negativeSignCharacter,"")),this._setValueParts(i+this.settings.decimalCharacter,r),!0}if(("-"===this.eventKey||"+"===this.eventKey)&&this.settings.isNegativeSignAllowed)return""===i&&s.default.contains(r,"-")?r=r.replace("-",""):i=s.default.isNegativeStrict(i,"-")?i.replace("-",""):""+this.settings.negativeSignCharacter+i,this._setValueParts(i,r),!0;var o=Number(this.eventKey);return o>=0&&o<=9?(this.settings.isNegativeSignAllowed&&""===i&&s.default.contains(r,"-")&&(i="-",r=r.substring(1,r.length)),this.settings.maximumValue<=0&&this.settings.minimumValue<this.settings.maximumValue&&!s.default.contains(s.default.getElementValue(this.domElement),this.settings.negativeSignCharacter)&&"0"!==this.eventKey&&(i="-"+i),this._setValueParts(""+i+this.eventKey,r),!0):(this.throwInput=!1,!1)}},{key:"_formatValue",value:function(e){var i=s.default.getElementValue(this.domElement),r=this._getUnformattedLeftAndRightPartAroundTheSelection(),o=n(r,1)[0];if((""===this.settings.digitGroupSeparator||""!==this.settings.digitGroupSeparator&&!s.default.contains(i,this.settings.digitGroupSeparator))&&(""===this.settings.currencySymbol||""!==this.settings.currencySymbol&&!s.default.contains(i,this.settings.currencySymbol))){var a=i.split(this.settings.decimalCharacter),c=n(a,1)[0],u="";s.default.isNegative(c,this.settings.negativeSignCharacter)&&(u=this.settings.negativeSignCharacter,c=c.replace(this.settings.negativeSignCharacter,""),o=o.replace("-","")),""===u&&c.length>this.settings.mIntPos&&"0"===o.charAt(0)&&(o=o.slice(1)),u===this.settings.negativeSignCharacter&&c.length>this.settings.mIntNeg&&"0"===o.charAt(0)&&(o=o.slice(1)),this.isTrailingNegative||(o=""+u+o)}var h=this.constructor._addGroupSeparators(i,this.settings,this.isFocused,this.rawValue),d=h.length;if(h){var f=o.split("");if((this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.suffix||this.settings.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.prefix&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)&&f[0]===this.settings.negativeSignCharacter&&!this.settings.isNegativeSignAllowed&&(f.shift(),(this.eventKey===l.default.keyName.Backspace||this.eventKey===l.default.keyName.Delete)&&this.caretFix&&((this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.left||this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.suffix)&&(f.push(this.settings.negativeSignCharacter),this.caretFix="keydown"===e.type),this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix&&this.settings.negativePositiveSignPlacement===t.options.negativePositiveSignPlacement.right))){var p=this.settings.currencySymbol.split(""),g=["\\","^","$",".","|","?","*","+","(",")","["],m=[];p.forEach(function(t,e){e=p[t],s.default.isInArray(e,g)?m.push("\\"+e):m.push(e)}),this.eventKey===l.default.keyName.Backspace&&"-"===this.settings.negativeSignCharacter&&m.push("-"),f.push(m.join("")),this.caretFix="keydown"===e.type}for(var v=0;v<f.length;v++)f[v].match("\\d")||(f[v]="\\"+f[v]);var y=new RegExp("^.*?"+f.join(".*?")),b=h.match(y);b?(d=b[0].length,this.settings.showPositiveSign&&(0===d&&b.input.charAt(0)===this.settings.positiveSignCharacter&&(d=1===b.input.indexOf(this.settings.currencySymbol)?this.settings.currencySymbol.length+1:1),0===d&&b.input.charAt(this.settings.currencySymbol.length)===this.settings.positiveSignCharacter&&(d=this.settings.currencySymbol.length+1)),(0===d&&h.charAt(0)!==this.settings.negativeSignCharacter||1===d&&h.charAt(0)===this.settings.negativeSignCharacter)&&this.settings.currencySymbol&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix&&(d=this.settings.currencySymbol.length+(s.default.isNegativeStrict(h,this.settings.negativeSignCharacter)?1:0))):(this.settings.currencySymbol&&this.settings.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix&&(d-=this.settings.currencySymbol.length),this.settings.suffixText&&(d-=this.settings.suffixText.length))}h!==i&&(this._setElementValue(h,!1),this._setCaretPosition(d)),this.formatted=!0}}],[{key:"version",value:function(){return"4.5.4"}},{key:"_setArgumentsValues",value:function(t,e,i){s.default.isNull(t)&&s.default.throwError("At least one valid parameter is needed in order to initialize an AutoNumeric object");var n=s.default.isElement(t),r=s.default.isString(t),o=s.default.isObject(e),a=Array.isArray(e)&&e.length>0,l=s.default.isNumberOrArabic(e)||""===e,c=this._isPreDefinedOptionValid(e),u=s.default.isNull(e),h=s.default.isEmptyString(e),d=s.default.isObject(i),f=Array.isArray(i)&&i.length>0,p=s.default.isNull(i),g=this._isPreDefinedOptionValid(i),m=void 0,v=void 0,y=void 0;return n&&u&&p?(m=t,y=null,v=null):n&&l&&p?(m=t,y=e,v=null):n&&o&&p?(m=t,y=null,v=e):n&&c&&p?(m=t,y=null,v=this._getOptionObject(e)):n&&a&&p?(m=t,y=null,v=this.mergeOptions(e)):n&&(u||h)&&d?(m=t,y=null,v=i):n&&(u||h)&&f?(m=t,y=null,v=this.mergeOptions(i)):r&&u&&p?(m=document.querySelector(t),y=null,v=null):r&&o&&p?(m=document.querySelector(t),y=null,v=e):r&&c&&p?(m=document.querySelector(t),y=null,v=this._getOptionObject(e)):r&&a&&p?(m=document.querySelector(t),y=null,v=this.mergeOptions(e)):r&&(u||h)&&d?(m=document.querySelector(t),y=null,v=i):r&&(u||h)&&f?(m=document.querySelector(t),y=null,v=this.mergeOptions(i)):r&&l&&p?(m=document.querySelector(t),y=e,v=null):r&&l&&d?(m=document.querySelector(t),y=e,v=i):r&&l&&g?(m=document.querySelector(t),y=e,v=this._getOptionObject(i)):r&&l&&f?(m=document.querySelector(t),y=e,v=this.mergeOptions(i)):n&&l&&d?(m=t,y=e,v=i):n&&l&&g?(m=t,y=e,v=this._getOptionObject(i)):n&&l&&f?(m=t,y=e,v=this.mergeOptions(i)):s.default.throwError("The parameters given to the AutoNumeric object are not valid, '"+t+"', '"+e+"' and '"+i+"' given."),s.default.isNull(m)&&s.default.throwError("The selector '"+t+"' did not select any valid DOM element. Please check on which element you called AutoNumeric."),{domElement:m,initialValue:y,userOptions:v}}},{key:"mergeOptions",value:function(t){var e=this,i={};return t.forEach(function(t){r(i,e._getOptionObject(t))}),i}},{key:"_isPreDefinedOptionValid",value:function(e){return t.predefinedOptions.hasOwnProperty(e)}},{key:"_getOptionObject",value:function(e){var i=void 0;return s.default.isString(e)?null==(i=t.getPredefinedOptions()[e])&&s.default.warning("The given pre-defined option ["+e+"] is not recognized by autoNumeric. Please check that pre-defined option name.",!0):i=e,i}},{key:"_doesFormHandlerListExists",value:function(){var t=o(window.aNFormHandlerMap);return"undefined"!==t&&"object"===t}},{key:"_createFormHandlerList",value:function(){window.aNFormHandlerMap=new Map}},{key:"_checkValuesToStringsArray",value:function(t,e){return s.default.isInArray(String(t),e)}},{key:"_checkValuesToStringsSettings",value:function(t,e){return this._checkValuesToStringsArray(t,Object.keys(e.valuesToStrings))}},{key:"_checkStringsToValuesSettings",value:function(t,e){return this._checkValuesToStringsArray(t,Object.values(e.valuesToStrings))}},{key:"_unformatAltHovered",value:function(t){t.hoveredWithAlt=!0,t.unformat()}},{key:"_reformatAltHovered",value:function(t){t.hoveredWithAlt=!1,t.reformat()}},{key:"_getChildANInputElement",value:function(t){var e=this,i=t.getElementsByTagName("input"),n=[];return Array.prototype.slice.call(i,0).forEach(function(t){e.test(t)&&n.push(t)}),n}},{key:"test",value:function(t){return this._isInGlobalList(s.default.domElement(t))}},{key:"_createWeakMap",value:function(t){window[t]=new WeakMap}},{key:"_createGlobalList",value:function(){this.autoNumericGlobalListName="autoNumericGlobalList",this._createWeakMap(this.autoNumericGlobalListName)}},{key:"_doesGlobalListExists",value:function(){var t=o(window[this.autoNumericGlobalListName]);return"undefined"!==t&&"object"===t}},{key:"_addToGlobalList",value:function(t){this._doesGlobalListExists()||this._createGlobalList();var e=t.node();if(this._isInGlobalList(e)){if(this._getFromGlobalList(e)===this)return;s.default.warning("A reference to the DOM element you just initialized already exists in the global AutoNumeric element list. Please make sure to not initialize the same DOM element multiple times.",t.getSettings().showWarnings)}window[this.autoNumericGlobalListName].set(e,t)}},{key:"_removeFromGlobalList",value:function(t){this._doesGlobalListExists()&&window[this.autoNumericGlobalListName].delete(t.node())}},{key:"_getFromGlobalList",value:function(t){return this._doesGlobalListExists()?window[this.autoNumericGlobalListName].get(t):null}},{key:"_isInGlobalList",value:function(t){return!!this._doesGlobalListExists()&&window[this.autoNumericGlobalListName].has(t)}},{key:"validate",value:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;!s.default.isUndefinedOrNullOrEmpty(e)&&s.default.isObject(e)||s.default.throwError("The userOptions are invalid ; it should be a valid object, ["+e+"] given.");var l=s.default.isObject(a);l||s.default.isNull(a)||s.default.throwError("The 'originalOptions' parameter is invalid ; it should either be a valid option object or `null`, ["+e+"] given."),s.default.isNull(e)||this._convertOldOptionsToNewOnes(e);var c=void 0;c=i?r({},this.getDefaultConfig(),e):e,s.default.isTrueOrFalseString(c.showWarnings)||s.default.isBoolean(c.showWarnings)||s.default.throwError("The debug option 'showWarnings' is invalid ; it should be either 'true' or 'false', ["+c.showWarnings+"] given.");var u=/^[0-9]+$/,h=/[0-9]+/,d=/^-?[0-9]+(\.?[0-9]+)?$/,f=/^[0-9]+(\.?[0-9]+)?$/;s.default.isTrueOrFalseString(c.allowDecimalPadding)||s.default.isBoolean(c.allowDecimalPadding)||c.allowDecimalPadding===t.options.allowDecimalPadding.floats||s.default.throwError("The decimal padding option 'allowDecimalPadding' is invalid ; it should either be `false`, `true` or `'floats'`, ["+c.allowDecimalPadding+"] given."),c.allowDecimalPadding!==t.options.allowDecimalPadding.never&&"false"!==c.allowDecimalPadding||c.decimalPlaces===t.options.decimalPlaces.none&&c.decimalPlacesShownOnBlur===t.options.decimalPlacesShownOnBlur.none&&c.decimalPlacesShownOnFocus===t.options.decimalPlacesShownOnFocus.none||s.default.warning("Setting 'allowDecimalPadding' to ["+c.allowDecimalPadding+"] will override the current 'decimalPlaces*' settings ["+c.decimalPlaces+", "+c.decimalPlacesShownOnBlur+" and "+c.decimalPlacesShownOnFocus+"].",c.showWarnings),s.default.isTrueOrFalseString(c.alwaysAllowDecimalCharacter)||s.default.isBoolean(c.alwaysAllowDecimalCharacter)||s.default.throwError("The option 'alwaysAllowDecimalCharacter' is invalid ; it should either be `true` or `false`, ["+c.alwaysAllowDecimalCharacter+"] given."),s.default.isNull(c.caretPositionOnFocus)||s.default.isInArray(c.caretPositionOnFocus,[t.options.caretPositionOnFocus.start,t.options.caretPositionOnFocus.end,t.options.caretPositionOnFocus.decimalLeft,t.options.caretPositionOnFocus.decimalRight])||s.default.throwError("The display on empty string option 'caretPositionOnFocus' is invalid ; it should either be `null`, 'focus', 'press', 'always' or 'zero', ["+c.caretPositionOnFocus+"] given.");var p=void 0;p=l?a:this._correctCaretPositionOnFocusAndSelectOnFocusOptions(e),s.default.isNull(p)||p.caretPositionOnFocus===t.options.caretPositionOnFocus.doNoForceCaretPosition||p.selectOnFocus!==t.options.selectOnFocus.select||s.default.warning("The 'selectOnFocus' option is set to 'select', which is in conflict with the 'caretPositionOnFocus' which is set to '"+p.caretPositionOnFocus+"'. As a result, if this has been called when instantiating an AutoNumeric object, the 'selectOnFocus' option is forced to 'doNotSelect'.",c.showWarnings),s.default.isInArray(c.digitGroupSeparator,[t.options.digitGroupSeparator.comma,t.options.digitGroupSeparator.dot,t.options.digitGroupSeparator.normalSpace,t.options.digitGroupSeparator.thinSpace,t.options.digitGroupSeparator.narrowNoBreakSpace,t.options.digitGroupSeparator.noBreakSpace,t.options.digitGroupSeparator.noSeparator,t.options.digitGroupSeparator.apostrophe,t.options.digitGroupSeparator.arabicThousandsSeparator,t.options.digitGroupSeparator.dotAbove,t.options.digitGroupSeparator.privateUseTwo])||s.default.throwError("The thousand separator character option 'digitGroupSeparator' is invalid ; it should be ',', '.', '٬', '˙', \"'\", '’', ' ', '', '', ' ' or empty (''), ["+c.digitGroupSeparator+"] given."),s.default.isTrueOrFalseString(c.showOnlyNumbersOnFocus)||s.default.isBoolean(c.showOnlyNumbersOnFocus)||s.default.throwError("The 'showOnlyNumbersOnFocus' option is invalid ; it should be either 'true' or 'false', ["+c.showOnlyNumbersOnFocus+"] given."),s.default.isInArray(c.digitalGroupSpacing,[t.options.digitalGroupSpacing.two,t.options.digitalGroupSpacing.twoScaled,t.options.digitalGroupSpacing.three,t.options.digitalGroupSpacing.four])||c.digitalGroupSpacing>=2&&c.digitalGroupSpacing<=4||s.default.throwError("The grouping separator option for thousands 'digitalGroupSpacing' is invalid ; it should be '2', '2s', '3', or '4', ["+c.digitalGroupSpacing+"] given."),s.default.isInArray(c.decimalCharacter,[t.options.decimalCharacter.comma,t.options.decimalCharacter.dot,t.options.decimalCharacter.middleDot,t.options.decimalCharacter.arabicDecimalSeparator,t.options.decimalCharacter.decimalSeparatorKeySymbol])||s.default.throwError("The decimal separator character option 'decimalCharacter' is invalid ; it should be '.', ',', '·', '⎖' or '٫', ["+c.decimalCharacter+"] given."),c.decimalCharacter===c.digitGroupSeparator&&s.default.throwError("autoNumeric will not function properly when the decimal character 'decimalCharacter' ["+c.decimalCharacter+"] and the thousand separator 'digitGroupSeparator' ["+c.digitGroupSeparator+"] are the same character."),s.default.isNull(c.decimalCharacterAlternative)||s.default.isString(c.decimalCharacterAlternative)||s.default.throwError("The alternate decimal separator character option 'decimalCharacterAlternative' is invalid ; it should be a string, ["+c.decimalCharacterAlternative+"] given."),""===c.currencySymbol||s.default.isString(c.currencySymbol)||s.default.throwError("The currency symbol option 'currencySymbol' is invalid ; it should be a string, ["+c.currencySymbol+"] given."),s.default.isInArray(c.currencySymbolPlacement,[t.options.currencySymbolPlacement.prefix,t.options.currencySymbolPlacement.suffix])||s.default.throwError("The placement of the currency sign option 'currencySymbolPlacement' is invalid ; it should either be 'p' (prefix) or 's' (suffix), ["+c.currencySymbolPlacement+"] given."),s.default.isInArray(c.negativePositiveSignPlacement,[t.options.negativePositiveSignPlacement.prefix,t.options.negativePositiveSignPlacement.suffix,t.options.negativePositiveSignPlacement.left,t.options.negativePositiveSignPlacement.right,t.options.negativePositiveSignPlacement.none])||s.default.throwError("The placement of the negative sign option 'negativePositiveSignPlacement' is invalid ; it should either be 'p' (prefix), 's' (suffix), 'l' (left), 'r' (right) or 'null', ["+c.negativePositiveSignPlacement+"] given."),s.default.isTrueOrFalseString(c.showPositiveSign)||s.default.isBoolean(c.showPositiveSign)||s.default.throwError("The show positive sign option 'showPositiveSign' is invalid ; it should be either 'true' or 'false', ["+c.showPositiveSign+"] given."),(!s.default.isString(c.suffixText)||""!==c.suffixText&&(s.default.isNegative(c.suffixText,c.negativeSignCharacter)||h.test(c.suffixText)))&&s.default.throwError("The additional suffix option 'suffixText' is invalid ; it should not contains the negative sign '"+c.negativeSignCharacter+"' nor any numerical characters, ["+c.suffixText+"] given."),(!s.default.isString(c.negativeSignCharacter)||1!==c.negativeSignCharacter.length||s.default.isUndefinedOrNullOrEmpty(c.negativeSignCharacter)||h.test(c.negativeSignCharacter))&&s.default.throwError("The negative sign character option 'negativeSignCharacter' is invalid ; it should be a single character, and cannot be any numerical characters, ["+c.negativeSignCharacter+"] given."),(!s.default.isString(c.positiveSignCharacter)||1!==c.positiveSignCharacter.length||s.default.isUndefinedOrNullOrEmpty(c.positiveSignCharacter)||h.test(c.positiveSignCharacter))&&s.default.throwError("The positive sign character option 'positiveSignCharacter' is invalid ; it should be a single character, and cannot be any numerical characters, ["+c.positiveSignCharacter+"] given.\nIf you want to hide the positive sign character, you need to set the `showPositiveSign` option to `true`."),c.negativeSignCharacter===c.positiveSignCharacter&&s.default.throwError("The positive 'positiveSignCharacter' and negative 'negativeSignCharacter' sign characters cannot be identical ; ["+c.negativeSignCharacter+"] given.");var g=s.default.isNull(c.negativeBracketsTypeOnBlur)?["",""]:c.negativeBracketsTypeOnBlur.split(","),m=n(g,2),v=m[0],y=m[1];if((s.default.contains(c.digitGroupSeparator,c.negativeSignCharacter)||s.default.contains(c.decimalCharacter,c.negativeSignCharacter)||s.default.contains(c.decimalCharacterAlternative,c.negativeSignCharacter)||s.default.contains(v,c.negativeSignCharacter)||s.default.contains(y,c.negativeSignCharacter)||s.default.contains(c.suffixText,c.negativeSignCharacter))&&s.default.throwError("The negative sign character option 'negativeSignCharacter' is invalid ; it should not be equal or a part of the digit separator, the decimal character, the decimal character alternative, the negative brackets or the suffix text, ["+c.negativeSignCharacter+"] given."),(s.default.contains(c.digitGroupSeparator,c.positiveSignCharacter)||s.default.contains(c.decimalCharacter,c.positiveSignCharacter)||s.default.contains(c.decimalCharacterAlternative,c.positiveSignCharacter)||s.default.contains(v,c.positiveSignCharacter)||s.default.contains(y,c.positiveSignCharacter)||s.default.contains(c.suffixText,c.positiveSignCharacter))&&s.default.throwError("The positive sign character option 'positiveSignCharacter' is invalid ; it should not be equal or a part of the digit separator, the decimal character, the decimal character alternative, the negative brackets or the suffix text, ["+c.positiveSignCharacter+"] given."),s.default.isNull(c.overrideMinMaxLimits)||s.default.isInArray(c.overrideMinMaxLimits,[t.options.overrideMinMaxLimits.ceiling,t.options.overrideMinMaxLimits.floor,t.options.overrideMinMaxLimits.ignore])||s.default.throwError("The override min & max limits option 'overrideMinMaxLimits' is invalid ; it should either be 'ceiling', 'floor' or 'ignore', ["+c.overrideMinMaxLimits+"] given."),s.default.isString(c.maximumValue)&&d.test(c.maximumValue)||s.default.throwError("The maximum possible value option 'maximumValue' is invalid ; it should be a string that represents a positive or negative number, ["+c.maximumValue+"] given."),s.default.isString(c.minimumValue)&&d.test(c.minimumValue)||s.default.throwError("The minimum possible value option 'minimumValue' is invalid ; it should be a string that represents a positive or negative number, ["+c.minimumValue+"] given."),parseFloat(c.minimumValue)>parseFloat(c.maximumValue)&&s.default.throwError("The minimum possible value option is greater than the maximum possible value option ; 'minimumValue' ["+c.minimumValue+"] should be smaller than 'maximumValue' ["+c.maximumValue+"]."),s.default.isInt(c.decimalPlaces)&&c.decimalPlaces>=0||s.default.isString(c.decimalPlaces)&&u.test(c.decimalPlaces)||s.default.throwError("The number of decimal places option 'decimalPlaces' is invalid ; it should be a positive integer, ["+c.decimalPlaces+"] given."),s.default.isNull(c.decimalPlacesRawValue)||s.default.isInt(c.decimalPlacesRawValue)&&c.decimalPlacesRawValue>=0||s.default.isString(c.decimalPlacesRawValue)&&u.test(c.decimalPlacesRawValue)||s.default.throwError("The number of decimal places for the raw value option 'decimalPlacesRawValue' is invalid ; it should be a positive integer or `null`, ["+c.decimalPlacesRawValue+"] given."),this._validateDecimalPlacesRawValue(c),s.default.isNull(c.decimalPlacesShownOnFocus)||u.test(String(c.decimalPlacesShownOnFocus))||s.default.throwError("The number of expanded decimal places option 'decimalPlacesShownOnFocus' is invalid ; it should be a positive integer or `null`, ["+c.decimalPlacesShownOnFocus+"] given."),!s.default.isNull(c.decimalPlacesShownOnFocus)&&Number(c.decimalPlaces)>Number(c.decimalPlacesShownOnFocus)&&s.default.warning("The extended decimal places 'decimalPlacesShownOnFocus' ["+c.decimalPlacesShownOnFocus+"] should be greater than the 'decimalPlaces' ["+c.decimalPlaces+"] value. Currently, this will limit the ability of your user to manually change some of the decimal places. Do you really want to do that?",c.showWarnings),(s.default.isNull(c.divisorWhenUnfocused)||f.test(c.divisorWhenUnfocused))&&0!==c.divisorWhenUnfocused&&"0"!==c.divisorWhenUnfocused&&1!==c.divisorWhenUnfocused&&"1"!==c.divisorWhenUnfocused||s.default.throwError("The divisor option 'divisorWhenUnfocused' is invalid ; it should be a positive number higher than one, preferably an integer, ["+c.divisorWhenUnfocused+"] given."),s.default.isNull(c.decimalPlacesShownOnBlur)||u.test(c.decimalPlacesShownOnBlur)||s.default.throwError("The number of decimals shown when unfocused option 'decimalPlacesShownOnBlur' is invalid ; it should be a positive integer or `null`, ["+c.decimalPlacesShownOnBlur+"] given."),s.default.isNull(c.symbolWhenUnfocused)||s.default.isString(c.symbolWhenUnfocused)||s.default.throwError("The symbol to show when unfocused option 'symbolWhenUnfocused' is invalid ; it should be a string, ["+c.symbolWhenUnfocused+"] given."),s.default.isTrueOrFalseString(c.saveValueToSessionStorage)||s.default.isBoolean(c.saveValueToSessionStorage)||s.default.throwError("The save to session storage option 'saveValueToSessionStorage' is invalid ; it should be either 'true' or 'false', ["+c.saveValueToSessionStorage+"] given."),s.default.isInArray(c.onInvalidPaste,[t.options.onInvalidPaste.error,t.options.onInvalidPaste.ignore,t.options.onInvalidPaste.clamp,t.options.onInvalidPaste.truncate,t.options.onInvalidPaste.replace])||s.default.throwError("The paste behavior option 'onInvalidPaste' is invalid ; it should either be 'error', 'ignore', 'clamp', 'truncate' or 'replace' (cf. documentation), ["+c.onInvalidPaste+"] given."),s.default.isInArray(c.roundingMethod,[t.options.roundingMethod.halfUpSymmetric,t.options.roundingMethod.halfUpAsymmetric,t.options.roundingMethod.halfDownSymmetric,t.options.roundingMethod.halfDownAsymmetric,t.options.roundingMethod.halfEvenBankersRounding,t.options.roundingMethod.upRoundAwayFromZero,t.options.roundingMethod.downRoundTowardZero,t.options.roundingMethod.toCeilingTowardPositiveInfinity,t.options.roundingMethod.toFloorTowardNegativeInfinity,t.options.roundingMethod.toNearest05,t.options.roundingMethod.toNearest05Alt,t.options.roundingMethod.upToNext05,t.options.roundingMethod.downToNext05])||s.default.throwError("The rounding method option 'roundingMethod' is invalid ; it should either be 'S', 'A', 's', 'a', 'B', 'U', 'D', 'C', 'F', 'N05', 'CHF', 'U05' or 'D05' (cf. documentation), ["+c.roundingMethod+"] given."),s.default.isNull(c.negativeBracketsTypeOnBlur)||s.default.isInArray(c.negativeBracketsTypeOnBlur,[t.options.negativeBracketsTypeOnBlur.parentheses,t.options.negativeBracketsTypeOnBlur.brackets,t.options.negativeBracketsTypeOnBlur.chevrons,t.options.negativeBracketsTypeOnBlur.curlyBraces,t.options.negativeBracketsTypeOnBlur.angleBrackets,t.options.negativeBracketsTypeOnBlur.japaneseQuotationMarks,t.options.negativeBracketsTypeOnBlur.halfBrackets,t.options.negativeBracketsTypeOnBlur.whiteSquareBrackets,t.options.negativeBracketsTypeOnBlur.quotationMarks,t.options.negativeBracketsTypeOnBlur.guillemets])||s.default.throwError("The brackets for negative values option 'negativeBracketsTypeOnBlur' is invalid ; it should either be '(,)', '[,]', '<,>', '{,}', '〈,〉', '「,」', '⸤,⸥', '⟦,⟧', ',' or '«,»', ["+c.negativeBracketsTypeOnBlur+"] given."),(s.default.isString(c.emptyInputBehavior)||s.default.isNumber(c.emptyInputBehavior))&&(s.default.isInArray(c.emptyInputBehavior,[t.options.emptyInputBehavior.focus,t.options.emptyInputBehavior.press,t.options.emptyInputBehavior.always,t.options.emptyInputBehavior.min,t.options.emptyInputBehavior.max,t.options.emptyInputBehavior.zero,t.options.emptyInputBehavior.null])||d.test(c.emptyInputBehavior))||s.default.throwError("The display on empty string option 'emptyInputBehavior' is invalid ; it should either be 'focus', 'press', 'always', 'min', 'max', 'zero', 'null', a number, or a string that represents a number, ["+c.emptyInputBehavior+"] given."),c.emptyInputBehavior===t.options.emptyInputBehavior.zero&&(c.minimumValue>0||c.maximumValue<0)&&s.default.throwError("The 'emptyInputBehavior' option is set to 'zero', but this value is outside of the range defined by 'minimumValue' and 'maximumValue' ["+c.minimumValue+", "+c.maximumValue+"]."),d.test(String(c.emptyInputBehavior))){var b=this._checkIfInRangeWithOverrideOption(c.emptyInputBehavior,c),L=n(b,2),x=L[0],w=L[1];x&&w||s.default.throwError("The 'emptyInputBehavior' option is set to a number or a string that represents a number, but its value ["+c.emptyInputBehavior+"] is outside of the range defined by the 'minimumValue' and 'maximumValue' options ["+c.minimumValue+", "+c.maximumValue+"].")}s.default.isTrueOrFalseString(c.eventBubbles)||s.default.isBoolean(c.eventBubbles)||s.default.throwError("The event bubbles option 'eventBubbles' is invalid ; it should be either 'true' or 'false', ["+c.eventBubbles+"] given."),s.default.isTrueOrFalseString(c.eventIsCancelable)||s.default.isBoolean(c.eventIsCancelable)||s.default.throwError("The event is cancelable option 'eventIsCancelable' is invalid ; it should be either 'true' or 'false', ["+c.eventIsCancelable+"] given."),s.default.isInArray(c.leadingZero,[t.options.leadingZero.allow,t.options.leadingZero.deny,t.options.leadingZero.keep])||s.default.throwError("The leading zero behavior option 'leadingZero' is invalid ; it should either be 'allow', 'deny' or 'keep', ["+c.leadingZero+"] given."),s.default.isTrueOrFalseString(c.formatOnPageLoad)||s.default.isBoolean(c.formatOnPageLoad)||s.default.throwError("The format on initialization option 'formatOnPageLoad' is invalid ; it should be either 'true' or 'false', ["+c.formatOnPageLoad+"] given."),s.default.isTrueOrFalseString(c.formulaMode)||s.default.isBoolean(c.formulaMode)||s.default.throwError("The formula mode option 'formulaMode' is invalid ; it should be either 'true' or 'false', ["+c.formulaMode+"] given."),u.test(c.historySize)&&0!==c.historySize||s.default.throwError("The history size option 'historySize' is invalid ; it should be a positive integer, ["+c.historySize+"] given."),s.default.isTrueOrFalseString(c.selectNumberOnly)||s.default.isBoolean(c.selectNumberOnly)||s.default.throwError("The select number only option 'selectNumberOnly' is invalid ; it should be either 'true' or 'false', ["+c.selectNumberOnly+"] given."),s.default.isTrueOrFalseString(c.selectOnFocus)||s.default.isBoolean(c.selectOnFocus)||s.default.throwError("The select on focus option 'selectOnFocus' is invalid ; it should be either 'true' or 'false', ["+c.selectOnFocus+"] given."),s.default.isNull(c.defaultValueOverride)||""===c.defaultValueOverride||d.test(c.defaultValueOverride)||s.default.throwError("The unformatted default value option 'defaultValueOverride' is invalid ; it should be a string that represents a positive or negative number, ["+c.defaultValueOverride+"] given."),s.default.isTrueOrFalseString(c.unformatOnSubmit)||s.default.isBoolean(c.unformatOnSubmit)||s.default.throwError("The remove formatting on submit option 'unformatOnSubmit' is invalid ; it should be either 'true' or 'false', ["+c.unformatOnSubmit+"] given."),s.default.isNull(c.valuesToStrings)||s.default.isObject(c.valuesToStrings)||s.default.throwError("The option 'valuesToStrings' is invalid ; it should be an object, ideally with 'key -> value' entries, ["+c.valuesToStrings+"] given."),s.default.isNull(c.outputFormat)||s.default.isInArray(c.outputFormat,[t.options.outputFormat.string,t.options.outputFormat.number,t.options.outputFormat.dot,t.options.outputFormat.negativeDot,t.options.outputFormat.comma,t.options.outputFormat.negativeComma,t.options.outputFormat.dotNegative,t.options.outputFormat.commaNegative])||s.default.throwError("The custom locale format option 'outputFormat' is invalid ; it should either be null, 'string', 'number', '.', '-.', ',', '-,', '.-' or ',-', ["+c.outputFormat+"] given."),s.default.isTrueOrFalseString(c.isCancellable)||s.default.isBoolean(c.isCancellable)||s.default.throwError("The cancellable behavior option 'isCancellable' is invalid ; it should be either 'true' or 'false', ["+c.isCancellable+"] given."),s.default.isTrueOrFalseString(c.modifyValueOnWheel)||s.default.isBoolean(c.modifyValueOnWheel)||s.default.throwError("The increment/decrement on mouse wheel option 'modifyValueOnWheel' is invalid ; it should be either 'true' or 'false', ["+c.modifyValueOnWheel+"] given."),s.default.isTrueOrFalseString(c.watchExternalChanges)||s.default.isBoolean(c.watchExternalChanges)||s.default.throwError("The option 'watchExternalChanges' is invalid ; it should be either 'true' or 'false', ["+c.watchExternalChanges+"] given."),s.default.isInArray(c.wheelOn,[t.options.wheelOn.focus,t.options.wheelOn.hover])||s.default.throwError("The wheel behavior option 'wheelOn' is invalid ; it should either be 'focus' or 'hover', ["+c.wheelOn+"] given."),(!s.default.isString(c.wheelStep)&&!s.default.isNumber(c.wheelStep)||"progressive"!==c.wheelStep&&!f.test(c.wheelStep)||0===Number(c.wheelStep))&&s.default.throwError("The wheel step value option 'wheelStep' is invalid ; it should either be the string 'progressive', or a number or a string that represents a positive number (excluding zero), ["+c.wheelStep+"] given."),s.default.isInArray(c.serializeSpaces,[t.options.serializeSpaces.plus,t.options.serializeSpaces.percent])||s.default.throwError("The space replacement character option 'serializeSpaces' is invalid ; it should either be '+' or '%20', ["+c.serializeSpaces+"] given."),s.default.isTrueOrFalseString(c.noEventListeners)||s.default.isBoolean(c.noEventListeners)||s.default.throwError("The option 'noEventListeners' that prevent the creation of event listeners is invalid ; it should be either 'true' or 'false', ["+c.noEventListeners+"] given."),s.default.isNull(c.styleRules)||s.default.isObject(c.styleRules)&&(c.styleRules.hasOwnProperty("positive")||c.styleRules.hasOwnProperty("negative")||c.styleRules.hasOwnProperty("ranges")||c.styleRules.hasOwnProperty("userDefined"))||s.default.throwError("The option 'styleRules' is invalid ; it should be a correctly structured object, with one or more 'positive', 'negative', 'ranges' or 'userDefined' attributes, ["+c.styleRules+"] given."),s.default.isNull(c.styleRules)||!c.styleRules.hasOwnProperty("userDefined")||s.default.isNull(c.styleRules.userDefined)||c.styleRules.userDefined.forEach(function(t){t.hasOwnProperty("callback")&&!s.default.isFunction(t.callback)&&s.default.throwError("The callback defined in the `userDefined` attribute is not a function, "+o(t.callback)+" given.")}),(s.default.isNull(c.rawValueDivisor)||f.test(c.rawValueDivisor))&&0!==c.rawValueDivisor&&"0"!==c.rawValueDivisor&&1!==c.rawValueDivisor&&"1"!==c.rawValueDivisor||s.default.throwError("The raw value divisor option 'rawValueDivisor' is invalid ; it should be a positive number higher than one, preferably an integer, ["+c.rawValueDivisor+"] given."),s.default.isTrueOrFalseString(c.readOnly)||s.default.isBoolean(c.readOnly)||s.default.throwError("The option 'readOnly' is invalid ; it should be either 'true' or 'false', ["+c.readOnly+"] given."),s.default.isTrueOrFalseString(c.unformatOnHover)||s.default.isBoolean(c.unformatOnHover)||s.default.throwError("The option 'unformatOnHover' is invalid ; it should be either 'true' or 'false', ["+c.unformatOnHover+"] given."),s.default.isTrueOrFalseString(c.failOnUnknownOption)||s.default.isBoolean(c.failOnUnknownOption)||s.default.throwError("The debug option 'failOnUnknownOption' is invalid ; it should be either 'true' or 'false', ["+c.failOnUnknownOption+"] given."),s.default.isTrueOrFalseString(c.createLocalList)||s.default.isBoolean(c.createLocalList)||s.default.throwError("The debug option 'createLocalList' is invalid ; it should be either 'true' or 'false', ["+c.createLocalList+"] given.")}},{key:"_validateDecimalPlacesRawValue",value:function(t){s.default.isNull(t.decimalPlacesRawValue)||(t.decimalPlacesRawValue<t.decimalPlaces&&s.default.warning("The number of decimal places to store in the raw value ["+t.decimalPlacesRawValue+"] is lower than the ones to display ["+t.decimalPlaces+"]. This will likely confuse your users.\nTo solve that, you'd need to either set `decimalPlacesRawValue` to `null`, or set a number of decimal places for the raw value equal of bigger than `decimalPlaces`.",t.showWarnings),t.decimalPlacesRawValue<t.decimalPlacesShownOnFocus&&s.default.warning("The number of decimal places to store in the raw value ["+t.decimalPlacesRawValue+"] is lower than the ones shown on focus ["+t.decimalPlacesShownOnFocus+"]. This will likely confuse your users.\nTo solve that, you'd need to either set `decimalPlacesRawValue` to `null`, or set a number of decimal places for the raw value equal of bigger than `decimalPlacesShownOnFocus`.",t.showWarnings),t.decimalPlacesRawValue<t.decimalPlacesShownOnBlur&&s.default.warning("The number of decimal places to store in the raw value ["+t.decimalPlacesRawValue+"] is lower than the ones shown when unfocused ["+t.decimalPlacesShownOnBlur+"]. This will likely confuse your users.\nTo solve that, you'd need to either set `decimalPlacesRawValue` to `null`, or set a number of decimal places for the raw value equal of bigger than `decimalPlacesShownOnBlur`.",t.showWarnings))}},{key:"areSettingsValid",value:function(t){var e=!0;try{this.validate(t,!0)}catch(t){e=!1}return e}},{key:"getDefaultConfig",value:function(){return t.defaultSettings}},{key:"getPredefinedOptions",value:function(){return t.predefinedOptions}},{key:"_generateOptionsObjectFromOptionsArray",value:function(t){var e=this,i=void 0;return s.default.isUndefinedOrNullOrEmpty(t)||0===t.length?i=null:(i={},1===t.length&&Array.isArray(t[0])?t[0].forEach(function(t){r(i,e._getOptionObject(t))}):t.length>=1&&t.forEach(function(t){r(i,e._getOptionObject(t))})),i}},{key:"format",value:function(e){if(s.default.isUndefined(e)||null===e)return null;var i=void 0;i=s.default.isElement(e)?s.default.getElementValue(e):e,s.default.isString(i)||s.default.isNumber(i)||s.default.throwError('The value "'+i+'" being "set" is not numeric and therefore cannot be used appropriately.');for(var o=arguments.length,a=Array(o>1?o-1:0),l=1;l<o;l++)a[l-1]=arguments[l];var c=this._generateOptionsObjectFromOptionsArray(a),u=r({},this.getDefaultConfig(),c);u.isNegativeSignAllowed=i<0,u.isPositiveSignAllowed=i>=0,this._setBrackets(u);this._cachesUsualRegularExpressions(u,{});var h=this._toNumericValue(i,u);isNaN(Number(h))&&s.default.throwError("The value ["+h+"] that you are trying to format is not a recognized number.");var d=this._checkIfInRangeWithOverrideOption(h,u),f=n(d,2),p=f[0],g=f[1];return p&&g||(s.default.triggerEvent(t.events.formatted,document,{oldValue:null,newValue:null,oldRawValue:null,newRawValue:null,isPristine:null,error:"Range test failed",aNElement:null},!0,!0),s.default.throwError("The value ["+h+"] being set falls outside of the minimumValue ["+u.minimumValue+"] and maximumValue ["+u.maximumValue+"] range set for this element")),u.valuesToStrings&&this._checkValuesToStringsSettings(i,u)?u.valuesToStrings[i]:(this._correctNegativePositiveSignPlacementOption(u),this._calculateDecimalPlacesOnInit(u),s.default.isUndefinedOrNullOrEmpty(u.rawValueDivisor)||0===u.rawValueDivisor||""===h||null===h||(h*=u.rawValueDivisor),h=this._roundFormattedValueShownOnFocus(h,u),h=this._modifyNegativeSignAndDecimalCharacterForFormattedValue(h,u),h=this._addGroupSeparators(h,u,!1,h))}},{key:"formatAndSet",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.format(t,e);return s.default.setElementValue(t,i),i}},{key:"unformat",value:function(t){if(s.default.isNumberStrict(t))return t;var e=void 0;if(""===(e=s.default.isElement(t)?s.default.getElementValue(t):t))return"";if(s.default.isUndefined(e)||null===e)return null;(s.default.isArray(e)||s.default.isObject(e))&&s.default.throwError("A number or a string representing a number is needed to be able to unformat it, ["+e+"] given.");for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];var l=this._generateOptionsObjectFromOptionsArray(o),c=r({},this.getDefaultConfig(),l);if(c.isNegativeSignAllowed=!1,c.isPositiveSignAllowed=!0,e=e.toString(),c.valuesToStrings&&this._checkStringsToValuesSettings(e,c))return s.default.objectKeyLookup(c.valuesToStrings,e);if(s.default.isNegative(e,c.negativeSignCharacter))c.isNegativeSignAllowed=!0,c.isPositiveSignAllowed=!1;else if(!s.default.isNull(c.negativeBracketsTypeOnBlur)){var u=c.negativeBracketsTypeOnBlur.split(","),h=n(u,2);c.firstBracket=h[0],c.lastBracket=h[1],e.charAt(0)===c.firstBracket&&e.charAt(e.length-1)===c.lastBracket&&(c.isNegativeSignAllowed=!0,c.isPositiveSignAllowed=!1,e=this._removeBrackets(e,c,!1))}return e=this._convertToNumericString(e,c),new RegExp("[^+-0123456789.]","gi").test(e)?NaN:(this._correctNegativePositiveSignPlacementOption(c),c.decimalPlacesRawValue?c.originalDecimalPlacesRawValue=c.decimalPlacesRawValue:c.originalDecimalPlacesRawValue=c.decimalPlaces,this._calculateDecimalPlacesOnInit(c),s.default.isUndefinedOrNullOrEmpty(c.rawValueDivisor)||0===c.rawValueDivisor||""===e||null===e||(e/=c.rawValueDivisor),e=(e=this._roundRawValue(e,c)).replace(c.decimalCharacter,"."),e=this._toLocale(e,c.outputFormat,c))}},{key:"unformatAndSet",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.unformat(t,e);return s.default.setElementValue(t,i),i}},{key:"localize",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=void 0;if(""===(n=s.default.isElement(e)?s.default.getElementValue(e):e))return"";s.default.isNull(i)&&(i=t.defaultSettings),n=this.unformat(n,i),0===Number(n)&&i.leadingZero!==t.options.leadingZero.keep&&(n="0");var r=void 0;return r=s.default.isNull(i)?i.outputFormat:t.defaultSettings.outputFormat,this._toLocale(n,r,i)}},{key:"localizeAndSet",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.localize(t,e);return s.default.setElementValue(t,i),i}},{key:"isManagedByAutoNumeric",value:function(t){return this._isInGlobalList(s.default.domElement(t))}},{key:"getAutoNumericElement",value:function(t){var e=s.default.domElement(t);return this.isManagedByAutoNumeric(e)?this._getFromGlobalList(e):null}},{key:"set",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=s.default.domElement(t);if(!this.isManagedByAutoNumeric(r)){var o=void 0;return o=!(!s.default.isNull(i)&&i.hasOwnProperty("showWarnings"))||i.showWarnings,s.default.warning("Impossible to find an AutoNumeric object for the given DOM element or selector.",o),null}return this.getAutoNumericElement(r).set(e,i,n)}},{key:"getNumericString",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._get(t,"getNumericString",e)}},{key:"getFormatted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._get(t,"getFormatted",e)}},{key:"getNumber",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this._get(t,"getNumber",e)}},{key:"_get",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=s.default.domElement(t);return this.isManagedByAutoNumeric(n)||s.default.throwError("Impossible to find an AutoNumeric object for the given DOM element or selector."),this.getAutoNumericElement(n)[e](i)}},{key:"getLocalized",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=s.default.domElement(t);return this.isManagedByAutoNumeric(n)||s.default.throwError("Impossible to find an AutoNumeric object for the given DOM element or selector."),this.getAutoNumericElement(n).getLocalized(e,i)}},{key:"_stripAllNonNumberCharacters",value:function(t,e,i,n){return this._stripAllNonNumberCharactersExceptCustomDecimalChar(t,e,i,n).replace(e.decimalCharacter,".")}},{key:"_stripAllNonNumberCharactersExceptCustomDecimalChar",value:function(e,i,r,o){var a=(e=(e=this._normalizeCurrencySuffixAndNegativeSignCharacters(e,i)).replace(i.allowedAutoStrip,"")).match(i.numRegAutoStrip);if(e=a?[a[1],a[2],a[3]].join(""):"",i.leadingZero===t.options.leadingZero.allow||i.leadingZero===t.options.leadingZero.keep){var l="",c=e.split(i.decimalCharacter),u=n(c,2),h=u[0],d=u[1],f=h;s.default.contains(f,i.negativeSignCharacter)&&(l=i.negativeSignCharacter,f=f.replace(i.negativeSignCharacter,"")),""===l&&f.length>i.mIntPos&&"0"===f.charAt(0)&&(f=f.slice(1)),""!==l&&f.length>i.mIntNeg&&"0"===f.charAt(0)&&(f=f.slice(1)),e=""+l+f+(s.default.isUndefined(d)?"":i.decimalCharacter+d)}return(r&&i.leadingZero===t.options.leadingZero.deny||!o&&i.leadingZero===t.options.leadingZero.allow)&&(e=e.replace(i.stripReg,"$1$2")),e}},{key:"_toggleNegativeBracket",value:function(t,e,i){return i?this._removeBrackets(t,e):this._addBrackets(t,e)}},{key:"_addBrackets",value:function(t,e){return s.default.isNull(e.negativeBracketsTypeOnBlur)?t:""+e.firstBracket+t.replace(e.negativeSignCharacter,"")+e.lastBracket}},{key:"_removeBrackets",value:function(t,e){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=void 0;return s.default.isNull(e.negativeBracketsTypeOnBlur)||t.charAt(0)!==e.firstBracket?n=t:(n=(n=t.replace(e.firstBracket,"")).replace(e.lastBracket,""),i?(n=n.replace(e.currencySymbol,""),n=this._mergeCurrencySignNegativePositiveSignAndValue(n,e,!0,!1)):n=""+e.negativeSignCharacter+n),n}},{key:"_setBrackets",value:function(t){if(s.default.isNull(t.negativeBracketsTypeOnBlur))t.firstBracket="",t.lastBracket="";else{var e=t.negativeBracketsTypeOnBlur.split(","),i=n(e,2),r=i[0],o=i[1];t.firstBracket=r,t.lastBracket=o}}},{key:"_convertToNumericString",value:function(e,i){e=this._removeBrackets(e,i,!1),e=(e=this._normalizeCurrencySuffixAndNegativeSignCharacters(e,i)).replace(new RegExp("["+i.digitGroupSeparator+"]","g"),""),"."!==i.decimalCharacter&&(e=e.replace(i.decimalCharacter,".")),s.default.isNegative(e)&&e.lastIndexOf("-")===e.length-1&&(e="-"+(e=e.replace("-",""))),i.showPositiveSign&&(e=e.replace(i.positiveSignCharacter,""));var n=i.leadingZero!==t.options.leadingZero.keep,r=s.default.arabicToLatinNumbers(e,n,!1,!1);return isNaN(r)||(e=r.toString()),e}},{key:"_normalizeCurrencySuffixAndNegativeSignCharacters",value:function(e,i){return e=String(e),i.currencySymbol!==t.options.currencySymbol.none&&(e=e.replace(i.currencySymbol,"")),i.suffixText!==t.options.suffixText.none&&(e=e.replace(i.suffixText,"")),i.negativeSignCharacter!==t.options.negativeSignCharacter.hyphen&&(e=e.replace(i.negativeSignCharacter,"-")),e}},{key:"_toLocale",value:function(e,i,n){if(s.default.isNull(i)||i===t.options.outputFormat.string)return e;var r=void 0;switch(i){case t.options.outputFormat.number:r=Number(e);break;case t.options.outputFormat.dotNegative:r=s.default.isNegative(e)?e.replace("-","")+"-":e;break;case t.options.outputFormat.comma:case t.options.outputFormat.negativeComma:r=e.replace(".",",");break;case t.options.outputFormat.commaNegative:r=e.replace(".",","),r=s.default.isNegative(r)?r.replace("-","")+"-":r;break;case t.options.outputFormat.dot:case t.options.outputFormat.negativeDot:r=e;break;default:s.default.throwError("The given outputFormat ["+i+"] option is not recognized.")}return i!==t.options.outputFormat.number&&"-"!==n.negativeSignCharacter&&(r=r.replace("-",n.negativeSignCharacter)),r}},{key:"_modifyNegativeSignAndDecimalCharacterForFormattedValue",value:function(t,e){return"-"!==e.negativeSignCharacter&&(t=t.replace("-",e.negativeSignCharacter)),"."!==e.decimalCharacter&&(t=t.replace(".",e.decimalCharacter)),t}},{key:"_isElementValueEmptyOrOnlyTheNegativeSign",value:function(t,e){return""===t||t===e.negativeSignCharacter}},{key:"_orderValueCurrencySymbolAndSuffixText",value:function(e,i,n){var r=void 0;if(i.emptyInputBehavior===t.options.emptyInputBehavior.always||n)switch(i.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.left:case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.none:r=e+i.currencySymbol+i.suffixText;break;default:r=i.currencySymbol+e+i.suffixText}else r=e;return r}},{key:"_addGroupSeparators",value:function(e,i,r,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,l=void 0;if(l=s.default.isNull(a)?s.default.isNegative(e,i.negativeSignCharacter)||s.default.isNegativeWithBrackets(e,i.firstBracket,i.lastBracket):a<0,e=this._stripAllNonNumberCharactersExceptCustomDecimalChar(e,i,!1,r),this._isElementValueEmptyOrOnlyTheNegativeSign(e,i))return this._orderValueCurrencySymbolAndSuffixText(e,i,!0);var c=s.default.isZeroOrHasNoValue(e);l&&(e=e.replace("-","")),i.digitalGroupSpacing=i.digitalGroupSpacing.toString();var u=void 0;switch(i.digitalGroupSpacing){case t.options.digitalGroupSpacing.two:u=/(\d)((\d)(\d{2}?)+)$/;break;case t.options.digitalGroupSpacing.twoScaled:u=/(\d)((?:\d{2}){0,2}\d{3}(?:(?:\d{2}){2}\d{3})*?)$/;break;case t.options.digitalGroupSpacing.four:u=/(\d)((\d{4}?)+)$/;break;case t.options.digitalGroupSpacing.three:default:u=/(\d)((\d{3}?)+)$/}var h=e.split(i.decimalCharacter),d=n(h,2),f=d[0],p=d[1];if(i.decimalCharacterAlternative&&s.default.isUndefined(p)){var g=e.split(i.decimalCharacterAlternative),m=n(g,2);f=m[0],p=m[1]}if(""!==i.digitGroupSeparator)for(;u.test(f);)f=f.replace(u,"$1"+i.digitGroupSeparator+"$2");var v=void 0;0===(v=r?i.decimalPlacesShownOnFocus:i.decimalPlacesShownOnBlur)||s.default.isUndefined(p)?e=f:(p.length>v&&(p=p.substring(0,v)),e=""+f+i.decimalCharacter+p),e=t._mergeCurrencySignNegativePositiveSignAndValue(e,i,l,c),s.default.isNull(a)&&(a=o),null!==i.negativeBracketsTypeOnBlur&&(a<0||s.default.isNegativeStrict(e,i.negativeSignCharacter))&&(e=this._toggleNegativeBracket(e,i,r));return i.suffixText?""+e+i.suffixText:e}},{key:"_mergeCurrencySignNegativePositiveSignAndValue",value:function(e,i,n,r){var o="";n?o=i.negativeSignCharacter:i.showPositiveSign&&!r&&(o=i.positiveSignCharacter);var a=void 0;if(i.currencySymbolPlacement===t.options.currencySymbolPlacement.prefix)if(i.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(n||!n&&i.showPositiveSign&&!r))switch(i.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.prefix:case t.options.negativePositiveSignPlacement.left:a=""+o+i.currencySymbol+e;break;case t.options.negativePositiveSignPlacement.right:a=""+i.currencySymbol+o+e;break;case t.options.negativePositiveSignPlacement.suffix:a=""+i.currencySymbol+e+o}else a=i.currencySymbol+e;else if(i.currencySymbolPlacement===t.options.currencySymbolPlacement.suffix)if(i.negativePositiveSignPlacement!==t.options.negativePositiveSignPlacement.none&&(n||!n&&i.showPositiveSign&&!r))switch(i.negativePositiveSignPlacement){case t.options.negativePositiveSignPlacement.suffix:case t.options.negativePositiveSignPlacement.right:a=""+e+i.currencySymbol+o;break;case t.options.negativePositiveSignPlacement.left:a=""+e+o+i.currencySymbol;break;case t.options.negativePositiveSignPlacement.prefix:a=""+o+e+i.currencySymbol}else a=e+i.currencySymbol;return a}},{key:"_truncateZeros",value:function(t,e){var i=void 0;switch(e){case 0:i=/(\.(?:\d*[1-9])?)0*$/;break;case 1:i=/(\.\d(?:\d*[1-9])?)0*$/;break;default:i=new RegExp("(\\.\\d{"+e+"}(?:\\d*[1-9])?)0*")}return t=t.replace(i,"$1"),0===e&&(t=t.replace(/\.$/,"")),t}},{key:"_roundRawValue",value:function(t,e){return this._roundValue(t,e,e.decimalPlacesRawValue)}},{key:"_roundFormattedValueShownOnFocus",value:function(t,e){return this._roundValue(t,e,Number(e.decimalPlacesShownOnFocus))}},{key:"_roundFormattedValueShownOnBlur",value:function(t,e){return this._roundValue(t,e,Number(e.decimalPlacesShownOnBlur))}},{key:"_roundFormattedValueShownOnFocusOrBlur",value:function(t,e,i){return i?this._roundFormattedValueShownOnFocus(t,e):this._roundFormattedValueShownOnBlur(t,e)}},{key:"_roundValue",value:function(e,i,r){if(s.default.isNull(e))return e;if(e=""===e?"0":e.toString(),i.roundingMethod===t.options.roundingMethod.toNearest05||i.roundingMethod===t.options.roundingMethod.toNearest05Alt||i.roundingMethod===t.options.roundingMethod.upToNext05||i.roundingMethod===t.options.roundingMethod.downToNext05)return this._roundCloseTo05(e,i);var o=t._prepareValueForRounding(e,i),a=n(o,2),l=a[0],c=(e=a[1]).lastIndexOf("."),u=-1===c,h=e.split(".");if(!(n(h,2)[1]>0)&&(i.allowDecimalPadding===t.options.allowDecimalPadding.never||i.allowDecimalPadding===t.options.allowDecimalPadding.floats))return 0===Number(e)?e:""+l+e;var d=void 0;d=i.allowDecimalPadding===t.options.allowDecimalPadding.always||i.allowDecimalPadding===t.options.allowDecimalPadding.floats?r:0;var f=u?e.length-1:c,p=e.length-1-f,g="";if(p<=r){if(g=e,p<d){u&&(g=""+g+i.decimalCharacter);for(var m="000000";p<d;)g+=m=m.substring(0,d-p),p+=m.length}else p>d?g=this._truncateZeros(g,d):0===p&&0===d&&(g=g.replace(/\.$/,""));return 0===Number(g)?g:""+l+g}var v=void 0;v=u?r-1:Number(r)+Number(c);var y=Number(e.charAt(v+1)),b=e.substring(0,v+1).split(""),L=void 0;if(L="."===e.charAt(v)?e.charAt(v-1)%2:e.charAt(v)%2,this._shouldRoundUp(y,i,l,L))for(var x=b.length-1;x>=0;x-=1)if("."!==b[x]){if(b[x]=+b[x]+1,b[x]<10)break;x>0&&(b[x]="0")}return b=b.slice(0,v+1),g=this._truncateZeros(b.join(""),d),0===Number(g)?g:""+l+g}},{key:"_roundCloseTo05",value:function(e,i){switch(i.roundingMethod){case t.options.roundingMethod.toNearest05:case t.options.roundingMethod.toNearest05Alt:e=(Math.round(20*e)/20).toString();break;case t.options.roundingMethod.upToNext05:e=(Math.ceil(20*e)/20).toString();break;default:e=(Math.floor(20*e)/20).toString()}return s.default.contains(e,".")?e.length-e.indexOf(".")<3?e+"0":e:e+".00"}},{key:"_prepareValueForRounding",value:function(e,i){var n="";return s.default.isNegativeStrict(e,"-")&&(n="-",e=e.replace("-","")),e.match(/^\d/)||(e="0"+e),0===Number(e)&&(n=""),(Number(e)>0&&i.leadingZero!==t.options.leadingZero.keep||e.length>0&&i.leadingZero===t.options.leadingZero.allow)&&(e=e.replace(/^0*(\d)/,"$1")),[n,e]}},{key:"_shouldRoundUp",value:function(e,i,n,r){return e>4&&i.roundingMethod===t.options.roundingMethod.halfUpSymmetric||e>4&&i.roundingMethod===t.options.roundingMethod.halfUpAsymmetric&&""===n||e>5&&i.roundingMethod===t.options.roundingMethod.halfUpAsymmetric&&"-"===n||e>5&&i.roundingMethod===t.options.roundingMethod.halfDownSymmetric||e>5&&i.roundingMethod===t.options.roundingMethod.halfDownAsymmetric&&""===n||e>4&&i.roundingMethod===t.options.roundingMethod.halfDownAsymmetric&&"-"===n||e>5&&i.roundingMethod===t.options.roundingMethod.halfEvenBankersRounding||5===e&&i.roundingMethod===t.options.roundingMethod.halfEvenBankersRounding&&1===r||e>0&&i.roundingMethod===t.options.roundingMethod.toCeilingTowardPositiveInfinity&&""===n||e>0&&i.roundingMethod===t.options.roundingMethod.toFloorTowardNegativeInfinity&&"-"===n||e>0&&i.roundingMethod===t.options.roundingMethod.upRoundAwayFromZero}},{key:"_truncateDecimalPlaces",value:function(t,e,i,r){i&&(t=this._roundFormattedValueShownOnFocus(t,e));var o=t.split(e.decimalCharacter),a=n(o,2),s=a[0],l=a[1];if(l&&l.length>r)if(r>0){var c=l.substring(0,r);t=""+s+e.decimalCharacter+c}else t=s;return t}},{key:"_checkIfInRangeWithOverrideOption",value:function(e,i){if(s.default.isNull(e)&&i.emptyInputBehavior===t.options.emptyInputBehavior.null)return[!0,!0];e=(e=e.toString()).replace(",",".");var n=s.default.parseStr(i.minimumValue),r=s.default.parseStr(i.maximumValue),o=s.default.parseStr(e),a=void 0;switch(i.overrideMinMaxLimits){case t.options.overrideMinMaxLimits.floor:a=[s.default.testMinMax(n,o)>-1,!0];break;case t.options.overrideMinMaxLimits.ceiling:a=[!0,s.default.testMinMax(r,o)<1];break;case t.options.overrideMinMaxLimits.ignore:a=[!0,!0];break;default:a=[s.default.testMinMax(n,o)>-1,s.default.testMinMax(r,o)<1]}return a}},{key:"_readCookie",value:function(t){for(var e=t+"=",i=document.cookie.split(";"),n="",r=0;r<i.length;r+=1){for(n=i[r];" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(e))return n.substring(e.length,n.length)}return null}},{key:"_storageTest",value:function(){var t="modernizr";try{return sessionStorage.setItem(t,t),sessionStorage.removeItem(t),!0}catch(t){return!1}}},{key:"_correctNegativePositiveSignPlacementOption",value:function(e){if(s.default.isNull(e.negativePositiveSignPlacement))if(s.default.isUndefined(e)||!s.default.isUndefinedOrNullOrEmpty(e.negativePositiveSignPlacement)||s.default.isUndefinedOrNullOrEmpty(e.currencySymbol))e.negativePositiveSignPlacement=t.options.negativePositiveSignPlacement.left;else switch(e.currencySymbolPlacement){case t.options.currencySymbolPlacement.suffix:e.negativePositiveSignPlacement=t.options.negativePositiveSignPlacement.prefix;break;case t.options.currencySymbolPlacement.prefix:e.negativePositiveSignPlacement=t.options.negativePositiveSignPlacement.left}}},{key:"_correctCaretPositionOnFocusAndSelectOnFocusOptions",value:function(e){return s.default.isNull(e)?null:(!s.default.isUndefinedOrNullOrEmpty(e.caretPositionOnFocus)&&s.default.isUndefinedOrNullOrEmpty(e.selectOnFocus)&&(e.selectOnFocus=t.options.selectOnFocus.doNotSelect),s.default.isUndefinedOrNullOrEmpty(e.caretPositionOnFocus)&&!s.default.isUndefinedOrNullOrEmpty(e.selectOnFocus)&&e.selectOnFocus===t.options.selectOnFocus.select&&(e.caretPositionOnFocus=t.options.caretPositionOnFocus.doNoForceCaretPosition),e)}},{key:"_calculateDecimalPlacesOnInit",value:function(e){this._validateDecimalPlacesRawValue(e),e.decimalPlacesShownOnFocus===t.options.decimalPlacesShownOnFocus.useDefault&&(e.decimalPlacesShownOnFocus=e.decimalPlaces),e.decimalPlacesShownOnBlur===t.options.decimalPlacesShownOnBlur.useDefault&&(e.decimalPlacesShownOnBlur=e.decimalPlaces),e.decimalPlacesRawValue===t.options.decimalPlacesRawValue.useDefault&&(e.decimalPlacesRawValue=e.decimalPlaces);var i=0;e.rawValueDivisor&&e.rawValueDivisor!==t.options.rawValueDivisor.none&&(i=String(e.rawValueDivisor).length-1)<0&&(i=0),e.decimalPlacesRawValue=Math.max(Math.max(e.decimalPlacesShownOnBlur,e.decimalPlacesShownOnFocus)+i,Number(e.originalDecimalPlacesRawValue)+i)}},{key:"_calculateDecimalPlacesOnUpdate",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._validateDecimalPlacesRawValue(e),s.default.isNull(i)&&s.default.throwError("When updating the settings, the previous ones should be passed as an argument.");var n="decimalPlaces"in e;if(n||"decimalPlacesRawValue"in e||"decimalPlacesShownOnFocus"in e||"decimalPlacesShownOnBlur"in e||"rawValueDivisor"in e){n?("decimalPlacesShownOnFocus"in e&&e.decimalPlacesShownOnFocus!==t.options.decimalPlacesShownOnFocus.useDefault||(e.decimalPlacesShownOnFocus=e.decimalPlaces),"decimalPlacesShownOnBlur"in e&&e.decimalPlacesShownOnBlur!==t.options.decimalPlacesShownOnBlur.useDefault||(e.decimalPlacesShownOnBlur=e.decimalPlaces),"decimalPlacesRawValue"in e&&e.decimalPlacesRawValue!==t.options.decimalPlacesRawValue.useDefault||(e.decimalPlacesRawValue=e.decimalPlaces)):(s.default.isUndefined(e.decimalPlacesShownOnFocus)&&(e.decimalPlacesShownOnFocus=i.decimalPlacesShownOnFocus),s.default.isUndefined(e.decimalPlacesShownOnBlur)&&(e.decimalPlacesShownOnBlur=i.decimalPlacesShownOnBlur));var r=0;e.rawValueDivisor&&e.rawValueDivisor!==t.options.rawValueDivisor.none&&(r=String(e.rawValueDivisor).length-1)<0&&(r=0),e.decimalPlaces||e.decimalPlacesRawValue?e.decimalPlacesRawValue=Math.max(Math.max(e.decimalPlacesShownOnBlur,e.decimalPlacesShownOnFocus)+r,Number(e.decimalPlacesRawValue)+r):e.decimalPlacesRawValue=Math.max(Math.max(e.decimalPlacesShownOnBlur,e.decimalPlacesShownOnFocus)+r,Number(i.originalDecimalPlacesRawValue)+r)}}},{key:"_cachesUsualRegularExpressions",value:function(e,i){var n=void 0;n=e.negativeSignCharacter!==t.options.negativeSignCharacter.hyphen?"([-\\"+e.negativeSignCharacter+"]?)":"(-?)",i.aNegRegAutoStrip=n,e.allowedAutoStrip=new RegExp("[^-0123456789\\"+e.decimalCharacter+"]","g"),e.numRegAutoStrip=new RegExp(n+"(?:\\"+e.decimalCharacter+"?([0-9]+\\"+e.decimalCharacter+"[0-9]+)|([0-9]*(?:\\"+e.decimalCharacter+"[0-9]*)?))"),e.stripReg=new RegExp("^"+i.aNegRegAutoStrip+"0*([0-9])"),e.formulaChars=new RegExp("[0-9"+e.decimalCharacter+"+\\-*/() ]")}},{key:"_convertOldOptionsToNewOnes",value:function(t){var e={aSep:"digitGroupSeparator",nSep:"showOnlyNumbersOnFocus",dGroup:"digitalGroupSpacing",aDec:"decimalCharacter",altDec:"decimalCharacterAlternative",aSign:"currencySymbol",pSign:"currencySymbolPlacement",pNeg:"negativePositiveSignPlacement",aSuffix:"suffixText",oLimits:"overrideMinMaxLimits",vMax:"maximumValue",vMin:"minimumValue",mDec:"decimalPlacesOverride",eDec:"decimalPlacesShownOnFocus",scaleDecimal:"decimalPlacesShownOnBlur",aStor:"saveValueToSessionStorage",mRound:"roundingMethod",aPad:"allowDecimalPadding",nBracket:"negativeBracketsTypeOnBlur",wEmpty:"emptyInputBehavior",lZero:"leadingZero",aForm:"formatOnPageLoad",sNumber:"selectNumberOnly",anDefault:"defaultValueOverride",unSetOnSubmit:"unformatOnSubmit",outputType:"outputFormat",debug:"showWarnings",allowDecimalPadding:!0,alwaysAllowDecimalCharacter:!0,caretPositionOnFocus:!0,createLocalList:!0,currencySymbol:!0,currencySymbolPlacement:!0,decimalCharacter:!0,decimalCharacterAlternative:!0,decimalPlaces:!0,decimalPlacesRawValue:!0,decimalPlacesShownOnBlur:!0,decimalPlacesShownOnFocus:!0,defaultValueOverride:!0,digitalGroupSpacing:!0,digitGroupSeparator:!0,divisorWhenUnfocused:!0,emptyInputBehavior:!0,eventBubbles:!0,eventIsCancelable:!0,failOnUnknownOption:!0,formatOnPageLoad:!0,formulaMode:!0,historySize:!0,isCancellable:!0,leadingZero:!0,maximumValue:!0,minimumValue:!0,modifyValueOnWheel:!0,negativeBracketsTypeOnBlur:!0,negativePositiveSignPlacement:!0,negativeSignCharacter:!0,noEventListeners:!0,onInvalidPaste:!0,outputFormat:!0,overrideMinMaxLimits:!0,positiveSignCharacter:!0,rawValueDivisor:!0,readOnly:!0,roundingMethod:!0,saveValueToSessionStorage:!0,selectNumberOnly:!0,selectOnFocus:!0,serializeSpaces:!0,showOnlyNumbersOnFocus:!0,showPositiveSign:!0,showWarnings:!0,styleRules:!0,suffixText:!0,symbolWhenUnfocused:!0,unformatOnHover:!0,unformatOnSubmit:!0,valuesToStrings:!0,watchExternalChanges:!0,wheelOn:!0,wheelStep:!0,allowedAutoStrip:!0,formulaChars:!0,isNegativeSignAllowed:!0,isPositiveSignAllowed:!0,mIntNeg:!0,mIntPos:!0,numRegAutoStrip:!0,originalDecimalPlaces:!0,originalDecimalPlacesRawValue:!0,stripReg:!0};for(var i in t)if(t.hasOwnProperty(i)){if(!0===e[i])continue;e.hasOwnProperty(i)?(s.default.warning("You are using the deprecated option name '"+i+"'. Please use '"+e[i]+"' instead from now on. The old option name will be dropped very soon™.",!0),t[e[i]]=t[i],delete t[i]):t.failOnUnknownOption&&s.default.throwError("Option name '"+i+"' is unknown. Please fix the options passed to autoNumeric")}"mDec"in t&&s.default.warning("The old `mDec` option has been deprecated in favor of more accurate options ; `decimalPlaces`, `decimalPlacesRawValue`, `decimalPlacesShownOnFocus` and `decimalPlacesShownOnBlur`.",!0)}},{key:"_setNegativePositiveSignPermissions",value:function(t){t.isNegativeSignAllowed=t.minimumValue<0,t.isPositiveSignAllowed=t.maximumValue>=0}},{key:"_toNumericValue",value:function(t,e){var i=void 0;return s.default.isNumber(Number(t))?i=s.default.scientificToDecimal(t):(i=this._convertToNumericString(t.toString(),e),s.default.isNumber(Number(i))||(s.default.warning('The given value "'+t+'" cannot be converted to a numeric one and therefore cannot be used appropriately.',e.showWarnings),i=NaN)),i}},{key:"_checkIfInRange",value:function(t,e,i){var n=s.default.parseStr(t);return s.default.testMinMax(e,n)>-1&&s.default.testMinMax(i,n)<1}},{key:"_shouldSkipEventKey",value:function(t){var e=s.default.isInArray(t,l.default.keyName._allFnKeys),i=t===l.default.keyName.OSLeft||t===l.default.keyName.OSRight,n=t===l.default.keyName.ContextMenu,r=s.default.isInArray(t,l.default.keyName._someNonPrintableKeys),o=t===l.default.keyName.NumLock||t===l.default.keyName.ScrollLock||t===l.default.keyName.Insert||t===l.default.keyName.Command,a=t===l.default.keyName.Unidentified;return e||i||n||r||a||o}},{key:"_serialize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unformatted",n=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"+",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,l=[];"object"===(void 0===t?"undefined":o(t))&&"form"===t.nodeName.toLowerCase()&&Array.prototype.slice.call(t.elements).forEach(function(t){if(t.name&&!t.disabled&&-1===["file","reset","submit","button"].indexOf(t.type))if("select-multiple"===t.type)Array.prototype.slice.call(t.options).forEach(function(i){i.selected&&(e?l.push({name:t.name,value:i.value}):l.push(encodeURIComponent(t.name)+"="+encodeURIComponent(i.value)))});else if(-1===["checkbox","radio"].indexOf(t.type)||t.checked){var r=void 0;if(n.isManagedByAutoNumeric(t)){var o=void 0;switch(i){case"unformatted":o=n.getAutoNumericElement(t),s.default.isNull(o)||(r=n.unformat(t,o.getSettings()));break;case"localized":if(o=n.getAutoNumericElement(t),!s.default.isNull(o)){var c=s.default.cloneObject(o.getSettings());s.default.isNull(a)||(c.outputFormat=a),r=n.localize(t,c)}break;case"formatted":default:r=t.value}}else r=t.value;s.default.isUndefined(r)&&s.default.throwError("This error should never be hit. If it has, something really wrong happened!"),e?l.push({name:t.name,value:r}):l.push(encodeURIComponent(t.name)+"="+encodeURIComponent(r))}});var c=void 0;return e?c=l:(c=l.join("&"),"+"===r&&(c=c.replace(/%20/g,"+"))),c}},{key:"_serializeNumericString",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+";return this._serialize(t,!1,"unformatted",e)}},{key:"_serializeFormatted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+";return this._serialize(t,!1,"formatted",e)}},{key:"_serializeLocalized",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this._serialize(t,!1,"localized",e,i)}},{key:"_serializeNumericStringArray",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+";return this._serialize(t,!0,"unformatted",e)}},{key:"_serializeFormattedArray",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+";return this._serialize(t,!0,"formatted",e)}},{key:"_serializeLocalizedArray",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"+",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this._serialize(t,!0,"localized",e,i)}}]),t}();e.default=f,f.multiple=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=[];if(s.default.isObject(e)&&(i=e,e=null),s.default.isString(t))t=[].concat(d(document.querySelectorAll(t)));else if(s.default.isObject(t)){t.hasOwnProperty("rootElement")||s.default.throwError("The object passed to the 'multiple' function is invalid ; no 'rootElement' attribute found.");var r=[].concat(d(t.rootElement.querySelectorAll("input")));t.hasOwnProperty("exclude")?(Array.isArray(t.exclude)||s.default.throwError("The 'exclude' array passed to the 'multiple' function is invalid."),t=s.default.filterOut(r,t.exclude)):t=r}else s.default.isArray(t)||s.default.throwError("The given parameters to the 'multiple' function are invalid.");if(0===t.length){var a=!0;return!s.default.isNull(i)&&s.default.isBoolean(i.showWarnings)&&(a=i.showWarnings),s.default.warning("No valid DOM elements were given hence no AutoNumeric object were instantiated.",a),[]}var l=s.default.isArray(e)&&e.length>=1,c=!1,u=!1;if(l){var h=o(Number(e[0]));(c="number"===h&&!isNaN(Number(e[0])))||("string"===h||isNaN(h)||"object"===h)&&(u=!0)}var p=!1;if(s.default.isArray(i)&&i.length>=1){var g=o(i[0]);"string"!==g&&"object"!==g||(p=!0)}var m=void 0;m=u?f.mergeOptions(e):p?f.mergeOptions(i):i;var v=s.default.isNumber(e),y=void 0;return c&&(y=e.length),t.forEach(function(t,i){v?n.push(new f(t,e,m)):c&&i<=y?n.push(new f(t,e[i],m)):n.push(new f(t,null,m))}),n},function(){if(Array.from||(Array.from=function(t){return[].slice.call(t)}),"undefined"==typeof window||"function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i}t.prototype=window.Event.prototype,window.CustomEvent=t}(),t.exports=e.default},"./src/AutoNumericDefaultSettings.js":function(t,e,i){"use strict";var n=r(i("./src/AutoNumeric.js"));r(i("./src/AutoNumericOptions.js"));function r(t){return t&&t.__esModule?t:{default:t}}n.default.defaultSettings={allowDecimalPadding:n.default.options.allowDecimalPadding.always,alwaysAllowDecimalCharacter:n.default.options.alwaysAllowDecimalCharacter.doNotAllow,caretPositionOnFocus:n.default.options.caretPositionOnFocus.doNoForceCaretPosition,createLocalList:n.default.options.createLocalList.createList,currencySymbol:n.default.options.currencySymbol.none,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,decimalCharacter:n.default.options.decimalCharacter.dot,decimalCharacterAlternative:n.default.options.decimalCharacterAlternative.none,decimalPlaces:n.default.options.decimalPlaces.two,decimalPlacesRawValue:n.default.options.decimalPlacesRawValue.useDefault,decimalPlacesShownOnBlur:n.default.options.decimalPlacesShownOnBlur.useDefault,decimalPlacesShownOnFocus:n.default.options.decimalPlacesShownOnFocus.useDefault,defaultValueOverride:n.default.options.defaultValueOverride.doNotOverride,digitalGroupSpacing:n.default.options.digitalGroupSpacing.three,digitGroupSeparator:n.default.options.digitGroupSeparator.comma,divisorWhenUnfocused:n.default.options.divisorWhenUnfocused.none,emptyInputBehavior:n.default.options.emptyInputBehavior.focus,eventBubbles:n.default.options.eventBubbles.bubbles,eventIsCancelable:n.default.options.eventIsCancelable.isCancelable,failOnUnknownOption:n.default.options.failOnUnknownOption.ignore,formatOnPageLoad:n.default.options.formatOnPageLoad.format,formulaMode:n.default.options.formulaMode.disabled,historySize:n.default.options.historySize.medium,isCancellable:n.default.options.isCancellable.cancellable,leadingZero:n.default.options.leadingZero.deny,maximumValue:n.default.options.maximumValue.tenTrillions,minimumValue:n.default.options.minimumValue.tenTrillions,modifyValueOnWheel:n.default.options.modifyValueOnWheel.modifyValue,negativeBracketsTypeOnBlur:n.default.options.negativeBracketsTypeOnBlur.none,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.none,negativeSignCharacter:n.default.options.negativeSignCharacter.hyphen,noEventListeners:n.default.options.noEventListeners.addEvents,onInvalidPaste:n.default.options.onInvalidPaste.error,outputFormat:n.default.options.outputFormat.none,overrideMinMaxLimits:n.default.options.overrideMinMaxLimits.doNotOverride,positiveSignCharacter:n.default.options.positiveSignCharacter.plus,rawValueDivisor:n.default.options.rawValueDivisor.none,readOnly:n.default.options.readOnly.readWrite,roundingMethod:n.default.options.roundingMethod.halfUpSymmetric,saveValueToSessionStorage:n.default.options.saveValueToSessionStorage.doNotSave,selectNumberOnly:n.default.options.selectNumberOnly.selectNumbersOnly,selectOnFocus:n.default.options.selectOnFocus.select,serializeSpaces:n.default.options.serializeSpaces.plus,showOnlyNumbersOnFocus:n.default.options.showOnlyNumbersOnFocus.showAll,showPositiveSign:n.default.options.showPositiveSign.hide,showWarnings:n.default.options.showWarnings.show,styleRules:n.default.options.styleRules.none,suffixText:n.default.options.suffixText.none,symbolWhenUnfocused:n.default.options.symbolWhenUnfocused.none,unformatOnHover:n.default.options.unformatOnHover.unformat,unformatOnSubmit:n.default.options.unformatOnSubmit.keepCurrentValue,valuesToStrings:n.default.options.valuesToStrings.none,watchExternalChanges:n.default.options.watchExternalChanges.doNotWatch,wheelOn:n.default.options.wheelOn.focus,wheelStep:n.default.options.wheelStep.progressive},Object.freeze(n.default.defaultSettings),Object.defineProperty(n.default,"defaultSettings",{configurable:!1,writable:!1})},"./src/AutoNumericEnum.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={allowedTagList:["b","caption","cite","code","const","dd","del","div","dfn","dt","em","h1","h2","h3","h4","h5","h6","input","ins","kdb","label","li","option","output","p","q","s","sample","span","strong","td","th","u"]};Object.freeze(n.allowedTagList),Object.defineProperty(n,"allowedTagList",{configurable:!1,writable:!1}),n.keyCode={Backspace:8,Tab:9,Enter:13,Shift:16,Ctrl:17,Alt:18,Pause:19,CapsLock:20,Esc:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,LeftArrow:37,UpArrow:38,RightArrow:39,DownArrow:40,Insert:45,Delete:46,num0:48,num1:49,num2:50,num3:51,num4:52,num5:53,num6:54,num7:55,num8:56,num9:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,OSLeft:91,OSRight:92,ContextMenu:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,MultiplyNumpad:106,PlusNumpad:107,MinusNumpad:109,DotNumpad:110,SlashNumpad:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NumLock:144,ScrollLock:145,HyphenFirefox:173,MyComputer:182,MyCalculator:183,Semicolon:186,Equal:187,Comma:188,Hyphen:189,Dot:190,Slash:191,Backquote:192,LeftBracket:219,Backslash:220,RightBracket:221,Quote:222,Command:224,AltGraph:225,AndroidDefault:229},Object.freeze(n.keyCode),Object.defineProperty(n,"keyCode",{configurable:!1,writable:!1}),n.fromCharCodeKeyCode={0:"LaunchCalculator",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",91:"OS",92:"OSRight",93:"ContextMenu",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",173:"-",182:"MyComputer",183:"MyCalculator",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Meta",225:"AltGraph"},Object.freeze(n.fromCharCodeKeyCode),Object.defineProperty(n,"fromCharCodeKeyCode",{configurable:!1,writable:!1}),n.keyName={Unidentified:"Unidentified",AndroidDefault:"AndroidDefault",Alt:"Alt",AltGr:"AltGraph",CapsLock:"CapsLock",Ctrl:"Control",Fn:"Fn",FnLock:"FnLock",Hyper:"Hyper",Meta:"Meta",OSLeft:"OS",OSRight:"OS",Command:"OS",NumLock:"NumLock",ScrollLock:"ScrollLock",Shift:"Shift",Super:"Super",Symbol:"Symbol",SymbolLock:"SymbolLock",Enter:"Enter",Tab:"Tab",Space:" ",LeftArrow:"ArrowLeft",UpArrow:"ArrowUp",RightArrow:"ArrowRight",DownArrow:"ArrowDown",End:"End",Home:"Home",PageUp:"PageUp",PageDown:"PageDown",Backspace:"Backspace",Clear:"Clear",Copy:"Copy",CrSel:"CrSel",Cut:"Cut",Delete:"Delete",EraseEof:"EraseEof",ExSel:"ExSel",Insert:"Insert",Paste:"Paste",Redo:"Redo",Undo:"Undo",Accept:"Accept",Again:"Again",Attn:"Attn",Cancel:"Cancel",ContextMenu:"ContextMenu",Esc:"Escape",Execute:"Execute",Find:"Find",Finish:"Finish",Help:"Help",Pause:"Pause",Play:"Play",Props:"Props",Select:"Select",ZoomIn:"ZoomIn",ZoomOut:"ZoomOut",BrightnessDown:"BrightnessDown",BrightnessUp:"BrightnessUp",Eject:"Eject",LogOff:"LogOff",Power:"Power",PowerOff:"PowerOff",PrintScreen:"PrintScreen",Hibernate:"Hibernate",Standby:"Standby",WakeUp:"WakeUp",Compose:"Compose",Dead:"Dead",F1:"F1",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",F10:"F10",F11:"F11",F12:"F12",Print:"Print",num0:"0",num1:"1",num2:"2",num3:"3",num4:"4",num5:"5",num6:"6",num7:"7",num8:"8",num9:"9",a:"a",b:"b",c:"c",d:"d",e:"e",f:"f",g:"g",h:"h",i:"i",j:"j",k:"k",l:"l",m:"m",n:"n",o:"o",p:"p",q:"q",r:"r",s:"s",t:"t",u:"u",v:"v",w:"w",x:"x",y:"y",z:"z",A:"A",B:"B",C:"C",D:"D",E:"E",F:"F",G:"G",H:"H",I:"I",J:"J",K:"K",L:"L",M:"M",N:"N",O:"O",P:"P",Q:"Q",R:"R",S:"S",T:"T",U:"U",V:"V",W:"W",X:"X",Y:"Y",Z:"Z",Semicolon:";",Equal:"=",Comma:",",Hyphen:"-",Minus:"-",Plus:"+",Dot:".",Slash:"/",Backquote:"`",LeftParenthesis:"(",RightParenthesis:")",LeftBracket:"[",RightBracket:"]",Backslash:"\\",Quote:"'",numpad0:"0",numpad1:"1",numpad2:"2",numpad3:"3",numpad4:"4",numpad5:"5",numpad6:"6",numpad7:"7",numpad8:"8",numpad9:"9",NumpadDot:".",NumpadDotAlt:",",NumpadMultiply:"*",NumpadPlus:"+",NumpadMinus:"-",NumpadSubtract:"-",NumpadSlash:"/",NumpadDotObsoleteBrowsers:"Decimal",NumpadMultiplyObsoleteBrowsers:"Multiply",NumpadPlusObsoleteBrowsers:"Add",NumpadMinusObsoleteBrowsers:"Subtract",NumpadSlashObsoleteBrowsers:"Divide",_allFnKeys:["F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"],_someNonPrintableKeys:["Tab","Enter","Shift","ShiftLeft","ShiftRight","Control","ControlLeft","ControlRight","Alt","AltLeft","AltRight","Pause","CapsLock","Escape"],_directionKeys:["PageUp","PageDown","End","Home","ArrowDown","ArrowLeft","ArrowRight","ArrowUp"]},Object.freeze(n.keyName._allFnKeys),Object.freeze(n.keyName._someNonPrintableKeys),Object.freeze(n.keyName._directionKeys),Object.freeze(n.keyName),Object.defineProperty(n,"keyName",{configurable:!1,writable:!1}),Object.freeze(n),e.default=n,t.exports=e.default},"./src/AutoNumericEvents.js":function(t,e,i){"use strict";var n,r=i("./src/AutoNumeric.js"),o=(n=r)&&n.__esModule?n:{default:n};o.default.events={initialized:"autoNumeric:initialized",invalidFormula:"autoNumeric:invalidFormula",formatted:"autoNumeric:formatted",rawValueModified:"autoNumeric:rawValueModified",minRangeExceeded:"autoNumeric:minExceeded",maxRangeExceeded:"autoNumeric:maxExceeded",native:{input:"input",change:"change"},validFormula:"autoNumeric:validFormula"},Object.freeze(o.default.events.native),Object.freeze(o.default.events),Object.defineProperty(o.default,"events",{configurable:!1,writable:!1})},"./src/AutoNumericHelper.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},o=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),l=i("./src/AutoNumericEnum.js"),c=(n=l)&&n.__esModule?n:{default:n};function u(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}var h=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return s(t,null,[{key:"isNull",value:function(t){return null===t}},{key:"isUndefined",value:function(t){return void 0===t}},{key:"isUndefinedOrNullOrEmpty",value:function(t){return null==t||""===t}},{key:"isString",value:function(t){return"string"==typeof t||t instanceof String}},{key:"isEmptyString",value:function(t){return""===t}},{key:"isBoolean",value:function(t){return"boolean"==typeof t}},{key:"isTrueOrFalseString",value:function(t){var e=String(t).toLowerCase();return"true"===e||"false"===e}},{key:"isObject",value:function(t){return"object"===(void 0===t?"undefined":a(t))&&null!==t&&!Array.isArray(t)}},{key:"isEmptyObj",value:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}},{key:"isNumberStrict",value:function(t){return"number"==typeof t}},{key:"isNumber",value:function(t){return!this.isArray(t)&&!isNaN(parseFloat(t))&&isFinite(t)}},{key:"isDigit",value:function(t){return/\d/.test(t)}},{key:"isNumberOrArabic",value:function(t){var e=this.arabicToLatinNumbers(t,!1,!0,!0);return this.isNumber(e)}},{key:"isInt",value:function(t){return"number"==typeof t&&parseFloat(t)===parseInt(t,10)&&!isNaN(t)}},{key:"isFunction",value:function(t){return"function"==typeof t}},{key:"isIE11",value:function(){return!!window.MSInputMethodContext&&!!document.documentMode}},{key:"contains",value:function(t,e){return!(!this.isString(t)||!this.isString(e)||""===t||""===e)&&-1!==t.indexOf(e)}},{key:"isInArray",value:function(t,e){return!(!this.isArray(e)||e===[]||this.isUndefined(t))&&-1!==e.indexOf(t)}},{key:"isArray",value:function(t){if("[object Array]"===Object.prototype.toString.call([]))return Array.isArray(t)||"object"===(void 0===t?"undefined":a(t))&&"[object Array]"===Object.prototype.toString.call(t);throw new Error("toString message changed for Object Array")}},{key:"isElement",value:function(t){return"undefined"!=typeof Element&&t instanceof Element}},{key:"isInputElement",value:function(t){return this.isElement(t)&&"input"===t.tagName.toLowerCase()}},{key:"decimalPlaces",value:function(t){var e=t.split("."),i=o(e,2)[1];return this.isUndefined(i)?0:i.length}},{key:"indexFirstNonZeroDecimalPlace",value:function(t){var e=String(Math.abs(t)).split("."),i=o(e,2)[1];if(this.isUndefined(i))return 0;var n=i.lastIndexOf("0");return-1===n?n=0:n+=2,n}},{key:"keyCodeNumber",value:function(t){return void 0===t.which?t.keyCode:t.which}},{key:"character",value:function(e){var i=void 0;if("Unidentified"===e.key||void 0===e.key||this.isSeleniumBot()){var n=this.keyCodeNumber(e);if(n===c.default.keyCode.AndroidDefault)return c.default.keyName.AndroidDefault;var r=c.default.fromCharCodeKeyCode[n];i=t.isUndefinedOrNullOrEmpty(r)?String.fromCharCode(n):r}else{var o=void 0;switch(e.key){case"Add":i=c.default.keyName.NumpadPlus;break;case"Apps":i=c.default.keyName.ContextMenu;break;case"Crsel":i=c.default.keyName.CrSel;break;case"Decimal":i=c.default.keyName.NumpadDot;break;case"Del":i="firefox"===(o=this.browser()).name&&o.version<=36||"ie"===o.name&&o.version<=9?c.default.keyName.Dot:c.default.keyName.Delete;break;case"Divide":i=c.default.keyName.NumpadSlash;break;case"Down":i=c.default.keyName.DownArrow;break;case"Esc":i=c.default.keyName.Esc;break;case"Exsel":i=c.default.keyName.ExSel;break;case"Left":i=c.default.keyName.LeftArrow;break;case"Meta":case"Super":i=c.default.keyName.OSLeft;break;case"Multiply":i=c.default.keyName.NumpadMultiply;break;case"Right":i=c.default.keyName.RightArrow;break;case"Spacebar":i=c.default.keyName.Space;break;case"Subtract":i=c.default.keyName.NumpadMinus;break;case"Up":i=c.default.keyName.UpArrow;break;default:i=e.key}}return i}},{key:"browser",value:function(){var t=navigator.userAgent,e=void 0,i=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(i[1])?{name:"ie",version:(e=/\brv[ :]+(\d+)/g.exec(t)||[])[1]||""}:"Chrome"===i[1]&&null!==(e=t.match(/\b(OPR|Edge)\/(\d+)/))?{name:e[1].replace("OPR","opera"),version:e[2]}:(i=i[2]?[i[1],i[2]]:[navigator.appName,navigator.appVersion,"-?"],null!==(e=t.match(/version\/(\d+)/i))&&i.splice(1,1,e[1]),{name:i[0].toLowerCase(),version:i[1]})}},{key:"isSeleniumBot",value:function(){return!0===window.navigator.webdriver}},{key:"isNegative",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e===i||""!==e&&(t.isNumber(e)?e<0:n?this.contains(e,i):this.isNegativeStrict(e,i))}},{key:"isNegativeStrict",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.charAt(0)===e}},{key:"isNegativeWithBrackets",value:function(t,e,i){return t.charAt(0)===e&&this.contains(t,i)}},{key:"isZeroOrHasNoValue",value:function(t){return!/[1-9]/g.test(t)}},{key:"setRawNegativeSign",value:function(t){return this.isNegativeStrict(t,"-")?t:"-"+t}},{key:"replaceCharAt",value:function(t,e,i){return""+t.substr(0,e)+i+t.substr(e+i.length)}},{key:"clampToRangeLimits",value:function(t,e){return Math.max(e.minimumValue,Math.min(e.maximumValue,t))}},{key:"countNumberCharactersOnTheCaretLeftSide",value:function(t,e,i){for(var n=new RegExp("[0-9"+i+"-]"),r=0,o=0;o<e;o++)n.test(t[o])&&r++;return r}},{key:"findCaretPositionInFormattedNumber",value:function(t,e,i,n){var r=i.length,o=t.length,a=void 0,s=0;for(a=0;a<r&&s<o&&s<e;a++)(t[s]===i[a]||"."===t[s]&&i[a]===n)&&s++;return a}},{key:"countCharInText",value:function(t,e){for(var i=0,n=0;n<e.length;n++)e[n]===t&&i++;return i}},{key:"convertCharacterCountToIndexPosition",value:function(t){return Math.max(t,t-1)}},{key:"getElementSelection",value:function(t){var e={},i=void 0;try{i=this.isUndefined(t.selectionStart)}catch(t){i=!1}try{if(i){var n=window.getSelection().getRangeAt(0);e.start=n.startOffset,e.end=n.endOffset,e.length=e.end-e.start}else e.start=t.selectionStart,e.end=t.selectionEnd,e.length=e.end-e.start}catch(t){e.start=0,e.end=0,e.length=0}return e}},{key:"setElementSelection",value:function(e,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(this.isUndefinedOrNullOrEmpty(n)&&(n=i),this.isInputElement(e))e.setSelectionRange(i,n);else if(!t.isNull(e.firstChild)){var r=document.createRange();r.setStart(e.firstChild,i),r.setEnd(e.firstChild,n);var o=window.getSelection();o.removeAllRanges(),o.addRange(r)}}},{key:"throwError",value:function(t){throw new Error(t)}},{key:"warning",value:function(t){(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&console.warn("Warning: "+t)}},{key:"isWheelUpEvent",value:function(t){return t.deltaY||this.throwError("The event passed as a parameter is not a valid wheel event, '"+t.type+"' given."),t.deltaY<0}},{key:"isWheelDownEvent",value:function(t){return t.deltaY||this.throwError("The event passed as a parameter is not a valid wheel event, '"+t.type+"' given."),t.deltaY>0}},{key:"forceDecimalPlaces",value:function(t,e){var i=String(t).split("."),n=o(i,2),r=n[0],a=n[1];return a?r+"."+a.substr(0,e):t}},{key:"roundToNearest",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;return 0===t?0:(0===e&&this.throwError("The `stepPlace` used to round is equal to `0`. This value must not be equal to zero."),Math.round(t/e)*e)}},{key:"modifyAndRoundToNearestAuto",value:function(t,e,i){t=Number(this.forceDecimalPlaces(t,i));var n=Math.abs(t);if(n>=0&&n<1){var r=Math.pow(10,-i);if(0===t)return e?r:-r;var o=void 0,a=i,s=this.indexFirstNonZeroDecimalPlace(t);o=s>=a-1?r:Math.pow(10,-(s+1));var l=void 0;return l=e?t+o:t-o,this.roundToNearest(l,o)}t=parseInt(t,10);var c=Math.abs(t).toString().length,u=void 0;switch(c){case 1:u=0;break;case 2:case 3:u=1;break;case 4:case 5:u=2;break;default:u=c-3}var h=Math.pow(10,u),d=void 0;return(d=e?t+h:t-h)<=10&&d>=-10?d:this.roundToNearest(d,h)}},{key:"addAndRoundToNearestAuto",value:function(t,e){return this.modifyAndRoundToNearestAuto(t,!0,e)}},{key:"subtractAndRoundToNearestAuto",value:function(t,e){return this.modifyAndRoundToNearestAuto(t,!1,e)}},{key:"arabicToLatinNumbers",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this.isNull(t))return t;var r=t.toString();if(""===r)return t;if(null===r.match(/[٠١٢٣٤٥٦٧٨٩۴۵۶]/g))return e&&(r=Number(r)),r;i&&(r=r.replace(/٫/,".")),n&&(r=r.replace(/٬/g,"")),r=r.replace(/[٠١٢٣٤٥٦٧٨٩]/g,function(t){return t.charCodeAt(0)-1632}).replace(/[۰۱۲۳۴۵۶۷۸۹]/g,function(t){return t.charCodeAt(0)-1776});var o=Number(r);return isNaN(o)?o:(e&&(r=o),r)}},{key:"triggerEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=void 0;window.CustomEvent?o=new CustomEvent(t,{detail:i,bubbles:n,cancelable:r}):(o=document.createEvent("CustomEvent")).initCustomEvent(t,n,r,{detail:i}),e.dispatchEvent(o)}},{key:"parseStr",value:function(t){var e={},i=void 0,n=void 0,r=void 0,o=void 0;if(0===t&&1/t<0&&(t="-0"),t=t.toString(),this.isNegativeStrict(t,"-")?(t=t.slice(1),e.s=-1):e.s=1,(i=t.indexOf("."))>-1&&(t=t.replace(".","")),i<0&&(i=t.length),(n=-1===t.search(/[1-9]/i)?t.length:t.search(/[1-9]/i))===(r=t.length))e.e=0,e.c=[0];else{for(o=r-1;"0"===t.charAt(o);o-=1)r-=1;for(r-=1,e.e=i-n-1,e.c=[],i=0;n<=r;n+=1)e.c[i]=+t.charAt(n),i+=1}return e}},{key:"testMinMax",value:function(t,e){var i=e.c,n=t.c,r=e.s,o=t.s,a=e.e,s=t.e;if(!i[0]||!n[0]){return i[0]?r:n[0]?-o:0}if(r!==o)return r;var l=r<0;if(a!==s)return a>s^l?1:-1;for(r=-1,o=(a=i.length)<(s=n.length)?a:s,r+=1;r<o;r+=1)if(i[r]!==n[r])return i[r]>n[r]^l?1:-1;return a===s?0:a>s^l?1:-1}},{key:"randomString",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return Math.random().toString(36).substr(2,t)}},{key:"domElement",value:function(e){var i=void 0;return i=t.isString(e)?document.querySelector(e):e,i}},{key:"getElementValue",value:function(t){return"input"===t.tagName.toLowerCase()?t.value:this.text(t)}},{key:"setElementValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;"input"===t.tagName.toLowerCase()?t.value=e:t.textContent=e}},{key:"cloneObject",value:function(t){return r({},t)}},{key:"camelize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(this.isNull(t))return null;i&&(t=t.replace(/^data-/,""));var r=t.split(e).map(function(t){return""+t.charAt(0).toUpperCase()+t.slice(1)});return r=r.join(""),n&&(r=""+r.charAt(0).toLowerCase()+r.slice(1)),r}},{key:"text",value:function(t){var e=t.nodeType;return e===Node.ELEMENT_NODE||e===Node.DOCUMENT_NODE||e===Node.DOCUMENT_FRAGMENT_NODE?t.textContent:e===Node.TEXT_NODE?t.nodeValue:""}},{key:"setText",value:function(t,e){var i=t.nodeType;i!==Node.ELEMENT_NODE&&i!==Node.DOCUMENT_NODE&&i!==Node.DOCUMENT_FRAGMENT_NODE||(t.textContent=e)}},{key:"filterOut",value:function(t,e){var i=this;return t.filter(function(t){return!i.isInArray(t,e)})}},{key:"trimPaddedZerosFromDecimalPlaces",value:function(t){if(""===(t=String(t)))return"";var e=t.split("."),i=o(e,2),n=i[0],r=i[1];if(this.isUndefinedOrNullOrEmpty(r))return n;var a=r.replace(/0+$/g,"");return""===a?n:n+"."+a}},{key:"getHoveredElement",value:function(){var t=[].concat(u(document.querySelectorAll(":hover")));return t[t.length-1]}},{key:"arrayTrim",value:function(t,e){var i=t.length;return 0===i||e>i?t:e<0?[]:(t.length=parseInt(e,10),t)}},{key:"arrayUnique",value:function(){var t;return[].concat(u(new Set((t=[]).concat.apply(t,arguments))))}},{key:"mergeMaps",value:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return new Map(e.reduce(function(t,e){return t.concat([].concat(u(e)))},[]))}},{key:"objectKeyLookup",value:function(t,e){var i=Object.entries(t).find(function(t){return t[1]===e}),n=null;return void 0!==i&&(n=i[0]),n}},{key:"insertAt",value:function(t,e,i){if(i>(t=String(t)).length)throw new Error("The given index is out of the string range.");if(1!==e.length)throw new Error("The given string `char` should be only one character long.");return""===t&&0===i?e:""+t.slice(0,i)+e+t.slice(i)}},{key:"scientificToDecimal",value:function(t){var e=Number(t);if(isNaN(e))return NaN;if(t=String(t),!(this.contains(t,"e")||this.contains(t,"E")))return t;var i=t.split(/e/i),n=o(i,2),r=n[0],a=n[1],s=r<0;s&&(r=r.replace("-",""));var l=+a<0;l&&(a=a.replace("-",""));var c=r.split(/\./),u=o(c,2),h=u[0],d=u[1],f=void 0;return l?f=""+(f=h.length>a?this.insertAt(h,".",h.length-a):"0."+"0".repeat(a-h.length)+h)+(d||""):d?(r=""+h+d,f=a<d.length?this.insertAt(r,".",+a+h.length):""+r+"0".repeat(a-d.length)):f=""+(r=r.replace(".",""))+"0".repeat(Number(a)),s&&(f="-"+f),f}}]),t}();e.default=h,t.exports=e.default},"./src/AutoNumericOptions.js":function(t,e,i){"use strict";var n,r=a(i("./src/AutoNumeric.js")),o=a(i("./src/AutoNumericHelper.js"));function a(t){return t&&t.__esModule?t:{default:t}}r.default.options={allowDecimalPadding:{always:!0,never:!1,floats:"floats"},alwaysAllowDecimalCharacter:{alwaysAllow:!0,doNotAllow:!1},caretPositionOnFocus:{start:"start",end:"end",decimalLeft:"decimalLeft",decimalRight:"decimalRight",doNoForceCaretPosition:null},createLocalList:{createList:!0,doNotCreateList:!1},currencySymbol:{none:"",currencySign:"¤",austral:"₳",australCentavo:"¢",baht:"฿",cedi:"₵",cent:"¢",colon:"₡",cruzeiro:"₢",dollar:"$",dong:"₫",drachma:"₯",dram:"​֏",european:"₠",euro:"€",florin:"ƒ",franc:"₣",guarani:"₲",hryvnia:"₴",kip:"₭",att:"ອັດ",lepton:"Λ.",lira:"₺",liraOld:"₤",lari:"₾",mark:"",mill:"₥",naira:"₦",peseta:"₧",peso:"₱",pfennig:"₰",pound:"£",real:"R$",riel:"៛",ruble:"₽",rupee:"₹",rupeeOld:"₨",shekel:"₪",shekelAlt:"ש״ח‎",taka:"৳",tenge:"₸",togrog:"₮",won:"₩",yen:"¥"},currencySymbolPlacement:{prefix:"p",suffix:"s"},decimalCharacter:{comma:",",dot:".",middleDot:"·",arabicDecimalSeparator:"٫",decimalSeparatorKeySymbol:"⎖"},decimalCharacterAlternative:{none:null,comma:",",dot:"."},decimalPlaces:{none:0,one:1,two:2,three:3,four:4,five:5,six:6},decimalPlacesRawValue:{useDefault:null,none:0,one:1,two:2,three:3,four:4,five:5,six:6},decimalPlacesShownOnBlur:{useDefault:null,none:0,one:1,two:2,three:3,four:4,five:5,six:6},decimalPlacesShownOnFocus:{useDefault:null,none:0,one:1,two:2,three:3,four:4,five:5,six:6},defaultValueOverride:{doNotOverride:null},digitalGroupSpacing:{two:"2",twoScaled:"2s",three:"3",four:"4"},digitGroupSeparator:{comma:",",dot:".",normalSpace:" ",thinSpace:"",narrowNoBreakSpace:"",noBreakSpace:" ",noSeparator:"",apostrophe:"'",arabicThousandsSeparator:"٬",dotAbove:"˙",privateUseTwo:""},divisorWhenUnfocused:{none:null,percentage:100,permille:1e3,basisPoint:1e4},emptyInputBehavior:{focus:"focus",press:"press",always:"always",zero:"zero",min:"min",max:"max",null:"null"},eventBubbles:{bubbles:!0,doesNotBubble:!1},eventIsCancelable:{isCancelable:!0,isNotCancelable:!1},failOnUnknownOption:{fail:!0,ignore:!1},formatOnPageLoad:{format:!0,doNotFormat:!1},formulaMode:{enabled:!0,disabled:!1},historySize:{verySmall:5,small:10,medium:20,large:50,veryLarge:100,insane:Number.MAX_SAFE_INTEGER},isCancellable:{cancellable:!0,notCancellable:!1},leadingZero:{allow:"allow",deny:"deny",keep:"keep"},maximumValue:{tenTrillions:"10000000000000",oneBillion:"1000000000",zero:"0"},minimumValue:{tenTrillions:"-10000000000000",oneBillion:"-1000000000",zero:"0"},modifyValueOnWheel:{modifyValue:!0,doNothing:!1},negativeBracketsTypeOnBlur:{parentheses:"(,)",brackets:"[,]",chevrons:"<,>",curlyBraces:"{,}",angleBrackets:"〈,〉",japaneseQuotationMarks:"「,」",halfBrackets:"⸤,⸥",whiteSquareBrackets:"⟦,⟧",quotationMarks:",",guillemets:"«,»",none:null},negativePositiveSignPlacement:{prefix:"p",suffix:"s",left:"l",right:"r",none:null},negativeSignCharacter:{hyphen:"-",minus:"",heavyMinus:"",fullWidthHyphen:"",circledMinus:"⊖",squaredMinus:"⊟",triangleMinus:"⨺",plusMinus:"±",minusPlus:"∓",dotMinus:"∸",minusTilde:"≂",not:"¬"},noEventListeners:{noEvents:!0,addEvents:!1},onInvalidPaste:{error:"error",ignore:"ignore",clamp:"clamp",truncate:"truncate",replace:"replace"},outputFormat:{string:"string",number:"number",dot:".",negativeDot:"-.",comma:",",negativeComma:"-,",dotNegative:".-",commaNegative:",-",none:null},overrideMinMaxLimits:{ceiling:"ceiling",floor:"floor",ignore:"ignore",doNotOverride:null},positiveSignCharacter:{plus:"+",fullWidthPlus:"",heavyPlus:"",doublePlus:"⧺",triplePlus:"⧻",circledPlus:"⊕",squaredPlus:"⊞",trianglePlus:"⨹",plusMinus:"±",minusPlus:"∓",dotPlus:"∔",altHebrewPlus:"﬩",normalSpace:" ",thinSpace:"",narrowNoBreakSpace:"",noBreakSpace:" "},rawValueDivisor:{none:null,percentage:100,permille:1e3,basisPoint:1e4},readOnly:{readOnly:!0,readWrite:!1},roundingMethod:{halfUpSymmetric:"S",halfUpAsymmetric:"A",halfDownSymmetric:"s",halfDownAsymmetric:"a",halfEvenBankersRounding:"B",upRoundAwayFromZero:"U",downRoundTowardZero:"D",toCeilingTowardPositiveInfinity:"C",toFloorTowardNegativeInfinity:"F",toNearest05:"N05",toNearest05Alt:"CHF",upToNext05:"U05",downToNext05:"D05"},saveValueToSessionStorage:{save:!0,doNotSave:!1},selectNumberOnly:{selectNumbersOnly:!0,selectAll:!1},selectOnFocus:{select:!0,doNotSelect:!1},serializeSpaces:{plus:"+",percent:"%20"},showOnlyNumbersOnFocus:{onlyNumbers:!0,showAll:!1},showPositiveSign:{show:!0,hide:!1},showWarnings:{show:!0,hide:!1},styleRules:{none:null,positiveNegative:{positive:"autoNumeric-positive",negative:"autoNumeric-negative"},range0To100With4Steps:{ranges:[{min:0,max:25,class:"autoNumeric-red"},{min:25,max:50,class:"autoNumeric-orange"},{min:50,max:75,class:"autoNumeric-yellow"},{min:75,max:100,class:"autoNumeric-green"}]},evenOdd:{userDefined:[{callback:function(t){return t%2==0},classes:["autoNumeric-even","autoNumeric-odd"]}]},rangeSmallAndZero:{userDefined:[{callback:function(t){return t>=-1&&t<0?0:0===Number(t)?1:t>0&&t<=1?2:null},classes:["autoNumeric-small-negative","autoNumeric-zero","autoNumeric-small-positive"]}]}},suffixText:{none:"",percentage:"%",permille:"‰",basisPoint:"‱"},symbolWhenUnfocused:{none:null,percentage:"%",permille:"‰",basisPoint:"‱"},unformatOnHover:{unformat:!0,doNotUnformat:!1},unformatOnSubmit:{unformat:!0,keepCurrentValue:!1},valuesToStrings:{none:null,zeroDash:{0:"-"},oneAroundZero:{"-1":"Min",1:"Max"}},watchExternalChanges:{watch:!0,doNotWatch:!1},wheelOn:{focus:"focus",hover:"hover"},wheelStep:{progressive:"progressive"}},n=r.default.options,Object.getOwnPropertyNames(n).forEach(function(t){"valuesToStrings"===t?Object.getOwnPropertyNames(n.valuesToStrings).forEach(function(t){o.default.isIE11()||null===n.valuesToStrings[t]||Object.freeze(n.valuesToStrings[t])}):"styleRules"!==t&&(o.default.isIE11()||null===n[t]||Object.freeze(n[t]))}),Object.freeze(n),Object.defineProperty(r.default,"options",{configurable:!1,writable:!1})},"./src/AutoNumericPredefinedOptions.js":function(t,e,i){"use strict";var n=o(i("./src/AutoNumeric.js")),r=o(i("./src/AutoNumericHelper.js"));function o(t){return t&&t.__esModule?t:{default:t}}var a={digitGroupSeparator:n.default.options.digitGroupSeparator.dot,decimalCharacter:n.default.options.decimalCharacter.comma,decimalCharacterAlternative:n.default.options.decimalCharacterAlternative.dot,currencySymbol:" €",currencySymbolPlacement:n.default.options.currencySymbolPlacement.suffix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.prefix},s={digitGroupSeparator:n.default.options.digitGroupSeparator.comma,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.dollar,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.right},l={digitGroupSeparator:n.default.options.digitGroupSeparator.comma,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.yen,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.right};r.default.cloneObject(a).formulaMode=n.default.options.formulaMode.enabled;var c=r.default.cloneObject(a);c.minimumValue=0;var u=r.default.cloneObject(a);u.maximumValue=0,u.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var h=r.default.cloneObject(a);h.digitGroupSeparator=n.default.options.digitGroupSeparator.normalSpace;var d=r.default.cloneObject(h);d.minimumValue=0;var f=r.default.cloneObject(h);f.maximumValue=0,f.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var p=r.default.cloneObject(a);p.currencySymbol=n.default.options.currencySymbol.none,p.suffixText=""+n.default.options.suffixText.percentage,p.wheelStep=1e-4,p.rawValueDivisor=n.default.options.rawValueDivisor.percentage;var g=r.default.cloneObject(p);g.minimumValue=0;var m=r.default.cloneObject(p);m.maximumValue=0,m.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var v=r.default.cloneObject(p);v.decimalPlaces=3;var y=r.default.cloneObject(g);y.decimalPlaces=3;var b=r.default.cloneObject(m);b.decimalPlaces=3,r.default.cloneObject(s).formulaMode=n.default.options.formulaMode.enabled;var L=r.default.cloneObject(s);L.minimumValue=0;var x=r.default.cloneObject(s);x.maximumValue=0,x.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var w=r.default.cloneObject(x);w.negativeBracketsTypeOnBlur=n.default.options.negativeBracketsTypeOnBlur.parentheses;var _=r.default.cloneObject(s);_.currencySymbol=n.default.options.currencySymbol.none,_.suffixText=n.default.options.suffixText.percentage,_.wheelStep=1e-4,_.rawValueDivisor=n.default.options.rawValueDivisor.percentage;var S=r.default.cloneObject(_);S.minimumValue=0;var C=r.default.cloneObject(_);C.maximumValue=0,C.negativePositiveSignPlacement=n.default.options.negativePositiveSignPlacement.prefix;var k=r.default.cloneObject(_);k.decimalPlaces=3;var T=r.default.cloneObject(S);T.decimalPlaces=3;var E=r.default.cloneObject(C);E.decimalPlaces=3;var A=r.default.cloneObject(a);A.currencySymbol=n.default.options.currencySymbol.lira,n.default.predefinedOptions={euro:a,euroPos:c,euroNeg:u,euroSpace:h,euroSpacePos:d,euroSpaceNeg:f,percentageEU2dec:p,percentageEU2decPos:g,percentageEU2decNeg:m,percentageEU3dec:v,percentageEU3decPos:y,percentageEU3decNeg:b,dollar:s,dollarPos:L,dollarNeg:x,dollarNegBrackets:w,percentageUS2dec:_,percentageUS2decPos:S,percentageUS2decNeg:C,percentageUS3dec:k,percentageUS3decPos:T,percentageUS3decNeg:E,French:a,Spanish:a,NorthAmerican:s,British:{digitGroupSeparator:n.default.options.digitGroupSeparator.comma,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.pound,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.right},Swiss:{digitGroupSeparator:n.default.options.digitGroupSeparator.apostrophe,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:"CHF",currencySymbolPlacement:n.default.options.currencySymbolPlacement.suffix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.prefix},Japanese:l,Chinese:l,Brazilian:{digitGroupSeparator:n.default.options.digitGroupSeparator.dot,decimalCharacter:n.default.options.decimalCharacter.comma,currencySymbol:n.default.options.currencySymbol.real,currencySymbolPlacement:n.default.options.currencySymbolPlacement.prefix,negativePositiveSignPlacement:n.default.options.negativePositiveSignPlacement.right},Turkish:A,dotDecimalCharCommaSeparator:{digitGroupSeparator:n.default.options.digitGroupSeparator.comma,decimalCharacter:n.default.options.decimalCharacter.dot},commaDecimalCharDotSeparator:{digitGroupSeparator:n.default.options.digitGroupSeparator.dot,decimalCharacter:n.default.options.decimalCharacter.comma,decimalCharacterAlternative:n.default.options.decimalCharacterAlternative.dot},integer:{decimalPlaces:0},integerPos:{minimumValue:n.default.options.minimumValue.zero,decimalPlaces:0},integerNeg:{maximumValue:n.default.options.maximumValue.zero,decimalPlaces:0},float:{allowDecimalPadding:n.default.options.allowDecimalPadding.never},floatPos:{allowDecimalPadding:n.default.options.allowDecimalPadding.never,minimumValue:n.default.options.minimumValue.zero,maximumValue:n.default.options.maximumValue.tenTrillions},floatNeg:{allowDecimalPadding:n.default.options.allowDecimalPadding.never,minimumValue:n.default.options.minimumValue.tenTrillions,maximumValue:n.default.options.maximumValue.zero},numeric:{digitGroupSeparator:n.default.options.digitGroupSeparator.noSeparator,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.none},numericPos:{digitGroupSeparator:n.default.options.digitGroupSeparator.noSeparator,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.none,minimumValue:n.default.options.minimumValue.zero,maximumValue:n.default.options.maximumValue.tenTrillions},numericNeg:{digitGroupSeparator:n.default.options.digitGroupSeparator.noSeparator,decimalCharacter:n.default.options.decimalCharacter.dot,currencySymbol:n.default.options.currencySymbol.none,minimumValue:n.default.options.minimumValue.tenTrillions,maximumValue:n.default.options.maximumValue.zero}},Object.getOwnPropertyNames(n.default.predefinedOptions).forEach(function(t){Object.freeze(n.default.predefinedOptions[t])}),Object.freeze(n.default.predefinedOptions),Object.defineProperty(n.default,"predefinedOptions",{configurable:!1,writable:!1})},"./src/main.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(i("./src/AutoNumeric.js"));r(i("./src/AutoNumericEvents.js")),r(i("./src/AutoNumericOptions.js")),r(i("./src/AutoNumericDefaultSettings.js")),r(i("./src/AutoNumericPredefinedOptions.js"));function r(t){return t&&t.__esModule?t:{default:t}}e.default=n.default,t.exports=e.default},"./src/maths/ASTNode.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();var r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return n(t,null,[{key:"createNode",value:function(e,i,n){var r=new t;return r.type=e,r.left=i,r.right=n,r}},{key:"createUnaryNode",value:function(e){var i=new t;return i.type="unaryMinus",i.left=e,i.right=null,i}},{key:"createLeaf",value:function(e){var i=new t;return i.type="number",i.value=e,i}}]),t}();e.default=r,t.exports=e.default},"./src/maths/Evaluator.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();var r=function(){function t(e){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),null===e)throw new Error("Invalid AST")}return n(t,[{key:"evaluate",value:function(t){if(null==t)throw new Error("Invalid AST sub-tree");if("number"===t.type)return t.value;if("unaryMinus"===t.type)return-this.evaluate(t.left);var e=this.evaluate(t.left),i=this.evaluate(t.right);switch(t.type){case"op_+":return Number(e)+Number(i);case"op_-":return e-i;case"op_*":return e*i;case"op_/":return e/i;default:throw new Error("Invalid operator '"+t.type+"'")}}}]),t}();e.default=r,t.exports=e.default},"./src/maths/Lexer.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=a(i("./src/AutoNumericHelper.js")),o=a(i("./src/maths/Token.js"));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.text=e,this.textLength=e.length,this.index=0,this.token=new o.default("Error",0,0)}return n(t,[{key:"_skipSpaces",value:function(){for(;" "===this.text[this.index]&&this.index<=this.textLength;)this.index++}},{key:"getIndex",value:function(){return this.index}},{key:"getNextToken",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".";if(this._skipSpaces(),this.textLength===this.index)return this.token.type="EOT",this.token;if(r.default.isDigit(this.text[this.index]))return this.token.type="num",this.token.value=this._getNumber(t),this.token;switch(this.token.type="Error",this.text[this.index]){case"+":this.token.type="+";break;case"-":this.token.type="-";break;case"*":this.token.type="*";break;case"/":this.token.type="/";break;case"(":this.token.type="(";break;case")":this.token.type=")"}if("Error"===this.token.type)throw new Error("Unexpected token '"+this.token.symbol+"' at position '"+this.token.index+"' in the token function");return this.token.symbol=this.text[this.index],this.index++,this.token}},{key:"_getNumber",value:function(t){this._skipSpaces();for(var e=this.index;this.index<=this.textLength&&r.default.isDigit(this.text[this.index]);)this.index++;for(this.text[this.index]===t&&this.index++;this.index<=this.textLength&&r.default.isDigit(this.text[this.index]);)this.index++;if(this.index===e)throw new Error("No number has been found while it was expected");return this.text.substring(e,this.index).replace(t,".")}}]),t}();e.default=s,t.exports=e.default},"./src/maths/Parser.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=a(i("./src/maths/ASTNode.js")),o=a(i("./src/maths/Lexer.js"));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".";return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.text=e,this.decimalCharacter=i,this.lexer=new o.default(e),this.token=this.lexer.getNextToken(this.decimalCharacter),this._exp()}return n(t,[{key:"_exp",value:function(){var t=this._term(),e=this._moreExp();return r.default.createNode("op_+",t,e)}},{key:"_moreExp",value:function(){var t=void 0,e=void 0;switch(this.token.type){case"+":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._term(),e=this._moreExp(),r.default.createNode("op_+",e,t);case"-":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._term(),e=this._moreExp(),r.default.createNode("op_-",e,t)}return r.default.createLeaf(0)}},{key:"_term",value:function(){var t=this._factor(),e=this._moreTerms();return r.default.createNode("op_*",t,e)}},{key:"_moreTerms",value:function(){var t=void 0,e=void 0;switch(this.token.type){case"*":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._factor(),e=this._moreTerms(),r.default.createNode("op_*",e,t);case"/":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._factor(),e=this._moreTerms(),r.default.createNode("op_/",e,t)}return r.default.createLeaf(1)}},{key:"_factor",value:function(){var t=void 0,e=void 0,i=void 0;switch(this.token.type){case"num":return i=this.token.value,this.token=this.lexer.getNextToken(this.decimalCharacter),r.default.createLeaf(i);case"-":return this.token=this.lexer.getNextToken(this.decimalCharacter),e=this._factor(),r.default.createUnaryNode(e);case"(":return this.token=this.lexer.getNextToken(this.decimalCharacter),t=this._exp(),this._match(")"),t;default:throw new Error("Unexpected token '"+this.token.symbol+"' with type '"+this.token.type+"' at position '"+this.token.index+"' in the factor function")}}},{key:"_match",value:function(t){var e=this.lexer.getIndex()-1;if(this.text[e]!==t)throw new Error("Unexpected token '"+this.token.symbol+"' at position '"+e+"' in the match function");this.token=this.lexer.getNextToken(this.decimalCharacter)}}]),t}();e.default=s,t.exports=e.default},"./src/maths/Token.js":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function t(e,i,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.type=e,this.value=i,this.symbol=n},t.exports=e.default}})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e((t=t||self).jQuery)}(this,function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e=function(){function e(t,e,i,n){this.markup=t,this.children=e,this.options=i,this.callback=n}return e.prototype.render=function(e){var i=t(this.markup);if(this.options&&this.options.contents&&i.html(this.options.contents),this.options&&this.options.className&&i.addClass(this.options.className),this.options&&this.options.data&&t.each(this.options.data,function(t,e){i.attr("data-"+t,e)}),this.options&&this.options.click&&i.on("click",this.options.click),this.children){var n=i.find(".note-children-container");this.children.forEach(function(t){t.render(n.length?n:i)})}return this.callback&&this.callback(i,this.options),this.options&&this.options.callback&&this.options.callback(i),e&&e.append(i),i},e}(),i=function(t,i){return function(){var n="object"==typeof arguments[1]?arguments[1]:arguments[0],r=Array.isArray(arguments[0])?arguments[0]:[];return n&&n.children&&(r=n.children),new e(t,r,n,i)}},n=i('<div class="note-editor note-frame card"/>'),r=i('<div class="note-toolbar card-header" role="toolbar"></div>'),o=i('<div class="note-editing-area"/>'),a=i('<textarea class="note-codable" role="textbox" aria-multiline="true"/>'),s=i('<div class="note-editable card-block" contentEditable="true" role="textbox" aria-multiline="true"/>'),l=i(['<output class="note-status-output" aria-live="polite"/>','<div class="note-statusbar" role="status">',' <output class="note-status-output" aria-live="polite"></output>',' <div class="note-resizebar" role="seperator" aria-orientation="horizontal" aria-label="Resize">',' <div class="note-icon-bar"/>',' <div class="note-icon-bar"/>',' <div class="note-icon-bar"/>'," </div>","</div>"].join("")),c=i('<div class="note-editor"/>'),u=i(['<div class="note-editable" contentEditable="true" role="textbox" aria-multiline="true"/>','<output class="note-status-output" aria-live="polite"/>'].join("")),h=i('<div class="note-btn-group btn-group">'),d=i('<div class="dropdown-menu" role="list">',function(t,e){var i=Array.isArray(e.items)?e.items.map(function(t){var i="string"==typeof t?t:t.value||"",n=e.template?e.template(t):t,r="object"==typeof t?t.option:void 0;return'<a class="dropdown-item" href="#" data-value="'+i+'"'+(void 0!==r?' data-option="'+r+'"':"")+' role="listitem" aria-label="'+i+'">'+n+"</a>"}).join(""):e.items;t.html(i).attr({"aria-label":e.title})}),f=i('<div class="dropdown-menu note-check" role="list">',function(t,e){var i=Array.isArray(e.items)?e.items.map(function(t){var i="string"==typeof t?t:t.value||"",n=e.template?e.template(t):t;return'<a class="dropdown-item" href="#" data-value="'+i+'" role="listitem" aria-label="'+t+'">'+y(e.checkClassName)+" "+n+"</a>"}).join(""):e.items;t.html(i).attr({"aria-label":e.title})}),p=i('<div class="note-color-palette"/>',function(t,e){for(var i=[],n=0,r=e.colors.length;n<r;n++){for(var o=e.eventName,a=e.colors[n],s=e.colorsName[n],l=[],c=0,u=a.length;c<u;c++){var h=a[c],d=s[c];l.push(['<button type="button" class="note-color-btn"','style="background-color:',h,'" ','data-event="',o,'" ','data-value="',h,'" ','title="',d,'" ','aria-label="',d,'" ','data-toggle="button" tabindex="-1"></button>'].join(""))}i.push('<div class="note-color-row">'+l.join("")+"</div>")}t.html(i.join("")),e.tooltip&&t.find(".note-color-btn").tooltip({container:e.container,trigger:"hover",placement:"bottom"})}),g=i('<div class="modal" aria-hidden="false" tabindex="-1" role="dialog"/>',function(t,e){e.fade&&t.addClass("fade"),t.attr({"aria-label":e.title}),t.html(['<div class="modal-dialog">',' <div class="modal-content">',e.title?' <div class="modal-header"> <h4 class="modal-title">'+e.title+'</h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close" aria-hidden="true">&times;</button> </div>':"",' <div class="modal-body">'+e.body+"</div>",e.footer?' <div class="modal-footer">'+e.footer+"</div>":""," </div>","</div>"].join(""))}),m=i(['<div class="note-popover popover in">',' <div class="arrow"/>',' <div class="popover-content note-children-container"/>',"</div>"].join(""),function(t,e){var i=void 0!==e.direction?e.direction:"bottom";t.addClass(i),e.hideArrow&&t.find(".arrow").hide()}),v=i('<div class="form-check"></div>',function(t,e){t.html(['<label class="form-check-label"'+(e.id?' for="'+e.id+'"':"")+">",' <input role="checkbox" type="checkbox" class="form-check-input"'+(e.id?' id="'+e.id+'"':""),e.checked?" checked":"",' aria-label="'+(e.text?e.text:"")+'"',' aria-checked="'+(e.checked?"true":"false")+'"/>'," "+(e.text?e.text:"")+"</label>"].join(""))}),y=function(t,e){return"<"+(e=e||"i")+' class="'+t+'"/>'},b={editor:n,toolbar:r,editingArea:o,codable:a,editable:s,statusbar:l,airEditor:c,airEditable:u,buttonGroup:h,dropdown:d,dropdownButtonContents:function(t){return t},dropdownCheck:f,palette:p,dialog:g,popover:m,icon:y,checkbox:v,options:{},button:function(e,n){return i('<button type="button" class="note-btn btn btn-light btn-sm" role="button" tabindex="-1">',function(e,i){i&&i.tooltip&&e.attr({title:i.tooltip,"aria-label":i.tooltip}).tooltip({container:void 0!==i.container?i.container:"body",trigger:"hover",placement:"bottom"}).on("click",function(e){t(e.currentTarget).tooltip("hide")})})(e,n)},toggleBtn:function(t,e){t.toggleClass("disabled",!e),t.attr("disabled",!e)},toggleBtnActive:function(t,e){t.toggleClass("active",e)},onDialogShown:function(t,e){t.one("shown.bs.modal",e)},onDialogHidden:function(t,e){t.one("hidden.bs.modal",e)},showDialog:function(t){t.modal("show")},hideDialog:function(t){t.modal("hide")},createLayout:function(t,e){var i=(e.airMode?b.airEditor([b.editingArea([b.airEditable()])]):b.editor([b.toolbar(),b.editingArea([b.codable(),b.editable()]),b.statusbar()])).render();return i.insertAfter(t),{note:t,editor:i,toolbar:i.find(".note-toolbar"),editingArea:i.find(".note-editing-area"),editable:i.find(".note-editable"),codable:i.find(".note-codable"),statusbar:i.find(".note-statusbar")}},removeLayout:function(t,e){t.html(e.editable.html()),e.editor.remove(),t.show()}};t.summernote=t.summernote||{lang:{}},t.extend(t.summernote.lang,{"en-US":{font:{bold:"Bold",italic:"Italic",underline:"Underline",clear:"Remove Font Style",height:"Line Height",name:"Font Family",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",size:"Font Size"},image:{image:"Picture",insert:"Insert Image",resizeFull:"Resize full",resizeHalf:"Resize half",resizeQuarter:"Resize quarter",resizeNone:"Original size",floatLeft:"Float Left",floatRight:"Float Right",floatNone:"Remove float",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Drag image or text here",dropImage:"Drop image or Text",selectFromFiles:"Select from files",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Image URL",remove:"Remove Image",original:"Original"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Link",insert:"Insert Link",unlink:"Unlink",edit:"Edit",textToDisplay:"Text to display",url:"To what URL should this link go?",openInNewWindow:"Open in new window"},table:{table:"Table",addRowAbove:"Add row above",addRowBelow:"Add row below",addColLeft:"Add column left",addColRight:"Add column right",delRow:"Delete row",delCol:"Delete column",delTable:"Delete table"},hr:{insert:"Insert Horizontal Rule"},style:{style:"Style",p:"Normal",blockquote:"Quote",pre:"Code",h1:"Header 1",h2:"Header 2",h3:"Header 3",h4:"Header 4",h5:"Header 5",h6:"Header 6"},lists:{unordered:"Unordered list",ordered:"Ordered list"},options:{help:"Help",fullscreen:"Full Screen",codeview:"Code View"},paragraph:{paragraph:"Paragraph",outdent:"Outdent",indent:"Indent",left:"Align left",center:"Align center",right:"Align right",justify:"Justify full"},color:{recent:"Recent Color",more:"More Color",background:"Background Color",foreground:"Foreground Color",transparent:"Transparent",setTransparent:"Set transparent",reset:"Reset",resetToDefault:"Reset to default",cpSelect:"Select"},shortcut:{shortcuts:"Keyboard shortcuts",close:"Close",textFormatting:"Text formatting",action:"Action",paragraphFormatting:"Paragraph formatting",documentStyle:"Document Style",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Undo",redo:"Redo"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}});var L,x="function"==typeof define&&define.amd,w=navigator.userAgent,_=/MSIE|Trident/i.test(w);if(_){var S=/MSIE (\d+[.]\d+)/.exec(w);S&&(L=parseFloat(S[1])),(S=/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/.exec(w))&&(L=parseFloat(S[1]))}var C=/Edge\/\d+/.test(w),k=!!window.CodeMirror,T="ontouchstart"in window||0<navigator.MaxTouchPoints||0<navigator.msMaxTouchPoints,E=_||C?"DOMCharacterDataModified DOMSubtreeModified DOMNodeInserted":"input",A={isMac:-1<navigator.appVersion.indexOf("Mac"),isMSIE:_,isEdge:C,isFF:!C&&/firefox/i.test(w),isPhantom:/PhantomJS/i.test(w),isWebkit:!C&&/webkit/i.test(w),isChrome:!C&&/chrome/i.test(w),isSafari:!C&&/safari/i.test(w),browserVersion:L,jqueryVersion:parseFloat(t.fn.jquery),isSupportAmd:x,isSupportTouch:T,hasCodeMirror:k,isFontInstalled:function(t){var e="Comic Sans MS"===t?"Courier New":"Comic Sans MS",i="mmmmmmmmmmwwwww",n=document.createElement("canvas").getContext("2d");n.font="200px '"+e+"'";var r=n.measureText(i).width;return n.font="200px '"+t+"', '"+e+"'",r!==n.measureText(i).width},isW3CRangeSupport:!!document.createRange,inputEventName:E},M=0,D={eq:function(t){return function(e){return t===e}},eq2:function(t,e){return t===e},peq2:function(t){return function(e,i){return e[t]===i[t]}},ok:function(){return!0},fail:function(){return!1},self:function(t){return t},not:function(t){return function(){return!t.apply(t,arguments)}},and:function(t,e){return function(i){return t(i)&&e(i)}},invoke:function(t,e){return function(){return t[e].apply(t,arguments)}},uniqueId:function(t){var e=++M+"";return t?t+e:e},rect2bnd:function(t){var e=$(document);return{top:t.top+e.scrollTop(),left:t.left+e.scrollLeft(),width:t.right-t.left,height:t.bottom-t.top}},invertObject:function(t){var e={};for(var i in t)t.hasOwnProperty(i)&&(e[t[i]]=i);return e},namespaceToCamel:function(t,e){return(e=e||"")+t.split(".").map(function(t){return t.substring(0,1).toUpperCase()+t.substring(1)}).join("")},debounce:function(t,e,i){var n;return function(){var r=this,o=arguments,a=i&&!n;clearTimeout(n),n=setTimeout(function(){n=null,i||t.apply(r,o)},e),a&&t.apply(r,o)}},isValidUrl:function(t){return/[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/gi.test(t)}};function P(t){return t[0]}function O(t){return t[t.length-1]}function I(t){return t.slice(1)}function N(t,e){return!!(t&&t.length&&e)&&-1!==t.indexOf(e)}var R={head:P,last:O,initial:function(t){return t.slice(0,t.length-1)},tail:I,prev:function(t,e){if(t&&t.length&&e){var i=t.indexOf(e);return-1===i?null:t[i-1]}return null},next:function(t,e){if(t&&t.length&&e){var i=t.indexOf(e);return-1===i?null:t[i+1]}return null},find:function(t,e){for(var i=0,n=t.length;i<n;i++){var r=t[i];if(e(r))return r}},contains:N,all:function(t,e){for(var i=0,n=t.length;i<n;i++)if(!e(t[i]))return!1;return!0},sum:function(t,e){return e=e||D.self,t.reduce(function(t,i){return t+e(i)},0)},from:function(t){for(var e=[],i=t.length,n=-1;++n<i;)e[n]=t[n];return e},isEmpty:function(t){return!t||!t.length},clusterBy:function(t,e){return t.length?I(t).reduce(function(t,i){var n=O(t);return e(O(n),i)?n[n.length]=i:t[t.length]=[i],t},[[P(t)]]):[]},compact:function(t){for(var e=[],i=0,n=t.length;i<n;i++)t[i]&&e.push(t[i]);return e},unique:function(t){for(var e=[],i=0,n=t.length;i<n;i++)N(e,t[i])||e.push(t[i]);return e}},F=String.fromCharCode(160);function B(e){return e&&t(e).hasClass("note-editable")}function z(t){return t=t.toUpperCase(),function(e){return e&&e.nodeName.toUpperCase()===t}}function H(t){return t&&3===t.nodeType}function V(t){return t&&/^BR|^IMG|^HR|^IFRAME|^BUTTON|^INPUT|^AUDIO|^VIDEO|^EMBED/.test(t.nodeName.toUpperCase())}function j(t){return!B(t)&&t&&/^DIV|^P|^LI|^H[1-7]/.test(t.nodeName.toUpperCase())}var W=z("PRE"),U=z("LI"),Y=z("TABLE"),G=z("DATA");function X(t){return!(J(t)||q(t)||Z(t)||j(t)||Y(t)||Q(t)||G(t))}function q(t){return t&&/^UL|^OL/.test(t.nodeName.toUpperCase())}var Z=z("HR");function K(t){return t&&/^TD|^TH/.test(t.nodeName.toUpperCase())}var Q=z("BLOCKQUOTE");function J(t){return K(t)||Q(t)||B(t)}var tt=z("A"),et=z("BODY"),it=A.isMSIE&&A.browserVersion<11?"&nbsp;":"<br>";function nt(t){return H(t)?t.nodeValue.length:t?t.childNodes.length:0}function rt(t){var e=nt(t);return 0===e||!H(t)&&1===e&&t.innerHTML===it||!(!R.all(t.childNodes,H)||""!==t.innerHTML)}function ot(t){V(t)||nt(t)||(t.innerHTML=it)}function at(t,e){for(;t;){if(e(t))return t;if(B(t))break;t=t.parentNode}return null}function st(t,e){e=e||D.fail;var i=[];return at(t,function(t){return B(t)||i.push(t),e(t)}),i}function lt(t,e){e=e||D.fail;for(var i=[];t&&!e(t);)i.push(t),t=t.nextSibling;return i}function ct(t,e){var i=e.nextSibling,n=e.parentNode;return i?n.insertBefore(t,i):n.appendChild(t),t}function ut(e,i){return t.each(i,function(t,i){e.appendChild(i)}),e}function ht(t){return 0===t.offset}function dt(t){return t.offset===nt(t.node)}function ft(t){return ht(t)||dt(t)}function pt(t,e){for(;t&&t!==e;){if(0!==mt(t))return!1;t=t.parentNode}return!0}function gt(t,e){if(!e)return!1;for(;t&&t!==e;){if(mt(t)!==nt(t.parentNode)-1)return!1;t=t.parentNode}return!0}function mt(t){for(var e=0;t=t.previousSibling;)e+=1;return e}function vt(t){return!!(t&&t.childNodes&&t.childNodes.length)}function yt(t,e){var i,n;if(0===t.offset){if(B(t.node))return null;i=t.node.parentNode,n=mt(t.node)}else n=vt(t.node)?nt(i=t.node.childNodes[t.offset-1]):(i=t.node,e?0:t.offset-1);return{node:i,offset:n}}function bt(t,e){var i,n;if(nt(t.node)===t.offset){if(B(t.node))return null;i=t.node.parentNode,n=mt(t.node)+1}else n=vt(t.node)?(i=t.node.childNodes[t.offset],0):(i=t.node,e?nt(t.node):t.offset+1);return{node:i,offset:n}}function Lt(t,e){return t.node===e.node&&t.offset===e.offset}function xt(t,e){var i=e&&e.isSkipPaddingBlankHTML,n=e&&e.isNotSplitEdgePoint,r=e&&e.isDiscardEmptySplits;if(r&&(i=!0),ft(t)&&(H(t.node)||n)){if(ht(t))return t.node;if(dt(t))return t.node.nextSibling}if(H(t.node))return t.node.splitText(t.offset);var o=t.node.childNodes[t.offset],a=ct(t.node.cloneNode(!1),t.node);return ut(a,lt(o)),i||(ot(t.node),ot(a)),r&&(rt(t.node)&&St(t.node),rt(a))?(St(a),t.node.nextSibling):a}function wt(t,e,i){var n=st(e.node,D.eq(t));return n.length?1===n.length?xt(e,i):n.reduce(function(t,n){return t===e.node&&(t=xt(e,i)),xt({node:n,offset:t?mt(t):nt(n)},i)}):null}function _t(t){return document.createElement(t)}function St(t,e){if(t&&t.parentNode){if(t.removeNode)return t.removeNode(e);var i=t.parentNode;if(!e){for(var n=[],r=0,o=t.childNodes.length;r<o;r++)n.push(t.childNodes[r]);for(r=0,o=n.length;r<o;r++)i.insertBefore(n[r],t)}i.removeChild(t)}}var Ct=z("TEXTAREA");function kt(t,e){var i=Ct(t[0])?t.val():t.html();return e?i.replace(/[\n\r]/g,""):i}var Tt={NBSP_CHAR:F,ZERO_WIDTH_NBSP_CHAR:"\ufeff",blank:it,emptyPara:"<p>"+it+"</p>",makePredByNodeName:z,isEditable:B,isControlSizing:function(e){return e&&t(e).hasClass("note-control-sizing")},isText:H,isElement:function(t){return t&&1===t.nodeType},isVoid:V,isPara:j,isPurePara:function(t){return j(t)&&!U(t)},isHeading:function(t){return t&&/^H[1-7]/.test(t.nodeName.toUpperCase())},isInline:X,isBlock:D.not(X),isBodyInline:function(t){return X(t)&&!at(t,j)},isBody:et,isParaInline:function(t){return X(t)&&!!at(t,j)},isPre:W,isList:q,isTable:Y,isData:G,isCell:K,isBlockquote:Q,isBodyContainer:J,isAnchor:tt,isDiv:z("DIV"),isLi:U,isBR:z("BR"),isSpan:z("SPAN"),isB:z("B"),isU:z("U"),isS:z("S"),isI:z("I"),isImg:z("IMG"),isTextarea:Ct,isEmpty:rt,isEmptyAnchor:D.and(tt,rt),isClosestSibling:function(t,e){return t.nextSibling===e||t.previousSibling===e},withClosestSiblings:function(t,e){e=e||D.ok;var i=[];return t.previousSibling&&e(t.previousSibling)&&i.push(t.previousSibling),i.push(t),t.nextSibling&&e(t.nextSibling)&&i.push(t.nextSibling),i},nodeLength:nt,isLeftEdgePoint:ht,isRightEdgePoint:dt,isEdgePoint:ft,isLeftEdgeOf:pt,isRightEdgeOf:gt,isLeftEdgePointOf:function(t,e){return ht(t)&&pt(t.node,e)},isRightEdgePointOf:function(t,e){return dt(t)&&gt(t.node,e)},prevPoint:yt,nextPoint:bt,isSamePoint:Lt,isVisiblePoint:function(t){if(H(t.node)||!vt(t.node)||rt(t.node))return!0;var e=t.node.childNodes[t.offset-1],i=t.node.childNodes[t.offset];return!(e&&!V(e)||i&&!V(i))},prevPointUntil:function(t,e){for(;t;){if(e(t))return t;t=yt(t)}return null},nextPointUntil:function(t,e){for(;t;){if(e(t))return t;t=bt(t)}return null},isCharPoint:function(t){if(!H(t.node))return!1;var e=t.node.nodeValue.charAt(t.offset-1);return e&&" "!==e&&e!==F},walkPoint:function(t,e,i,n){for(var r=t;r&&(i(r),!Lt(r,e));)r=bt(r,n&&t.node!==r.node&&e.node!==r.node)},ancestor:at,singleChildAncestor:function(t,e){for(t=t.parentNode;t&&1===nt(t);){if(e(t))return t;if(B(t))break;t=t.parentNode}return null},listAncestor:st,lastAncestor:function(t,e){var i=st(t);return R.last(i.filter(e))},listNext:lt,listPrev:function(t,e){e=e||D.fail;for(var i=[];t&&!e(t);)i.push(t),t=t.previousSibling;return i},listDescendant:function(t,e){var i=[];return e=e||D.ok,function n(r){t!==r&&e(r)&&i.push(r);for(var o=0,a=r.childNodes.length;o<a;o++)n(r.childNodes[o])}(t),i},commonAncestor:function(t,e){for(var i=st(t),n=e;n;n=n.parentNode)if(-1<i.indexOf(n))return n;return null},wrap:function(e,i){var n=e.parentNode,r=t("<"+i+">")[0];return n.insertBefore(r,e),r.appendChild(e),r},insertAfter:ct,appendChildNodes:ut,position:mt,hasChildren:vt,makeOffsetPath:function(t,e){return st(e,D.eq(t)).map(mt).reverse()},fromOffsetPath:function(t,e){for(var i=t,n=0,r=e.length;n<r;n++)i=i.childNodes.length<=e[n]?i.childNodes[i.childNodes.length-1]:i.childNodes[e[n]];return i},splitTree:wt,splitPoint:function(t,e){var i,n,r=e?j:J,o=st(t.node,r),a=R.last(o)||t.node;n=r(a)?(i=o[o.length-2],a):(i=a).parentNode;var s=i&&wt(i,t,{isSkipPaddingBlankHTML:e,isNotSplitEdgePoint:e});return s||n!==t.node||(s=t.node.childNodes[t.offset]),{rightNode:s,container:n}},create:_t,createText:function(t){return document.createTextNode(t)},remove:St,removeWhile:function(t,e){for(;t&&!B(t)&&e(t);){var i=t.parentNode;St(t),t=i}},replace:function(t,e){if(t.nodeName.toUpperCase()===e.toUpperCase())return t;var i=_t(e);return t.style.cssText&&(i.style.cssText=t.style.cssText),ut(i,R.from(t.childNodes)),ct(i,t),St(t),i},html:function(t,e){var i=kt(t);return e&&(i=(i=i.replace(/<(\/?)(\b(?!!)[^>\s]*)(.*?)(\s*\/?>)/g,function(t,e,i){i=i.toUpperCase();var n=/^DIV|^TD|^TH|^P|^LI|^H[1-7]/.test(i)&&!!e,r=/^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(i);return t+(n||r?"\n":"")})).trim()),i},value:kt,posFromPlaceholder:function(e){var i=t(e),n=i.offset(),r=i.outerHeight(!0);return{left:n.left,top:n.top+r}},attachEvents:function(t,e){Object.keys(e).forEach(function(i){t.on(i,e[i])})},detachEvents:function(t,e){Object.keys(e).forEach(function(i){t.off(i,e[i])})},isCustomStyleTag:function(t){return t&&!H(t)&&R.contains(t.classList,"note-styletag")}},Et=function(){function e(e,i){this.ui=t.summernote.ui,this.$note=e,this.memos={},this.modules={},this.layoutInfo={},this.options=i,this.initialize()}return e.prototype.initialize=function(){return this.layoutInfo=this.ui.createLayout(this.$note,this.options),this._initialize(),this.$note.hide(),this},e.prototype.destroy=function(){this._destroy(),this.$note.removeData("summernote"),this.ui.removeLayout(this.$note,this.layoutInfo)},e.prototype.reset=function(){var t=this.isDisabled();this.code(Tt.emptyPara),this._destroy(),this._initialize(),t&&this.disable()},e.prototype._initialize=function(){var e=this,i=t.extend({},this.options.buttons);Object.keys(i).forEach(function(t){e.memo("button."+t,i[t])});var n=t.extend({},this.options.modules,t.summernote.plugins||{});Object.keys(n).forEach(function(t){e.module(t,n[t],!0)}),Object.keys(this.modules).forEach(function(t){e.initializeModule(t)})},e.prototype._destroy=function(){var t=this;Object.keys(this.modules).reverse().forEach(function(e){t.removeModule(e)}),Object.keys(this.memos).forEach(function(e){t.removeMemo(e)}),this.triggerEvent("destroy",this)},e.prototype.code=function(t){var e=this.invoke("codeview.isActivated");if(void 0===t)return this.invoke("codeview.sync"),e?this.layoutInfo.codable.val():this.layoutInfo.editable.html();e?this.layoutInfo.codable.val(t):this.layoutInfo.editable.html(t),this.$note.val(t),this.triggerEvent("change",t,this.layoutInfo.editable)},e.prototype.isDisabled=function(){return"false"===this.layoutInfo.editable.attr("contenteditable")},e.prototype.enable=function(){this.layoutInfo.editable.attr("contenteditable",!0),this.invoke("toolbar.activate",!0),this.triggerEvent("disable",!1)},e.prototype.disable=function(){this.invoke("codeview.isActivated")&&this.invoke("codeview.deactivate"),this.layoutInfo.editable.attr("contenteditable",!1),this.invoke("toolbar.deactivate",!0),this.triggerEvent("disable",!0)},e.prototype.triggerEvent=function(){var t=R.head(arguments),e=R.tail(R.from(arguments)),i=this.options.callbacks[D.namespaceToCamel(t,"on")];i&&i.apply(this.$note[0],e),this.$note.trigger("summernote."+t,e)},e.prototype.initializeModule=function(t){var e=this.modules[t];e.shouldInitialize=e.shouldInitialize||D.ok,e.shouldInitialize()&&(e.initialize&&e.initialize(),e.events&&Tt.attachEvents(this.$note,e.events))},e.prototype.module=function(t,e,i){if(1===arguments.length)return this.modules[t];this.modules[t]=new e(this),i||this.initializeModule(t)},e.prototype.removeModule=function(t){var e=this.modules[t];e.shouldInitialize()&&(e.events&&Tt.detachEvents(this.$note,e.events),e.destroy&&e.destroy()),delete this.modules[t]},e.prototype.memo=function(t,e){if(1===arguments.length)return this.memos[t];this.memos[t]=e},e.prototype.removeMemo=function(t){this.memos[t]&&this.memos[t].destroy&&this.memos[t].destroy(),delete this.memos[t]},e.prototype.createInvokeHandlerAndUpdateState=function(t,e){var i=this;return function(n){i.createInvokeHandler(t,e)(n),i.invoke("buttons.updateCurrentStyle")}},e.prototype.createInvokeHandler=function(e,i){var n=this;return function(r){r.preventDefault();var o=t(r.target);n.invoke(e,i||o.closest("[data-value]").data("value"),o)}},e.prototype.invoke=function(){var t=R.head(arguments),e=R.tail(R.from(arguments)),i=t.split("."),n=1<i.length,r=n&&R.head(i),o=n?R.last(i):R.head(i),a=this.modules[r||"editor"];return!r&&this[o]?this[o].apply(this,e):a&&a[o]&&a.shouldInitialize()?a[o].apply(a,e):void 0},e}();function At(t,e){var i,n,r=t.parentElement(),o=document.body.createTextRange(),a=R.from(r.childNodes);for(i=0;i<a.length;i++)if(!Tt.isText(a[i])){if(o.moveToElementText(a[i]),0<=o.compareEndPoints("StartToStart",t))break;n=a[i]}if(0!==i&&Tt.isText(a[i-1])){var s=document.body.createTextRange(),l=null;s.moveToElementText(n||r),s.collapse(!n),l=n?n.nextSibling:r.firstChild;var c=t.duplicate();c.setEndPoint("StartToStart",s);for(var u=c.text.replace(/[\r\n]/g,"").length;u>l.nodeValue.length&&l.nextSibling;)u-=l.nodeValue.length,l=l.nextSibling;l.nodeValue,e&&l.nextSibling&&Tt.isText(l.nextSibling)&&u===l.nodeValue.length&&(u-=l.nodeValue.length,l=l.nextSibling),r=l,i=u}return{cont:r,offset:i}}function Mt(t){var e=function(t,i){var n,r;if(Tt.isText(t)){var o=Tt.listPrev(t,D.not(Tt.isText)),a=R.last(o).previousSibling;n=a||t.parentNode,i+=R.sum(R.tail(o),Tt.nodeLength),r=!a}else{if(n=t.childNodes[i]||t,Tt.isText(n))return e(n,0);i=0,r=!1}return{node:n,collapseToStart:r,offset:i}},i=document.body.createTextRange(),n=e(t.node,t.offset);return i.moveToElementText(n.node),i.collapse(n.collapseToStart),i.moveStart("character",n.offset),i}t.fn.extend({summernote:function(){var e=t.type(R.head(arguments)),i="string"===e,n="object"===e,r=t.extend({},t.summernote.options,n?R.head(arguments):{});r.langInfo=t.extend(!0,{},t.summernote.lang["en-US"],t.summernote.lang[r.lang]),r.icons=t.extend(!0,{},t.summernote.options.icons,r.icons),r.tooltip="auto"===r.tooltip?!A.isSupportTouch:r.tooltip,this.each(function(e,i){var n=t(i);if(!n.data("summernote")){var o=new Et(n,r);n.data("summernote",o),n.data("summernote").triggerEvent("init",o.layoutInfo)}});var o=this.first();if(o.length){var a=o.data("summernote");if(i)return a.invoke.apply(a,R.from(arguments));r.focus&&a.invoke("editor.focus")}return this}});var Dt=function(){function e(t,e,i,n){this.sc=t,this.so=e,this.ec=i,this.eo=n,this.isOnEditable=this.makeIsOn(Tt.isEditable),this.isOnList=this.makeIsOn(Tt.isList),this.isOnAnchor=this.makeIsOn(Tt.isAnchor),this.isOnCell=this.makeIsOn(Tt.isCell),this.isOnData=this.makeIsOn(Tt.isData)}return e.prototype.nativeRange=function(){if(A.isW3CRangeSupport){var t=document.createRange();return t.setStart(this.sc,this.sc.data&&this.so>this.sc.data.length?0:this.so),t.setEnd(this.ec,this.sc.data?Math.min(this.eo,this.sc.data.length):this.eo),t}var e=Mt({node:this.sc,offset:this.so});return e.setEndPoint("EndToEnd",Mt({node:this.ec,offset:this.eo})),e},e.prototype.getPoints=function(){return{sc:this.sc,so:this.so,ec:this.ec,eo:this.eo}},e.prototype.getStartPoint=function(){return{node:this.sc,offset:this.so}},e.prototype.getEndPoint=function(){return{node:this.ec,offset:this.eo}},e.prototype.select=function(){var t=this.nativeRange();if(A.isW3CRangeSupport){var e=document.getSelection();0<e.rangeCount&&e.removeAllRanges(),e.addRange(t)}else t.select();return this},e.prototype.scrollIntoView=function(e){var i=t(e).height();return e.scrollTop+i<this.sc.offsetTop&&(e.scrollTop+=Math.abs(e.scrollTop+i-this.sc.offsetTop)),this},e.prototype.normalize=function(){var t=function(t,e){if(Tt.isVisiblePoint(t)&&(!Tt.isEdgePoint(t)||Tt.isRightEdgePoint(t)&&!e||Tt.isLeftEdgePoint(t)&&e||Tt.isRightEdgePoint(t)&&e&&Tt.isVoid(t.node.nextSibling)||Tt.isLeftEdgePoint(t)&&!e&&Tt.isVoid(t.node.previousSibling)||Tt.isBlock(t.node)&&Tt.isEmpty(t.node)))return t;var i=Tt.ancestor(t.node,Tt.isBlock);if((Tt.isLeftEdgePointOf(t,i)||Tt.isVoid(Tt.prevPoint(t).node))&&!e||(Tt.isRightEdgePointOf(t,i)||Tt.isVoid(Tt.nextPoint(t).node))&&e){if(Tt.isVisiblePoint(t))return t;e=!e}return(e?Tt.nextPointUntil(Tt.nextPoint(t),Tt.isVisiblePoint):Tt.prevPointUntil(Tt.prevPoint(t),Tt.isVisiblePoint))||t},i=t(this.getEndPoint(),!1),n=this.isCollapsed()?i:t(this.getStartPoint(),!0);return new e(n.node,n.offset,i.node,i.offset)},e.prototype.nodes=function(t,e){t=t||D.ok;var i=e&&e.includeAncestor,n=e&&e.fullyContains,r=this.getStartPoint(),o=this.getEndPoint(),a=[],s=[];return Tt.walkPoint(r,o,function(e){var r;Tt.isEditable(e.node)||(n?(Tt.isLeftEdgePoint(e)&&s.push(e.node),Tt.isRightEdgePoint(e)&&R.contains(s,e.node)&&(r=e.node)):r=i?Tt.ancestor(e.node,t):e.node,r&&t(r)&&a.push(r))},!0),R.unique(a)},e.prototype.commonAncestor=function(){return Tt.commonAncestor(this.sc,this.ec)},e.prototype.expand=function(t){var i=Tt.ancestor(this.sc,t),n=Tt.ancestor(this.ec,t);if(!i&&!n)return new e(this.sc,this.so,this.ec,this.eo);var r=this.getPoints();return i&&(r.sc=i,r.so=0),n&&(r.ec=n,r.eo=Tt.nodeLength(n)),new e(r.sc,r.so,r.ec,r.eo)},e.prototype.collapse=function(t){return t?new e(this.sc,this.so,this.sc,this.so):new e(this.ec,this.eo,this.ec,this.eo)},e.prototype.splitText=function(){var t=this.sc===this.ec,i=this.getPoints();return Tt.isText(this.ec)&&!Tt.isEdgePoint(this.getEndPoint())&&this.ec.splitText(this.eo),Tt.isText(this.sc)&&!Tt.isEdgePoint(this.getStartPoint())&&(i.sc=this.sc.splitText(this.so),i.so=0,t&&(i.ec=i.sc,i.eo=this.eo-this.so)),new e(i.sc,i.so,i.ec,i.eo)},e.prototype.deleteContents=function(){if(this.isCollapsed())return this;var i=this.splitText(),n=i.nodes(null,{fullyContains:!0}),r=Tt.prevPointUntil(i.getStartPoint(),function(t){return!R.contains(n,t.node)}),o=[];return t.each(n,function(t,e){var i=e.parentNode;r.node!==i&&1===Tt.nodeLength(i)&&o.push(i),Tt.remove(e,!1)}),t.each(o,function(t,e){Tt.remove(e,!1)}),new e(r.node,r.offset,r.node,r.offset).normalize()},e.prototype.makeIsOn=function(t){return function(){var e=Tt.ancestor(this.sc,t);return!!e&&e===Tt.ancestor(this.ec,t)}},e.prototype.isLeftEdgeOf=function(t){if(!Tt.isLeftEdgePoint(this.getStartPoint()))return!1;var e=Tt.ancestor(this.sc,t);return e&&Tt.isLeftEdgeOf(this.sc,e)},e.prototype.isCollapsed=function(){return this.sc===this.ec&&this.so===this.eo},e.prototype.wrapBodyInlineWithPara=function(){if(Tt.isBodyContainer(this.sc)&&Tt.isEmpty(this.sc))return this.sc.innerHTML=Tt.emptyPara,new e(this.sc.firstChild,0,this.sc.firstChild,0);var t,i=this.normalize();if(Tt.isParaInline(this.sc)||Tt.isPara(this.sc))return i;if(Tt.isInline(i.sc)){var n=Tt.listAncestor(i.sc,D.not(Tt.isInline));t=R.last(n),Tt.isInline(t)||(t=n[n.length-2]||i.sc.childNodes[i.so])}else t=i.sc.childNodes[0<i.so?i.so-1:0];var r=Tt.listPrev(t,Tt.isParaInline).reverse();if((r=r.concat(Tt.listNext(t.nextSibling,Tt.isParaInline))).length){var o=Tt.wrap(R.head(r),"p");Tt.appendChildNodes(o,R.tail(r))}return this.normalize()},e.prototype.insertNode=function(t){var e=this.wrapBodyInlineWithPara().deleteContents(),i=Tt.splitPoint(e.getStartPoint(),Tt.isInline(t));return i.rightNode?i.rightNode.parentNode.insertBefore(t,i.rightNode):i.container.appendChild(t),t},e.prototype.pasteHTML=function(e){var i=t("<div></div>").html(e)[0],n=R.from(i.childNodes),r=this.wrapBodyInlineWithPara().deleteContents();return 0<r.so&&(n=n.reverse()),n=n.map(function(t){return r.insertNode(t)}),0<r.so&&(n=n.reverse()),n},e.prototype.toString=function(){var t=this.nativeRange();return A.isW3CRangeSupport?t.toString():t.text},e.prototype.getWordRange=function(t){var i=this.getEndPoint();if(!Tt.isCharPoint(i))return this;var n=Tt.prevPointUntil(i,function(t){return!Tt.isCharPoint(t)});return t&&(i=Tt.nextPointUntil(i,function(t){return!Tt.isCharPoint(t)})),new e(n.node,n.offset,i.node,i.offset)},e.prototype.bookmark=function(t){return{s:{path:Tt.makeOffsetPath(t,this.sc),offset:this.so},e:{path:Tt.makeOffsetPath(t,this.ec),offset:this.eo}}},e.prototype.paraBookmark=function(t){return{s:{path:R.tail(Tt.makeOffsetPath(R.head(t),this.sc)),offset:this.so},e:{path:R.tail(Tt.makeOffsetPath(R.last(t),this.ec)),offset:this.eo}}},e.prototype.getClientRects=function(){return this.nativeRange().getClientRects()},e}(),Pt={create:function(t,e,i,n){if(4===arguments.length)return new Dt(t,e,i,n);if(2===arguments.length)return new Dt(i=t,n=e,i,n);var r=this.createFromSelection();return r||1!==arguments.length?r:(r=this.createFromNode(t)).collapse(Tt.emptyPara===t.innerHTML)},createFromSelection:function(){var t,e,i,n;if(A.isW3CRangeSupport){var r=document.getSelection();if(!r||0===r.rangeCount)return null;if(Tt.isBody(r.anchorNode))return null;var o=r.getRangeAt(0);t=o.startContainer,e=o.startOffset,i=o.endContainer,n=o.endOffset}else{var a=document.selection.createRange(),s=a.duplicate();s.collapse(!1);var l=a;l.collapse(!0);var c=At(l,!0),u=At(s,!1);Tt.isText(c.node)&&Tt.isLeftEdgePoint(c)&&Tt.isTextNode(u.node)&&Tt.isRightEdgePoint(u)&&u.node.nextSibling===c.node&&(c=u),t=c.cont,e=c.offset,i=u.cont,n=u.offset}return new Dt(t,e,i,n)},createFromNode:function(t){var e=t,i=0,n=t,r=Tt.nodeLength(n);return Tt.isVoid(e)&&(i=Tt.listPrev(e).length-1,e=e.parentNode),Tt.isBR(n)?(r=Tt.listPrev(n).length-1,n=n.parentNode):Tt.isVoid(n)&&(r=Tt.listPrev(n).length,n=n.parentNode),this.create(e,i,n,r)},createFromNodeBefore:function(t){return this.createFromNode(t).collapse(!0)},createFromNodeAfter:function(t){return this.createFromNode(t).collapse()},createFromBookmark:function(t,e){var i=Tt.fromOffsetPath(t,e.s.path),n=e.s.offset,r=Tt.fromOffsetPath(t,e.e.path),o=e.e.offset;return new Dt(i,n,r,o)},createFromParaBookmark:function(t,e){var i=t.s.offset,n=t.e.offset,r=Tt.fromOffsetPath(R.head(e),t.s.path),o=Tt.fromOffsetPath(R.last(e),t.e.path);return new Dt(r,i,o,n)}},Ot={BACKSPACE:8,TAB:9,ENTER:13,SPACE:32,DELETE:46,LEFT:37,UP:38,RIGHT:39,DOWN:40,NUM0:48,NUM1:49,NUM2:50,NUM3:51,NUM4:52,NUM5:53,NUM6:54,NUM7:55,NUM8:56,B:66,E:69,I:73,J:74,K:75,L:76,R:82,S:83,U:85,V:86,Y:89,Z:90,SLASH:191,LEFTBRACKET:219,BACKSLASH:220,RIGHTBRACKET:221},It={isEdit:function(t){return R.contains([Ot.BACKSPACE,Ot.TAB,Ot.ENTER,Ot.SPACE,Ot.DELETE],t)},isMove:function(t){return R.contains([Ot.LEFT,Ot.UP,Ot.RIGHT,Ot.DOWN],t)},nameFromCode:D.invertObject(Ot),code:Ot},Nt=function(){function t(t){this.stack=[],this.stackOffset=-1,this.$editable=t,this.editable=t[0]}return t.prototype.makeSnapshot=function(){var t=Pt.create(this.editable);return{contents:this.$editable.html(),bookmark:t&&t.isOnEditable()?t.bookmark(this.editable):{s:{path:[],offset:0},e:{path:[],offset:0}}}},t.prototype.applySnapshot=function(t){null!==t.contents&&this.$editable.html(t.contents),null!==t.bookmark&&Pt.createFromBookmark(this.editable,t.bookmark).select()},t.prototype.rewind=function(){this.$editable.html()!==this.stack[this.stackOffset].contents&&this.recordUndo(),this.stackOffset=0,this.applySnapshot(this.stack[this.stackOffset])},t.prototype.commit=function(){this.stack=[],this.stackOffset=-1,this.recordUndo()},t.prototype.reset=function(){this.stack=[],this.stackOffset=-1,this.$editable.html(""),this.recordUndo()},t.prototype.undo=function(){this.$editable.html()!==this.stack[this.stackOffset].contents&&this.recordUndo(),0<this.stackOffset&&(this.stackOffset--,this.applySnapshot(this.stack[this.stackOffset]))},t.prototype.redo=function(){this.stack.length-1>this.stackOffset&&(this.stackOffset++,this.applySnapshot(this.stack[this.stackOffset]))},t.prototype.recordUndo=function(){this.stackOffset++,this.stack.length>this.stackOffset&&(this.stack=this.stack.slice(0,this.stackOffset)),this.stack.push(this.makeSnapshot())},t}(),Rt=function(){function e(){}return e.prototype.jQueryCSS=function(e,i){if(A.jqueryVersion<1.9){var n={};return t.each(i,function(t,i){n[i]=e.css(i)}),n}return e.css(i)},e.prototype.fromNode=function(t){var e=this.jQueryCSS(t,["font-family","font-size","text-align","list-style-type","line-height"])||{};return e["font-size"]=parseInt(e["font-size"],10),e},e.prototype.stylePara=function(e,i){t.each(e.nodes(Tt.isPara,{includeAncestor:!0}),function(e,n){t(n).css(i)})},e.prototype.styleNodes=function(e,i){e=e.splitText();var n=i&&i.nodeName||"SPAN",r=!(!i||!i.expandClosestSibling),o=!(!i||!i.onlyPartialContains);if(e.isCollapsed())return[e.insertNode(Tt.create(n))];var a=Tt.makePredByNodeName(n),s=e.nodes(Tt.isText,{fullyContains:!0}).map(function(t){return Tt.singleChildAncestor(t,a)||Tt.wrap(t,n)});if(r){if(o){var l=e.nodes();a=D.and(a,function(t){return R.contains(l,t)})}return s.map(function(e){var i=Tt.withClosestSiblings(e,a),n=R.head(i),r=R.tail(i);return t.each(r,function(t,e){Tt.appendChildNodes(n,e.childNodes),Tt.remove(e)}),R.head(i)})}return s},e.prototype.current=function(e){var i=t(Tt.isElement(e.sc)?e.sc:e.sc.parentNode),n=this.fromNode(i);try{n=t.extend(n,{"font-bold":document.queryCommandState("bold")?"bold":"normal","font-italic":document.queryCommandState("italic")?"italic":"normal","font-underline":document.queryCommandState("underline")?"underline":"normal","font-subscript":document.queryCommandState("subscript")?"subscript":"normal","font-superscript":document.queryCommandState("superscript")?"superscript":"normal","font-strikethrough":document.queryCommandState("strikethrough")?"strikethrough":"normal","font-family":document.queryCommandValue("fontname")||n["font-family"]})}catch(e){}if(e.isOnList()){var r=-1<["circle","disc","disc-leading-zero","square"].indexOf(n["list-style-type"]);n["list-style"]=r?"unordered":"ordered"}else n["list-style"]="none";var o=Tt.ancestor(e.sc,Tt.isPara);if(o&&o.style["line-height"])n["line-height"]=o.style.lineHeight;else{var a=parseInt(n["line-height"],10)/parseInt(n["font-size"],10);n["line-height"]=a.toFixed(1)}return n.anchor=e.isOnAnchor()&&Tt.ancestor(e.sc,Tt.isAnchor),n.ancestors=Tt.listAncestor(e.sc,Tt.isEditable),n.range=e,n},e}(),Ft=function(){function e(){}return e.prototype.insertOrderedList=function(t){this.toggleList("OL",t)},e.prototype.insertUnorderedList=function(t){this.toggleList("UL",t)},e.prototype.indent=function(e){var i=this,n=Pt.create(e).wrapBodyInlineWithPara(),r=n.nodes(Tt.isPara,{includeAncestor:!0}),o=R.clusterBy(r,D.peq2("parentNode"));t.each(o,function(e,n){var r=R.head(n);if(Tt.isLi(r)){var o=i.findList(r.previousSibling);o?n.map(function(t){return o.appendChild(t)}):(i.wrapList(n,r.parentNode.nodeName),n.map(function(t){return t.parentNode}).map(function(t){return i.appendToPrevious(t)}))}else t.each(n,function(e,i){t(i).css("marginLeft",function(t,e){return(parseInt(e,10)||0)+25})})}),n.select()},e.prototype.outdent=function(e){var i=this,n=Pt.create(e).wrapBodyInlineWithPara(),r=n.nodes(Tt.isPara,{includeAncestor:!0}),o=R.clusterBy(r,D.peq2("parentNode"));t.each(o,function(e,n){var r=R.head(n);Tt.isLi(r)?i.releaseList([n]):t.each(n,function(e,i){t(i).css("marginLeft",function(t,e){return 25<(e=parseInt(e,10)||0)?e-25:""})})}),n.select()},e.prototype.toggleList=function(e,i){var n=this,r=Pt.create(i).wrapBodyInlineWithPara(),o=r.nodes(Tt.isPara,{includeAncestor:!0}),a=r.paraBookmark(o),s=R.clusterBy(o,D.peq2("parentNode"));if(R.find(o,Tt.isPurePara)){var l=[];t.each(s,function(t,i){l=l.concat(n.wrapList(i,e))}),o=l}else{var c=r.nodes(Tt.isList,{includeAncestor:!0}).filter(function(i){return!t.nodeName(i,e)});c.length?t.each(c,function(t,i){Tt.replace(i,e)}):o=this.releaseList(s,!0)}Pt.createFromParaBookmark(a,o).select()},e.prototype.wrapList=function(t,e){var i=R.head(t),n=R.last(t),r=Tt.isList(i.previousSibling)&&i.previousSibling,o=Tt.isList(n.nextSibling)&&n.nextSibling,a=r||Tt.insertAfter(Tt.create(e||"UL"),n);return t=t.map(function(t){return Tt.isPurePara(t)?Tt.replace(t,"LI"):t}),Tt.appendChildNodes(a,t),o&&(Tt.appendChildNodes(a,R.from(o.childNodes)),Tt.remove(o)),t},e.prototype.releaseList=function(e,i){var n=this,r=[];return t.each(e,function(e,o){var a=R.head(o),s=R.last(o),l=i?Tt.lastAncestor(a,Tt.isList):a.parentNode,c=l.parentNode;if("LI"===l.parentNode.nodeName)o.map(function(t){var e=n.findNextSiblings(t);c.nextSibling?c.parentNode.insertBefore(t,c.nextSibling):c.parentNode.appendChild(t),e.length&&(n.wrapList(e,l.nodeName),t.appendChild(e[0].parentNode))}),0===l.children.length&&c.removeChild(l),0===c.childNodes.length&&c.parentNode.removeChild(c);else{var u=1<l.childNodes.length?Tt.splitTree(l,{node:s.parentNode,offset:Tt.position(s)+1},{isSkipPaddingBlankHTML:!0}):null,h=Tt.splitTree(l,{node:a.parentNode,offset:Tt.position(a)},{isSkipPaddingBlankHTML:!0});o=i?Tt.listDescendant(h,Tt.isLi):R.from(h.childNodes).filter(Tt.isLi),!i&&Tt.isList(l.parentNode)||(o=o.map(function(t){return Tt.replace(t,"P")})),t.each(R.from(o).reverse(),function(t,e){Tt.insertAfter(e,l)});var d=R.compact([l,h,u]);t.each(d,function(e,i){var n=[i].concat(Tt.listDescendant(i,Tt.isList));t.each(n.reverse(),function(t,e){Tt.nodeLength(e)||Tt.remove(e,!0)})})}r=r.concat(o)}),r},e.prototype.appendToPrevious=function(t){return t.previousSibling?Tt.appendChildNodes(t.previousSibling,[t]):this.wrapList([t],"LI")},e.prototype.findList=function(t){return t?R.find(t.children,function(t){return-1<["OL","UL"].indexOf(t.nodeName)}):null},e.prototype.findNextSiblings=function(t){for(var e=[];t.nextSibling;)e.push(t.nextSibling),t=t.nextSibling;return e},e}(),Bt=function(){function e(t){this.bullet=new Ft,this.options=t.options}return e.prototype.insertTab=function(t,e){var i=Tt.createText(new Array(e+1).join(Tt.NBSP_CHAR));(t=t.deleteContents()).insertNode(i,!0),(t=Pt.create(i,e)).select()},e.prototype.insertParagraph=function(e,i){i=(i=(i=i||Pt.create(e)).deleteContents()).wrapBodyInlineWithPara();var n,r=Tt.ancestor(i.sc,Tt.isPara);if(r){if(Tt.isEmpty(r)&&Tt.isLi(r))return void this.bullet.toggleList(r.parentNode.nodeName);var o=null;if(1===this.options.blockquoteBreakingLevel?o=Tt.ancestor(r,Tt.isBlockquote):2===this.options.blockquoteBreakingLevel&&(o=Tt.lastAncestor(r,Tt.isBlockquote)),o){n=t(Tt.emptyPara)[0],Tt.isRightEdgePoint(i.getStartPoint())&&Tt.isBR(i.sc.nextSibling)&&t(i.sc.nextSibling).remove();var a=Tt.splitTree(o,i.getStartPoint(),{isDiscardEmptySplits:!0});a?a.parentNode.insertBefore(n,a):Tt.insertAfter(n,o)}else{n=Tt.splitTree(r,i.getStartPoint());var s=Tt.listDescendant(r,Tt.isEmptyAnchor);s=s.concat(Tt.listDescendant(n,Tt.isEmptyAnchor)),t.each(s,function(t,e){Tt.remove(e)}),(Tt.isHeading(n)||Tt.isPre(n)||Tt.isCustomStyleTag(n))&&Tt.isEmpty(n)&&(n=Tt.replace(n,"p"))}}else{var l=i.sc.childNodes[i.so];n=t(Tt.emptyPara)[0],l?i.sc.insertBefore(n,l):i.sc.appendChild(n)}Pt.create(n,0).normalize().select().scrollIntoView(e)},e}(),zt=function(t,e,i,n){var r={colPos:0,rowPos:0},o=[],a=[];function s(t,e,i,n,r,a,s){var l={baseRow:i,baseCell:n,isRowSpan:r,isColSpan:a,isVirtual:s};o[t]||(o[t]=[]),o[t][e]=l}function l(t,e){if(!o[t])return e;if(!o[t][e])return e;for(var i=e;o[t][i];)if(i++,!o[t][i])return i}function c(t,e){var i=l(t.rowIndex,e.cellIndex),n=1<e.colSpan,o=1<e.rowSpan,a=t.rowIndex===r.rowPos&&e.cellIndex===r.colPos;s(t.rowIndex,i,t,e,o,n,!1);var c=e.attributes.rowSpan?parseInt(e.attributes.rowSpan.value,10):0;if(1<c)for(var h=1;h<c;h++){var d=t.rowIndex+h;u(d,i,e,a),s(d,i,t,e,!0,n,!0)}var f=e.attributes.colSpan?parseInt(e.attributes.colSpan.value,10):0;if(1<f)for(var p=1;p<f;p++){var g=l(t.rowIndex,i+p);u(t.rowIndex,g,e,a),s(t.rowIndex,g,t,e,o,!0,!0)}}function u(t,e,i,n){t===r.rowPos&&r.colPos>=i.cellIndex&&i.cellIndex<=e&&!n&&r.colPos++}function h(t){switch(e){case zt.where.Column:if(t.isColSpan)return zt.resultAction.SubtractSpanCount;break;case zt.where.Row:if(!t.isVirtual&&t.isRowSpan)return zt.resultAction.AddCell;if(t.isRowSpan)return zt.resultAction.SubtractSpanCount}return zt.resultAction.RemoveCell}function d(t){switch(e){case zt.where.Column:if(t.isColSpan)return zt.resultAction.SumSpanCount;if(t.isRowSpan&&t.isVirtual)return zt.resultAction.Ignore;break;case zt.where.Row:if(t.isRowSpan)return zt.resultAction.SumSpanCount;if(t.isColSpan&&t.isVirtual)return zt.resultAction.Ignore}return zt.resultAction.AddCell}this.getActionList=function(){for(var t,n,s,l=e===zt.where.Row?r.rowPos:-1,c=e===zt.where.Column?r.colPos:-1,u=0,f=!0;f;){var p=0<=l?l:u,g=0<=c?c:u,m=o[p];if(!m)return f=!1,a;var v=m[g];if(!v)return f=!1,a;var y=zt.resultAction.Ignore;switch(i){case zt.requestAction.Add:y=d(v);break;case zt.requestAction.Delete:y=h(v)}a.push((t=y,n=p,s=g,{baseCell:v.baseCell,action:t,virtualTable:{rowIndex:n,cellIndex:s}})),u++}return a},t&&t.tagName&&("td"===t.tagName.toLowerCase()||"th"===t.tagName.toLowerCase())?(r.colPos=t.cellIndex,t.parentElement&&t.parentElement.tagName&&"tr"===t.parentElement.tagName.toLowerCase()?r.rowPos=t.parentElement.rowIndex:console.error("Impossible to identify start Row point.",t)):console.error("Impossible to identify start Cell point.",t),function(){for(var t=n.rows,e=0;e<t.length;e++)for(var i=t[e].cells,r=0;r<i.length;r++)c(t[e],i[r])}()};zt.where={Row:0,Column:1},zt.requestAction={Add:0,Delete:1},zt.resultAction={Ignore:0,SubtractSpanCount:1,RemoveCell:2,AddCell:3,SumSpanCount:4};var Ht,Vt=function(){function e(){}return e.prototype.tab=function(t,e){var i=Tt.ancestor(t.commonAncestor(),Tt.isCell),n=Tt.ancestor(i,Tt.isTable),r=Tt.listDescendant(n,Tt.isCell),o=R[e?"prev":"next"](r,i);o&&Pt.create(o,0).select()},e.prototype.addRow=function(e,i){for(var n=Tt.ancestor(e.commonAncestor(),Tt.isCell),r=t(n).closest("tr"),o=this.recoverAttributes(r),a=t("<tr"+o+"></tr>"),s=new zt(n,zt.where.Row,zt.requestAction.Add,t(r).closest("table")[0]).getActionList(),l=0;l<s.length;l++){var c=s[l],u=this.recoverAttributes(c.baseCell);switch(c.action){case zt.resultAction.AddCell:a.append("<td"+u+">"+Tt.blank+"</td>");break;case zt.resultAction.SumSpanCount:if("top"===i&&(c.baseCell.parent?c.baseCell.closest("tr").rowIndex:0)<=r[0].rowIndex){var h=t("<div></div>").append(t("<td"+u+">"+Tt.blank+"</td>").removeAttr("rowspan")).html();a.append(h);break}var d=parseInt(c.baseCell.rowSpan,10);d++,c.baseCell.setAttribute("rowSpan",d)}}if("top"===i)r.before(a);else{if(1<n.rowSpan){var f=r[0].rowIndex+(n.rowSpan-2);return void t(t(r).parent().find("tr")[f]).after(t(a))}r.after(a)}},e.prototype.addCol=function(e,i){var n=Tt.ancestor(e.commonAncestor(),Tt.isCell),r=t(n).closest("tr");t(r).siblings().push(r);for(var o=new zt(n,zt.where.Column,zt.requestAction.Add,t(r).closest("table")[0]).getActionList(),a=0;a<o.length;a++){var s=o[a],l=this.recoverAttributes(s.baseCell);switch(s.action){case zt.resultAction.AddCell:"right"===i?t(s.baseCell).after("<td"+l+">"+Tt.blank+"</td>"):t(s.baseCell).before("<td"+l+">"+Tt.blank+"</td>");break;case zt.resultAction.SumSpanCount:if("right"===i){var c=parseInt(s.baseCell.colSpan,10);c++,s.baseCell.setAttribute("colSpan",c)}else t(s.baseCell).before("<td"+l+">"+Tt.blank+"</td>")}}},e.prototype.recoverAttributes=function(t){var e="";if(!t)return e;for(var i=t.attributes||[],n=0;n<i.length;n++)"id"!==i[n].name.toLowerCase()&&i[n].specified&&(e+=" "+i[n].name+"='"+i[n].value+"'");return e},e.prototype.deleteRow=function(e){for(var i=Tt.ancestor(e.commonAncestor(),Tt.isCell),n=t(i).closest("tr"),r=n.children("td, th").index(t(i)),o=n[0].rowIndex,a=new zt(i,zt.where.Row,zt.requestAction.Delete,t(n).closest("table")[0]).getActionList(),s=0;s<a.length;s++)if(a[s]){var l=a[s].baseCell,c=a[s].virtualTable,u=l.rowSpan&&1<l.rowSpan,h=u?parseInt(l.rowSpan,10):0;switch(a[s].action){case zt.resultAction.Ignore:continue;case zt.resultAction.AddCell:var d=n.next("tr")[0];if(!d)continue;var f=n[0].cells[r];u&&(2<h?(h--,d.insertBefore(f,d.cells[r]),d.cells[r].setAttribute("rowSpan",h),d.cells[r].innerHTML=""):2===h&&(d.insertBefore(f,d.cells[r]),d.cells[r].removeAttribute("rowSpan"),d.cells[r].innerHTML=""));continue;case zt.resultAction.SubtractSpanCount:u&&(2<h?(h--,l.setAttribute("rowSpan",h),c.rowIndex!==o&&l.cellIndex===r&&(l.innerHTML="")):2===h&&(l.removeAttribute("rowSpan"),c.rowIndex!==o&&l.cellIndex===r&&(l.innerHTML="")));continue;case zt.resultAction.RemoveCell:continue}}n.remove()},e.prototype.deleteCol=function(e){for(var i=Tt.ancestor(e.commonAncestor(),Tt.isCell),n=t(i).closest("tr"),r=n.children("td, th").index(t(i)),o=new zt(i,zt.where.Column,zt.requestAction.Delete,t(n).closest("table")[0]).getActionList(),a=0;a<o.length;a++)if(o[a])switch(o[a].action){case zt.resultAction.Ignore:continue;case zt.resultAction.SubtractSpanCount:var s=o[a].baseCell;if(s.colSpan&&1<s.colSpan){var l=s.colSpan?parseInt(s.colSpan,10):0;2<l?(l--,s.setAttribute("colSpan",l),s.cellIndex===r&&(s.innerHTML="")):2===l&&(s.removeAttribute("colSpan"),s.cellIndex===r&&(s.innerHTML=""))}continue;case zt.resultAction.RemoveCell:Tt.remove(o[a].baseCell,!0);continue}},e.prototype.createTable=function(e,i,n){for(var r,o=[],a=0;a<e;a++)o.push("<td>"+Tt.blank+"</td>");r=o.join("");for(var s,l=[],c=0;c<i;c++)l.push("<tr>"+r+"</tr>");s=l.join("");var u=t("<table>"+s+"</table>");return n&&n.tableClassName&&u.addClass(n.tableClassName),u[0]},e.prototype.deleteTable=function(e){var i=Tt.ancestor(e.commonAncestor(),Tt.isCell);t(i).closest("table").remove()},e}(),jt=function(){function e(e){var i=this;this.context=e,this.$note=e.layoutInfo.note,this.$editor=e.layoutInfo.editor,this.$editable=e.layoutInfo.editable,this.options=e.options,this.lang=this.options.langInfo,this.editable=this.$editable[0],this.lastRange=null,this.style=new Rt,this.table=new Vt,this.typing=new Bt(e),this.bullet=new Ft,this.history=new Nt(this.$editable),this.context.memo("help.undo",this.lang.help.undo),this.context.memo("help.redo",this.lang.help.redo),this.context.memo("help.tab",this.lang.help.tab),this.context.memo("help.untab",this.lang.help.untab),this.context.memo("help.insertParagraph",this.lang.help.insertParagraph),this.context.memo("help.insertOrderedList",this.lang.help.insertOrderedList),this.context.memo("help.insertUnorderedList",this.lang.help.insertUnorderedList),this.context.memo("help.indent",this.lang.help.indent),this.context.memo("help.outdent",this.lang.help.outdent),this.context.memo("help.formatPara",this.lang.help.formatPara),this.context.memo("help.insertHorizontalRule",this.lang.help.insertHorizontalRule),this.context.memo("help.fontName",this.lang.help.fontName);for(var n=["bold","italic","underline","strikethrough","superscript","subscript","justifyLeft","justifyCenter","justifyRight","justifyFull","formatBlock","removeFormat","backColor"],r=0,o=n.length;r<o;r++)this[n[r]]=function(t){return function(e){i.beforeCommand(),document.execCommand(t,!1,e),i.afterCommand(!0)}}(n[r]),this.context.memo("help."+n[r],this.lang.help[n[r]]);for(this.fontName=this.wrapCommand(function(t){return i.fontStyling("font-family","'"+t+"'")}),this.fontSize=this.wrapCommand(function(t){return i.fontStyling("font-size",t+"px")}),r=1;r<=6;r++)this["formatH"+r]=function(t){return function(){i.formatBlock("H"+t)}}(r),this.context.memo("help.formatH"+r,this.lang.help["formatH"+r]);this.insertParagraph=this.wrapCommand(function(){i.typing.insertParagraph(i.editable)}),this.insertOrderedList=this.wrapCommand(function(){i.bullet.insertOrderedList(i.editable)}),this.insertUnorderedList=this.wrapCommand(function(){i.bullet.insertUnorderedList(i.editable)}),this.indent=this.wrapCommand(function(){i.bullet.indent(i.editable)}),this.outdent=this.wrapCommand(function(){i.bullet.outdent(i.editable)}),this.insertNode=this.wrapCommand(function(e){i.isLimited(t(e).text().length)||(i.getLastRange().insertNode(e),Pt.createFromNodeAfter(e).select(),i.setLastRange())}),this.insertText=this.wrapCommand(function(t){if(!i.isLimited(t.length)){var e=i.getLastRange().insertNode(Tt.createText(t));Pt.create(e,Tt.nodeLength(e)).select(),i.setLastRange()}}),this.pasteHTML=this.wrapCommand(function(t){if(!i.isLimited(t.length)){t=i.context.invoke("codeview.purify",t);var e=i.getLastRange().pasteHTML(t);Pt.createFromNodeAfter(R.last(e)).select(),i.setLastRange()}}),this.formatBlock=this.wrapCommand(function(t,e){var n=i.options.callbacks.onApplyCustomStyle;n?n.call(i,e,i.context,i.onFormatBlock):i.onFormatBlock(t,e)}),this.insertHorizontalRule=this.wrapCommand(function(){var t=i.getLastRange().insertNode(Tt.create("HR"));t.nextSibling&&(Pt.create(t.nextSibling,0).normalize().select(),i.setLastRange())}),this.lineHeight=this.wrapCommand(function(t){i.style.stylePara(i.getLastRange(),{lineHeight:t})}),this.createLink=this.wrapCommand(function(e){var n=e.url,r=e.text,o=e.isNewWindow,a=e.range||i.getLastRange(),s=r.length-a.toString().length;if(!(0<s&&i.isLimited(s))){var l=a.toString()!==r;"string"==typeof n&&(n=n.trim()),n=i.options.onCreateLink?i.options.onCreateLink(n):/^([A-Za-z][A-Za-z0-9+-.]*\:|#|\/)/.test(n)?n:"http://"+n;var c=[];if(l){var u=(a=a.deleteContents()).insertNode(t("<A>"+r+"</A>")[0]);c.push(u)}else c=i.style.styleNodes(a,{nodeName:"A",expandClosestSibling:!0,onlyPartialContains:!0});t.each(c,function(e,i){t(i).attr("href",n),o?t(i).attr("target","_blank"):t(i).removeAttr("target")});var h=Pt.createFromNodeBefore(R.head(c)).getStartPoint(),d=Pt.createFromNodeAfter(R.last(c)).getEndPoint();Pt.create(h.node,h.offset,d.node,d.offset).select(),i.setLastRange()}}),this.color=this.wrapCommand(function(t){var e=t.foreColor,i=t.backColor;e&&document.execCommand("foreColor",!1,e),i&&document.execCommand("backColor",!1,i)}),this.foreColor=this.wrapCommand(function(t){document.execCommand("styleWithCSS",!1,!0),document.execCommand("foreColor",!1,t)}),this.insertTable=this.wrapCommand(function(t){var e=t.split("x");i.getLastRange().deleteContents().insertNode(i.table.createTable(e[0],e[1],i.options))}),this.removeMedia=this.wrapCommand(function(){var e=t(i.restoreTarget()).parent();e.parent("figure").length?e.parent("figure").remove():e=t(i.restoreTarget()).detach(),i.context.triggerEvent("media.delete",e,i.$editable)}),this.floatMe=this.wrapCommand(function(e){var n=t(i.restoreTarget());n.toggleClass("note-float-left","left"===e),n.toggleClass("note-float-right","right"===e),n.css("float","none"===e?"":e)}),this.resize=this.wrapCommand(function(e){var n=t(i.restoreTarget());0===(e=parseFloat(e))?n.css("width",""):n.css({width:100*e+"%",height:""})})}return e.prototype.initialize=function(){var t=this;this.$editable.on("keydown",function(e){if(e.keyCode===It.code.ENTER&&t.context.triggerEvent("enter",e),t.context.triggerEvent("keydown",e),e.isDefaultPrevented()||(t.options.shortcuts?t.handleKeyMap(e):t.preventDefaultEditableShortCuts(e)),t.isLimited(1,e))return!1}).on("keyup",function(e){t.setLastRange(),t.context.triggerEvent("keyup",e)}).on("focus",function(e){t.setLastRange(),t.context.triggerEvent("focus",e)}).on("blur",function(e){t.context.triggerEvent("blur",e)}).on("mousedown",function(e){t.context.triggerEvent("mousedown",e)}).on("mouseup",function(e){t.setLastRange(),t.context.triggerEvent("mouseup",e)}).on("scroll",function(e){t.context.triggerEvent("scroll",e)}).on("paste",function(e){t.setLastRange(),t.context.triggerEvent("paste",e)}),this.$editable.attr("spellcheck",this.options.spellCheck),this.$editable.html(Tt.html(this.$note)||Tt.emptyPara),this.$editable.on(A.inputEventName,D.debounce(function(){t.context.triggerEvent("change",t.$editable.html(),t.$editable)},10)),this.$editor.on("focusin",function(e){t.context.triggerEvent("focusin",e)}).on("focusout",function(e){t.context.triggerEvent("focusout",e)}),this.options.airMode||(this.options.width&&this.$editor.outerWidth(this.options.width),this.options.height&&this.$editable.outerHeight(this.options.height),this.options.maxHeight&&this.$editable.css("max-height",this.options.maxHeight),this.options.minHeight&&this.$editable.css("min-height",this.options.minHeight)),this.history.recordUndo(),this.setLastRange()},e.prototype.destroy=function(){this.$editable.off()},e.prototype.handleKeyMap=function(t){var e=this.options.keyMap[A.isMac?"mac":"pc"],i=[];t.metaKey&&i.push("CMD"),t.ctrlKey&&!t.altKey&&i.push("CTRL"),t.shiftKey&&i.push("SHIFT");var n=It.nameFromCode[t.keyCode];n&&i.push(n);var r=e[i.join("+")];r?!1!==this.context.invoke(r)&&t.preventDefault():It.isEdit(t.keyCode)&&this.afterCommand()},e.prototype.preventDefaultEditableShortCuts=function(t){(t.ctrlKey||t.metaKey)&&R.contains([66,73,85],t.keyCode)&&t.preventDefault()},e.prototype.isLimited=function(t,e){return t=t||0,(void 0===e||!(It.isMove(e.keyCode)||e.ctrlKey||e.metaKey||R.contains([It.code.BACKSPACE,It.code.DELETE],e.keyCode)))&&0<this.options.maxTextLength&&this.$editable.text().length+t>=this.options.maxTextLength},e.prototype.createRange=function(){return this.focus(),this.setLastRange(),this.getLastRange()},e.prototype.setLastRange=function(){this.lastRange=Pt.create(this.editable)},e.prototype.getLastRange=function(){return this.lastRange||this.setLastRange(),this.lastRange},e.prototype.saveRange=function(t){t&&this.getLastRange().collapse().select()},e.prototype.restoreRange=function(){this.lastRange&&(this.lastRange.select(),this.focus())},e.prototype.saveTarget=function(t){this.$editable.data("target",t)},e.prototype.clearTarget=function(){this.$editable.removeData("target")},e.prototype.restoreTarget=function(){return this.$editable.data("target")},e.prototype.currentStyle=function(){var t=Pt.create();return t&&(t=t.normalize()),t?this.style.current(t):this.style.fromNode(this.$editable)},e.prototype.styleFromNode=function(t){return this.style.fromNode(t)},e.prototype.undo=function(){this.context.triggerEvent("before.command",this.$editable.html()),this.history.undo(),this.context.triggerEvent("change",this.$editable.html(),this.$editable)},e.prototype.commit=function(){this.context.triggerEvent("before.command",this.$editable.html()),this.history.commit(),this.context.triggerEvent("change",this.$editable.html(),this.$editable)},e.prototype.redo=function(){this.context.triggerEvent("before.command",this.$editable.html()),this.history.redo(),this.context.triggerEvent("change",this.$editable.html(),this.$editable)},e.prototype.beforeCommand=function(){this.context.triggerEvent("before.command",this.$editable.html()),this.focus()},e.prototype.afterCommand=function(t){this.normalizeContent(),this.history.recordUndo(),t||this.context.triggerEvent("change",this.$editable.html(),this.$editable)},e.prototype.tab=function(){var t=this.getLastRange();if(t.isCollapsed()&&t.isOnCell())this.table.tab(t);else{if(0===this.options.tabSize)return!1;this.isLimited(this.options.tabSize)||(this.beforeCommand(),this.typing.insertTab(t,this.options.tabSize),this.afterCommand())}},e.prototype.untab=function(){var t=this.getLastRange();if(t.isCollapsed()&&t.isOnCell())this.table.tab(t,!0);else if(0===this.options.tabSize)return!1},e.prototype.wrapCommand=function(t){return function(){this.beforeCommand(),t.apply(this,arguments),this.afterCommand()}},e.prototype.insertImage=function(e,i){var n,r=this;return(n=e,t.Deferred(function(e){var i=t("<img>");i.one("load",function(){i.off("error abort"),e.resolve(i)}).one("error abort",function(){i.off("load").detach(),e.reject(i)}).css({display:"none"}).appendTo(document.body).attr("src",n)}).promise()).then(function(t){r.beforeCommand(),"function"==typeof i?i(t):("string"==typeof i&&t.attr("data-filename",i),t.css("width",Math.min(r.$editable.width(),t.width()))),t.show(),Pt.create(r.editable).insertNode(t[0]),Pt.createFromNodeAfter(t[0]).select(),r.setLastRange(),r.afterCommand()}).fail(function(t){r.context.triggerEvent("image.upload.error",t)})},e.prototype.insertImagesAsDataURL=function(e){var i=this;t.each(e,function(e,n){var r,o=n.name;i.options.maximumImageFileSize&&i.options.maximumImageFileSize<n.size?i.context.triggerEvent("image.upload.error",i.lang.image.maximumFileSizeError):(r=n,t.Deferred(function(e){t.extend(new FileReader,{onload:function(t){var i=t.target.result;e.resolve(i)},onerror:function(t){e.reject(t)}}).readAsDataURL(r)}).promise()).then(function(t){return i.insertImage(t,o)}).fail(function(){i.context.triggerEvent("image.upload.error")})})},e.prototype.insertImagesOrCallback=function(t){this.options.callbacks.onImageUpload?this.context.triggerEvent("image.upload",t):this.insertImagesAsDataURL(t)},e.prototype.getSelectedText=function(){var t=this.getLastRange();return t.isOnAnchor()&&(t=Pt.createFromNode(Tt.ancestor(t.sc,Tt.isAnchor))),t.toString()},e.prototype.onFormatBlock=function(e,i){if(document.execCommand("FormatBlock",!1,A.isMSIE?"<"+e+">":e),i&&i.length&&(i[0].tagName.toUpperCase()!==e.toUpperCase()&&(i=i.find(e)),i&&i.length)){var n=i[0].className||"";if(n){var r=this.createRange();t([r.sc,r.ec]).closest(e).addClass(n)}}},e.prototype.formatPara=function(){this.formatBlock("P")},e.prototype.fontStyling=function(e,i){var n=this.getLastRange();if(n){var r=this.style.styleNodes(n);if(t(r).css(e,i),n.isCollapsed()){var o=R.head(r);o&&!Tt.nodeLength(o)&&(o.innerHTML=Tt.ZERO_WIDTH_NBSP_CHAR,Pt.createFromNodeAfter(o.firstChild).select(),this.setLastRange(),this.$editable.data("bogus",o))}}},e.prototype.unlink=function(){var t=this.getLastRange();if(t.isOnAnchor()){var e=Tt.ancestor(t.sc,Tt.isAnchor);(t=Pt.createFromNode(e)).select(),this.setLastRange(),this.beforeCommand(),document.execCommand("unlink"),this.afterCommand()}},e.prototype.getLinkInfo=function(){var e=this.getLastRange().expand(Tt.isAnchor),i=t(R.head(e.nodes(Tt.isAnchor))),n={range:e,text:e.toString(),url:i.length?i.attr("href"):""};return i.length&&(n.isNewWindow="_blank"===i.attr("target")),n},e.prototype.addRow=function(t){var e=this.getLastRange(this.$editable);e.isCollapsed()&&e.isOnCell()&&(this.beforeCommand(),this.table.addRow(e,t),this.afterCommand())},e.prototype.addCol=function(t){var e=this.getLastRange(this.$editable);e.isCollapsed()&&e.isOnCell()&&(this.beforeCommand(),this.table.addCol(e,t),this.afterCommand())},e.prototype.deleteRow=function(){var t=this.getLastRange(this.$editable);t.isCollapsed()&&t.isOnCell()&&(this.beforeCommand(),this.table.deleteRow(t),this.afterCommand())},e.prototype.deleteCol=function(){var t=this.getLastRange(this.$editable);t.isCollapsed()&&t.isOnCell()&&(this.beforeCommand(),this.table.deleteCol(t),this.afterCommand())},e.prototype.deleteTable=function(){var t=this.getLastRange(this.$editable);t.isCollapsed()&&t.isOnCell()&&(this.beforeCommand(),this.table.deleteTable(t),this.afterCommand())},e.prototype.resizeTo=function(t,e,i){var n;if(i){var r=t.y/t.x,o=e.data("ratio");n={width:r<o?t.x:t.y/o,height:r<o?t.x*o:t.y}}else n={width:t.x,height:t.y};e.css(n)},e.prototype.hasFocus=function(){return this.$editable.is(":focus")},e.prototype.focus=function(){this.hasFocus()||this.$editable.focus()},e.prototype.isEmpty=function(){return Tt.isEmpty(this.$editable[0])||Tt.emptyPara===this.$editable.html()},e.prototype.empty=function(){this.context.invoke("code",Tt.emptyPara)},e.prototype.normalizeContent=function(){this.$editable[0].normalize()},e}(),Wt=function(){function t(t){this.context=t,this.$editable=t.layoutInfo.editable}return t.prototype.initialize=function(){this.$editable.on("paste",this.pasteByEvent.bind(this))},t.prototype.pasteByEvent=function(t){var e=t.originalEvent.clipboardData;if(e&&e.items&&e.items.length){var i=1<e.items.length?e.items[1]:R.head(e.items);"file"===i.kind&&-1!==i.type.indexOf("image/")&&this.context.invoke("editor.insertImagesOrCallback",[i.getAsFile()]),this.context.invoke("editor.afterCommand")}},t}(),Ut=function(){function e(e){this.context=e,this.$eventListener=t(document),this.$editor=e.layoutInfo.editor,this.$editable=e.layoutInfo.editable,this.options=e.options,this.lang=this.options.langInfo,this.documentEventHandlers={},this.$dropzone=t(['<div class="note-dropzone">',' <div class="note-dropzone-message"/>',"</div>"].join("")).prependTo(this.$editor)}return e.prototype.initialize=function(){this.options.disableDragAndDrop?(this.documentEventHandlers.onDrop=function(t){t.preventDefault()},this.$eventListener=this.$dropzone,this.$eventListener.on("drop",this.documentEventHandlers.onDrop)):this.attachDragAndDropEvent()},e.prototype.attachDragAndDropEvent=function(){var e=this,i=t(),n=this.$dropzone.find(".note-dropzone-message");this.documentEventHandlers.onDragenter=function(t){var r=e.context.invoke("codeview.isActivated"),o=0<e.$editor.width()&&0<e.$editor.height();r||i.length||!o||(e.$editor.addClass("dragover"),e.$dropzone.width(e.$editor.width()),e.$dropzone.height(e.$editor.height()),n.text(e.lang.image.dragImageHere)),i=i.add(t.target)},this.documentEventHandlers.onDragleave=function(t){(i=i.not(t.target)).length||e.$editor.removeClass("dragover")},this.documentEventHandlers.onDrop=function(){i=t(),e.$editor.removeClass("dragover")},this.$eventListener.on("dragenter",this.documentEventHandlers.onDragenter).on("dragleave",this.documentEventHandlers.onDragleave).on("drop",this.documentEventHandlers.onDrop),this.$dropzone.on("dragenter",function(){e.$dropzone.addClass("hover"),n.text(e.lang.image.dropImage)}).on("dragleave",function(){e.$dropzone.removeClass("hover"),n.text(e.lang.image.dragImageHere)}),this.$dropzone.on("drop",function(i){var n=i.originalEvent.dataTransfer;i.preventDefault(),n&&n.files&&n.files.length?(e.$editable.focus(),e.context.invoke("editor.insertImagesOrCallback",n.files)):t.each(n.types,function(i,r){var o=n.getData(r);-1<r.toLowerCase().indexOf("text")?e.context.invoke("editor.pasteHTML",o):t(o).each(function(t,i){e.context.invoke("editor.insertNode",i)})})}).on("dragover",!1)},e.prototype.destroy=function(){var t=this;Object.keys(this.documentEventHandlers).forEach(function(e){t.$eventListener.off(e.substr(2).toLowerCase(),t.documentEventHandlers[e])}),this.documentEventHandlers={}},e}();A.hasCodeMirror&&(Ht=window.CodeMirror);var Yt=function(){function t(t){this.context=t,this.$editor=t.layoutInfo.editor,this.$editable=t.layoutInfo.editable,this.$codable=t.layoutInfo.codable,this.options=t.options}return t.prototype.sync=function(){this.isActivated()&&A.hasCodeMirror&&this.$codable.data("cmEditor").save()},t.prototype.isActivated=function(){return this.$editor.hasClass("codeview")},t.prototype.toggle=function(){this.isActivated()?this.deactivate():this.activate(),this.context.triggerEvent("codeview.toggled")},t.prototype.purify=function(t){if(this.options.codeviewFilter&&(t=t.replace(this.options.codeviewFilterRegex,""),this.options.codeviewIframeFilter)){var e=this.options.codeviewIframeWhitelistSrc.concat(this.options.codeviewIframeWhitelistSrcBase);t=t.replace(/(<iframe.*?>.*?(?:<\/iframe>)?)/gi,function(t){if(/<.+src(?==?('|"|\s)?)[\s\S]+src(?=('|"|\s)?)[^>]*?>/i.test(t))return"";for(var i=0,n=e;i<n.length;i++){var r=n[i];if(new RegExp('src="(https?:)?//'+r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+'/(.+)"').test(t))return t}return""})}return t},t.prototype.activate=function(){var t=this;if(this.$codable.val(Tt.html(this.$editable,this.options.prettifyHtml)),this.$codable.height(this.$editable.height()),this.context.invoke("toolbar.updateCodeview",!0),this.$editor.addClass("codeview"),this.$codable.focus(),A.hasCodeMirror){var e=Ht.fromTextArea(this.$codable[0],this.options.codemirror);if(this.options.codemirror.tern){var i=new Ht.TernServer(this.options.codemirror.tern);e.ternServer=i,e.on("cursorActivity",function(t){i.updateArgHints(t)})}e.on("blur",function(i){t.context.triggerEvent("blur.codeview",e.getValue(),i)}),e.on("change",function(i){t.context.triggerEvent("change.codeview",e.getValue(),e)}),e.setSize(null,this.$editable.outerHeight()),this.$codable.data("cmEditor",e)}else this.$codable.on("blur",function(e){t.context.triggerEvent("blur.codeview",t.$codable.val(),e)}),this.$codable.on("input",function(e){t.context.triggerEvent("change.codeview",t.$codable.val(),t.$codable)})},t.prototype.deactivate=function(){if(A.hasCodeMirror){var t=this.$codable.data("cmEditor");this.$codable.val(t.getValue()),t.toTextArea()}var e=this.purify(Tt.value(this.$codable,this.options.prettifyHtml)||Tt.emptyPara),i=this.$editable.html()!==e;this.$editable.html(e),this.$editable.height(this.options.height?this.$codable.height():"auto"),this.$editor.removeClass("codeview"),i&&this.context.triggerEvent("change",this.$editable.html(),this.$editable),this.$editable.focus(),this.context.invoke("toolbar.updateCodeview",!1)},t.prototype.destroy=function(){this.isActivated()&&this.deactivate()},t}(),Gt=function(){function e(e){this.$document=t(document),this.$statusbar=e.layoutInfo.statusbar,this.$editable=e.layoutInfo.editable,this.options=e.options}return e.prototype.initialize=function(){var t=this;this.options.airMode||this.options.disableResizeEditor?this.destroy():this.$statusbar.on("mousedown",function(e){e.preventDefault(),e.stopPropagation();var i=t.$editable.offset().top-t.$document.scrollTop(),n=function(e){var n=e.clientY-(i+24);n=0<t.options.minheight?Math.max(n,t.options.minheight):n,n=0<t.options.maxHeight?Math.min(n,t.options.maxHeight):n,t.$editable.height(n)};t.$document.on("mousemove",n).one("mouseup",function(){t.$document.off("mousemove",n)})})},e.prototype.destroy=function(){this.$statusbar.off(),this.$statusbar.addClass("locked")},e}(),Xt=function(){function e(e){var i=this;this.context=e,this.$editor=e.layoutInfo.editor,this.$toolbar=e.layoutInfo.toolbar,this.$editable=e.layoutInfo.editable,this.$codable=e.layoutInfo.codable,this.$window=t(window),this.$scrollbar=t("html, body"),this.onResize=function(){i.resizeTo({h:i.$window.height()-i.$toolbar.outerHeight()})}}return e.prototype.resizeTo=function(t){this.$editable.css("height",t.h),this.$codable.css("height",t.h),this.$codable.data("cmeditor")&&this.$codable.data("cmeditor").setsize(null,t.h)},e.prototype.toggle=function(){this.$editor.toggleClass("fullscreen"),this.isFullscreen()?(this.$editable.data("orgHeight",this.$editable.css("height")),this.$editable.data("orgMaxHeight",this.$editable.css("maxHeight")),this.$editable.css("maxHeight",""),this.$window.on("resize",this.onResize).trigger("resize"),this.$scrollbar.css("overflow","hidden")):(this.$window.off("resize",this.onResize),this.resizeTo({h:this.$editable.data("orgHeight")}),this.$editable.css("maxHeight",this.$editable.css("orgMaxHeight")),this.$scrollbar.css("overflow","visible")),this.context.invoke("toolbar.updateFullscreen",this.isFullscreen())},e.prototype.isFullscreen=function(){return this.$editor.hasClass("fullscreen")},e}(),qt=function(){function e(e){var i=this;this.context=e,this.$document=t(document),this.$editingArea=e.layoutInfo.editingArea,this.options=e.options,this.lang=this.options.langInfo,this.events={"summernote.mousedown":function(t,e){i.update(e.target,e)&&e.preventDefault()},"summernote.keyup summernote.scroll summernote.change summernote.dialog.shown":function(){i.update()},"summernote.disable":function(){i.hide()},"summernote.codeview.toggled":function(){i.update()}}}return e.prototype.initialize=function(){var e=this;this.$handle=t(['<div class="note-handle">','<div class="note-control-selection">','<div class="note-control-selection-bg"></div>','<div class="note-control-holder note-control-nw"></div>','<div class="note-control-holder note-control-ne"></div>','<div class="note-control-holder note-control-sw"></div>','<div class="',this.options.disableResizeImage?"note-control-holder":"note-control-sizing",' note-control-se"></div>',this.options.disableResizeImage?"":'<div class="note-control-selection-info"></div>',"</div>","</div>"].join("")).prependTo(this.$editingArea),this.$handle.on("mousedown",function(t){if(Tt.isControlSizing(t.target)){t.preventDefault(),t.stopPropagation();var i=e.$handle.find(".note-control-selection").data("target"),n=i.offset(),r=e.$document.scrollTop(),o=function(t){e.context.invoke("editor.resizeTo",{x:t.clientX-n.left,y:t.clientY-(n.top-r)},i,!t.shiftKey),e.update(i[0])};e.$document.on("mousemove",o).one("mouseup",function(t){t.preventDefault(),e.$document.off("mousemove",o),e.context.invoke("editor.afterCommand")}),i.data("ratio")||i.data("ratio",i.height()/i.width())}}),this.$handle.on("wheel",function(t){t.preventDefault(),e.update()})},e.prototype.destroy=function(){this.$handle.remove()},e.prototype.update=function(e,i){if(this.context.isDisabled())return!1;var n=Tt.isImg(e),r=this.$handle.find(".note-control-selection");if(this.context.invoke("imagePopover.update",e,i),n){var o=t(e),a=o.position(),s={left:a.left+parseInt(o.css("marginLeft"),10),top:a.top+parseInt(o.css("marginTop"),10)},l={w:o.outerWidth(!1),h:o.outerHeight(!1)};r.css({display:"block",left:s.left,top:s.top,width:l.w,height:l.h}).data("target",o);var c=new Image;c.src=o.attr("src");var u=l.w+"x"+l.h+" ("+this.lang.image.original+": "+c.width+"x"+c.height+")";r.find(".note-control-selection-info").text(u),this.context.invoke("editor.saveTarget",e)}else this.hide();return n},e.prototype.hide=function(){this.context.invoke("editor.clearTarget"),this.$handle.children().hide()},e}(),$t=/^([A-Za-z][A-Za-z0-9+-.]*\:[\/]{2}|mailto:[A-Z0-9._%+-]+@)?(www\.)?(.+)$/i,Zt=function(){function e(t){var e=this;this.context=t,this.events={"summernote.keyup":function(t,i){i.isDefaultPrevented()||e.handleKeyup(i)},"summernote.keydown":function(t,i){e.handleKeydown(i)}}}return e.prototype.initialize=function(){this.lastWordRange=null},e.prototype.destroy=function(){this.lastWordRange=null},e.prototype.replace=function(){if(this.lastWordRange){var e=this.lastWordRange.toString(),i=e.match($t);if(i&&(i[1]||i[2])){var n=i[1]?e:"http://"+e,r=t("<a />").html(e).attr("href",n)[0];this.context.options.linkTargetBlank&&t(r).attr("target","_blank"),this.lastWordRange.insertNode(r),this.lastWordRange=null,this.context.invoke("editor.focus")}}},e.prototype.handleKeydown=function(t){if(R.contains([It.code.ENTER,It.code.SPACE],t.keyCode)){var e=this.context.invoke("editor.createRange").getWordRange();this.lastWordRange=e}},e.prototype.handleKeyup=function(t){R.contains([It.code.ENTER,It.code.SPACE],t.keyCode)&&this.replace()},e}(),Kt=function(){function t(t){var e=this;this.$note=t.layoutInfo.note,this.events={"summernote.change":function(){e.$note.val(t.invoke("code"))}}}return t.prototype.shouldInitialize=function(){return Tt.isTextarea(this.$note[0])},t}(),Qt=function(){function t(t){var e=this;this.context=t,this.options=t.options.replace||{},this.keys=[It.code.ENTER,It.code.SPACE,It.code.PERIOD,It.code.COMMA,It.code.SEMICOLON,It.code.SLASH],this.previousKeydownCode=null,this.events={"summernote.keyup":function(t,i){i.isDefaultPrevented()||e.handleKeyup(i)},"summernote.keydown":function(t,i){e.handleKeydown(i)}}}return t.prototype.shouldInitialize=function(){return!!this.options.match},t.prototype.initialize=function(){this.lastWord=null},t.prototype.destroy=function(){this.lastWord=null},t.prototype.replace=function(){if(this.lastWord){var t=this,e=this.lastWord.toString();this.options.match(e,function(e){if(e){var i="";if("string"==typeof e?i=Tt.createText(e):e instanceof jQuery?i=e[0]:e instanceof Node&&(i=e),!i)return;t.lastWord.insertNode(i),t.lastWord=null,t.context.invoke("editor.focus")}})}},t.prototype.handleKeydown=function(t){if(this.previousKeydownCode&&R.contains(this.keys,this.previousKeydownCode))this.previousKeydownCode=t.keyCode;else{if(R.contains(this.keys,t.keyCode)){var e=this.context.invoke("editor.createRange").getWordRange();this.lastWord=e}this.previousKeydownCode=t.keyCode}},t.prototype.handleKeyup=function(t){R.contains(this.keys,t.keyCode)&&this.replace()},t}(),Jt=function(){function e(t){var e=this;this.context=t,this.$editingArea=t.layoutInfo.editingArea,this.options=t.options,this.events={"summernote.init summernote.change":function(){e.update()},"summernote.codeview.toggled":function(){e.update()}}}return e.prototype.shouldInitialize=function(){return!!this.options.placeholder},e.prototype.initialize=function(){var e=this;this.$placeholder=t('<div class="note-placeholder">'),this.$placeholder.on("click",function(){e.context.invoke("focus")}).html(this.options.placeholder).prependTo(this.$editingArea),this.update()},e.prototype.destroy=function(){this.$placeholder.remove()},e.prototype.update=function(){var t=!this.context.invoke("codeview.isActivated")&&this.context.invoke("editor.isEmpty");this.$placeholder.toggle(t)},e}(),te=function(){function e(e){this.ui=t.summernote.ui,this.context=e,this.$toolbar=e.layoutInfo.toolbar,this.options=e.options,this.lang=this.options.langInfo,this.invertedKeyMap=D.invertObject(this.options.keyMap[A.isMac?"mac":"pc"])}return e.prototype.representShortcut=function(t){var e=this.invertedKeyMap[t];return this.options.shortcuts&&e?(A.isMac&&(e=e.replace("CMD","⌘").replace("SHIFT","⇧"))," ("+(e=e.replace("BACKSLASH","\\").replace("SLASH","/").replace("LEFTBRACKET","[").replace("RIGHTBRACKET","]"))+")"):""},e.prototype.button=function(t){return!this.options.tooltip&&t.tooltip&&delete t.tooltip,t.container=this.options.container,this.ui.button(t)},e.prototype.initialize=function(){this.addToolbarButtons(),this.addImagePopoverButtons(),this.addLinkPopoverButtons(),this.addTablePopoverButtons(),this.fontInstalledMap={}},e.prototype.destroy=function(){delete this.fontInstalledMap},e.prototype.isFontInstalled=function(t){return this.fontInstalledMap.hasOwnProperty(t)||(this.fontInstalledMap[t]=A.isFontInstalled(t)||R.contains(this.options.fontNamesIgnoreCheck,t)),this.fontInstalledMap[t]},e.prototype.isFontDeservedToAdd=function(t){return""!==(t=t.toLowerCase())&&this.isFontInstalled(t)&&-1===["sans-serif","serif","monospace","cursive","fantasy"].indexOf(t)},e.prototype.colorPalette=function(e,i,n,r){var o=this;return this.ui.buttonGroup({className:"note-color "+e,children:[this.button({className:"note-current-color-button",contents:this.ui.icon(this.options.icons.font+" note-recent-color"),tooltip:i,click:function(e){var i=t(e.currentTarget);n&&r?o.context.invoke("editor.color",{backColor:i.attr("data-backColor"),foreColor:i.attr("data-foreColor")}):n?o.context.invoke("editor.color",{backColor:i.attr("data-backColor")}):r&&o.context.invoke("editor.color",{foreColor:i.attr("data-foreColor")})},callback:function(t){var e=t.find(".note-recent-color");n&&(e.css("background-color",o.options.colorButton.backColor),t.attr("data-backColor",o.options.colorButton.backColor)),r?(e.css("color",o.options.colorButton.foreColor),t.attr("data-foreColor",o.options.colorButton.foreColor)):e.css("color","transparent")}}),this.button({className:"dropdown-toggle",contents:this.ui.dropdownButtonContents("",this.options),tooltip:this.lang.color.more,data:{toggle:"dropdown"}}),this.ui.dropdown({items:(n?['<div class="note-palette">',' <div class="note-palette-title">'+this.lang.color.background+"</div>"," <div>",' <button type="button" class="note-color-reset btn btn-light" data-event="backColor" data-value="inherit">',this.lang.color.transparent," </button>"," </div>",' <div class="note-holder" data-event="backColor"/>'," <div>",' <button type="button" class="note-color-select btn" data-event="openPalette" data-value="backColorPicker">',this.lang.color.cpSelect," </button>",' <input type="color" id="backColorPicker" class="note-btn note-color-select-btn" value="'+this.options.colorButton.backColor+'" data-event="backColorPalette">'," </div>",' <div class="note-holder-custom" id="backColorPalette" data-event="backColor"/>',"</div>"].join(""):"")+(r?['<div class="note-palette">',' <div class="note-palette-title">'+this.lang.color.foreground+"</div>"," <div>",' <button type="button" class="note-color-reset btn btn-light" data-event="removeFormat" data-value="foreColor">',this.lang.color.resetToDefault," </button>"," </div>",' <div class="note-holder" data-event="foreColor"/>'," <div>",' <button type="button" class="note-color-select btn" data-event="openPalette" data-value="foreColorPicker">',this.lang.color.cpSelect," </button>",' <input type="color" id="foreColorPicker" class="note-btn note-color-select-btn" value="'+this.options.colorButton.foreColor+'" data-event="foreColorPalette">',' <div class="note-holder-custom" id="foreColorPalette" data-event="foreColor"/>',"</div>"].join(""):""),callback:function(e){e.find(".note-holder").each(function(e,i){var n=t(i);n.append(o.ui.palette({colors:o.options.colors,colorsName:o.options.colorsName,eventName:n.data("event"),container:o.options.container,tooltip:o.options.tooltip}).render())});var i=[["#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF"]];e.find(".note-holder-custom").each(function(e,n){var r=t(n);r.append(o.ui.palette({colors:i,colorsName:i,eventName:r.data("event"),container:o.options.container,tooltip:o.options.tooltip}).render())}),e.find("input[type=color]").each(function(i,n){t(n).change(function(){var i=e.find("#"+t(this).data("event")).find(".note-color-btn").first(),n=this.value.toUpperCase();i.css("background-color",n).attr("aria-label",n).attr("data-value",n).attr("data-original-title",n),i.click()})})},click:function(i){i.stopPropagation();var n=t("."+e),r=t(i.target),a=r.data("event"),s=r.attr("data-value");if("openPalette"===a){var l=n.find("#"+s),c=t(n.find("#"+l.data("event")).find(".note-color-row")[0]),u=c.find(".note-color-btn").last().detach(),h=l.val();u.css("background-color",h).attr("aria-label",h).attr("data-value",h).attr("data-original-title",h),c.prepend(u),l.click()}else if(R.contains(["backColor","foreColor"],a)){var d="backColor"===a?"background-color":"color",f=r.closest(".note-color").find(".note-recent-color"),p=r.closest(".note-color").find(".note-current-color-button");f.css(d,s),p.attr("data-"+a,s),o.context.invoke("editor."+a,s)}}})]}).render()},e.prototype.addToolbarButtons=function(){var e=this;this.context.memo("button.style",function(){return e.ui.buttonGroup([e.button({className:"dropdown-toggle",contents:e.ui.dropdownButtonContents(e.ui.icon(e.options.icons.magic),e.options),tooltip:e.lang.style.style,data:{toggle:"dropdown"}}),e.ui.dropdown({className:"dropdown-style",items:e.options.styleTags,title:e.lang.style.style,template:function(t){"string"==typeof t&&(t={tag:t,title:e.lang.style.hasOwnProperty(t)?e.lang.style[t]:t});var i=t.tag,n=t.title;return"<"+i+(t.style?' style="'+t.style+'" ':"")+(t.className?' class="'+t.className+'"':"")+">"+n+"</"+i+">"},click:e.context.createInvokeHandler("editor.formatBlock")})]).render()});for(var i=function(t,i){var r=n.options.styleTags[t];n.context.memo("button.style."+r,function(){return e.button({className:"note-btn-style-"+r,contents:'<div data-value="'+r+'">'+r.toUpperCase()+"</div>",tooltip:e.lang.style[r],click:e.context.createInvokeHandler("editor.formatBlock")}).render()})},n=this,r=0,o=this.options.styleTags.length;r<o;r++)i(r);this.context.memo("button.bold",function(){return e.button({className:"note-btn-bold",contents:e.ui.icon(e.options.icons.bold),tooltip:e.lang.font.bold+e.representShortcut("bold"),click:e.context.createInvokeHandlerAndUpdateState("editor.bold")}).render()}),this.context.memo("button.italic",function(){return e.button({className:"note-btn-italic",contents:e.ui.icon(e.options.icons.italic),tooltip:e.lang.font.italic+e.representShortcut("italic"),click:e.context.createInvokeHandlerAndUpdateState("editor.italic")}).render()}),this.context.memo("button.underline",function(){return e.button({className:"note-btn-underline",contents:e.ui.icon(e.options.icons.underline),tooltip:e.lang.font.underline+e.representShortcut("underline"),click:e.context.createInvokeHandlerAndUpdateState("editor.underline")}).render()}),this.context.memo("button.clear",function(){return e.button({contents:e.ui.icon(e.options.icons.eraser),tooltip:e.lang.font.clear+e.representShortcut("removeFormat"),click:e.context.createInvokeHandler("editor.removeFormat")}).render()}),this.context.memo("button.strikethrough",function(){return e.button({className:"note-btn-strikethrough",contents:e.ui.icon(e.options.icons.strikethrough),tooltip:e.lang.font.strikethrough+e.representShortcut("strikethrough"),click:e.context.createInvokeHandlerAndUpdateState("editor.strikethrough")}).render()}),this.context.memo("button.superscript",function(){return e.button({className:"note-btn-superscript",contents:e.ui.icon(e.options.icons.superscript),tooltip:e.lang.font.superscript,click:e.context.createInvokeHandlerAndUpdateState("editor.superscript")}).render()}),this.context.memo("button.subscript",function(){return e.button({className:"note-btn-subscript",contents:e.ui.icon(e.options.icons.subscript),tooltip:e.lang.font.subscript,click:e.context.createInvokeHandlerAndUpdateState("editor.subscript")}).render()}),this.context.memo("button.fontname",function(){var i=e.context.invoke("editor.currentStyle");return t.each(i["font-family"].split(","),function(t,i){i=i.trim().replace(/['"]+/g,""),e.isFontDeservedToAdd(i)&&-1===e.options.fontNames.indexOf(i)&&e.options.fontNames.push(i)}),e.ui.buttonGroup([e.button({className:"dropdown-toggle",contents:e.ui.dropdownButtonContents('<span class="note-current-fontname"/>',e.options),tooltip:e.lang.font.name,data:{toggle:"dropdown"}}),e.ui.dropdownCheck({className:"dropdown-fontname",checkClassName:e.options.icons.menuCheck,items:e.options.fontNames.filter(e.isFontInstalled.bind(e)),title:e.lang.font.name,template:function(t){return"<span style=\"font-family: '"+t+"'\">"+t+"</span>"},click:e.context.createInvokeHandlerAndUpdateState("editor.fontName")})]).render()}),this.context.memo("button.fontsize",function(){return e.ui.buttonGroup([e.button({className:"dropdown-toggle",contents:e.ui.dropdownButtonContents('<span class="note-current-fontsize"/>',e.options),tooltip:e.lang.font.size,data:{toggle:"dropdown"}}),e.ui.dropdownCheck({className:"dropdown-fontsize",checkClassName:e.options.icons.menuCheck,items:e.options.fontSizes,title:e.lang.font.size,click:e.context.createInvokeHandlerAndUpdateState("editor.fontSize")})]).render()}),this.context.memo("button.color",function(){return e.colorPalette("note-color-all",e.lang.color.recent,!0,!0)}),this.context.memo("button.forecolor",function(){return e.colorPalette("note-color-fore",e.lang.color.foreground,!1,!0)}),this.context.memo("button.backcolor",function(){return e.colorPalette("note-color-back",e.lang.color.background,!0,!1)}),this.context.memo("button.ul",function(){return e.button({contents:e.ui.icon(e.options.icons.unorderedlist),tooltip:e.lang.lists.unordered+e.representShortcut("insertUnorderedList"),click:e.context.createInvokeHandler("editor.insertUnorderedList")}).render()}),this.context.memo("button.ol",function(){return e.button({contents:e.ui.icon(e.options.icons.orderedlist),tooltip:e.lang.lists.ordered+e.representShortcut("insertOrderedList"),click:e.context.createInvokeHandler("editor.insertOrderedList")}).render()});var a=this.button({contents:this.ui.icon(this.options.icons.alignLeft),tooltip:this.lang.paragraph.left+this.representShortcut("justifyLeft"),click:this.context.createInvokeHandler("editor.justifyLeft")}),s=this.button({contents:this.ui.icon(this.options.icons.alignCenter),tooltip:this.lang.paragraph.center+this.representShortcut("justifyCenter"),click:this.context.createInvokeHandler("editor.justifyCenter")}),l=this.button({contents:this.ui.icon(this.options.icons.alignRight),tooltip:this.lang.paragraph.right+this.representShortcut("justifyRight"),click:this.context.createInvokeHandler("editor.justifyRight")}),c=this.button({contents:this.ui.icon(this.options.icons.alignJustify),tooltip:this.lang.paragraph.justify+this.representShortcut("justifyFull"),click:this.context.createInvokeHandler("editor.justifyFull")}),u=this.button({contents:this.ui.icon(this.options.icons.outdent),tooltip:this.lang.paragraph.outdent+this.representShortcut("outdent"),click:this.context.createInvokeHandler("editor.outdent")}),h=this.button({contents:this.ui.icon(this.options.icons.indent),tooltip:this.lang.paragraph.indent+this.representShortcut("indent"),click:this.context.createInvokeHandler("editor.indent")});this.context.memo("button.justifyLeft",D.invoke(a,"render")),this.context.memo("button.justifyCenter",D.invoke(s,"render")),this.context.memo("button.justifyRight",D.invoke(l,"render")),this.context.memo("button.justifyFull",D.invoke(c,"render")),this.context.memo("button.outdent",D.invoke(u,"render")),this.context.memo("button.indent",D.invoke(h,"render")),this.context.memo("button.paragraph",function(){return e.ui.buttonGroup([e.button({className:"dropdown-toggle",contents:e.ui.dropdownButtonContents(e.ui.icon(e.options.icons.alignLeft),e.options),tooltip:e.lang.paragraph.paragraph,data:{toggle:"dropdown"}}),e.ui.dropdown([e.ui.buttonGroup({className:"note-align",children:[a,s,l,c]}),e.ui.buttonGroup({className:"note-list",children:[u,h]})])]).render()}),this.context.memo("button.height",function(){return e.ui.buttonGroup([e.button({className:"dropdown-toggle",contents:e.ui.dropdownButtonContents(e.ui.icon(e.options.icons.textHeight),e.options),tooltip:e.lang.font.height,data:{toggle:"dropdown"}}),e.ui.dropdownCheck({items:e.options.lineHeights,checkClassName:e.options.icons.menuCheck,className:"dropdown-line-height",title:e.lang.font.height,click:e.context.createInvokeHandler("editor.lineHeight")})]).render()}),this.context.memo("button.table",function(){return e.ui.buttonGroup([e.button({className:"dropdown-toggle",contents:e.ui.dropdownButtonContents(e.ui.icon(e.options.icons.table),e.options),tooltip:e.lang.table.table,data:{toggle:"dropdown"}}),e.ui.dropdown({title:e.lang.table.table,className:"note-table",items:['<div class="note-dimension-picker">',' <div class="note-dimension-picker-mousecatcher" data-event="insertTable" data-value="1x1"/>',' <div class="note-dimension-picker-highlighted"/>',' <div class="note-dimension-picker-unhighlighted"/>',"</div>",'<div class="note-dimension-display">1 x 1</div>'].join("")})],{callback:function(t){t.find(".note-dimension-picker-mousecatcher").css({width:e.options.insertTableMaxSize.col+"em",height:e.options.insertTableMaxSize.row+"em"}).mousedown(e.context.createInvokeHandler("editor.insertTable")).on("mousemove",e.tableMoveHandler.bind(e))}}).render()}),this.context.memo("button.link",function(){return e.button({contents:e.ui.icon(e.options.icons.link),tooltip:e.lang.link.link+e.representShortcut("linkDialog.show"),click:e.context.createInvokeHandler("linkDialog.show")}).render()}),this.context.memo("button.picture",function(){return e.button({contents:e.ui.icon(e.options.icons.picture),tooltip:e.lang.image.image,click:e.context.createInvokeHandler("imageDialog.show")}).render()}),this.context.memo("button.video",function(){return e.button({contents:e.ui.icon(e.options.icons.video),tooltip:e.lang.video.video,click:e.context.createInvokeHandler("videoDialog.show")}).render()}),this.context.memo("button.hr",function(){return e.button({contents:e.ui.icon(e.options.icons.minus),tooltip:e.lang.hr.insert+e.representShortcut("insertHorizontalRule"),click:e.context.createInvokeHandler("editor.insertHorizontalRule")}).render()}),this.context.memo("button.fullscreen",function(){return e.button({className:"btn-fullscreen",contents:e.ui.icon(e.options.icons.arrowsAlt),tooltip:e.lang.options.fullscreen,click:e.context.createInvokeHandler("fullscreen.toggle")}).render()}),this.context.memo("button.codeview",function(){return e.button({className:"btn-codeview",contents:e.ui.icon(e.options.icons.code),tooltip:e.lang.options.codeview,click:e.context.createInvokeHandler("codeview.toggle")}).render()}),this.context.memo("button.redo",function(){return e.button({contents:e.ui.icon(e.options.icons.redo),tooltip:e.lang.history.redo+e.representShortcut("redo"),click:e.context.createInvokeHandler("editor.redo")}).render()}),this.context.memo("button.undo",function(){return e.button({contents:e.ui.icon(e.options.icons.undo),tooltip:e.lang.history.undo+e.representShortcut("undo"),click:e.context.createInvokeHandler("editor.undo")}).render()}),this.context.memo("button.help",function(){return e.button({contents:e.ui.icon(e.options.icons.question),tooltip:e.lang.options.help,click:e.context.createInvokeHandler("helpDialog.show")}).render()})},e.prototype.addImagePopoverButtons=function(){var t=this;this.context.memo("button.resizeFull",function(){return t.button({contents:'<span class="note-fontsize-10">100%</span>',tooltip:t.lang.image.resizeFull,click:t.context.createInvokeHandler("editor.resize","1")}).render()}),this.context.memo("button.resizeHalf",function(){return t.button({contents:'<span class="note-fontsize-10">50%</span>',tooltip:t.lang.image.resizeHalf,click:t.context.createInvokeHandler("editor.resize","0.5")}).render()}),this.context.memo("button.resizeQuarter",function(){return t.button({contents:'<span class="note-fontsize-10">25%</span>',tooltip:t.lang.image.resizeQuarter,click:t.context.createInvokeHandler("editor.resize","0.25")}).render()}),this.context.memo("button.resizeNone",function(){return t.button({contents:t.ui.icon(t.options.icons.rollback),tooltip:t.lang.image.resizeNone,click:t.context.createInvokeHandler("editor.resize","0")}).render()}),this.context.memo("button.floatLeft",function(){return t.button({contents:t.ui.icon(t.options.icons.floatLeft),tooltip:t.lang.image.floatLeft,click:t.context.createInvokeHandler("editor.floatMe","left")}).render()}),this.context.memo("button.floatRight",function(){return t.button({contents:t.ui.icon(t.options.icons.floatRight),tooltip:t.lang.image.floatRight,click:t.context.createInvokeHandler("editor.floatMe","right")}).render()}),this.context.memo("button.floatNone",function(){return t.button({contents:t.ui.icon(t.options.icons.rollback),tooltip:t.lang.image.floatNone,click:t.context.createInvokeHandler("editor.floatMe","none")}).render()}),this.context.memo("button.removeMedia",function(){return t.button({contents:t.ui.icon(t.options.icons.trash),tooltip:t.lang.image.remove,click:t.context.createInvokeHandler("editor.removeMedia")}).render()})},e.prototype.addLinkPopoverButtons=function(){var t=this;this.context.memo("button.linkDialogShow",function(){return t.button({contents:t.ui.icon(t.options.icons.link),tooltip:t.lang.link.edit,click:t.context.createInvokeHandler("linkDialog.show")}).render()}),this.context.memo("button.unlink",function(){return t.button({contents:t.ui.icon(t.options.icons.unlink),tooltip:t.lang.link.unlink,click:t.context.createInvokeHandler("editor.unlink")}).render()})},e.prototype.addTablePopoverButtons=function(){var t=this;this.context.memo("button.addRowUp",function(){return t.button({className:"btn-md",contents:t.ui.icon(t.options.icons.rowAbove),tooltip:t.lang.table.addRowAbove,click:t.context.createInvokeHandler("editor.addRow","top")}).render()}),this.context.memo("button.addRowDown",function(){return t.button({className:"btn-md",contents:t.ui.icon(t.options.icons.rowBelow),tooltip:t.lang.table.addRowBelow,click:t.context.createInvokeHandler("editor.addRow","bottom")}).render()}),this.context.memo("button.addColLeft",function(){return t.button({className:"btn-md",contents:t.ui.icon(t.options.icons.colBefore),tooltip:t.lang.table.addColLeft,click:t.context.createInvokeHandler("editor.addCol","left")}).render()}),this.context.memo("button.addColRight",function(){return t.button({className:"btn-md",contents:t.ui.icon(t.options.icons.colAfter),tooltip:t.lang.table.addColRight,click:t.context.createInvokeHandler("editor.addCol","right")}).render()}),this.context.memo("button.deleteRow",function(){return t.button({className:"btn-md",contents:t.ui.icon(t.options.icons.rowRemove),tooltip:t.lang.table.delRow,click:t.context.createInvokeHandler("editor.deleteRow")}).render()}),this.context.memo("button.deleteCol",function(){return t.button({className:"btn-md",contents:t.ui.icon(t.options.icons.colRemove),tooltip:t.lang.table.delCol,click:t.context.createInvokeHandler("editor.deleteCol")}).render()}),this.context.memo("button.deleteTable",function(){return t.button({className:"btn-md",contents:t.ui.icon(t.options.icons.trash),tooltip:t.lang.table.delTable,click:t.context.createInvokeHandler("editor.deleteTable")}).render()})},e.prototype.build=function(t,e){for(var i=0,n=e.length;i<n;i++){for(var r=e[i],o=Array.isArray(r)?r[0]:r,a=Array.isArray(r)?1===r.length?[r[0]]:r[1]:[r],s=this.ui.buttonGroup({className:"note-"+o}).render(),l=0,c=a.length;l<c;l++){var u=this.context.memo("button."+a[l]);u&&s.append("function"==typeof u?u():u)}s.appendTo(t)}},e.prototype.updateCurrentStyle=function(e){var i=this,n=e||this.$toolbar,r=this.context.invoke("editor.currentStyle");if(this.updateBtnStates(n,{".note-btn-bold":function(){return"bold"===r["font-bold"]},".note-btn-italic":function(){return"italic"===r["font-italic"]},".note-btn-underline":function(){return"underline"===r["font-underline"]},".note-btn-subscript":function(){return"subscript"===r["font-subscript"]},".note-btn-superscript":function(){return"superscript"===r["font-superscript"]},".note-btn-strikethrough":function(){return"strikethrough"===r["font-strikethrough"]}}),r["font-family"]){var o=r["font-family"].split(",").map(function(t){return t.replace(/[\'\"]/g,"").replace(/\s+$/,"").replace(/^\s+/,"")}),a=R.find(o,this.isFontInstalled.bind(this));n.find(".dropdown-fontname a").each(function(e,i){var n=t(i),r=n.data("value")+""==a+"";n.toggleClass("checked",r)}),n.find(".note-current-fontname").text(a).css("font-family",a)}if(r["font-size"]){var s=r["font-size"];n.find(".dropdown-fontsize a").each(function(e,i){var n=t(i),r=n.data("value")+""==s+"";n.toggleClass("checked",r)}),n.find(".note-current-fontsize").text(s)}if(r["line-height"]){var l=r["line-height"];n.find(".dropdown-line-height li a").each(function(e,n){var r=t(n).data("value")+""==l+"";i.className=r?"checked":""})}},e.prototype.updateBtnStates=function(e,i){var n=this;t.each(i,function(t,i){n.ui.toggleBtnActive(e.find(t),i())})},e.prototype.tableMoveHandler=function(e){var i,n=t(e.target.parentNode),r=n.next(),o=n.find(".note-dimension-picker-mousecatcher"),a=n.find(".note-dimension-picker-highlighted"),s=n.find(".note-dimension-picker-unhighlighted");if(void 0===e.offsetX){var l=t(e.target).offset();i={x:e.pageX-l.left,y:e.pageY-l.top}}else i={x:e.offsetX,y:e.offsetY};var c=Math.ceil(i.x/18)||1,u=Math.ceil(i.y/18)||1;a.css({width:c+"em",height:u+"em"}),o.data("value",c+"x"+u),3<c&&c<this.options.insertTableMaxSize.col&&s.css({width:c+1+"em"}),3<u&&u<this.options.insertTableMaxSize.row&&s.css({height:u+1+"em"}),r.html(c+" x "+u)},e}(),ee=function(){function e(e){this.context=e,this.$window=t(window),this.$document=t(document),this.ui=t.summernote.ui,this.$note=e.layoutInfo.note,this.$editor=e.layoutInfo.editor,this.$toolbar=e.layoutInfo.toolbar,this.$editable=e.layoutInfo.editable,this.$statusbar=e.layoutInfo.statusbar,this.options=e.options,this.isFollowing=!1,this.followScroll=this.followScroll.bind(this)}return e.prototype.shouldInitialize=function(){return!this.options.airMode},e.prototype.initialize=function(){var t=this;this.options.toolbar=this.options.toolbar||[],this.options.toolbar.length?this.context.invoke("buttons.build",this.$toolbar,this.options.toolbar):this.$toolbar.hide(),this.options.toolbarContainer&&this.$toolbar.appendTo(this.options.toolbarContainer),this.changeContainer(!1),this.$note.on("summernote.keyup summernote.mouseup summernote.change",function(){t.context.invoke("buttons.updateCurrentStyle")}),this.context.invoke("buttons.updateCurrentStyle"),this.options.followingToolbar&&this.$window.on("scroll resize",this.followScroll)},e.prototype.destroy=function(){this.$toolbar.children().remove(),this.options.followingToolbar&&this.$window.off("scroll resize",this.followScroll)},e.prototype.followScroll=function(){if(this.$editor.hasClass("fullscreen"))return!1;var e=this.$editor.outerHeight(),i=this.$editor.width(),n=this.$toolbar.height(),r=this.$statusbar.height(),o=0;this.options.otherStaticBar&&(o=t(this.options.otherStaticBar).outerHeight());var a=this.$document.scrollTop(),s=this.$editor.offset().top,l=s-o,c=s+e-o-n-r;!this.isFollowing&&l<a&&a<c-n?(this.isFollowing=!0,this.$toolbar.css({position:"fixed",top:o,width:i}),this.$editable.css({marginTop:this.$toolbar.height()+5})):this.isFollowing&&(a<l||c<a)&&(this.isFollowing=!1,this.$toolbar.css({position:"relative",top:0,width:"100%"}),this.$editable.css({marginTop:""}))},e.prototype.changeContainer=function(t){t?this.$toolbar.prependTo(this.$editor):this.options.toolbarContainer&&this.$toolbar.appendTo(this.options.toolbarContainer),this.followScroll()},e.prototype.updateFullscreen=function(t){this.ui.toggleBtnActive(this.$toolbar.find(".btn-fullscreen"),t),this.changeContainer(t)},e.prototype.updateCodeview=function(t){this.ui.toggleBtnActive(this.$toolbar.find(".btn-codeview"),t),t?this.deactivate():this.activate()},e.prototype.activate=function(t){var e=this.$toolbar.find("button");t||(e=e.not(".btn-codeview")),this.ui.toggleBtn(e,!0)},e.prototype.deactivate=function(t){var e=this.$toolbar.find("button");t||(e=e.not(".btn-codeview")),this.ui.toggleBtn(e,!1)},e}(),ie=function(){function e(e){this.context=e,this.ui=t.summernote.ui,this.$body=t(document.body),this.$editor=e.layoutInfo.editor,this.options=e.options,this.lang=this.options.langInfo,e.memo("help.linkDialog.show",this.options.langInfo.help["linkDialog.show"])}return e.prototype.initialize=function(){var e=this.options.dialogsInBody?this.$body:this.$editor,i=['<div class="form-group note-form-group">','<label class="note-form-label">'+this.lang.link.textToDisplay+"</label>",'<input class="note-link-text form-control note-form-control note-input" type="text" />',"</div>",'<div class="form-group note-form-group">','<label class="note-form-label">'+this.lang.link.url+"</label>",'<input class="note-link-url form-control note-form-control note-input" type="text" value="http://" />',"</div>",this.options.disableLinkTarget?"":t("<div/>").append(this.ui.checkbox({className:"sn-checkbox-open-in-new-window",text:this.lang.link.openInNewWindow,checked:!0}).render()).html()].join(""),n='<input type="button" href="#" class="btn btn-primary note-btn note-btn-primary note-link-btn" value="'+this.lang.link.insert+'" disabled>';this.$dialog=this.ui.dialog({className:"link-dialog",title:this.lang.link.insert,fade:this.options.dialogsFade,body:i,footer:n}).render().appendTo(e)},e.prototype.destroy=function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()},e.prototype.bindEnterKey=function(t,e){t.on("keypress",function(t){t.keyCode===It.code.ENTER&&(t.preventDefault(),e.trigger("click"))})},e.prototype.toggleLinkBtn=function(t,e,i){this.ui.toggleBtn(t,e.val()&&i.val())},e.prototype.showLinkDialog=function(e){var i=this;return t.Deferred(function(t){var n=i.$dialog.find(".note-link-text"),r=i.$dialog.find(".note-link-url"),o=i.$dialog.find(".note-link-btn"),a=i.$dialog.find(".sn-checkbox-open-in-new-window input[type=checkbox]");i.ui.onDialogShown(i.$dialog,function(){i.context.triggerEvent("dialog.shown"),!e.url&&D.isValidUrl(e.text)&&(e.url=e.text),n.on("input paste propertychange",function(){e.text=n.val(),i.toggleLinkBtn(o,n,r)}).val(e.text),r.on("input paste propertychange",function(){e.text||n.val(r.val()),i.toggleLinkBtn(o,n,r)}).val(e.url),A.isSupportTouch||r.trigger("focus"),i.toggleLinkBtn(o,n,r),i.bindEnterKey(r,o),i.bindEnterKey(n,o);var s=void 0!==e.isNewWindow?e.isNewWindow:i.context.options.linkTargetBlank;a.prop("checked",s),o.one("click",function(o){o.preventDefault(),t.resolve({range:e.range,url:r.val(),text:n.val(),isNewWindow:a.is(":checked")}),i.ui.hideDialog(i.$dialog)})}),i.ui.onDialogHidden(i.$dialog,function(){n.off(),r.off(),o.off(),"pending"===t.state()&&t.reject()}),i.ui.showDialog(i.$dialog)}).promise()},e.prototype.show=function(){var t=this,e=this.context.invoke("editor.getLinkInfo");this.context.invoke("editor.saveRange"),this.showLinkDialog(e).then(function(e){t.context.invoke("editor.restoreRange"),t.context.invoke("editor.createLink",e)}).fail(function(){t.context.invoke("editor.restoreRange")})},e}(),ne=function(){function e(e){var i=this;this.context=e,this.ui=t.summernote.ui,this.options=e.options,this.events={"summernote.keyup summernote.mouseup summernote.change summernote.scroll":function(){i.update()},"summernote.disable summernote.dialog.shown":function(){i.hide()}}}return e.prototype.shouldInitialize=function(){return!R.isEmpty(this.options.popover.link)},e.prototype.initialize=function(){this.$popover=this.ui.popover({className:"note-link-popover",callback:function(t){t.find(".popover-content,.note-popover-content").prepend('<span><a target="_blank"></a>&nbsp;</span>')}}).render().appendTo(this.options.container);var t=this.$popover.find(".popover-content,.note-popover-content");this.context.invoke("buttons.build",t,this.options.popover.link)},e.prototype.destroy=function(){this.$popover.remove()},e.prototype.update=function(){if(this.context.invoke("editor.hasFocus")){var e=this.context.invoke("editor.getLastRange");if(e.isCollapsed()&&e.isOnAnchor()){var i=Tt.ancestor(e.sc,Tt.isAnchor),n=t(i).attr("href");this.$popover.find("a").attr("href",n).html(n);var r=Tt.posFromPlaceholder(i);this.$popover.css({display:"block",left:r.left,top:r.top})}else this.hide()}else this.hide()},e.prototype.hide=function(){this.$popover.hide()},e}(),re=function(){function e(e){this.context=e,this.ui=t.summernote.ui,this.$body=t(document.body),this.$editor=e.layoutInfo.editor,this.options=e.options,this.lang=this.options.langInfo}return e.prototype.initialize=function(){var t=this.options.dialogsInBody?this.$body:this.$editor,e="";if(this.options.maximumImageFileSize){var i=Math.floor(Math.log(this.options.maximumImageFileSize)/Math.log(1024)),n=1*(this.options.maximumImageFileSize/Math.pow(1024,i)).toFixed(2)+" "+" KMGTP"[i]+"B";e="<small>"+this.lang.image.maximumFileSize+" : "+n+"</small>"}var r=['<div class="form-group note-form-group note-group-select-from-files">','<label class="note-form-label">'+this.lang.image.selectFromFiles+"</label>",'<input class="note-image-input form-control-file note-form-control note-input" ',' type="file" name="files" accept="image/*" multiple="multiple" />',e,"</div>",'<div class="form-group note-group-image-url" style="overflow:auto;">','<label class="note-form-label">'+this.lang.image.url+"</label>",'<input class="note-image-url form-control note-form-control note-input ',' col-md-12" type="text" />',"</div>"].join(""),o='<input type="button" href="#" class="btn btn-primary note-btn note-btn-primary note-image-btn" value="'+this.lang.image.insert+'" disabled>';this.$dialog=this.ui.dialog({title:this.lang.image.insert,fade:this.options.dialogsFade,body:r,footer:o}).render().appendTo(t)},e.prototype.destroy=function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()},e.prototype.bindEnterKey=function(t,e){t.on("keypress",function(t){t.keyCode===It.code.ENTER&&(t.preventDefault(),e.trigger("click"))})},e.prototype.show=function(){var t=this;this.context.invoke("editor.saveRange"),this.showImageDialog().then(function(e){t.ui.hideDialog(t.$dialog),t.context.invoke("editor.restoreRange"),"string"==typeof e?t.options.callbacks.onImageLinkInsert?t.context.triggerEvent("image.link.insert",e):t.context.invoke("editor.insertImage",e):t.context.invoke("editor.insertImagesOrCallback",e)}).fail(function(){t.context.invoke("editor.restoreRange")})},e.prototype.showImageDialog=function(){var e=this;return t.Deferred(function(t){var i=e.$dialog.find(".note-image-input"),n=e.$dialog.find(".note-image-url"),r=e.$dialog.find(".note-image-btn");e.ui.onDialogShown(e.$dialog,function(){e.context.triggerEvent("dialog.shown"),i.replaceWith(i.clone().on("change",function(e){t.resolve(e.target.files||e.target.value)}).val("")),n.on("input paste propertychange",function(){e.ui.toggleBtn(r,n.val())}).val(""),A.isSupportTouch||n.trigger("focus"),r.click(function(e){e.preventDefault(),t.resolve(n.val())}),e.bindEnterKey(n,r)}),e.ui.onDialogHidden(e.$dialog,function(){i.off(),n.off(),r.off(),"pending"===t.state()&&t.reject()}),e.ui.showDialog(e.$dialog)})},e}(),oe=function(){function e(e){var i=this;this.context=e,this.ui=t.summernote.ui,this.editable=e.layoutInfo.editable[0],this.options=e.options,this.events={"summernote.disable":function(){i.hide()}}}return e.prototype.shouldInitialize=function(){return!R.isEmpty(this.options.popover.image)},e.prototype.initialize=function(){this.$popover=this.ui.popover({className:"note-image-popover"}).render().appendTo(this.options.container);var t=this.$popover.find(".popover-content,.note-popover-content");this.context.invoke("buttons.build",t,this.options.popover.image)},e.prototype.destroy=function(){this.$popover.remove()},e.prototype.update=function(t,e){if(Tt.isImg(t)){var i=Tt.posFromPlaceholder(t),n=Tt.posFromPlaceholder(this.editable);this.$popover.css({display:"block",left:this.options.popatmouse?e.pageX-20:i.left,top:this.options.popatmouse?e.pageY:Math.min(i.top,n.top)})}else this.hide()},e.prototype.hide=function(){this.$popover.hide()},e}(),ae=function(){function e(e){var i=this;this.context=e,this.ui=t.summernote.ui,this.options=e.options,this.events={"summernote.mousedown":function(t,e){i.update(e.target)},"summernote.keyup summernote.scroll summernote.change":function(){i.update()},"summernote.disable":function(){i.hide()}}}return e.prototype.shouldInitialize=function(){return!R.isEmpty(this.options.popover.table)},e.prototype.initialize=function(){this.$popover=this.ui.popover({className:"note-table-popover"}).render().appendTo(this.options.container);var t=this.$popover.find(".popover-content,.note-popover-content");this.context.invoke("buttons.build",t,this.options.popover.table),A.isFF&&document.execCommand("enableInlineTableEditing",!1,!1)},e.prototype.destroy=function(){this.$popover.remove()},e.prototype.update=function(t){if(this.context.isDisabled())return!1;var e=Tt.isCell(t);if(e){var i=Tt.posFromPlaceholder(t);this.$popover.css({display:"block",left:i.left,top:i.top})}else this.hide();return e},e.prototype.hide=function(){this.$popover.hide()},e}(),se=function(){function e(e){this.context=e,this.ui=t.summernote.ui,this.$body=t(document.body),this.$editor=e.layoutInfo.editor,this.options=e.options,this.lang=this.options.langInfo}return e.prototype.initialize=function(){var t=this.options.dialogsInBody?this.$body:this.$editor,e=['<div class="form-group note-form-group row-fluid">','<label class="note-form-label">'+this.lang.video.url+' <small class="text-muted">'+this.lang.video.providers+"</small></label>",'<input class="note-video-url form-control note-form-control note-input" type="text" />',"</div>"].join(""),i='<input type="button" href="#" class="btn btn-primary note-btn note-btn-primary note-video-btn" value="'+this.lang.video.insert+'" disabled>';this.$dialog=this.ui.dialog({title:this.lang.video.insert,fade:this.options.dialogsFade,body:e,footer:i}).render().appendTo(t)},e.prototype.destroy=function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()},e.prototype.bindEnterKey=function(t,e){t.on("keypress",function(t){t.keyCode===It.code.ENTER&&(t.preventDefault(),e.trigger("click"))})},e.prototype.createVideoNode=function(e){var i,n=e.match(/\/\/(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))([\w|-]{11})(?:(?:[\?&]t=)(\S+))?$/),r=e.match(/(?:www\.|\/\/)instagram\.com\/p\/(.[a-zA-Z0-9_-]*)/),o=e.match(/\/\/vine\.co\/v\/([a-zA-Z0-9]+)/),a=e.match(/\/\/(player\.)?vimeo\.com\/([a-z]*\/)*(\d+)[?]?.*/),s=e.match(/.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/),l=e.match(/\/\/v\.youku\.com\/v_show\/id_(\w+)=*\.html/),c=e.match(/\/\/v\.qq\.com.*?vid=(.+)/),u=e.match(/\/\/v\.qq\.com\/x?\/?(page|cover).*?\/([^\/]+)\.html\??.*/),h=e.match(/^.+.(mp4|m4v)$/),d=e.match(/^.+.(ogg|ogv)$/),f=e.match(/^.+.(webm)$/),p=e.match(/(?:www\.|\/\/)facebook\.com\/([^\/]+)\/videos\/([0-9]+)/);if(n&&11===n[1].length){var g=n[1],m=0;if(void 0!==n[2]){var v=n[2].match(/^(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?$/);if(v)for(var y=[3600,60,1],b=0,L=y.length;b<L;b++)m+=void 0!==v[b+1]?y[b]*parseInt(v[b+1],10):0}i=t("<iframe>").attr("frameborder",0).attr("src","//www.youtube.com/embed/"+g+(0<m?"?start="+m:"")).attr("width","640").attr("height","360")}else if(r&&r[0].length)i=t("<iframe>").attr("frameborder",0).attr("src","https://instagram.com/p/"+r[1]+"/embed/").attr("width","612").attr("height","710").attr("scrolling","no").attr("allowtransparency","true");else if(o&&o[0].length)i=t("<iframe>").attr("frameborder",0).attr("src",o[0]+"/embed/simple").attr("width","600").attr("height","600").attr("class","vine-embed");else if(a&&a[3].length)i=t("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("src","//player.vimeo.com/video/"+a[3]).attr("width","640").attr("height","360");else if(s&&s[2].length)i=t("<iframe>").attr("frameborder",0).attr("src","//www.dailymotion.com/embed/video/"+s[2]).attr("width","640").attr("height","360");else if(l&&l[1].length)i=t("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("height","498").attr("width","510").attr("src","//player.youku.com/embed/"+l[1]);else if(c&&c[1].length||u&&u[2].length){var x=c&&c[1].length?c[1]:u[2];i=t("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("height","310").attr("width","500").attr("src","http://v.qq.com/iframe/player.html?vid="+x+"&amp;auto=0")}else if(h||d||f)i=t("<video controls>").attr("src",e).attr("width","640").attr("height","360");else{if(!p||!p[0].length)return!1;i=t("<iframe>").attr("frameborder",0).attr("src","https://www.facebook.com/plugins/video.php?href="+encodeURIComponent(p[0])+"&show_text=0&width=560").attr("width","560").attr("height","301").attr("scrolling","no").attr("allowtransparency","true")}return i.addClass("note-video-clip"),i[0]},e.prototype.show=function(){var t=this,e=this.context.invoke("editor.getSelectedText");this.context.invoke("editor.saveRange"),this.showVideoDialog(e).then(function(e){t.ui.hideDialog(t.$dialog),t.context.invoke("editor.restoreRange");var i=t.createVideoNode(e);i&&t.context.invoke("editor.insertNode",i)}).fail(function(){t.context.invoke("editor.restoreRange")})},e.prototype.showVideoDialog=function(e){var i=this;return t.Deferred(function(t){var e=i.$dialog.find(".note-video-url"),n=i.$dialog.find(".note-video-btn");i.ui.onDialogShown(i.$dialog,function(){i.context.triggerEvent("dialog.shown"),e.on("input paste propertychange",function(){i.ui.toggleBtn(n,e.val())}),A.isSupportTouch||e.trigger("focus"),n.click(function(i){i.preventDefault(),t.resolve(e.val())}),i.bindEnterKey(e,n)}),i.ui.onDialogHidden(i.$dialog,function(){e.off(),n.off(),"pending"===t.state()&&t.reject()}),i.ui.showDialog(i.$dialog)})},e}(),le=function(){function e(e){this.context=e,this.ui=t.summernote.ui,this.$body=t(document.body),this.$editor=e.layoutInfo.editor,this.options=e.options,this.lang=this.options.langInfo}return e.prototype.initialize=function(){var t=this.options.dialogsInBody?this.$body:this.$editor,e=['<p class="text-center">','<a href="http://summernote.org/" target="_blank">Summernote 0.8.12</a> · ','<a href="https://github.com/summernote/summernote" target="_blank">Project</a> · ','<a href="https://github.com/summernote/summernote/issues" target="_blank">Issues</a>',"</p>"].join("");this.$dialog=this.ui.dialog({title:this.lang.options.help,fade:this.options.dialogsFade,body:this.createShortcutList(),footer:e,callback:function(t){t.find(".modal-body,.note-modal-body").css({"max-height":300,overflow:"scroll"})}}).render().appendTo(t)},e.prototype.destroy=function(){this.ui.hideDialog(this.$dialog),this.$dialog.remove()},e.prototype.createShortcutList=function(){var e=this,i=this.options.keyMap[A.isMac?"mac":"pc"];return Object.keys(i).map(function(n){var r=i[n],o=t('<div><div class="help-list-item"/></div>');return o.append(t("<label><kbd>"+n+"</kdb></label>").css({width:180,"margin-right":10})).append(t("<span/>").html(e.context.memo("help."+r)||r)),o.html()}).join("")},e.prototype.showHelpDialog=function(){var e=this;return t.Deferred(function(t){e.ui.onDialogShown(e.$dialog,function(){e.context.triggerEvent("dialog.shown"),t.resolve()}),e.ui.showDialog(e.$dialog)}).promise()},e.prototype.show=function(){var t=this;this.context.invoke("editor.saveRange"),this.showHelpDialog().then(function(){t.context.invoke("editor.restoreRange")})},e}(),ce=function(){function e(e){var i=this;this.context=e,this.ui=t.summernote.ui,this.options=e.options,this.events={"summernote.keyup summernote.mouseup summernote.scroll":function(){i.update()},"summernote.disable summernote.change summernote.dialog.shown":function(){i.hide()},"summernote.focusout":function(t,e){A.isFF||e.relatedTarget&&Tt.ancestor(e.relatedTarget,D.eq(i.$popover[0]))||i.hide()}}}return e.prototype.shouldInitialize=function(){return this.options.airMode&&!R.isEmpty(this.options.popover.air)},e.prototype.initialize=function(){this.$popover=this.ui.popover({className:"note-air-popover"}).render().appendTo(this.options.container);var t=this.$popover.find(".popover-content");this.context.invoke("buttons.build",t,this.options.popover.air)},e.prototype.destroy=function(){this.$popover.remove()},e.prototype.update=function(){var t=this.context.invoke("editor.currentStyle");if(t.range&&!t.range.isCollapsed()){var e=R.last(t.range.getClientRects());if(e){var i=D.rect2bnd(e);this.$popover.css({display:"block",left:Math.max(i.left+i.width/2,0)-20,top:i.top+i.height}),this.context.invoke("buttons.updateCurrentStyle",this.$popover)}}else this.hide()},e.prototype.hide=function(){this.$popover.hide()},e}(),ue=function(){function e(e){var i=this;this.context=e,this.ui=t.summernote.ui,this.$editable=e.layoutInfo.editable,this.options=e.options,this.hint=this.options.hint||[],this.direction=this.options.hintDirection||"bottom",this.hints=Array.isArray(this.hint)?this.hint:[this.hint],this.events={"summernote.keyup":function(t,e){e.isDefaultPrevented()||i.handleKeyup(e)},"summernote.keydown":function(t,e){i.handleKeydown(e)},"summernote.disable summernote.dialog.shown":function(){i.hide()}}}return e.prototype.shouldInitialize=function(){return 0<this.hints.length},e.prototype.initialize=function(){var e=this;this.lastWordRange=null,this.$popover=this.ui.popover({className:"note-hint-popover",hideArrow:!0,direction:""}).render().appendTo(this.options.container),this.$popover.hide(),this.$content=this.$popover.find(".popover-content,.note-popover-content"),this.$content.on("click",".note-hint-item",function(i){e.$content.find(".active").removeClass("active"),t(i.currentTarget).addClass("active"),e.replace()})},e.prototype.destroy=function(){this.$popover.remove()},e.prototype.selectItem=function(t){this.$content.find(".active").removeClass("active"),t.addClass("active"),this.$content[0].scrollTop=t[0].offsetTop-this.$content.innerHeight()/2},e.prototype.moveDown=function(){var t=this.$content.find(".note-hint-item.active"),e=t.next();if(e.length)this.selectItem(e);else{var i=t.parent().next();i.length||(i=this.$content.find(".note-hint-group").first()),this.selectItem(i.find(".note-hint-item").first())}},e.prototype.moveUp=function(){var t=this.$content.find(".note-hint-item.active"),e=t.prev();if(e.length)this.selectItem(e);else{var i=t.parent().prev();i.length||(i=this.$content.find(".note-hint-group").last()),this.selectItem(i.find(".note-hint-item").last())}},e.prototype.replace=function(){var t=this.$content.find(".note-hint-item.active");if(t.length){var e=this.nodeFromItem(t);this.lastWordRange.insertNode(e),Pt.createFromNode(e).collapse().select(),this.lastWordRange=null,this.hide(),this.context.triggerEvent("change",this.$editable.html(),this.$editable[0]),this.context.invoke("editor.focus")}},e.prototype.nodeFromItem=function(t){var e=this.hints[t.data("index")],i=t.data("item"),n=e.content?e.content(i):i;return"string"==typeof n&&(n=Tt.createText(n)),n},e.prototype.createItemTemplates=function(e,i){var n=this.hints[e];return i.map(function(i,r){var o=t('<div class="note-hint-item"/>');return o.append(n.template?n.template(i):i+""),o.data({index:e,item:i}),o})},e.prototype.handleKeydown=function(t){this.$popover.is(":visible")&&(t.keyCode===It.code.ENTER?(t.preventDefault(),this.replace()):t.keyCode===It.code.UP?(t.preventDefault(),this.moveUp()):t.keyCode===It.code.DOWN&&(t.preventDefault(),this.moveDown()))},e.prototype.searchKeyword=function(t,e,i){var n=this.hints[t];if(n&&n.match.test(e)&&n.search){var r=n.match.exec(e);n.search(r[1],i)}else i()},e.prototype.createGroup=function(e,i){var n=this,r=t('<div class="note-hint-group note-hint-group-'+e+'"/>');return this.searchKeyword(e,i,function(t){(t=t||[]).length&&(r.html(n.createItemTemplates(e,t)),n.show())}),r},e.prototype.handleKeyup=function(t){var e=this;if(!R.contains([It.code.ENTER,It.code.UP,It.code.DOWN],t.keyCode)){var i=this.context.invoke("editor.getLastRange").getWordRange(),n=i.toString();if(this.hints.length&&n){this.$content.empty();var r=D.rect2bnd(R.last(i.getClientRects()));r&&(this.$popover.hide(),this.lastWordRange=i,this.hints.forEach(function(t,i){t.match.test(n)&&e.createGroup(i,n).appendTo(e.$content)}),this.$content.find(".note-hint-item:first").addClass("active"),"top"===this.direction?this.$popover.css({left:r.left,top:r.top-this.$popover.outerHeight()-5}):this.$popover.css({left:r.left,top:r.top+r.height+5}))}else this.hide()}},e.prototype.show=function(){this.$popover.show()},e.prototype.hide=function(){this.$popover.hide()},e}();t.summernote=t.extend(t.summernote,{version:"0.8.12",plugins:{},dom:Tt,range:Pt,options:{langInfo:t.summernote.lang["en-US"],modules:{editor:jt,clipboard:Wt,dropzone:Ut,codeview:Yt,statusbar:Gt,fullscreen:Xt,handle:qt,hintPopover:ue,autoLink:Zt,autoSync:Kt,autoReplace:Qt,placeholder:Jt,buttons:te,toolbar:ee,linkDialog:ie,linkPopover:ne,imageDialog:re,imagePopover:oe,tablePopover:ae,videoDialog:se,helpDialog:le,airPopover:ce},buttons:{},lang:"en-US",followingToolbar:!1,otherStaticBar:"",toolbar:[["style",["style"]],["font",["bold","underline","clear"]],["fontname",["fontname"]],["color",["color"]],["para",["ul","ol","paragraph"]],["table",["table"]],["insert",["link","picture","video"]],["view",["fullscreen","codeview","help"]]],popatmouse:!0,popover:{image:[["resize",["resizeFull","resizeHalf","resizeQuarter","resizeNone"]],["float",["floatLeft","floatRight","floatNone"]],["remove",["removeMedia"]]],link:[["link",["linkDialogShow","unlink"]]],table:[["add",["addRowDown","addRowUp","addColLeft","addColRight"]],["delete",["deleteRow","deleteCol","deleteTable"]]],air:[["color",["color"]],["font",["bold","underline","clear"]],["para",["ul","paragraph"]],["table",["table"]],["insert",["link","picture"]]]},airMode:!1,width:null,height:null,linkTargetBlank:!0,focus:!1,tabSize:4,styleWithSpan:!0,shortcuts:!0,textareaAutoSync:!0,hintDirection:"bottom",tooltip:"auto",container:"body",maxTextLength:0,blockquoteBreakingLevel:2,spellCheck:!0,styleTags:["p","blockquote","pre","h1","h2","h3","h4","h5","h6"],fontNames:["Arial","Arial Black","Comic Sans MS","Courier New","Helvetica Neue","Helvetica","Impact","Lucida Grande","Tahoma","Times New Roman","Verdana"],fontNamesIgnoreCheck:[],fontSizes:["8","9","10","11","12","14","18","24","36"],colors:[["#000000","#424242","#636363","#9C9C94","#CEC6CE","#EFEFEF","#F7F7F7","#FFFFFF"],["#FF0000","#FF9C00","#FFFF00","#00FF00","#00FFFF","#0000FF","#9C00FF","#FF00FF"],["#F7C6CE","#FFE7CE","#FFEFC6","#D6EFD6","#CEDEE7","#CEE7F7","#D6D6E7","#E7D6DE"],["#E79C9C","#FFC69C","#FFE79C","#B5D6A5","#A5C6CE","#9CC6EF","#B5A5D6","#D6A5BD"],["#E76363","#F7AD6B","#FFD663","#94BD7B","#73A5AD","#6BADDE","#8C7BC6","#C67BA5"],["#CE0000","#E79439","#EFC631","#6BA54A","#4A7B8C","#3984C6","#634AA5","#A54A7B"],["#9C0000","#B56308","#BD9400","#397B21","#104A5A","#085294","#311873","#731842"],["#630000","#7B3900","#846300","#295218","#083139","#003163","#21104A","#4A1031"]],colorsName:[["Black","Tundora","Dove Gray","Star Dust","Pale Slate","Gallery","Alabaster","White"],["Red","Orange Peel","Yellow","Green","Cyan","Blue","Electric Violet","Magenta"],["Azalea","Karry","Egg White","Zanah","Botticelli","Tropical Blue","Mischka","Twilight"],["Tonys Pink","Peach Orange","Cream Brulee","Sprout","Casper","Perano","Cold Purple","Careys Pink"],["Mandy","Rajah","Dandelion","Olivine","Gulf Stream","Viking","Blue Marguerite","Puce"],["Guardsman Red","Fire Bush","Golden Dream","Chelsea Cucumber","Smalt Blue","Boston Blue","Butterfly Bush","Cadillac"],["Sangria","Mai Tai","Buddha Gold","Forest Green","Eden","Venice Blue","Meteorite","Claret"],["Rosewood","Cinnamon","Olive","Parsley","Tiber","Midnight Blue","Valentino","Loulou"]],colorButton:{foreColor:"#000000",backColor:"#FFFF00"},lineHeights:["1.0","1.2","1.4","1.5","1.6","1.8","2.0","3.0"],tableClassName:"table table-bordered",insertTableMaxSize:{col:10,row:10},dialogsInBody:!1,dialogsFade:!1,maximumImageFileSize:null,callbacks:{onBeforeCommand:null,onBlur:null,onBlurCodeview:null,onChange:null,onChangeCodeview:null,onDialogShown:null,onEnter:null,onFocus:null,onImageLinkInsert:null,onImageUpload:null,onImageUploadError:null,onInit:null,onKeydown:null,onKeyup:null,onMousedown:null,onMouseup:null,onPaste:null,onScroll:null},codemirror:{mode:"text/html",htmlMode:!0,lineNumbers:!0},codeviewFilter:!1,codeviewFilterRegex:/<\/*(?:applet|b(?:ase|gsound|link)|embed|frame(?:set)?|ilayer|l(?:ayer|ink)|meta|object|s(?:cript|tyle)|t(?:itle|extarea)|xml)[^>]*?>/gi,codeviewIframeFilter:!0,codeviewIframeWhitelistSrc:[],codeviewIframeWhitelistSrcBase:["www.youtube.com","www.youtube-nocookie.com","www.facebook.com","vine.co","instagram.com","player.vimeo.com","www.dailymotion.com","player.youku.com","v.qq.com"],keyMap:{pc:{ENTER:"insertParagraph","CTRL+Z":"undo","CTRL+Y":"redo",TAB:"tab","SHIFT+TAB":"untab","CTRL+B":"bold","CTRL+I":"italic","CTRL+U":"underline","CTRL+SHIFT+S":"strikethrough","CTRL+BACKSLASH":"removeFormat","CTRL+SHIFT+L":"justifyLeft","CTRL+SHIFT+E":"justifyCenter","CTRL+SHIFT+R":"justifyRight","CTRL+SHIFT+J":"justifyFull","CTRL+SHIFT+NUM7":"insertUnorderedList","CTRL+SHIFT+NUM8":"insertOrderedList","CTRL+LEFTBRACKET":"outdent","CTRL+RIGHTBRACKET":"indent","CTRL+NUM0":"formatPara","CTRL+NUM1":"formatH1","CTRL+NUM2":"formatH2","CTRL+NUM3":"formatH3","CTRL+NUM4":"formatH4","CTRL+NUM5":"formatH5","CTRL+NUM6":"formatH6","CTRL+ENTER":"insertHorizontalRule","CTRL+K":"linkDialog.show"},mac:{ENTER:"insertParagraph","CMD+Z":"undo","CMD+SHIFT+Z":"redo",TAB:"tab","SHIFT+TAB":"untab","CMD+B":"bold","CMD+I":"italic","CMD+U":"underline","CMD+SHIFT+S":"strikethrough","CMD+BACKSLASH":"removeFormat","CMD+SHIFT+L":"justifyLeft","CMD+SHIFT+E":"justifyCenter","CMD+SHIFT+R":"justifyRight","CMD+SHIFT+J":"justifyFull","CMD+SHIFT+NUM7":"insertUnorderedList","CMD+SHIFT+NUM8":"insertOrderedList","CMD+LEFTBRACKET":"outdent","CMD+RIGHTBRACKET":"indent","CMD+NUM0":"formatPara","CMD+NUM1":"formatH1","CMD+NUM2":"formatH2","CMD+NUM3":"formatH3","CMD+NUM4":"formatH4","CMD+NUM5":"formatH5","CMD+NUM6":"formatH6","CMD+ENTER":"insertHorizontalRule","CMD+K":"linkDialog.show"}},icons:{align:"note-icon-align",alignCenter:"note-icon-align-center",alignJustify:"note-icon-align-justify",alignLeft:"note-icon-align-left",alignRight:"note-icon-align-right",rowBelow:"note-icon-row-below",colBefore:"note-icon-col-before",colAfter:"note-icon-col-after",rowAbove:"note-icon-row-above",rowRemove:"note-icon-row-remove",colRemove:"note-icon-col-remove",indent:"note-icon-align-indent",outdent:"note-icon-align-outdent",arrowsAlt:"note-icon-arrows-alt",bold:"note-icon-bold",caret:"note-icon-caret",circle:"note-icon-circle",close:"note-icon-close",code:"note-icon-code",eraser:"note-icon-eraser",floatLeft:"note-icon-float-left",floatRight:"note-icon-float-right",font:"note-icon-font",frame:"note-icon-frame",italic:"note-icon-italic",link:"note-icon-link",unlink:"note-icon-chain-broken",magic:"note-icon-magic",menuCheck:"note-icon-menu-check",minus:"note-icon-minus",orderedlist:"note-icon-orderedlist",pencil:"note-icon-pencil",picture:"note-icon-picture",question:"note-icon-question",redo:"note-icon-redo",rollback:"note-icon-rollback",square:"note-icon-square",strikethrough:"note-icon-strikethrough",subscript:"note-icon-subscript",superscript:"note-icon-superscript",table:"note-icon-table",textHeight:"note-icon-text-height",trash:"note-icon-trash",underline:"note-icon-underline",undo:"note-icon-undo",unorderedlist:"note-icon-unorderedlist",video:"note-icon-video"}}}),t.summernote=t.extend(t.summernote,{ui:b}),t.summernote.options.styleTags=["p",{title:"Blockquote",tag:"blockquote",className:"blockquote",value:"blockquote"},"pre","h1","h2","h3","h4","h5","h6"]}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Quill=e():t.Quill=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=45)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(17),r=i(18),o=i(19),a=i(48),s=i(49),l=i(50),c=i(51),u=i(52),h=i(11),d=i(29),f=i(30),p=i(28),g=i(1),m={Scope:g.Scope,create:g.create,find:g.find,query:g.query,register:g.register,Container:n.default,Format:r.default,Leaf:o.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:h.default,Class:d.default,Style:f.default,Store:p.default}};e.default=m},function(t,e,i){"use strict";function n(t,e){var i;if(void 0===e&&(e=a.ANY),"string"==typeof t)i=u[t]||s[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)i=u.text;else if("number"==typeof t)t&a.LEVEL&a.BLOCK?i=u.block:t&a.LEVEL&a.INLINE&&(i=u.inline);else if(t instanceof HTMLElement){var n=(t.getAttribute("class")||"").split(/\s+/);for(var r in n)if(i=l[n[r]])break;i=i||c[t.tagName]}return null==i?null:e&a.LEVEL&i.scope&&e&a.TYPE&i.scope?i:null}var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var i=this;return e="[Parchment] "+e,(i=t.call(this,e)||this).message=e,i.name=i.constructor.name,i}return r(e,t),e}(Error);e.ParchmentError=o;var a,s={},l={},c={},u={};e.DATA_KEY="__blot",function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(a=e.Scope||(e.Scope={})),e.create=function(t,e){var i=n(t);if(null==i)throw new o("Unable to create "+t+" blot");var r=i;return new r(t instanceof Node||t.nodeType===Node.TEXT_NODE?t:r.create(e),e)},e.find=function t(i,n){return void 0===n&&(n=!1),null==i?null:null!=i[e.DATA_KEY]?i[e.DATA_KEY].blot:n?t(i.parentNode,n):null},e.query=n,e.register=function t(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];if(e.length>1)return e.map(function(e){return t(e)});var n=e[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new o("Invalid definition");if("abstract"===n.blotName)throw new o("Cannot register abstract class");u[n.blotName||n.attrName]=n,"string"==typeof n.keyName?s[n.keyName]=n:(null!=n.className&&(l[n.className]=n),null!=n.tagName&&(Array.isArray(n.tagName)?n.tagName=n.tagName.map(function(t){return t.toUpperCase()}):n.tagName=n.tagName.toUpperCase(),(Array.isArray(n.tagName)?n.tagName:[n.tagName]).forEach(function(t){null!=c[t]&&null!=n.className||(c[t]=n)})));return n}},function(t,e){"use strict";var i=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},o=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var e,r=i.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&i.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!o)return!1;for(e in t);return void 0===e||i.call(t,e)};t.exports=function t(){var e,i,n,a,s,l,c=arguments[0],u=1,h=arguments.length,d=!1;for("boolean"==typeof c&&(d=c,c=arguments[1]||{},u=2),(null==c||"object"!=typeof c&&"function"!=typeof c)&&(c={});u<h;++u)if(null!=(e=arguments[u]))for(i in e)n=c[i],c!==(a=e[i])&&(d&&a&&(o(a)||(s=r(a)))?(s?(s=!1,l=n&&r(n)?n:[]):l=n&&o(n)?n:{},c[i]=t(d,l,a)):void 0!==a&&(c[i]=a));return c}},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,u.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:s(t.parent,e))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),c=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},u=n(i(2)),h=n(i(4)),d=n(i(0)),f=n(i(14)),p=n(i(5)),g=n(i(8)),m=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,d.default.Embed),l(e,[{key:"attach",value:function(){c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new d.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new h.default).insert(this.value(),(0,u.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var i=d.default.query(t,d.default.Scope.BLOCK_ATTRIBUTE);null!=i&&this.attributes.attribute(i,e)}},{key:"formatAt",value:function(t,e,i,n){this.format(i,n)}},{key:"insertAt",value:function(t,i,n){if("string"==typeof i&&i.endsWith("\n")){var r=d.default.create(v.blotName);this.parent.insertBefore(r,0===t?this:this.next),r.insertAt(0,i.slice(0,-1))}else c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,i,n)}}]),e}();m.scope=d.default.Scope.BLOCK_BLOT;var v=function(t){function e(t){r(this,e);var i=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.cache={},i}return a(e,d.default.Block),l(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(d.default.Leaf).reduce(function(t,e){return 0===e.length()?t:t.insert(e.value(),s(e))},new h.default).insert("\n",s(this))),this.cache.delta}},{key:"deleteAt",value:function(t,i){c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,i),this.cache={}}},{key:"formatAt",value:function(t,i,n,r){i<=0||(d.default.query(n,d.default.Scope.BLOCK)?t+i===this.length()&&this.format(n,r):c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(i,this.length()-t-1),n,r),this.cache={})}},{key:"insertAt",value:function(t,i,n){if(null!=n)return c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,i,n);if(0!==i.length){var r=i.split("\n"),o=r.shift();o.length>0&&(t<this.length()-1||null==this.children.tail?c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),o):this.children.tail.insertAt(this.children.tail.length(),o),this.cache={});var a=this;r.reduce(function(t,e){return(a=a.split(t,!0)).insertAt(0,e),e.length},t+o.length)}}},{key:"insertBefore",value:function(t,i){var n=this.children.head;c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,i),n instanceof f.default&&n.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,i){c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,i),this.cache={}}},{key:"optimize",value:function(t){c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(i&&(0===t||t>=this.length()-1)){var n=this.clone();return 0===t?(this.parent.insertBefore(n,this),this):(this.parent.insertBefore(n,this.next),n)}var r=c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,i);return this.cache={},r}}]),e}();v.blotName="block",v.tagName="P",v.defaultChild="break",v.allowedChildren=[p.default,d.default.Embed,g.default],e.bubbleFormats=s,e.BlockEmbed=m,e.default=v},function(t,e,i){var n=i(54),r=i(12),o=i(2),a=i(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var i={};return 0===t.length?this:(i.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(i.attributes=e),this.push(i))},l.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var i={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(i.attributes=e),this.push(i)},l.prototype.push=function(t){var e=this.ops.length,i=this.ops[e-1];if(t=o(!0,{},t),"object"==typeof i){if("number"==typeof t.delete&&"number"==typeof i.delete)return this.ops[e-1]={delete:i.delete+t.delete},this;if("number"==typeof i.delete&&null!=t.insert&&(e-=1,"object"!=typeof(i=this.ops[e-1])))return this.ops.unshift(t),this;if(r(t.attributes,i.attributes)){if("string"==typeof t.insert&&"string"==typeof i.insert)return this.ops[e-1]={insert:i.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof i.retain)return this.ops[e-1]={retain:i.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],i=[];return this.forEach(function(n){(t(n)?e:i).push(n)}),[e,i]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+a.length(e):e.delete?t-e.delete:t},0)},l.prototype.length=function(){return this.reduce(function(t,e){return t+a.length(e)},0)},l.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var i=[],n=a.iterator(this.ops),r=0;r<e&&n.hasNext();){var o;r<t?o=n.next(t-r):(o=n.next(e-r),i.push(o)),r+=a.length(o)}return new l(i)},l.prototype.compose=function(t){for(var e=a.iterator(this.ops),i=a.iterator(t.ops),n=new l;e.hasNext()||i.hasNext();)if("insert"===i.peekType())n.push(i.next());else if("delete"===e.peekType())n.push(e.next());else{var r=Math.min(e.peekLength(),i.peekLength()),o=e.next(r),s=i.next(r);if("number"==typeof s.retain){var c={};"number"==typeof o.retain?c.retain=r:c.insert=o.insert;var u=a.attributes.compose(o.attributes,s.attributes,"number"==typeof o.retain);u&&(c.attributes=u),n.push(c)}else"number"==typeof s.delete&&"number"==typeof o.retain&&n.push(s)}return n.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var i=[this,t].map(function(e){return e.map(function(i){if(null!=i.insert)return"string"==typeof i.insert?i.insert:s;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")}).join("")}),o=new l,c=n(i[0],i[1],e),u=a.iterator(this.ops),h=a.iterator(t.ops);return c.forEach(function(t){for(var e=t[1].length;e>0;){var i=0;switch(t[0]){case n.INSERT:i=Math.min(h.peekLength(),e),o.push(h.next(i));break;case n.DELETE:i=Math.min(e,u.peekLength()),u.next(i),o.delete(i);break;case n.EQUAL:i=Math.min(u.peekLength(),h.peekLength(),e);var s=u.next(i),l=h.next(i);r(s.insert,l.insert)?o.retain(i,a.attributes.diff(s.attributes,l.attributes)):o.push(l).delete(i)}e-=i}}),o.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";for(var i=a.iterator(this.ops),n=new l,r=0;i.hasNext();){if("insert"!==i.peekType())return;var o=i.peek(),s=a.length(o)-i.peekLength(),c="string"==typeof o.insert?o.insert.indexOf(e,s)-s:-1;if(c<0)n.push(i.next());else if(c>0)n.push(i.next(c));else{if(!1===t(n,i.next(1).attributes||{},r))return;r+=1,n=new l}}n.length()>0&&t(n,{},r)},l.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var i=a.iterator(this.ops),n=a.iterator(t.ops),r=new l;i.hasNext()||n.hasNext();)if("insert"!==i.peekType()||!e&&"insert"===n.peekType())if("insert"===n.peekType())r.push(n.next());else{var o=Math.min(i.peekLength(),n.peekLength()),s=i.next(o),c=n.next(o);if(s.delete)continue;c.delete?r.push(c):r.retain(o,a.attributes.transform(s.attributes,c.attributes,e))}else r.retain(a.length(i.next()));return r.chop()},l.prototype.transformPosition=function(t,e){e=!!e;for(var i=a.iterator(this.ops),n=0;i.hasNext()&&n<=t;){var r=i.peekLength(),o=i.peekType();i.next(),"delete"!==o?("insert"===o&&(n<t||!e)&&(t+=r),n+=r):t-=Math.min(r,t-n)}return t},t.exports=l},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},a=n(i(8)),s=n(i(0)),l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,s.default.Inline),r(e,[{key:"formatAt",value:function(t,i,n,r){if(e.compare(this.statics.blotName,n)<0&&s.default.query(n,s.default.Scope.BLOT)){var a=this.isolate(t,i);r&&a.wrap(n,r)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,i,n,r)}},{key:"optimize",value:function(t){if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var i=this.parent.isolate(this.offset(),this.length());this.moveChildren(i),i.wrap(this)}}}],[{key:"compare",value:function(t,i){var n=e.order.indexOf(t),r=e.order.indexOf(i);return n>=0||r>=0?n-r:t===i?0:t<i?-1:1}}]),e}();l.allowedChildren=[l,s.default.Embed,a.default],l.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=l},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t,e){if((e=(0,b.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==_.DEFAULTS.theme){if(e.theme=_.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=x.default;var i=(0,b.default)(!0,{},e.theme.DEFAULTS);[i,e].forEach(function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach(function(e){!0===t.modules[e]&&(t.modules[e]={})})});var n=Object.keys(i.modules).concat(Object.keys(e.modules)).reduce(function(t,e){var i=_.import("modules/"+e);return null==i?w.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=i.DEFAULTS||{},t},{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,b.default)(!0,{},_.DEFAULTS,{modules:n},i,e),["bounds","container","scrollingContainer"].forEach(function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),e.modules=Object.keys(e.modules).reduce(function(t,i){return e.modules[i]&&(t[i]=e.modules[i]),t},{}),e}function a(t,e,i,n){if(this.options.strict&&!this.isEnabled()&&e===p.default.sources.USER)return new d.default;var r=null==i?null:this.getSelection(),o=this.editor.delta,a=t();if(null!=r&&(!0===i&&(i=r.index),null==n?r=l(r,a,e):0!==n&&(r=l(r,i,n,e)),this.setSelection(r,p.default.sources.SILENT)),a.length()>0){var s,c,u=[p.default.events.TEXT_CHANGE,a,o,e];if((s=this.emitter).emit.apply(s,[p.default.events.EDITOR_CHANGE].concat(u)),e!==p.default.sources.SILENT)(c=this.emitter).emit.apply(c,u)}return a}function s(t,e,i,n,r){var o={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(r=n,n=i,i=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(r=n,n=i,i=e,e=0),"object"===(void 0===i?"undefined":c(i))?(o=i,r=n):"string"==typeof i&&(null!=n?o[i]=n:r=i),[t,e,o,r=r||p.default.sources.API]}function l(t,e,i,n){if(null==t)return null;var r=void 0,o=void 0;if(e instanceof d.default){var a=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,n!==p.default.sources.USER)}),s=u(a,2);r=s[0],o=s[1]}else{var l=[t.index,t.index+t.length].map(function(t){return t<e||t===e&&n===p.default.sources.USER?t:i>=0?t+i:Math.max(e,t+i)}),c=u(l,2);r=c[0],o=c[1]}return new v.Range(r,o-r)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();i(53);var d=n(i(4)),f=n(i(57)),p=n(i(9)),g=n(i(7)),m=n(i(0)),v=i(22),y=n(v),b=n(i(2)),L=n(i(10)),x=n(i(32)),w=(0,L.default)("quill"),_=function(){function t(e){var i=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=o(e,n),this.container=this.options.container,null==this.container)return w.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new p.default,this.scroll=m.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new f.default(this.scroll),this.selection=new y.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(p.default.events.EDITOR_CHANGE,function(t){t===p.default.events.TEXT_CHANGE&&i.root.classList.toggle("ql-blank",i.editor.isBlank())}),this.emitter.on(p.default.events.SCROLL_UPDATE,function(t,e){var n=i.selection.lastRange,r=n&&0===n.length?n.index:void 0;a.call(i,function(){return i.editor.update(null,e,r)},t)});var s=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+r+"<p><br></p></div>");this.setContents(s),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return h(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),L.default.level(t)}},{key:"find",value:function(t){return t.__quill||m.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&w.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var r=t.attrName||t.blotName;"string"==typeof r?this.register("formats/"+r,t,e):Object.keys(t).forEach(function(n){i.register(n,t[n],e)})}else null==this.imports[t]||n||w.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?m.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),h(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var i=t;(t=document.createElement("div")).classList.add(i)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,i){var n=this,r=s(t,e,i),o=u(r,4);return t=o[0],e=o[1],i=o[3],a.call(this,function(){return n.editor.deleteText(t,e)},i,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p.default.sources.API;return a.call(this,function(){var n=i.getSelection(!0),o=new d.default;if(null==n)return o;if(m.default.query(t,m.default.Scope.BLOCK))o=i.editor.formatLine(n.index,n.length,r({},t,e));else{if(0===n.length)return i.selection.format(t,e),o;o=i.editor.formatText(n.index,n.length,r({},t,e))}return i.setSelection(n,p.default.sources.SILENT),o},n)}},{key:"formatLine",value:function(t,e,i,n,r){var o,l=this,c=s(t,e,i,n,r),h=u(c,4);return t=h[0],e=h[1],o=h[2],r=h[3],a.call(this,function(){return l.editor.formatLine(t,e,o)},r,t,0)}},{key:"formatText",value:function(t,e,i,n,r){var o,l=this,c=s(t,e,i,n,r),h=u(c,4);return t=h[0],e=h[1],o=h[2],r=h[3],a.call(this,function(){return l.editor.formatText(t,e,o)},r,t,0)}},{key:"getBounds",value:function(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e="number"==typeof t?this.selection.getBounds(t,i):this.selection.getBounds(t.index,t.length);var n=this.container.getBoundingClientRect();return{bottom:e.bottom-n.top,height:e.height,left:e.left-n.left,right:e.right-n.left,top:e.top-n.top,width:e.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,i=s(t,e),n=u(i,2);return t=n[0],e=n[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,i=s(t,e),n=u(i,2);return t=n[0],e=n[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,i,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return a.call(this,function(){return r.editor.insertEmbed(e,i,n)},o,e)}},{key:"insertText",value:function(t,e,i,n,r){var o,l=this,c=s(t,0,i,n,r),h=u(c,4);return t=h[0],o=h[2],r=h[3],a.call(this,function(){return l.editor.insertText(t,e,o)},r,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,i){this.clipboard.dangerouslyPasteHTML(t,e,i)}},{key:"removeFormat",value:function(t,e,i){var n=this,r=s(t,e,i),o=u(r,4);return t=o[0],e=o[1],i=o[3],a.call(this,function(){return n.editor.removeFormat(t,e)},i,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.default.sources.API;return a.call(this,function(){t=new d.default(t);var i=e.getLength(),n=e.editor.deleteText(0,i),r=e.editor.applyDelta(t),o=r.ops[r.ops.length-1];return null!=o&&"string"==typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),r.delete(1)),n.compose(r)},i)}},{key:"setSelection",value:function(e,i,n){if(null==e)this.selection.setRange(null,i||t.sources.API);else{var r=s(e,i,n),o=u(r,4);e=o[0],i=o[1],n=o[3],this.selection.setRange(new v.Range(e,i),n),n!==p.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.default.sources.API,i=(new d.default).insert(t);return this.setContents(i,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.default.sources.API;return a.call(this,function(){return t=new d.default(t),e.editor.applyDelta(t,i)},i,!0)}}]),t}();_.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},_.events=p.default.events,_.sources=p.default.sources,_.version="1.3.6",_.imports={delta:d.default,parchment:m.default,"core/module":g.default,"core/theme":x.default},e.expandConfig=o,e.overload=s,e.default=_},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.quill=e,this.options=i};n.DEFAULTS={},e.default=n},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,n.default.Text),e}();e.default=r},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=n(i(58)),a=(0,n(i(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(t){document.addEventListener(t,function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(t){var i;t.__quill&&t.__quill.emitter&&(i=t.__quill.emitter).handleDOM.apply(i,e)})})});var s=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",a.error),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),r(e,[{key:"emit",value:function(){a.log.apply(a,arguments),function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];(this.listeners[t.type]||[]).forEach(function(e){var n=e.node,r=e.handler;(t.target===n||n.contains(t.target))&&r.apply(void 0,[t].concat(i))})}},{key:"listenDOM",value:function(t,e,i){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:i})}}]),e}();s.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},s.sources={API:"api",SILENT:"silent",USER:"user"},e.default=s},function(t,e,i){"use strict";function n(t){if(o.indexOf(t)<=o.indexOf(a)){for(var e,i=arguments.length,n=Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];(e=console)[t].apply(e,n)}}function r(t){return o.reduce(function(e,i){return e[i]=n.bind(console,i,t),e},{})}Object.defineProperty(e,"__esModule",{value:!0});var o=["error","warn","log","info"],a="warn";n.level=r.level=function(t){a=t},e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(1),r=function(){function t(t,e,i){void 0===i&&(i={}),this.attrName=t,this.keyName=e;var r=n.Scope.TYPE&n.Scope.ATTRIBUTE;null!=i.scope?this.scope=i.scope&n.Scope.LEVEL|r:this.scope=n.Scope.ATTRIBUTE,null!=i.whitelist&&(this.whitelist=i.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,function(t){return t.name})},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=n.query(t,n.Scope.BLOT&(this.scope|n.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=r},function(t,e,i){function n(t){return null==t}function r(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}var o=Array.prototype.slice,a=i(55),s=i(56),l=t.exports=function(t,e,i){return i||(i={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?i.strict?t===e:t==e:function(t,e,i){var c,u;if(n(t)||n(e))return!1;if(t.prototype!==e.prototype)return!1;if(s(t))return!!s(e)&&(t=o.call(t),e=o.call(e),l(t,e,i));if(r(t)){if(!r(e))return!1;if(t.length!==e.length)return!1;for(c=0;c<t.length;c++)if(t[c]!==e[c])return!1;return!0}try{var h=a(t),d=a(e)}catch(t){return!1}if(h.length!=d.length)return!1;for(h.sort(),d.sort(),c=h.length-1;c>=0;c--)if(h[c]!=d[c])return!1;for(c=h.length-1;c>=0;c--)if(u=h[c],!l(t[u],e[u],i))return!1;return typeof t==typeof e}(t,e,i))}},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var s=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),c=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},u=n(i(4)),h=n(i(0)),d=n(i(3)),f=n(i(5)),p=n(i(8)),g=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,f.default),e}();g.blotName="code",g.tagName="CODE";var m=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,d.default),l(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce(function(e,i){return e.insert(i).insert("\n",t.formats())},new u.default)}},{key:"format",value:function(t,i){if(t!==this.statics.blotName||!i){var n=this.descendant(p.default,this.length()-1),r=s(n,1)[0];null!=r&&r.deleteAt(r.length()-1,1),c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,i)}}},{key:"formatAt",value:function(t,i,n,r){if(0!==i&&null!=h.default.query(n,h.default.Scope.BLOCK)&&(n!==this.statics.blotName||r!==this.statics.formats(this.domNode))){var o=this.newlineIndex(t);if(!(o<0||o>=t+i)){var a=this.newlineIndex(t,!0)+1,s=o-a+1,l=this.isolate(a,s),c=l.next;l.format(n,r),c instanceof e&&c.formatAt(0,t-a+i-s,n,r)}}}},{key:"insertAt",value:function(t,e,i){if(null==i){var n=this.descendant(p.default,t),r=s(n,2),o=r[0],a=r[1];o.insertAt(a,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var e=this.domNode.textContent.slice(t).indexOf("\n");return e>-1?t+e:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(h.default.create("text","\n")),c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var i=this.next;null!=i&&i.prev===this&&i.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===i.statics.formats(i.domNode)&&(i.optimize(t),i.moveChildren(this),i.remove())}},{key:"replace",value:function(t){c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(t){var e=h.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof h.default.Embed?e.remove():e.unwrap()})}}],[{key:"create",value:function(t){var i=c(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return i.setAttribute("spellcheck",!1),i}},{key:"formats",value:function(){return!0}}]),e}();m.blotName="code-block",m.tagName="PRE",m.TAB=" ",e.Code=g,e.default=m},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),o=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default.Embed),n(e,[{key:"insertInto",value:function(t,i){0===t.children.length?function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,i):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}();o.blotName="break",o.tagName="BR",e.default=o},function(t,e,i){"use strict";function n(t,e){var i=document.createElement("a");i.href=t;var n=i.href.slice(0,i.href.indexOf(":"));return e.indexOf(n)>-1}Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},a=function(t){return t&&t.__esModule?t:{default:t}}(i(5)),s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,a.default),r(e,[{key:"format",value:function(t,i){if(t!==this.statics.blotName||!i)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,i);i=this.constructor.sanitize(i),this.domNode.setAttribute("href",i)}}],[{key:"create",value:function(t){var i=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),i.setAttribute("href",t),i.setAttribute("target","_blank"),i}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return n(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}();s.blotName="link",s.tagName="A",s.SANITIZED_URL="about:blank",s.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=s,e.sanitize=n},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}Object.defineProperty(e,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),s=n(i(25)),l=n(i(106)),c=0,u=function(){function t(e){var i=this;(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){i.togglePicker()}),this.label.addEventListener("keydown",function(t){switch(t.keyCode){case s.default.keys.ENTER:i.togglePicker();break;case s.default.keys.ESCAPE:i.escape(),t.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return a(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),r(this.label,"aria-expanded"),r(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,i=document.createElement("span");return i.tabIndex="0",i.setAttribute("role","button"),i.classList.add("ql-picker-item"),t.hasAttribute("value")&&i.setAttribute("data-value",t.getAttribute("value")),t.textContent&&i.setAttribute("data-label",t.textContent),i.addEventListener("click",function(){e.selectItem(i,!0)}),i.addEventListener("keydown",function(t){switch(t.keyCode){case s.default.keys.ENTER:e.selectItem(i,!0),t.preventDefault();break;case s.default.keys.ESCAPE:e.escape(),t.preventDefault()}}),i}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=l.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+c,c+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach(function(i){var n=t.buildItem(i);e.appendChild(n),!0===i.selected&&t.selectItem(n)}),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach(function(e){t.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout(function(){return t.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.container.querySelector(".ql-selected");if(t!==i&&(null!=i&&i.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":o(Event))){var n=document.createEvent("Event");n.initEvent("change",!0,!0),this.select.dispatchEvent(n)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var i=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",i)}}]),t}();e.default=u},function(t,e,i){"use strict";function n(t){var e=s.find(t);if(null==e)try{e=s.create(t)}catch(i){e=s.create(s.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=i(47),a=i(27),s=i(1),l=function(t){function e(e){var i=t.call(this,e)||this;return i.build(),i}return r(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var i=n(e);t.insertBefore(i,t.children.head||void 0)}catch(t){if(t instanceof s.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,i){t.deleteAt(e,i)})},e.prototype.descendant=function(t,i){var n=this.children.find(i),r=n[0],o=n[1];return null==t.blotName&&t(r)||null!=t.blotName&&r instanceof t?[r,o]:r instanceof e?r.descendant(t,o):[null,-1]},e.prototype.descendants=function(t,i,n){void 0===i&&(i=0),void 0===n&&(n=Number.MAX_VALUE);var r=[],o=n;return this.children.forEachAt(i,n,function(i,n,a){(null==t.blotName&&t(i)||null!=t.blotName&&i instanceof t)&&r.push(i),i instanceof e&&(r=r.concat(i.descendants(t,n,o))),o-=a}),r},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,i,n){this.children.forEachAt(t,e,function(t,e,r){t.formatAt(e,r,i,n)})},e.prototype.insertAt=function(t,e,i){var n=this.children.find(t),r=n[0],o=n[1];if(r)r.insertAt(o,e,i);else{var a=null==i?s.create("text",e):s.create(e,i);this.appendChild(a)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new s.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(i){t.insertBefore(i,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var i=s.create(this.statics.defaultChild);this.appendChild(i),i.optimize(e)}else this.remove()},e.prototype.path=function(t,i){void 0===i&&(i=!1);var n=this.children.find(t,i),r=n[0],o=n[1],a=[[this,t]];return r instanceof e?a.concat(r.path(o,i)):(null!=r&&a.push([r,o]),a)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(i){i instanceof e&&i.moveChildren(this),t.prototype.replace.call(this,i)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var i=this.clone();return this.parent.insertBefore(i,this.next),this.children.forEachAt(t,this.length(),function(t,n,r){t=t.split(n,e),i.appendChild(t)}),i},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var i=this,r=[],o=[];t.forEach(function(t){t.target===i.domNode&&"childList"===t.type&&(r.push.apply(r,t.addedNodes),o.push.apply(o,t.removedNodes))}),o.forEach(function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=s.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==i.domNode||e.detach())}}),r.filter(function(t){return t.parentNode==i.domNode}).sort(function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=s.find(t.nextSibling));var r=n(t);r.next==e&&null!=r.next||(null!=r.parent&&r.parent.removeChild(i),i.insertBefore(r,e||void 0))})},e}(a.default);e.default=l},function(t,e,i){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=i(11),o=i(28),a=i(17),s=i(1),l=function(t){function e(e){var i=t.call(this,e)||this;return i.attributes=new o.default(i.domNode),i}return n(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var i=s.query(t);i instanceof r.default?this.attributes.attribute(i,e):e&&(null==i||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,i){var n=t.prototype.replaceWith.call(this,e,i);return this.attributes.copy(n),n},e.prototype.update=function(e,i){var n=this;t.prototype.update.call(this,e,i),e.some(function(t){return t.target===n.domNode&&"attributes"===t.type})&&this.attributes.build()},e.prototype.wrap=function(i,n){var r=t.prototype.wrap.call(this,i,n);return r instanceof e&&r.statics.scope===this.statics.scope&&this.attributes.move(r),r},e}(a.default);e.default=l},function(t,e,i){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=i(27),o=i(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var i=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(i+=1),[this.parent.domNode,i]},e.prototype.value=function(){return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t;var t},e.scope=o.Scope.INLINE_BLOT,e}(r.default);e.default=a},function(t,e,i){function n(t){this.ops=t,this.index=0,this.offset=0}var r=i(12),o=i(2),a={attributes:{compose:function(t,e,i){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=o(!0,{},e);for(var r in i||(n=Object.keys(n).reduce(function(t,e){return null!=n[e]&&(t[e]=n[e]),t},{})),t)void 0!==t[r]&&void 0===e[r]&&(n[r]=t[r]);return Object.keys(n).length>0?n:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var i=Object.keys(t).concat(Object.keys(e)).reduce(function(i,n){return r(t[n],e[n])||(i[n]=void 0===e[n]?null:e[n]),i},{});return Object.keys(i).length>0?i:void 0},transform:function(t,e,i){if("object"!=typeof t)return e;if("object"==typeof e){if(!i)return e;var n=Object.keys(e).reduce(function(i,n){return void 0===t[n]&&(i[n]=e[n]),i},{});return Object.keys(n).length>0?n:void 0}}},iterator:function(t){return new n(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};n.prototype.hasNext=function(){return this.peekLength()<1/0},n.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var i=this.offset,n=a.length(e);if(t>=n-i?(t=n-i,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var r={};return e.attributes&&(r.attributes=e.attributes),"number"==typeof e.retain?r.retain=t:"string"==typeof e.insert?r.insert=e.insert.substr(i,t):r.insert=e.insert,r}return{retain:1/0}},n.prototype.peek=function(){return this.ops[this.index]},n.prototype.peekLength=function(){return this.ops[this.index]?a.length(this.ops[this.index])-this.offset:1/0},n.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},t.exports=a},function(t,e){var i=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}function e(i,s,l,c,u){"object"==typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var h=[],d=[],f="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===l&&(l=1/0),function i(l,p){if(null===l)return null;if(0===p)return l;var g,m;if("object"!=typeof l)return l;if(t(l,r))g=new r;else if(t(l,o))g=new o;else if(t(l,a))g=new a(function(t,e){l.then(function(e){t(i(e,p-1))},function(t){e(i(t,p-1))})});else if(e.__isArray(l))g=[];else if(e.__isRegExp(l))g=new RegExp(l.source,n(l)),l.lastIndex&&(g.lastIndex=l.lastIndex);else if(e.__isDate(l))g=new Date(l.getTime());else{if(f&&Buffer.isBuffer(l))return g=new Buffer(l.length),l.copy(g),g;t(l,Error)?g=Object.create(l):void 0===c?(m=Object.getPrototypeOf(l),g=Object.create(m)):(g=Object.create(c),m=c)}if(s){var v=h.indexOf(l);if(-1!=v)return d[v];h.push(l),d.push(g)}for(var y in t(l,r)&&l.forEach(function(t,e){var n=i(e,p-1),r=i(t,p-1);g.set(n,r)}),t(l,o)&&l.forEach(function(t){var e=i(t,p-1);g.add(e)}),l){var b;m&&(b=Object.getOwnPropertyDescriptor(m,y)),b&&null==b.set||(g[y]=i(l[y],p-1))}if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(l);for(y=0;y<L.length;y++){var x=L[y];(!(_=Object.getOwnPropertyDescriptor(l,x))||_.enumerable||u)&&(g[x]=i(l[x],p-1),_.enumerable||Object.defineProperty(g,x,{enumerable:!1}))}}if(u){var w=Object.getOwnPropertyNames(l);for(y=0;y<w.length;y++){var _,S=w[y];(_=Object.getOwnPropertyDescriptor(l,S))&&_.enumerable||(g[S]=i(l[S],p-1),Object.defineProperty(g,S,{enumerable:!1}))}}return g}(i,l)}function i(t){return Object.prototype.toString.call(t)}function n(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}var r,o,a;try{r=Map}catch(t){r=function(){}}try{o=Set}catch(t){o=function(){}}try{a=Promise}catch(t){a=function(){}}return e.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},e.__objToStr=i,e.__isDate=function(t){return"object"==typeof t&&"[object Date]"===i(t)},e.__isArray=function(t){return"object"==typeof t&&"[object Array]"===i(t)},e.__isRegExp=function(t){return"object"==typeof t&&"[object RegExp]"===i(t)},e.__getRegExpFlags=n,e}();"object"==typeof t&&t.exports&&(t.exports=i)},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var s=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),c=n(i(0)),u=n(i(21)),h=n(i(12)),d=n(i(9)),f=(0,n(i(10)).default)("quill:selection"),p=function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;o(this,t),this.index=e,this.length=i},g=function(){function t(e,i){var n=this;o(this,t),this.emitter=i,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=c.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){n.mouseDown||setTimeout(n.update.bind(n,d.default.sources.USER),1)}),this.emitter.on(d.default.events.EDITOR_CHANGE,function(t,e){t===d.default.events.TEXT_CHANGE&&e.length()>0&&n.update(d.default.sources.SILENT)}),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,function(){if(n.hasFocus()){var t=n.getNativeRange();null!=t&&t.start.node!==n.cursor.textNode&&n.emitter.once(d.default.events.SCROLL_UPDATE,function(){try{n.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}}),this.emitter.on(d.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var i=e.range,r=i.startNode,o=i.startOffset,a=i.endNode,s=i.endOffset;n.setNativeRange(r,o,a,s)}}),this.update(d.default.sources.SILENT)}return l(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=!0}),this.root.addEventListener("compositionend",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){t.mouseDown=!1,t.update(d.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var i=this.getNativeRange();if(null!=i&&i.native.collapsed&&!c.default.query(t,c.default.Scope.BLOCK)){if(i.start.node!==this.cursor.textNode){var n=c.default.find(i.start.node,!1);if(null==n)return;if(n instanceof c.default.Leaf){var r=n.split(i.start.offset);n.parent.insertBefore(this.cursor,r)}else n.insertBefore(this.cursor,i.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=this.scroll.length();t=Math.min(t,i-1),e=Math.min(t+e,i-1)-t;var n=void 0,r=this.scroll.leaf(t),o=s(r,2),a=o[0],l=o[1];if(null==a)return null;var c=a.position(l,!0),u=s(c,2);n=u[0],l=u[1];var h=document.createRange();if(e>0){h.setStart(n,l);var d=this.scroll.leaf(t+e),f=s(d,2);if(a=f[0],l=f[1],null==a)return null;var p=a.position(l,!0),g=s(p,2);return n=g[0],l=g[1],h.setEnd(n,l),h.getBoundingClientRect()}var m="left",v=void 0;return n instanceof Text?(l<n.data.length?(h.setStart(n,l),h.setEnd(n,l+1)):(h.setStart(n,l-1),h.setEnd(n,l),m="right"),v=h.getBoundingClientRect()):(v=a.domNode.getBoundingClientRect(),l>0&&(m="right")),{bottom:v.top+v.height,height:v.height,left:v[m],right:v[m],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var i=this.normalizeNative(e);return f.info("getNativeRange",i),i}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,i=[[t.start.node,t.start.offset]];t.native.collapsed||i.push([t.end.node,t.end.offset]);var n=i.map(function(t){var i=s(t,2),n=i[0],r=i[1],o=c.default.find(n,!0),a=o.offset(e.scroll);return 0===r?a:o instanceof c.default.Container?a+o.length():a+o.index(n,r)}),o=Math.min(Math.max.apply(Math,r(n)),this.scroll.length()-1),a=Math.min.apply(Math,[o].concat(r(n)));return new p(a,o-a)}},{key:"normalizeNative",value:function(t){if(!a(this.root,t.startContainer)||!t.collapsed&&!a(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,i=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>i)e=e.childNodes[i],i=0;else{if(e.childNodes.length!==i)break;i=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=i}),e}},{key:"rangeToNative",value:function(t){var e=this,i=t.collapsed?[t.index]:[t.index,t.index+t.length],n=[],r=this.scroll.length();return i.forEach(function(t,i){t=Math.min(r-1,t);var o,a=e.scroll.leaf(t),l=s(a,2),c=l[0],u=l[1],h=c.position(u,0!==i),d=s(h,2);o=d[0],u=d[1],n.push(o,u)}),n.length<2&&(n=n.concat(n)),n}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var i=this.getBounds(e.index,e.length);if(null!=i){var n=this.scroll.length()-1,r=this.scroll.line(Math.min(e.index,n)),o=s(r,1)[0],a=o;if(e.length>0){var l=this.scroll.line(Math.min(e.index+e.length,n));a=s(l,1)[0]}if(null!=o&&null!=a){var c=t.getBoundingClientRect();i.top<c.top?t.scrollTop-=c.top-i.top:i.bottom>c.bottom&&(t.scrollTop+=i.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(f.info("setNativeRange",t,e,i,n),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=i.parentNode){var o=document.getSelection();if(null!=o)if(null!=t){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||r||t!==a.startContainer||e!==a.startOffset||i!==a.endContainer||n!==a.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==i.tagName&&(n=[].indexOf.call(i.parentNode.childNodes,i),i=i.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(i,n),o.removeAllRanges(),o.addRange(s)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"==typeof e&&(i=e,e=!1),f.info("setRange",t),null!=t){var n=this.rangeToNative(t);this.setNativeRange.apply(this,r(n).concat([e]))}else this.setNativeRange(null);this.update(i)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,e=this.lastRange,i=this.getRange(),n=s(i,2),r=n[0],o=n[1];if(this.lastRange=r,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,h.default)(e,this.lastRange)){var a;!this.composing&&null!=o&&o.native.collapsed&&o.start.node!==this.cursor.textNode&&this.cursor.restore();var l,c=[d.default.events.SELECTION_CHANGE,(0,u.default)(this.lastRange),(0,u.default)(e),t];if((a=this.emitter).emit.apply(a,[d.default.events.EDITOR_CHANGE].concat(c)),t!==d.default.sources.SILENT)(l=this.emitter).emit.apply(l,c)}}}]),t}();e.Range=p,e.default=g},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(i(0)),o=i(3),a=n(o),s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default.Container),e}();s.allowedChildren=[a.default,o.BlockEmbed,s],e.default=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),o=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default.Attributor.Style),n(e,[{key:"value",value:function(t){var i=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return i.startsWith("rgb(")?"#"+(i=i.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map(function(t){return("00"+parseInt(t).toString(16)).slice(-2)}).join(""):i}}]),e}(),a=new r.default.Attributor.Class("color","ql-color",{scope:r.default.Scope.INLINE}),s=new o("color","color",{scope:r.default.Scope.INLINE});e.ColorAttributor=o,e.ColorClass=a,e.ColorStyle=s},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t,e){var i,n=t===T.keys.LEFT?"prefix":"suffix";return r(i={key:t,shiftKey:e,altKey:null},n,/^$/),r(i,"handler",function(i){var n=i.index;t===T.keys.RIGHT&&(n+=i.length+1);var r=this.quill.getLeaf(n);return!(p(r,1)[0]instanceof x.default.Embed&&(t===T.keys.LEFT?e?this.quill.setSelection(i.index-1,i.length+1,w.default.sources.USER):this.quill.setSelection(i.index-1,w.default.sources.USER):e?this.quill.setSelection(i.index,i.length+1,w.default.sources.USER):this.quill.setSelection(i.index+i.length+1,w.default.sources.USER),1))}),i}function a(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var i=this.quill.getLine(t.index),n=p(i,1)[0],r={};if(0===e.offset){var o=this.quill.getLine(t.index-1),a=p(o,1)[0];if(null!=a&&a.length()>1){var s=n.formats(),l=this.quill.getFormat(t.index-1,1);r=L.default.attributes.diff(s,l)||{}}}var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-c,c,w.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index-c,c,r,w.default.sources.USER),this.quill.focus()}}function s(t,e){var i=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-i)){var n={},r=0,o=this.quill.getLine(t.index),a=p(o,1)[0];if(e.offset>=a.length()-1){var s=this.quill.getLine(t.index+1),l=p(s,1)[0];if(l){var c=a.formats(),u=this.quill.getFormat(t.index,1);n=L.default.attributes.diff(c,u)||{},r=l.length()}}this.quill.deleteText(t.index,i,w.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index+r-1,i,n,w.default.sources.USER)}}function l(t){var e=this.quill.getLines(t),i={};if(e.length>1){var n=e[0].formats(),r=e[e.length-1].formats();i=L.default.attributes.diff(r,n)||{}}this.quill.deleteText(t,w.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index,1,i,w.default.sources.USER),this.quill.setSelection(t.index,w.default.sources.SILENT),this.quill.focus()}function c(t,e){var i=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var n=Object.keys(e.format).reduce(function(t,i){return x.default.query(i,x.default.Scope.BLOCK)&&!Array.isArray(e.format[i])&&(t[i]=e.format[i]),t},{});this.quill.insertText(t.index,"\n",n,w.default.sources.USER),this.quill.setSelection(t.index+1,w.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==n[t]&&(Array.isArray(e.format[t])||"link"!==t&&i.quill.format(t,e.format[t],w.default.sources.USER))})}function u(t){return{key:T.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var i=x.default.query("code-block"),n=e.index,r=e.length,o=this.quill.scroll.descendant(i,n),a=p(o,2),s=a[0],l=a[1];if(null!=s){var c=this.quill.getIndex(s),u=s.newlineIndex(l,!0)+1,h=s.newlineIndex(c+l+r),d=s.domNode.textContent.slice(u,h).split("\n");l=0,d.forEach(function(e,o){t?(s.insertAt(u+l,i.TAB),l+=i.TAB.length,0===o?n+=i.TAB.length:r+=i.TAB.length):e.startsWith(i.TAB)&&(s.deleteAt(u+l,i.TAB.length),l-=i.TAB.length,0===o?n-=i.TAB.length:r-=i.TAB.length),l+=e.length+1}),this.quill.update(w.default.sources.USER),this.quill.setSelection(n,r,w.default.sources.SILENT)}}}}function h(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,i){this.quill.format(t,!i.format[t],w.default.sources.USER)}}}function d(t){if("string"==typeof t||"number"==typeof t)return d({key:t});if("object"===(void 0===t?"undefined":f(t))&&(t=(0,m.default)(t,!1)),"string"==typeof t.key)if(null!=T.keys[t.key.toUpperCase()])t.key=T.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[k]=t.shortKey,delete t.shortKey),t}Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),g=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),m=n(i(21)),v=n(i(12)),y=n(i(2)),b=n(i(4)),L=n(i(20)),x=n(i(0)),w=n(i(6)),_=n(i(10)),S=n(i(7)),C=(0,_.default)("quill:keyboard"),k=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",T=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.bindings={},Object.keys(n.options.bindings).forEach(function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&n.options.bindings[e]&&n.addBinding(n.options.bindings[e])}),n.addBinding({key:e.keys.ENTER,shiftKey:null},c),n.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(n.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},a),n.addBinding({key:e.keys.DELETE},{collapsed:!0},s)):(n.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},a),n.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},s)),n.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},l),n.addBinding({key:e.keys.DELETE},{collapsed:!1},l),n.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},a),n.listen(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,S.default),g(e,null,[{key:"match",value:function(t,e){return e=d(e),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(i){return!!e[i]!==t[i]&&null!==e[i]})&&e.key===(t.which||t.keyCode)}}]),g(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=d(t);if(null==n||null==n.key)return C.warn("Attempted to add invalid keyboard binding",n);"function"==typeof e&&(e={handler:e}),"function"==typeof i&&(i={handler:i}),n=(0,y.default)(n,e,i),this.bindings[n.key]=this.bindings[n.key]||[],this.bindings[n.key].push(n)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",function(i){if(!i.defaultPrevented){var n=i.which||i.keyCode,r=(t.bindings[n]||[]).filter(function(t){return e.match(i,t)});if(0!==r.length){var o=t.quill.getSelection();if(null!=o&&t.quill.hasFocus()){var a=t.quill.getLine(o.index),s=p(a,2),l=s[0],c=s[1],u=t.quill.getLeaf(o.index),h=p(u,2),d=h[0],g=h[1],m=0===o.length?[d,g]:t.quill.getLeaf(o.index+o.length),y=p(m,2),b=y[0],L=y[1],w=d instanceof x.default.Text?d.value().slice(0,g):"",_=b instanceof x.default.Text?b.value().slice(L):"",S={collapsed:0===o.length,empty:0===o.length&&l.length()<=1,format:t.quill.getFormat(o),offset:c,prefix:w,suffix:_};r.some(function(e){if(null!=e.collapsed&&e.collapsed!==S.collapsed)return!1;if(null!=e.empty&&e.empty!==S.empty)return!1;if(null!=e.offset&&e.offset!==S.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==S.format[t]}))return!1}else if("object"===f(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=S.format[t]:!1===e.format[t]?null==S.format[t]:(0,v.default)(e.format[t],S.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(S.prefix)||null!=e.suffix&&!e.suffix.test(S.suffix)||!0===e.handler.call(t,o,S))})&&i.preventDefault()}}}})}}]),e}();T.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},T.DEFAULTS={bindings:{bold:h("bold"),italic:h("italic"),underline:h("underline"),indent:{key:T.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",w.default.sources.USER)}},outdent:{key:T.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",w.default.sources.USER)}},"outdent backspace":{key:T.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",w.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,w.default.sources.USER)}},"indent code-block":u(!0),"outdent code-block":u(!1),"remove tab":{key:T.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,w.default.sources.USER)}},tab:{key:T.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new b.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,w.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,w.default.sources.SILENT)}},"list empty enter":{key:T.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,w.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,w.default.sources.USER)}},"checklist enter":{key:T.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),i=p(e,2),n=i[0],r=i[1],o=(0,y.default)({},n.formats(),{list:"checked"}),a=(new b.default).retain(t.index).insert("\n",o).retain(n.length()-r-1).retain(1,{list:"unchecked"});this.quill.updateContents(a,w.default.sources.USER),this.quill.setSelection(t.index+1,w.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:T.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var i=this.quill.getLine(t.index),n=p(i,2),r=n[0],o=n[1],a=(new b.default).retain(t.index).insert("\n",e.format).retain(r.length()-o-1).retain(1,{header:null});this.quill.updateContents(a,w.default.sources.USER),this.quill.setSelection(t.index+1,w.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var i=e.prefix.length,n=this.quill.getLine(t.index),r=p(n,2),o=r[0],a=r[1];if(a>i)return!0;var s=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":s="unchecked";break;case"[x]":s="checked";break;case"-":case"*":s="bullet";break;default:s="ordered"}this.quill.insertText(t.index," ",w.default.sources.USER),this.quill.history.cutoff();var l=(new b.default).retain(t.index-a).delete(i+1).retain(o.length()-2-a).retain(1,{list:s});this.quill.updateContents(l,w.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-i,w.default.sources.SILENT)}},"code exit":{key:T.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),i=p(e,2),n=i[0],r=i[1],o=(new b.default).retain(t.index+n.length()-r-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(o,w.default.sources.USER)}},"embed left":o(T.keys.LEFT,!1),"embed left shift":o(T.keys.LEFT,!0),"embed right":o(T.keys.RIGHT,!1),"embed right shift":o(T.keys.RIGHT,!0)}},e.default=T,e.SHORTKEY=k},function(t,e,i){"use strict";t.exports={align:{"":i(75),center:i(76),right:i(77),justify:i(78)},background:i(79),blockquote:i(80),bold:i(81),clean:i(82),code:i(40),"code-block":i(40),color:i(83),direction:{"":i(84),rtl:i(85)},float:{center:i(86),full:i(87),left:i(88),right:i(89)},formula:i(90),header:{1:i(91),2:i(92)},italic:i(93),image:i(94),indent:{"+1":i(95),"-1":i(96)},link:i(97),list:{ordered:i(98),bullet:i(99),check:i(100)},script:{sub:i(101),super:i(102)},strike:i(103),underline:i(104),video:i(105)}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(1),r=function(){function t(t){this.domNode=t,this.domNode[n.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new n.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return n.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[n.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,i,r){var o=this.isolate(t,e);if(null!=n.query(i,n.Scope.BLOT)&&r)o.wrap(i,r);else if(null!=n.query(i,n.Scope.ATTRIBUTE)){var a=n.create(this.statics.scope);o.wrap(a),a.format(i,r)}},t.prototype.insertAt=function(t,e,i){var r=null==i?n.create("text",e):n.create(e,i),o=this.split(t);this.parent.insertBefore(r,o)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var i=null;t.children.insertBefore(this,e),null!=e&&(i=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==i||t.domNode.insertBefore(this.domNode,i),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var i=this.split(t);return i.split(e),i},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[n.DATA_KEY]&&delete this.domNode[n.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var i="string"==typeof t?n.create(t,e):t;return i.replace(this),i},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var i="string"==typeof t?n.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(i,this.next),i.appendChild(this),i},t.blotName="abstract",t}();e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(11),r=i(29),o=i(30),a=i(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=n.default.keys(this.domNode),i=r.default.keys(this.domNode),s=o.default.keys(this.domNode);e.concat(i).concat(s).forEach(function(e){var i=a.query(e,a.Scope.ATTRIBUTE);i instanceof n.default&&(t.attributes[i.attrName]=i)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(i){var n=e.attributes[i].value(e.domNode);t.format(i,n)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,i){return e[i]=t.attributes[i].value(t.domNode),e},{})},t}();e.default=s},function(t,e,i){"use strict";function n(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return 0===t.indexOf(e+"-")})}var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){n(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=(n(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},e}(i(11).default);e.default=o},function(t,e,i){"use strict";function n(t){var e=t.split("-"),i=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return e[0]+i}var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map(function(t){return t.split(":")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[n(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[n(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[n(this.keyName)];return this.canAdd(t,e)?e:""},e}(i(11).default);e.default=o},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),s=n(i(0)),l=n(i(8)),c=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.selection=i,n.textNode=document.createTextNode(e.CONTENTS),n.domNode.appendChild(n.textNode),n._length=0,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,s.default.Embed),a(e,null,[{key:"value",value:function(){}}]),a(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,i){if(0!==this._length)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,i);for(var n=this,r=0;null!=n&&n.statics.scope!==s.default.Scope.BLOCK_BLOT;)r+=n.offset(n.parent),n=n.parent;null!=n&&(this._length=e.CONTENTS.length,n.optimize(),n.formatAt(r,e.CONTENTS.length,t,i),this._length=0)}},{key:"index",value:function(t,i){return t===this.textNode?0:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,i)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,i=this.selection.getNativeRange(),n=void 0,o=void 0,a=void 0;if(null!=i&&i.start.node===t&&i.end.node===t){var c=[t,i.start.offset,i.end.offset];n=c[0],o=c[1],a=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var u=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof l.default?(n=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=e.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(s.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var h=[o,a].map(function(t){return Math.max(0,Math.min(n.data.length,t-1))}),d=r(h,2);return o=d[0],a=d[1],{startNode:n,startOffset:o,endNode:n,endOffset:a}}}}},{key:"update",value:function(t,e){var i=this;if(t.some(function(t){return"characterData"===t.type&&t.target===i.textNode})){var n=this.restore();n&&(e.range=n)}}},{key:"value",value:function(){return""}}]),e}();c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",e.default=c},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function(){function t(e,i){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.quill=e,this.options=i,this.modules={}}return n(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach(function(e){null==t.modules[e]&&t.addModule(e)})}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();r.DEFAULTS={modules:{}},r.themes={default:r},e.default=r},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=n(i(0)),a=n(i(8)),s="\ufeff",l=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return i.contentNode=document.createElement("span"),i.contentNode.setAttribute("contenteditable",!1),[].slice.call(i.domNode.childNodes).forEach(function(t){i.contentNode.appendChild(t)}),i.leftGuard=document.createTextNode(s),i.rightGuard=document.createTextNode(s),i.domNode.appendChild(i.leftGuard),i.domNode.appendChild(i.contentNode),i.domNode.appendChild(i.rightGuard),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Embed),r(e,[{key:"index",value:function(t,i){return t===this.leftGuard?0:t===this.rightGuard?1:function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,i)}},{key:"restore",value:function(t){var e=void 0,i=void 0,n=t.data.split(s).join("");if(t===this.leftGuard)if(this.prev instanceof a.default){var r=this.prev.length();this.prev.insertAt(r,n),e={startNode:this.prev.domNode,startOffset:r+n.length}}else i=document.createTextNode(n),this.parent.insertBefore(o.default.create(i),this),e={startNode:i,startOffset:n.length};else t===this.rightGuard&&(this.next instanceof a.default?(this.next.insertAt(0,n),e={startNode:this.next.domNode,startOffset:n.length}):(i=document.createTextNode(n),this.parent.insertBefore(o.default.create(i),this.next),e={startNode:i,startOffset:n.length}));return t.data=s,e}},{key:"update",value:function(t,e){var i=this;t.forEach(function(t){if("characterData"===t.type&&(t.target===i.leftGuard||t.target===i.rightGuard)){var n=i.restore(t.target);n&&(e.range=n)}})}}]),e}();e.default=l},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),r={scope:n.default.Scope.BLOCK,whitelist:["right","center","justify"]},o=new n.default.Attributor.Attribute("align","align",r),a=new n.default.Attributor.Class("align","ql-align",r),s=new n.default.Attributor.Style("align","text-align",r);e.AlignAttribute=o,e.AlignClass=a,e.AlignStyle=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),r=i(24),o=new n.default.Attributor.Class("background","ql-bg",{scope:n.default.Scope.INLINE}),a=new r.ColorAttributor("background","background-color",{scope:n.default.Scope.INLINE});e.BackgroundClass=o,e.BackgroundStyle=a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),r={scope:n.default.Scope.BLOCK,whitelist:["rtl"]},o=new n.default.Attributor.Attribute("direction","dir",r),a=new n.default.Attributor.Class("direction","ql-direction",r),s=new n.default.Attributor.Style("direction","direction",r);e.DirectionAttribute=o,e.DirectionClass=a,e.DirectionStyle=s},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),o={scope:r.default.Scope.INLINE,whitelist:["serif","monospace"]},a=new r.default.Attributor.Class("font","ql-font",o),s=new(function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default.Attributor.Style),n(e,[{key:"value",value:function(t){return function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}())("font","font-family",o);e.FontStyle=s,e.FontClass=a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var n=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),r=new n.default.Attributor.Class("size","ql-size",{scope:n.default.Scope.INLINE,whitelist:["small","large","huge"]}),o=new n.default.Attributor.Style("size","font-size",{scope:n.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=r,e.SizeStyle=o},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},o=function(t){return t&&t.__esModule?t:{default:t}}(i(5)),a=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),n(e,[{key:"optimize",value:function(t){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}();a.blotName="bold",a.tagName=["STRONG","B"],e.default=a},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},o=function(t){return t&&t.__esModule?t:{default:t}}(i(16)),a=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.label.innerHTML=i,n.container.classList.add("ql-color-picker"),[].slice.call(n.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(t){t.classList.add("ql-primary")}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),n(e,[{key:"buildItem",value:function(t){var i=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return i.style.backgroundColor=t.getAttribute("value")||"",i}},{key:"selectItem",value:function(t,i){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,i);var n=this.label.querySelector(".ql-color-label"),o=t&&t.getAttribute("data-value")||"";n&&("line"===n.tagName?n.style.stroke=o:n.style.fill=o)}}]),e}();e.default=a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function(t){return t&&t.__esModule?t:{default:t}}(i(16)),o=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.container.classList.add("ql-icon-picker"),[].forEach.call(n.container.querySelectorAll(".ql-picker-item"),function(t){t.innerHTML=i[t.getAttribute("data-value")||""]}),n.defaultItem=n.container.querySelector(".ql-selected"),n.selectItem(n.defaultItem),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default),n(e,[{key:"selectItem",value:function(t,i){(function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0})(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,i),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}();e.default=o},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function(){function t(e,i){var n=this;(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.quill=e,this.boundsContainer=i||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){n.root.style.marginTop=-1*n.quill.root.scrollTop+"px"}),this.hide()}return n(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,i=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=i+"px",this.root.classList.remove("ql-flip");var n=this.boundsContainer.getBoundingClientRect(),r=this.root.getBoundingClientRect(),o=0;if(r.right>n.right&&(o=n.right-r.right,this.root.style.left=e+o+"px"),r.left<n.left&&(o=n.left-r.left,this.root.style.left=e+o+"px"),r.bottom>n.bottom){var a=r.bottom-r.top,s=t.bottom-t.top+a;this.root.style.top=i-s+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=r},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var n=document.createElement("option");e===i?n.setAttribute("selected","selected"):n.setAttribute("value",e),t.appendChild(n)})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),c=n(i(2)),u=n(i(4)),h=n(i(9)),d=n(i(25)),f=n(i(32)),p=n(i(41)),g=n(i(42)),m=n(i(16)),v=n(i(43)),y=[!1,"center","right","justify"],b=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],L=[!1,"serif","monospace"],x=["1","2","3",!1],w=["small",!1,"large","huge"],_=function(t){function e(t,i){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return t.emitter.listenDOM("click",document.body,function e(i){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==n.tooltip||n.tooltip.root.contains(i.target)||document.activeElement===n.tooltip.textbox||n.quill.hasFocus()||n.tooltip.hide(),null!=n.pickers&&n.pickers.forEach(function(t){t.container.contains(i.target)||t.close()})}),n}return a(e,f.default),l(e,[{key:"addModule",value:function(t){var i=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(i),i}},{key:"buildButtons",value:function(t,e){t.forEach(function(t){(t.getAttribute("class")||"").split(/\s+/).forEach(function(i){if(i.startsWith("ql-")&&(i=i.slice("ql-".length),null!=e[i]))if("direction"===i)t.innerHTML=e[i][""]+e[i].rtl;else if("string"==typeof e[i])t.innerHTML=e[i];else{var n=t.value||"";null!=n&&e[i][n]&&(t.innerHTML=e[i][n])}})})}},{key:"buildPickers",value:function(t,e){var i=this;this.pickers=t.map(function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&s(t,y),new g.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var i=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&s(t,b,"background"===i?"#ffffff":"#000000"),new p.default(t,e[i])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?s(t,L):t.classList.contains("ql-header")?s(t,x):t.classList.contains("ql-size")&&s(t,w)),new m.default(t)});this.quill.on(h.default.events.EDITOR_CHANGE,function(){i.pickers.forEach(function(t){t.update()})})}}]),e}();_.DEFAULTS=(0,c.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",function(){if(null!=e.files&&null!=e.files[0]){var i=new FileReader;i.onload=function(i){var n=t.quill.getSelection(!0);t.quill.updateContents((new u.default).retain(n.index).delete(n.length).insert({image:i.target.result}),h.default.sources.USER),t.quill.setSelection(n.index+1,h.default.sources.SILENT),e.value=""},i.readAsDataURL(e.files[0])}}),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var S=function(t){function e(t,i){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.textbox=n.root.querySelector('input[type="text"]'),n.listen(),n}return a(e,v.default),l(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",function(e){d.default.match(e,"enter")?(t.save(),e.preventDefault()):d.default.match(e,"escape")&&(t.cancel(),e.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,h.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,h.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=function(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}(t);case"formula":if(!t)break;var i=this.quill.getSelection(!0);if(null!=i){var n=i.index+i.length;this.quill.insertEmbed(n,this.root.getAttribute("data-mode"),t,h.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(n+1," ",h.default.sources.USER),this.quill.setSelection(n+2,h.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}();e.BaseTooltip=S,e.default=_},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(i(46)),o=i(34),a=i(36),s=i(62),l=n(i(63)),c=n(i(64)),u=i(65),h=n(u),d=i(35),f=i(24),p=i(37),g=i(38),m=n(i(39)),v=n(i(66)),y=n(i(15)),b=n(i(67)),L=n(i(68)),x=n(i(69)),w=n(i(70)),_=n(i(71)),S=i(13),C=n(S),k=n(i(72)),T=n(i(73)),E=n(i(74)),A=n(i(26)),M=n(i(16)),D=n(i(41)),P=n(i(42)),O=n(i(43)),I=n(i(107)),N=n(i(108));r.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":f.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":f.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":g.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":f.ColorStyle,"formats/font":p.FontClass,"formats/size":g.SizeClass,"formats/blockquote":l.default,"formats/code-block":C.default,"formats/header":c.default,"formats/list":h.default,"formats/bold":m.default,"formats/code":S.Code,"formats/italic":v.default,"formats/link":y.default,"formats/script":b.default,"formats/strike":L.default,"formats/underline":x.default,"formats/image":w.default,"formats/video":_.default,"formats/list/item":u.ListItem,"modules/formula":k.default,"modules/syntax":T.default,"modules/toolbar":E.default,"themes/bubble":I.default,"themes/snow":N.default,"ui/icons":A.default,"ui/picker":M.default,"ui/icon-picker":P.default,"ui/color-picker":D.default,"ui/tooltip":O.default},!0),e.default=r.default},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(i(0)),o=n(i(6)),a=i(3),s=n(a),l=n(i(14)),c=n(i(23)),u=n(i(31)),h=n(i(33)),d=n(i(5)),f=n(i(59)),p=n(i(8)),g=n(i(60)),m=n(i(61)),v=n(i(25));o.default.register({"blots/block":s.default,"blots/block/embed":a.BlockEmbed,"blots/break":l.default,"blots/container":c.default,"blots/cursor":u.default,"blots/embed":h.default,"blots/inline":d.default,"blots/scroll":f.default,"blots/text":p.default,"modules/clipboard":g.default,"modules/history":m.default,"modules/keyboard":v.default}),r.default.register(s.default,l.default,u.default,d.default,f.default,p.default),e.default=o.default},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,i=this.iterator();e=i();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,i=this.head;null!=i;){if(i===t)return e;e+=i.length(),i=i.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var i,n=this.iterator();i=n();){var r=i.length();if(t<r||e&&t===r&&(null==i.next||0!==i.next.length()))return[i,t];t-=r}return[null,0]},t.prototype.forEach=function(t){for(var e,i=this.iterator();e=i();)t(e)},t.prototype.forEachAt=function(t,e,i){if(!(e<=0))for(var n,r=this.find(t),o=r[0],a=t-r[1],s=this.iterator(o);(n=s())&&a<t+e;){var l=n.length();t>a?i(n,t-a,Math.min(e,a+l-t)):i(n,0,Math.min(l,t+e-a)),a+=l}},t.prototype.map=function(t){return this.reduce(function(e,i){return e.push(t(i)),e},[])},t.prototype.reduce=function(t,e){for(var i,n=this.iterator();i=n();)e=t(e,i);return e},t}();e.default=n},function(t,e,i){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=i(17),o=i(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=function(t){function e(e){var i=t.call(this,e)||this;return i.scroll=i,i.observer=new MutationObserver(function(t){i.update(t)}),i.observer.observe(i.domNode,a),i.attach(),i}return n(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,i){this.update(),0===e&&i===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,i)},e.prototype.formatAt=function(e,i,n,r){this.update(),t.prototype.formatAt.call(this,e,i,n,r)},e.prototype.insertAt=function(e,i,n){this.update(),t.prototype.insertAt.call(this,e,i,n)},e.prototype.optimize=function(e,i){var n=this;void 0===e&&(e=[]),void 0===i&&(i={}),t.prototype.optimize.call(this,i);for(var a=[].slice.call(this.observer.takeRecords());a.length>0;)e.push(a.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==n&&null!=t.domNode.parentNode&&(null==t.domNode[o.DATA_KEY].mutations&&(t.domNode[o.DATA_KEY].mutations=[]),e&&s(t.parent))},l=function(t){null!=t.domNode[o.DATA_KEY]&&null!=t.domNode[o.DATA_KEY].mutations&&(t instanceof r.default&&t.children.forEach(l),t.optimize(i))},c=e,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach(function(t){var e=o.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(o.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=o.find(t,!1);s(e,!1),e instanceof r.default&&e.children.forEach(function(t){s(t,!1)})})):"attributes"===t.type&&s(e.prev)),s(e))}),this.children.forEach(l),a=(c=[].slice.call(this.observer.takeRecords())).slice();a.length>0;)e.push(a.pop())}},e.prototype.update=function(e,i){var n=this;void 0===i&&(i={}),(e=e||this.observer.takeRecords()).map(function(t){var e=o.find(t.target,!0);return null==e?null:null==e.domNode[o.DATA_KEY].mutations?(e.domNode[o.DATA_KEY].mutations=[t],e):(e.domNode[o.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==n&&null!=t.domNode[o.DATA_KEY]&&t.update(t.domNode[o.DATA_KEY].mutations||[],i)}),null!=this.domNode[o.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,i),this.optimize(e,i)},e.blotName="scroll",e.defaultChild="block",e.scope=o.Scope.BLOCK_BLOT,e.tagName="DIV",e}(r.default);e.default=s},function(t,e,i){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=i(18),o=i(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(i){if(i.tagName!==e.tagName)return t.formats.call(this,i)},e.prototype.format=function(i,n){var o=this;i!==this.statics.blotName||n?t.prototype.format.call(this,i,n):(this.children.forEach(function(t){t instanceof r.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,i,n,r){null!=this.formats()[n]||o.query(n,o.Scope.ATTRIBUTE)?this.isolate(e,i).format(n,r):t.prototype.formatAt.call(this,e,i,n,r)},e.prototype.optimize=function(i){t.prototype.optimize.call(this,i);var n=this.formats();if(0===Object.keys(n).length)return this.unwrap();var r=this.next;r instanceof e&&r.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var i in t)if(t[i]!==e[i])return!1;return!0}(n,r.formats())&&(r.moveChildren(this),r.remove())},e.blotName="inline",e.scope=o.Scope.INLINE_BLOT,e.tagName="SPAN",e}(r.default);e.default=a},function(t,e,i){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=i(18),o=i(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(i){var n=o.query(e.blotName).tagName;if(i.tagName!==n)return t.formats.call(this,i)},e.prototype.format=function(i,n){null!=o.query(i,o.Scope.BLOCK)&&(i!==this.statics.blotName||n?t.prototype.format.call(this,i,n):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,i,n,r){null!=o.query(n,o.Scope.BLOCK)?this.format(n,r):t.prototype.formatAt.call(this,e,i,n,r)},e.prototype.insertAt=function(e,i,n){if(null==n||null!=o.query(i,o.Scope.INLINE))t.prototype.insertAt.call(this,e,i,n);else{var r=this.split(e),a=o.create(i,n);r.parent.insertBefore(a,r)}},e.prototype.update=function(e,i){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,i)},e.blotName="block",e.scope=o.Scope.BLOCK_BLOT,e.tagName="P",e}(r.default);e.default=a},function(t,e,i){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.formats=function(t){},e.prototype.format=function(e,i){t.prototype.formatAt.call(this,0,this.length(),e,i)},e.prototype.formatAt=function(e,i,n,r){0===e&&i===this.length()?this.format(n,r):t.prototype.formatAt.call(this,e,i,n,r)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(i(19).default);e.default=r},function(t,e,i){"use strict";var n=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0});var r=i(19),o=i(1),a=function(t){function e(e){var i=t.call(this,e)||this;return i.text=i.statics.value(i.domNode),i}return n(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,i,n){null==n?(this.text=this.text.slice(0,e)+i+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,i,n)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(i){t.prototype.optimize.call(this,i),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var i=o.create(this.domNode.splitText(t));return this.parent.insertBefore(i,this.next),this.text=this.statics.value(this.domNode),i},e.prototype.update=function(t,e){var i=this;t.some(function(t){return"characterData"===t.type&&t.target===i.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=o.Scope.INLINE_BLOT,e}(r.default);e.default=a},function(t,e,i){"use strict";var n=document.createElement("div");if(n.classList.toggle("test-class",!1),n.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:r.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var i=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>i.length)&&(e=i.length),e-=t.length;var n=i.indexOf(t,e);return-1!==n&&n===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,i=Object(this),n=i.length>>>0,r=arguments[1],o=0;o<n;o++)if(e=i[o],t.call(r,e,o,i))return e}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(t,e){function i(t,e,i){if(t==e)return t?[[f,t]]:[];(i<0||t.length<i)&&(i=null);var r=a(t,e),o=t.substring(0,r);r=s(t=t.substring(r),e=e.substring(r));var l=t.substring(t.length-r),u=n(t=t.substring(0,t.length-r),e=e.substring(0,e.length-r));return o&&u.unshift([f,o]),l&&u.push([f,l]),function t(e){e.push([f,""]);for(var i,n=0,r=0,o=0,l="",c="";n<e.length;)switch(e[n][0]){case d:o++,c+=e[n][1],n++;break;case h:r++,l+=e[n][1],n++;break;case f:r+o>1?(0!==r&&0!==o&&(0!==(i=a(c,l))&&(n-r-o>0&&e[n-r-o-1][0]==f?e[n-r-o-1][1]+=c.substring(0,i):(e.splice(0,0,[f,c.substring(0,i)]),n++),c=c.substring(i),l=l.substring(i)),0!==(i=s(c,l))&&(e[n][1]=c.substring(c.length-i)+e[n][1],c=c.substring(0,c.length-i),l=l.substring(0,l.length-i))),0===r?e.splice(n-o,r+o,[d,c]):0===o?e.splice(n-r,r+o,[h,l]):e.splice(n-r-o,r+o,[h,l],[d,c]),n=n-r-o+(r?1:0)+(o?1:0)+1):0!==n&&e[n-1][0]==f?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,o=0,r=0,l="",c=""}""===e[e.length-1][1]&&e.pop();var u=!1;for(n=1;n<e.length-1;)e[n-1][0]==f&&e[n+1][0]==f&&(e[n][1].substring(e[n][1].length-e[n-1][1].length)==e[n-1][1]?(e[n][1]=e[n-1][1]+e[n][1].substring(0,e[n][1].length-e[n-1][1].length),e[n+1][1]=e[n-1][1]+e[n+1][1],e.splice(n-1,1),u=!0):e[n][1].substring(0,e[n+1][1].length)==e[n+1][1]&&(e[n-1][1]+=e[n+1][1],e[n][1]=e[n][1].substring(e[n+1][1].length)+e[n+1][1],e.splice(n+1,1),u=!0)),n++;u&&t(e)}(u),null!=i&&(u=c(u,i)),function(t){for(var e=!1,i=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},n=2;n<t.length;n+=1)t[n-2][0]===f&&function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319}(t[n-2][1])&&t[n-1][0]===h&&i(t[n-1][1])&&t[n][0]===d&&i(t[n][1])&&(e=!0,t[n-1][1]=t[n-2][1].slice(-1)+t[n-1][1],t[n][1]=t[n-2][1].slice(-1)+t[n][1],t[n-2][1]=t[n-2][1].slice(0,-1));if(!e)return t;for(var r=[],n=0;n<t.length;n+=1)t[n][1].length>0&&r.push(t[n]);return r}(u)}function n(t,e){var n;if(!t)return[[d,e]];if(!e)return[[h,t]];var o=t.length>e.length?t:e,a=t.length>e.length?e:t,s=o.indexOf(a);if(-1!=s)return n=[[d,o.substring(0,s)],[f,a],[d,o.substring(s+a.length)]],t.length>e.length&&(n[0][0]=n[2][0]=h),n;if(1==a.length)return[[h,t],[d,e]];var c=l(t,e);if(c){var u=c[0],p=c[1],g=c[2],m=c[3],v=c[4],y=i(u,g),b=i(p,m);return y.concat([[f,v]],b)}return r(t,e)}function r(t,e){for(var i=t.length,n=e.length,r=Math.ceil((i+n)/2),a=r,s=2*r,l=new Array(s),c=new Array(s),u=0;u<s;u++)l[u]=-1,c[u]=-1;l[a+1]=0,c[a+1]=0;for(var f=i-n,p=f%2!=0,g=0,m=0,v=0,y=0,b=0;b<r;b++){for(var L=-b+g;L<=b-m;L+=2){for(var x=a+L,w=(T=L==-b||L!=b&&l[x-1]<l[x+1]?l[x+1]:l[x-1]+1)-L;T<i&&w<n&&t.charAt(T)==e.charAt(w);)T++,w++;if(l[x]=T,T>i)m+=2;else if(w>n)g+=2;else if(p){if((C=a+f-L)>=0&&C<s&&-1!=c[C])if(T>=(S=i-c[C]))return o(t,e,T,w)}}for(var _=-b+v;_<=b-y;_+=2){for(var S,C=a+_,k=(S=_==-b||_!=b&&c[C-1]<c[C+1]?c[C+1]:c[C-1]+1)-_;S<i&&k<n&&t.charAt(i-S-1)==e.charAt(n-k-1);)S++,k++;if(c[C]=S,S>i)y+=2;else if(k>n)v+=2;else if(!p){if((x=a+f-_)>=0&&x<s&&-1!=l[x]){var T;w=a+(T=l[x])-x;if(T>=(S=i-S))return o(t,e,T,w)}}}}return[[h,t],[d,e]]}function o(t,e,n,r){var o=t.substring(0,n),a=e.substring(0,r),s=t.substring(n),l=e.substring(r),c=i(o,a),u=i(s,l);return c.concat(u)}function a(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var i=0,n=Math.min(t.length,e.length),r=n,o=0;i<r;)t.substring(o,r)==e.substring(o,r)?o=i=r:n=r,r=Math.floor((n-i)/2+i);return r}function s(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var i=0,n=Math.min(t.length,e.length),r=n,o=0;i<r;)t.substring(t.length-r,t.length-o)==e.substring(e.length-r,e.length-o)?o=i=r:n=r,r=Math.floor((n-i)/2+i);return r}function l(t,e){function i(t,e,i){for(var n,r,o,l,c=t.substring(i,i+Math.floor(t.length/4)),u=-1,h="";-1!=(u=e.indexOf(c,u+1));){var d=a(t.substring(i),e.substring(u)),f=s(t.substring(0,i),e.substring(0,u));h.length<f+d&&(h=e.substring(u-f,u)+e.substring(u,u+d),n=t.substring(0,i-f),r=t.substring(i+d),o=e.substring(0,u-f),l=e.substring(u+d))}return 2*h.length>=t.length?[n,r,o,l,h]:null}var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;var o,l,c,u,h,d=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));return d||f?(o=f?d&&d[4].length>f[4].length?d:f:d,t.length>e.length?(l=o[0],c=o[1],u=o[2],h=o[3]):(u=o[0],h=o[1],l=o[2],c=o[3]),[l,c,u,h,o[4]]):null}function c(t,e){var i=function(t,e){if(0===e)return[f,t];for(var i=0,n=0;n<t.length;n++){var r=t[n];if(r[0]===h||r[0]===f){var o=i+r[1].length;if(e===o)return[n+1,t];if(e<o){t=t.slice();var a=e-i,s=[r[0],r[1].slice(0,a)],l=[r[0],r[1].slice(a)];return t.splice(n,1,s,l),[n+1,t]}i=o}}throw new Error("cursor_pos is out of bounds!")}(t,e),n=i[1],r=i[0],o=n[r],a=n[r+1];if(null==o)return t;if(o[0]!==f)return t;if(null!=a&&o[1]+a[1]===a[1]+o[1])return n.splice(r,2,a,o),u(n,r,2);if(null!=a&&0===a[1].indexOf(o[1])){n.splice(r,2,[a[0],o[1]],[0,o[1]]);var s=a[1].slice(o[1].length);return s.length>0&&n.splice(r+2,0,[a[0],s]),u(n,r,3)}return t}function u(t,e,i){for(var n=e+i-1;n>=0&&n>=e-1;n--)if(n+1<t.length){var r=t[n],o=t[n+1];r[0]===o[1]&&t.splice(n,2,[r[0],r[1]+o[1]])}return t}var h=-1,d=1,f=0,p=i;p.INSERT=d,p.DELETE=h,p.EQUAL=f,t.exports=p},function(t,e){function i(t){var e=[];for(var i in t)e.push(i);return e}(t.exports="function"==typeof Object.keys?Object.keys:i).shim=i},function(t,e){function i(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function n(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}var r="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();(e=t.exports=r?i:n).supported=i,e.unsupported=n},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){return Object.keys(e).reduce(function(i,n){return null==t[n]?i:(e[n]===t[n]?i[n]=e[n]:Array.isArray(e[n])?e[n].indexOf(t[n])<0&&(i[n]=e[n].concat([t[n]])):i[n]=[e[n],t[n]],i)},{})}Object.defineProperty(e,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),l=n(i(4)),c=n(i(20)),u=n(i(0)),h=n(i(13)),d=n(i(31)),f=i(3),p=n(f),g=n(i(14)),m=n(i(21)),v=n(i(12)),y=n(i(2)),b=/^[ -~]*$/,L=function(){function t(e){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,t),this.scroll=e,this.delta=this.getDelta()}return s(t,[{key:"applyDelta",value:function(t){var e=this,i=!1;this.scroll.update();var n=this.scroll.length();return this.scroll.batchStart(),(t=function(t){return t.reduce(function(t,e){if(1===e.insert){var i=(0,m.default)(e.attributes);return delete i.image,t.insert({image:e.attributes.image},i)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,m.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"==typeof e.insert){var n=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(n,e.attributes)}return t.push(e)},new l.default)}(t)).reduce(function(t,r){var s=r.retain||r.delete||r.insert.length||1,l=r.attributes||{};if(null!=r.insert){if("string"==typeof r.insert){var h=r.insert;h.endsWith("\n")&&i&&(i=!1,h=h.slice(0,-1)),t>=n&&!h.endsWith("\n")&&(i=!0),e.scroll.insertAt(t,h);var d=e.scroll.line(t),g=a(d,2),m=g[0],v=g[1],b=(0,y.default)({},(0,f.bubbleFormats)(m));if(m instanceof p.default){var L=m.descendant(u.default.Leaf,v),x=a(L,1)[0];b=(0,y.default)(b,(0,f.bubbleFormats)(x))}l=c.default.attributes.diff(b,l)||{}}else if("object"===o(r.insert)){var w=Object.keys(r.insert)[0];if(null==w)return t;e.scroll.insertAt(t,w,r.insert[w])}n+=s}return Object.keys(l).forEach(function(i){e.scroll.formatAt(t,s,i,l[i])}),t+s},0),t.reduce(function(t,i){return"number"==typeof i.delete?(e.scroll.deleteAt(t,i.delete),t):t+(i.retain||i.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new l.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(n).forEach(function(r){if(null==i.scroll.whitelist||i.scroll.whitelist[r]){var o=i.scroll.lines(t,Math.max(e,1)),a=e;o.forEach(function(e){var o=e.length();if(e instanceof h.default){var s=t-e.offset(i.scroll),l=e.newlineIndex(s+a)-s+1;e.formatAt(s,l,r,n[r])}else e.format(r,n[r]);a-=o})}}),this.scroll.optimize(),this.update((new l.default).retain(t).retain(e,(0,m.default)(n)))}},{key:"formatText",value:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(n).forEach(function(r){i.scroll.formatAt(t,e,r,n[r])}),this.update((new l.default).retain(t).retain(e,(0,m.default)(n)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new l.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=[],n=[];0===e?this.scroll.path(t).forEach(function(t){var e=a(t,1)[0];e instanceof p.default?i.push(e):e instanceof u.default.Leaf&&n.push(e)}):(i=this.scroll.lines(t,e),n=this.scroll.descendants(u.default.Leaf,t,e));var o=[i,n].map(function(t){if(0===t.length)return{};for(var e=(0,f.bubbleFormats)(t.shift());Object.keys(e).length>0;){var i=t.shift();if(null==i)return e;e=r((0,f.bubbleFormats)(i),e)}return e});return y.default.apply(y.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter(function(t){return"string"==typeof t.insert}).map(function(t){return t.insert}).join("")}},{key:"insertEmbed",value:function(t,e,i){return this.scroll.insertAt(t,e,i),this.update((new l.default).retain(t).insert(function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}({},e,i)))}},{key:"insertText",value:function(t,e){var i=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(n).forEach(function(r){i.scroll.formatAt(t,e.length,r,n[r])}),this.update((new l.default).retain(t).insert(e,(0,m.default)(n)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===p.default.blotName&&!(t.children.length>1)&&t.children.head instanceof g.default}},{key:"removeFormat",value:function(t,e){var i=this.getText(t,e),n=this.scroll.line(t+e),r=a(n,2),o=r[0],s=r[1],c=0,u=new l.default;null!=o&&(c=o instanceof h.default?o.newlineIndex(s)-s+1:o.length()-s,u=o.delta().slice(s,s+c-1).insert("\n"));var d=this.getContents(t,e+c).diff((new l.default).insert(i).concat(u)),f=(new l.default).retain(t).concat(d);return this.applyDelta(f)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(b)&&u.default.find(e[0].target)){var r=u.default.find(e[0].target),o=(0,f.bubbleFormats)(r),a=r.offset(this.scroll),s=e[0].oldValue.replace(d.default.CONTENTS,""),c=(new l.default).insert(s),h=(new l.default).insert(r.value());t=(new l.default).retain(a).concat(c.diff(h,i)).reduce(function(t,e){return e.insert?t.insert(e.insert,o):t.push(e)},new l.default),this.delta=n.compose(t)}else this.delta=this.getDelta(),t&&(0,v.default)(n.compose(t),this.delta)||(t=n.diff(this.delta,i));return t}}]),t}();e.default=L},function(t,e){"use strict";function i(){}function n(t,e,i){this.fn=t,this.context=e,this.once=i||!1}function r(){this._events=new i,this._eventsCount=0}var o=Object.prototype.hasOwnProperty,a="~";Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(a=!1)),r.prototype.eventNames=function(){var t,e,i=[];if(0===this._eventsCount)return i;for(e in t=this._events)o.call(t,e)&&i.push(a?e.slice(1):e);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},r.prototype.listeners=function(t,e){var i=a?a+t:t,n=this._events[i];if(e)return!!n;if(!n)return[];if(n.fn)return[n.fn];for(var r=0,o=n.length,s=new Array(o);r<o;r++)s[r]=n[r].fn;return s},r.prototype.emit=function(t,e,i,n,r,o){var s=a?a+t:t;if(!this._events[s])return!1;var l,c,u=this._events[s],h=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),h){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,i),!0;case 4:return u.fn.call(u.context,e,i,n),!0;case 5:return u.fn.call(u.context,e,i,n,r),!0;case 6:return u.fn.call(u.context,e,i,n,r,o),!0}for(c=1,l=new Array(h-1);c<h;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var d,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(t,u[c].fn,void 0,!0),h){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,e);break;case 3:u[c].fn.call(u[c].context,e,i);break;case 4:u[c].fn.call(u[c].context,e,i,n);break;default:if(!l)for(d=1,l=new Array(h-1);d<h;d++)l[d-1]=arguments[d];u[c].fn.apply(u[c].context,l)}}return!0},r.prototype.on=function(t,e,i){var r=new n(e,i||this),o=a?a+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},r.prototype.once=function(t,e,i){var r=new n(e,i||this,!0),o=a?a+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},r.prototype.removeListener=function(t,e,n,r){var o=a?a+t:t;if(!this._events[o])return this;if(!e)return 0==--this._eventsCount?this._events=new i:delete this._events[o],this;var s=this._events[o];if(s.fn)s.fn!==e||r&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new i:delete this._events[o]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==e||r&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[o]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new i:delete this._events[o]}return this},r.prototype.removeAllListeners=function(t){var e;return t?(e=a?a+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new i:delete this._events[e])):(this._events=new i,this._eventsCount=0),this},r.prototype.off=r.prototype.removeListener,r.prototype.addListener=r.prototype.on,r.prototype.setMaxListeners=function(){return this},r.prefixed=a,r.EventEmitter=r,void 0!==t&&(t.exports=r)},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){return t instanceof h.default||t instanceof u.BlockEmbed}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),s=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},l=n(i(0)),c=n(i(9)),u=i(3),h=n(u),d=n(i(14)),f=n(i(13)),p=n(i(23)),g=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.emitter=i.emitter,Array.isArray(i.whitelist)&&(n.whitelist=i.whitelist.reduce(function(t,e){return t[e]=!0,t},{})),n.domNode.addEventListener("DOMNodeInserted",function(){}),n.optimize(),n.enable(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default.Scroll),a(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,i){var n=this.line(t),r=o(n,2),a=r[0],l=r[1],c=this.line(t+i),h=o(c,1)[0];if(s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,i),null!=h&&a!==h&&l>0){if(a instanceof u.BlockEmbed||h instanceof u.BlockEmbed)return void this.optimize();if(a instanceof f.default){var p=a.newlineIndex(a.length(),!0);if(p>-1&&(a=a.split(p+1))===h)return void this.optimize()}else if(h instanceof f.default){var g=h.newlineIndex(0);g>-1&&h.split(g+1)}var m=h.children.head instanceof d.default?null:h.children.head;a.moveChildren(h,m),a.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,i,n,r){(null==this.whitelist||this.whitelist[n])&&(s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,i,n,r),this.optimize())}},{key:"insertAt",value:function(t,i,n){if(null==n||null==this.whitelist||this.whitelist[i]){if(t>=this.length())if(null==n||null==l.default.query(i,l.default.Scope.BLOCK)){var r=l.default.create(this.statics.defaultChild);this.appendChild(r),null==n&&i.endsWith("\n")&&(i=i.slice(0,-1)),r.insertAt(0,i,n)}else{var o=l.default.create(i,n);this.appendChild(o)}else s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,i,n);this.optimize()}}},{key:"insertBefore",value:function(t,i){if(t.statics.scope===l.default.Scope.INLINE_BLOT){var n=l.default.create(this.statics.defaultChild);n.appendChild(t),t=n}s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,i)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(r,t)}},{key:"lines",value:function(){return function t(e,i,n){var o=[],a=n;return e.children.forEachAt(i,n,function(e,i,n){r(e)?o.push(e):e instanceof l.default.Container&&(o=o.concat(t(e,i,a))),a-=n}),o}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,i),t.length>0&&this.emitter.emit(c.default.events.SCROLL_OPTIMIZE,t,i))}},{key:"path",value:function(t){return s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var i=c.default.sources.USER;"string"==typeof t&&(i=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(c.default.events.SCROLL_BEFORE_UPDATE,i,t),s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(c.default.events.SCROLL_UPDATE,i,t)}}}]),e}();g.blotName="scroll",g.className="ql-editor",g.tagName="DIV",g.defaultChild="block",g.allowedChildren=[h.default,u.BlockEmbed,p.default],e.default=g},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t,e,i){return"object"===(void 0===e?"undefined":g(e))?Object.keys(e).reduce(function(t,i){return o(t,i,e[i])},t):t.reduce(function(t,n){return n.attributes&&n.attributes[e]?t.push(n):t.insert(n.insert,(0,y.default)({},r({},e,i),n.attributes))},new b.default)}function a(t){return t.nodeType!==Node.ELEMENT_NODE?{}:t["__ql-computed-style"]||(t["__ql-computed-style"]=window.getComputedStyle(t))}function s(t,e){for(var i="",n=t.ops.length-1;n>=0&&i.length<e.length;--n){var r=t.ops[n];if("string"!=typeof r.insert)break;i=r.insert+i}return i.slice(-1*e.length)===e}function l(t){return 0!==t.childNodes.length&&["block","list-item"].indexOf(a(t).display)>-1}function c(t,e,i){return o(i,t,!0)}function u(t,e){var i=L.default.Attributor.Attribute.keys(t),n=L.default.Attributor.Class.keys(t),r=L.default.Attributor.Style.keys(t),a={};return i.concat(n).concat(r).forEach(function(e){var i=L.default.query(e,L.default.Scope.ATTRIBUTE);null!=i&&(a[i.attrName]=i.value(t),a[i.attrName])||(null==(i=I[e])||i.attrName!==e&&i.keyName!==e||(a[i.attrName]=i.value(t)||void 0),null==(i=N[e])||i.attrName!==e&&i.keyName!==e||(i=N[e],a[i.attrName]=i.value(t)||void 0))}),Object.keys(a).length>0&&(e=o(e,a)),e}function h(t,e){var i=L.default.query(t);if(null==i)return e;if(i.prototype instanceof L.default.Embed){var n={},r=i.value(t);null!=r&&(n[i.blotName]=r,e=(new b.default).insert(n,i.formats(t)))}else"function"==typeof i.formats&&(e=o(e,i.blotName,i.formats(t)));return e}function d(t,e){return s(e,"\n")||(l(t)||e.length()>0&&t.nextSibling&&l(t.nextSibling))&&e.insert("\n"),e}function f(t,e){if(l(t)&&null!=t.nextElementSibling&&!s(e,"\n\n")){var i=t.offsetHeight+parseFloat(a(t).marginTop)+parseFloat(a(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*i&&e.insert("\n")}return e}function p(t,e){var i=t.data;if("O:P"===t.parentNode.tagName)return e.insert(i.trim());if(0===i.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!a(t.parentNode).whiteSpace.startsWith("pre")){var n=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};i=(i=i.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,n.bind(n,!0)),(null==t.previousSibling&&l(t.parentNode)||null!=t.previousSibling&&l(t.previousSibling))&&(i=i.replace(/^\s+/,n.bind(n,!1))),(null==t.nextSibling&&l(t.parentNode)||null!=t.nextSibling&&l(t.nextSibling))&&(i=i.replace(/\s+$/,n.bind(n,!1)))}return e.insert(i)}Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),v=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),y=n(i(2)),b=n(i(4)),L=n(i(0)),x=n(i(6)),w=n(i(10)),_=n(i(7)),S=i(34),C=i(35),k=n(i(13)),T=i(24),E=i(36),A=i(37),M=i(38),D=(0,w.default)("quill:clipboard"),P="__ql-matcher",O=[[Node.TEXT_NODE,p],[Node.TEXT_NODE,d],["br",function(t,e){return s(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,d],[Node.ELEMENT_NODE,h],[Node.ELEMENT_NODE,f],[Node.ELEMENT_NODE,u],[Node.ELEMENT_NODE,function(t,e){var i={},n=t.style||{};return n.fontStyle&&"italic"===a(t).fontStyle&&(i.italic=!0),n.fontWeight&&(a(t).fontWeight.startsWith("bold")||parseInt(a(t).fontWeight)>=700)&&(i.bold=!0),Object.keys(i).length>0&&(e=o(e,i)),parseFloat(n.textIndent||0)>0&&(e=(new b.default).insert("\t").concat(e)),e}],["li",function(t,e){var i=L.default.query(t);if(null==i||"list-item"!==i.blotName||!s(e,"\n"))return e;for(var n=-1,r=t.parentNode;!r.classList.contains("ql-clipboard");)"list"===(L.default.query(r)||{}).blotName&&(n+=1),r=r.parentNode;return n<=0?e:e.compose((new b.default).retain(e.length()-1).retain(1,{indent:n}))}],["b",c.bind(c,"bold")],["i",c.bind(c,"italic")],["style",function(){return new b.default}]],I=[S.AlignAttribute,E.DirectionAttribute].reduce(function(t,e){return t[e.keyName]=e,t},{}),N=[S.AlignStyle,C.BackgroundStyle,T.ColorStyle,E.DirectionStyle,A.FontStyle,M.SizeStyle].reduce(function(t,e){return t[e.keyName]=e,t},{}),R=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.quill.root.addEventListener("paste",n.onPaste.bind(n)),n.container=n.quill.addContainer("ql-clipboard"),n.container.setAttribute("contenteditable",!0),n.container.setAttribute("tabindex",-1),n.matchers=[],O.concat(n.options.matchers).forEach(function(t){var e=m(t,2),r=e[0],o=e[1];(i.matchVisual||o!==f)&&n.addMatcher(r,o)}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,_.default),v(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"==typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[k.default.blotName]){var i=this.container.innerText;return this.container.innerHTML="",(new b.default).insert(i,r({},k.default.blotName,e[k.default.blotName]))}var n=this.prepareMatching(),o=m(n,2),a=o[0],l=o[1],c=function t(e,i,n){return e.nodeType===e.TEXT_NODE?n.reduce(function(t,i){return i(e,t)},new b.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],function(r,o){var a=t(o,i,n);return o.nodeType===e.ELEMENT_NODE&&(a=i.reduce(function(t,e){return e(o,t)},a),a=(o[P]||[]).reduce(function(t,e){return e(o,t)},a)),r.concat(a)},new b.default):new b.default}(this.container,a,l);return s(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new b.default).retain(c.length()-1).delete(1))),D.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:x.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,x.default.sources.SILENT);else{var n=this.convert(e);this.quill.updateContents((new b.default).retain(t).concat(n),i),this.quill.setSelection(t+n.length(),x.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var i=this.quill.getSelection(),n=(new b.default).retain(i.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(x.default.sources.SILENT),setTimeout(function(){n=n.concat(e.convert()).delete(i.length),e.quill.updateContents(n,x.default.sources.USER),e.quill.setSelection(n.length()-i.length,x.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=r,e.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],i=[];return this.matchers.forEach(function(n){var r=m(n,2),o=r[0],a=r[1];switch(o){case Node.TEXT_NODE:i.push(a);break;case Node.ELEMENT_NODE:e.push(a);break;default:[].forEach.call(t.container.querySelectorAll(o),function(t){t[P]=t[P]||[],t[P].push(a)})}}),[e,i]}}]),e}();R.DEFAULTS={matchers:[],matchVisual:!0},e.default=R,e.matchAttributor=u,e.matchBlot=h,e.matchNewline=d,e.matchSpacing=f,e.matchText=p},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t){var e=t.reduce(function(t,e){return t+(e.delete||0)},0),i=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=a.default.query(t,a.default.Scope.BLOCK)}))}(t)&&(i-=1),i}Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=n(i(0)),s=n(i(6)),l=n(i(7)),c=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.lastRecorded=0,n.ignoreChange=!1,n.clear(),n.quill.on(s.default.events.EDITOR_CHANGE,function(t,e,i,r){t!==s.default.events.TEXT_CHANGE||n.ignoreChange||(n.options.userOnly&&r!==s.default.sources.USER?n.transform(e):n.record(e,i))}),n.quill.keyboard.addBinding({key:"Z",shortKey:!0},n.undo.bind(n)),n.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},n.redo.bind(n)),/Win/i.test(navigator.platform)&&n.quill.keyboard.addBinding({key:"Y",shortKey:!0},n.redo.bind(n)),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default),o(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var i=this.stack[t].pop();this.stack[e].push(i),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(i[t],s.default.sources.USER),this.ignoreChange=!1;var n=r(i[t]);this.quill.setSelection(n)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var i=this.quill.getContents().diff(e),n=Date.now();if(this.lastRecorded+this.options.delay>n&&this.stack.undo.length>0){var r=this.stack.undo.pop();i=i.compose(r.undo),t=r.redo.compose(t)}else this.lastRecorded=n;this.stack.undo.push({redo:t,undo:i}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}();c.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=c,e.getLastChangeIndex=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},o=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),a=new(function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Attributor.Class),n(e,[{key:"add",value:function(t,i){if("+1"===i||"-1"===i){var n=this.value(t)||0;i="+1"===i?n+1:n-1}return 0===i?(this.remove(t),!0):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,i)}},{key:"canAdd",value:function(t,i){return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,i)||r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(i))}},{key:"value",value:function(t){return parseInt(r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}())("indent","ql-indent",{scope:o.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i(3)),r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,n.default),e}();r.blotName="blockquote",r.tagName="blockquote",e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function(t){return t&&t.__esModule?t:{default:t}}(i(3)),o=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default),n(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}();o.blotName="header",o.tagName=["H1","H2","H3","H4","H5","H6"],e.default=o},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var s=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),l=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},c=n(i(0)),u=n(i(3)),h=n(i(23)),d=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,u.default),s(e,[{key:"format",value:function(t,i){t!==f.blotName||i?l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,i):this.replaceWith(c.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,i){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,i),this):(this.parent.unwrap(),l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,i))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:l(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}();d.blotName="list-item",d.tagName="LI";var f=function(t){function e(t){r(this,e);var i=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),n=function(e){if(e.target.parentNode===t){var n=i.statics.formats(t),r=c.default.find(e.target);"checked"===n?r.format("list","unchecked"):"unchecked"===n&&r.format("list","checked")}};return t.addEventListener("touchstart",n),t.addEventListener("mousedown",n),i}return a(e,h.default),s(e,null,[{key:"create",value:function(t){var i="ordered"===t?"OL":"UL",n=l(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,i);return"checked"!==t&&"unchecked"!==t||n.setAttribute("data-checked","checked"===t),n}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),s(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,i=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t;var t,e,i}},{key:"insertBefore",value:function(t,i){if(t instanceof d)l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,i);else{var n=null==i?this.length():i.offset(this),r=this.split(n);r.parent.insertBefore(t,r)}}},{key:"optimize",value:function(t){l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var i=this.next;null!=i&&i.prev===this&&i.statics.blotName===this.statics.blotName&&i.domNode.tagName===this.domNode.tagName&&i.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(i.moveChildren(this),i.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var i=c.default.create(this.statics.defaultChild);t.moveChildren(i),this.appendChild(i)}l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}();f.blotName="list",f.scope=c.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[d],e.ListItem=d,e.default=f},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i(39)),r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,n.default),e}();r.blotName="italic",r.tagName=["EM","I"],e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function(t){return t&&t.__esModule?t:{default:t}}(i(5)),o=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default),n(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}();o.blotName="script",o.tagName=["SUB","SUP"],e.default=o},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i(5)),r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,n.default),e}();r.blotName="strike",r.tagName="S",e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t&&t.__esModule?t:{default:t}}(i(5)),r=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,n.default),e}();r.blotName="underline",r.tagName="U",e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},o=function(t){return t&&t.__esModule?t:{default:t}}(i(0)),a=i(15),s=["alt","height","width"],l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Embed),n(e,[{key:"format",value:function(t,i){s.indexOf(t)>-1?i?this.domNode.setAttribute(t,i):this.domNode.removeAttribute(t):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,i)}}],[{key:"create",value:function(t){var i=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&i.setAttribute("src",this.sanitize(t)),i}},{key:"formats",value:function(t){return s.reduce(function(e,i){return t.hasAttribute(i)&&(e[i]=t.getAttribute(i)),e},{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,a.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}();l.blotName="image",l.tagName="IMG",e.default=l},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),r=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},o=i(3),a=function(t){return t&&t.__esModule?t:{default:t}}(i(15)),s=["height","width"],l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.BlockEmbed),n(e,[{key:"format",value:function(t,i){s.indexOf(t)>-1?i?this.domNode.setAttribute(t,i):this.domNode.removeAttribute(t):r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,i)}}],[{key:"create",value:function(t){var i=r(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return i.setAttribute("frameborder","0"),i.setAttribute("allowfullscreen",!0),i.setAttribute("src",this.sanitize(t)),i}},{key:"formats",value:function(t){return s.reduce(function(e,i){return t.hasAttribute(i)&&(e[i]=t.getAttribute(i)),e},{})}},{key:"sanitize",value:function(t){return a.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}();l.blotName="video",l.className="ql-video",l.tagName="IFRAME",e.default=l},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var s=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),l=n(i(33)),c=n(i(6)),u=n(i(7)),h=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,l.default),s(e,null,[{key:"create",value:function(t){var i=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&(window.katex.render(t,i,{throwOnError:!1,errorColor:"#f00"}),i.setAttribute("data-value",t)),i}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}();h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";var d=function(t){function e(){r(this,e);var t=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return a(e,u.default),s(e,null,[{key:"register",value:function(){c.default.register(h,!0)}}]),e}();e.FormulaBlot=h,e.default=d},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var s=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),l=n(i(0)),c=n(i(6)),u=n(i(7)),h=n(i(13)),d=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return a(e,h.default),s(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}();d.className="ql-syntax";var f=new l.default.Attributor.Class("token","hljs",{scope:l.default.Scope.INLINE}),p=function(t){function e(t,i){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));if("function"!=typeof n.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var a=null;return n.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(a),a=setTimeout(function(){n.highlight(),a=null},n.options.interval)}),n.highlight(),n}return a(e,u.default),s(e,null,[{key:"register",value:function(){c.default.register(f,!0),c.default.register(d,!0)}}]),s(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(c.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(d).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(c.default.sources.SILENT),null!=e&&this.quill.setSelection(e,c.default.sources.SILENT)}}}]),e}();p.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=d,e.CodeToken=f,e.default=p},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e,i){var n=document.createElement("button");n.setAttribute("type","button"),n.classList.add("ql-"+e),null!=i&&(n.value=i),t.appendChild(n)}function a(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var i=document.createElement("span");i.classList.add("ql-formats"),e.forEach(function(t){if("string"==typeof t)o(i,t);else{var e=Object.keys(t)[0],n=t[e];Array.isArray(n)?function(t,e,i){var n=document.createElement("select");n.classList.add("ql-"+e),i.forEach(function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),n.appendChild(e)}),t.appendChild(n)}(i,e,n):o(i,e,n)}}),t.appendChild(i)})}Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var s=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),c=n(i(4)),u=n(i(0)),h=n(i(6)),d=n(i(10)),f=n(i(7)),p=(0,d.default)("quill:toolbar"),g=function(t){function e(t,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n,o=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));if(Array.isArray(o.options.container)){var l=document.createElement("div");a(l,o.options.container),t.container.parentNode.insertBefore(l,t.container),o.container=l}else"string"==typeof o.options.container?o.container=document.querySelector(o.options.container):o.container=o.options.container;return o.container instanceof HTMLElement?(o.container.classList.add("ql-toolbar"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach(function(t){o.addHandler(t,o.options.handlers[t])}),[].forEach.call(o.container.querySelectorAll("button, select"),function(t){o.attach(t)}),o.quill.on(h.default.events.EDITOR_CHANGE,function(t,e){t===h.default.events.SELECTION_CHANGE&&o.update(e)}),o.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){var t=o.quill.selection.getRange(),e=s(t,1)[0];o.update(e)}),o):(n=p.error("Container required for toolbar",o.options),r(o,n))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,f.default),l(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,i=[].find.call(t.classList,function(t){return 0===t.indexOf("ql-")});if(i){if(i=i.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[i]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[i])return void p.warn("ignoring attaching to disabled format",i,t);if(null==u.default.query(i))return void p.warn("ignoring attaching to nonexistent format",i,t)}var n="SELECT"===t.tagName?"change":"click";t.addEventListener(n,function(n){var r=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var o=t.options[t.selectedIndex];r=!o.hasAttribute("selected")&&(o.value||!1)}else r=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),n.preventDefault();e.quill.focus();var a=e.quill.selection.getRange(),l=s(a,1)[0];if(null!=e.handlers[i])e.handlers[i].call(e,r);else if(u.default.query(i).prototype instanceof u.default.Embed){if(!(r=prompt("Enter "+i)))return;e.quill.updateContents((new c.default).retain(l.index).delete(l.length).insert(function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}({},i,r)),h.default.sources.USER)}else e.quill.format(i,r,h.default.sources.USER);e.update(l)}),this.controls.push([i,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach(function(i){var n=s(i,2),r=n[0],o=n[1];if("SELECT"===o.tagName){var a=void 0;if(null==t)a=null;else if(null==e[r])a=o.querySelector("option[selected]");else if(!Array.isArray(e[r])){var l=e[r];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),a=o.querySelector('option[value="'+l+'"]')}null==a?(o.value="",o.selectedIndex=-1):a.selected=!0}else if(null==t)o.classList.remove("ql-active");else if(o.hasAttribute("value")){var c=e[r]===o.getAttribute("value")||null!=e[r]&&e[r].toString()===o.getAttribute("value")||null==e[r]&&!o.getAttribute("value");o.classList.toggle("ql-active",c)}else o.classList.toggle("ql-active",null!=e[r])})}}]),e}();g.DEFAULTS={},g.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var i=this.quill.getFormat();Object.keys(i).forEach(function(e){null!=u.default.query(e,u.default.Scope.INLINE)&&t.quill.format(e,!1)})}else this.quill.removeFormat(e,h.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",h.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,h.default.sources.USER),this.quill.format("direction",t,h.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),i=this.quill.getFormat(e),n=parseInt(i.indent||0);if("+1"===t||"-1"===t){var r="+1"===t?1:-1;"rtl"===i.direction&&(r*=-1),this.quill.format("indent",n+r,h.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,h.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),i=this.quill.getFormat(e);"check"===t?"checked"===i.list||"unchecked"===i.list?this.quill.format("list",!1,h.default.sources.USER):this.quill.format("list","unchecked",h.default.sources.USER):this.quill.format("list",t,h.default.sources.USER)}}},e.default=g,e.addControls=a},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var s=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),c=n(i(2)),u=n(i(9)),h=i(44),d=n(h),f=i(22),p=n(i(26)),g=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],m=function(t){function e(t,i){r(this,e),null!=i.modules.toolbar&&null==i.modules.toolbar.container&&(i.modules.toolbar.container=g);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.quill.container.classList.add("ql-bubble"),n}return a(e,d.default),l(e,[{key:"extendToolbar",value:function(t){this.tooltip=new v(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),p.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),p.default)}}]),e}();m.DEFAULTS=(0,c.default)(!0,{},d.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var v=function(t){function e(t,i){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.quill.on(u.default.events.EDITOR_CHANGE,function(t,e,i,r){if(t===u.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&r===u.default.sources.USER){n.show(),n.root.style.left="0px",n.root.style.width="",n.root.style.width=n.root.offsetWidth+"px";var o=n.quill.getLines(e.index,e.length);if(1===o.length)n.position(n.quill.getBounds(e));else{var a=o[o.length-1],s=n.quill.getIndex(a),l=Math.min(a.length()-1,e.index+e.length-s),c=n.quill.getBounds(new f.Range(s,l));n.position(c)}}else document.activeElement!==n.textbox&&n.quill.hasFocus()&&n.hide()}),n}return a(e,h.BaseTooltip),l(e,[{key:"listen",value:function(){var t=this;s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){t.root.classList.remove("ql-editing")}),this.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var i=s(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),n=this.root.querySelector(".ql-tooltip-arrow");if(n.style.marginLeft="",0===i)return i;n.style.marginLeft=-1*i-n.offsetWidth/2+"px"}}]),e}();v.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=v,e.default=m},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(n=(a=s.next()).done)&&(i.push(a.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function t(e,i,n){null===e&&(e=Function.prototype);var r=Object.getOwnPropertyDescriptor(e,i);if(void 0===r){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,i,n)}if("value"in r)return r.value;var a=r.get;return void 0!==a?a.call(n):void 0},c=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),u=n(i(2)),h=n(i(9)),d=i(44),f=n(d),p=n(i(15)),g=i(22),m=n(i(26)),v=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],y=function(t){function e(t,i){r(this,e),null!=i.modules.toolbar&&null==i.modules.toolbar.container&&(i.modules.toolbar.container=v);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.quill.container.classList.add("ql-snow"),n}return a(e,f.default),c(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),m.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),m.default),this.tooltip=new b(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(e,i){t.handlers.link.call(t,!i.format.link)})}}]),e}();y.DEFAULTS=(0,u.default)(!0,{},f.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var i=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(i)&&0!==i.indexOf("mailto:")&&(i="mailto:"+i),this.quill.theme.tooltip.edit("link",i)}else this.quill.format("link",!1)}}}}});var b=function(t){function e(t,i){r(this,e);var n=o(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,i));return n.preview=n.root.querySelector("a.ql-preview"),n}return a(e,d.BaseTooltip),c(e,[{key:"listen",value:function(){var t=this;l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(e){if(null!=t.linkRange){var i=t.linkRange;t.restoreFocus(),t.quill.formatText(i,"link",!1,h.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()}),this.quill.on(h.default.events.SELECTION_CHANGE,function(e,i,n){if(null!=e){if(0===e.length&&n===h.default.sources.USER){var r=t.quill.scroll.descendant(p.default,e.index),o=s(r,2),a=o[0],l=o[1];if(null!=a){t.linkRange=new g.Range(e.index-l,a.length());var c=p.default.formats(a.domNode);return t.preview.textContent=c,t.preview.setAttribute("href",c),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}})}},{key:"show",value:function(){l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}();b.TEMPLATE=['<a class="ql-preview" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=y}]).default});var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function _possibleConstructorReturn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Emitter=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"on",value:function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this}},{key:"emit",value:function(t){this._callbacks=this._callbacks||{};var e=this._callbacks[t];if(e){for(var i=arguments.length,n=Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];for(var o=0,a=a=e;;){if(o>=a.length)break;a[o++].apply(this,n)}}return this}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var i=this._callbacks[t];if(!i)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var n=0;n<i.length;n++){if(i[n]===e){i.splice(n,1);break}}return this}}]),t}(),Dropzone=function(t){function e(t,i){_classCallCheck(this,e);var n,r=_possibleConstructorReturn(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),o=void 0;if(r.element=t,r.version=e.version,r.defaultOptions.previewTemplate=r.defaultOptions.previewTemplate.replace(/\n*/g,""),r.clickableElements=[],r.listeners=[],r.files=[],"string"==typeof r.element&&(r.element=document.querySelector(r.element)),!r.element||null==r.element.nodeType)throw new Error("Invalid dropzone element.");if(r.element.dropzone)throw new Error("Dropzone already attached.");e.instances.push(r),r.element.dropzone=r;var a,s=null!=(n=e.optionsForElement(r.element))?n:{};if(r.options=e.extend({},r.defaultOptions,s,null!=i?i:{}),r.options.forceFallback||!e.isBrowserSupported())return a=r.options.fallback.call(r),_possibleConstructorReturn(r,a);if(null==r.options.url&&(r.options.url=r.element.getAttribute("action")),!r.options.url)throw new Error("No URL provided.");if(r.options.acceptedFiles&&r.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(r.options.uploadMultiple&&r.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return r.options.acceptedMimeTypes&&(r.options.acceptedFiles=r.options.acceptedMimeTypes,delete r.options.acceptedMimeTypes),null!=r.options.renameFilename&&(r.options.renameFile=function(t){return r.options.renameFilename.call(r,t.name,t)}),r.options.method=r.options.method.toUpperCase(),(o=r.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),!1!==r.options.previewsContainer&&(r.options.previewsContainer?r.previewsContainer=e.getElement(r.options.previewsContainer,"previewsContainer"):r.previewsContainer=r.element),r.options.clickable&&(!0===r.options.clickable?r.clickableElements=[r.element]:r.clickableElements=e.getElements(r.options.clickable,"clickable")),r.init(),r}return _inherits(e,Emitter),_createClass(e,null,[{key:"initClass",value:function(){this.prototype.Emitter=Emitter,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(t,e,i){if(i)return{dzuuid:i.file.upload.uuid,dzchunkindex:i.index,dztotalfilesize:i.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:i.file.upload.totalChunkCount,dzchunkbyteoffset:i.index*this.options.chunkSize}},accept:function(t,e){return e()},chunksUploaded:function(t,e){e()},fallback:function(){var t=void 0;this.element.className=this.element.className+" dz-browser-not-supported";for(var i=0,n=n=this.element.getElementsByTagName("div");;){if(i>=n.length)break;var r=n[i++];if(/(^| )dz-message($| )/.test(r.className)){t=r,r.className="dz-message";break}}t||(t=e.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(t));var o=t.getElementsByTagName("span")[0];return o&&(null!=o.textContent?o.textContent=this.options.dictFallbackMessage:null!=o.innerText&&(o.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,i,n){var r={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},o=t.width/t.height;null==e&&null==i?(e=r.srcWidth,i=r.srcHeight):null==e?e=i*o:null==i&&(i=e/o);var a=(e=Math.min(e,r.srcWidth))/(i=Math.min(i,r.srcHeight));if(r.srcWidth>e||r.srcHeight>i)if("crop"===n)o>a?(r.srcHeight=t.height,r.srcWidth=r.srcHeight*a):(r.srcWidth=t.width,r.srcHeight=r.srcWidth/a);else{if("contain"!==n)throw new Error("Unknown resizeMethod '"+n+"'");o>a?i=e/o:e=i*o}return r.srcX=(t.width-r.srcWidth)/2,r.srcY=(t.height-r.srcHeight)/2,r.trgWidth=e,r.trgHeight=i,r},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>',drop:function(t){return this.element.classList.remove("dz-drag-hover")},dragstart:function(t){},dragend:function(t){return this.element.classList.remove("dz-drag-hover")},dragenter:function(t){return this.element.classList.add("dz-drag-hover")},dragover:function(t){return this.element.classList.add("dz-drag-hover")},dragleave:function(t){return this.element.classList.remove("dz-drag-hover")},paste:function(t){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var i=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=e.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-name]");;){if(n>=r.length)break;var o=r[n++];o.textContent=t.name}for(var a=0,s=s=t.previewElement.querySelectorAll("[data-dz-size]");!(a>=s.length);)(o=s[a++]).innerHTML=this.filesize(t.size);this.options.addRemoveLinks&&(t._removeLink=e.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),t.previewElement.appendChild(t._removeLink));for(var l=function(n){return n.preventDefault(),n.stopPropagation(),t.status===e.UPLOADING?e.confirm(i.options.dictCancelUploadConfirmation,function(){return i.removeFile(t)}):i.options.dictRemoveFileConfirmation?e.confirm(i.options.dictRemoveFileConfirmation,function(){return i.removeFile(t)}):i.removeFile(t)},c=0,u=u=t.previewElement.querySelectorAll("[data-dz-remove]");;){if(c>=u.length)break;u[c++].addEventListener("click",l)}}},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");for(var i=0,n=n=t.previewElement.querySelectorAll("[data-dz-thumbnail]");;){if(i>=n.length)break;var r=n[i++];r.alt=t.name,r.src=e}return setTimeout(function(){return t.previewElement.classList.add("dz-image-preview")},1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"String"!=typeof e&&e.error&&(e=e.error);for(var i=0,n=n=t.previewElement.querySelectorAll("[data-dz-errormessage]");;){if(i>=n.length)break;n[i++].textContent=e}}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e,i){if(t.previewElement)for(var n=0,r=r=t.previewElement.querySelectorAll("[data-dz-uploadprogress]");;){if(n>=r.length)break;var o=r[n++];"PROGRESS"===o.nodeName?o.value=e:o.style.width=e+"%"}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];for(var r=0,o=o=i;;){if(r>=o.length)break;var a=o[r++];for(var s in a){var l=a[s];t[s]=l}}return t}}]),_createClass(e,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(t){return t.accepted}).map(function(t){return t})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(t){return!t.accepted}).map(function(t){return t})}},{key:"getFilesWithStatus",value:function(t){return this.files.filter(function(e){return e.status===t}).map(function(t){return t})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(e.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(e.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(e.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(t){return t.status===e.UPLOADING||t.status===e.QUEUED}).map(function(t){return t})}},{key:"init",value:function(){var t=this;if("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(e.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length){!function i(){return t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",e.getElement(t.options.hiddenInputContainer,"hiddenInputContainer").appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",function(){var e=t.hiddenFileInput.files;if(e.length)for(var n=0,r=r=e;!(n>=r.length);){var o=r[n++];t.addFile(o)}return t.emit("addedfiles",e),i()})}()}this.URL=null!==window.URL?window.URL:window.webkitURL;for(var i=0,n=n=this.events;;){if(i>=n.length)break;var r=n[i++];this.on(r,this.options[r])}this.on("uploadprogress",function(){return t.updateTotalUploadProgress()}),this.on("removedfile",function(){return t.updateTotalUploadProgress()}),this.on("canceled",function(e){return t.emit("complete",e)}),this.on("complete",function(e){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout(function(){return t.emit("queuecomplete")},0)});var o=function(t){return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e)},dragenter:function(e){return o(e),t.emit("dragenter",e)},dragover:function(e){var i=void 0;try{i=e.dataTransfer.effectAllowed}catch(t){}return e.dataTransfer.dropEffect="move"===i||"linkMove"===i?"move":"copy",o(e),t.emit("dragover",e)},dragleave:function(e){return t.emit("dragleave",e)},drop:function(e){return o(e),t.drop(e)},dragend:function(e){return t.emit("dragend",e)}}}],this.clickableElements.forEach(function(i){return t.listeners.push({element:i,events:{click:function(n){return(i!==t.element||n.target===t.element||e.elementInside(n.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,e.instances.splice(e.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t=void 0,e=0,i=0;if(this.getActiveFiles().length){for(var n=0,r=r=this.getActiveFiles();;){if(n>=r.length)break;var o=r[n++];e+=o.upload.bytesSent,i+=o.upload.total}t=100*e/i}else t=100;return this.emit("totaluploadprogress",t,i,e)}},{key:"_getParamName",value:function(t){return"function"==typeof this.options.paramName?this.options.paramName(t):this.options.paramName+(this.options.uploadMultiple?"["+t+"]":"")}},{key:"_renameFile",value:function(t){return"function"!=typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,i=void 0;if(t=this.getExistingFallback())return t;var n='<div class="dz-fallback">';this.options.dictFallbackText&&(n+="<p>"+this.options.dictFallbackText+"</p>"),n+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>';var r=e.createElement(n);return"FORM"!==this.element.tagName?(i=e.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>')).appendChild(r):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=i?i:r}},{key:"getExistingFallback",value:function(){for(var t=function(t){for(var e=0,i=i=t;;){if(e>=i.length)break;var n=i[e++];if(/(^| )fallback($| )/.test(n.className))return n}},e=["div","form"],i=0;i<e.length;i++){var n,r=e[i];if(n=t(this.element.getElementsByTagName(r)))return n}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(t){return function(){var e=[];for(var i in t.events){var n=t.events[i];e.push(t.element.addEventListener(i,n,!1))}return e}()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(t){return function(){var e=[];for(var i in t.events){var n=t.events[i];e.push(t.element.removeEventListener(i,n,!1))}return e}()})}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach(function(t){return t.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(e){return t.cancelUpload(e)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(t){return t.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(t){var e=0,i="b";if(t>0){for(var n=["tb","gb","mb","kb","b"],r=0;r<n.length;r++){var o=n[r];if(t>=Math.pow(this.options.filesizeBase,4-r)/10){e=t/Math.pow(this.options.filesizeBase,4-r),i=o;break}}e=Math.round(10*e)/10}return"<strong>"+e+"</strong> "+this.options.dictFileSizeUnits[i]}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],i=0;i<t.dataTransfer.files.length;i++)e[i]=t.dataTransfer.files[i];if(this.emit("addedfiles",e),e.length){var n=t.dataTransfer.items;n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(e)}}}},{key:"paste",value:function(t){if(null!=__guard__(null!=t?t.clipboardData:void 0,function(t){return t.items})){this.emit("paste",t);var e=t.clipboardData.items;return e.length?this._addFilesFromItems(e):void 0}}},{key:"handleFiles",value:function(t){for(var e=0,i=i=t;;){if(e>=i.length)break;var n=i[e++];this.addFile(n)}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){for(var i=[],n=0,r=r=t;;){if(n>=r.length)break;var o,a=r[n++];null!=a.webkitGetAsEntry&&(o=a.webkitGetAsEntry())?o.isFile?i.push(e.addFile(a.getAsFile())):o.isDirectory?i.push(e._addFilesFromDirectory(o,o.name)):i.push(void 0):null!=a.getAsFile&&(null==a.kind||"file"===a.kind)?i.push(e.addFile(a.getAsFile())):i.push(void 0)}return i}()}},{key:"_addFilesFromDirectory",value:function(t,e){var i=this,n=t.createReader(),r=function(t){return __guardMethod__(console,"log",function(e){return e.log(t)})};return function t(){return n.readEntries(function(n){if(n.length>0){for(var r=0,o=o=n;!(r>=o.length);){var a=o[r++];a.isFile?a.file(function(t){if(!i.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath=e+"/"+t.name,i.addFile(t)}):a.isDirectory&&i._addFilesFromDirectory(a,e+"/"+a.name)}t()}return null},r)}()}},{key:"accept",value:function(t,i){return this.options.maxFilesize&&t.size>1024*this.options.maxFilesize*1024?i(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):e.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(i(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,i):i(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var i=this;return t.upload={uuid:e.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t),chunked:this.options.chunking&&(this.options.forceChunking||t.size>this.options.chunkSize),totalChunkCount:Math.ceil(t.size/this.options.chunkSize)},this.files.push(t),t.status=e.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,function(e){return e?(t.accepted=!1,i._errorProcessing([t],e)):(t.accepted=!0,i.options.autoQueue&&i.enqueueFile(t)),i._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(t){for(var e=0,i=i=t;;){if(e>=i.length)break;var n=i[e++];this.enqueueFile(n)}return null}},{key:"enqueueFile",value:function(t){var i=this;if(t.status!==e.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=e.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return i.processQueue()},0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout(function(){return e._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(i){return t.emit("thumbnail",e,i),t._processingThumbnail=!1,t._processThumbnailQueue()})}}},{key:"removeFile",value:function(t){if(t.status===e.UPLOADING&&this.cancelUpload(t),this.files=without(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(t){null==t&&(t=!1);for(var i=0,n=n=this.files.slice();;){if(i>=n.length)break;var r=n[i++];(r.status!==e.UPLOADING||t)&&this.removeFile(r)}return null}},{key:"resizeImage",value:function(t,i,n,r,o){var a=this;return this.createThumbnail(t,i,n,r,!0,function(i,n){if(null==n)return o(t);var r=a.options.resizeMimeType;null==r&&(r=t.type);var s=n.toDataURL(r,a.options.resizeQuality);return"image/jpeg"!==r&&"image/jpg"!==r||(s=ExifRestore.restore(t.dataURL,s)),o(e.dataURItoBlob(s))})}},{key:"createThumbnail",value:function(t,e,i,n,r,o){var a=this,s=new FileReader;return s.onload=function(){if(t.dataURL=s.result,"image/svg+xml"!==t.type)return a.createThumbnailFromUrl(t,e,i,n,r,o);null!=o&&o(s.result)},s.readAsDataURL(t)}},{key:"createThumbnailFromUrl",value:function(t,e,i,n,r,o,a){var s=this,l=document.createElement("img");return a&&(l.crossOrigin=a),l.onload=function(){var a=function(t){return t(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&r&&(a=function(t){return EXIF.getData(l,function(){return t(EXIF.getTag(this,"Orientation"))})}),a(function(r){t.width=l.width,t.height=l.height;var a=s.options.resize.call(s,t,e,i,n),c=document.createElement("canvas"),u=c.getContext("2d");switch(c.width=a.trgWidth,c.height=a.trgHeight,r>4&&(c.width=a.trgHeight,c.height=a.trgWidth),r){case 2:u.translate(c.width,0),u.scale(-1,1);break;case 3:u.translate(c.width,c.height),u.rotate(Math.PI);break;case 4:u.translate(0,c.height),u.scale(1,-1);break;case 5:u.rotate(.5*Math.PI),u.scale(1,-1);break;case 6:u.rotate(.5*Math.PI),u.translate(0,-c.width);break;case 7:u.rotate(.5*Math.PI),u.translate(c.height,-c.width),u.scale(-1,1);break;case 8:u.rotate(-.5*Math.PI),u.translate(-c.height,0)}drawImageIOSFix(u,l,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var h=c.toDataURL("image/png");if(null!=o)return o(h,c)})},null!=o&&(l.onerror=o),l.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,i=e;if(!(e>=t)){var n=this.getQueuedFiles();if(n.length>0){if(this.options.uploadMultiple)return this.processFiles(n.slice(0,t-e));for(;i<t;){if(!n.length)return;this.processFile(n.shift()),i++}}}}},{key:"processFile",value:function(t){return this.processFiles([t])}},{key:"processFiles",value:function(t){for(var i=0,n=n=t;;){if(i>=n.length)break;var r=n[i++];r.processing=!0,r.status=e.UPLOADING,this.emit("processing",r)}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter(function(e){return e.xhr===t}).map(function(t){return t})}},{key:"cancelUpload",value:function(t){if(t.status===e.UPLOADING){for(var i=this._getFilesWithXhr(t.xhr),n=0,r=r=i;;){if(n>=r.length)break;r[n++].status=e.CANCELED}void 0!==t.xhr&&t.xhr.abort();for(var o=0,a=a=i;;){if(o>=a.length)break;var s=a[o++];this.emit("canceled",s)}this.options.uploadMultiple&&this.emit("canceledmultiple",i)}else t.status!==e.ADDED&&t.status!==e.QUEUED||(t.status=e.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(t){if("function"==typeof t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return t.apply(this,i)}return t}},{key:"uploadFile",value:function(t){return this.uploadFiles([t])}},{key:"uploadFiles",value:function(t){var i=this;this._transformFiles(t,function(n){if(t[0].upload.chunked){var r=t[0],o=n[0];r.upload.chunks=[];var a=function(){for(var n=0;void 0!==r.upload.chunks[n];)n++;if(!(n>=r.upload.totalChunkCount)){0;var a=n*i.options.chunkSize,s=Math.min(a+i.options.chunkSize,r.size),l={name:i._getParamName(0),data:o.webkitSlice?o.webkitSlice(a,s):o.slice(a,s),filename:r.upload.filename,chunkIndex:n};r.upload.chunks[n]={file:r,index:n,dataBlock:l,status:e.UPLOADING,progress:0,retries:0},i._uploadData(t,[l])}};if(r.upload.finishedChunkUpload=function(n){var o=!0;n.status=e.SUCCESS,n.dataBlock=null,n.xhr=null;for(var s=0;s<r.upload.totalChunkCount;s++){if(void 0===r.upload.chunks[s])return a();r.upload.chunks[s].status!==e.SUCCESS&&(o=!1)}o&&i.options.chunksUploaded(r,function(){i._finished(t,"",null)})},i.options.parallelChunkUploads)for(var s=0;s<r.upload.totalChunkCount;s++)a();else a()}else{for(var l=[],c=0;c<t.length;c++)l[c]={name:i._getParamName(c),data:n[c],filename:t[c].upload.filename};i._uploadData(t,l)}})}},{key:"_getChunk",value:function(t,e){for(var i=0;i<t.upload.totalChunkCount;i++)if(void 0!==t.upload.chunks[i]&&t.upload.chunks[i].xhr===e)return t.upload.chunks[i]}},{key:"_uploadData",value:function(t,i){for(var n=this,r=new XMLHttpRequest,o=0,a=a=t;;){if(o>=a.length)break;a[o++].xhr=r}t[0].upload.chunked&&(t[0].upload.chunks[i[0].chunkIndex].xhr=r);var s=this.resolveOption(this.options.method,t),l=this.resolveOption(this.options.url,t);r.open(s,l,!0),r.timeout=this.resolveOption(this.options.timeout,t),r.withCredentials=!!this.options.withCredentials,r.onload=function(e){n._finishedUploading(t,r,e)},r.onerror=function(){n._handleUploadError(t,r)},(null!=r.upload?r.upload:r).onprogress=function(e){return n._updateFilesUploadProgress(t,r,e)};var c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var u in this.options.headers&&e.extend(c,this.options.headers),c){var h=c[u];h&&r.setRequestHeader(u,h)}var d=new FormData;if(this.options.params){var f=this.options.params;for(var p in"function"==typeof f&&(f=f.call(this,t,r,t[0].upload.chunked?this._getChunk(t[0],r):null)),f){var g=f[p];d.append(p,g)}}for(var m=0,v=v=t;;){if(m>=v.length)break;var y=v[m++];this.emit("sending",y,r,d)}this.options.uploadMultiple&&this.emit("sendingmultiple",t,r,d),this._addFormElementData(d);for(var b=0;b<i.length;b++){var L=i[b];d.append(L.name,L.data,L.filename)}this.submitRequest(r,d,t)}},{key:"_transformFiles",value:function(t,e){for(var i=this,n=[],r=0,o=function(o){i.options.transformFile.call(i,t[o],function(i){n[o]=i,++r===t.length&&e(n)})},a=0;a<t.length;a++)o(a)}},{key:"_addFormElementData",value:function(t){if("FORM"===this.element.tagName)for(var e=0,i=i=this.element.querySelectorAll("input, textarea, select, button");;){if(e>=i.length)break;var n=i[e++],r=n.getAttribute("name"),o=n.getAttribute("type");if(o&&(o=o.toLowerCase()),null!=r)if("SELECT"===n.tagName&&n.hasAttribute("multiple"))for(var a=0,s=s=n.options;;){if(a>=s.length)break;var l=s[a++];l.selected&&t.append(r,l.value)}else(!o||"checkbox"!==o&&"radio"!==o||n.checked)&&t.append(r,n.value)}}},{key:"_updateFilesUploadProgress",value:function(t,e,i){var n=void 0;if(void 0!==i){if(n=100*i.loaded/i.total,t[0].upload.chunked){var r=t[0],o=this._getChunk(r,e);o.progress=n,o.total=i.total,o.bytesSent=i.loaded;r.upload.progress=0,r.upload.total=0,r.upload.bytesSent=0;for(var a=0;a<r.upload.totalChunkCount;a++)void 0!==r.upload.chunks[a]&&void 0!==r.upload.chunks[a].progress&&(r.upload.progress+=r.upload.chunks[a].progress,r.upload.total+=r.upload.chunks[a].total,r.upload.bytesSent+=r.upload.chunks[a].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount}else for(var s=0,l=l=t;;){if(s>=l.length)break;var c=l[s++];c.upload.progress=n,c.upload.total=i.total,c.upload.bytesSent=i.loaded}for(var u=0,h=h=t;;){if(u>=h.length)break;var d=h[u++];this.emit("uploadprogress",d,d.upload.progress,d.upload.bytesSent)}}else{var f=!0;n=100;for(var p=0,g=g=t;;){if(p>=g.length)break;var m=g[p++];100===m.upload.progress&&m.upload.bytesSent===m.upload.total||(f=!1),m.upload.progress=n,m.upload.bytesSent=m.upload.total}if(f)return;for(var v=0,y=y=t;;){if(v>=y.length)break;var b=y[v++];this.emit("uploadprogress",b,n,b.upload.bytesSent)}}}},{key:"_finishedUploading",value:function(t,i,n){var r=void 0;if(t[0].status!==e.CANCELED&&4===i.readyState){if("arraybuffer"!==i.responseType&&"blob"!==i.responseType&&(r=i.responseText,i.getResponseHeader("content-type")&&~i.getResponseHeader("content-type").indexOf("application/json")))try{r=JSON.parse(r)}catch(t){n=t,r="Invalid JSON response from server."}this._updateFilesUploadProgress(t),200<=i.status&&i.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],i)):this._finished(t,r,n):this._handleUploadError(t,i,r)}}},{key:"_handleUploadError",value:function(t,i,n){if(t[0].status!==e.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var r=this._getChunk(t[0],i);if(r.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[r.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}for(var o=0,a=a=t;;){if(o>=a.length)break;a[o++];this._errorProcessing(t,n||this.options.dictResponseError.replace("{{statusCode}}",i.status),i)}}}},{key:"submitRequest",value:function(t,e,i){t.send(e)}},{key:"_finished",value:function(t,i,n){for(var r=0,o=o=t;;){if(r>=o.length)break;var a=o[r++];a.status=e.SUCCESS,this.emit("success",a,i,n),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,i,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,i,n){for(var r=0,o=o=t;;){if(r>=o.length)break;var a=o[r++];a.status=e.ERROR,this.emit("error",a,i,n),this.emit("complete",a)}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,i,n),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)})}}]),e}();Dropzone.initClass(),Dropzone.version="5.5.1",Dropzone.options={},Dropzone.optionsForElement=function(t){return t.getAttribute("id")?Dropzone.options[camelize(t.getAttribute("id"))]:void 0},Dropzone.instances=[],Dropzone.forElement=function(t){if("string"==typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},Dropzone.autoDiscover=!0,Dropzone.discover=function(){var t=void 0;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){for(var i=[],n=0,r=r=e;;){if(n>=r.length)break;var o=r[n++];/(^| )dropzone($| )/.test(o.className)?i.push(t.push(o)):i.push(void 0)}return i}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){for(var e=[],i=0,n=n=t;;){if(i>=n.length)break;var r=n[i++];!1!==Dropzone.optionsForElement(r)?e.push(new Dropzone(r)):e.push(void 0)}return e}()},Dropzone.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],Dropzone.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(var e=0,i=i=Dropzone.blacklistedBrowsers;;){if(e>=i.length)break;i[e++].test(navigator.userAgent)&&(t=!1)}else t=!1;else t=!1;return t},Dropzone.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),i=t.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(e.length),r=new Uint8Array(n),o=0,a=e.length,s=0<=a;s?o<=a:o>=a;s?o++:o--)r[o]=e.charCodeAt(o);return new Blob([n],{type:i})};var without=function(t,e){return t.filter(function(t){return t!==e}).map(function(t){return t})},camelize=function(t){return t.replace(/[\-_](\w)/g,function(t){return t.charAt(1).toUpperCase()})};Dropzone.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},Dropzone.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},Dropzone.getElement=function(t,e){var i=void 0;if("string"==typeof t?i=document.querySelector(t):null!=t.nodeType&&(i=t),null==i)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector or a plain HTML element.");return i},Dropzone.getElements=function(t,e){var i=void 0,n=void 0;if(t instanceof Array){n=[];try{for(var r=0,o=o=t;!(r>=o.length);)i=o[r++],n.push(this.getElement(i,e))}catch(t){n=null}}else if("string"==typeof t){n=[];for(var a=0,s=s=document.querySelectorAll(t);!(a>=s.length);)i=s[a++],n.push(i)}else null!=t.nodeType&&(n=[t]);if(null==n||!n.length)throw new Error("Invalid `"+e+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return n},Dropzone.confirm=function(t,e,i){return window.confirm(t)?e():null!=i?i():void 0},Dropzone.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");for(var i=t.type,n=i.replace(/\/.*$/,""),r=0,o=o=e;;){if(r>=o.length)break;var a=o[r++];if("."===(a=a.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(a.toLowerCase(),t.name.length-a.length))return!0}else if(/\/\*$/.test(a)){if(n===a.replace(/\/.*$/,""))return!0}else if(i===a)return!0}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new Dropzone(this,t)})}),"undefined"!=typeof module&&null!==module?module.exports=Dropzone:window.Dropzone=Dropzone,Dropzone.ADDED="added",Dropzone.QUEUED="queued",Dropzone.ACCEPTED=Dropzone.QUEUED,Dropzone.UPLOADING="uploading",Dropzone.PROCESSING=Dropzone.UPLOADING,Dropzone.CANCELED="canceled",Dropzone.ERROR="error",Dropzone.SUCCESS="success";var detectVerticalSquash=function(t){t.naturalWidth;var e=t.naturalHeight,i=document.createElement("canvas");i.width=1,i.height=e;var n=i.getContext("2d");n.drawImage(t,0,0);for(var r=n.getImageData(1,0,1,e).data,o=0,a=e,s=e;s>o;){0===r[4*(s-1)+3]?a=s:o=s,s=a+o>>1}var l=s/e;return 0===l?1:l},drawImageIOSFix=function(t,e,i,n,r,o,a,s,l,c){var u=detectVerticalSquash(e);return t.drawImage(e,i,n,r,o,a,s,l,c/u)},ExifRestore=function(){function t(){_classCallCheck(this,t)}return _createClass(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",i=void 0,n=void 0,r="",o=void 0,a=void 0,s=void 0,l="",c=0;o=(i=t[c++])>>2,a=(3&i)<<4|(n=t[c++])>>4,s=(15&n)<<2|(r=t[c++])>>6,l=63&r,isNaN(n)?s=l=64:isNaN(r)&&(l=64),e=e+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(l),i=n=r="",o=a=s=l="",c<t.length;);return e}},{key:"restore",value:function(t,e){if(!t.match("data:image/jpeg;base64,"))return e;var i=this.decode64(t.replace("data:image/jpeg;base64,","")),n=this.slice2Segments(i),r=this.exifManipulation(e,n);return"data:image/jpeg;base64,"+this.encode64(r)}},{key:"exifManipulation",value:function(t,e){var i=this.getExifArray(e),n=this.insertExif(t,i);return new Uint8Array(n)}},{key:"getExifArray",value:function(t){for(var e=void 0,i=0;i<t.length;){if(255===(e=t[i])[0]&225===e[1])return e;i++}return[]}},{key:"insertExif",value:function(t,e){var i=t.replace("data:image/jpeg;base64,",""),n=this.decode64(i),r=n.indexOf(255,3),o=n.slice(0,r),a=n.slice(r),s=o;return s=(s=s.concat(e)).concat(a)}},{key:"slice2Segments",value:function(t){for(var e=0,i=[];;){if(255===t[e]&218===t[e+1])break;if(255===t[e]&216===t[e+1])e+=2;else{var n=e+(256*t[e+2]+t[e+3])+2,r=t.slice(e,n);i.push(r),e=n}if(e>t.length)break}return i}},{key:"decode64",value:function(t){var e=void 0,i=void 0,n="",r=void 0,o=void 0,a="",s=0,l=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");e=this.KEY_STR.indexOf(t.charAt(s++))<<2|(r=this.KEY_STR.indexOf(t.charAt(s++)))>>4,i=(15&r)<<4|(o=this.KEY_STR.indexOf(t.charAt(s++)))>>2,n=(3&o)<<6|(a=this.KEY_STR.indexOf(t.charAt(s++))),l.push(e),64!==o&&l.push(i),64!==a&&l.push(n),e=i=n="",r=o=a="",s<t.length;);return l}}]),t}();ExifRestore.initClass();var contentLoaded=function(t,e){var i=!1,n=!0,r=t.document,o=r.documentElement,a=r.addEventListener?"addEventListener":"attachEvent",s=r.addEventListener?"removeEventListener":"detachEvent",l=r.addEventListener?"":"on",c=function n(o){if("readystatechange"!==o.type||"complete"===r.readyState)return("load"===o.type?t:r)[s](l+o.type,n,!1),!i&&(i=!0)?e.call(t,o.type||o):void 0};if("complete"!==r.readyState){if(r.createEventObject&&o.doScroll){try{n=!t.frameElement}catch(t){}n&&function t(){try{o.doScroll("left")}catch(e){return void setTimeout(t,50)}return c("poll")}()}return r[a](l+"DOMContentLoaded",c,!1),r[a](l+"readystatechange",c,!1),t[a](l+"load",c,!1)}};function __guard__(t,e){return null!=t?e(t):void 0}function __guardMethod__(t,e,i){return null!=t&&"function"==typeof t[e]?i(t,e):void 0}Dropzone._autoDiscoverFunction=function(){if(Dropzone.autoDiscover)return Dropzone.discover()},contentLoaded(window,Dropzone._autoDiscoverFunction),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i),i}:t(jQuery)}(function(t){var e="bootstrapDualListbox",i={filterTextClear:"show all",filterPlaceHolder:"Filter",moveSelectedLabel:"Move selected",moveAllLabel:"Move all",removeSelectedLabel:"Remove selected",removeAllLabel:"Remove all",moveOnSelect:!0,moveOnDoubleClick:!0,preserveSelectionOnMove:!1,selectedListLabel:!1,nonSelectedListLabel:!1,helperSelectNamePostfix:"_helper",selectorMinimalHeight:100,showFilterInputs:!0,nonSelectedFilter:"",selectedFilter:"",infoText:"Showing all {0}",infoTextFiltered:'<span class="badge badge-warning">Filtered</span> {0} from {1}',infoTextEmpty:"Empty list",filterOnValues:!1,sortByInputOrder:!1,eventMoveOverride:!1,eventMoveAllOverride:!1,eventRemoveOverride:!1,eventRemoveAllOverride:!1,btnClass:"btn-outline-secondary",btnMoveText:"&gt;",btnRemoveText:"&lt;",btnMoveAllText:"&gt;&gt;",btnRemoveAllText:"&lt;&lt;"},n=/android/i.test(navigator.userAgent.toLowerCase());function r(n,r){this.element=t(n),this.settings=t.extend({},i,r),this._defaults=i,this._name=e,this.init()}function o(t){t.element.trigger("change")}function a(e){e.element.find("option").each(function(i,n){var r=t(n);void 0===r.data("original-index")&&r.data("original-index",e.elementCount++),void 0===r.data("_selected")&&r.data("_selected",!1)})}function s(e,i,n){e.element.find("option").each(function(r,o){var a=t(o);a.data("original-index")===i&&(a.prop("selected",n),n?(a.attr("data-sortindex",e.sortIndex),e.sortIndex++):a.removeAttr("data-sortindex"))})}function l(t,e){return console.log(t,e),t.replace(/{(\d+)}/g,function(t,i){return void 0!==e[i]?e[i]:t})}function c(t){if(t.settings.infoText){var e=t.elements.select1.find("option").length,i=t.elements.select2.find("option").length,n=t.element.find("option").length-t.selectedElements,r=t.selectedElements,o="";o=0===n?t.settings.infoTextEmpty:l(e===n?t.settings.infoText:t.settings.infoTextFiltered,[e,n]),t.elements.info1.html(o),t.elements.box1.toggleClass("filtered",!(e===n||0===n)),o=0===r?t.settings.infoTextEmpty:l(i===r?t.settings.infoText:t.settings.infoTextFiltered,[i,r]),t.elements.info2.html(o),t.elements.box2.toggleClass("filtered",!(i===r||0===r))}}function u(e){e.selectedElements=0,e.elements.select1.empty(),e.elements.select2.empty(),e.element.find("option").each(function(i,n){var r=t(n);r.prop("selected")?(e.selectedElements++,e.elements.select2.append(r.clone(!0).prop("selected",r.data("_selected")))):e.elements.select1.append(r.clone(!0).prop("selected",r.data("_selected")))}),e.settings.showFilterInputs&&(h(e,1),h(e,2)),c(e)}function h(e,i){if(e.settings.showFilterInputs){d(e,i),e.elements["select"+i].empty().scrollTop(0);var n,r=e.element.find("option"),o=e.element;o=1===i?r.not(":selected"):o.find("option:selected");try{n=new RegExp(t.trim(e.elements["filterInput"+i].val()),"gi")}catch(o){n=new RegExp("/a^/","gi")}o.each(function(o,a){var s=t(a),l=!0;(a.text.match(n)||e.settings.filterOnValues&&s.attr("value").match(n))&&(l=!1,e.elements["select"+i].append(s.clone(!0).prop("selected",s.data("_selected")))),r.eq(s.data("original-index")).data("filtered"+i,l)}),c(e)}}function d(e,i){var n=e.element.find("option");e.elements["select"+i].find("option").each(function(e,i){var r=t(i);n.eq(r.data("original-index")).data("_selected",r.prop("selected"))})}function f(t){var e=t.children("option");e.sort(function(t,e){var i=parseInt(t.getAttribute("data-sortindex")),n=parseInt(e.getAttribute("data-sortindex"));return n<i?1:i<n?-1:0}),e.detach().appendTo(t)}function p(e){e.find("option").sort(function(e,i){return t(e).data("original-index")>t(i).data("original-index")?1:-1}).appendTo(e)}function g(e){"all"!==e.settings.preserveSelectionOnMove||e.settings.moveOnSelect?"moved"!==e.settings.preserveSelectionOnMove||e.settings.moveOnSelect||d(e,1):(d(e,1),d(e,2)),e.elements.select1.find("option:selected").each(function(i,n){var r=t(n);r.data("filtered1")||s(e,r.data("original-index"),!0)}),u(e),o(e),e.settings.sortByInputOrder?f(e.elements.select2):p(e.elements.select2)}function m(e){"all"!==e.settings.preserveSelectionOnMove||e.settings.moveOnSelect?"moved"!==e.settings.preserveSelectionOnMove||e.settings.moveOnSelect||d(e,2):(d(e,1),d(e,2)),e.elements.select2.find("option:selected").each(function(i,n){var r=t(n);r.data("filtered2")||s(e,r.data("original-index"),!1)}),u(e),o(e),p(e.elements.select1),e.settings.sortByInputOrder&&f(e.elements.select2)}function v(e){e.elements.form.submit(function(t){e.elements.filterInput1.is(":focus")?(t.preventDefault(),e.elements.filterInput1.focusout()):e.elements.filterInput2.is(":focus")&&(t.preventDefault(),e.elements.filterInput2.focusout())}),e.element.on("bootstrapDualListbox.refresh",function(t,i){e.refresh(i)}),e.elements.filterClear1.on("click",function(){e.setNonSelectedFilter("",!0)}),e.elements.filterClear2.on("click",function(){e.setSelectedFilter("",!0)}),!1===e.settings.eventMoveOverride&&e.elements.moveButton.on("click",function(){g(e)}),!1===e.settings.eventMoveAllOverride&&e.elements.moveAllButton.on("click",function(){var i;"all"!==(i=e).settings.preserveSelectionOnMove||i.settings.moveOnSelect?"moved"!==i.settings.preserveSelectionOnMove||i.settings.moveOnSelect||d(i,1):(d(i,1),d(i,2)),i.element.find("option").each(function(e,n){var r=t(n);r.data("filtered1")||(r.prop("selected",!0),r.attr("data-sortindex",i.sortIndex),i.sortIndex++)}),u(i),o(i)}),!1===e.settings.eventRemoveOverride&&e.elements.removeButton.on("click",function(){m(e)}),!1===e.settings.eventRemoveAllOverride&&e.elements.removeAllButton.on("click",function(){var i;"all"!==(i=e).settings.preserveSelectionOnMove||i.settings.moveOnSelect?"moved"!==i.settings.preserveSelectionOnMove||i.settings.moveOnSelect||d(i,2):(d(i,1),d(i,2)),i.element.find("option").each(function(e,i){var n=t(i);n.data("filtered2")||(n.prop("selected",!1),n.removeAttr("data-sortindex"))}),u(i),o(i)}),e.elements.filterInput1.on("change keyup",function(){h(e,1)}),e.elements.filterInput2.on("change keyup",function(){h(e,2)})}r.prototype={init:function(){this.container=t('<div class="bootstrap-duallistbox-container row"> <div class="box1 col-md-6"> <label></label> <span class="info-container"> <span class="info"></span> <button type="button" class="btn btn-sm clear1" style="float:right!important;"></button> </span> <input class="form-control filter" type="text"> <div class="btn-group buttons"> <button type="button" class="btn moveall"></button> <button type="button" class="btn move"></button> </div> <select multiple="multiple"></select> </div> <div class="box2 col-md-6"> <label></label> <span class="info-container"> <span class="info"></span> <button type="button" class="btn btn-sm clear2" style="float:right!important;"></button> </span> <input class="form-control filter" type="text"> <div class="btn-group buttons"> <button type="button" class="btn remove"></button> <button type="button" class="btn removeall"></button> </div> <select multiple="multiple"></select> </div></div>').insertBefore(this.element),this.elements={originalSelect:this.element,box1:t(".box1",this.container),box2:t(".box2",this.container),filterInput1:t(".box1 .filter",this.container),filterInput2:t(".box2 .filter",this.container),filterClear1:t(".box1 .clear1",this.container),filterClear2:t(".box2 .clear2",this.container),label1:t(".box1 > label",this.container),label2:t(".box2 > label",this.container),info1:t(".box1 .info",this.container),info2:t(".box2 .info",this.container),select1:t(".box1 select",this.container),select2:t(".box2 select",this.container),moveButton:t(".box1 .move",this.container),removeButton:t(".box2 .remove",this.container),moveAllButton:t(".box1 .moveall",this.container),removeAllButton:t(".box2 .removeall",this.container),form:t(t(".box1 .filter",this.container)[0].form)},this.originalSelectName=this.element.attr("name")||"";var e="bootstrap-duallistbox-nonselected-list_"+this.originalSelectName,i="bootstrap-duallistbox-selected-list_"+this.originalSelectName;return this.elements.select1.attr("id",e),this.elements.select2.attr("id",i),this.elements.label1.attr("for",e),this.elements.label2.attr("for",i),this.selectedElements=0,this.sortIndex=0,this.elementCount=0,this.setFilterTextClear(this.settings.filterTextClear),this.setFilterPlaceHolder(this.settings.filterPlaceHolder),this.setMoveSelectedLabel(this.settings.moveSelectedLabel),this.setMoveAllLabel(this.settings.moveAllLabel),this.setRemoveSelectedLabel(this.settings.removeSelectedLabel),this.setRemoveAllLabel(this.settings.removeAllLabel),this.setMoveOnSelect(this.settings.moveOnSelect),this.setMoveOnDoubleClick(this.settings.moveOnDoubleClick),this.setPreserveSelectionOnMove(this.settings.preserveSelectionOnMove),this.setSelectedListLabel(this.settings.selectedListLabel),this.setNonSelectedListLabel(this.settings.nonSelectedListLabel),this.setHelperSelectNamePostfix(this.settings.helperSelectNamePostfix),this.setSelectOrMinimalHeight(this.settings.selectorMinimalHeight),a(this),this.setShowFilterInputs(this.settings.showFilterInputs),this.setNonSelectedFilter(this.settings.nonSelectedFilter),this.setSelectedFilter(this.settings.selectedFilter),this.setInfoText(this.settings.infoText),this.setInfoTextFiltered(this.settings.infoTextFiltered),this.setInfoTextEmpty(this.settings.infoTextEmpty),this.setFilterOnValues(this.settings.filterOnValues),this.setSortByInputOrder(this.settings.sortByInputOrder),this.setEventMoveOverride(this.settings.eventMoveOverride),this.setEventMoveAllOverride(this.settings.eventMoveAllOverride),this.setEventRemoveOverride(this.settings.eventRemoveOverride),this.setEventRemoveAllOverride(this.settings.eventRemoveAllOverride),this.setBtnClass(this.settings.btnClass),this.setBtnMoveText(this.settings.btnMoveText),this.setBtnRemoveText(this.settings.btnRemoveText),this.setBtnMoveAllText(this.settings.btnMoveAllText),this.setBtnRemoveAllText(this.settings.btnRemoveAllText),this.element.hide(),v(this),u(this),this.element},setFilterTextClear:function(t,e){return this.settings.filterTextClear=t,this.elements.filterClear1.html(t),this.elements.filterClear2.html(t),e&&u(this),this.element},setFilterPlaceHolder:function(t,e){return this.settings.filterPlaceHolder=t,this.elements.filterInput1.attr("placeholder",t),this.elements.filterInput2.attr("placeholder",t),e&&u(this),this.element},setMoveSelectedLabel:function(t,e){return this.settings.moveSelectedLabel=t,this.elements.moveButton.attr("title",t),e&&u(this),this.element},setMoveAllLabel:function(t,e){return this.settings.moveAllLabel=t,this.elements.moveAllButton.attr("title",t),e&&u(this),this.element},setRemoveSelectedLabel:function(t,e){return this.settings.removeSelectedLabel=t,this.elements.removeButton.attr("title",t),e&&u(this),this.element},setRemoveAllLabel:function(t,e){return this.settings.removeAllLabel=t,this.elements.removeAllButton.attr("title",t),e&&u(this),this.element},setMoveOnSelect:function(t,e){if(n&&(t=!0),this.settings.moveOnSelect=t,this.settings.moveOnSelect){this.container.addClass("moveonselect");var i=this;this.elements.select1.on("change",function(){g(i)}),this.elements.select2.on("change",function(){m(i)}),this.elements.moveButton.detach(),this.elements.removeButton.detach()}else this.container.removeClass("moveonselect"),this.elements.select1.off("change"),this.elements.select2.off("change"),this.elements.moveButton.insertAfter(this.elements.moveAllButton),this.elements.removeButton.insertBefore(this.elements.removeAllButton);return e&&u(this),this.element},setMoveOnDoubleClick:function(t,e){if(n&&(t=!1),this.settings.moveOnDoubleClick=t,this.settings.moveOnDoubleClick){this.container.addClass("moveondoubleclick");var i=this;this.elements.select1.on("dblclick",function(){g(i)}),this.elements.select2.on("dblclick",function(){m(i)})}else this.container.removeClass("moveondoubleclick"),this.elements.select1.off("dblclick"),this.elements.select2.off("dblclick");return e&&u(this),this.element},setPreserveSelectionOnMove:function(t,e){return n&&(t=!1),this.settings.preserveSelectionOnMove=t,e&&u(this),this.element},setSelectedListLabel:function(t,e){return(this.settings.selectedListLabel=t)?this.elements.label2.show().html(t):this.elements.label2.hide().html(t),e&&u(this),this.element},setNonSelectedListLabel:function(t,e){return(this.settings.nonSelectedListLabel=t)?this.elements.label1.show().html(t):this.elements.label1.hide().html(t),e&&u(this),this.element},setHelperSelectNamePostfix:function(t,e){return(this.settings.helperSelectNamePostfix=t)?(this.elements.select1.attr("name",this.originalSelectName+t+"1"),this.elements.select2.attr("name",this.originalSelectName+t+"2")):(this.elements.select1.removeAttr("name"),this.elements.select2.removeAttr("name")),e&&u(this),this.element},setSelectOrMinimalHeight:function(t,e){this.settings.selectorMinimalHeight=t;var i=this.element.height();return this.element.height()<t&&(i=t),this.elements.select1.height(i),this.elements.select2.height(i),e&&u(this),this.element},setShowFilterInputs:function(t,e){return t?(this.elements.filterInput1.show(),this.elements.filterInput2.show()):(this.setNonSelectedFilter(""),this.setSelectedFilter(""),u(this),this.elements.filterInput1.hide(),this.elements.filterInput2.hide()),this.settings.showFilterInputs=t,e&&u(this),this.element},setNonSelectedFilter:function(t,e){if(this.settings.showFilterInputs)return this.settings.nonSelectedFilter=t,this.elements.filterInput1.val(t),e&&u(this),this.element},setSelectedFilter:function(t,e){if(this.settings.showFilterInputs)return this.settings.selectedFilter=t,this.elements.filterInput2.val(t),e&&u(this),this.element},setInfoText:function(t,e){return(this.settings.infoText=t)?(this.elements.info1.show(),this.elements.info2.show()):(this.elements.info1.hide(),this.elements.info2.hide()),e&&u(this),this.element},setInfoTextFiltered:function(t,e){return this.settings.infoTextFiltered=t,e&&u(this),this.element},setInfoTextEmpty:function(t,e){return this.settings.infoTextEmpty=t,e&&u(this),this.element},setFilterOnValues:function(t,e){return this.settings.filterOnValues=t,e&&u(this),this.element},setSortByInputOrder:function(t,e){return this.settings.sortByInputOrder=t,e&&u(this),this.element},setEventMoveOverride:function(t,e){return this.settings.eventMoveOverride=t,e&&u(this),this.element},setEventMoveAllOverride:function(t,e){return this.settings.eventMoveAllOverride=t,e&&u(this),this.element},setEventRemoveOverride:function(t,e){return this.settings.eventRemoveOverride=t,e&&u(this),this.element},setEventRemoveAllOverride:function(t,e){return this.settings.eventRemoveAllOverride=t,e&&u(this),this.element},setBtnClass:function(t,e){return this.settings.btnClass=t,this.elements.moveButton.attr("class","btn move").addClass(t),this.elements.removeButton.attr("class","btn remove").addClass(t),this.elements.moveAllButton.attr("class","btn moveall").addClass(t),this.elements.removeAllButton.attr("class","btn removeall").addClass(t),e&&u(this),this.element},setBtnMoveText:function(t,e){return this.settings.btnMoveText=t,this.elements.moveButton.html(t),e&&u(this),this.element},setBtnRemoveText:function(t,e){return this.settings.btnMoveText=t,this.elements.removeButton.html(t),e&&u(this),this.element},setBtnMoveAllText:function(t,e){return this.settings.btnMoveText=t,this.elements.moveAllButton.html(t),e&&u(this),this.element},setBtnRemoveAllText:function(t,e){return this.settings.btnMoveText=t,this.elements.removeAllButton.html(t),e&&u(this),this.element},getContainer:function(){return this.container},refresh:function(t){var e;a(this),t?(e=this).elements.select1.find("option").each(function(){e.element.find("option").data("_selected",!1)}):(d(this,1),d(this,2)),u(this)},destroy:function(){return this.container.remove(),this.element.show(),t.data(this,"plugin_"+e,null),this.element}},t.fn[e]=function(i){var n,o=arguments;return void 0===i||"object"==typeof i?this.each(function(){t(this).is("select")?t.data(this,"plugin_"+e)||t.data(this,"plugin_"+e,new r(this,i)):t(this).find("select").each(function(e,n){t(n).bootstrapDualListbox(i)})}):"string"==typeof i&&"_"!==i[0]&&"init"!==i?(this.each(function(){var a=t.data(this,"plugin_"+e);a instanceof r&&"function"==typeof a[i]&&(n=a[i].apply(a,Array.prototype.slice.call(o,1)))}),void 0!==n?n:this):void 0}}),function(t,e,i,n){function r(e,r){this.w=t(i),this.el=t(e),(r=r||s).rootClass!==n&&"dd"!==r.rootClass&&(r.listClass=r.listClass?r.listClass:r.rootClass+"-list",r.itemClass=r.itemClass?r.itemClass:r.rootClass+"-item",r.dragClass=r.dragClass?r.dragClass:r.rootClass+"-dragel",r.handleClass=r.handleClass?r.handleClass:r.rootClass+"-handle",r.collapsedClass=r.collapsedClass?r.collapsedClass:r.rootClass+"-collapsed",r.placeClass=r.placeClass?r.placeClass:r.rootClass+"-placeholder",r.noDragClass=r.noDragClass?r.noDragClass:r.rootClass+"-nodrag",r.noChildrenClass=r.noChildrenClass?r.noChildrenClass:r.rootClass+"-nochildren",r.emptyClass=r.emptyClass?r.emptyClass:r.rootClass+"-empty"),this.options=t.extend({},s,r),this.options.json!==n&&this._build(),this.init()}var o="ontouchstart"in i,a=function(){var t=i.createElement("div"),n=i.documentElement;if(!("pointerEvents"in t.style))return!1;t.style.pointerEvents="auto",t.style.pointerEvents="x",n.appendChild(t);var r=e.getComputedStyle&&"auto"===e.getComputedStyle(t,"").pointerEvents;return n.removeChild(t),!!r}(),s={contentCallback:function(t){return t.content?t.content:t.id},listNodeName:"ol",itemNodeName:"li",handleNodeName:"div",contentNodeName:"span",rootClass:"dd",listClass:"dd-list",itemClass:"dd-item",dragClass:"dd-dragel",handleClass:"dd-handle",contentClass:"dd-content",collapsedClass:"dd-collapsed",placeClass:"dd-placeholder",noDragClass:"dd-nodrag",noChildrenClass:"dd-nochildren",emptyClass:"dd-empty",expandBtnHTML:'<button class="dd-expand" data-action="expand" type="button">Expand</button>',collapseBtnHTML:'<button class="dd-collapse" data-action="collapse" type="button">Collapse</button>',group:0,maxDepth:5,threshold:20,fixedDepth:!1,fixed:!1,includeContent:!1,scroll:!1,scrollSensitivity:1,scrollSpeed:5,scrollTriggers:{top:40,left:40,right:-40,bottom:-40},effect:{animation:"none",time:"slow"},callback:function(t,e,i){},onDragStart:function(t,e,i){},beforeDragStop:function(t,e,i){},listRenderer:function(t,e){var i="<"+e.listNodeName+' class="'+e.listClass+'">';return(i+=t)+"</"+e.listNodeName+">"},itemRenderer:function(e,i,n,r,o){var a=t.map(e,function(t,e){return" "+e+'="'+t+'"'}).join(" "),s="<"+r.itemNodeName+a+">";return s+="<"+r.handleNodeName+' class="'+r.handleClass+'">',s+="<"+r.contentNodeName+' class="'+r.contentClass+'">',s+=i,s+="</"+r.contentNodeName+">",s+="</"+r.handleNodeName+">",(s+=n)+"</"+r.itemNodeName+">"}};r.prototype={init:function(){var i=this;i.reset(),i.el.data("nestable-group",this.options.group),i.placeEl=t('<div class="'+i.options.placeClass+'"/>');var n=this.el.find(i.options.itemNodeName);t.each(n,function(e,n){var r=t(n),o=r.parent();i.setParent(r),o.hasClass(i.options.collapsedClass)&&i.collapseItem(o.parent())}),n.length||this.appendEmptyElement(this.el),i.el.on("click","button",function(e){if(!i.dragEl){var n=t(e.currentTarget),r=n.data("action"),o=n.parents(i.options.itemNodeName).eq(0);"collapse"===r&&i.collapseItem(o),"expand"===r&&i.expandItem(o)}});var r=function(e){var n=t(e.target);if(!n.hasClass(i.options.handleClass)){if(n.closest("."+i.options.noDragClass).length)return;n=n.closest("."+i.options.handleClass)}n.length&&!i.dragEl&&(i.isTouch=/^touch/.test(e.type),i.isTouch&&1!==e.touches.length||(e.preventDefault(),i.dragStart(e.touches?e.touches[0]:e)))},a=function(t){i.dragEl&&(t.preventDefault(),i.dragMove(t.touches?t.touches[0]:t))},s=function(t){i.dragEl&&(t.preventDefault(),i.dragStop(t.touches?t.changedTouches[0]:t))};o&&(i.el[0].addEventListener("touchstart",r,!1),e.addEventListener("touchmove",a,!1),e.addEventListener("touchend",s,!1),e.addEventListener("touchcancel",s,!1)),i.el.on("mousedown",r),i.w.on("mousemove",a),i.w.on("mouseup",s),i.el.bind("destroy-nestable",function(){o&&(i.el[0].removeEventListener("touchstart",r,!1),e.removeEventListener("touchmove",a,!1),e.removeEventListener("touchend",s,!1),e.removeEventListener("touchcancel",s,!1)),i.el.off("mousedown",r),i.w.off("mousemove",a),i.w.off("mouseup",s),i.el.off("click"),i.el.unbind("destroy-nestable"),i.el.data("nestable",null)})},destroy:function(){this.el.trigger("destroy-nestable")},add:function(e){var i="."+this.options.listClass,r=t(this.el).children(i);e.parent_id!==n&&(r=r.find('[data-id="'+e.parent_id+'"]'),delete e.parent_id,0===r.children(i).length&&(r=r.append(this.options.listRenderer("",this.options))),r=r.find(i+":first"),this.setParent(r.parent())),r.append(this._buildItem(e,this.options))},replace:function(t){var e=this._buildItem(t,this.options);this._getItemById(t.id).replaceWith(e)},removeItem:function(e){var i=this.options,n=this.el;(e=e||this).remove();var r="."+i.listClass+" ."+i.listClass+":not(:has(*))";t(n).find(r).remove(),t(n).find('[data-action="expand"], [data-action="collapse"]').each(function(){0===t(this).siblings("."+i.listClass).length&&t(this).remove()})},remove:function(t,e){var i=this.options,n=this,r=this._getItemById(t),o=i.effect.animation||"fade",a=i.effect.time||"slow";"fade"===o?r.fadeOut(a,function(){n.removeItem(r)}):this.removeItem(r),e&&e()},removeAll:function(e){function i(){a.each(function(){n.removeItem(t(this))}),o.show(),e&&e()}var n=this,r=this.options,o=n.el.find(r.listNodeName).first(),a=o.children(r.itemNodeName),s=r.effect.animation||"fade",l=r.effect.time||"slow";"fade"===s?o.fadeOut(l,i):i()},_getItemById:function(e){return t(this.el).children("."+this.options.listClass).find('[data-id="'+e+'"]')},_build:function(){var e=this.options.json;"string"==typeof e&&(e=JSON.parse(e)),t(this.el).html(this._buildList(e,this.options))},_buildList:function(e,i){if(!e)return"";var n="",r=this;return t.each(e,function(t,e){n+=r._buildItem(e,i)}),i.listRenderer(n,i)},_buildItem:function(e,i){var n=function(e){delete(e=t.extend({},e)).children,delete e.classes,delete e.content;var i={};return t.each(e,function(t,e){"object"==typeof e&&(e=JSON.stringify(e)),i["data-"+t]=function(t){var e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return t+"".replace(/[&<>"']/g,function(t){return e[t]})}(e)}),i}(e);n.class=function(e,i){var n=e.classes||{};"string"==typeof n&&(n=[n]);var r=function(t){var e={};for(var i in t)e[t[i]]=t[i];return e}(n);return r[i.itemClass]=i.itemClass,t.map(r,function(t){return t}).join(" ")}(e,i);var r=i.contentCallback(e),o=this._buildList(e.children,i),a=t(i.itemRenderer(n,r,o,i,e));return this.setParent(a),a[0].outerHTML},serialize:function(){var e=this,i=function(n){var r=[];return n.children(e.options.itemNodeName).each(function(){var n=t(this),o=t.extend({},n.data()),a=n.children(e.options.listNodeName);if(e.options.includeContent){var s=n.find("."+e.options.contentClass).html();s&&(o.content=s)}a.length&&(o.children=i(a)),r.push(o)}),r};return i(e.el.find(e.options.listNodeName).first())},asNestedSet:function(){function e(e){return t.isNumeric(e)&&Math.floor(e)==e}var i=this.options,n=[],r=1;return this.el.find(i.listNodeName).first().children(i.itemNodeName).each(function(){r=function r(o,a,s){var l,c,u=s+1;return t(o).children(i.listNodeName).children(i.itemNodeName).length>0&&(a++,t(o).children(i.listNodeName).children(i.itemNodeName).each(function(){u=r(t(this),a,u)}),a--),e(l=t(o).attr("data-id"))&&(l=parseInt(l)),e(c=t(o).parent(i.listNodeName).parent(i.itemNodeName).attr("data-id")||"")&&(l=parseInt(c)),l&&n.push({id:l,parent_id:c,depth:a,lft:s,rgt:u}),u+1}(this,0,r)}),n=n.sort(function(t,e){return t.lft-e.lft})},returnOptions:function(){return this.options},serialise:function(){return this.serialize()},toHierarchy:function(e){function i(e){var r=(t(e).attr(n.attribute||"id")||"").match(n.expression||/(.+)[-=_](.+)/);if(r){var o={id:r[2]};return t(e).children(n.listType).children(n.items).length>0&&(o.children=[],t(e).children(n.listType).children(n.items).each(function(){var t=i(this);o.children.push(t)})),o}}var n=t.extend({},this.options,e),r=[];return t(this.element).children(n.items).each(function(){var t=i(this);r.push(t)}),r},toArray:function(){var e=t.extend({},this.options,this),i=e.startDepthCount||0,n=[],r=2,o=this;return o.el.find(o.options.listNodeName).first().children(o.options.itemNodeName).each(function(){r=function r(o,a,s){var l,c,u=s+1;return o.children(e.options.listNodeName).children(e.options.itemNodeName).length>0&&(a++,o.children(e.options.listNodeName).children(e.options.itemNodeName).each(function(){u=r(t(this),a,u)}),a--),l=o.data().id,c=a===i+1?e.rootID:o.parent(e.options.listNodeName).parent(e.options.itemNodeName).data().id,l&&n.push({id:l,parent_id:c,depth:a,left:s,right:u}),u+1}(t(this),i+1,r)}),n=n.sort(function(t,e){return t.left-e.left})},reset:function(){this.mouse={offsetX:0,offsetY:0,startX:0,startY:0,lastX:0,lastY:0,nowX:0,nowY:0,distX:0,distY:0,dirAx:0,dirX:0,dirY:0,lastDirX:0,lastDirY:0,distAxX:0,distAxY:0},this.isTouch=!1,this.moving=!1,this.dragEl=null,this.dragRootEl=null,this.dragDepth=0,this.hasNewRoot=!1,this.pointEl=null},expandItem:function(t){t.removeClass(this.options.collapsedClass)},collapseItem:function(t){t.children(this.options.listNodeName).length&&t.addClass(this.options.collapsedClass)},expandAll:function(){var e=this;e.el.find(e.options.itemNodeName).each(function(){e.expandItem(t(this))})},collapseAll:function(){var e=this;e.el.find(e.options.itemNodeName).each(function(){e.collapseItem(t(this))})},setParent:function(e){e.is(this.options.itemNodeName)&&e.children(this.options.listNodeName).length&&(e.children("[data-action]").remove(),e.prepend(t(this.options.expandBtnHTML)),e.prepend(t(this.options.collapseBtnHTML)))},unsetParent:function(t){t.removeClass(this.options.collapsedClass),t.children("[data-action]").remove(),t.children(this.options.listNodeName).remove()},dragStart:function(e){var n=this.mouse,r=t(e.target).closest(this.options.itemNodeName),o={top:e.pageY,left:e.pageX},a=this.options.onDragStart.call(this,this.el,r,o);if(void 0===a||!1!==a){this.placeEl.css("height",r.height()),n.offsetX=e.pageX-r.offset().left,n.offsetY=e.pageY-r.offset().top,n.startX=n.lastX=e.pageX,n.startY=n.lastY=e.pageY,this.dragRootEl=this.el,this.dragEl=t(i.createElement(this.options.listNodeName)).addClass(this.options.listClass+" "+this.options.dragClass),this.dragEl.css("width",r.outerWidth()),this.setIndexOfItem(r),r.after(this.placeEl),r[0].parentNode.removeChild(r[0]),r.appendTo(this.dragEl),t(i.body).append(this.dragEl),this.dragEl.css({left:e.pageX-n.offsetX,top:e.pageY-n.offsetY});var s,l,c=this.dragEl.find(this.options.itemNodeName);for(s=0;s<c.length;s++)(l=t(c[s]).parents(this.options.listNodeName).length)>this.dragDepth&&(this.dragDepth=l)}},createSubLevel:function(e,i){var n=t("<"+this.options.listNodeName+"/>").addClass(this.options.listClass);return i&&n.append(i),e.append(n),this.setParent(e),n},setIndexOfItem:function(e,i){(i=i||[]).unshift(e.index()),t(e[0].parentNode)[0]!==this.dragRootEl[0]?this.setIndexOfItem(t(e[0].parentNode),i):this.dragEl.data("indexOfItem",i)},restoreItemAtIndex:function(e,i){for(var n=this.el,r=i.length-1,o=0;o<i.length;o++){if(r===parseInt(o))return void function(e,n){0===i[r]?t(e).prepend(n.clone(!0)):t(e.children[i[r]-1]).after(n.clone(!0))}(n,e);var a=n[0]?n[0]:n;n=a.children[i[o]]||this.createSubLevel(t(a))}},dragStop:function(t){var e={top:t.pageY,left:t.pageX},i=this.dragEl.data("indexOfItem"),n=this.dragEl.children(this.options.itemNodeName).first();n[0].parentNode.removeChild(n[0]),this.dragEl.remove();var r=this.options.beforeDragStop.call(this,this.el,n,this.placeEl.parent());if(void 0!==r&&!1===r){var o=this.placeEl.parent();return this.placeEl.remove(),o.children().length||this.unsetParent(o.parent()),this.restoreItemAtIndex(n,i),void this.reset()}this.placeEl.replaceWith(n),this.hasNewRoot?(!0===this.options.fixed?this.restoreItemAtIndex(n,i):this.el.trigger("lostItem"),this.dragRootEl.trigger("gainedItem")):this.dragRootEl.trigger("change"),this.options.callback.call(this,this.dragRootEl,n,e),this.reset()},dragMove:function(n){var r,o,s,l=this.options,c=this.mouse;this.dragEl.css({left:n.pageX-c.offsetX,top:n.pageY-c.offsetY}),c.lastX=c.nowX,c.lastY=c.nowY,c.nowX=n.pageX,c.nowY=n.pageY,c.distX=c.nowX-c.lastX,c.distY=c.nowY-c.lastY,c.lastDirX=c.dirX,c.lastDirY=c.dirY,c.dirX=0===c.distX?0:c.distX>0?1:-1,c.dirY=0===c.distY?0:c.distY>0?1:-1;var u=Math.abs(c.distX)>Math.abs(c.distY)?1:0;if(!c.moving)return c.dirAx=u,void(c.moving=!0);if(l.scroll)if(void 0!==e.jQuery.fn.scrollParent){var h=!1,d=this.el.scrollParent()[0];d!==i&&"HTML"!==d.tagName?(l.scrollTriggers.bottom+d.offsetHeight-n.pageY<l.scrollSensitivity?d.scrollTop=h=d.scrollTop+l.scrollSpeed:n.pageY-l.scrollTriggers.top<l.scrollSensitivity&&(d.scrollTop=h=d.scrollTop-l.scrollSpeed),l.scrollTriggers.right+d.offsetWidth-n.pageX<l.scrollSensitivity?d.scrollLeft=h=d.scrollLeft+l.scrollSpeed:n.pageX-l.scrollTriggers.left<l.scrollSensitivity&&(d.scrollLeft=h=d.scrollLeft-l.scrollSpeed)):(n.pageY-t(i).scrollTop()<l.scrollSensitivity?h=t(i).scrollTop(t(i).scrollTop()-l.scrollSpeed):t(e).height()-(n.pageY-t(i).scrollTop())<l.scrollSensitivity&&(h=t(i).scrollTop(t(i).scrollTop()+l.scrollSpeed)),n.pageX-t(i).scrollLeft()<l.scrollSensitivity?h=t(i).scrollLeft(t(i).scrollLeft()-l.scrollSpeed):t(e).width()-(n.pageX-t(i).scrollLeft())<l.scrollSensitivity&&(h=t(i).scrollLeft(t(i).scrollLeft()+l.scrollSpeed)))}else console.warn("To use scrolling you need to have scrollParent() function, check documentation for more information");this.scrollTimer&&clearTimeout(this.scrollTimer),l.scroll&&h&&(this.scrollTimer=setTimeout(function(){t(e).trigger(n)},10)),c.dirAx!==u?(c.distAxX=0,c.distAxY=0):(c.distAxX+=Math.abs(c.distX),0!==c.dirX&&c.dirX!==c.lastDirX&&(c.distAxX=0),c.distAxY+=Math.abs(c.distY),0!==c.dirY&&c.dirY!==c.lastDirY&&(c.distAxY=0)),c.dirAx=u,c.dirAx&&c.distAxX>=l.threshold&&(c.distAxX=0,s=this.placeEl.prev(l.itemNodeName),c.distX>0&&s.length&&!s.hasClass(l.collapsedClass)&&!s.hasClass(l.noChildrenClass)&&(r=s.find(l.listNodeName).last(),this.placeEl.parents(l.listNodeName).length+this.dragDepth<=l.maxDepth&&(r.length?(r=s.children(l.listNodeName).last()).append(this.placeEl):this.createSubLevel(s,this.placeEl))),c.distX<0&&(this.placeEl.next(l.itemNodeName).length||(o=this.placeEl.parent(),this.placeEl.closest(l.itemNodeName).after(this.placeEl),o.children().length||this.unsetParent(o.parent()))));var f=!1;if(a||(this.dragEl[0].style.visibility="hidden"),this.pointEl=t(i.elementFromPoint(n.pageX-i.body.scrollLeft,n.pageY-(e.pageYOffset||i.documentElement.scrollTop))),a||(this.dragEl[0].style.visibility="visible"),this.pointEl.hasClass(l.handleClass)&&(this.pointEl=this.pointEl.closest(l.itemNodeName)),this.pointEl.hasClass(l.emptyClass))f=!0;else if(!this.pointEl.length||!this.pointEl.hasClass(l.itemClass))return;var p=this.pointEl.closest("."+l.rootClass),g=this.dragRootEl.data("nestable-id")!==p.data("nestable-id");if(!c.dirAx||g||f){if(g&&l.group!==p.data("nestable-group"))return;if(this.options.fixedDepth&&this.dragDepth+1!==this.pointEl.parents(l.listNodeName).length)return;if(this.dragDepth-1+this.pointEl.parents(l.listNodeName).length>l.maxDepth)return;var m=n.pageY<this.pointEl.offset().top+this.pointEl.height()/2;o=this.placeEl.parent(),f?((r=t(i.createElement(l.listNodeName)).addClass(l.listClass)).append(this.placeEl),this.pointEl.replaceWith(r)):m?this.pointEl.before(this.placeEl):this.pointEl.after(this.placeEl),o.children().length||this.unsetParent(o.parent()),this.dragRootEl.find(l.itemNodeName).length||this.appendEmptyElement(this.dragRootEl),this.dragRootEl=p,g&&(this.hasNewRoot=this.el[0]!==this.dragRootEl[0])}},appendEmptyElement:function(t){t.append('<div class="'+this.options.emptyClass+'"/>')}},t.fn.nestable=function(i){var n=this,o=arguments;return"Nestable"in e||(e.Nestable={},Nestable.counter=0),this.each(function(){var e=t(this).data("nestable");if(e){if("string"==typeof i&&"function"==typeof e[i])if(o.length>1){for(var a=[],s=1;s<o.length;s++)a.push(o[s]);n=e[i].apply(e,a)}else n=e[i]()}else Nestable.counter++,t(this).data("nestable",new r(this,i)),t(this).data("nestable-id",Nestable.counter)}),n||this}}(window.jQuery||window.Zepto,window,document),function(t,e,i,n){function r(e,i){this.settings=null,this.options=t.extend({},r.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this)},this)),t.each(r.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),t.each(r.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})},this)),this.setup(),this.initialize()}r.Defaults={items:3,loop:!1,center:!1,rewind:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},r.Width={Default:"default",Inner:"inner",Outer:"outer"},r.Type={Event:"event",State:"state"},r.Plugins={},r.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,r={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(r),t.css=r}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,r=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[n]=r?e*i:this._items[n].width();this._widths=o}},{filter:["items","settings"],run:function(){var e=[],i=this._items,n=this.settings,r=Math.max(2*n.items,4),o=2*Math.ceil(i.length/2),a=n.loop&&i.length?n.rewind?r:Math.max(r,o):0;for(a/=2;a--;)e.push(this.normalize(e.length/2,!0)),t(i[e[e.length-1]][0]).clone(!0).addClass("cloned").appendTo(this.$stage),e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),t(i[e[e.length-1]][0]).clone(!0).addClass("cloned").prependTo(this.$stage);this._clones=e}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,r=0,o=[];++i<e;)n=o[i-1]||0,r=this._widths[this.relative(i)]+this.settings.margin,o.push(n+r*t);this._coordinates=o}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,n=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],n.eq(e).css(t.css);else i&&(t.css.width=t.items.width,n.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var t,e,i,n,r=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,a=this.coordinates(this.current())+o,s=a+this.width()*r,l=[];for(i=0,n=this._coordinates.length;i<n;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*r,(this.op(t,"<=",a)&&this.op(t,">",s)||this.op(e,"<",a)&&this.op(e,">",s))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],r.prototype.initialize=function(){var e,i,r;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),i=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,r=this.$element.children(i).width(),e.length&&r<=0&&this.preloadAutoWidthImages(e));this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('<div class="'+this.settings.stageOuterClass+'"/>'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},r.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,r=null;i?(t.each(i,function(t){t<=e&&t>n&&(n=Number(t))}),"function"==typeof(r=t.extend({},this.options,i[n])).stagePadding&&(r.stagePadding=r.stagePadding()),delete r.responsive,r.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):r=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:r}}),this._breakpoint=n,this.settings=r,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},r.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},r.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},r.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy(function(t){return this[t]},this._invalidated),r={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,n).length>0)&&this._pipe[e].run(r),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},r.prototype.width=function(t){switch(t=t||r.Width.Default){case r.Width.Inner:case r.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},r.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},r.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},r.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.$element.is(":visible")&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},r.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},r.prototype.onDragStart=function(e){var n=null;3!==e.which&&(t.support.transform?n={x:(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===n.length?12:4],y:n[16===n.length?13:5]}:(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(t.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var n=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(n.x)<Math.abs(n.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},r.prototype.onDragMove=function(t){var e=null,i=null,n=null,r=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,r);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),n=this.settings.pullDrag?-1*r.x/5:0,o.x=Math.max(Math.min(o.x,e+n),i+n)),this._drag.stage.current=o,this.animate(o.x))},r.prototype.onDragEnd=function(e){var n=this.difference(this._drag.pointer,this.pointer(e)),r=this._drag.stage.current,o=n.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(r.x,0!==n.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},r.prototype.closest=function(e,i){var n=-1,r=this.width(),o=this.coordinates();return this.settings.freeDrag||t.each(o,t.proxy(function(t,a){return"left"===i&&e>a-30&&e<a+30?n=t:"right"===i&&e>a-r-30&&e<a-r+30?n=t+1:this.op(e,"<",a)&&this.op(e,">",o[t+1]||a-r)&&(n="left"===i?t+1:t),-1===n},this)),this.settings.loop||(this.op(e,">",o[this.minimum()])?n=e=this.minimum():this.op(e,"<",o[this.maximum()])&&(n=e=this.maximum())),n},r.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},r.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},r.prototype.current=function(t){if(t===n)return this._current;if(0===this._items.length)return n;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==n&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},r.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e})},r.prototype.reset=function(t){(t=this.normalize(t))!==n&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},r.prototype.normalize=function(t,e){var i=this._items.length,r=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=n:(t<0||t>=i+r)&&(t=((t-r/2)%i+i)%i+r/2),t},r.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},r.prototype.maximum=function(t){var e,i,n,r=this.settings,o=this._coordinates.length;if(r.loop)o=this._clones.length/2+this._items.length-1;else if(r.autoWidth||r.merge){for(e=this._items.length,i=this._items[--e].width(),n=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>n););o=e+1}else o=r.center?this._items.length-1:this._items.length-r.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},r.prototype.minimum=function(t){return t?0:this._clones.length/2},r.prototype.items=function(t){return t===n?this._items.slice():(t=this.normalize(t,!0),this._items[t])},r.prototype.mergers=function(t){return t===n?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},r.prototype.clones=function(e){var i=this._clones.length/2,r=i+this._items.length,o=function(t){return t%2==0?r+t/2:i-(t+1)/2};return e===n?t.map(this._clones,function(t,e){return o(e)}):t.map(this._clones,function(t,i){return t===e?o(i):null})},r.prototype.speed=function(t){return t!==n&&(this._speed=t),this._speed},r.prototype.coordinates=function(e){var i,r=1,o=e-1;return e===n?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(r=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*r):i=this._coordinates[o]||0,i=Math.ceil(i))},r.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},r.prototype.to=function(t,e){var i=this.current(),n=null,r=t-this.relative(i),o=(r>0)-(r<0),a=this._items.length,s=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(r)>a/2&&(r+=-1*o*a),(n=(((t=i+r)-s)%a+a)%a+s)!==t&&n-r<=l&&n-r>0&&(i=n-r,t=n,this.reset(i))):this.settings.rewind?t=(t%(l+=1)+l)%l:t=Math.max(s,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.$element.is(":visible")&&this.update()},r.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},r.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},r.prototype.onTransitionEnd=function(t){if(t!==n&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},r.prototype.viewport=function(){var n;return this.options.responsiveBaseElement!==e?n=t(this.options.responsiveBaseElement).width():e.innerWidth?n=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?n=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),n},r.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},r.prototype.add=function(e,i){var r=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[r]&&this.reset(this._items[r].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},r.prototype.remove=function(t){(t=this.normalize(t,!0))!==n&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},r.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},r.prototype.destroy=function(){for(var n in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},r.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t<i;case">":return n?t<i:t>i;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},r.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},r.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},r.prototype.trigger=function(e,i,n,o,a){var s={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,n],function(t){return t}).join("-").toLowerCase()),c=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},s,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(c)}),this.register({type:r.Type.Event,name:e}),this.$element.trigger(c),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,c)),c},r.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===n&&(this._states.current[e]=0),this._states.current[e]++},this))},r.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--},this))},r.prototype.register=function(e){if(e.type===r.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===r.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,n){return t.inArray(i,this._states.tags[e.name])===n},this)))},r.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0},this))},r.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e]},this))},r.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},r.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},r.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=t(this),o=n.data("owl.carousel");o||(o=new r(this,"object"==typeof e&&e),n.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){o.register({type:r.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},o))})),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)})},t.fn.owlCarousel.Constructor=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={autoRefresh:!0,autoRefreshInterval:500},r.prototype.watch=function(){this._interval||(this._visible=this._core.$element.is(":visible"),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},r.prototype.refresh=function(){this._core.$element.is(":visible")!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},r.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type))for(var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,r=i.center&&-1*n||0,o=(e.property&&void 0!==e.property.value?e.property.value:this._core.current())+r,a=this._core.clones().length,s=t.proxy(function(t,e){this.load(e)},this);r++<n;)this.load(a/2+this._core.relative(o)),a&&t.each(this._core.clones(this._core.relative(o)),s),o++},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={lazyLoad:!1},r.prototype.load=function(i){var n=this._core.$stage.children().eq(i),r=n&&n.find(".owl-lazy");!r||t.inArray(n.get(0),this._loaded)>-1||(r.each(t.proxy(function(i,n){var r,o=t(n),a=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src");this._core.trigger("load",{element:o,url:a},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:a},"lazy")},this)).attr("src",a):((r=new Image).onload=t.proxy(function(){o.css({"background-image":'url("'+a+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:a},"lazy")},this),r.src=a)},this)),this._loaded.push(n.get(0)))},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"==t.property.name&&this.update()},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers)};r.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},r.prototype.update=function(){var e,i=this._core._current,n=i+this._core.settings.items,r=this._core.$stage.children().toArray().slice(i,n),o=[];t.each(r,function(e,i){o.push(t(i).height())}),e=Math.max.apply(null,o),this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},r.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t)},this))};r.Defaults={video:!1,videoHeight:!1,videoWidth:!1},r.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),r=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,a=t.attr("href");if(!a)throw new Error("Missing video URL.");if((n=a.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[a]={type:i,id:n,width:r,height:o},e.attr("data-video",a),this.thumbnail(t,this._videos[a])},r.prototype.thumbnail=function(e,i){var n,r,o=i.width&&i.height?'style="width:'+i.width+"px;height:"+i.height+'px;"':"",a=e.find("img"),s="src",l="",c=this._core.settings,u=function(t){'<div class="owl-video-play-icon"></div>',n=c.lazyLoad?'<div class="owl-video-tn '+l+'" '+s+'="'+t+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+t+')"></div>',e.after(n),e.after('<div class="owl-video-play-icon"></div>')};if(e.wrap('<div class="owl-video-wrapper"'+o+"></div>"),this._core.settings.lazyLoad&&(s="data-src",l="owl-lazy"),a.length)return u(a.attr(s)),a.remove(),!1;"youtube"===i.type?(r="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",u(r)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t[0].thumbnail_large,u(r)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){r=t.framegrab_url,u(r)}})},r.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},r.prototype.play=function(e){var i,n=t(e.target).closest("."+this._core.settings.itemClass),r=this._videos[n.attr("data-video")],o=r.width||"100%",a=r.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),"youtube"===r.type?i='<iframe width="'+o+'" height="'+a+'" src="//www.youtube.com/embed/'+r.id+"?autoplay=1&rel=0&v="+r.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===r.type?i='<iframe src="//player.vimeo.com/video/'+r.id+'?autoplay=1" width="'+o+'" height="'+a+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>':"vzaar"===r.type&&(i='<iframe frameborder="0"height="'+a+'"width="'+o+'" allowfullscreen mozallowfullscreen webkitAllowFullScreen src="//view.vzaar.com/'+r.id+'/player?autoplay=true"></iframe>'),t('<div class="owl-video-frame">'+i+"</div>").insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},r.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},r.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this.core=e,this.core.options=t.extend({},r.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};r.Defaults={animateOut:!1,animateIn:!1},r.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),r=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,a=this.core.settings.animateOut;this.core.current()!==this.previous&&(a&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(a)),o&&r.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o))}},r.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},r.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var r=function(e){this._core=e,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},r.Defaults,this._core.options)};r.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},r.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},r.prototype._getNextTimeout=function(n,r){return this._timeout&&e.clearTimeout(this._timeout),e.setTimeout(t.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||i.hidden||this._core.next(r||this._core.settings.autoplaySpeed)},this),n||this._core.settings.autoplayTimeout)},r.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},r.prototype.stop=function(){this._core.is("rotating")&&(e.clearTimeout(this._timeout),this._core.leave("rotating"))},r.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},r.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var r=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers)};r.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},r.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[t("<div>").addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",t.proxy(function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)},this)),this._overrides)this._core[e]=t.proxy(this[e],this)},r.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},r.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,r=this._core.maximum(!0),o=this._core.settings,a=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t<n;t++){if(e>=a||0===e){if(this._pages.push({start:Math.min(r,t-i),end:t-i+a-1}),Math.min(r,t-i)===r)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},r.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,r=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&r<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&r>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},r.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},r.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e},this)).pop()},r.prototype.getPosition=function(e){var i,n,r=this._core.settings;return"page"==r.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=r.slideBy:i-=r.slideBy),i},r.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},r.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},r.prototype.to=function(e,i,n){var r;!n&&this._pages.length?(r=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%r+r)%r].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var r=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),r=t.map(this._hashes,function(t,e){return t===n?e:null}).join();if(!r||e.location.hash.slice(1)===r)return;e.location.hash=r}},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),n=this._core.$stage.children(),r=this._hashes[i]&&n.index(this._hashes[i]);void 0!==r&&r!==this._core.current()&&this._core.to(this._core.relative(r),!1,!0)},this))};r.Defaults={URLhashListener:!1},r.prototype.destroy=function(){var i,n;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=r}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){function r(e,i){var r=!1,o=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+s.join(o+" ")+o).split(" "),function(t,e){if(a[e]!==n)return r=!i||e,!1}),r}function o(t){return r(t,!0)}var a=t("<support>").get(0).style,s="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c=function(){return!!r("transform")},u=function(){return!!r("perspective")},h=function(){return!!r("animation")};(function(){return!!r("transition")})()&&(t.support.transition=new String(o("transition")),t.support.transition.end=l.transition.end[t.support.transition]),h()&&(t.support.animation=new String(o("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c()&&(t.support.transform=new String(o("transform")),t.support.transform3d=u())}(window.Zepto||window.jQuery,window,document),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(t){var e,i,n,r,o,a,s="Close",l="BeforeClose",c="MarkupParse",u="Open",h="Change",d="mfp",f="."+d,p="mfp-ready",g="mfp-removing",m="mfp-prevent-close",v=function(){},y=!!window.jQuery,b=t(window),L=function(t,i){e.ev.on(d+t+f,i)},x=function(e,i,n,r){var o=document.createElement("div");return o.className="mfp-"+e,n&&(o.innerHTML=n),r?i&&i.appendChild(o):(o=t(o),i&&o.appendTo(i)),o},w=function(i,n){e.ev.triggerHandler(d+i,n),e.st.callbacks&&(i=i.charAt(0).toLowerCase()+i.slice(1),e.st.callbacks[i]&&e.st.callbacks[i].apply(e,t.isArray(n)?n:[n]))},_=function(i){return i===a&&e.currTemplate.closeBtn||(e.currTemplate.closeBtn=t(e.st.closeMarkup.replace("%title%",e.st.tClose)),a=i),e.currTemplate.closeBtn},S=function(){t.magnificPopup.instance||((e=new v).init(),t.magnificPopup.instance=e)};v.prototype={constructor:v,init:function(){var i=navigator.appVersion;e.isLowIE=e.isIE8=document.all&&!document.addEventListener,e.isAndroid=/android/gi.test(i),e.isIOS=/iphone|ipad|ipod/gi.test(i),e.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),e.probablyMobile=e.isAndroid||e.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=t(document),e.popupsCache={}},open:function(i){var r;if(!1===i.isObj){e.items=i.items.toArray(),e.index=0;var a,s=i.items;for(r=0;r<s.length;r++)if((a=s[r]).parsed&&(a=a.el[0]),a===i.el[0]){e.index=r;break}}else e.items=t.isArray(i.items)?i.items:[i.items],e.index=i.index||0;if(!e.isOpen){e.types=[],o="",i.mainEl&&i.mainEl.length?e.ev=i.mainEl.eq(0):e.ev=n,i.key?(e.popupsCache[i.key]||(e.popupsCache[i.key]={}),e.currTemplate=e.popupsCache[i.key]):e.currTemplate={},e.st=t.extend(!0,{},t.magnificPopup.defaults,i),e.fixedContentPos="auto"===e.st.fixedContentPos?!e.probablyMobile:e.st.fixedContentPos,e.st.modal&&(e.st.closeOnContentClick=!1,e.st.closeOnBgClick=!1,e.st.showCloseBtn=!1,e.st.enableEscapeKey=!1),e.bgOverlay||(e.bgOverlay=x("bg").on("click"+f,function(){e.close()}),e.wrap=x("wrap").attr("tabindex",-1).on("click"+f,function(t){e._checkIfClose(t.target)&&e.close()}),e.container=x("container",e.wrap)),e.contentContainer=x("content"),e.st.preloader&&(e.preloader=x("preloader",e.container,e.st.tLoading));var l=t.magnificPopup.modules;for(r=0;r<l.length;r++){var h=l[r];h=h.charAt(0).toUpperCase()+h.slice(1),e["init"+h].call(e)}w("BeforeOpen"),e.st.showCloseBtn&&(e.st.closeBtnInside?(L(c,function(t,e,i,n){i.close_replaceWith=_(n.type)}),o+=" mfp-close-btn-in"):e.wrap.append(_())),e.st.alignTop&&(o+=" mfp-align-top"),e.fixedContentPos?e.wrap.css({overflow:e.st.overflowY,overflowX:"hidden",overflowY:e.st.overflowY}):e.wrap.css({top:b.scrollTop(),position:"absolute"}),(!1===e.st.fixedBgPos||"auto"===e.st.fixedBgPos&&!e.fixedContentPos)&&e.bgOverlay.css({height:n.height(),position:"absolute"}),e.st.enableEscapeKey&&n.on("keyup"+f,function(t){27===t.keyCode&&e.close()}),b.on("resize"+f,function(){e.updateSize()}),e.st.closeOnContentClick||(o+=" mfp-auto-cursor"),o&&e.wrap.addClass(o);var d=e.wH=b.height(),g={};if(e.fixedContentPos&&e._hasScrollBar(d)){var m=e._getScrollbarSize();m&&(g.marginRight=m)}e.fixedContentPos&&(e.isIE7?t("body, html").css("overflow","hidden"):g.overflow="hidden");var v=e.st.mainClass;return e.isIE7&&(v+=" mfp-ie7"),v&&e._addClassToMFP(v),e.updateItemHTML(),w("BuildControls"),t("html").css(g),e.bgOverlay.add(e.wrap).prependTo(e.st.prependTo||t(document.body)),e._lastFocusedEl=document.activeElement,setTimeout(function(){e.content?(e._addClassToMFP(p),e._setFocus()):e.bgOverlay.addClass(p),n.on("focusin"+f,e._onFocusIn)},16),e.isOpen=!0,e.updateSize(d),w(u),i}e.updateItemHTML()},close:function(){e.isOpen&&(w(l),e.isOpen=!1,e.st.removalDelay&&!e.isLowIE&&e.supportsTransition?(e._addClassToMFP(g),setTimeout(function(){e._close()},e.st.removalDelay)):e._close())},_close:function(){w(s);var i=g+" "+p+" ";if(e.bgOverlay.detach(),e.wrap.detach(),e.container.empty(),e.st.mainClass&&(i+=e.st.mainClass+" "),e._removeClassFromMFP(i),e.fixedContentPos){var r={marginRight:""};e.isIE7?t("body, html").css("overflow",""):r.overflow="",t("html").css(r)}n.off("keyup.mfp focusin"+f),e.ev.off(f),e.wrap.attr("class","mfp-wrap").removeAttr("style"),e.bgOverlay.attr("class","mfp-bg"),e.container.attr("class","mfp-container"),!e.st.showCloseBtn||e.st.closeBtnInside&&!0!==e.currTemplate[e.currItem.type]||e.currTemplate.closeBtn&&e.currTemplate.closeBtn.detach(),e.st.autoFocusLast&&e._lastFocusedEl&&t(e._lastFocusedEl).focus(),e.currItem=null,e.content=null,e.currTemplate=null,e.prevHeight=0,w("AfterClose")},updateSize:function(t){if(e.isIOS){var i=document.documentElement.clientWidth/window.innerWidth,n=window.innerHeight*i;e.wrap.css("height",n),e.wH=n}else e.wH=t||b.height();e.fixedContentPos||e.wrap.css("height",e.wH),w("Resize")},updateItemHTML:function(){var i=e.items[e.index];e.contentContainer.detach(),e.content&&e.content.detach(),i.parsed||(i=e.parseEl(e.index));var n=i.type;if(w("BeforeChange",[e.currItem?e.currItem.type:"",n]),e.currItem=i,!e.currTemplate[n]){var o=!!e.st[n]&&e.st[n].markup;w("FirstMarkupParse",o),e.currTemplate[n]=!o||t(o)}r&&r!==i.type&&e.container.removeClass("mfp-"+r+"-holder");var a=e["get"+n.charAt(0).toUpperCase()+n.slice(1)](i,e.currTemplate[n]);e.appendContent(a,n),i.preloaded=!0,w(h,i),r=i.type,e.container.prepend(e.contentContainer),w("AfterChange")},appendContent:function(t,i){e.content=t,t?e.st.showCloseBtn&&e.st.closeBtnInside&&!0===e.currTemplate[i]?e.content.find(".mfp-close").length||e.content.append(_()):e.content=t:e.content="",w("BeforeAppend"),e.container.addClass("mfp-"+i+"-holder"),e.contentContainer.append(e.content)},parseEl:function(i){var n,r=e.items[i];if(r.tagName?r={el:t(r)}:(n=r.type,r={data:r,src:r.src}),r.el){for(var o=e.types,a=0;a<o.length;a++)if(r.el.hasClass("mfp-"+o[a])){n=o[a];break}r.src=r.el.attr("data-mfp-src"),r.src||(r.src=r.el.attr("href"))}return r.type=n||e.st.type||"inline",r.index=i,r.parsed=!0,e.items[i]=r,w("ElementParse",r),e.items[i]},addGroup:function(t,i){var n=function(n){n.mfpEl=this,e._openClick(n,t,i)};i||(i={});var r="click.magnificPopup";i.mainEl=t,i.items?(i.isObj=!0,t.off(r).on(r,n)):(i.isObj=!1,i.delegate?t.off(r).on(r,i.delegate,n):(i.items=t,t.off(r).on(r,n)))},_openClick:function(i,n,r){if((void 0!==r.midClick?r.midClick:t.magnificPopup.defaults.midClick)||!(2===i.which||i.ctrlKey||i.metaKey||i.altKey||i.shiftKey)){var o=void 0!==r.disableOn?r.disableOn:t.magnificPopup.defaults.disableOn;if(o)if(t.isFunction(o)){if(!o.call(e))return!0}else if(b.width()<o)return!0;i.type&&(i.preventDefault(),e.isOpen&&i.stopPropagation()),r.el=t(i.mfpEl),r.delegate&&(r.items=n.find(r.delegate)),e.open(r)}},updateStatus:function(t,n){if(e.preloader){i!==t&&e.container.removeClass("mfp-s-"+i),n||"loading"!==t||(n=e.st.tLoading);var r={status:t,text:n};w("UpdateStatus",r),t=r.status,n=r.text,e.preloader.html(n),e.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),e.container.addClass("mfp-s-"+t),i=t}},_checkIfClose:function(i){if(!t(i).hasClass(m)){var n=e.st.closeOnContentClick,r=e.st.closeOnBgClick;if(n&&r)return!0;if(!e.content||t(i).hasClass("mfp-close")||e.preloader&&i===e.preloader[0])return!0;if(i===e.content[0]||t.contains(e.content[0],i)){if(n)return!0}else if(r&&t.contains(document,i))return!0;return!1}},_addClassToMFP:function(t){e.bgOverlay.addClass(t),e.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),e.wrap.removeClass(t)},_hasScrollBar:function(t){return(e.isIE7?n.height():document.body.scrollHeight)>(t||b.height())},_setFocus:function(){(e.st.focus?e.content.find(e.st.focus).eq(0):e.wrap).focus()},_onFocusIn:function(i){return i.target===e.wrap[0]||t.contains(e.wrap[0],i.target)?void 0:(e._setFocus(),!1)},_parseMarkup:function(e,i,n){var r;n.data&&(i=t.extend(n.data,i)),w(c,[e,i,n]),t.each(i,function(i,n){if(void 0===n||!1===n)return!0;if((r=i.split("_")).length>1){var o=e.find(f+"-"+r[0]);if(o.length>0){var a=r[1];"replaceWith"===a?o[0]!==n[0]&&o.replaceWith(n):"img"===a?o.is("img")?o.attr("src",n):o.replaceWith(t("<img>").attr("src",n).attr("class",o.attr("class"))):o.attr(r[1],n)}}else e.find(f+"-"+i).html(n)})},_getScrollbarSize:function(){if(void 0===e.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),e.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return e.scrollbarSize}},t.magnificPopup={instance:null,proto:v.prototype,modules:[],open:function(e,i){return S(),(e=e?t.extend(!0,{},e):{}).isObj=!0,e.index=i||0,this.instance.open(e)},close:function(){return t.magnificPopup.instance&&t.magnificPopup.instance.close()},registerModule:function(e,i){i.options&&(t.magnificPopup.defaults[e]=i.options),t.extend(this.proto,i.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},t.fn.magnificPopup=function(i){S();var n=t(this);if("string"==typeof i)if("open"===i){var r,o=y?n.data("magnificPopup"):n[0].magnificPopup,a=parseInt(arguments[1],10)||0;o.items?r=o.items[a]:(r=n,o.delegate&&(r=r.find(o.delegate)),r=r.eq(a)),e._openClick({mfpEl:r},n,o)}else e.isOpen&&e[i].apply(e,Array.prototype.slice.call(arguments,1));else i=t.extend(!0,{},i),y?n.data("magnificPopup",i):n[0].magnificPopup=i,e.addGroup(n,i);return n};var C,k,T,E="inline",A=function(){T&&(k.after(T.addClass(C)).detach(),T=null)};t.magnificPopup.registerModule(E,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){e.types.push(E),L(s+"."+E,function(){A()})},getInline:function(i,n){if(A(),i.src){var r=e.st.inline,o=t(i.src);if(o.length){var a=o[0].parentNode;a&&a.tagName&&(k||(C=r.hiddenClass,k=x(C),C="mfp-"+C),T=o.after(k).detach().removeClass(C)),e.updateStatus("ready")}else e.updateStatus("error",r.tNotFound),o=t("<div>");return i.inlineElement=o,o}return e.updateStatus("ready"),e._parseMarkup(n,{},i),n}}});var M,D="ajax",P=function(){M&&t(document.body).removeClass(M)},O=function(){P(),e.req&&e.req.abort()};t.magnificPopup.registerModule(D,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){e.types.push(D),M=e.st.ajax.cursor,L(s+"."+D,O),L("BeforeChange."+D,O)},getAjax:function(i){M&&t(document.body).addClass(M),e.updateStatus("loading");var n=t.extend({url:i.src,success:function(n,r,o){var a={data:n,xhr:o};w("ParseAjax",a),e.appendContent(t(a.data),D),i.finished=!0,P(),e._setFocus(),setTimeout(function(){e.wrap.addClass(p)},16),e.updateStatus("ready"),w("AjaxContentAdded")},error:function(){P(),i.finished=i.loadError=!0,e.updateStatus("error",e.st.ajax.tError.replace("%url%",i.src))}},e.st.ajax.settings);return e.req=t.ajax(n),""}}});var I,N=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=e.st.image.titleSrc;if(n){if(t.isFunction(n))return n.call(e,i);if(i.el)return i.el.attr(n)||""}return""};t.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var i=e.st.image,n=".image";e.types.push("image"),L(u+n,function(){"image"===e.currItem.type&&i.cursor&&t(document.body).addClass(i.cursor)}),L(s+n,function(){i.cursor&&t(document.body).removeClass(i.cursor),b.off("resize"+f)}),L("Resize"+n,e.resizeImage),e.isLowIE&&L("AfterChange",e.resizeImage)},resizeImage:function(){var t=e.currItem;if(t&&t.img&&e.st.image.verticalFit){var i=0;e.isLowIE&&(i=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",e.wH-i)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,I&&clearInterval(I),t.isCheckingImgSize=!1,w("ImageHasSize",t),t.imgHidden&&(e.content&&e.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(t){var i=0,n=t.img[0],r=function(o){I&&clearInterval(I),I=setInterval(function(){return n.naturalWidth>0?void e._onImageHasSize(t):(i>200&&clearInterval(I),void(3===++i?r(10):40===i?r(50):100===i&&r(500)))},o)};r(1)},getImage:function(i,n){var r=0,o=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,w("ImageLoadComplete")):200>++r?setTimeout(o,100):a())},a=function(){i&&(i.img.off(".mfploader"),i===e.currItem&&(e._onImageHasSize(i),e.updateStatus("error",s.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},s=e.st.image,l=n.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",i.el&&i.el.find("img").length&&(c.alt=i.el.find("img").attr("alt")),i.img=t(c).on("load.mfploader",o).on("error.mfploader",a),c.src=i.src,l.is("img")&&(i.img=i.img.clone()),(c=i.img[0]).naturalWidth>0?i.hasSize=!0:c.width||(i.hasSize=!1)}return e._parseMarkup(n,{title:N(i),img_replaceWith:i.img},i),e.resizeImage(),i.hasSize?(I&&clearInterval(I),i.loadError?(n.addClass("mfp-loading"),e.updateStatus("error",s.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),e.updateStatus("ready")),n):(e.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),e.findImageSize(i)),n)}}});var R;t.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,i=e.st.zoom,n=".zoom";if(i.enabled&&e.supportsTransition){var r,o,a=i.duration,c=function(t){var e=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,r={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},o="transition";return r["-webkit-"+o]=r["-moz-"+o]=r["-o-"+o]=r[o]=n,e.css(r),e},u=function(){e.content.css("visibility","visible")};L("BuildControls"+n,function(){if(e._allowZoom()){if(clearTimeout(r),e.content.css("visibility","hidden"),!(t=e._getItemToZoom()))return void u();(o=c(t)).css(e._getOffset()),e.wrap.append(o),r=setTimeout(function(){o.css(e._getOffset(!0)),r=setTimeout(function(){u(),setTimeout(function(){o.remove(),t=o=null,w("ZoomAnimationEnded")},16)},a)},16)}}),L(l+n,function(){if(e._allowZoom()){if(clearTimeout(r),e.st.removalDelay=a,!t){if(!(t=e._getItemToZoom()))return;o=c(t)}o.css(e._getOffset(!0)),e.wrap.append(o),e.content.css("visibility","hidden"),setTimeout(function(){o.css(e._getOffset())},16)}}),L(s+n,function(){e._allowZoom()&&(u(),o&&o.remove(),t=null)})}},_allowZoom:function(){return"image"===e.currItem.type},_getItemToZoom:function(){return!!e.currItem.hasSize&&e.currItem.img},_getOffset:function(i){var n,r=(n=i?e.currItem.img:e.st.zoom.opener(e.currItem.el||e.currItem)).offset(),o=parseInt(n.css("padding-top"),10),a=parseInt(n.css("padding-bottom"),10);r.top-=t(window).scrollTop()-o;var s={width:n.width(),height:(y?n.innerHeight():n[0].offsetHeight)-a-o};return void 0===R&&(R=void 0!==document.createElement("p").style.MozTransform),R?s["-moz-transform"]=s.transform="translate("+r.left+"px,"+r.top+"px)":(s.left=r.left,s.top=r.top),s}}});var F="iframe",B=function(t){if(e.currTemplate[F]){var i=e.currTemplate[F].find("iframe");i.length&&(t||(i[0].src="//about:blank"),e.isIE8&&i.css("display",t?"block":"none"))}};t.magnificPopup.registerModule(F,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){e.types.push(F),L("BeforeChange",function(t,e,i){e!==i&&(e===F?B():i===F&&B(!0))}),L(s+"."+F,function(){B()})},getIframe:function(i,n){var r=i.src,o=e.st.iframe;t.each(o.patterns,function(){return r.indexOf(this.index)>-1?(this.id&&(r="string"==typeof this.id?r.substr(r.lastIndexOf(this.id)+this.id.length,r.length):this.id.call(this,r)),r=this.src.replace("%id%",r),!1):void 0});var a={};return o.srcAction&&(a[o.srcAction]=r),e._parseMarkup(n,a,i),e.updateStatus("ready"),n}}});var z=function(t){var i=e.items.length;return t>i-1?t-i:0>t?i+t:t},H=function(t,e,i){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,i)};t.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=e.st.gallery,r=".mfp-gallery";return e.direction=!0,!(!i||!i.enabled)&&(o+=" mfp-gallery",L(u+r,function(){i.navigateByImgClick&&e.wrap.on("click"+r,".mfp-img",function(){return e.items.length>1?(e.next(),!1):void 0}),n.on("keydown"+r,function(t){37===t.keyCode?e.prev():39===t.keyCode&&e.next()})}),L("UpdateStatus"+r,function(t,i){i.text&&(i.text=H(i.text,e.currItem.index,e.items.length))}),L(c+r,function(t,n,r,o){var a=e.items.length;r.counter=a>1?H(i.tCounter,o.index,a):""}),L("BuildControls"+r,function(){if(e.items.length>1&&i.arrows&&!e.arrowLeft){var n=i.arrowMarkup,r=e.arrowLeft=t(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass(m),o=e.arrowRight=t(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass(m);r.click(function(){e.prev()}),o.click(function(){e.next()}),e.container.append(r.add(o))}}),L(h+r,function(){e._preloadTimeout&&clearTimeout(e._preloadTimeout),e._preloadTimeout=setTimeout(function(){e.preloadNearbyImages(),e._preloadTimeout=null},16)}),void L(s+r,function(){n.off(r),e.wrap.off("click"+r),e.arrowRight=e.arrowLeft=null}))},next:function(){e.direction=!0,e.index=z(e.index+1),e.updateItemHTML()},prev:function(){e.direction=!1,e.index=z(e.index-1),e.updateItemHTML()},goTo:function(t){e.direction=t>=e.index,e.index=t,e.updateItemHTML()},preloadNearbyImages:function(){var t,i=e.st.gallery.preload,n=Math.min(i[0],e.items.length),r=Math.min(i[1],e.items.length);for(t=1;t<=(e.direction?r:n);t++)e._preloadItem(e.index+t);for(t=1;t<=(e.direction?n:r);t++)e._preloadItem(e.index-t)},_preloadItem:function(i){if(i=z(i),!e.items[i].preloaded){var n=e.items[i];n.parsed||(n=e.parseEl(i)),w("LazyLoad",n),"image"===n.type&&(n.img=t('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,w("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}}});var V="retina";t.magnificPopup.registerModule(V,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var t=e.st.retina,i=t.ratio;(i=isNaN(i)?i():i)>1&&(L("ImageHasSize."+V,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}),L("ElementParse."+V,function(e,n){n.src=t.replaceSrc(n,i)}))}}}}),S()}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Sweetalert2=e()}(this,function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t,e,i){return(l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,i){var n=[null];n.push.apply(n,e);var r=new(Function.bind.apply(t,n));return i&&s(r,i.prototype),r}).apply(null,arguments)}function c(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t,e,i){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,i){var n=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}(t,e);if(n){var r=Object.getOwnPropertyDescriptor(n,e);return r.get?r.get.call(i):r.value}})(t,e,i||t)}var h=function(t){return Array.prototype.slice.call(t)},d=function(t){var e=[];return"undefined"!=typeof Map&&t instanceof Map?t.forEach(function(t,i){e.push([i,t])}):Object.keys(t).forEach(function(i){e.push([i,t[i]])}),e},f=function(t){console.warn("".concat("SweetAlert2:"," ").concat(t))},p=function(t){console.error("".concat("SweetAlert2:"," ").concat(t))},g=[],m=function(t){-1===g.indexOf(t)&&(g.push(t),f(t))},v=function(t){return"function"==typeof t?t():t},y=function(t){return t&&Promise.resolve(t)===t},b=Object.freeze({cancel:"cancel",backdrop:"overlay",close:"close",esc:"esc",timer:"timer"}),L=function(t){var e={};for(var i in t)e[t[i]]="swal2-"+t[i];return e},x=L(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","icon-text","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progresssteps","activeprogressstep","progresscircle","progressline","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),w=L(["success","warning","info","question","error"]),_={previousBodyPadding:null},S=function(t,e){return t.classList.contains(e)},C=function(t){if(t.focus(),"file"!==t.type){var e=t.value;t.value="",t.value=e}},k=function(t,e,i){t&&e&&("string"==typeof e&&(e=e.split(/\s+/).filter(Boolean)),e.forEach(function(e){t.forEach?t.forEach(function(t){i?t.classList.add(e):t.classList.remove(e)}):i?t.classList.add(e):t.classList.remove(e)}))},T=function(t,e){k(t,e,!0)},E=function(t,e){k(t,e,!1)},A=function(t,e){for(var i=0;i<t.childNodes.length;i++)if(S(t.childNodes[i],e))return t.childNodes[i]},M=function(t){t.style.opacity="",t.style.display=t.id===x.content?"block":"flex"},D=function(t){t.style.opacity="",t.style.display="none"},P=function(t){return t&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},O=function(){return document.body.querySelector("."+x.container)},I=function(t){var e=O();return e?e.querySelector("."+t):null},N=function(){return I(x.popup)},R=function(){var t=N();return h(t.querySelectorAll("."+x.icon))},F=function(){return I(x.title)},B=function(){return I(x.content)},z=function(){return I(x.image)},H=function(){return I(x.progresssteps)},V=function(){return I(x["validation-message"])},j=function(){return I(x.confirm)},W=function(){return I(x.cancel)},U=function(){return I(x.actions)},Y=function(){return I(x.footer)},G=function(){return I(x.close)},X=function(){var t=h(N().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(t,e){return(t=parseInt(t.getAttribute("tabindex")))>(e=parseInt(e.getAttribute("tabindex")))?1:t<e?-1:0}),e=h(N().querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]')).filter(function(t){return"-1"!==t.getAttribute("tabindex")});return function(t){for(var e=[],i=0;i<t.length;i++)-1===e.indexOf(t[i])&&e.push(t[i]);return e}(t.concat(e)).filter(function(t){return P(t)})},q=function(){return!$()&&!document.body.classList.contains(x["no-backdrop"])},$=function(){return document.body.classList.contains(x["toast-shown"])},Z=function(){return"undefined"==typeof window||"undefined"==typeof document},K='\n <div aria-labelledby="'.concat(x.title,'" aria-describedby="').concat(x.content,'" class="').concat(x.popup,'" tabindex="-1">\n <div class="').concat(x.header,'">\n <ul class="').concat(x.progresssteps,'"></ul>\n <div class="').concat(x.icon," ").concat(w.error,'">\n <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"></span><span class="swal2-x-mark-line-right"></span></span>\n </div>\n <div class="').concat(x.icon," ").concat(w.question,'">\n <span class="').concat(x["icon-text"],'">?</span>\n </div>\n <div class="').concat(x.icon," ").concat(w.warning,'">\n <span class="').concat(x["icon-text"],'">!</span>\n </div>\n <div class="').concat(x.icon," ").concat(w.info,'">\n <span class="').concat(x["icon-text"],'">i</span>\n </div>\n <div class="').concat(x.icon," ").concat(w.success,'">\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n </div>\n <img class="').concat(x.image,'" />\n <h2 class="').concat(x.title,'" id="').concat(x.title,'"></h2>\n <button type="button" class="').concat(x.close,'">×</button>\n </div>\n <div class="').concat(x.content,'">\n <div id="').concat(x.content,'"></div>\n <input class="').concat(x.input,'" />\n <input type="file" class="').concat(x.file,'" />\n <div class="').concat(x.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(x.select,'"></select>\n <div class="').concat(x.radio,'"></div>\n <label for="').concat(x.checkbox,'" class="').concat(x.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(x.label,'"></span>\n </label>\n <textarea class="').concat(x.textarea,'"></textarea>\n <div class="').concat(x["validation-message"],'" id="').concat(x["validation-message"],'"></div>\n </div>\n <div class="').concat(x.actions,'">\n <button type="button" class="').concat(x.confirm,'">OK</button>\n <button type="button" class="').concat(x.cancel,'">Cancel</button>\n </div>\n <div class="').concat(x.footer,'">\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),Q=function(t){var e=O();if(e&&(e.parentNode.removeChild(e),E([document.documentElement,document.body],[x["no-backdrop"],x["toast-shown"],x["has-column"]])),!Z()){var i=document.createElement("div");i.className=x.container,i.innerHTML=K;var n="string"==typeof t.target?document.querySelector(t.target):t.target;n.appendChild(i);var r,o=N(),a=B(),s=A(a,x.input),l=A(a,x.file),c=a.querySelector(".".concat(x.range," input")),u=a.querySelector(".".concat(x.range," output")),h=A(a,x.select),d=a.querySelector(".".concat(x.checkbox," input")),f=A(a,x.textarea);o.setAttribute("role",t.toast?"alert":"dialog"),o.setAttribute("aria-live",t.toast?"polite":"assertive"),t.toast||o.setAttribute("aria-modal","true"),"rtl"===window.getComputedStyle(n).direction&&T(O(),x.rtl);var g=function(t){zt.isVisible()&&r!==t.target.value&&zt.resetValidationMessage(),r=t.target.value};return s.oninput=g,l.onchange=g,h.onchange=g,d.onchange=g,f.oninput=g,c.oninput=function(t){g(t),u.value=c.value},c.onchange=function(t){g(t),c.nextSibling.value=c.value},o}p("SweetAlert2 requires document to initialize")},J=function(e,i){if(!e)return D(i);if(e instanceof HTMLElement)i.appendChild(e);else if("object"===t(e))if(i.innerHTML="",0 in e)for(var n=0;n in e;n++)i.appendChild(e[n].cloneNode(!0));else i.appendChild(e.cloneNode(!0));else e&&(i.innerHTML=e);M(i)},tt=function(){if(Z())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var i in e)if(e.hasOwnProperty(i)&&void 0!==t.style[i])return e[i];return!1}(),et=function(t){var e=U(),i=j(),n=W();if(t.showConfirmButton||t.showCancelButton?M(e):D(e),t.showCancelButton?n.style.display="inline-block":D(n),t.showConfirmButton?i.style.removeProperty("display"):D(i),i.innerHTML=t.confirmButtonText,n.innerHTML=t.cancelButtonText,i.setAttribute("aria-label",t.confirmButtonAriaLabel),n.setAttribute("aria-label",t.cancelButtonAriaLabel),i.className=x.confirm,T(i,t.confirmButtonClass),n.className=x.cancel,T(n,t.cancelButtonClass),t.buttonsStyling){T([i,n],x.styled),t.confirmButtonColor&&(i.style.backgroundColor=t.confirmButtonColor),t.cancelButtonColor&&(n.style.backgroundColor=t.cancelButtonColor);var r=window.getComputedStyle(i).getPropertyValue("background-color");i.style.borderLeftColor=r,i.style.borderRightColor=r}else E([i,n],x.styled),i.style.backgroundColor=i.style.borderLeftColor=i.style.borderRightColor="",n.style.backgroundColor=n.style.borderLeftColor=n.style.borderRightColor=""},it=function(t){var e=B().querySelector("#"+x.content);t.html?J(t.html,e):t.text?(e.textContent=t.text,M(e)):D(e)},nt=function(t){for(var e=R(),i=0;i<e.length;i++)D(e[i]);if(t.type)if(-1!==Object.keys(w).indexOf(t.type)){var n=zt.getPopup().querySelector(".".concat(x.icon,".").concat(w[t.type]));M(n),t.animation&&T(n,"swal2-animate-".concat(t.type,"-icon"))}else p('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.type,'"'))},rt=function(t){var e=z();t.imageUrl?(e.setAttribute("src",t.imageUrl),e.setAttribute("alt",t.imageAlt),M(e),t.imageWidth?e.setAttribute("width",t.imageWidth):e.removeAttribute("width"),t.imageHeight?e.setAttribute("height",t.imageHeight):e.removeAttribute("height"),e.className=x.image,t.imageClass&&T(e,t.imageClass)):D(e)},ot=function(t){var e=H(),i=parseInt(null===t.currentProgressStep?zt.getQueueStep():t.currentProgressStep,10);t.progressSteps&&t.progressSteps.length?(M(e),e.innerHTML="",i>=t.progressSteps.length&&f("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(function(n,r){var o=document.createElement("li");if(T(o,x.progresscircle),o.innerHTML=n,r===i&&T(o,x.activeprogressstep),e.appendChild(o),r!==t.progressSteps.length-1){var a=document.createElement("li");T(a,x.progressline),t.progressStepsDistance&&(a.style.width=t.progressStepsDistance),e.appendChild(a)}})):D(e)},at=function(t){var e=F();t.titleText?e.innerText=t.titleText:t.title&&("string"==typeof t.title&&(t.title=t.title.split("\n").join("<br />")),J(t.title,e))},st=function(){null===_.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(_.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=_.previousBodyPadding+function(){if("ontouchstart"in window||navigator.msMaxTouchPoints)return 0;var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}()+"px")},lt=function(){return!!window.MSInputMethodContext&&!!document.documentMode},ct=function(){var t=O(),e=N();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")},ut={},ht=function(t,e){var i=O(),n=N();if(n){null!==t&&"function"==typeof t&&t(n),E(n,x.show),T(n,x.hide);var r=function(){$()?dt(e):(new Promise(function(t){var e=window.scrollX,i=window.scrollY;ut.restoreFocusTimeout=setTimeout(function(){ut.previousActiveElement&&ut.previousActiveElement.focus?(ut.previousActiveElement.focus(),ut.previousActiveElement=null):document.body&&document.body.focus(),t()},100),void 0!==e&&void 0!==i&&window.scrollTo(e,i)}).then(function(){return dt(e)}),ut.keydownTarget.removeEventListener("keydown",ut.keydownHandler,{capture:ut.keydownListenerCapture}),ut.keydownHandlerAdded=!1),i.parentNode&&i.parentNode.removeChild(i),E([document.documentElement,document.body],[x.shown,x["height-auto"],x["no-backdrop"],x["toast-shown"],x["toast-column"]]),q()&&(null!==_.previousBodyPadding&&(document.body.style.paddingRight=_.previousBodyPadding,_.previousBodyPadding=null),function(){if(S(document.body,x.iosfix)){var t=parseInt(document.body.style.top,10);E(document.body,x.iosfix),document.body.style.top="",document.body.scrollTop=-1*t}}(),"undefined"!=typeof window&&lt()&&window.removeEventListener("resize",ct),h(document.body.children).forEach(function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")}))};tt&&!S(n,x.noanimation)?n.addEventListener(tt,function t(){n.removeEventListener(tt,t),S(n,x.hide)&&r()}):r()}},dt=function(t){null!==t&&"function"==typeof t&&setTimeout(function(){t()})};function ft(t){var e=function t(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];if(!(this instanceof t))return l(t,i);Object.getPrototypeOf(t).apply(this,i)};return e.prototype=r(Object.create(t.prototype),{constructor:e}),"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t,e}var pt={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:null,timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onAfterClose:null,onOpen:null,onClose:null,useRejections:!1,expectRejections:!1},gt=["useRejections","expectRejections","extraParams"],mt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],vt=function(t){return pt.hasOwnProperty(t)||"extraParams"===t},yt=function(t){return-1!==gt.indexOf(t)},bt=function(t){for(var e in t)vt(e)||f('Unknown parameter "'.concat(e,'"')),t.toast&&-1!==mt.indexOf(e)&&f('The parameter "'.concat(e,'" is incompatible with toasts')),yt(e)&&m('The parameter "'.concat(e,'" is deprecated and will be removed in the next major release.'))},Lt='"setDefaults" & "resetDefaults" methods are deprecated in favor of "mixin" method and will be removed in the next major release. For new projects, use "mixin". For past projects already using "setDefaults", support will be provided through an additional package.',xt={};var wt=[],_t=function(){var t=N();t||zt(""),t=N();var e=U(),i=j(),n=W();M(e),M(i),T([t,e],x.loading),i.disabled=!0,n.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},St=Object.freeze({isValidParameter:vt,isDeprecatedParameter:yt,argsToParams:function(e){var i={};switch(t(e[0])){case"object":r(i,e[0]);break;default:["title","html","type"].forEach(function(n,r){switch(t(e[r])){case"string":i[n]=e[r];break;case"undefined":break;default:p("Unexpected type of ".concat(n,'! Expected "string", got ').concat(t(e[r])))}})}return i},adaptInputValidator:function(t){return function(e,i){return t.call(this,e,i).then(function(){},function(t){return t})}},close:ht,closePopup:ht,closeModal:ht,closeToast:ht,isVisible:function(){return!!N()},clickConfirm:function(){return j().click()},clickCancel:function(){return W().click()},getContainer:O,getPopup:N,getTitle:F,getContent:B,getImage:z,getIcons:R,getCloseButton:G,getButtonsWrapper:function(){return m("swal.getButtonsWrapper() is deprecated and will be removed in the next major release, use swal.getActions() instead"),I(x.actions)},getActions:U,getConfirmButton:j,getCancelButton:W,getFooter:Y,getFocusableElements:X,getValidationMessage:V,isLoading:function(){return N().hasAttribute("data-loading")},fire:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return l(this,e)},mixin:function(t){return ft(function(i){function s(){return e(this,s),c(this,a(s).apply(this,arguments))}return o(s,i),n(s,[{key:"_main",value:function(e){return u(a(s.prototype),"_main",this).call(this,r({},t,e))}}]),s}(this))},queue:function(t){var e=this;wt=t;var i=function(){wt=[],document.body.removeAttribute("data-swal2-queue-step")},n=[];return new Promise(function(t){!function r(o,a){o<wt.length?(document.body.setAttribute("data-swal2-queue-step",o),e(wt[o]).then(function(e){void 0!==e.value?(n.push(e.value),r(o+1,a)):(i(),t({dismiss:e.dismiss}))})):(i(),t({value:n}))}(0)})},getQueueStep:function(){return document.body.getAttribute("data-swal2-queue-step")},insertQueueStep:function(t,e){return e&&e<wt.length?wt.splice(e,0,t):wt.push(t)},deleteQueueStep:function(t){void 0!==wt[t]&&wt.splice(t,1)},showLoading:_t,enableLoading:_t,getTimerLeft:function(){return ut.timeout&&ut.timeout.getTimerLeft()},stopTimer:function(){return ut.timeout&&ut.timeout.stop()},resumeTimer:function(){return ut.timeout&&ut.timeout.start()},toggleTimer:function(){var t=ut.timeout;return t&&(t.running?t.stop():t.start())},increaseTimer:function(t){return ut.timeout&&ut.timeout.increase(t)},isTimerRunning:function(){return ut.timeout&&ut.timeout.isRunning()}}),Ct="function"==typeof Symbol?Symbol:function(){var t=0;function e(e){return"__"+e+"_"+Math.floor(1e9*Math.random())+"_"+ ++t+"__"}return e.iterator=e("Symbol.iterator"),e}(),kt="function"==typeof WeakMap?WeakMap:function(t,e,i){function n(){e(this,t,{value:Ct("WeakMap")})}return n.prototype={delete:function(e){delete e[this[t]]},get:function(e){return e[this[t]]},has:function(e){return i.call(e,this[t])},set:function(i,n){e(i,this[t],{configurable:!0,value:n})}},n}(Ct("WeakMap"),Object.defineProperty,{}.hasOwnProperty),Tt={promise:new kt,innerParams:new kt,domCache:new kt};function Et(){var t=Tt.innerParams.get(this),e=Tt.domCache.get(this);t.showConfirmButton||(D(e.confirmButton),t.showCancelButton||D(e.actions)),E([e.popup,e.actions],x.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.cancelButton.disabled=!1}function At(t){var e=Tt.domCache.get(this);e.validationMessage.innerHTML=t;var i=window.getComputedStyle(e.popup);e.validationMessage.style.marginLeft="-".concat(i.getPropertyValue("padding-left")),e.validationMessage.style.marginRight="-".concat(i.getPropertyValue("padding-right")),M(e.validationMessage);var n=this.getInput();n&&(n.setAttribute("aria-invalid",!0),n.setAttribute("aria-describedBy",x["validation-message"]),C(n),T(n,x.inputerror))}function Mt(){var t=Tt.domCache.get(this);t.validationMessage&&D(t.validationMessage);var e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedBy"),E(e,x.inputerror))}var Dt=function t(i,n){e(this,t);var r,o,a=n;this.running=!1,this.start=function(){return this.running||(this.running=!0,o=new Date,r=setTimeout(i,a)),a},this.stop=function(){return this.running&&(this.running=!1,clearTimeout(r),a-=new Date-o),a},this.increase=function(t){var e=this.running;return e&&this.stop(),a+=t,e&&this.start(),a},this.getTimerLeft=function(){return this.running&&(this.stop(),this.start()),a},this.isRunning=function(){return this.running},this.start()},Pt={email:function(t,e){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid email address")},url:function(t,e){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&\/\/=]*)$/.test(t)?Promise.resolve():Promise.reject(e&&e.validationMessage?e.validationMessage:"Invalid URL")}};var Ot=function(t){var e=O(),i=N();null!==t.onBeforeOpen&&"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(i),t.animation?(T(i,x.show),T(e,x.fade),E(i,x.hide)):E(i,x.fade),M(i),e.style.overflowY="hidden",tt&&!S(i,x.noanimation)?i.addEventListener(tt,function t(){i.removeEventListener(tt,t),e.style.overflowY="auto"}):e.style.overflowY="auto",T([document.documentElement,document.body,e],x.shown),t.heightAuto&&t.backdrop&&!t.toast&&T([document.documentElement,document.body],x["height-auto"]),q()&&(st(),function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!S(document.body,x.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px",T(document.body,x.iosfix)}}(),"undefined"!=typeof window&&lt()&&(ct(),window.addEventListener("resize",ct)),h(document.body.children).forEach(function(t){t===O()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,O())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}),setTimeout(function(){e.scrollTop=0})),$()||ut.previousActiveElement||(ut.previousActiveElement=document.activeElement),null!==t.onOpen&&"function"==typeof t.onOpen&&setTimeout(function(){t.onOpen(i)})};var It,Nt=Object.freeze({hideLoading:Et,disableLoading:Et,getInput:function(t){var e=Tt.innerParams.get(this),i=Tt.domCache.get(this);if(!(t=t||e.input))return null;switch(t){case"select":case"textarea":case"file":return A(i.content,x[t]);case"checkbox":return i.popup.querySelector(".".concat(x.checkbox," input"));case"radio":return i.popup.querySelector(".".concat(x.radio," input:checked"))||i.popup.querySelector(".".concat(x.radio," input:first-child"));case"range":return i.popup.querySelector(".".concat(x.range," input"));default:return A(i.content,x.input)}},enableButtons:function(){var t=Tt.domCache.get(this);t.confirmButton.disabled=!1,t.cancelButton.disabled=!1},disableButtons:function(){var t=Tt.domCache.get(this);t.confirmButton.disabled=!0,t.cancelButton.disabled=!0},enableConfirmButton:function(){Tt.domCache.get(this).confirmButton.disabled=!1},disableConfirmButton:function(){Tt.domCache.get(this).confirmButton.disabled=!0},enableInput:function(){var t=this.getInput();if(!t)return!1;if("radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),i=0;i<e.length;i++)e[i].disabled=!1;else t.disabled=!1},disableInput:function(){var t=this.getInput();if(!t)return!1;if(t&&"radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),i=0;i<e.length;i++)e[i].disabled=!0;else t.disabled=!0},showValidationMessage:At,resetValidationMessage:Mt,resetValidationError:function(){m("Swal.resetValidationError() is deprecated and will be removed in the next major release, use Swal.resetValidationMessage() instead"),Mt.bind(this)()},showValidationError:function(t){m("Swal.showValidationError() is deprecated and will be removed in the next major release, use Swal.showValidationMessage() instead"),At.bind(this)(t)},getProgressSteps:function(){return Tt.innerParams.get(this).progressSteps},setProgressSteps:function(t){var e=r({},Tt.innerParams.get(this),{progressSteps:t});Tt.innerParams.set(this,e),ot(e)},showProgressSteps:function(){var t=Tt.domCache.get(this);M(t.progressSteps)},hideProgressSteps:function(){var t=Tt.domCache.get(this);D(t.progressSteps)},_main:function(e){var i=this;bt(e);var n=r({},pt,e);!function(e){var i;e.inputValidator||Object.keys(Pt).forEach(function(t){e.input===t&&(e.inputValidator=e.expectRejections?Pt[t]:zt.adaptInputValidator(Pt[t]))}),e.validationMessage&&("object"!==t(e.extraParams)&&(e.extraParams={}),e.extraParams.validationMessage=e.validationMessage),(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(f('Target parameter is not valid, defaulting to "body"'),e.target="body"),"function"==typeof e.animation&&(e.animation=e.animation.call());var n=N(),r="string"==typeof e.target?document.querySelector(e.target):e.target;i=n&&r&&n.parentNode!==r.parentNode?Q(e):n||Q(e),e.width&&(i.style.width="number"==typeof e.width?e.width+"px":e.width),e.padding&&(i.style.padding="number"==typeof e.padding?e.padding+"px":e.padding),e.background&&(i.style.background=e.background);for(var o=window.getComputedStyle(i).getPropertyValue("background-color"),a=i.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),s=0;s<a.length;s++)a[s].style.backgroundColor=o;var l=O(),c=G(),u=Y();if(at(e),it(e),"string"==typeof e.backdrop?O().style.background=e.backdrop:e.backdrop||T([document.documentElement,document.body],x["no-backdrop"]),!e.backdrop&&e.allowOutsideClick&&f('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.position in x?T(l,x[e.position]):(f('The "position" parameter is not valid, defaulting to "center"'),T(l,x.center)),e.grow&&"string"==typeof e.grow){var h="grow-"+e.grow;h in x&&T(l,x[h])}e.showCloseButton?(c.setAttribute("aria-label",e.closeButtonAriaLabel),M(c)):D(c),i.className=x.popup,e.toast?(T([document.documentElement,document.body],x["toast-shown"]),T(i,x.toast)):T(i,x.modal),e.customClass&&T(i,e.customClass),e.customContainerClass&&T(l,e.customContainerClass),ot(e),nt(e),rt(e),et(e),J(e.footer,u),!0===e.animation?E(i,x.noanimation):T(i,x.noanimation),e.showLoaderOnConfirm&&!e.preConfirm&&f("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request")}(n),Object.freeze(n),Tt.innerParams.set(this,n),ut.timeout&&(ut.timeout.stop(),delete ut.timeout),clearTimeout(ut.restoreFocusTimeout);var o={popup:N(),container:O(),content:B(),actions:U(),confirmButton:j(),cancelButton:W(),closeButton:G(),validationMessage:V(),progressSteps:H()};Tt.domCache.set(this,o);var a=this.constructor;return new Promise(function(e,r){var s=function(t){a.closePopup(n.onClose,n.onAfterClose),n.useRejections?e(t):e({value:t})},l=function(t){a.closePopup(n.onClose,n.onAfterClose),n.useRejections?r(t):e({dismiss:t})},c=function(t){a.closePopup(n.onClose,n.onAfterClose),r(t)};n.timer&&(ut.timeout=new Dt(function(){l("timer"),delete ut.timeout},n.timer)),n.input&&setTimeout(function(){var t=i.getInput();t&&C(t)},0);for(var u=function(t){if(n.showLoaderOnConfirm&&a.showLoading(),n.preConfirm){i.resetValidationMessage();var e=Promise.resolve().then(function(){return n.preConfirm(t,n.extraParams)});n.expectRejections?e.then(function(e){return s(e||t)},function(t){i.hideLoading(),t&&i.showValidationMessage(t)}):e.then(function(e){P(o.validationMessage)||!1===e?i.hideLoading():s(e||t)},function(t){return c(t)})}else s(t)},h=function(t){var e=t.target,r=o.confirmButton,s=o.cancelButton,h=r&&(r===e||r.contains(e)),d=s&&(s===e||s.contains(e));switch(t.type){case"click":if(h&&a.isVisible())if(i.disableButtons(),n.input){var f=function(){var t=i.getInput();if(!t)return null;switch(n.input){case"checkbox":return t.checked?1:0;case"radio":return t.checked?t.value:null;case"file":return t.files.length?t.files[0]:null;default:return n.inputAutoTrim?t.value.trim():t.value}}();if(n.inputValidator){i.disableInput();var p=Promise.resolve().then(function(){return n.inputValidator(f,n.extraParams)});n.expectRejections?p.then(function(){i.enableButtons(),i.enableInput(),u(f)},function(t){i.enableButtons(),i.enableInput(),t&&i.showValidationMessage(t)}):p.then(function(t){i.enableButtons(),i.enableInput(),t?i.showValidationMessage(t):u(f)},function(t){return c(t)})}else i.getInput().checkValidity()?u(f):(i.enableButtons(),i.showValidationMessage(n.validationMessage))}else u(!0);else d&&a.isVisible()&&(i.disableButtons(),l(a.DismissReason.cancel))}},g=o.popup.querySelectorAll("button"),m=0;m<g.length;m++)g[m].onclick=h,g[m].onmouseover=h,g[m].onmouseout=h,g[m].onmousedown=h;if(o.closeButton.onclick=function(){l(a.DismissReason.close)},n.toast)o.popup.onclick=function(){n.showConfirmButton||n.showCancelButton||n.showCloseButton||n.input||l(a.DismissReason.close)};else{var b=!1;o.popup.onmousedown=function(){o.container.onmouseup=function(t){o.container.onmouseup=void 0,t.target===o.container&&(b=!0)}},o.container.onmousedown=function(){o.popup.onmouseup=function(t){o.popup.onmouseup=void 0,(t.target===o.popup||o.popup.contains(t.target))&&(b=!0)}},o.container.onclick=function(t){b?b=!1:t.target===o.container&&v(n.allowOutsideClick)&&l(a.DismissReason.backdrop)}}n.reverseButtons?o.confirmButton.parentNode.insertBefore(o.cancelButton,o.confirmButton):o.confirmButton.parentNode.insertBefore(o.confirmButton,o.cancelButton);var L=function(t,e){for(var i=X(n.focusCancel),r=0;r<i.length;r++)return(t+=e)===i.length?t=0:-1===t&&(t=i.length-1),i[t].focus();o.popup.focus()};ut.keydownHandlerAdded&&(ut.keydownTarget.removeEventListener("keydown",ut.keydownHandler,{capture:ut.keydownListenerCapture}),ut.keydownHandlerAdded=!1),n.toast||(ut.keydownHandler=function(t){return function(t,e){if(e.stopKeydownPropagation&&t.stopPropagation(),"Enter"!==t.key||t.isComposing)if("Tab"===t.key){for(var n=t.target,r=X(e.focusCancel),s=-1,c=0;c<r.length;c++)if(n===r[c]){s=c;break}t.shiftKey?L(s,-1):L(s,1),t.stopPropagation(),t.preventDefault()}else-1!==["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"].indexOf(t.key)?document.activeElement===o.confirmButton&&P(o.cancelButton)?o.cancelButton.focus():document.activeElement===o.cancelButton&&P(o.confirmButton)&&o.confirmButton.focus():"Escape"!==t.key&&"Esc"!==t.key||!0!==v(e.allowEscapeKey)||(t.preventDefault(),l(a.DismissReason.esc));else if(t.target&&i.getInput()&&t.target.outerHTML===i.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(e.input))return;a.clickConfirm(),t.preventDefault()}}(t,n)},ut.keydownTarget=n.keydownListenerCapture?window:o.popup,ut.keydownListenerCapture=n.keydownListenerCapture,ut.keydownTarget.addEventListener("keydown",ut.keydownHandler,{capture:ut.keydownListenerCapture}),ut.keydownHandlerAdded=!0),i.enableButtons(),i.hideLoading(),i.resetValidationMessage(),n.toast&&(n.input||n.footer||n.showCloseButton)?T(document.body,x["toast-column"]):E(document.body,x["toast-column"]);for(var w,_,S=["input","file","range","select","radio","checkbox","textarea"],k=function(t){t.placeholder&&!n.inputPlaceholder||(t.placeholder=n.inputPlaceholder)},O=0;O<S.length;O++){var I=x[S[O]],N=A(o.content,I);if(w=i.getInput(S[O])){for(var R in w.attributes)if(w.attributes.hasOwnProperty(R)){var F=w.attributes[R].name;"type"!==F&&"value"!==F&&w.removeAttribute(F)}for(var B in n.inputAttributes)"range"===S[O]&&"placeholder"===B||w.setAttribute(B,n.inputAttributes[B])}N.className=I,n.inputClass&&T(N,n.inputClass),D(N)}switch(n.input){case"text":case"email":case"password":case"number":case"tel":case"url":w=A(o.content,x.input),"string"==typeof n.inputValue||"number"==typeof n.inputValue?w.value=n.inputValue:y(n.inputValue)||f('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(t(n.inputValue),'"')),k(w),w.type=n.input,M(w);break;case"file":k(w=A(o.content,x.file)),w.type=n.input,M(w);break;case"range":var z=A(o.content,x.range),H=z.querySelector("input"),V=z.querySelector("output");H.value=n.inputValue,H.type=n.input,V.value=n.inputValue,M(z);break;case"select":var j=A(o.content,x.select);if(j.innerHTML="",n.inputPlaceholder){var W=document.createElement("option");W.innerHTML=n.inputPlaceholder,W.value="",W.disabled=!0,W.selected=!0,j.appendChild(W)}_=function(t){t.forEach(function(t){var e=t[0],i=t[1],r=document.createElement("option");r.value=e,r.innerHTML=i,n.inputValue.toString()===e.toString()&&(r.selected=!0),j.appendChild(r)}),M(j),j.focus()};break;case"radio":var U=A(o.content,x.radio);U.innerHTML="",_=function(t){t.forEach(function(t){var e=t[0],i=t[1],r=document.createElement("input"),o=document.createElement("label");r.type="radio",r.name=x.radio,r.value=e,n.inputValue.toString()===e.toString()&&(r.checked=!0);var a=document.createElement("span");a.innerHTML=i,a.className=x.label,o.appendChild(r),o.appendChild(a),U.appendChild(o)}),M(U);var e=U.querySelectorAll("input");e.length&&e[0].focus()};break;case"checkbox":var Y=A(o.content,x.checkbox),G=i.getInput("checkbox");G.type="checkbox",G.value=1,G.id=x.checkbox,G.checked=Boolean(n.inputValue),Y.querySelector("span").innerHTML=n.inputPlaceholder,M(Y);break;case"textarea":var q=A(o.content,x.textarea);q.value=n.inputValue,k(q),M(q);break;case null:break;default:p('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(n.input,'"'))}if("select"===n.input||"radio"===n.input){var $=function(t){return _(d(t))};y(n.inputOptions)?(a.showLoading(),n.inputOptions.then(function(t){i.hideLoading(),$(t)})):"object"===t(n.inputOptions)?$(n.inputOptions):p("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(t(n.inputOptions)))}else-1!==["text","email","number","tel","textarea"].indexOf(n.input)&&y(n.inputValue)&&(a.showLoading(),D(w),n.inputValue.then(function(t){w.value="number"===n.input?parseFloat(t)||0:t+"",M(w),w.focus(),i.hideLoading()}).catch(function(t){p("Error in inputValue promise: "+t),w.value="",M(w),w.focus(),i.hideLoading()}));Ot(n),n.toast||(v(n.allowEnterKey)?n.focusCancel&&P(o.cancelButton)?o.cancelButton.focus():n.focusConfirm&&P(o.confirmButton)?o.confirmButton.focus():L(-1,1):document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()),o.container.scrollTop=0})}});function Rt(){if("undefined"!=typeof window){"undefined"==typeof Promise&&p("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),It=this;for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var n=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:n,writable:!1,enumerable:!0}});var r=this._main(this.params);Tt.promise.set(this,r)}}Rt.prototype.then=function(t,e){return Tt.promise.get(this).then(t,e)},Rt.prototype.catch=function(t){return Tt.promise.get(this).catch(t)},Rt.prototype.finally=function(t){return Tt.promise.get(this).finally(t)},r(Rt.prototype,Nt),r(Rt,St),Object.keys(Nt).forEach(function(t){Rt[t]=function(){var e;if(It)return(e=It)[t].apply(e,arguments)}}),Rt.DismissReason=b,Rt.noop=function(){};var Ft,Bt,zt=ft((Ft=Rt,Bt=function(i){function s(){return e(this,s),c(this,a(s).apply(this,arguments))}return o(s,Ft),n(s,[{key:"_main",value:function(t){return u(a(s.prototype),"_main",this).call(this,r({},xt,t))}}],[{key:"setDefaults",value:function(e){if(m(Lt),!e||"object"!==t(e))throw new TypeError("SweetAlert2: The argument for setDefaults() is required and has to be a object");bt(e),Object.keys(e).forEach(function(t){Ft.isValidParameter(t)&&(xt[t]=e[t])})}},{key:"resetDefaults",value:function(){m(Lt),xt={}}}]),s}(),"undefined"!=typeof window&&"object"===t(window._swalDefaults)&&Bt.setDefaults(window._swalDefaults),Bt));return zt.default=zt,zt}),"undefined"!=typeof window&&window.Sweetalert2&&(window.Sweetalert2.version="7.33.1",window.swal=window.sweetAlert=window.Swal=window.SweetAlert=window.Sweetalert2),"undefined"!=typeof document&&function(t,e){var i=t.createElement("style");if(t.getElementsByTagName("head")[0].appendChild(i),i.styleSheet)i.styleSheet.disabled||(i.styleSheet.cssText=e);else try{i.innerHTML=e}catch(t){i.innerText=e}}(document,"@-webkit-keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes swal2-show{0%{-webkit-transform:scale(.7);transform:scale(.7)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(.5);transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.875em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}100%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}50%{margin-top:1.625em;-webkit-transform:scale(.4);transform:scale(.4);opacity:0}80%{margin-top:-.375em;-webkit-transform:scale(1.15);transform:scale(1.15)}100%{margin-top:0;-webkit-transform:scale(1);transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}100%{-webkit-transform:rotateX(0);transform:rotateX(0);opacity:1}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-shown{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;box-shadow:0 0 .625em #d9d9d9;overflow-y:hidden}.swal2-popup.swal2-toast .swal2-header{flex-direction:row}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:initial;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon-text{font-size:2em;font-weight:700;line-height:1em}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 .0625em #fff,0 0 0 .125em rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:2em;height:2.8125em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.25em;left:-.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:2em 2em;transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;-webkit-transform-origin:0 2em;transform-origin:0 2em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:showSweetToast .5s;animation:showSweetToast .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:hideSweetToast .2s forwards;animation:hideSweetToast .2s forwards}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:animate-toast-success-tip .75s;animation:animate-toast-success-tip .75s}.swal2-popup.swal2-toast .swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:animate-toast-success-long .75s;animation:animate-toast-success-long .75s}@-webkit-keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@keyframes showSweetToast{0%{-webkit-transform:translateY(-.625em) rotateZ(2deg);transform:translateY(-.625em) rotateZ(2deg);opacity:0}33%{-webkit-transform:translateY(0) rotateZ(-2deg);transform:translateY(0) rotateZ(-2deg);opacity:.5}66%{-webkit-transform:translateY(.3125em) rotateZ(2deg);transform:translateY(.3125em) rotateZ(2deg);opacity:.7}100%{-webkit-transform:translateY(0) rotateZ(0);transform:translateY(0) rotateZ(0);opacity:1}}@-webkit-keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@keyframes hideSweetToast{0%{opacity:1}33%{opacity:.5}100%{-webkit-transform:rotateZ(1deg);transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes animate-toast-success-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes animate-toast-success-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-shown{top:auto;right:auto;bottom:auto;left:auto;background-color:transparent}body.swal2-no-backdrop .swal2-shown>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-shown.swal2-top{top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-top-left,body.swal2-no-backdrop .swal2-shown.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-top-end,body.swal2-no-backdrop .swal2-shown.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-shown.swal2-center{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-left,body.swal2-no-backdrop .swal2-shown.swal2-center-start{top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-center-end,body.swal2-no-backdrop .swal2-shown.swal2-center-right{top:50%;right:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}body.swal2-no-backdrop .swal2-shown.swal2-bottom-left,body.swal2-no-backdrop .swal2-shown.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-shown.swal2-bottom-end,body.swal2-no-backdrop .swal2-shown.swal2-bottom-right{right:0;bottom:0}.swal2-container{display:flex;position:fixed;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:10px;background-color:transparent;z-index:1060;overflow-x:hidden;-webkit-overflow-scrolling:touch}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-container.swal2-fade{transition:background-color .1s}.swal2-container.swal2-shown{background-color:rgba(0,0,0,.4)}.swal2-popup{display:none;position:relative;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem;box-sizing:border-box}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-popup .swal2-header{display:flex;flex-direction:column;align-items:center}.swal2-popup .swal2-title{display:block;position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-popup .swal2-actions{flex-wrap:wrap;align-items:center;justify-content:center;margin:1.25em auto 0;z-index:1}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-popup .swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-confirm{width:2.5em;height:2.5em;margin:.46875em;padding:0;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent;cursor:default;box-sizing:border-box;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-popup .swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-popup .swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{display:inline-block;width:15px;height:15px;margin-left:5px;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff;content:'';-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal}.swal2-popup .swal2-styled{margin:.3125em;padding:.625em 2em;font-weight:500;box-shadow:none}.swal2-popup .swal2-styled:not([disabled]){cursor:pointer}.swal2-popup .swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-popup .swal2-styled:focus{outline:0;box-shadow:0 0 0 2px #fff,0 0 0 4px rgba(50,100,150,.4)}.swal2-popup .swal2-styled::-moz-focus-inner{border:0}.swal2-popup .swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-popup .swal2-image{max-width:100%;margin:1.25em auto}.swal2-popup .swal2-close{position:absolute;top:0;right:0;justify-content:center;width:1.2em;height:1.2em;padding:0;transition:color .1s ease-out;border:none;border-radius:0;outline:initial;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer;overflow:hidden}.swal2-popup .swal2-close:hover{-webkit-transform:none;transform:none;color:#f27474}.swal2-popup>.swal2-checkbox,.swal2-popup>.swal2-file,.swal2-popup>.swal2-input,.swal2-popup>.swal2-radio,.swal2-popup>.swal2-select,.swal2-popup>.swal2-textarea{display:none}.swal2-popup .swal2-content{justify-content:center;margin:0;padding:0;color:#545454;font-size:1.125em;font-weight:300;line-height:normal;z-index:1;word-wrap:break-word}.swal2-popup #swal2-content{text-align:center}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-radio,.swal2-popup .swal2-select,.swal2-popup .swal2-textarea{margin:1em auto}.swal2-popup .swal2-file,.swal2-popup .swal2-input,.swal2-popup .swal2-textarea{width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;font-size:1.125em;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);box-sizing:border-box}.swal2-popup .swal2-file.swal2-inputerror,.swal2-popup .swal2-input.swal2-inputerror,.swal2-popup .swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-popup .swal2-file:focus,.swal2-popup .swal2-input:focus,.swal2-popup .swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-popup .swal2-file::-webkit-input-placeholder,.swal2-popup .swal2-input::-webkit-input-placeholder,.swal2-popup .swal2-textarea::-webkit-input-placeholder{color:#ccc}.swal2-popup .swal2-file:-ms-input-placeholder,.swal2-popup .swal2-input:-ms-input-placeholder,.swal2-popup .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::-ms-input-placeholder,.swal2-popup .swal2-input::-ms-input-placeholder,.swal2-popup .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-popup .swal2-file::placeholder,.swal2-popup .swal2-input::placeholder,.swal2-popup .swal2-textarea::placeholder{color:#ccc}.swal2-popup .swal2-range input{width:80%}.swal2-popup .swal2-range output{width:20%;font-weight:600;text-align:center}.swal2-popup .swal2-range input,.swal2-popup .swal2-range output{height:2.625em;margin:1em auto;padding:0;font-size:1.125em;line-height:2.625em}.swal2-popup .swal2-input{height:2.625em;padding:0 .75em}.swal2-popup .swal2-input[type=number]{max-width:10em}.swal2-popup .swal2-file{font-size:1.125em}.swal2-popup .swal2-textarea{height:6.75em;padding:.75em}.swal2-popup .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;color:#545454;font-size:1.125em}.swal2-popup .swal2-checkbox,.swal2-popup .swal2-radio{align-items:center;justify-content:center}.swal2-popup .swal2-checkbox label,.swal2-popup .swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-popup .swal2-checkbox input,.swal2-popup .swal2-radio input{margin:0 .4em}.swal2-popup .swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;background:#f0f0f0;color:#666;font-size:1em;font-weight:300;overflow:hidden}.swal2-popup .swal2-validation-message::before{display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center;content:'!';zoom:normal}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}.swal2-icon{position:relative;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;line-height:5em;cursor:default;box-sizing:content-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;zoom:normal}.swal2-icon-text{font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:3.75em 3.75em;transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 3.75em;transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;top:-.25em;left:-.25em;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%;z-index:2;box-sizing:content-box}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;top:.5em;left:1.625em;width:.4375em;height:5.625em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);z-index:1}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;height:.3125em;border-radius:.125em;background-color:#a5dc86;z-index:2}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.875em;width:1.5625em;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal2-progresssteps{align-items:center;margin:0 0 1.25em;padding:0;font-weight:600}.swal2-progresssteps li{display:inline-block;position:relative}.swal2-progresssteps .swal2-progresscircle{width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center;z-index:20}.swal2-progresssteps .swal2-progresscircle:first-child{margin-left:0}.swal2-progresssteps .swal2-progresscircle:last-child{margin-right:0}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep{background:#3085d6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progresscircle{background:#add8e6}.swal2-progresssteps .swal2-progresscircle.swal2-activeprogressstep~.swal2-progressline{background:#add8e6}.swal2-progresssteps .swal2-progressline{width:2.5em;height:.4em;margin:0 -1px;background:#3085d6;z-index:10}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-show.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-hide.swal2-noanimation{-webkit-animation:none;animation:none}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-animate-success-icon .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-animate-success-icon .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-animate-success-icon .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-animate-error-icon{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-animate-error-icon .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}@-webkit-keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:initial!important}}"),("function"==typeof define&&define.amd?define:function(t,e){"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):window.toastr=e(window.jQuery)})(["jquery"],function(t){return function(){function e(e,i){return e||(e=a()),(l=t("#"+e.containerId)).length?l:(i&&(l=function(e){return(l=t("<div/>").attr("id",e.containerId).addClass(e.positionClass)).appendTo(t(e.target)),l}(e)),l)}function i(e){for(var i=l.children(),r=i.length-1;r>=0;r--)n(t(i[r]),e)}function n(e,i,n){var r=!(!n||!n.force)&&n.force;return!(!e||!r&&0!==t(":focus",e).length||(e[i.hideMethod]({duration:i.hideDuration,easing:i.hideEasing,complete:function(){s(e)}}),0))}function r(t){c&&c(t)}function o(i){function n(t){return null==t&&(t=""),t.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function o(e){var i=e&&!1!==p.closeMethod?p.closeMethod:p.hideMethod,n=e&&!1!==p.closeDuration?p.closeDuration:p.hideDuration,o=e&&!1!==p.closeEasing?p.closeEasing:p.hideEasing;if(!t(":focus",v).length||e)return clearTimeout(w.intervalId),v[i]({duration:n,easing:o,complete:function(){s(v),clearTimeout(m),p.onHidden&&"hidden"!==_.state&&p.onHidden(),_.state="hidden",_.endTime=new Date,r(_)}})}function c(){(p.timeOut>0||p.extendedTimeOut>0)&&(m=setTimeout(o,p.extendedTimeOut),w.maxHideTime=parseFloat(p.extendedTimeOut),w.hideEta=(new Date).getTime()+w.maxHideTime)}function d(){clearTimeout(m),w.hideEta=0,v.stop(!0,!0)[p.showMethod]({duration:p.showDuration,easing:p.showEasing})}function f(){var t=(w.hideEta-(new Date).getTime())/w.maxHideTime*100;L.width(t+"%")}var p=a(),g=i.iconClass||p.iconClass;if(void 0!==i.optionsOverride&&(p=t.extend(p,i.optionsOverride),g=i.optionsOverride.iconClass||g),!function(t,e){if(t.preventDuplicates){if(e.message===u)return!0;u=e.message}return!1}(p,i)){h++,l=e(p,!0);var m=null,v=t("<div/>"),y=t("<div/>"),b=t("<div/>"),L=t("<div/>"),x=t(p.closeHtml),w={intervalId:null,hideEta:null,maxHideTime:null},_={toastId:h,state:"visible",startTime:new Date,options:p,map:i};return i.iconClass&&v.addClass(p.toastClass).addClass(g),function(){if(i.title){var t=i.title;p.escapeHtml&&(t=n(i.title)),y.append(t).addClass(p.titleClass),v.append(y)}}(),function(){if(i.message){var t=i.message;p.escapeHtml&&(t=n(i.message)),b.append(t).addClass(p.messageClass),v.append(b)}}(),p.closeButton&&(x.addClass(p.closeClass).attr("role","button"),v.prepend(x)),p.progressBar&&(L.addClass(p.progressClass),v.prepend(L)),p.rtl&&v.addClass("rtl"),p.newestOnTop?l.prepend(v):l.append(v),function(){var t="";switch(i.iconClass){case"toast-success":case"toast-info":t="polite";break;default:t="assertive"}v.attr("aria-live",t)}(),v.hide(),v[p.showMethod]({duration:p.showDuration,easing:p.showEasing,complete:p.onShown}),p.timeOut>0&&(m=setTimeout(o,p.timeOut),w.maxHideTime=parseFloat(p.timeOut),w.hideEta=(new Date).getTime()+w.maxHideTime,p.progressBar&&(w.intervalId=setInterval(f,10))),p.closeOnHover&&v.hover(d,c),!p.onclick&&p.tapToDismiss&&v.click(o),p.closeButton&&x&&x.click(function(t){t.stopPropagation?t.stopPropagation():void 0!==t.cancelBubble&&!0!==t.cancelBubble&&(t.cancelBubble=!0),p.onCloseClick&&p.onCloseClick(t),o(!0)}),p.onclick&&v.click(function(t){p.onclick(t),o()}),r(_),p.debug&&console&&console.log(_),v}}function a(){return t.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},f.options)}function s(t){l||(l=e()),t.is(":visible")||(t.remove(),t=null,0===l.children().length&&(l.remove(),u=void 0))}var l,c,u,h=0,d={error:"error",info:"info",success:"success",warning:"warning"},f={clear:function(t,r){var o=a();l||e(o),n(t,o,r)||i(o)},remove:function(i){var n=a();return l||e(n),i&&0===t(":focus",i).length?void s(i):void(l.children().length&&l.remove())},error:function(t,e,i){return o({type:d.error,iconClass:a().iconClasses.error,message:t,optionsOverride:i,title:e})},getContainer:e,info:function(t,e,i){return o({type:d.info,iconClass:a().iconClasses.info,message:t,optionsOverride:i,title:e})},options:{},subscribe:function(t){c=t},success:function(t,e,i){return o({type:d.success,iconClass:a().iconClasses.success,message:t,optionsOverride:i,title:e})},version:"2.1.4",warning:function(t,e,i){return o({type:d.warning,iconClass:a().iconClasses.warning,message:t,optionsOverride:i,title:e})}};return f}()}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(t,e){function i(){return new Date(Date.UTC.apply(Date,arguments))}function n(){var t=new Date;return i(t.getFullYear(),t.getMonth(),t.getDate())}function r(t,e){return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t.getUTCDate()===e.getUTCDate()}function o(i,n){return function(){return n!==e&&t.fn.datepicker.deprecated(n),this[i].apply(this,arguments)}}var a,s=(a={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),i=0,n=this.length;i<n;i++)if(0<=this[i].valueOf()-e&&this[i].valueOf()-e<864e5)return i;return-1},remove:function(t){this.splice(t,1)},replace:function(e){e&&(t.isArray(e)||(e=[e]),this.clear(),this.push.apply(this,e))},clear:function(){this.length=0},copy:function(){var t=new s;return t.replace(this),t}},function(){var e=[];return e.push.apply(e,arguments),t.extend(e,a),e}),l=function(e,i){t.data(e,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(i),this.dates=new s,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=t(e),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=t(g.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(t,e){return Number(e)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()};l.prototype={constructor:l,_resolveViewName:function(e){return t.each(g.viewModes,function(i,n){if(e===i||-1!==t.inArray(e,n.names))return e=i,!1}),e},_resolveDaysOfWeek:function(e){return t.isArray(e)||(e=e.split(/[,\s]*/)),t.map(e,Number)},_check_template:function(i){try{return i!==e&&""!==i&&((i.match(/[<>]/g)||[]).length<=0||t(i).length>0)}catch(t){return!1}},_process_options:function(e){this._o=t.extend({},this._o,e);var r=this.o=t.extend({},this._o),o=r.language;p[o]||(o=o.split("-")[0],p[o]||(o=d.language)),r.language=o,r.startView=this._resolveViewName(r.startView),r.minViewMode=this._resolveViewName(r.minViewMode),r.maxViewMode=this._resolveViewName(r.maxViewMode),r.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,r.startView)),!0!==r.multidate&&(r.multidate=Number(r.multidate)||!1,!1!==r.multidate&&(r.multidate=Math.max(0,r.multidate))),r.multidateSeparator=String(r.multidateSeparator),r.weekStart%=7,r.weekEnd=(r.weekStart+6)%7;var a=g.parseFormat(r.format);r.startDate!==-1/0&&(r.startDate?r.startDate instanceof Date?r.startDate=this._local_to_utc(this._zero_time(r.startDate)):r.startDate=g.parseDate(r.startDate,a,r.language,r.assumeNearbyYear):r.startDate=-1/0),r.endDate!==1/0&&(r.endDate?r.endDate instanceof Date?r.endDate=this._local_to_utc(this._zero_time(r.endDate)):r.endDate=g.parseDate(r.endDate,a,r.language,r.assumeNearbyYear):r.endDate=1/0),r.daysOfWeekDisabled=this._resolveDaysOfWeek(r.daysOfWeekDisabled||[]),r.daysOfWeekHighlighted=this._resolveDaysOfWeek(r.daysOfWeekHighlighted||[]),r.datesDisabled=r.datesDisabled||[],t.isArray(r.datesDisabled)||(r.datesDisabled=r.datesDisabled.split(",")),r.datesDisabled=t.map(r.datesDisabled,function(t){return g.parseDate(t,a,r.language,r.assumeNearbyYear)});var s=String(r.orientation).toLowerCase().split(/\s+/g),l=r.orientation.toLowerCase();if(s=t.grep(s,function(t){return/^auto|left|right|top|bottom$/.test(t)}),r.orientation={x:"auto",y:"auto"},l&&"auto"!==l)if(1===s.length)switch(s[0]){case"top":case"bottom":r.orientation.y=s[0];break;case"left":case"right":r.orientation.x=s[0]}else l=t.grep(s,function(t){return/^left|right$/.test(t)}),r.orientation.x=l[0]||"auto",l=t.grep(s,function(t){return/^top|bottom$/.test(t)}),r.orientation.y=l[0]||"auto";else;if(r.defaultViewDate instanceof Date||"string"==typeof r.defaultViewDate)r.defaultViewDate=g.parseDate(r.defaultViewDate,a,r.language,r.assumeNearbyYear);else if(r.defaultViewDate){var c=r.defaultViewDate.year||(new Date).getFullYear(),u=r.defaultViewDate.month||0,h=r.defaultViewDate.day||1;r.defaultViewDate=i(c,u,h)}else r.defaultViewDate=n()},_applyEvents:function(t){for(var i,n,r,o=0;o<t.length;o++)i=t[o][0],2===t[o].length?(n=e,r=t[o][1]):3===t[o].length&&(n=t[o][1],r=t[o][2]),i.on(r,n)},_unapplyEvents:function(t){for(var i,n,r,o=0;o<t.length;o++)i=t[o][0],2===t[o].length?(r=e,n=t[o][1]):3===t[o].length&&(r=t[o][1],n=t[o][2]),i.off(n,r)},_buildEvents:function(){var e={keyup:t.proxy(function(e){-1===t.inArray(e.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:t.proxy(this.keydown,this),paste:t.proxy(this.paste,this)};!0===this.o.showOnFocus&&(e.focus=t.proxy(this.show,this)),this.isInput?this._events=[[this.element,e]]:this.component&&this.inputField.length?this._events=[[this.inputField,e],[this.component,{click:t.proxy(this.show,this)}]]:this._events=[[this.element,{click:t.proxy(this.show,this),keydown:t.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:t.proxy(function(t){this._focused_from=t.target},this)}],[this.element,{blur:t.proxy(function(t){this._focused_from=t.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":t.proxy(function(t){this.update(t.date)},this)}]),this._secondaryEvents=[[this.picker,{click:t.proxy(this.click,this)}],[this.picker,".prev, .next",{click:t.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:t.proxy(this.dayCellClick,this)}],[t(window),{resize:t.proxy(this.place,this)}],[t(document),{"mousedown touchstart":t.proxy(function(t){this.element.is(t.target)||this.element.find(t.target).length||this.picker.is(t.target)||this.picker.find(t.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(e,i){var n=i||this.dates.get(-1),r=this._utc_to_local(n);this.element.trigger({type:e,date:r,viewMode:this.viewMode,dates:t.map(this.dates,this._utc_to_local),format:t.proxy(function(t,e){0===arguments.length?(t=this.dates.length-1,e=this.o.format):"string"==typeof t&&(e=t,t=this.dates.length-1),e=e||this.o.format;var i=this.dates.get(t);return g.formatDate(i,e,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&t(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),this)},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(e){var i;if(e.originalEvent.clipboardData&&e.originalEvent.clipboardData.types&&-1!==t.inArray("text/plain",e.originalEvent.clipboardData.types))i=e.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;i=window.clipboardData.getData("Text")}this.setDate(i),this.update(),e.preventDefault()},_utc_to_local:function(t){if(!t)return t;var e=new Date(t.getTime()+6e4*t.getTimezoneOffset());return e.getTimezoneOffset()!==t.getTimezoneOffset()&&(e=new Date(t.getTime()+6e4*e.getTimezoneOffset())),e},_local_to_utc:function(t){return t&&new Date(t.getTime()-6e4*t.getTimezoneOffset())},_zero_time:function(t){return t&&new Date(t.getFullYear(),t.getMonth(),t.getDate())},_zero_utc_time:function(t){return t&&i(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())},getDates:function(){return t.map(this.dates,this._utc_to_local)},getUTCDates:function(){return t.map(this.dates,function(t){return new Date(t)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var t=this.dates.get(-1);return t!==e?new Date(t):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,e),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,t.map(e,this._utc_to_local)),this},setDate:o("setDates"),setUTCDate:o("setUTCDates"),remove:o("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var t=this.getFormattedDate();return this.inputField.val(t),this},getFormattedDate:function(i){i===e&&(i=this.o.format);var n=this.o.language;return t.map(this.dates,function(t){return g.formatDate(t,i,n)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(t){return this._process_options({startDate:t}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(t){return this._process_options({endDate:t}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(t){return this._process_options({daysOfWeekDisabled:t}),this.update(),this},setDaysOfWeekHighlighted:function(t){return this._process_options({daysOfWeekHighlighted:t}),this.update(),this},setDatesDisabled:function(t){return this._process_options({datesDisabled:t}),this.update(),this},place:function(){if(this.isInline)return this;var e=this.picker.outerWidth(),i=this.picker.outerHeight(),n=t(this.o.container),r=n.width(),o="body"===this.o.container?t(document).scrollTop():n.scrollTop(),a=n.offset(),s=[0];this.element.parents().each(function(){var e=t(this).css("z-index");"auto"!==e&&0!==Number(e)&&s.push(Number(e))});var l=Math.max.apply(Math,s)+this.o.zIndexOffset,c=this.component?this.component.parent().offset():this.element.offset(),u=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),h=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),d=c.left-a.left,f=c.top-a.top;"body"!==this.o.container&&(f+=o),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(d-=e-h)):c.left<0?(this.picker.addClass("datepicker-orient-left"),d-=c.left-10):d+e>r?(this.picker.addClass("datepicker-orient-right"),d+=h-e):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var p=this.o.orientation.y;if("auto"===p&&(p=-o+f-i<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+p),"top"===p?f-=i+parseInt(this.picker.css("padding-top")):f+=u,this.o.rtl){var g=r-(d+h);this.picker.css({top:f,right:g,zIndex:l})}else this.picker.css({top:f,left:d,zIndex:l});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var e=this.dates.copy(),i=[],n=!1;return arguments.length?(t.each(arguments,t.proxy(function(t,e){e instanceof Date&&(e=this._local_to_utc(e)),i.push(e)},this)),n=!0):(i=(i=this.isInput?this.element.val():this.element.data("date")||this.inputField.val())&&this.o.multidate?i.split(this.o.multidateSeparator):[i],delete this.element.data().date),i=t.map(i,t.proxy(function(t){return g.parseDate(t,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),i=t.grep(i,t.proxy(function(t){return!this.dateWithinRange(t)||!t},this),!0),this.dates.replace(i),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),n?(this.setValue(),this.element.change()):this.dates.length&&String(e)!==String(this.dates)&&n&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&e.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var e=this.o.weekStart,i="<tr>";for(this.o.calendarWeeks&&(i+='<th class="cw">&#160;</th>');e<this.o.weekStart+7;)i+='<th class="dow',-1!==t.inArray(e,this.o.daysOfWeekDisabled)&&(i+=" disabled"),i+='">'+p[this.o.language].daysMin[e++%7]+"</th>";i+="</tr>",this.picker.find(".datepicker-days thead").append(i)}},fillMonths:function(){for(var t=this._utc_to_local(this.viewDate),e="",i=0;i<12;i++)e+='<span class="month'+(t&&t.getMonth()===i?" focused":"")+'">'+p[this.o.language].monthsShort[i]+"</span>";this.picker.find(".datepicker-months td").html(e)},setRange:function(e){e&&e.length?this.range=t.map(e,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(e){var i=[],o=this.viewDate.getUTCFullYear(),a=this.viewDate.getUTCMonth(),s=n();return e.getUTCFullYear()<o||e.getUTCFullYear()===o&&e.getUTCMonth()<a?i.push("old"):(e.getUTCFullYear()>o||e.getUTCFullYear()===o&&e.getUTCMonth()>a)&&i.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&i.push("focused"),this.o.todayHighlight&&r(e,s)&&i.push("today"),-1!==this.dates.contains(e)&&i.push("active"),this.dateWithinRange(e)||i.push("disabled"),this.dateIsDisabled(e)&&i.push("disabled","disabled-date"),-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&i.push("highlighted"),this.range&&(e>this.range[0]&&e<this.range[this.range.length-1]&&i.push("range"),-1!==t.inArray(e.valueOf(),this.range)&&i.push("selected"),e.valueOf()===this.range[0]&&i.push("range-start"),e.valueOf()===this.range[this.range.length-1]&&i.push("range-end")),i},_fill_yearsView:function(i,n,r,o,a,s,l){for(var c,u,h,d="",f=r/10,p=this.picker.find(i),g=Math.floor(o/r)*r,m=g+9*f,v=Math.floor(this.viewDate.getFullYear()/f)*f,y=t.map(this.dates,function(t){return Math.floor(t.getUTCFullYear()/f)*f}),b=g-f;b<=m+f;b+=f)c=[n],u=null,b===g-f?c.push("old"):b===m+f&&c.push("new"),-1!==t.inArray(b,y)&&c.push("active"),(b<a||b>s)&&c.push("disabled"),b===v&&c.push("focused"),l!==t.noop&&((h=l(new Date(b,0,1)))===e?h={}:"boolean"==typeof h?h={enabled:h}:"string"==typeof h&&(h={classes:h}),!1===h.enabled&&c.push("disabled"),h.classes&&(c=c.concat(h.classes.split(/\s+/))),h.tooltip&&(u=h.tooltip)),d+='<span class="'+c.join(" ")+'"'+(u?' title="'+u+'"':"")+">"+b+"</span>";p.find(".datepicker-switch").text(g+"-"+m),p.find("td").html(d)},fill:function(){var r,o,a=new Date(this.viewDate),s=a.getUTCFullYear(),l=a.getUTCMonth(),c=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,u=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,d=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,f=p[this.o.language].today||p.en.today||"",m=p[this.o.language].clear||p.en.clear||"",v=p[this.o.language].titleFormat||p.en.titleFormat,y=n(),b=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&y>=this.o.startDate&&y<=this.o.endDate&&!this.weekOfDateIsDisabled(y);if(!isNaN(s)&&!isNaN(l)){this.picker.find(".datepicker-days .datepicker-switch").text(g.formatDate(a,v,this.o.language)),this.picker.find("tfoot .today").text(f).css("display",b?"table-cell":"none"),this.picker.find("tfoot .clear").text(m).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var L=i(s,l,0),x=L.getUTCDate();L.setUTCDate(x-(L.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(L);L.getUTCFullYear()<100&&w.setUTCFullYear(L.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var _,S,C=[];L.valueOf()<w;){if((_=L.getUTCDay())===this.o.weekStart&&(C.push("<tr>"),this.o.calendarWeeks)){var k=new Date(+L+(this.o.weekStart-_-7)%7*864e5),T=new Date(Number(k)+(11-k.getUTCDay())%7*864e5),E=new Date(Number(E=i(T.getUTCFullYear(),0,1))+(11-E.getUTCDay())%7*864e5),A=(T-E)/864e5/7+1;C.push('<td class="cw">'+A+"</td>")}(S=this.getClassNames(L)).push("day");var M=L.getUTCDate();this.o.beforeShowDay!==t.noop&&((o=this.o.beforeShowDay(this._utc_to_local(L)))===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1===o.enabled&&S.push("disabled"),o.classes&&(S=S.concat(o.classes.split(/\s+/))),o.tooltip&&(r=o.tooltip),o.content&&(M=o.content)),S=t.isFunction(t.uniqueSort)?t.uniqueSort(S):t.unique(S),C.push('<td class="'+S.join(" ")+'"'+(r?' title="'+r+'"':"")+' data-date="'+L.getTime().toString()+'">'+M+"</td>"),r=null,_===this.o.weekEnd&&C.push("</tr>"),L.setUTCDate(L.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(C.join(""));var D=p[this.o.language].monthsTitle||p.en.monthsTitle||"Months",P=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?D:s).end().find("tbody span").removeClass("active");if(t.each(this.dates,function(t,e){e.getUTCFullYear()===s&&P.eq(e.getUTCMonth()).addClass("active")}),(s<c||s>h)&&P.addClass("disabled"),s===c&&P.slice(0,u).addClass("disabled"),s===h&&P.slice(d+1).addClass("disabled"),this.o.beforeShowMonth!==t.noop){var O=this;t.each(P,function(i,n){var r=new Date(s,i,1),o=O.o.beforeShowMonth(r);o===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1!==o.enabled||t(n).hasClass("disabled")||t(n).addClass("disabled"),o.classes&&t(n).addClass(o.classes),o.tooltip&&t(n).prop("title",o.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,s,c,h,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,s,c,h,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,s,c,h,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var t,e,i=new Date(this.viewDate),n=i.getUTCFullYear(),r=i.getUTCMonth(),o=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,a=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,s=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,c=1;switch(this.viewMode){case 4:c*=10;case 3:c*=10;case 2:c*=10;case 1:t=Math.floor(n/c)*c<=o,e=Math.floor(n/c)*c+c>s;break;case 0:t=n<=o&&r<=a,e=n>=s&&r>=l}this.picker.find(".prev").toggleClass("disabled",t),this.picker.find(".next").toggleClass("disabled",e)}},click:function(e){var r,o,a;e.preventDefault(),e.stopPropagation(),(r=t(e.target)).hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),r.hasClass("today")&&!r.hasClass("day")&&(this.setViewMode(0),this._setDate(n(),"linked"===this.o.todayBtn?null:"view")),r.hasClass("clear")&&this.clearDates(),r.hasClass("disabled")||(r.hasClass("month")||r.hasClass("year")||r.hasClass("decade")||r.hasClass("century"))&&(this.viewDate.setUTCDate(1),1,1===this.viewMode?(a=r.parent().find("span").index(r),o=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(a)):(a=0,o=Number(r.text()),this.viewDate.setUTCFullYear(o)),this._trigger(g.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(i(o,a,1)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(e){var i=t(e.currentTarget).data("date"),n=new Date(i);this.o.updateViewDate&&(n.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),n.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(n)},navArrowsClick:function(e){var i=t(e.currentTarget).hasClass("prev")?-1:1;0!==this.viewMode&&(i*=12*g.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,i),this._trigger(g.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(t){var e=this.dates.contains(t);if(t||this.dates.clear(),-1!==e?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(e):!1===this.o.multidate?(this.dates.clear(),this.dates.push(t)):this.dates.push(t),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(t,e){e&&"date"!==e||this._toggle_multidate(t&&new Date(t)),(!e&&this.o.updateViewDate||"view"===e)&&(this.viewDate=t&&new Date(t)),this.fill(),this.setValue(),e&&"view"===e||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||e&&"date"!==e||this.hide()},moveDay:function(t,e){var i=new Date(t);return i.setUTCDate(t.getUTCDate()+e),i},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!(i=t)||isNaN(i.getTime()))return this.o.defaultViewDate;var i;if(!e)return t;var n,r,o=new Date(t.valueOf()),a=o.getUTCDate(),s=o.getUTCMonth(),l=Math.abs(e);if(e=e>0?1:-1,1===l)r=-1===e?function(){return o.getUTCMonth()===s}:function(){return o.getUTCMonth()!==n},n=s+e,o.setUTCMonth(n),n=(n+12)%12;else{for(var c=0;c<l;c++)o=this.moveMonth(o,e);n=o.getUTCMonth(),o.setUTCDate(a),r=function(){return n!==o.getUTCMonth()}}for(;r();)o.setUTCDate(--a),o.setUTCMonth(n);return o},moveYear:function(t,e){return this.moveMonth(t,12*e)},moveAvailableDate:function(t,e,i){do{if(t=this[i](t,e),!this.dateWithinRange(t))return!1;i="moveDay"}while(this.dateIsDisabled(t));return t},weekOfDateIsDisabled:function(e){return-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(e){return this.weekOfDateIsDisabled(e)||t.grep(this.o.datesDisabled,function(t){return r(e,t)}).length>0},dateWithinRange:function(t){return t>=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(this.picker.is(":visible")){var e,i,n=!1,r=this.focusDate||this.viewDate;switch(t.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),t.preventDefault(),t.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;e=37===t.keyCode||38===t.keyCode?-1:1,0===this.viewMode?t.ctrlKey?(i=this.moveAvailableDate(r,e,"moveYear"))&&this._trigger("changeYear",this.viewDate):t.shiftKey?(i=this.moveAvailableDate(r,e,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===t.keyCode||39===t.keyCode?i=this.moveAvailableDate(r,e,"moveDay"):this.weekOfDateIsDisabled(r)||(i=this.moveAvailableDate(r,e,"moveWeek")):1===this.viewMode?(38!==t.keyCode&&40!==t.keyCode||(e*=4),i=this.moveAvailableDate(r,e,"moveMonth")):2===this.viewMode&&(38!==t.keyCode&&40!==t.keyCode||(e*=4),i=this.moveAvailableDate(r,e,"moveYear")),i&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),t.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(r),n=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),t.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}n&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))}else 40!==t.keyCode&&27!==t.keyCode||(this.show(),t.stopPropagation())},setViewMode:function(t){this.viewMode=t,this.picker.children("div").hide().filter(".datepicker-"+g.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var c=function(e,i){t.data(e,"datepicker",this),this.element=t(e),this.inputs=t.map(i.inputs,function(t){return t.jquery?t[0]:t}),delete i.inputs,this.keepEmptyValues=i.keepEmptyValues,delete i.keepEmptyValues,h.call(t(this.inputs),i).on("changeDate",t.proxy(this.dateUpdated,this)),this.pickers=t.map(this.inputs,function(e){return t.data(e,"datepicker")}),this.updateDates()};c.prototype={updateDates:function(){this.dates=t.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var e=t.map(this.dates,function(t){return t.valueOf()});t.each(this.pickers,function(t,i){i.setRange(e)})},clearDates:function(){t.each(this.pickers,function(t,e){e.clearDates()})},dateUpdated:function(i){if(!this.updating){this.updating=!0;var n=t.data(i.target,"datepicker");if(n!==e){var r=n.getUTCDate(),o=this.keepEmptyValues,a=t.inArray(i.target,this.inputs),s=a-1,l=a+1,c=this.inputs.length;if(-1!==a){if(t.each(this.pickers,function(t,e){e.getUTCDate()||e!==n&&o||e.setUTCDate(r)}),r<this.dates[s])for(;s>=0&&r<this.dates[s];)this.pickers[s--].setUTCDate(r);else if(r>this.dates[l])for(;l<c&&r>this.dates[l];)this.pickers[l++].setUTCDate(r);this.updateDates(),delete this.updating}}}},destroy:function(){t.map(this.pickers,function(t){t.destroy()}),t(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:o("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var u=t.fn.datepicker,h=function(i){var n,r=Array.apply(null,arguments);if(r.shift(),this.each(function(){var e=t(this),o=e.data("datepicker"),a="object"==typeof i&&i;if(!o){var s=function(e,i){var n=t(e).data(),r={},o=new RegExp("^"+i.toLowerCase()+"([A-Z])");function a(t,e){return e.toLowerCase()}for(var s in i=new RegExp("^"+i.toLowerCase()),n)i.test(s)&&(r[s.replace(o,a)]=n[s]);return r}(this,"date"),u=function(e){var i={};if(p[e]||(e=e.split("-")[0],p[e])){var n=p[e];return t.each(f,function(t,e){e in n&&(i[e]=n[e])}),i}}(t.extend({},d,s,a).language),h=t.extend({},d,u,s,a);e.hasClass("input-daterange")||h.inputs?(t.extend(h,{inputs:h.inputs||e.find("input").toArray()}),o=new c(this,h)):o=new l(this,h),e.data("datepicker",o)}"string"==typeof i&&"function"==typeof o[i]&&(n=o[i].apply(o,r))}),n===e||n instanceof l||n instanceof c)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+i+" function)");return n};t.fn.datepicker=h;var d=t.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:t.noop,beforeShowMonth:t.noop,beforeShowYear:t.noop,beforeShowDecade:t.noop,beforeShowCentury:t.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:!0},f=t.fn.datepicker.locale_opts=["format","rtl","weekStart"];t.fn.datepicker.Constructor=l;var p=t.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},g={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(t){if("function"==typeof t.toValue&&"function"==typeof t.toDisplay)return t;var e=t.replace(this.validParts,"\0").split("\0"),i=t.match(this.validParts);if(!e||!e.length||!i||0===i.length)throw new Error("Invalid date format.");return{separators:e,parts:i}},parseDate:function(i,r,o,a){if(!i)return e;if(i instanceof Date)return i;if("string"==typeof r&&(r=g.parseFormat(r)),r.toValue)return r.toValue(i,r,o);var s,c,u,h,d,f={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},m={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(i in m&&(i=m[i]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(i)){for(s=i.match(/([\-+]\d+)([dmwy])/gi),i=new Date,h=0;h<s.length;h++)c=s[h].match(/([\-+]\d+)([dmwy])/i),u=Number(c[1]),d=f[c[2].toLowerCase()],i=l.prototype[d](i,u);return l.prototype._zero_utc_time(i)}s=i&&i.match(this.nonpunctuation)||[];var v,y,b={},L=["yyyy","yy","M","MM","m","mm","d","dd"],x={yyyy:function(t,e){return t.setUTCFullYear(a?(!0===(n=a)&&(n=10),(i=e)<100&&(i+=2e3)>(new Date).getFullYear()+n&&(i-=100),i):e);var i,n},m:function(t,e){if(isNaN(t))return t;for(e-=1;e<0;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!==e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};x.yy=x.yyyy,x.M=x.MM=x.mm=x.m,x.dd=x.d,i=n();var w=r.parts.slice();function _(){var t=this.slice(0,s[h].length),e=s[h].slice(0,t.length);return t.toLowerCase()===e.toLowerCase()}if(s.length!==w.length&&(w=t(w).filter(function(e,i){return-1!==t.inArray(i,L)}).toArray()),s.length===w.length){var S,C,k;for(h=0,S=w.length;h<S;h++){if(v=parseInt(s[h],10),c=w[h],isNaN(v))switch(c){case"MM":y=t(p[o].months).filter(_),v=t.inArray(y[0],p[o].months)+1;break;case"M":y=t(p[o].monthsShort).filter(_),v=t.inArray(y[0],p[o].monthsShort)+1}b[c]=v}for(h=0;h<L.length;h++)(k=L[h])in b&&!isNaN(b[k])&&(C=new Date(i),x[k](C,b[k]),isNaN(C)||(i=C))}return i},formatDate:function(e,i,n){if(!e)return"";if("string"==typeof i&&(i=g.parseFormat(i)),i.toDisplay)return i.toDisplay(e,i,n);var r={d:e.getUTCDate(),D:p[n].daysShort[e.getUTCDay()],DD:p[n].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:p[n].monthsShort[e.getUTCMonth()],MM:p[n].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};r.dd=(r.d<10?"0":"")+r.d,r.mm=(r.m<10?"0":"")+r.m,e=[];for(var o=t.extend([],i.separators),a=0,s=i.parts.length;a<=s;a++)o.length&&e.push(o.shift()),e.push(r[i.parts[a]]);return e.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+d.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+d.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};g.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+g.headTemplate+"<tbody></tbody>"+g.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+g.headTemplate+g.contTemplate+g.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+g.headTemplate+g.contTemplate+g.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+g.headTemplate+g.contTemplate+g.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+g.headTemplate+g.contTemplate+g.footTemplate+"</table></div></div>",t.fn.datepicker.DPGlobal=g,t.fn.datepicker.noConflict=function(){return t.fn.datepicker=u,this},t.fn.datepicker.version="1.9.0",t.fn.datepicker.deprecated=function(t){var e=window.console;e&&e.warn&&e.warn("DEPRECATED: "+t)},t(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var i=t(this);i.data("datepicker")||(e.preventDefault(),h.call(i,"show"))}),t(function(){h.call(t('[data-provide="datepicker-inline"]'))})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(e,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(e)),t(i),i}:t(jQuery)}(function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var i,n,r,o;return e&&e.requirejs||(e?n=e:e={},function(t){var e,o,a,s,l={},c={},u={},h={},d=Object.prototype.hasOwnProperty,f=[].slice,p=/\.js$/;function g(t,e){return d.call(t,e)}function m(t,e){var i,n,r,o,a,s,l,c,h,d,f,g=e&&e.split("/"),m=u.map,v=m&&m["*"]||{};if(t){for(a=(t=t.split("/")).length-1,u.nodeIdCompat&&p.test(t[a])&&(t[a]=t[a].replace(p,"")),"."===t[0].charAt(0)&&g&&(t=g.slice(0,g.length-1).concat(t)),h=0;h<t.length;h++)if("."===(f=t[h]))t.splice(h,1),h-=1;else if(".."===f){if(0===h||1===h&&".."===t[2]||".."===t[h-1])continue;h>0&&(t.splice(h-1,2),h-=2)}t=t.join("/")}if((g||v)&&m){for(h=(i=t.split("/")).length;h>0;h-=1){if(n=i.slice(0,h).join("/"),g)for(d=g.length;d>0;d-=1)if((r=m[g.slice(0,d).join("/")])&&(r=r[n])){o=r,s=h;break}if(o)break;!l&&v&&v[n]&&(l=v[n],c=h)}!o&&l&&(o=l,s=c),o&&(i.splice(0,s,o),t=i.join("/"))}return t}function v(e,i){return function(){var n=f.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),o.apply(t,n.concat([e,i]))}}function y(t){return function(e){l[t]=e}}function b(i){if(g(c,i)){var n=c[i];delete c[i],h[i]=!0,e.apply(t,n)}if(!g(l,i)&&!g(h,i))throw new Error("No "+i);return l[i]}function L(t){var e,i=t?t.indexOf("!"):-1;return i>-1&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function x(t){return t?L(t):[]}function w(t){return function(){return u&&u.config&&u.config[t]||{}}}a=function(t,e){var i,n,r=L(t),o=r[0],a=e[1];return t=r[1],o&&(i=b(o=m(o,a))),o?t=i&&i.normalize?i.normalize(t,(n=a,function(t){return m(t,n)})):m(t,a):(o=(r=L(t=m(t,a)))[0],t=r[1],o&&(i=b(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:i}},s={require:function(t){return v(t)},exports:function(t){var e=l[t];return void 0!==e?e:l[t]={}},module:function(t){return{id:t,uri:"",exports:l[t],config:w(t)}}},e=function(e,i,n,r){var o,u,d,f,p,m,L,w=[],_=typeof n;if(m=x(r=r||e),"undefined"===_||"function"===_){for(i=!i.length&&n.length?["require","exports","module"]:i,p=0;p<i.length;p+=1)if("require"===(u=(f=a(i[p],m)).f))w[p]=s.require(e);else if("exports"===u)w[p]=s.exports(e),L=!0;else if("module"===u)o=w[p]=s.module(e);else if(g(l,u)||g(c,u)||g(h,u))w[p]=b(u);else{if(!f.p)throw new Error(e+" missing "+u);f.p.load(f.n,v(r,!0),y(u),{}),w[p]=l[u]}d=n?n.apply(l[e],w):void 0,e&&(o&&o.exports!==t&&o.exports!==l[e]?l[e]=o.exports:d===t&&L||(l[e]=d))}else e&&(l[e]=n)},i=n=o=function(i,n,r,l,c){if("string"==typeof i)return s[i]?s[i](n):b(a(i,x(n)).f);if(!i.splice){if((u=i).deps&&o(u.deps,u.callback),!n)return;n.splice?(i=n,n=r,r=null):i=t}return n=n||function(){},"function"==typeof r&&(r=l,l=c),l?e(t,i,n,r):setTimeout(function(){e(t,i,n,r)},4),o},o.config=function(t){return o(t)},i._defined=l,(r=function(t,e,i){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(i=e,e=[]),g(l,t)||g(c,t)||(c[t]=[t,e,i])}).amd={jQuery:!0}}(),e.requirejs=i,e.require=n,e.define=r),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){var e={};function i(t){var e=t.prototype,i=[];for(var n in e){"function"==typeof e[n]&&("constructor"!==n&&i.push(n))}return i}e.Extend=function(t,e){var i={}.hasOwnProperty;function n(){this.constructor=t}for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},e.Decorate=function(t,e){var n=i(e),r=i(t);function o(){var i=Array.prototype.unshift,n=e.prototype.constructor.length,r=t.prototype.constructor;n>0&&(i.call(arguments,t.prototype.constructor),r=e.prototype.constructor),r.apply(this,arguments)}e.displayName=t.displayName,o.prototype=new function(){this.constructor=o};for(var a=0;a<r.length;a++){var s=r[a];o.prototype[s]=t.prototype[s]}for(var l=function(t){var i=function(){};t in o.prototype&&(i=o.prototype[t]);var n=e.prototype[t];return function(){return Array.prototype.unshift.call(arguments,i),n.apply(this,arguments)}},c=0;c<n.length;c++){var u=n[c];o.prototype[u]=l(u)}return o};var n=function(){this.listeners={}};n.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},n.prototype.trigger=function(t){var e=Array.prototype.slice,i=e.call(arguments,1);this.listeners=this.listeners||{},null==i&&(i=[]),0===i.length&&i.push({}),i[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},n.prototype.invoke=function(t,e){for(var i=0,n=t.length;i<n;i++)t[i].apply(this,e)},e.Observable=n,e.generateChars=function(t){for(var e="",i=0;i<t;i++){e+=Math.floor(36*Math.random()).toString(36)}return e},e.bind=function(t,e){return function(){t.apply(e,arguments)}},e._convertData=function(t){for(var e in t){var i=e.split("-"),n=t;if(1!==i.length){for(var r=0;r<i.length;r++){var o=i[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in n||(n[o]={}),r==i.length-1&&(n[o]=t[e]),n=n[o]}delete t[e]}}return t},e.hasScroll=function(e,i){var n=t(i),r=i.style.overflowX,o=i.style.overflowY;return(r!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===r||"scroll"===o||(n.innerHeight()<i.scrollHeight||n.innerWidth()<i.scrollWidth))},e.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},e.appendMany=function(e,i){if("1.7"===t.fn.jquery.substr(0,3)){var n=t();t.map(i,function(t){n=n.add(t)}),i=n}e.append(i)},e.__cache={};var r=0;return e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++r),e=r.toString())),e},e.StoreData=function(t,i,n){var r=e.GetUniqueElementId(t);e.__cache[r]||(e.__cache[r]={}),e.__cache[r][i]=n},e.GetData=function(i,n){var r=e.GetUniqueElementId(i);return n?e.__cache[r]&&null!=e.__cache[r][n]?e.__cache[r][n]:t(i).data(n):e.__cache[r]},e.RemoveData=function(t){var i=e.GetUniqueElementId(t);null!=e.__cache[i]&&delete e.__cache[i]},e}),e.define("select2/results",["jquery","./utils"],function(t,e){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=t('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),r=this.options.get("translations").get(e.message);n.append(i(r(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i<t.results.length;i++){var n=t.results[i],r=this.option(n);e.push(r)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(t,e){e.find(".select2-results").append(t)},i.prototype.sort=function(t){return this.options.get("sorter")(t)},i.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var i=this;this.data.current(function(n){var r=t.map(n,function(t){return t.id.toString()});i.$results.find(".select2-results__option[aria-selected]").each(function(){var i=t(this),n=e.GetData(this,"data"),o=""+n.id;null!=n.element&&n.element.selected||null==n.element&&t.inArray(o,r)>-1?i.attr("aria-selected","true"):i.attr("aria-selected","false")})})},i.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},i=this.option(e);i.className+=" loading-results",this.$results.prepend(i)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(i){var n=document.createElement("li");n.className="select2-results__option";var r={role:"treeitem","aria-selected":"false"};for(var o in i.disabled&&(delete r["aria-selected"],r["aria-disabled"]="true"),null==i.id&&delete r["aria-selected"],null!=i._resultId&&(n.id=i._resultId),i.title&&(n.title=i.title),i.children&&(r.role="group",r["aria-label"]=i.text,delete r["aria-selected"]),r){var a=r[o];n.setAttribute(o,a)}if(i.children){var s=t(n),l=document.createElement("strong");l.className="select2-results__group";t(l);this.template(i,l);for(var c=[],u=0;u<i.children.length;u++){var h=i.children[u],d=this.option(h);c.push(d)}var f=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});f.append(c),s.append(l),s.append(f)}else this.template(i,n);return e.StoreData(n,"data",i),n},i.prototype.bind=function(i,n){var r=this,o=i.id+"-results";this.$results.attr("id",o),i.on("results:all",function(t){r.clear(),r.append(t.data),i.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),i.on("results:append",function(t){r.append(t.data),i.isOpen()&&r.setClasses()}),i.on("query",function(t){r.hideMessages(),r.showLoading(t)}),i.on("select",function(){i.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),i.on("unselect",function(){i.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),i.on("open",function(){r.$results.attr("aria-expanded","true"),r.$results.attr("aria-hidden","false"),r.setClasses(),r.ensureHighlightVisible()}),i.on("close",function(){r.$results.attr("aria-expanded","false"),r.$results.attr("aria-hidden","true"),r.$results.removeAttr("aria-activedescendant")}),i.on("results:toggle",function(){var t=r.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),i.on("results:select",function(){var t=r.getHighlightedResults();if(0!==t.length){var i=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?r.trigger("close",{}):r.trigger("select",{data:i})}}),i.on("results:previous",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),i=e.index(t);if(!(i<=0)){var n=i-1;0===t.length&&(n=0);var o=e.eq(n);o.trigger("mouseenter");var a=r.$results.offset().top,s=o.offset().top,l=r.$results.scrollTop()+(s-a);0===n?r.$results.scrollTop(0):s-a<0&&r.$results.scrollTop(l)}}),i.on("results:next",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),i=e.index(t)+1;if(!(i>=e.length)){var n=e.eq(i);n.trigger("mouseenter");var o=r.$results.offset().top+r.$results.outerHeight(!1),a=n.offset().top+n.outerHeight(!1),s=r.$results.scrollTop()+a-o;0===i?r.$results.scrollTop(0):a>o&&r.$results.scrollTop(s)}}),i.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),i.on("results:message",function(t){r.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=r.$results.scrollTop(),i=r.$results.get(0).scrollHeight-e+t.deltaY,n=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&i<=r.$results.height();n?(r.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(r.$results.scrollTop(r.$results.get(0).scrollHeight-r.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(i){var n=t(this),o=e.GetData(this,"data");"true"!==n.attr("aria-selected")?r.trigger("select",{originalEvent:i,data:o}):r.options.get("multiple")?r.trigger("unselect",{originalEvent:i,data:o}):r.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(i){var n=e.GetData(this,"data");r.getHighlightedResults().removeClass("select2-results__option--highlighted"),r.trigger("results:focus",{data:n,element:t(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),i=this.$results.offset().top,n=t.offset().top,r=this.$results.scrollTop()+(n-i),o=n-i;r-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,i){var n=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),o=n(e,i);null==o?i.style.display="none":"string"==typeof o?i.innerHTML=r(o):t(i).append(o)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var i=t('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),i.attr("title",this.$element.attr("title")),i.attr("tabindex",this._tabindex),this.$selection=i,i},n.prototype.bind=function(t,e){var n=this,r=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n._handleBlur(t)}),this.$selection.on("keydown",function(t){n.trigger("keypress",t),t.which===i.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){n.update(t.data)}),t.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",r),n._attachCloseHandler(t)}),t.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),window.setTimeout(function(){n.$selection.focus()},0),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)}),t.on("disable",function(){n.$selection.attr("tabindex","-1")})},n.prototype._handleBlur=function(e){var i=this;window.setTimeout(function(){document.activeElement==i.$selection[0]||t.contains(i.$selection[0],document.activeElement)||i.trigger("blur",e)},1)},n.prototype._attachCloseHandler=function(i){t(document.body).on("mousedown.select2."+i.id,function(i){var n=t(i.target).closest(".select2");t(".select2.select2-container--open").each(function(){t(this);this!=n[0]&&e.GetData(this,"element").select2("close")})})},n.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},n.prototype.position=function(t,e){e.find(".selection").append(t)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},n}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function r(){r.__super__.constructor.apply(this,arguments)}return i.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},r.prototype.bind=function(t,e){var i=this;r.__super__.bind.apply(this,arguments);var n=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&i.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||i.$selection.focus()})},r.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},r.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},r.prototype.selectionContainer=function(){return t("<span></span>")},r.prototype.update=function(t){if(0!==t.length){var e=t[0],i=this.$selection.find(".select2-selection__rendered"),n=this.display(e,i);i.empty().append(n),i.attr("title",e.title||e.text)}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,i){function n(t,e){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,e),n.prototype.render=function(){var t=n.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},n.prototype.bind=function(e,r){var o=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){o.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!o.options.get("disabled")){var n=t(this).parent(),r=i.GetData(n[0],"data");o.trigger("unselect",{originalEvent:e,data:r})}})},n.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},n.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},n.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},n.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n<t.length;n++){var r=t[n],o=this.selectionContainer(),a=this.display(r,o);o.append(a),o.attr("title",r.title||r.text),i.StoreData(o[0],"data",r),e.push(o)}var s=this.$selection.find(".select2-selection__rendered");i.appendMany(s,e)}},n}),e.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var i=this.selectionContainer();return i.html(this.display(e)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},e.prototype.update=function(t,e){var i=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||i)return t.call(this,e);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},e}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(t,e,i){function n(){}return n.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},n.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){e.stopPropagation();var r=i.GetData(n[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var a={data:r};if(this.trigger("clear",a),a.prevented)this.$element.val(o);else{for(var s=0;s<r.length;s++)if(a={data:r[s]},this.trigger("unselect",a),a.prevented)return void this.$element.val(o);this.$element.trigger("change"),this.trigger("toggle",{})}}}},n.prototype._handleKeyboardClear=function(t,i,n){n.isOpen()||i.which!=e.DELETE&&i.which!=e.BACKSPACE||this._handleClear(i)},n.prototype.update=function(e,n){if(e.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var r=this.options.get("translations").get("removeAllItems"),o=t('<span class="select2-selection__clear" title="'+r()+'">&times;</span>');i.StoreData(o[0],"data",n),this.$selection.find(".select2-selection__rendered").prepend(o)}},n}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,i){function n(t,e,i){t.call(this,e,i)}return n.prototype.render=function(e){var i=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=i,this.$search=i.find("input");var n=e.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(t,n,r){var o=this;t.call(this,n,r),n.on("open",function(){o.$search.trigger("focus")}),n.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),n.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),n.on("disable",function(){o.$search.prop("disabled",!0)}),n.on("focus",function(t){o.$search.trigger("focus")}),n.on("results:focus",function(t){o.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===i.BACKSPACE&&""===o.$search.val()){var n=o.$searchContainer.prev(".select2-selection__choice");if(n.length>0){var r=e.GetData(n[0],"data");o.searchRemoveChoice(r),t.preventDefault()}}});var a=document.documentMode,s=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){s?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(s&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=i.SHIFT&&e!=i.CTRL&&e!=i.ALT&&e!=i.TAB&&o.handleSearch(t)}})},n.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},n.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;(this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i)&&(this.$element.find("[data-select2-tag]").length?this.$element.focus():this.$search.focus())},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").innerWidth():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},n}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,i,n){var r=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];e.call(this,i,n),i.on("*",function(e,i){if(-1!==t.inArray(e,o)){i=i||{};var n=t.Event("select2:"+e,{params:i});r.$element.trigger(n),-1!==t.inArray(e,a)&&(i.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(t){if(!(t in i._cache)){var n=e(t);i._cache[t]=n}return new i(i._cache[t])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","":"x","ẋ":"x","ẍ":"x","ⓨ":"y","":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","":"'"}}),e.define("select2/data/base",["../utils"],function(t){function e(t,i){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,i){var n=e.id+"-result-";return n+=t.generateChars(4),null!=i.id?n+="-"+i.id.toString():n+="-"+t.generateChars(4),n},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,t),n.prototype.current=function(t){var e=[],n=this;this.$element.find(":selected").each(function(){var t=i(this),r=n.item(t);e.push(r)}),t(e)},n.prototype.select=function(t){var e=this;if(t.selected=!0,i(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(n){var r=[];(t=[t]).push.apply(t,n);for(var o=0;o<t.length;o++){var a=t[o].id;-1===i.inArray(a,r)&&r.push(a)}e.$element.val(r),e.$element.trigger("change")});else{var n=t.id;this.$element.val(n),this.$element.trigger("change")}},n.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,i(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("change");this.current(function(n){for(var r=[],o=0;o<n.length;o++){var a=n[o].id;a!==t.id&&-1===i.inArray(a,r)&&r.push(a)}e.$element.val(r),e.$element.trigger("change")})}},n.prototype.bind=function(t,e){var i=this;this.container=t,t.on("select",function(t){i.select(t.data)}),t.on("unselect",function(t){i.unselect(t.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){e.RemoveData(this)})},n.prototype.query=function(t,e){var n=[],r=this;this.$element.children().each(function(){var e=i(this);if(e.is("option")||e.is("optgroup")){var o=r.item(e),a=r.matches(t,o);null!==a&&n.push(a)}}),e({results:n})},n.prototype.addOptions=function(t){e.appendMany(this.$element,t)},n.prototype.option=function(t){var n;t.children?(n=document.createElement("optgroup")).label=t.text:void 0!==(n=document.createElement("option")).textContent?n.textContent=t.text:n.innerText=t.text,void 0!==t.id&&(n.value=t.id),t.disabled&&(n.disabled=!0),t.selected&&(n.selected=!0),t.title&&(n.title=t.title);var r=i(n),o=this._normalizeItem(t);return o.element=n,e.StoreData(n,"data",o),r},n.prototype.item=function(t){var n={};if(null!=(n=e.GetData(t[0],"data")))return n;if(t.is("option"))n={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){n={text:t.prop("label"),children:[],title:t.prop("title")};for(var r=t.children("option"),o=[],a=0;a<r.length;a++){var s=i(r[a]),l=this.item(s);o.push(l)}n.children=o}return(n=this._normalizeItem(n)).element=t[0],e.StoreData(t[0],"data",n),n},n.prototype._normalizeItem=function(t){t!==Object(t)&&(t={id:t,text:t});return null!=(t=i.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),i.extend({},{selected:!1,disabled:!1},t)},n.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,i){function n(t,e){var i=e.get("data")||[];n.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(i))}return e.Extend(n,t),n.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,i){return i.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),n.__super__.select.call(this,t)},n.prototype.convertToOptions=function(t){var n=this,r=this.$element.find("option"),o=r.map(function(){return n.item(i(this)).id}).get(),a=[];function s(t){return function(){return i(this).val()==t.id}}for(var l=0;l<t.length;l++){var c=this._normalizeItem(t[l]);if(i.inArray(c.id,o)>=0){var u=r.filter(s(c)),h=this.item(u),d=i.extend(!0,{},c,h),f=this.option(d);u.replaceWith(f)}else{var p=this.option(c);if(c.children){var g=this.convertToOptions(c.children);e.appendMany(p,g)}a.push(p)}}return a},n}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,i){function n(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,t,e)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){var e={data:function(t){return i.extend({},t,{q:t.term})},transport:function(t,e,n){var r=i.ajax(t);return r.then(e),r.fail(n),r}};return i.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(t,e){var n=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var r=i.extend({type:"GET"},this.ajaxOptions);function o(){var o=r.transport(r,function(r){var o=n.processResults(r,t);n.options.get("debug")&&window.console&&console.error&&(o&&o.results&&i.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)},function(){"status"in o&&(0===o.status||"0"===o.status)||n.trigger("results:message",{message:"errorLoading"})});n._request=o}"function"==typeof r.url&&(r.url=r.url.call(this.$element,t)),"function"==typeof r.data&&(r.data=r.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},n}),e.define("select2/data/tags",["jquery"],function(t){function e(e,i,n){var r=n.get("tags"),o=n.get("createTag");void 0!==o&&(this.createTag=o);var a=n.get("insertTag");if(void 0!==a&&(this.insertTag=a),e.call(this,i,n),t.isArray(r))for(var s=0;s<r.length;s++){var l=r[s],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return e.prototype.query=function(t,e,i){var n=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,function t(r,o){for(var a=r.results,s=0;s<a.length;s++){var l=a[s],c=null!=l.children&&!t({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||c)return!o&&(r.data=a,void i(r))}if(o)return!0;var u=n.createTag(e);if(null!=u){var h=n.option(u);h.attr("data-select2-tag",!0),n.addOptions([h]),n.insertTag(a,u)}r.results=a,i(r)}):t.call(this,e,i)},e.prototype.createTag=function(e,i){var n=t.trim(i.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(t,e,i){e.unshift(i)},e.prototype._removeOldTags=function(e){this._lastTag;this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,i){var n=i.get("tokenizer");void 0!==n&&(this.tokenizer=n),t.call(this,e,i)}return e.prototype.bind=function(t,e,i){t.call(this,e,i),this.$search=e.dropdown.$search||e.selection.$search||i.find(".select2-search__field")},e.prototype.query=function(e,i,n){var r=this;i.term=i.term||"";var o=this.tokenizer(i,this.options,function(e){var i=r._normalizeItem(e);if(!r.$element.find("option").filter(function(){return t(this).val()===i.id}).length){var n=r.option(i);n.attr("data-select2-tag",!0),r._removeOldTags(),r.addOptions([n])}!function(t){r.trigger("select",{data:t})}(i)});o.term!==i.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),i.term=o.term),e.call(this,i,n)},e.prototype.tokenizer=function(e,i,n,r){for(var o=n.get("tokenSeparators")||[],a=i.term,s=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};s<a.length;){var c=a[s];if(-1!==t.inArray(c,o)){var u=a.substr(0,s),h=l(t.extend({},i,{term:u}));null!=h?(r(h),a=a.substr(s+1)||"",s=0):s++}else s++}return{term:a}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,i){this.minimumInputLength=i.get("minimumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,i){this.maximumInputLength=i.get("maximumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){var n=this;this.current(function(r){var o=null!=r?r.length:0;n.maximumSelectionLength>0&&o>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t.call(n,e,i)})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function i(){}return i.prototype.render=function(e){var i=e.call(this),n=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},i.prototype.bind=function(e,i,n){var r=this;e.call(this,i,n),this.$search.on("keydown",function(t){r.trigger("keypress",t),r._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){r.handleSearch(t)}),i.on("open",function(){r.$search.attr("tabindex",0),r.$search.focus(),window.setTimeout(function(){r.$search.focus()},0)}),i.on("close",function(){r.$search.attr("tabindex",-1),r.$search.val(""),r.$search.blur()}),i.on("focus",function(){i.isOpen()||r.$search.focus()}),i.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(r.showSearch(t)?r.$searchContainer.removeClass("select2-search--hide"):r.$searchContainer.addClass("select2-search--hide"))})},i.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.showSearch=function(t,e){return!0},i}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;n>=0;n--){var r=e[n];this.placeholder.id===r.id&&i.splice(n,1)}return i},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,i,n){var r=this;e.call(this,i,n),i.on("query",function(t){r.lastParams=t,r.loading=!0}),i.on("query:append",function(t){r.lastParams=t,r.loading=!0}),this.$results.on("scroll",function(){var e=t.contains(document.documentElement,r.$loadingMore[0]);!r.loading&&e&&(r.$results.offset().top+r.$results.outerHeight(!1)+50>=r.$loadingMore.offset().top+r.$loadingMore.outerHeight(!1)&&r.loadMore())})},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),i=this.options.get("translations").get("loadingMore");return e.html(i(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function i(e,i,n){this.$dropdownParent=n.get("dropdownParent")||t(document.body),e.call(this,i,n)}return i.prototype.bind=function(t,e,i){var n=this,r=!1;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),r||(r=!0,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},i.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},i.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(e){var i=t("<span></span>"),n=e.call(this);return i.append(n),this.$dropdownContainer=i,i},i.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},i.prototype._attachPositioningHandler=function(i,n){var r=this,o="scroll.select2."+n.id,a="resize.select2."+n.id,s="orientationchange.select2."+n.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(o,function(i){var n=e.GetData(this,"select2-scroll-position");t(this).scrollTop(n.y)}),t(window).on(o+" "+a+" "+s,function(t){r._positionDropdown(),r._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i,n){var r="scroll.select2."+n.id,o="resize.select2."+n.id,a="orientationchange.select2."+n.id;this.$container.parents().filter(e.hasScroll).off(r),t(window).off(r+" "+o+" "+a)},i.prototype._positionDropdown=function(){var e=t(window),i=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),r=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=o.top,a.bottom=o.top+a.height;var s=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),u=l<o.top-s,h=c>o.bottom+s,d={left:o.left,top:a.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p=f.offset();d.top-=p.top,d.left-=p.left,i||n||(r="below"),h||!u||i?!u&&h&&i&&(r="below"):r="above",("above"==r||i&&"below"!==r)&&(d.top=a.top-p.top-s),null!=r&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)),this.$dropdownContainer.css(d)},i.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},i.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var i=0,n=0;n<e.length;n++){var r=e[n];r.children?i+=t(r.children):i++}return i}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),e.define("select2/dropdown/selectOnClose",["../utils"],function(t){function e(){}return e.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("close",function(t){n._handleSelectOnClose(t)})},e.prototype._handleSelectOnClose=function(e,i){if(i&&null!=i.originalSelect2Event){var n=i.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var r=this.getHighlightedResults();if(!(r.length<1)){var o=t.GetData(r[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(t){n._selectTriggered(t)}),e.on("unselect",function(t){n._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var i=e.originalEvent;i&&(i.ctrlKey||i.metaKey)||this.trigger("close",{originalEvent:i,originalSelect2Event:e})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,i="Please delete "+e+" character";return 1!=e&&(i+="s"),i},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,i,n,r,o,a,s,l,c,u,h,d,f,p,g,m,v,y,b,L,x,w,_,S,C,k,T,E){function A(){this.reset()}return A.prototype.apply=function(h){if(null==(h=t.extend(!0,{},this.defaults,h)).dataAdapter){if(null!=h.ajax?h.dataAdapter=p:null!=h.data?h.dataAdapter=f:h.dataAdapter=d,h.minimumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,v)),h.maximumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,y)),h.maximumSelectionLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,b)),h.tags&&(h.dataAdapter=c.Decorate(h.dataAdapter,g)),null==h.tokenSeparators&&null==h.tokenizer||(h.dataAdapter=c.Decorate(h.dataAdapter,m)),null!=h.query){var E=e(h.amdBase+"compat/query");h.dataAdapter=c.Decorate(h.dataAdapter,E)}if(null!=h.initSelection){var A=e(h.amdBase+"compat/initSelection");h.dataAdapter=c.Decorate(h.dataAdapter,A)}}if(null==h.resultsAdapter&&(h.resultsAdapter=i,null!=h.ajax&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,_)),null!=h.placeholder&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,w)),h.selectOnClose&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,k))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=L;else{var M=c.Decorate(L,x);h.dropdownAdapter=M}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,C)),h.closeOnSelect&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,T)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var D=e(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=c.Decorate(h.dropdownAdapter,D)}h.dropdownAdapter=c.Decorate(h.dropdownAdapter,S)}if(null==h.selectionAdapter){if(h.multiple?h.selectionAdapter=r:h.selectionAdapter=n,null!=h.placeholder&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,o)),h.allowClear&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,a)),h.multiple&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,s)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var P=e(h.amdBase+"compat/containerCss");h.selectionAdapter=c.Decorate(h.selectionAdapter,P)}h.selectionAdapter=c.Decorate(h.selectionAdapter,l)}if("string"==typeof h.language)if(h.language.indexOf("-")>0){var O=h.language.split("-")[0];h.language=[h.language,O]}else h.language=[h.language];if(t.isArray(h.language)){var I=new u;h.language.push("en");for(var N=h.language,R=0;R<N.length;R++){var F=N[R],B={};try{B=u.loadPath(F)}catch(t){try{F=this.defaults.amdLanguageBase+F,B=u.loadPath(F)}catch(t){h.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+F+'" could not be automatically loaded. A fallback will be used instead.');continue}}I.extend(B)}h.translations=I}else{var z=u.loadPath(this.defaults.amdLanguageBase+"en"),H=new u(h.language);H.extend(z),h.translations=H}return h},A.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return h[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:E,matcher:function i(n,r){if(""===t.trim(n.term))return r;if(r.children&&r.children.length>0){for(var o=t.extend(!0,{},r),a=r.children.length-1;a>=0;a--)null==i(n,r.children[a])&&o.children.splice(a,1);return o.children.length>0?o:i(n,o)}var s=e(r.text).toUpperCase(),l=e(n.term).toUpperCase();return s.indexOf(l)>-1?r:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},A.prototype.set=function(e,i){var n={};n[t.camelCase(e)]=i;var r=c._convertData(n);t.extend(!0,this.defaults,r)},new A}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,i,n){function r(e,r){if(this.options=e,null!=r&&this.fromElement(r),this.options=i.apply(this.options),r&&r.is("input")){var o=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,o)}}return r.prototype.fromElement=function(t){var i=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),n.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(t[0],"data",n.GetData(t[0],"select2Tags")),n.StoreData(t[0],"tags",!0)),n.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",n.GetData(t[0],"ajaxUrl")),n.StoreData(t[0],"ajax-Url",n.GetData(t[0],"ajaxUrl")));var r={};function o(t,e){return e.toUpperCase()}for(var a=0;a<t[0].attributes.length;a++){var s=t[0].attributes[a].name;if("data-"==s.substr(0,"data-".length)){var l=s.substring("data-".length),c=n.GetData(t[0],l);r[l.replace(/-([a-z])/g,o)]=c}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(r=e.extend(!0,{},t[0].dataset,r));var u=e.extend(!0,{},n.GetData(t[0]),r);for(var h in u=n._convertData(u))e.inArray(h,i)>-1||(e.isPlainObject(this.options[h])?e.extend(this.options[h],u[h]):this.options[h]=u[h]);return this},r.prototype.get=function(t){return this.options[t]},r.prototype.set=function(t,e){this.options[t]=e},r}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,i,n){var r=function(t,n){null!=i.GetData(t[0],"select2")&&i.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),n=n||{},this.options=new e(n,t),r.__super__.constructor.call(this);var o=t.attr("tabindex")||0;i.StoreData(t[0],"old-tabindex",o),t.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(t,this.options);var s=this.render();this._placeContainer(s);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var c=this.options.get("dropdownAdapter");this.dropdown=new c(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var u=this.options.get("resultsAdapter");this.results=new u(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var h=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){h.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),i.StoreData(t[0],"select2",this),t.data("select2",this)};return i.Extend(r,i.Observable),r.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+i.generateChars(2):i.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},r.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},r.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var n=this._resolveWidth(t,"style");return null!=n?n:this._resolveWidth(t,"element")}if("element"==e){var r=t.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var a=o.split(";"),s=0,l=a.length;s<l;s+=1){var c=a[s].replace(/\s/g,"").match(i);if(null!==c&&c.length>=1)return c[1]}return null}return e},r.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},r.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=i.bind(this._syncAttributes,this),this._syncS=i.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n(function(i){t.each(i,e._syncA),t.each(i,e._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},r.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,i){t.trigger(e,i)})},r.prototype._registerSelectionEvents=function(){var e=this,i=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(n,r){-1===t.inArray(n,i)&&e.trigger(n,r)})},r.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,i){t.trigger(e,i)})},r.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,i){t.trigger(e,i)})},r.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(i){t.trigger("results:all",{data:i,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(i){t.trigger("results:append",{data:i,query:e})})}),this.on("keypress",function(e){var i=e.which;t.isOpen()?i===n.ESC||i===n.TAB||i===n.UP&&e.altKey?(t.close(),e.preventDefault()):i===n.ENTER?(t.trigger("results:select",{}),e.preventDefault()):i===n.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):i===n.UP?(t.trigger("results:previous",{}),e.preventDefault()):i===n.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(i===n.ENTER||i===n.SPACE||i===n.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},r.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},r.prototype._syncSubtree=function(t,e){var i=!1,n=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&e.addedNodes.length>0)for(var r=0;r<e.addedNodes.length;r++){e.addedNodes[r].selected&&(i=!0)}else e.removedNodes&&e.removedNodes.length>0&&(i=!0);else i=!0;i&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})}},r.prototype.trigger=function(t,e){var i=r.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in n){var o=n[t],a={prevented:!1,name:t,args:e};if(i.call(this,o,a),a.prevented)return void(e.prevented=!0)}i.call(this,t,e)},r.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.trigger("query",{})},r.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},r.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},r.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},r.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},r.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},r.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var i=e[0];t.isArray(i)&&(i=t.map(i,function(t){return t.toString()})),this.$element.val(i).trigger("change")},r.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",i.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),i.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),i.StoreData(e[0],"element",this.$element),e},r}),e.define("select2/compat/utils",["jquery"],function(t){return{syncCssClasses:function(e,i,n){var r,o,a=[];(r=t.trim(e.attr("class")))&&t((r=""+r).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&a.push(this)}),(r=t.trim(i.attr("class")))&&t((r=""+r).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(o=n(this))&&a.push(o)}),e.attr("class",a.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(t,e){function i(t){return null}function n(){}return n.prototype.render=function(n){var r=n.call(this),o=this.options.get("containerCssClass")||"";t.isFunction(o)&&(o=o(this.$element));var a=this.options.get("adaptContainerCssClass");if(a=a||i,-1!==o.indexOf(":all:")){o=o.replace(":all:","");var s=a;a=function(t){var e=s(t);return null!=e?e+" "+t:t}}var l=this.options.get("containerCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(r,this.$element,a),r.css(l),r.addClass(o),r},n}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(t,e){function i(t){return null}function n(){}return n.prototype.render=function(n){var r=n.call(this),o=this.options.get("dropdownCssClass")||"";t.isFunction(o)&&(o=o(this.$element));var a=this.options.get("adaptDropdownCssClass");if(a=a||i,-1!==o.indexOf(":all:")){o=o.replace(":all:","");var s=a;a=function(t){var e=s(t);return null!=e?e+" "+t:t}}var l=this.options.get("dropdownCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(r,this.$element,a),r.css(l),r.addClass(o),r},n}),e.define("select2/compat/initSelection",["jquery"],function(t){function e(t,e,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=i.get("initSelection"),this._isInitialized=!1,t.call(this,e,i)}return e.prototype.current=function(e,i){var n=this;this._isInitialized?e.call(this,i):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,t.isArray(e)||(e=[e]),i(e)})},e}),e.define("select2/compat/inputData",["jquery","../utils"],function(t,e){function i(t,e,i){this._currentData=[],this._valueSeparator=i.get("valueSeparator")||",","hidden"===e.prop("type")&&i.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),t.call(this,e,i)}return i.prototype.current=function(e,i){function n(e,i){var r=[];return e.selected||-1!==t.inArray(e.id,i)?(e.selected=!0,r.push(e)):e.selected=!1,e.children&&r.push.apply(r,n(e.children,i)),r}for(var r=[],o=0;o<this._currentData.length;o++){var a=this._currentData[o];r.push.apply(r,n(a,this.$element.val().split(this._valueSeparator)))}i(r)},i.prototype.select=function(e,i){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+i.id,this.$element.val(n),this.$element.trigger("change")}else this.current(function(e){t.map(e,function(t){t.selected=!1})}),this.$element.val(i.id),this.$element.trigger("change")},i.prototype.unselect=function(t,e){var i=this;e.selected=!1,this.current(function(t){for(var n=[],r=0;r<t.length;r++){var o=t[r];e.id!=o.id&&n.push(o.id)}i.$element.val(n.join(i._valueSeparator)),i.$element.trigger("change")})},i.prototype.query=function(t,e,i){for(var n=[],r=0;r<this._currentData.length;r++){var o=this._currentData[r],a=this.matches(e,o);null!==a&&n.push(a)}i({results:n})},i.prototype.addOptions=function(i,n){var r=t.map(n,function(t){return e.GetData(t[0],"data")});this._currentData.push.apply(this._currentData,r)},i}),e.define("select2/compat/matcher",["jquery"],function(t){return function(e){return function(i,n){var r=t.extend(!0,{},n);if(null==i.term||""===t.trim(i.term))return r;if(n.children){for(var o=n.children.length-1;o>=0;o--){var a=n.children[o];e(i.term,a.text,a)||r.children.splice(o,1)}if(r.children.length>0)return r}return e(i.term,n.text,n)?r:null}}}),e.define("select2/compat/query",[],function(){function t(t,e,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.callback=i,this.options.get("query").call(null,e)},t}),e.define("select2/dropdown/attachContainer",[],function(){function t(t,e,i){t.call(this,e,i)}return t.prototype.position=function(t,e,i){i.find(".dropdown-wrapper").append(e),e.addClass("select2-dropdown--below"),i.addClass("select2-container--below")},t}),e.define("select2/dropdown/stopPropagation",[],function(){function t(){}return t.prototype.bind=function(t,e,i){t.call(this,e,i);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(t){t.stopPropagation()})},t}),e.define("select2/selection/stopPropagation",[],function(){function t(){}return t.prototype.bind=function(t,e,i){t.call(this,e,i);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(t){t.stopPropagation()})},t}),o=function(t){var e,i,n=["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=n.length;a;)t.event.fixHooks[n[--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 i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(n){var r,a=n||window.event,l=o.call(arguments,1),h=0,d=0,f=0,p=0,g=0;if((n=t.event.fix(a)).type="mousewheel","detail"in a&&(f=-1*a.detail),"wheelDelta"in a&&(f=a.wheelDelta),"wheelDeltaY"in a&&(f=a.wheelDeltaY),"wheelDeltaX"in a&&(d=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(d=-1*f,f=0),h=0===f?d:f,"deltaY"in a&&(h=f=-1*a.deltaY),"deltaX"in a&&(d=a.deltaX,0===f&&(h=-1*d)),0!==f||0!==d){if(1===a.deltaMode){var m=t.data(this,"mousewheel-line-height");h*=m,f*=m,d*=m}else if(2===a.deltaMode){var v=t.data(this,"mousewheel-page-height");h*=v,f*=v,d*=v}if(r=Math.max(Math.abs(f),Math.abs(d)),(!i||r<i)&&(i=r,u(a,r)&&(i/=40)),u(a,r)&&(h/=40,d/=40,f/=40),h=Math[h>=1?"floor":"ceil"](h/i),d=Math[d>=1?"floor":"ceil"](d/i),f=Math[f>=1?"floor":"ceil"](f/i),s.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=n.clientX-y.left,g=n.clientY-y.top}return n.deltaX=d,n.deltaY=f,n.deltaFactor=i,n.offsetX=p,n.offsetY=g,n.deltaMode=0,l.unshift(n,h,d,f),e&&clearTimeout(e),e=setTimeout(c,200),(t.event.dispatch||t.event.handle).apply(this,l)}}function c(){i=null}function u(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"==typeof e.define&&e.define.amd?e.define("jquery-mousewheel",["jquery"],o):"object"==typeof exports?module.exports=o:o(t),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(t,e,i,n,r){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var n=t.extend(!0,{},e);new i(t(this),n)}),this;if("string"==typeof e){var n,a=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=r.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),n=t[e].apply(t,a)}),t.inArray(e,o)>-1?this:n}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=n),i}),{define:e.define,require:e.require}}(),i=e.require("jquery.select2");return t.fn.select2.amd=e,i}),function(t){!jQuery&&"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,document,window,navigator)}):jQuery||"object"!=typeof exports?t(jQuery,document,window,navigator):t(require("jquery"),document,window,navigator)}(function(t,e,i,n,r){"use strict";var o,a,s=0,l=(a=/msie\s\d+/i,0<(o=n.userAgent).search(a)&&a.exec(o).toString().split(" ")[1]<9&&(t("html").addClass("lt-ie9"),!0));Function.prototype.bind||(Function.prototype.bind=function(t){var e=this,i=[].slice;if("function"!=typeof e)throw new TypeError;var n=i.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=e.prototype;var a=new o,s=e.apply(a,n.concat(i.call(arguments)));return Object(s)===s?s:a}return e.apply(t,n.concat(i.call(arguments)))};return r}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){var i;if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return-1;var o=+e||0;if(Math.abs(o)===1/0&&(o=0),r<=o)return-1;for(i=Math.max(0<=o?o:r-Math.abs(o),0);i<r;){if(i in n&&n[i]===t)return i;i++}return-1});var c=function(n,o,a){this.VERSION="2.3.0",this.input=n,this.plugin_count=a,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,o=o||{},this.$cache={win:t(i),body:t(e.body),input:t(n),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var s,l,c,u=this.$cache.input,h=u.prop("value");for(c in s={skin:"flat",type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:" — ",input_values_separator:";",disable:!1,block:!1,extra_classes:"",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null},"INPUT"!==u[0].nodeName&&console&&console.warn&&console.warn("Base element should be <input>!",u[0]),(l={skin:u.data("skin"),type:u.data("type"),min:u.data("min"),max:u.data("max"),from:u.data("from"),to:u.data("to"),step:u.data("step"),min_interval:u.data("minInterval"),max_interval:u.data("maxInterval"),drag_interval:u.data("dragInterval"),values:u.data("values"),from_fixed:u.data("fromFixed"),from_min:u.data("fromMin"),from_max:u.data("fromMax"),from_shadow:u.data("fromShadow"),to_fixed:u.data("toFixed"),to_min:u.data("toMin"),to_max:u.data("toMax"),to_shadow:u.data("toShadow"),prettify_enabled:u.data("prettifyEnabled"),prettify_separator:u.data("prettifySeparator"),force_edges:u.data("forceEdges"),keyboard:u.data("keyboard"),grid:u.data("grid"),grid_margin:u.data("gridMargin"),grid_num:u.data("gridNum"),grid_snap:u.data("gridSnap"),hide_min_max:u.data("hideMinMax"),hide_from_to:u.data("hideFromTo"),prefix:u.data("prefix"),postfix:u.data("postfix"),max_postfix:u.data("maxPostfix"),decorate_both:u.data("decorateBoth"),values_separator:u.data("valuesSeparator"),input_values_separator:u.data("inputValuesSeparator"),disable:u.data("disable"),block:u.data("block"),extra_classes:u.data("extraClasses")}).values=l.values&&l.values.split(","),l)l.hasOwnProperty(c)&&(l[c]!==r&&""!==l[c]||delete l[c]);h!==r&&""!==h&&((h=h.split(l.input_values_separator||o.input_values_separator||";"))[0]&&h[0]==+h[0]&&(h[0]=+h[0]),h[1]&&h[1]==+h[1]&&(h[1]=+h[1]),o&&o.values&&o.values.length?(s.from=h[0]&&o.values.indexOf(h[0]),s.to=h[1]&&o.values.indexOf(h[1])):(s.from=h[0]&&+h[0],s.to=h[1]&&+h[1])),t.extend(s,o),t.extend(s,l),this.options=s,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()};c.prototype={init:function(t){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),t?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStart()),this.updateScene()},append:function(){var t='<span class="irs irs--'+this.options.skin+" js-irs-"+this.plugin_count+" "+this.options.extra_classes+'"></span>';this.$cache.input.before(t),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class="irs"><span class="irs-line" tabindex="0"></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span>'),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append('<span class="irs-bar irs-bar--single"></span><span class="irs-shadow shadow-single"></span><span class="irs-handle single"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append('<span class="irs-bar"></span><span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-handle from"><i></i><i></i><i></i></span><span class="irs-handle to"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var t=this.options.min,e=this.options.max,i=this.options.from,n=this.options.to;t<i&&n===e?this.$cache.s_from.addClass("type_last"):n<e&&this.$cache.s_to.addClass("type_last")},changeLevel:function(t){switch(t){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass("state_hover");break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last")}},appendDisableMask:function(){this.$cache.cont.append('<span class="irs-disable-mask"></span>'),this.$cache.cont.addClass("irs-disabled")},removeDisableMask:function(){this.$cache.cont.remove(".irs-disable-mask"),this.$cache.cont.removeClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),l&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("focus.irs_"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("keydown.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),l&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(t){var e,i;this.target||(e=(i="single"===this.options.type?this.$cache.single:this.$cache.from).offset().left,e+=i.width()/2-1,this.pointerClick("single",{preventDefault:function(){},pageX:e}))},pointerMove:function(t){if(this.dragging){var e=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;this.coords.x_pointer=e-this.coords.x_gap,this.calc()}},pointerUp:function(e){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,l&&t("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(t.contains(this.$cache.cont[0],e.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(e,i){i.preventDefault();var n=i.pageX||i.originalEvent.touches&&i.originalEvent.touches[0].pageX;2!==i.button&&("both"===e&&this.setTempMinInterval(),e||(e=this.target||"from"),this.current_plugin=this.plugin_count,this.target=e,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=n-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(e),l&&t("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(t,e){e.preventDefault();var i=e.pageX||e.originalEvent.touches&&e.originalEvent.touches[0].pageX;2!==e.button&&(this.current_plugin=this.plugin_count,this.target=t,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(i-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(t,e){if(!(this.current_plugin!==this.plugin_count||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){switch(e.which){case 83:case 65:case 40:case 37:e.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:e.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(t){var e=this.coords.p_pointer,i=(this.options.max-this.options.min)/100;i=this.options.step/i,t?e+=i:e-=i,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*e),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");if(this.options.values.length)this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]));else{var t=this._prettify(this.options.min),e=this._prettify(this.options.max);this.result.min_pretty=t,this.result.max_pretty=e,this.$cache.min.html(this.decorate(t,this.options.min)),this.$cache.max.html(this.decorate(e,this.options.max))}this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var t=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=t},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(t){if(this.options&&(this.calc_count++,(10===this.calc_count||t)&&(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var e=this.getHandleX();switch("both"===this.target&&(this.coords.p_gap=0,e=this.getHandleX()),"click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,e=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(e)),this.target){case"base":var i=(this.options.max-this.options.min)/100,n=(this.result.from-this.options.min)/i,r=(this.result.to-this.options.min)/i;this.coords.p_single_real=this.toFixed(n),this.coords.p_from_real=this.toFixed(n),this.coords.p_to_real=this.toFixed(r),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(e),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(e),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(e),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;e=this.toFixed(e+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(e)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(e)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;var o=this.convertToRealPercent(e),a=this.result.from_percent,s=this.result.to_percent-a,l=s/2,c=o-l,u=o+l;c<0&&(u=(c=0)+s),100<u&&(c=(u=100)-s),this.coords.p_from_real=this.calcWithStep(c),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(u),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}},calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(t){return t/(100-this.coords.p_handle)*100},convertToFakePercent:function(t){return t/100*(100-this.coords.p_handle)},getHandleX:function(){var t=100-this.coords.p_handle,e=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return e<0?e=0:t<e&&(e=t),e},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(t){return"single"===this.options.type?"single":this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2<=t?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left)),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),(this.coords.w_rs!==this.coords.w_rs_old||this.force_redraw)&&(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?(this.$cache.bar[0].style.left=0,this.$cache.bar[0].style.width=this.coords.p_bar_w+this.coords.p_bar_x+"%",this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%"):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",(this.old_from!==this.result.from||this.force_redraw)&&(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),(this.old_to!==this.result.to||this.force_redraw)&&(this.$cache.to[0].style.left=this.labels.p_to_left+"%")),this.$cache.single[0].style.left=this.labels.p_single_left+"%",this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger("change"),this.$cache.input.trigger("input")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){if(this.options){var t,e,i,n,r,o=this.options.values.length,a=this.options.p_values;if(!this.options.hide_from_to)if("single"===this.options.type)t=o?this.decorate(a[this.result.from]):(n=this._prettify(this.result.from),this.decorate(n,this.result.from)),this.$cache.single.html(t),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible";else{i=o?(this.options.decorate_both?(t=this.decorate(a[this.result.from]),t+=this.options.values_separator,t+=this.decorate(a[this.result.to])):t=this.decorate(a[this.result.from]+this.options.values_separator+a[this.result.to]),e=this.decorate(a[this.result.from]),this.decorate(a[this.result.to])):(n=this._prettify(this.result.from),r=this._prettify(this.result.to),this.options.decorate_both?(t=this.decorate(n,this.result.from),t+=this.options.values_separator,t+=this.decorate(r,this.result.to)):t=this.decorate(n+this.options.values_separator+r,this.result.to),e=this.decorate(n,this.result.from),this.decorate(r,this.result.to)),this.$cache.single.html(t),this.$cache.from.html(e),this.$cache.to.html(i),this.calcLabels();var s=Math.min(this.labels.p_single_left,this.labels.p_from_left),l=this.labels.p_single_left+this.labels.p_single_fake,c=this.labels.p_to_left+this.labels.p_to_fake,u=Math.max(l,c);this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",u=this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",c):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",Math.max(l,c))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),s<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",u>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"}}},drawShadow:function(){var t,e,i,n,r=this.options,o=this.$cache,a="number"==typeof r.from_min&&!isNaN(r.from_min),s="number"==typeof r.from_max&&!isNaN(r.from_max),l="number"==typeof r.to_min&&!isNaN(r.to_min),c="number"==typeof r.to_max&&!isNaN(r.to_max);"single"===r.type?r.from_shadow&&(a||s)?(t=this.convertToPercent(a?r.from_min:r.min),e=this.convertToPercent(s?r.from_max:r.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,o.shad_single[0].style.display="block",o.shad_single[0].style.left=t+"%",o.shad_single[0].style.width=e+"%"):o.shad_single[0].style.display="none":(r.from_shadow&&(a||s)?(t=this.convertToPercent(a?r.from_min:r.min),e=this.convertToPercent(s?r.from_max:r.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),e=this.toFixed(e-this.coords.p_handle/100*e),t+=this.coords.p_handle/2,o.shad_from[0].style.display="block",o.shad_from[0].style.left=t+"%",o.shad_from[0].style.width=e+"%"):o.shad_from[0].style.display="none",r.to_shadow&&(l||c)?(i=this.convertToPercent(l?r.to_min:r.min),n=this.convertToPercent(c?r.to_max:r.max)-i,i=this.toFixed(i-this.coords.p_handle/100*i),n=this.toFixed(n-this.coords.p_handle/100*n),i+=this.coords.p_handle/2,o.shad_to[0].style.display="block",o.shad_to[0].style.left=i+"%",o.shad_to[0].style.width=n+"%"):o.shad_to[0].style.display="none")},writeToInput:function(){"single"===this.options.type?(this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&"function"==typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&"function"==typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&"function"==typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&"function"==typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input"),this.has_tab_index?this.$cache.input.prop("tabindex",-1):this.$cache.input.removeProp("tabindex"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(t,e){var i,n=this.options.max-this.options.min,r=n/100;return n?(i=(e?t:t-this.options.min)/r,this.toFixed(i)):(this.no_diapason=!0,0)},convertToValue:function(t){var e,i,n=this.options.min,r=this.options.max,o=n.toString().split(".")[1],a=r.toString().split(".")[1],s=0,l=0;if(0===t)return this.options.min;if(100===t)return this.options.max;o&&(s=e=o.length),a&&(s=i=a.length),e&&i&&(s=i<=e?e:i),n<0&&(n=+(n+(l=Math.abs(n))).toFixed(s),r=+(r+l).toFixed(s));var c,u=(r-n)/100*t+n,h=this.options.step.toString().split(".")[1];return u=h?+u.toFixed(h.length):(u/=this.options.step,+(u*=this.options.step).toFixed(0)),l&&(u-=l),(c=h?+u.toFixed(h.length):this.toFixed(u))<this.options.min?c=this.options.min:c>this.options.max&&(c=this.options.max),c},calcWithStep:function(t){var e=Math.round(t/this.coords.p_step)*this.coords.p_step;return 100<e&&(e=100),100===t&&(e=100),this.toFixed(e)},checkMinInterval:function(t,e,i){var n,r,o=this.options;return o.min_interval?(n=this.convertToValue(t),r=this.convertToValue(e),"from"===i?r-n<o.min_interval&&(n=r-o.min_interval):n-r<o.min_interval&&(n=r+o.min_interval),this.convertToPercent(n)):t},checkMaxInterval:function(t,e,i){var n,r,o=this.options;return o.max_interval?(n=this.convertToValue(t),r=this.convertToValue(e),"from"===i?r-n>o.max_interval&&(n=r-o.max_interval):n-r>o.max_interval&&(n=r+o.max_interval),this.convertToPercent(n)):t},checkDiapason:function(t,e,i){var n=this.convertToValue(t),r=this.options;return"number"!=typeof e&&(e=r.min),"number"!=typeof i&&(i=r.max),n<e&&(n=e),i<n&&(n=i),this.convertToPercent(n)},toFixed:function(t){return+(t=t.toFixed(20))},_prettify:function(t){return this.options.prettify_enabled?this.options.prettify&&"function"==typeof this.options.prettify?this.options.prettify(t):this.prettify(t):t},prettify:function(t){return t.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(t,e){return this.options.force_edges&&(t<0?t=0:100-e<t&&(t=100-e)),this.toFixed(t)},validate:function(){var t,e,i=this.options,n=this.result,r=i.values,o=r.length;if("string"==typeof i.min&&(i.min=+i.min),"string"==typeof i.max&&(i.max=+i.max),"string"==typeof i.from&&(i.from=+i.from),"string"==typeof i.to&&(i.to=+i.to),"string"==typeof i.step&&(i.step=+i.step),"string"==typeof i.from_min&&(i.from_min=+i.from_min),"string"==typeof i.from_max&&(i.from_max=+i.from_max),"string"==typeof i.to_min&&(i.to_min=+i.to_min),"string"==typeof i.to_max&&(i.to_max=+i.to_max),"string"==typeof i.grid_num&&(i.grid_num=+i.grid_num),i.max<i.min&&(i.max=i.min),o)for(i.p_values=[],i.min=0,i.max=o-1,i.step=1,i.grid_num=i.max,i.grid_snap=!0,e=0;e<o;e++)t=+r[e],t=isNaN(t)?r[e]:(r[e]=t,this._prettify(t)),i.p_values.push(t);("number"!=typeof i.from||isNaN(i.from))&&(i.from=i.min),("number"!=typeof i.to||isNaN(i.to))&&(i.to=i.max),"single"===i.type?(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max)):(i.from<i.min&&(i.from=i.min),i.from>i.max&&(i.from=i.max),i.to<i.min&&(i.to=i.min),i.to>i.max&&(i.to=i.max),this.update_check.from&&(this.update_check.from!==i.from&&i.from>i.to&&(i.from=i.to),this.update_check.to!==i.to&&i.to<i.from&&(i.to=i.from)),i.from>i.to&&(i.from=i.to),i.to<i.from&&(i.to=i.from)),("number"!=typeof i.step||isNaN(i.step)||!i.step||i.step<0)&&(i.step=1),"number"==typeof i.from_min&&i.from<i.from_min&&(i.from=i.from_min),"number"==typeof i.from_max&&i.from>i.from_max&&(i.from=i.from_max),"number"==typeof i.to_min&&i.to<i.to_min&&(i.to=i.to_min),"number"==typeof i.to_max&&i.from>i.to_max&&(i.to=i.to_max),n&&(n.min!==i.min&&(n.min=i.min),n.max!==i.max&&(n.max=i.max),(n.from<n.min||n.from>n.max)&&(n.from=i.from),(n.to<n.min||n.to>n.max)&&(n.to=i.to)),("number"!=typeof i.min_interval||isNaN(i.min_interval)||!i.min_interval||i.min_interval<0)&&(i.min_interval=0),("number"!=typeof i.max_interval||isNaN(i.max_interval)||!i.max_interval||i.max_interval<0)&&(i.max_interval=0),i.min_interval&&i.min_interval>i.max-i.min&&(i.min_interval=i.max-i.min),i.max_interval&&i.max_interval>i.max-i.min&&(i.max_interval=i.max-i.min)},decorate:function(t,e){var i="",n=this.options;return n.prefix&&(i+=n.prefix),i+=t,n.max_postfix&&(n.values.length&&t===n.p_values[n.max]?(i+=n.max_postfix,n.postfix&&(i+=" ")):e===n.max&&(i+=n.max_postfix,n.postfix&&(i+=" "))),n.postfix&&(i+=n.postfix),i},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var t,e,i,n,r,o,a=this.options,s=a.max-a.min,l=a.grid_num,c=0,u=4,h="";for(this.calcGridMargin(),a.grid_snap&&(l=s/a.step),50<l&&(l=50),i=this.toFixed(100/l),4<l&&(u=3),7<l&&(u=2),14<l&&(u=1),28<l&&(u=0),t=0;t<l+1;t++){for(n=u,100<(c=this.toFixed(i*t))&&(c=100),r=((this.coords.big[t]=c)-i*(t-1))/(n+1),e=1;e<=n&&0!==c;e++)h+='<span class="irs-grid-pol small" style="left: '+this.toFixed(c-r*e)+'%"></span>';h+='<span class="irs-grid-pol" style="left: '+c+'%"></span>',o=this.convertToValue(c),h+='<span class="irs-grid-text js-grid-text-'+t+'" style="left: '+c+'%">'+(o=a.values.length?a.p_values[o]:this._prettify(o))+"</span>"}this.coords.big_num=Math.ceil(l+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(h),this.cacheGridLabels()}},cacheGridLabels:function(){var t,e,i=this.coords.big_num;for(e=0;e<i;e++)t=this.$cache.grid.find(".js-grid-text-"+e),this.$cache.grid_labels.push(t);this.calcGridLabels()},calcGridLabels:function(){var t,e,i=[],n=[],r=this.coords.big_num;for(t=0;t<r;t++)this.coords.big_w[t]=this.$cache.grid_labels[t].outerWidth(!1),this.coords.big_p[t]=this.toFixed(this.coords.big_w[t]/this.coords.w_rs*100),this.coords.big_x[t]=this.toFixed(this.coords.big_p[t]/2),i[t]=this.toFixed(this.coords.big[t]-this.coords.big_x[t]),n[t]=this.toFixed(i[t]+this.coords.big_p[t]);for(this.options.force_edges&&(i[0]<-this.coords.grid_gap&&(i[0]=-this.coords.grid_gap,n[0]=this.toFixed(i[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),n[r-1]>100+this.coords.grid_gap&&(n[r-1]=100+this.coords.grid_gap,i[r-1]=this.toFixed(n[r-1]-this.coords.big_p[r-1]),this.coords.big_x[r-1]=this.toFixed(this.coords.big_p[r-1]-this.coords.grid_gap))),this.calcGridCollision(2,i,n),this.calcGridCollision(4,i,n),t=0;t<r;t++)e=this.$cache.grid_labels[t][0],this.coords.big_x[t]!==Number.POSITIVE_INFINITY&&(e.style.marginLeft=-this.coords.big_x[t]+"%")},calcGridCollision:function(t,e,i){var n,r,o,a=this.coords.big_num;for(n=0;n<a&&!(a<=(r=n+t/2));n+=t)o=this.$cache.grid_labels[r][0],i[n]<=e[r]?o.style.visibility="visible":o.style.visibility="hidden"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[0].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(e){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=t.extend(this.options,e),this.validate(),this.updateResult(e),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),t.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},t.fn.ionRangeSlider=function(e){return this.each(function(){t.data(this,"ionRangeSlider")||t.data(this,"ionRangeSlider",new c(this,e,s++))})},function(){for(var t=0,e=["ms","moz","webkit","o"],n=0;n<e.length&&!i.requestAnimationFrame;++n)i.requestAnimationFrame=i[e[n]+"RequestAnimationFrame"],i.cancelAnimationFrame=i[e[n]+"CancelAnimationFrame"]||i[e[n]+"CancelRequestAnimationFrame"];i.requestAnimationFrame||(i.requestAnimationFrame=function(e,n){var r=(new Date).getTime(),o=Math.max(0,16-(r-t)),a=i.setTimeout(function(){e(r+o)},o);return t=r+o,a}),i.cancelAnimationFrame||(i.cancelAnimationFrame=function(t){clearTimeout(t)})}()}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e;t.extend(t.fn,{validate:function(e){if(this.length){var i=t.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(e){i.submitButton=e.currentTarget,t(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(e){function n(){var n,r;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(n=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(r=i.settings.submitHandler.call(i,i.currentForm,e),n&&n.remove(),void 0!==r&&r)}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,n()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):n():(i.focusInvalid(),!1)})),i)}e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var e,i,n;return t(this[0]).is("form")?e=this.validate().form():(n=[],e=!0,i=t(this[0].form).validate(),this.each(function(){(e=i.element(this)&&e)||(n=n.concat(i.errorList))}),i.errorList=n),e},rules:function(e,i){var n,r,o,a,s,l,c=this[0],u=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=c&&(!c.form&&u&&(c.form=this.closest("form")[0],c.name=this.attr("name")),null!=c.form)){if(e)switch(r=(n=t.data(c.form,"validator").settings).rules,o=t.validator.staticRules(c),e){case"add":t.extend(o,t.validator.normalizeRule(i)),delete o.messages,r[c.name]=o,i.messages&&(n.messages[c.name]=t.extend(n.messages[c.name],i.messages));break;case"remove":return i?(l={},t.each(i.split(/\s/),function(t,e){l[e]=o[e],delete o[e]}),l):(delete r[c.name],o)}return(a=t.validator.normalizeRules(t.extend({},t.validator.classRules(c),t.validator.attributeRules(c),t.validator.dataRules(c),t.validator.staticRules(c)),c)).required&&(s=a.required,delete a.required,a=t.extend({required:s},a)),a.remote&&(s=a.remote,delete a.remote,a=t.extend(a,{remote:s})),a}}}),t.extend(t.expr.pseudos||t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){var i=t(e).val();return null!==i&&!!t.trim(""+i)},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:void 0===i?e:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(new RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(e,i){9===i.which&&""===this.elementValue(e)||-1!==t.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,n){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(n):t(e).addClass(i).removeClass(n)},unhighlight:function(e,i,n){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(n):t(e).removeClass(i).addClass(n)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}."),step:t.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var e,i=this.currentForm,n=this.groups={};function r(e){var n=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");if(!this.form&&n&&(this.form=t(this).closest("form")[0],this.name=t(this).attr("name")),i===this.form){var r=t.data(this.form,"validator"),o="on"+e.type.replace(/^validate/,""),a=r.settings;a[o]&&!t(this).is(a.ignore)&&a[o].call(r,this,e)}}t.each(this.settings.groups,function(e,i){"string"==typeof i&&(i=i.split(/\s/)),t.each(i,function(t,i){n[i]=e})}),e=this.settings.rules,t.each(e,function(i,n){e[i]=t.validator.normalizeRule(n)}),t(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",r).on("click.validate","select, option, [type='radio'], [type='checkbox']",r),this.settings.invalidHandler&&t(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){var i,n,r=this.clean(e),o=this.validationTargetFor(r),a=this,s=!0;return void 0===o?delete this.invalid[r.name]:(this.prepareElement(o),this.currentElements=t(o),(n=this.groups[o.name])&&t.each(this.groups,function(t,e){e===n&&t!==o.name&&(r=a.validationTargetFor(a.clean(a.findByName(t))))&&r.name in a.invalid&&(a.currentElements.push(r),s=a.check(r)&&s)}),i=!1!==this.check(o),s=s&&i,this.invalid[o.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),t(e).attr("aria-invalid",!i)),s},showErrors:function(e){if(e){var i=this;t.extend(this.errorMap,e),this.errorList=t.map(this.errorMap,function(t,e){return{message:t,element:i.findByName(e)[0]}}),this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(t){t.not(this.containers).text(""),this.addWrapper(t).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var n=this.name||t(this).attr("name"),r=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");return!n&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),r&&(this.form=t(this).closest("form")[0],this.name=n),this.form===e.currentForm&&(!(n in i||!e.objectLength(t(this).rules()))&&(i[n]=!0,!0))})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return t(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([])},reset:function(){this.resetInternals(),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i,n,r=t(e),o=e.type,a=void 0!==r.attr("contenteditable")&&"false"!==r.attr("contenteditable");return"radio"===o||"checkbox"===o?this.findByName(e.name).filter(":checked").val():"number"===o&&void 0!==e.validity?e.validity.badInput?"NaN":r.val():(i=a?r.text():r.val(),"file"===o?"C:\\fakepath\\"===i.substr(0,12)?i.substr(12):(n=i.lastIndexOf("/"))>=0?i.substr(n+1):(n=i.lastIndexOf("\\"))>=0?i.substr(n+1):i:"string"==typeof i?i.replace(/\r/g,""):i)},check:function(e){e=this.validationTargetFor(this.clean(e));var i,n,r,o,a=t(e).rules(),s=t.map(a,function(t,e){return e}).length,l=!1,c=this.elementValue(e);for(n in"function"==typeof a.normalizer?o=a.normalizer:"function"==typeof this.settings.normalizer&&(o=this.settings.normalizer),o&&(c=o.call(e,c),delete a.normalizer),a){r={method:n,parameters:a[n]};try{if("dependency-mismatch"===(i=t.validator.methods[n].call(this,c,e,r.parameters))&&1===s){l=!0;continue}if(l=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!i)return this.formatAndAdd(e,r),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+r.method+"' method.",t),t instanceof TypeError&&(t.message+=". Exception occurred when checking element "+e.id+", check the '"+r.method+"' method."),t}}if(!l)return this.objectLength(a)&&this.successList.push(e),!0},customDataMessage:function(e,i){return t(e).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||t(e).data("msg")},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(e,i){"string"==typeof i&&(i={method:i});var n=this.findDefined(this.customMessage(e.name,i.method),this.customDataMessage(e,i.method),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),r=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,i.parameters,e):r.test(n)&&(n=t.validator.format(n.replace(r,"{$1}"),i.parameters)),n},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,i;for(t=0;this.errorList[t];t++)i=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var n,r,o,a,s=this.errorsFor(e),l=this.idOrName(e),c=t(e).attr("aria-describedby");s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(i)):(n=s=t("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(n=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,t(e)):n.insertAfter(e),s.is("label")?s.attr("for",l):0===s.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(o=s.attr("id"),c?c.match(new RegExp("\\b"+this.escapeCssMeta(o)+"\\b"))||(c+=" "+o):c=o,t(e).attr("aria-describedby",c),(r=this.groups[e.name])&&(a=this,t.each(a.groups,function(e,i){i===r&&t("[name='"+a.escapeCssMeta(e)+"']",a.currentForm).attr("aria-describedby",s.attr("id"))})))),!i&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var i=this.escapeCssMeta(this.idOrName(e)),n=t(e).attr("aria-describedby"),r="label[for='"+i+"'], label[for='"+i+"'] *";return n&&(r=r+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(r)},escapeCssMeta:function(t){return t.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),t(e).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+this.escapeCssMeta(e)+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(e,i){return!!t(e,i.form).length},function:function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,t(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t(e).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.submitButton&&t("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e,i){return i="string"==typeof i&&i||"remote",t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:i})})},destroy:function(){this.resetForm(),t(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},n=t(e).attr("class");return n&&t.each(n.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(t,e,i,n){/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(n=Number(n),isNaN(n)&&(n=void 0)),n||0===n?t[i]=n:e===i&&"range"!==e&&(t[i]=!0)},attributeRules:function(e){var i,n,r={},o=t(e),a=e.getAttribute("type");for(i in t.validator.methods)"required"===i?(""===(n=e.getAttribute(i))&&(n=!0),n=!!n):n=o.attr(i),this.normalizeAttributeRule(r,a,i,n);return r.maxlength&&/-1|2147483647|524288/.test(r.maxlength)&&delete r.maxlength,r},dataRules:function(e){var i,n,r={},o=t(e),a=e.getAttribute("type");for(i in t.validator.methods)""===(n=o.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()))&&(n=!0),this.normalizeAttributeRule(r,a,i,n);return r},staticRules:function(e){var i={},n=t.data(e.form,"validator");return n.settings.rules&&(i=t.validator.normalizeRule(n.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(n,r){if(!1!==r){if(r.param||r.depends){var o=!0;switch(typeof r.depends){case"string":o=!!t(r.depends,i.form).length;break;case"function":o=r.depends.call(i,i)}o?e[n]=void 0===r.param||r.param:(t.data(i.form,"validator").resetElements(t(i)),delete e[n])}}else delete e[n]}),t.each(e,function(n,r){e[n]=t.isFunction(r)&&"normalizer"!==n?r(i):r}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var i;e[this]&&(t.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(i=e[this].replace(/[\[\]]/g,"").split(/[\s,]+/),e[this]=[Number(i[0]),Number(i[1])]))}),t.validator.autoCreateRanges&&(null!=e.min&&null!=e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),null!=e.minlength&&null!=e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i}return e},addMethod:function(e,i,n){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==n?n:t.validator.messages[e],i.length<3&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,n){if(!this.depend(n,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var r=t(i).val();return r&&r.length>0}return this.checkable(i)?this.getLength(e,i)>0:null!=e&&e.length>0},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[\/?#]\S*)?$/i.test(t)},date:(e=!1,function(t,i){return e||(e=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(t).toString())}),dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(e,i,n){var r=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||r>=n},maxlength:function(e,i,n){var r=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||r<=n},rangelength:function(e,i,n){var r=t.isArray(e)?e.length:this.getLength(e,i);return this.optional(i)||r>=n[0]&&r<=n[1]},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(e,i,n){var r,o=t(i).attr("type"),a="Step attribute on input type "+o+" is not supported.",s=new RegExp("\\b"+o+"\\b"),l=function(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0},c=function(t){return Math.round(t*Math.pow(10,r))},u=!0;if(o&&!s.test(["text","number","range"].join()))throw new Error(a);return r=l(n),(l(e)>r||c(e)%c(n)!=0)&&(u=!1),this.optional(i)||u},equalTo:function(e,i,n){var r=t(n);return this.settings.onfocusout&&r.not(".validate-equalTo-blur").length&&r.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){t(i).valid()}),e===r.val()},remote:function(e,i,n,r){if(this.optional(i))return"dependency-mismatch";r="string"==typeof r&&r||"remote";var o,a,s,l=this.previousValue(i,r);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][r],this.settings.messages[i.name][r]=l.message,n="string"==typeof n&&{url:n}||n,s=t.param(t.extend({data:e},n.data)),l.old===s?l.valid:(l.old=s,o=this,this.startRequest(i),(a={})[i.name]=e,t.ajax(t.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:a,context:o.currentForm,success:function(t){var n,a,s,c=!0===t||"true"===t;o.settings.messages[i.name][r]=l.originalMessage,c?(s=o.formSubmitted,o.resetInternals(),o.toHide=o.errorsFor(i),o.formSubmitted=s,o.successList.push(i),o.invalid[i.name]=!1,o.showErrors()):(n={},a=t||o.defaultMessage(i,{method:r,parameters:e}),n[i.name]=l.message=a,o.invalid[i.name]=!0,o.showErrors(n)),l.valid=c,o.stopRequest(i,c)}},n)),"pending")}}});var i,n={};return t.ajaxPrefilter?t.ajaxPrefilter(function(t,e,i){var r=t.port;"abort"===t.mode&&(n[r]&&n[r].abort(),n[r]=i)}):(i=t.ajax,t.ajax=function(e){var r=("mode"in e?e:t.ajaxSettings).mode,o=("port"in e?e:t.ajaxSettings).port;return"abort"===r?(n[o]&&n[o].abort(),n[o]=i.apply(this,arguments),n[o]):i.apply(this,arguments)}),t});var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(t,e,i){t instanceof String&&(t=String(t));for(var n=t.length,r=0;r<n;r++){var o=t[r];if(e.call(i,o,r,t))return{i:r,v:o}}return{i:-1,v:void 0}},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,i){t!=Array.prototype&&t!=Object.prototype&&(t[e]=i.value)},$jscomp.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:"undefined"!=typeof global&&null!=global?global:t},$jscomp.global=$jscomp.getGlobal(this),$jscomp.polyfill=function(t,e,i,n){if(e){for(i=$jscomp.global,t=t.split("."),n=0;n<t.length-1;n++){var r=t[n];r in i||(i[r]={}),i=i[r]}(e=e(n=i[t=t[t.length-1]]))!=n&&null!=e&&$jscomp.defineProperty(i,t,{configurable:!0,writable:!0,value:e})}},$jscomp.polyfill("Array.prototype.find",function(t){return t||function(t,e){return $jscomp.findInternal(this,t,e).v}},"es6","es3"),function(t){t.fn.tableExport=function(e){function i(e){var i=[];return r(e,"thead").each(function(){i.push.apply(i,r(t(this),P.theadSelector).toArray())}),i}function n(e){var i=[];return r(e,"tbody").each(function(){i.push.apply(i,r(t(this),P.tbodySelector).toArray())}),P.tfootSelector.length&&r(e,"tfoot").each(function(){i.push.apply(i,r(t(this),P.tfootSelector).toArray())}),i}function r(e,i){var n=e[0].tagName,r=e.parents(n).length;return e.find(i).filter(function(){return r===t(this).closest(n).parents(n).length})}function o(e){var i=[];return t(e).find("thead").first().find("th").each(function(e,n){void 0!==t(n).attr("data-field")?i[e]=t(n).attr("data-field"):i[e]=e.toString()}),i}function a(e){var i=void 0!==e[0].cellIndex,n=void 0!==e[0].rowIndex,r=i||n?function(t){var e=[];return W&&(e=j.filter(function(){var e=!1;return this.nodeType===t[0].nodeType&&(void 0!==this.rowIndex&&this.rowIndex===t[0].rowIndex?e=!0:void 0!==this.cellIndex&&this.cellIndex===t[0].cellIndex&&void 0!==this.parentNode.rowIndex&&void 0!==t[0].parentNode.rowIndex&&this.parentNode.rowIndex===t[0].parentNode.rowIndex&&(e=!0)),e})),!1===W||0===e.length}(e):e.is(":visible"),o=e.data("tableexport-display");return i&&"none"!==o&&"always"!==o&&(n=void 0!==(e=t(e[0].parentNode))[0].rowIndex,o=e.data("tableexport-display")),n&&"none"!==o&&"always"!==o&&(o=e.closest("table").data("tableexport-display")),"none"!==o&&(!0===r||"always"===o)}function s(e,i,n){var r=!1;return a(e)?0<P.ignoreColumn.length&&(-1!==t.inArray(n,P.ignoreColumn)||-1!==t.inArray(n-i,P.ignoreColumn)||H.length>n&&void 0!==H[n]&&-1!==t.inArray(H[n],P.ignoreColumn))&&(r=!0):r=!0,r}function l(e,i,n,o,l){if("function"==typeof l){var c=!1;if("function"==typeof P.onIgnoreRow&&(c=P.onIgnoreRow(t(e),n)),!1===c&&-1===t.inArray(n,P.ignoreRow)&&-1===t.inArray(n-o,P.ignoreRow)&&a(t(e))){var u=r(t(e),i),h=0;u.each(function(e){var i,r=t(this),o=_(this),a=S(this);if(t.each(V,function(){if(n>=this.s.r&&n<=this.e.r&&h>=this.s.c&&h<=this.e.c)for(i=0;i<=this.e.c-this.s.c;++i)l(null,n,h++)}),!1===s(r,u.length,e)&&((a||o)&&(o=o||1,V.push({s:{r:n,c:h},e:{r:n+(a||1)-1,c:h+o-1}})),l(this,n,h++)),o)for(i=0;i<o-1;++i)l(null,n,h++)}),t.each(V,function(){if(n>=this.s.r&&n<=this.e.r&&h>=this.s.c&&h<=this.e.c)for(rt=0;rt<=this.e.c-this.s.c;++rt)l(null,n,h++)})}}}function c(t,e,i,n){if(void 0!==n.images&&void 0!==(i=n.images[i])){e=e.getBoundingClientRect();var r=t.width/t.height,o=e.width/e.height,a=t.width,s=t.height,l=19.049976/25.4,c=0;o<=r?(s=Math.min(t.height,e.height),a=e.width*s/e.height):o>r&&(a=Math.min(t.width,e.width),s=e.height*a/e.width),a*=l,(s*=l)<t.height&&(c=(t.height-s)/2);try{n.doc.addImage(i.src,t.textPos.x,t.y+c,a,s)}catch(t){}t.textPos.x+=a}}function u(t,e){if("string"===P.outputMode)return t.output();if("base64"===P.outputMode)return M(t.output());if("window"===P.outputMode)window.URL=window.URL||window.webkitURL,window.open(window.URL.createObjectURL(t.output("blob")));else try{var i=t.output("blob");saveAs(i,P.fileName+".pdf")}catch(i){A(P.fileName+".pdf","data:application/pdf"+(e?"":";base64")+",",e?t.output("blob"):t.output())}}function h(t,e,i){var n=0;if(void 0!==i&&(n=i.colspan),0<=n){for(var r=t.width,o=t.textPos.x,a=e.table.columns.indexOf(e.column),s=1;s<n;s++)r+=e.table.columns[a+s].width;return 1<n&&("right"===t.styles.halign?o=t.textPos.x+r-t.width:"center"===t.styles.halign&&(o=t.textPos.x+(r-t.width)/2)),t.width=r,t.textPos.x=o,void 0!==i&&1<i.rowspan&&(t.height*=i.rowspan),"middle"!==t.styles.valign&&"bottom"!==t.styles.valign||2<(i=("string"==typeof t.text?t.text.split(/\r\n|\r|\n/g):t.text).length||1)&&(t.textPos.y-=(2-1.15)/2*e.row.styles.fontSize*(i-2)/3),!0}return!1}function d(e,i,n){i.each(function(){if(t(this).is("div")){var i=x(C(this,"background-color"),[255,255,255]),r=x(C(this,"border-top-color"),[0,0,0]),o=k(this,"border-top-width",P.jspdf.unit),a=this.getBoundingClientRect(),s=this.offsetLeft*n.wScaleFactor,l=this.offsetTop*n.hScaleFactor,u=a.width*n.wScaleFactor;a=a.height*n.hScaleFactor,n.doc.setDrawColor.apply(void 0,r),n.doc.setFillColor.apply(void 0,i),n.doc.setLineWidth(o),n.doc.rect(e.x+s,e.y+l,u,a,o?"FD":"F")}else t(this).is("img")&&(i=T(this.src),c(e,this,i,n));d(e,t(this).children(),n)})}function f(e,i,n){if("function"==typeof n.onAutotableText)n.onAutotableText(n.doc,e,i);else{var r=e.textPos.x,o=e.textPos.y,a={halign:e.styles.halign,valign:e.styles.valign};if(i.length){for(i=i[0];i.previousSibling;)i=i.previousSibling;for(var s=!1,l=!1;i;){var c=i.innerText||i.textContent||"",u=c.length&&" "===c[0]?" ":"",h=1<c.length&&" "===c[c.length-1]?" ":"";if(!0!==P.preserve.leadingWS&&(c=u+g(c)),!0!==P.preserve.trailingWS&&(c=m(c)+h),t(i).is("br")&&(r=e.textPos.x,o+=n.doc.internal.getFontSize()),t(i).is("b")?s=!0:t(i).is("i")&&(l=!0),(s||l)&&n.doc.setFontType(s&&l?"bolditalic":s?"bold":"italic"),u=n.doc.getStringUnitWidth(c)*n.doc.internal.getFontSize()){if("linebreak"===e.styles.overflow&&r>e.textPos.x&&r+u>e.textPos.x+e.width&&(0<=".,!%*;:=-".indexOf(c.charAt(0))&&(h=c.charAt(0),r+(u=n.doc.getStringUnitWidth(h)*n.doc.internal.getFontSize())<=e.textPos.x+e.width&&(n.doc.autoTableText(h,r,o,a),c=c.substring(1,c.length)),u=n.doc.getStringUnitWidth(c)*n.doc.internal.getFontSize()),r=e.textPos.x,o+=n.doc.internal.getFontSize()),"visible"!==e.styles.overflow)for(;c.length&&r+u>e.textPos.x+e.width;)c=c.substring(0,c.length-1),u=n.doc.getStringUnitWidth(c)*n.doc.internal.getFontSize();n.doc.autoTableText(c,r,o,a),r+=u}(s||l)&&(t(i).is("b")?s=!1:t(i).is("i")&&(l=!1),n.doc.setFontType(s||l?s?"bold":"italic":"normal")),i=i.nextSibling}e.textPos.x=r,e.textPos.y=o}else n.doc.autoTableText(e.text,e.textPos.x,e.textPos.y,a)}}function p(t,e,i){return null==t?"":t.toString().replace(new RegExp(null==e?"":e.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),i)}function g(t){return null==t?"":t.toString().replace(/^\s+/,"")}function m(t){return null==t?"":t.toString().replace(/\s+$/,"")}function v(t){return t=p(t||"0",P.numbers.html.thousandsSeparator,""),("number"==typeof(t=p(t,P.numbers.html.decimalMark,"."))||!1!==jQuery.isNumeric(t))&&t}function y(e,i,n){var r="";if(null!==e){var o=t(e);if(o[0].hasAttribute("data-tableexport-canvas"))var a="";else if(o[0].hasAttribute("data-tableexport-value"))a=(a=o.data("tableexport-value"))?a+"":"";else if(a=o.html(),"function"==typeof P.onCellHtmlData)a=P.onCellHtmlData(o,i,n,a);else if(""!==a){var s=t.parseHTML(a),l=0,c=0;a="",t.each(s,function(){t(this).is("input")?a+=o.find("input").eq(l++).val():t(this).is("select")?a+=o.find("select option:selected").eq(c++).text():t(this).is("br")?a+="<br>":void 0===t(this).html()?a+=t(this).text():(void 0===jQuery().bootstrapTable||!1===t(this).hasClass("fht-cell")&&!1===t(this).hasClass("filterControl")&&0===o.parents(".detail-view").length)&&(a+=t(this).html())})}if(!0===P.htmlContent)r=t.trim(a);else if(a&&""!==a)if(""!==t(e).data("tableexport-cellformat")){var u=a.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,"");if(s=t("<div/>").html(u).contents(),e=!1,u="",t.each(s.text().split("\u2028"),function(t,e){0<t&&(u+=" "),!0!==P.preserve.leadingWS&&(e=g(e)),u+=!0!==P.preserve.trailingWS?m(e):e}),t.each(u.split(""),function(t,e){0<t&&(r+="\n"),!0!==P.preserve.leadingWS&&(e=g(e)),!0!==P.preserve.trailingWS&&(e=m(e)),r+=e.replace(/\u00AD/g,"")}),r=r.replace(/\u00A0/g," "),"json"===P.type||"excel"===P.type&&"xmlss"===P.mso.fileFormat||!1===P.numbers.output)!1!==(e=v(r))&&(r=Number(e));else if((P.numbers.html.decimalMark!==P.numbers.output.decimalMark||P.numbers.html.thousandsSeparator!==P.numbers.output.thousandsSeparator)&&!1!==(e=v(r))){1===(s=(""+e.substr(0>e?1:0)).split(".")).length&&(s[1]="");var h=3<s[0].length?s[0].length%3:0;r=(0>e?"-":"")+(P.numbers.output.thousandsSeparator?(h?s[0].substr(0,h)+P.numbers.output.thousandsSeparator:"")+s[0].substr(h).replace(/(\d{3})(?=\d)/g,"$1"+P.numbers.output.thousandsSeparator):s[0])+(s[1].length?P.numbers.output.decimalMark+s[1]:"")}}else r=a;!0===P.escape&&(r=escape(r)),"function"==typeof P.onCellData&&(r=P.onCellData(o,i,n,r))}return r}function b(t){return 0<t.length&&!0===P.preventInjection&&0<="=+-@".indexOf(t.charAt(0))?"'"+t:t}function L(t,e,i){return e+"-"+i.toLowerCase()}function x(t,e){return(t=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(t))&&(e=[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]),e}function w(t){var e=C(t,"text-align"),i=C(t,"font-weight"),n=C(t,"font-style"),r="";return"start"===e&&(e="rtl"===C(t,"direction")?"right":"left"),700<=i&&(r="bold"),"italic"===n&&(r+=n),""===r&&(r="normal"),e={style:{align:e,bcolor:x(C(t,"background-color"),[255,255,255]),color:x(C(t,"color"),[0,0,0]),fstyle:r},colspan:_(t),rowspan:S(t)},null!==t&&(t=t.getBoundingClientRect(),e.rect={width:t.width,height:t.height}),e}function _(e){var i=t(e).data("tableexport-colspan");return void 0===i&&t(e).is("[colspan]")&&(i=t(e).attr("colspan")),parseInt(i)||0}function S(e){var i=t(e).data("tableexport-rowspan");return void 0===i&&t(e).is("[rowspan]")&&(i=t(e).attr("rowspan")),parseInt(i)||0}function C(t,e){try{return window.getComputedStyle?(e=e.replace(/([a-z])([A-Z])/,L),window.getComputedStyle(t,null).getPropertyValue(e)):t.currentStyle?t.currentStyle[e]:t.style[e]}catch(t){}return""}function k(t,e,i){if(null!==(e=C(t,e).match(/\d+/))){e=e[0],t=t.parentElement;var n=document.createElement("div");return n.style.overflow="hidden",n.style.visibility="hidden",t.appendChild(n),n.style.width=100+i,i=100/n.offsetWidth,t.removeChild(n),e*i}return 0}function T(t){var e,i=0;if(0===t.length)return i;var n=0;for(e=t.length;n<e;n++){i=(i<<5)-i+t.charCodeAt(n),i|=0}return i}function E(t,e,i,n,r,o){var a=!0;if("function"==typeof P.onBeforeSaveToFile&&("boolean"!=typeof(a=P.onBeforeSaveToFile(t,e,i,n,r))&&(a=!0)),a)try{D=new Blob([t],{type:i+";charset="+n}),saveAs(D,e,!1===o),"function"==typeof P.onAfterSaveToFile&&P.onAfterSaveToFile(t,e)}catch(a){A(e,"data:"+i+(n.length?";charset="+n:"")+(r.length?";"+r:"")+","+(o?"\ufeff":""),t)}}function A(t,e,i){var n=window.navigator.userAgent;if(!1!==t&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([i]),t);else if(!1!==t&&(0<n.indexOf("MSIE ")||n.match(/Trident.*rv\:11\./))){if(e=document.createElement("iframe")){switch(document.body.appendChild(e),e.setAttribute("style","display:none"),e.contentDocument.open("txt/plain","replace"),e.contentDocument.write(i),e.contentDocument.close(),e.contentDocument.focus(),t.substr(t.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":t+=".txt"}e.contentDocument.execCommand("SaveAs",!0,t),document.body.removeChild(e)}}else{var r=document.createElement("a");if(r){var o=null;r.style.display="none",!1!==t?r.download=t:r.target="_blank","object"==typeof i?(window.URL=window.URL||window.webkitURL,(n=[]).push(i),o=window.URL.createObjectURL(new Blob(n,{type:e})),r.href=o):0<=e.toLowerCase().indexOf("base64,")?r.href=e+M(i):r.href=e+encodeURIComponent(i),document.body.appendChild(r),document.createEvent?(null===N&&(N=document.createEvent("MouseEvents")),N.initEvent("click",!0,!1),r.dispatchEvent(N)):document.createEventObject?r.fireEvent("onclick"):"function"==typeof r.onclick&&r.onclick(),setTimeout(function(){o&&window.URL.revokeObjectURL(o),document.body.removeChild(r),"function"==typeof P.onAfterSaveToFile&&P.onAfterSaveToFile(i,t)},100)}}}function M(t){var e,i="",n=0;if("string"==typeof t){t=t.replace(/\x0d\x0a/g,"\n");var r="";for(e=0;e<t.length;e++){var o=t.charCodeAt(e);128>o?r+=String.fromCharCode(o):(127<o&&2048>o?r+=String.fromCharCode(o>>6|192):(r+=String.fromCharCode(o>>12|224),r+=String.fromCharCode(o>>6&63|128)),r+=String.fromCharCode(63&o|128))}t=r}for(;n<t.length;){var a=t.charCodeAt(n++);o=a>>2,a=(3&a)<<4|(r=t.charCodeAt(n++))>>4;var s=(15&r)<<2|(e=t.charCodeAt(n++))>>6,l=63&e;isNaN(r)?s=l=64:isNaN(e)&&(l=64),i=i+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(o)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(s)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(l)}return i}var D,P={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:""},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onIgnoreRow:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageOrientation:"portrait",defaultStyle:{font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},O={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},I=this,N=null,R=[],F=[],B=0,z="",H=[],V=[],j=[],W=!1;if(t.extend(!0,P,e),"xlsx"===P.type&&(P.mso.fileFormat=P.type,P.type="excel"),void 0!==P.excelFileFormat&&"undefined"===P.mso.fileFormat&&(P.mso.fileFormat=P.excelFileFormat),void 0!==P.excelPageFormat&&"undefined"===P.mso.pageFormat&&(P.mso.pageFormat=P.excelPageFormat),void 0!==P.excelPageOrientation&&"undefined"===P.mso.pageOrientation&&(P.mso.pageOrientation=P.excelPageOrientation),void 0!==P.excelRTL&&"undefined"===P.mso.rtl&&(P.mso.rtl=P.excelRTL),void 0!==P.excelstyles&&"undefined"===P.mso.styles&&(P.mso.styles=P.excelstyles),void 0!==P.onMsoNumberFormat&&"undefined"===P.mso.onMsoNumberFormat&&(P.mso.onMsoNumberFormat=P.onMsoNumberFormat),void 0!==P.worksheetName&&"undefined"===P.mso.worksheetName&&(P.mso.worksheetName=P.worksheetName),P.mso.pageOrientation="l"===P.mso.pageOrientation.substr(0,1)?"landscape":"portrait",H=o(I),"csv"===P.type||"tsv"===P.type||"txt"===P.type){var U="",Y=0;V=[],B=0;var G=function(e,i,n){return e.each(function(){z="",l(this,i,B,n+e.length,function(t,e,i){var n=z,r="";null!==t&&(e=null===(t=y(t,e,i))||""===t?"":t.toString(),"tsv"===P.type?(t instanceof Date&&t.toLocaleString(),r=p(e,"\t"," ")):t instanceof Date?r=P.csvEnclosure+t.toLocaleString()+P.csvEnclosure:(0<=(r=p(r=b(e),P.csvEnclosure,P.csvEnclosure+P.csvEnclosure)).indexOf(P.csvSeparator)||/[\r\n ]/g.test(r))&&(r=P.csvEnclosure+r+P.csvEnclosure)),z=n+(r+("tsv"===P.type?"\t":P.csvSeparator))}),0<(z=t.trim(z).substring(0,z.length-1)).length&&(0<U.length&&(U+="\n"),U+=z),B++}),e.length};if(Y+=G(t(I).find("thead").first().find(P.theadSelector),"th,td",Y),r(t(I),"tbody").each(function(){Y+=G(r(t(this),P.tbodySelector),"td,th",Y)}),P.tfootSelector.length&&G(t(I).find("tfoot").first().find(P.tfootSelector),"td,th",Y),U+="\n","string"===P.outputMode)return U;if("base64"===P.outputMode)return M(U);if("window"===P.outputMode)return void A(!1,"data:text/"+("csv"===P.type?"csv":"plain")+";charset=utf-8,",U);E(U,P.fileName+"."+P.type,"text/"+("csv"===P.type?"csv":"plain"),"utf-8","","csv"===P.type&&P.csvUseBOM)}else if("sql"===P.type){B=0,V=[];var X="INSERT INTO "+P.sql.tableEnclosure+P.tableName+P.sql.tableEnclosure+" (";if(R=i(t(I)),t(R).each(function(){l(this,"th,td",B,R.length,function(t,e,i){X+=P.sql.columnEnclosure+y(t,e,i)+P.sql.columnEnclosure+","}),B++,X=t.trim(X).substring(0,X.length-1)}),X+=") VALUES ",F=n(t(I)),t(F).each(function(){z="",l(this,"td,th",B,R.length+F.length,function(t,e,i){z+="'"+y(t,e,i)+"',"}),3<z.length&&(X+="("+z,X=t.trim(X).substring(0,X.length-1),X+="),"),B++}),X=t.trim(X).substring(0,X.length-1),X+=";","string"===P.outputMode)return X;if("base64"===P.outputMode)return M(X);E(X,P.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===P.type){var q=[];V=[],R=i(t(I)),t(R).each(function(){var t=[];l(this,"th,td",B,R.length,function(e,i,n){t.push(y(e,i,n))}),q.push(t)});var $=[];if(F=n(t(I)),t(F).each(function(){var e={},i=0;l(this,"td,th",B,R.length+F.length,function(t,n,r){q.length?e[q[q.length-1][i]]=y(t,n,r):e[i]=y(t,n,r),i++}),!1===t.isEmptyObject(e)&&$.push(e),B++}),e="",e="head"===P.jsonScope?JSON.stringify(q):"data"===P.jsonScope?JSON.stringify($):JSON.stringify({header:q,data:$}),"string"===P.outputMode)return e;if("base64"===P.outputMode)return M(e);E(e,P.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===P.type){B=0,V=[];var Z='<?xml version="1.0" encoding="utf-8"?>';Z+="<tabledata><fields>",R=i(t(I)),t(R).each(function(){l(this,"th,td",B,R.length,function(t,e,i){Z+="<field>"+y(t,e,i)+"</field>"}),B++}),Z+="</fields><data>";var K=1;if(F=n(t(I)),t(F).each(function(){var t=1;z="",l(this,"td,th",B,R.length+F.length,function(e,i,n){z+="<column-"+t+">"+y(e,i,n)+"</column-"+t+">",t++}),0<z.length&&"<column-1></column-1>"!==z&&(Z+='<row id="'+K+'">'+z+"</row>",K++),B++}),Z+="</data></tabledata>","string"===P.outputMode)return Z;if("base64"===P.outputMode)return M(Z);E(Z,P.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===P.type&&"xmlss"===P.mso.fileFormat){var Q=[],J=[];t(I).filter(function(){return a(t(this))}).each(function(){function e(e,i,n){var r=[];return t(e).each(function(){var i=0,o=0;z="",l(this,"td,th",B,n+e.length,function(e,n,a){if(null!==e){var s="";if(n=y(e,n,a),a="String",!1!==jQuery.isNumeric(n))a="Number";else{var l=function(t){return-1<t.indexOf("%")?!1!==(t=v(t.replace(/%/g,"")))&&(t/=100):t=!1,t}(n);!1!==l&&(n=l,a="Number",s+=' ss:StyleID="pct1"')}"Number"!==a&&(n=n.replace(/\n/g,"<br>")),l=_(e),e=S(e),t.each(r,function(){if(B>=this.s.r&&B<=this.e.r&&o>=this.s.c&&o<=this.e.c)for(var t=0;t<=this.e.c-this.s.c;++t)o++,i++}),(e||l)&&(e=e||1,l=l||1,r.push({s:{r:B,c:o},e:{r:B+e-1,c:o+l-1}})),1<l&&(s+=' ss:MergeAcross="'+(l-1)+'"',o+=l-1),1<e&&(s+=' ss:MergeDown="'+(e-1)+'" ss:StyleID="rsp1"'),0<i&&(s+=' ss:Index="'+(o+1)+'"',i=0),z+="<Cell"+s+'><Data ss:Type="'+a+'">'+t("<div />").text(n).html()+"</Data></Cell>\r",o++}}),0<z.length&&(at+='<Row ss:AutoFitHeight="0">\r'+z+"</Row>\r"),B++}),e.length}var r=t(this),a="";"string"==typeof P.mso.worksheetName&&P.mso.worksheetName.length?a=P.mso.worksheetName+" "+(J.length+1):void 0!==P.mso.worksheetName[J.length]&&(a=P.mso.worksheetName[J.length]),a.length||(a=r.find("caption").text()||""),a.length||(a="Table "+(J.length+1)),a=t.trim(a.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),J.push(t("<div />").text(a).html()),!1===P.exportHiddenCells&&(j=r.find("tr, th, td").filter(":hidden"),W=0<j.length),B=0,H=o(this),at="<Table>\r";var s=e(i(r),0,s);e(n(r),0,s),at+="</Table>\r",Q.push(at)}),e={};for(var tt,et,it={},nt=0,rt=J.length;nt<rt;nt++)et=e[tt=J[nt]],2===(et=e[tt]=null==et?1:et+1)&&(J[it[tt]]=J[it[tt]].substring(0,29)+"-1"),1<e[tt]?J[nt]=J[nt].substring(0,29)+"-"+e[tt]:it[tt]=nt;for(e='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+(new Date).toISOString()+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r',it=0;it<Q.length;it++)e+='<Worksheet ss:Name="'+J[it]+'" ss:RightToLeft="'+(P.mso.rtl?"1":"0")+'">\r'+Q[it],e=P.mso.rtl?e+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':e+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',e+="</Worksheet>\r";if(e+="</Workbook>\r","string"===P.outputMode)return e;if("base64"===P.outputMode)return M(e);E(e,P.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===P.type&&"xlsx"===P.mso.fileFormat){J=[];var ot=XLSX.utils.book_new();t(I).filter(function(){return a(t(this))}).each(function(){var e=t(this),i=XLSX.utils.table_to_sheet(this),n="";"string"==typeof P.mso.worksheetName&&P.mso.worksheetName.length?n=P.mso.worksheetName+" "+(J.length+1):void 0!==P.mso.worksheetName[J.length]&&(n=P.mso.worksheetName[J.length]),n.length||(n=e.find("caption").text()||""),n.length||(n="Table "+(J.length+1)),n=t.trim(n.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),J.push(n),XLSX.utils.book_append_sheet(ot,i,n)}),E(function(t){for(var e=new ArrayBuffer(t.length),i=new Uint8Array(e),n=0;n!==t.length;++n)i[n]=255&t.charCodeAt(n);return e}(e=XLSX.write(ot,{type:"binary",bookType:P.mso.fileFormat,bookSST:!1})),P.fileName+"."+P.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===P.type||"xls"===P.type||"word"===P.type||"doc"===P.type){it="excel"===(e="excel"===P.type||"xls"===P.type?"excel":"word")?"xls":"doc",tt='xmlns:x="urn:schemas-microsoft-com:office:'+e+'"';var at="",st="";if(t(I).filter(function(){return a(t(this))}).each(function(){var e=t(this);""===st&&(st=P.mso.worksheetName||e.find("caption").text()||"Table",st=t.trim(st.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===P.exportHiddenCells&&(j=e.find("tr, th, td").filter(":hidden"),W=0<j.length),B=0,V=[],H=o(this),at+="<table><thead>",R=i(e),t(R).each(function(){var e=t(this);z="",l(this,"th,td",B,R.length,function(t,i,n){if(null!==t){var r="",o=document.defaultView.getComputedStyle(t,null),a=document.defaultView.getComputedStyle(e[0],null);for(var s in z+="<th",P.mso.styles){var l=o[P.mso.styles[s]];""===l&&(l=a[P.mso.styles[s]]),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(r+=""===r?'style="':";",r+=P.mso.styles[s]+":"+l)}""!==r&&(z+=" "+r+'"'),0<(r=_(t))&&(z+=' colspan="'+r+'"'),0<(r=S(t))&&(z+=' rowspan="'+r+'"'),z+=">"+y(t,i,n)+"</th>"}}),0<z.length&&(at+="<tr>"+z+"</tr>"),B++}),at+="</thead><tbody>",F=n(e),t(F).each(function(){var e=t(this);z="",l(this,"td,th",B,R.length+F.length,function(i,n,r){if(null!==i){var o=y(i,n,r),a="",s=t(i).data("tableexport-msonumberformat"),l=document.defaultView.getComputedStyle(i,null),c=document.defaultView.getComputedStyle(e[0],null);for(var u in void 0===s&&"function"==typeof P.mso.onMsoNumberFormat&&(s=P.mso.onMsoNumberFormat(i,n,r)),void 0!==s&&""!==s&&(a="style=\"mso-number-format:'"+s+"'"),P.mso.styles)""===(s=l[P.mso.styles[u]])&&(s=c[P.mso.styles[u]]),""!==s&&"0px none rgb(0, 0, 0)"!==s&&"rgba(0, 0, 0, 0)"!==s&&(a+=""===a?'style="':";",a+=P.mso.styles[u]+":"+s);z+="<td",""!==a&&(z+=" "+a+'"'),0<(n=_(i))&&(z+=' colspan="'+n+'"'),0<(i=S(i))&&(z+=' rowspan="'+i+'"'),"string"==typeof o&&""!==o&&(o=(o=b(o)).replace(/\n/g,"<br>")),z+=">"+o+"</td>"}}),0<z.length&&(at+="<tr>"+z+"</tr>"),B++}),P.displayTableName&&(at+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+y(t("<p>"+P.tableName+"</p>"))+"</td></tr>"),at+="</tbody></table>"}),tt='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+tt+' xmlns="http://www.w3.org/TR/REC-html40"><meta http-equiv="content-type" content="application/vnd.ms-'+e+'; charset=UTF-8"><head>',"excel"===e&&(tt+="\x3c!--[if gte mso 9]>",tt+="<xml>",tt+="<x:ExcelWorkbook>",tt+="<x:ExcelWorksheets>",tt+="<x:ExcelWorksheet>",tt+="<x:Name>",tt+=st,tt+="</x:Name>",tt+="<x:WorksheetOptions>",tt+="<x:DisplayGridlines/>",P.mso.rtl&&(tt+="<x:DisplayRightToLeft/>"),tt+="</x:WorksheetOptions>",tt+="</x:ExcelWorksheet>",tt+="</x:ExcelWorksheets>",tt+="</x:ExcelWorkbook>",tt+="</xml>",tt+="<![endif]--\x3e"),tt+="<style>",tt+="@page { size:"+P.mso.pageOrientation+"; mso-page-orientation:"+P.mso.pageOrientation+"; }",tt+="@page Section1 {size:"+O[P.mso.pageFormat][0]+"pt "+O[P.mso.pageFormat][1]+"pt",tt+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",tt+="div.Section1 {page:Section1;}",tt+="@page Section2 {size:"+O[P.mso.pageFormat][1]+"pt "+O[P.mso.pageFormat][0]+"pt",tt+=";mso-page-orientation:"+P.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",tt+="div.Section2 {page:Section2;}",tt+="br {mso-data-placement:same-cell;}",tt+="</style>",tt+="</head>",tt+="<body>",tt+='<div class="Section'+("landscape"===P.mso.pageOrientation?"2":"1")+'">',tt+=at,tt+="</div>",tt+="</body>",tt+="</html>","string"===P.outputMode)return tt;if("base64"===P.outputMode)return M(tt);E(tt,P.fileName+"."+it,"application/vnd.ms-"+e,"","base64",!1)}else if("png"===P.type)html2canvas(t(I)[0]).then(function(t){t=t.toDataURL();for(var e=atob(t.substring(22)),i=new ArrayBuffer(e.length),n=new Uint8Array(i),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return"string"===P.outputMode?e:"base64"===P.outputMode?M(t):void("window"===P.outputMode?window.open(t):E(i,P.fileName+".png","image/png","","",!1))});else if("pdf"===P.type)if(!0===P.pdfmake.enabled){e=[];var lt=[];for(B=0,V=[],tt=(it=function(e,i,n){var r=0;return t(e).each(function(){var t=[];l(this,i,B,n,function(e,i,n){if(null!=e){var r=_(e),o=S(e);e=y(e,i,n)||" ",1<r||1<o?t.push({colSpan:r||1,rowSpan:o||1,text:e}):t.push(e)}else t.push(" ")}),t.length&&lt.push(t),r<t.length&&(r=t.length),B++}),r})(R=i(t(this)),"th,td",R.length),et=e.length;et<tt;et++)e.push("*");it(F=n(t(this)),"th,td",R.length+F.length),e={content:[{table:{headerRows:R.length,widths:e,body:lt}}]},t.extend(!0,e,P.pdfmake.docDefinition),pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},t.extend(!0,pdfMake.fonts,P.pdfmake.fonts),pdfMake.createPdf(e).getBuffer(function(t){E(t,P.fileName+".pdf","application/pdf","","",!1)})}else if(!1===P.jspdf.autotable){e={dim:{w:k(t(I).first().get(0),"width","mm"),h:k(t(I).first().get(0),"height","mm")},pagesplit:!1};var ct=new jsPDF(P.jspdf.orientation,P.jspdf.unit,P.jspdf.format);ct.addHTML(t(I).first(),P.jspdf.margins.left,P.jspdf.margins.top,e,function(){u(ct,!1)})}else{var ut=P.jspdf.autotable.tableExport;if("string"==typeof P.jspdf.format&&"bestfit"===P.jspdf.format.toLowerCase()){var ht="",dt="",ft=0;t(I).each(function(){if(a(t(this))){var e=k(t(this).get(0),"width","pt");if(e>ft){for(var i in e>O.a0[0]&&(ht="a0",dt="l"),O)O.hasOwnProperty(i)&&O[i][1]>e&&(ht=i,dt="l",O[i][0]>e&&(dt="p"));ft=e}}}),P.jspdf.format=""===ht?"a4":ht,P.jspdf.orientation=""===dt?"w":dt}null==ut.doc&&(ut.doc=new jsPDF(P.jspdf.orientation,P.jspdf.unit,P.jspdf.format),ut.wScaleFactor=1,ut.hScaleFactor=1,"function"==typeof P.jspdf.onDocCreated)&&P.jspdf.onDocCreated(ut.doc),!0===ut.outputImages&&(ut.images={}),void 0!==ut.images&&(t(I).filter(function(){return a(t(this))}).each(function(){var e=0;V=[],!1===P.exportHiddenCells&&(j=t(this).find("tr, th, td").filter(":hidden"),W=0<j.length),R=i(t(this)),F=n(t(this)),t(F).each(function(){l(this,"td,th",R.length+e,R.length+F.length,function(e){!function e(i,n,r){null!=i&&(i.hasAttribute("data-tableexport-canvas")?(n=(new Date).getTime(),t(i).attr("data-tableexport-canvas",n),r.images[n]={url:'[data-tableexport-canvas="'+n+'"]',src:null}):"undefined"!==n&&null!=n&&n.each(function(){if(t(this).is("img")){var n=T(this.src);r.images[n]={url:this.src,src:this.src}}e(i,t(this).children(),r)}))}(e,t(e).children(),ut)}),e++})}),R=[],F=[]),function(e,i){function n(e){if(e.url)if(e.src){var n=new Image;r=++o,n.crossOrigin="Anonymous",n.onerror=n.onload=function(){if(n.complete&&(0===n.src.indexOf("data:image/")&&(n.width=e.width||n.width||0,n.height=e.height||n.height||0),n.width+n.height)){var t=document.createElement("canvas"),a=t.getContext("2d");t.width=n.width,t.height=n.height,a.drawImage(n,0,0),e.src=t.toDataURL("image/png")}--o||i(r)},n.src=e.url}else{var a=t(e.url);a.length&&(r=++o,html2canvas(a[0]).then(function(t){e.src=t.toDataURL("image/png"),--o||i(r)}))}}var r=0,o=0;if(void 0!==e.images)for(var a in e.images)e.images.hasOwnProperty(a)&&n(e.images[a]);(e=o)||(i(r),e=void 0)}(ut,function(){t(I).filter(function(){return a(t(this))}).each(function(){var e;if(B=0,V=[],!1===P.exportHiddenCells&&(j=t(this).find("tr, th, td").filter(":hidden"),W=0<j.length),H=o(this),ut.columns=[],ut.rows=[],ut.teCells={},"function"==typeof ut.onTable&&!1===ut.onTable(t(this),P))return!0;P.jspdf.autotable.tableExport=null;var r=t.extend(!0,{},P.jspdf.autotable);if(P.jspdf.autotable.tableExport=ut,r.margin={},t.extend(!0,r.margin,P.jspdf.margins),r.tableExport=ut,"function"!=typeof r.beforePageContent&&(r.beforePageContent=function(e){if(1===e.pageCount){var i=e.table.rows.concat(e.table.headerRow);t.each(i,function(){0<this.height&&(this.height+=(2-1.15)/2*this.styles.fontSize,e.table.height+=(2-1.15)/2*this.styles.fontSize)})}}),"function"!=typeof r.createdHeaderCell&&(r.createdHeaderCell=function(e,i){if(e.styles=t.extend({},i.row.styles),void 0!==ut.columns[i.column.dataKey]){var n=ut.columns[i.column.dataKey];if(void 0!==n.rect){if(e.contentWidth=n.rect.width,void 0===ut.heightRatio||0===ut.heightRatio){var o=i.row.raw[i.column.dataKey].rowspan?i.row.raw[i.column.dataKey].rect.height/i.row.raw[i.column.dataKey].rowspan:i.row.raw[i.column.dataKey].rect.height;ut.heightRatio=e.styles.rowHeight/o}(o=i.row.raw[i.column.dataKey].rect.height*ut.heightRatio)>e.styles.rowHeight&&(e.styles.rowHeight=o)}e.styles.halign="inherit"===r.headerStyles.halign?"center":r.headerStyles.halign,e.styles.valign=r.headerStyles.valign,void 0!==n.style&&!0!==n.style.hidden&&("inherit"===r.headerStyles.halign&&(e.styles.halign=n.style.align),"inherit"===r.styles.fillColor&&(e.styles.fillColor=n.style.bcolor),"inherit"===r.styles.textColor&&(e.styles.textColor=n.style.color),"inherit"===r.styles.fontStyle&&(e.styles.fontStyle=n.style.fstyle))}}),"function"!=typeof r.createdCell&&(r.createdCell=function(t,e){e=ut.teCells[e.row.index+":"+e.column.dataKey],t.styles.halign="inherit"===r.styles.halign?"center":r.styles.halign,t.styles.valign=r.styles.valign,void 0!==e&&void 0!==e.style&&!0!==e.style.hidden&&("inherit"===r.styles.halign&&(t.styles.halign=e.style.align),"inherit"===r.styles.fillColor&&(t.styles.fillColor=e.style.bcolor),"inherit"===r.styles.textColor&&(t.styles.textColor=e.style.color),"inherit"===r.styles.fontStyle&&(t.styles.fontStyle=e.style.fstyle))}),"function"!=typeof r.drawHeaderCell&&(r.drawHeaderCell=function(t,e){var i=ut.columns[e.column.dataKey];return(!0!==i.style.hasOwnProperty("hidden")||!0!==i.style.hidden)&&0<=i.rowIndex&&h(t,e,i)}),"function"!=typeof r.drawCell&&(r.drawCell=function(e,i){var n=ut.teCells[i.row.index+":"+i.column.dataKey];if(!0!==(void 0!==n&&n.isCanvas))h(e,i,n)&&(ut.doc.rect(e.x,e.y,e.width,e.height,e.styles.fillStyle),void 0!==n&&void 0!==n.elements&&n.elements.length?((i=e.height/n.rect.height)>ut.hScaleFactor&&(ut.hScaleFactor=i),ut.wScaleFactor=e.width/n.rect.width,i=e.textPos.y,d(e,n.elements,ut),e.textPos.y=i,f(e,n.elements,ut)):f(e,{},ut));else{n=n.elements[0];var r=t(n).attr("data-tableexport-canvas"),o=n.getBoundingClientRect();e.width=o.width*ut.wScaleFactor,e.height=o.height*ut.hScaleFactor,i.row.height=e.height,c(e,n,r,ut)}return!1}),ut.headerrows=[],R=i(t(this)),t(R).each(function(){e=0,ut.headerrows[B]=[],l(this,"th,td",B,R.length,function(t,i,n){var r=w(t);r.title=y(t,i,n),r.key=e++,r.rowIndex=B,ut.headerrows[B].push(r)}),B++}),0<B)for(var a=B-1;0<=a;)t.each(ut.headerrows[a],function(){var t=this;0<a&&null===this.rect&&(t=ut.headerrows[a-1][this.key]),null!==t&&0<=t.rowIndex&&(!0!==t.style.hasOwnProperty("hidden")||!0!==t.style.hidden)&&ut.columns.push(t)}),a=0<ut.columns.length?-1:a-1;var s=0;F=[],F=n(t(this)),t(F).each(function(){var i=[];e=0,l(this,"td,th",B,R.length+F.length,function(n,r,o){if(void 0===ut.columns[e]){var a={title:"",key:e,style:{hidden:!0}};ut.columns.push(a)}null!=n?((a=w(n)).isCanvas=n.hasAttribute("data-tableexport-canvas"),a.elements=a.isCanvas?t(n):t(n).children()):(a=t.extend(!0,{},ut.teCells[s+":"+(e-1)])).colspan=-1,ut.teCells[s+":"+e++]=a,i.push(y(n,r,o))}),i.length&&(ut.rows.push(i),s++),B++}),"function"==typeof ut.onBeforeAutotable&&ut.onBeforeAutotable(t(this),ut.columns,ut.rows,r),ut.doc.autoTable(ut.columns,ut.rows,r),"function"==typeof ut.onAfterAutotable&&ut.onAfterAutotable(t(this),r),P.jspdf.autotable.startY=ut.doc.autoTableEndPosY()+r.margin.top}),u(ut.doc,void 0!==ut.images&&!1===jQuery.isEmptyObject(ut.images)),void 0!==ut.headerrows&&(ut.headerrows.length=0),void 0!==ut.columns&&(ut.columns.length=0),void 0!==ut.rows&&(ut.rows.length=0),delete ut.doc,ut.doc=null})}return this}}(jQuery),function(t){"use strict";var e={tagClass:function(t){return"badge badge-info"},focusClass:"focus",itemValue:function(t){return t?t.toString():t},itemText:function(t){return this.itemValue(t)},itemTitle:function(t){return null},freeInput:!0,addOnBlur:!0,maxTags:void 0,maxChars:void 0,confirmKeys:[13,44],delimiter:",",delimiterRegex:null,cancelConfirmKeysOnEmpty:!1,onTagExists:function(t,e){e.addClass("sr-only")},trimValue:!1,allowDuplicates:!1,triggerChange:!0};function i(e,i){this.isInit=!0,this.itemsArray=[],this.$element=t(e),this.$element.addClass("sr-only"),this.isSelect="SELECT"===e.tagName,this.multiple=this.isSelect&&e.hasAttribute("multiple"),this.objectItems=i&&i.itemValue,this.placeholderText=e.hasAttribute("placeholder")?this.$element.attr("placeholder"):"",this.inputSize=Math.max(1,this.placeholderText.length),this.$container=t('<div class="bootstrap-tagsinput"></div>'),this.$input=t('<input type="text" placeholder="'+this.placeholderText+'"/>').appendTo(this.$container),this.$element.before(this.$container),this.build(i),this.isInit=!1}function n(t,e){if("function"!=typeof t[e]){var i=t[e];t[e]=function(t){return t[i]}}}function r(t,e){if("function"!=typeof t[e]){var i=t[e];t[e]=function(){return i}}}i.prototype={constructor:i,add:function(e,i,n){var r=this;if(!(r.options.maxTags&&r.itemsArray.length>=r.options.maxTags)&&(!1===e||e)){if("string"==typeof e&&r.options.trimValue&&(e=t.trim(e)),"object"==typeof e&&!r.objectItems)throw"Can't add objects when itemValue option is not set";if(!e.toString().match(/^\s*$/)){if(r.isSelect&&!r.multiple&&r.itemsArray.length>0&&r.remove(r.itemsArray[0]),"string"==typeof e&&"INPUT"===this.$element[0].tagName){var o=r.options.delimiterRegex?r.options.delimiterRegex:r.options.delimiter,s=e.split(o);if(s.length>1){for(var l=0;l<s.length;l++)this.add(s[l],!0);return void(i||r.pushVal(r.options.triggerChange))}}var c=r.options.itemValue(e),u=r.options.itemText(e),h=r.options.tagClass(e),d=r.options.itemTitle(e),f=t.grep(r.itemsArray,function(t){return r.options.itemValue(t)===c})[0];if(!f||r.options.allowDuplicates){if(!(r.items().toString().length+e.length+1>r.options.maxInputLength)){var p=t.Event("beforeItemAdd",{item:e,cancel:!1,options:n});if(r.$element.trigger(p),!p.cancel){r.itemsArray.push(e);var g=t('<span class="badge '+a(h)+(null!==d?'" title="'+d:"")+'">'+a(u)+'<span data-role="remove"></span></span>');g.data("item",e),r.findInputWrapper().before(g),g.after(" ");var m=t('option[value="'+encodeURIComponent(c)+'"]',r.$element).length||t('option[value="'+a(c)+'"]',r.$element).length;if(r.isSelect&&!m){var v=t("<option selected>"+a(u)+"</option>");v.data("item",e),v.attr("value",c),r.$element.append(v)}i||r.pushVal(r.options.triggerChange),r.options.maxTags!==r.itemsArray.length&&r.items().toString().length!==r.options.maxInputLength||r.$container.addClass("bootstrap-tagsinput-max"),t(".typeahead, .twitter-typeahead",r.$container).length&&r.$input.typeahead("val",""),this.isInit?r.$element.trigger(t.Event("itemAddedOnInit",{item:e,options:n})):r.$element.trigger(t.Event("itemAdded",{item:e,options:n}))}}}else if(r.options.onTagExists){var y=t(".badge",r.$container).filter(function(){return t(this).data("item")===f});r.options.onTagExists(e,y)}}}},remove:function(e,i,n){var r=this;if(r.objectItems&&(e=(e="object"==typeof e?t.grep(r.itemsArray,function(t){return r.options.itemValue(t)==r.options.itemValue(e)}):t.grep(r.itemsArray,function(t){return r.options.itemValue(t)==e}))[e.length-1]),e){var o=t.Event("beforeItemRemove",{item:e,cancel:!1,options:n});if(r.$element.trigger(o),o.cancel)return;t(".badge",r.$container).filter(function(){return t(this).data("item")===e}).remove(),t("option",r.$element).filter(function(){return t(this).data("item")===e}).remove(),-1!==t.inArray(e,r.itemsArray)&&r.itemsArray.splice(t.inArray(e,r.itemsArray),1)}i||r.pushVal(r.options.triggerChange),r.options.maxTags>r.itemsArray.length&&r.$container.removeClass("bootstrap-tagsinput-max"),r.$element.trigger(t.Event("itemRemoved",{item:e,options:n}))},removeAll:function(){for(t(".badge",this.$container).remove(),t("option",this.$element).remove();this.itemsArray.length>0;)this.itemsArray.pop();this.pushVal(this.options.triggerChange)},refresh:function(){var e=this;t(".badge",e.$container).each(function(){var i=t(this),n=i.data("item"),r=e.options.itemValue(n),o=e.options.itemText(n),s=e.options.tagClass(n);(i.attr("class",null),i.addClass("badge "+a(s)),i.contents().filter(function(){return 3==this.nodeType})[0].nodeValue=a(o),e.isSelect)&&t("option",e.$element).filter(function(){return t(this).data("item")===n}).attr("value",r)})},items:function(){return this.itemsArray},pushVal:function(){var e=this,i=t.map(e.items(),function(t){return e.options.itemValue(t).toString()});e.$element.val(i.join(e.options.delimiter)),e.options.triggerChange&&e.$element.trigger("change")},build:function(i){var o=this;if(o.options=t.extend({},e,i),o.objectItems&&(o.options.freeInput=!1),n(o.options,"itemValue"),n(o.options,"itemText"),r(o.options,"tagClass"),o.options.typeahead){var a=o.options.typeahead||{};r(a,"source"),o.$input.typeahead(t.extend({},a,{source:function(e,i){function n(t){for(var e=[],n=0;n<t.length;n++){var a=o.options.itemText(t[n]);r[a]=t[n],e.push(a)}i(e)}this.map={};var r=this.map,s=a.source(e);t.isFunction(s.success)?s.success(n):t.isFunction(s.then)?s.then(n):t.when(s).then(n)},updater:function(t){return o.add(this.map[t]),this.map[t]},matcher:function(t){return-1!==t.toLowerCase().indexOf(this.query.trim().toLowerCase())},sorter:function(t){return t.sort()},highlighter:function(t){var e=new RegExp("("+this.query+")","gi");return t.replace(e,"<strong>$1</strong>")}}))}if(o.options.typeaheadjs){var l=o.options.typeaheadjs;t.isArray(l)||(l=[null,l]),t.fn.typeahead.apply(o.$input,l).on("typeahead:selected",t.proxy(function(t,e,i){var n=0;l.some(function(t,e){return t.name===i&&(n=e,!0)}),l[n].valueKey?o.add(e[l[n].valueKey]):o.add(e),o.$input.typeahead("val","")},o))}o.$container.on("click",t.proxy(function(t){o.$element.attr("disabled")||o.$input.removeAttr("disabled"),o.$input.focus()},o)),o.options.addOnBlur&&o.options.freeInput&&o.$input.on("focusout",t.proxy(function(e){0===t(".typeahead, .twitter-typeahead",o.$container).length&&(o.add(o.$input.val()),o.$input.val(""))},o)),o.$container.on({focusin:function(){o.$container.addClass(o.options.focusClass)},focusout:function(){o.$container.removeClass(o.options.focusClass)}}),o.$container.on("keydown","input",t.proxy(function(e){var i=t(e.target),n=o.findInputWrapper();if(o.$element.attr("disabled"))o.$input.attr("disabled","disabled");else{switch(e.which){case 8:if(0===s(i[0])){var r=n.prev();r.length&&o.remove(r.data("item"))}break;case 46:if(0===s(i[0])){var a=n.next();a.length&&o.remove(a.data("item"))}break;case 37:var l=n.prev();0===i.val().length&&l[0]&&(l.before(n),i.focus());break;case 39:var c=n.next();0===i.val().length&&c[0]&&(c.after(n),i.focus())}var u=i.val().length,h=u+Math.ceil(u/5)+1;i.attr("size",Math.max(this.inputSize,h))}},o)),o.$container.on("keypress","input",t.proxy(function(e){var i=t(e.target);if(o.$element.attr("disabled"))o.$input.attr("disabled","disabled");else{var n,r,a,s=i.val(),l=o.options.maxChars&&s.length>=o.options.maxChars;o.options.freeInput&&(n=e,r=o.options.confirmKeys,a=!1,t.each(r,function(t,e){if("number"==typeof e&&n.which===e)return a=!0,!1;if(n.which===e.which){var i=!e.hasOwnProperty("altKey")||n.altKey===e.altKey,r=!e.hasOwnProperty("shiftKey")||n.shiftKey===e.shiftKey,o=!e.hasOwnProperty("ctrlKey")||n.ctrlKey===e.ctrlKey;if(i&&r&&o)return a=!0,!1}}),a||l)&&(0!==s.length&&(o.add(l?s.substr(0,o.options.maxChars):s),i.val("")),!1===o.options.cancelConfirmKeysOnEmpty&&e.preventDefault());var c=i.val().length,u=c+Math.ceil(c/5)+1;i.attr("size",Math.max(this.inputSize,u))}},o)),o.$container.on("click","[data-role=remove]",t.proxy(function(e){o.$element.attr("disabled")||o.remove(t(e.target).closest(".badge").data("item"))},o)),o.options.itemValue===e.itemValue&&("INPUT"===o.$element[0].tagName?o.add(o.$element.val()):t("option",o.$element).each(function(){o.add(t(this).attr("value"),!0)}))},destroy:function(){this.$container.off("keypress","input"),this.$container.off("click","[role=remove]"),this.$container.remove(),this.$element.removeData("tagsinput"),this.$element.show()},focus:function(){this.$input.focus()},input:function(){return this.$input},findInputWrapper:function(){for(var e=this.$input[0],i=this.$container[0];e&&e.parentNode!==i;)e=e.parentNode;return t(e)}},t.fn.tagsinput=function(e,n,r){var o=[];return this.each(function(){var a=t(this).data("tagsinput");if(a)if(e||n){if(void 0!==a[e]){if(3===a[e].length&&void 0!==r)var s=a[e](n,null,r);else s=a[e](n);void 0!==s&&o.push(s)}}else o.push(a);else a=new i(this,e),t(this).data("tagsinput",a),o.push(a),"SELECT"===this.tagName&&t("option",t(this)).attr("selected","selected"),t(this).val(t(this).val())}),"string"==typeof e?o.length>1?o:o[0]:o},t.fn.tagsinput.Constructor=i;var o=t("<div />");function a(t){return t?o.text(t).html():""}function s(t){var e=0;if(document.selection){t.focus();var i=document.selection.createRange();i.moveStart("character",-t.value.length),e=i.text.length}else(t.selectionStart||"0"==t.selectionStart)&&(e=t.selectionStart);return e}t(function(){t("input[data-role=tagsinput], select[multiple][data-role=tagsinput]").tagsinput()})}(window.jQuery);